Hi all,

It looks like whenever we have a dataset (shapefile,db table,etc...) which
has a
column with such names like "description", "name", "location" GeoServer
maps it to the elements in the gml namespace (in a 1.1 request),
therefore DescribeFeatureType doesn't contain these attributes.

For example this response doesn't include the name attribute

http://cstest.coordinatesolutions.com/geoserver/wfs?VERSION=1.1.0&SERVICE=WFS&REQUEST=DescribeFeatureType&TYPENAME=ogi:okcounties

However that attribute is returned in the GetFeature request in the
gml:name section, like:

http://cstest.coordinatesolutions.com/geoserver/wfs?VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=ogi:okcounties

But as the result of this behaviour the WFS driver doesn't include this
item in the layer definition. Is that possible to retrieve these attributes
from the WFS driver as OGR fields for example to use them in SQL
expressions?

Thanks,

Tamas
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to