Skip to content

Commit

Permalink
Add Id_Capabilities element with FID
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Sep 18, 2018
1 parent e005d6e commit 9d29b93
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/server/services/wfs/qgswfsgetcapabilities.cpp
Expand Up @@ -153,6 +153,11 @@ namespace QgsWfs
}
scalarCapabilitiesElement.appendChild( comparisonOperatorsElem );

QDomElement idCapabilitiesElement = doc.createElement( QStringLiteral( "ogc:Id_Capabilities" ) );
QDomElement fidElem = doc.createElement( QStringLiteral( "ogc:FID" ) );
idCapabilitiesElement.appendChild( fidElem );
filterCapabilitiesElement.appendChild( idCapabilitiesElement );

return doc;

}
Expand Down

0 comments on commit 9d29b93

Please sign in to comment.