DWITHIN filter question

Pagurek,Debbie [NCR] Debbie.Pagurek at EC.GC.CA
Fri Aug 5 11:55:21 PDT 2005


I would like to find out what polygon (my polygon layer is in EPSG:42304) a given point (provided in latitude/longitude) falls into. 

Is it possible to combine epsg codes like this? 
The example provided on the How To page provides the following example.

http://www2.dmsolutions.ca/cgi-bin/mswfs_filter?&VERSION=1.0.0&SERVICE=WFS&REQUEST=GetFeature&TYPENAME=popplace&Filter=<Filter><DWithin><PropertyName>Geometry</PropertyName><gml:Point><gml:coordinates>2587598.000000,404010.531250</gml:coordinates></gml:Point><Distance units='m'>1000</Distance></DWithin></Filter> 

Is it possible to specify <gml:Point srs=EPSG:4326><gml:coordinates>-75,45</gml:coordinates></gml:Point><Distance units='m'>10</distance>...

Is it srs or srsName?

I tried this and I wasn't able to get it to work - every feature was returned.

Debbie

Debbie Pagurek, M.Sc.
Integrated Environmental Applications Branch / Direction des Applications Environnementales Intégrés
Knowledge Integration Directorate / Direction générale de l'integration du savoir
Environment Canada / Environnement Canada
70 Crémazie, 7th Floor / 7e étage
Gatineau, Québec  K1A 0H3
Tel / Tél: (819) 997-5956
Fax / Téléc: (819) 994-5738
E-mail / Courriel: Debbie.Pagurek at ec.gc.ca

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050805/e982fd33/attachment.htm>


More information about the MapServer-users mailing list