[Mapserver-users] wfs doubt

Yewondwossen Assefa assefa at dmsolutions.ca
Wed Jun 2 11:40:38 EDT 2004


The capabilities are correct, the DWithin is the one that is supported. 
The Within is not supported right now. The diffrence between the 2 is 
the Within can use either a gml:Geometry or a gml:Box but the DWithin is 
  only using the gml:Geometry.  The parsing of a gml bbox is not 
included in that part of the code although It will be a minor effort to 
do that.

  I have entered a bug im mapserver (Bug 712) so that the Within will be 
added in tyhe next release.

Later,

Kralidis,Tom [Burlington] wrote:
> 
>>-----Original Message-----
>>From: mapserver-users-admin at lists.gis.umn.edu 
>>[mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of 
>>bartvde at xs4all.nl
>>Sent: Wednesday, June 02, 2004 10:59 AM
>>To: cristinanoversa at clix.pt
>>Cc: mapserver-users at lists.gis.umn.edu
>>Subject: Re: Re: [Mapserver-users] wfs doubt
>>
>>
>>Hi Cristina,
>>
>>I had a lot out trouble getting to read your HTML e-mail, but 
>>anyway got it figured out ...
>>
>>I would suggest upgrading to Mapserver 4.2 as a lot of 
>>Filters have been added.
>>
>>I don't think the 4.0.1 version supports the Within spatial 
>>operator (AFAIK only the BBOX spatial filter was supported in 
>>that version).
>>
>>BTW: there is a small error in the current WFS capabilities 
>>(Daniel, Assefa):
>>
>><ogc:DWithin/>
>>
>>should be
>>
>><ogc:Within/>
>>
> 
> Is this to say that MapServer's functionality should be expressed as ogc:Within, or that the capabilities is wrong (I'm guessing the former) -- both are supported in the WFS specification.
> 
> ..Tom
> 
> 
> 
>>Best regards,
>>Bart
>>
>>---
>>Hi,
>>
>>I´m using Mapserver 4.0.1.
>>
>>I´m trying to filter some properties... but I get all!
>>
>>...map=../htdocs/edesta/wfsVersion.map&service=wfs&version=1.0
>>.0&request=getFeature&typename=cities&FILTER=<Filter><Within><
>>PropertyName>cities/NAME</PropertyName></Within></Filter>
>>
>>even if I want to limit the number of features returned with 
>>the following, I get all features available!
>>
>>...map=../htdocs/edesta/wfsVersion.map&service=wfs&version=1.0
>>.0&request=getFeature&typename=cities&maxfeatures=2
>>
>>
>>_______________________________________________
>>Mapserver-users mailing list
>>Mapserver-users at lists.gis.umn.edu 
>>http://lists.gis.umn.edu/mailman/listinfo/maps> erver-users
>>
> 
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 


-- 
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------





More information about the mapserver-users mailing list