[Geoserver-users] Advertise featureid's?

Hi list,

Just a quick query on whether it would be possible to configure geoserver to advertise the geometry featureid’s in the DescribeFeatureType / GetFeature response (assuming this wouldn’t break wfs compatibility)?

I find it interesting that the Insert/Update/Delete operations are all very closely tied to the FE ogc:FeatureId element and yet there’s no way to actually request the FeatureId’s in the first place?

I have tested various getFeature requests on various datastores and they all report the geometry as follows,

<xs:element name=“the_geom” minOccurs=“0” nillable=“true” type=“gml:MultiPolygonPropertyType”/>

or

<xs:element name=“GID” minOccurs=“1” nillable=“false” type=“gml:MultiPolygonPropertyType”/>

What I would love to be able to do is toggle whether to advertise the GID.FID alias for example … Is there an easy way to do this that I’m obviously overlooking?

Regards,

Chris Tweedie

This e-mail and any files transmitted with it are intended only for the use of the addressee(s). It may contain information that is confidential and privileged. If you are not an intended recipient, any use, interference with, disclosure, distribution or copying of this material is unauthorised and prohibited. If you receive this in error, please notify the author by Return email to the sender. Information in this message not relating to the official business of DLI shall be understood as neither given nor endorsed by it. While every care is taken, it is recommended that you scan any attachments for viruses. DLI liability is limited to re-supplying affected attachments.

Chris Tweedie wrote:

Hi list,

Just a quick query on whether it would be possible to configure geoserver to advertise the geometry featureid’s in the DescribeFeatureType / GetFeature response (assuming this wouldn’t break wfs compatibility)?

What do you mean by 'the geometry featureid's' ? In GML 3.1.1 you can specify a gml:id on any attribute I believe, and the common use case is geometries. In 2.1.1 I think the only time you can use a featureid is as an fid attribute in feature.

I find it interesting that the Insert/Update/Delete operations are all very closely tied to the FE ogc:FeatureId element and yet there’s no way to actually request the FeatureId’s in the first place?

Not sure I understand? The featureids are returned in every response:

gml:featureMember>
  <topp:states fid="states.1">
  <topp:the_geom>

fid is the featureid.

I have tested various getFeature requests on various datastores and they all report the geometry as follows,

<xs:element name="the_geom" minOccurs="0" nillable="true" type="gml:MultiPolygonPropertyType"/>

or

<xs:element name="GID" minOccurs="1" nillable="false" type="gml:MultiPolygonPropertyType"/>

What I would love to be able to do is toggle whether to advertise the GID.FID alias for example … Is there an easy way to do this that I’m obviously overlooking?

What GID.FID alias is this? You mean the fact that we just use the primary key, which is often gid, as the fid? You want to advertise it as a property or something?

Chris

Regards,

Chris Tweedie

This e-mail and any files transmitted with it are intended only for the use of the addressee(s). It may contain information that is confidential and privileged. If you are not an intended recipient, any use, interference with, disclosure, distribution or copying of this material is unauthorised and prohibited. If you receive this in error, please notify the author by Return email to the sender. Information in this message not relating to the official business of DLI shall be understood as neither given nor endorsed by it. While every care is taken, it is recommended that you scan any attachments for viruses. DLI liability is limited to re-supplying affected attachments.

!DSPAM:1003,4510baa881611971556521!

------------------------------------------------------------------------

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

!DSPAM:1003,4510baa881611971556521!

------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:1003,4510baa881611971556521!

--
Chris Holmes
The Open Planning Project
http://topp.openplans.org