org.vfny.geoserver.wms.WmsException: The requested Style can not be used
with th
is featureType. The style specifies an attribute of gid and the featureType
def
inition is: DefaultFeatureType [name=occurrencerecord ,
namespace=http://localh…
...........................
The gid field is in table but it seem like it is not possible to filter it
in a usual way.
The gid field is not showing up in the geoservers FeatureAttribute Editor
(all other fields are).
Is there a special trick when filtering on primary keys like gid?
org.vfny.geoserver.wms.WmsException: The requested Style can not be used
with th
is featureType. The style specifies an attribute of gid and the featureType
def
inition is: DefaultFeatureType [name=occurrencerecord ,
namespace=http://localh…
...........................
The gid field is in table but it seem like it is not possible to filter it
in a usual way.
The gid field is not showing up in the geoservers FeatureAttribute Editor
(all other fields are).
Is there a special trick when filtering on primary keys like gid?
Primary key is turned into the feature identifier, and it cannot
be specified as a normal filter. You have to see how GeoServer
turns your value into a primary key (usually it appends the
typename) and then use a FeatureId. There is some example
in the sample request if my mind does not play tricks to me.
The downside of FidFilter is that you cannot mix them with
other filters. The syntax should be something like:
Primary key is turned into the feature identifier, and it cannot
be specified as a normal filter. You have to see how GeoServer
turns your value into a primary key (usually it appends the
typename) and then use a FeatureId. There is some example
in the sample request if my mind does not play tricks to me.
Not quite true. The wfs 1.1 cite tests dictate that gml:id be handled in
binary comparison So this should be the equivalent: