Filter capabilities (DWidth)

Yewondwossen Assefa assefa at DMSOLUTIONS.CA
Thu Sep 8 11:16:04 EDT 2005


Hi there,

the units in your case is set to m (so it is meter). The other supported 
unit strings are :

m = MS_METERS;
km = MS_KILOMETERS
mi = MS_MILES;
in = MS_INCHES
deg = MS_DD
px = MS_PIXELS

  Later,

Miguel Gonçalves wrote:
> Hello,
> 
> I am using the filter interface of MapServer.
> In the following request I want to get as results the cities in a range 
> from the point -8.418000,41.539600.
> 
> <gml:Point><gml:coordinates>-8.418000,41.539600</gml:coordinates></gml:Point><Distance 
> units='m'>1</Distance>
> <Filter>
>    <DWithin>
>        <gml:Point>
>        <gml:coordinates>-8.418000,41.539600</gml:coordinates>
>        </gml:Point>
>        <Distance units='m'> 0.9 </Distance>
>    </DWithin>
> </Filter>
> 
> The problem is that I have no idea how big the range is, i.e.,
> in the fragment <Distance units='m'> 0.9 </Distance> I do not know in 
> which units the distance is being mesured.
> Can you help me?
> Best regards.
> 
> 
> Miguel
> 

-- 
----------------------------------------------------------------
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