Opened 18 years ago
Closed 16 years ago
#1657 closed defect (duplicate)
Support for fid-based queries for MapServer WFS support.
Reported by: | sdlime | Owned by: | mapserverbugs |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | WFS Server | Version: | 4.8 |
Severity: | normal | Keywords: | |
Cc: | tomkralidis |
Description
In version 4.8 it became possible to define an item to use for generating feature ID for output GML objects. However it is not possible to query based on fid: either using a FILTER or using the FEATUREID request parameters. The most recent email exchange between myself and Assefa is included below for completeness. Steve ------------------------------- snip ------------------------------ Steve, Yes using the fid is a valif filter request. Please enter a bug on it I will wirk on it in a next weeks (unless it is urgent and I could do it next week.) Thanks. Steve Lime wrote: >I was thinking more about the shortcut method (but your example makes send too). As I understand it from the WFS spec you can do: > > http://...&SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=lakes > or http://...&SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=lakes&BBOX=... > or http://...&SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=lakes&FILTER=.. . > or http://...&SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&FEATUREID=lakes.1,lakes. 35,lakes.124 > >It's this last request type that is not supported but perhaps should be. I can't tell id the fid is valid within a filter request or not. Let me know >if this makes sense (or not) and I'll create the bug. There already is one for adding fid to the output (bug 1413). > >Steve > > > >>>>Yewondwossen Assefa <assefa@dmsolutions.ca> 02/06/06 6:40 PM >>> >>>> >>>> >Steve, > > The support should be simple. A featureid request in the filter >encoding looks soemthing like : > ><ogc:Filter> ><ogc:FeatureId fid="1234"/> ></ogc:Filter> > > From what I understand, there is a gml_featureid that is defined on a >layer (?). If that is the case, It is a simple parse of the filter and >transform it into "gm_featureid=value" expression. Is this what yiu >have in mind ? If that is the case, I could add it pretty soon. You >could enter a bug on it and assign it to me. > I am working on the Sensor Web stuff and I would have time to add it. > >Later, > > >Steve Lime wrote: > > > >>Assefa: Version 4.8 allows folks to define a feature ID item to use when producing GML. Given that folks will >>naturally want to do getFeature requests. How hard would that be to add? >> >>Steve
Change History (2)
comment:1 by , 16 years ago
Cc: | added |
---|
comment:2 by , 16 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Yes. Bug related to it is #2102.
Note:
See TracTickets
for help on using tickets.
Assefa: I think we support this now?