DWithin Filter
Bart van den Eijnden
BEN at SYNCERA-ITSOLUTIONS.NL
Fri Aug 12 07:39:54 PDT 2005
Mapserver 4.6 is the latest release version for Windows, see:
http://www.maptools.org/dl/mapserver-4.6.0-win32-php4.3.11.zip
Best regards,
Bart
Bart van den Eijnden
Syncera IT Solutions
Postbus 270
2600 AG DELFT
tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl
>>> Miguel Gonçalves <mgoncalves at dsi.uminho.pt> 08/12/05 04:35pm >>>
It will not be possible to upgrade it because I am working in Windows
(not my choice)
and the last version of MapServer for this operating system is the one I
am using.
Best regards,
Miguel
Bart van den Eijnden wrote:
>Can you try upgrading to Mapserver 4.6?
>
>Best regards,
>Bart
>
>Bart van den Eijnden
>Syncera IT Solutions
>Postbus 270
>2600 AG DELFT
>
>tel.nr.: 015-7512436
>email: BEN at Syncera-ITSolutions.nl
>
>
>
>>>>Miguel Gonçalves <mgoncalves at DSI.UMINHO.PT> 08/12/05 04:26pm >>>
>>>>
>>>>
>I am using MapServer 4.4.1.
>TOLERANCEUNITS METERS is already set in the cities layer but results are
>the same.
>When I put the distance=0,9 I get the city that coincides with the point
>but,
>when I put distance=1 I get a lot of cities that are really far from the
>point.
>
>
>Bart van den Eijnden wrote:
>
>
>
>>Which Mapserver version are you using?
>>
>>There was a bug with the TOLERANCEUNITS not being set. As a workaround you can try to set TOLERANCEUNITS METERS on your LAYER.
>>
>>Best regards,
>>Bart
>>
>>Bart van den Eijnden
>>Syncera IT Solutions
>>Postbus 270
>>2600 AG DELFT
>>
>>tel.nr.: 015-7512436
>>email: BEN at Syncera-ITSolutions.nl
>>
>>
>>
>>
>>
>>>>>Miguel Gonçalves <mgoncalves at DSI.UMINHO.PT> 08/12/05 04:11pm >>>
>>>>>
>>>>>
>>>>>
>>>>>
>>I am using the WFS DWithin filter to get all the cities in a range of
>>1000 meters from a point
>>using the following request;
>>
>>http://localhost/cgi-bin/mapserv.exe?MAP=../mymap.map&SERVICE=wfs&VERSION=1.0.0&REQUEST=getFeature&TYPENAME=cities&Filter=
>><Filter>
>> <DWithin>
>> <gml:Point>
>> <gml:coordinates>-8.418000,41.539600</gml:coordinates>
>> </gml:Point>
>> <Distance units='m'>1000</Distance>
>> </DWithin>
>></Filter>
>>
>>In the results that I obtain the distance of the cities from the point
>>is not being accurate.
>>I believe I am having problems with the units.
>>Can somebody help me to correct my request?
>>Beste regards.
>>Miguel
>>
>>
>>
>>
>>
>
>
>
More information about the MapServer-users
mailing list