WFS GetFeature and GML data issue

Kralidis,Tom [Burlington] Tom.Kralidis at EC.GC.CA
Wed Mar 16 16:21:04 EST 2005


Hi,

After offline email with Frank (thanks Frank!), it seems that this has
to do with  the fact that my GML document bounding box of the data is
outside of MAP/EXTENT in the mapfile.  If I change my MAP/EXTENT to -180
-90 180 90, I indeed get all the data back.

I guess the question is the behaviour of MAP/EXTENT for a WFS, and if a
LAYER has extents outside the bounds of MAP/EXTENT, what happens when a
client makes a blanket request and expects all the data?  Mind you if
LAYER extents are larger than MAP/EXTENT, this should trigger the
mapfile creator to think about whether they've applied the right
MAP/EXTENT.  On the other hand, how does MAP/EXTENT, something that
historically applies to the default extent of a mapping app for
MapServer CGI, apply to OWS approaches?

At the very least (as Frank suggests) the WFS server howto should warn
about this.  I would post a doc bug for this but not until there is
consensus that the way things behave now are the way they should.

Comments?

..Tom


> -----Original Message-----
> From: Frank Warmerdam [mailto:fwarmerdam at gmail.com] 
> Sent: Wednesday, 16 March, 2005 15:20
> To: Kralidis,Tom [Burlington]
> Cc: MAPSERVER-DEV at lists.umn.edu
> Subject: Re: [UMN_MAPSERVER-DEV] WFS GetFeature and GML data issue
> 
> 
> On Wed, 16 Mar 2005 15:15:02 -0500, Kralidis,Tom [Burlington] 
> <Tom.Kralidis at ec.gc.ca> wrote:
> > Hi,
> > 
> > I have a LAYER defined with a GML document as the native 
> data type.  
> > The GML document has 21 features.
> > 
> > When I run a WFS GetFeature against the entire dataset:
> > 
> > 
> http://devgeo.cciw.ca/cgi-bin/mapserv/ecows?version=1.0.0&service=WFS&
> > re
> > quest=GetFeature&typename=neis&
> > 
> > ...I expect to have returned 21 features.  However the 
> response only 
> > returns 4.
> 
> Tom,
> 
> How does this file look to ogrinfo?  Can you post this GML 
> file for me to inspect?
> 
> Best regards,
> -- 
> ---------------------------------------+----------------------
> ----------
> ---------------------------------------+------
> I set the clouds in motion - turn up   | Frank Warmerdam, 
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial 
> Programmer for Rent
> 



More information about the mapserver-dev mailing list