<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6603.0">
<TITLE>DWITHIN filter question</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">I would like to find out what polygon (my polygon layer is in EPSG:42304) a given point (provided in latitude/longitude) falls into. </FONT></P>
<P><FONT SIZE=2 FACE="Arial">Is it possible to combine epsg codes like this? </FONT>
<BR><FONT SIZE=2 FACE="Arial">The example provided on the How To page provides the following example.</FONT>
</P>
<P><A HREF="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"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">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</FONT></U></A><FONT SIZE=2 FACE="Arial"> units='m'>1000</Distance></DWithin></Filter> </FONT></P>
<P><FONT SIZE=2 FACE="Arial">Is it possible to specify <gml:Point srs=EPSG:4326><gml:coordinates>-75,45</gml:coordinates></gml:Point><Distance units='m'>10</distance>…</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Is it srs or srsName?</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I tried this and I wasn't able to get it to work - every feature was returned.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Debbie</FONT>
</P>
<P><B><FONT SIZE=2 FACE="Arial">Debbie Pagurek, M.Sc.</FONT></B>
<BR><SPAN LANG="fr-ca"><FONT SIZE=2 FACE="Arial">Integrated Environmental Applications Branch / Direction des Applications Environnementales Intégrés</FONT></SPAN><SPAN LANG="en-us"></SPAN>
<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">Knowledge Integration Directorate / Direction g</FONT></SPAN><SPAN LANG="fr-ca"><FONT SIZE=2 FACE="Arial">énérale de l'integration du savoir</FONT></SPAN>
<BR><SPAN LANG="fr-ca"><FONT SIZE=2 FACE="Arial">Environment Canada / Environnement Canada</FONT></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN>
<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">70 Cr</FONT></SPAN><SPAN LANG="fr-ca"><FONT SIZE=2 FACE="Arial">émazie, 7th Floor / 7<SUP>e</SUP> étage</FONT></SPAN>
<BR><SPAN LANG="en-ca"><FONT SIZE=2 FACE="Arial">Gatineau, Québec K1A 0H3</FONT></SPAN>
<BR><SPAN LANG="en-ca"><FONT SIZE=2 FACE="Arial">Tel / Tél:</FONT></SPAN><SPAN LANG="en-ca"><B><FONT SIZE=2 FACE="Arial"> (819) 997-5956</FONT></B></SPAN>
<BR><SPAN LANG="en-ca"><FONT SIZE=2 FACE="Arial">Fax / Téléc: (819) 994-5738</FONT></SPAN>
<BR><SPAN LANG="en-ca"><FONT SIZE=2 FACE="Arial">E-mail / Courriel:</FONT><B> <FONT SIZE=2 FACE="Arial">Debbie.Pagurek@ec.gc.ca</FONT></B></SPAN><B><SPAN LANG="en-us"></SPAN></B><SPAN LANG="en-us"></SPAN>
</P>
</BODY>
</HTML>