WFS: DWithin with a polygon supported?

Yewondwossen Assefa assefa at DMSOLUTIONS.CA
Thu Apr 14 12:10:12 EDT 2005


Bart,

  If you do a Dwithin with a polygon and set a distance value, that end up :
   - setting a the layer's tolerance value equal to the distance value
passed
   - calling underlying mapsrver's querybyshape function using the
polygon passed

  The querybyshape function will calculate the distance between the
polygon and all features; and if the distance is < to the tolernace the
shape is selected.

Later,

Bart van den Eijnden wrote:
> Hi list,
>
> does Mapserver WFS support selecting all features within a buffer around a polygon? Ie using the DWithin operator with a Polygon on Mapserver WFS? Or does it use the centroid of the polygon to calculate the distances?
>
> Thanks in advance.
>
> Best regards,
> Bart
>
> Bart van den Eijnden
> Syncera-ITSolutions
> Postbus 270
> 2600 AG  DELFT
>
> tel.nr.: 015-7512436
> email: BEN at Syncera-ITSolutions.nl
>
>

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