[Mapserver-users] RE: Distancetoshape question (MS-PHP)

Yewondwossen Assefa assefa at dmsolutions.ca
Wed Jan 22 10:52:36 EST 2003


The distancetoshape calculates the MINIMUM distance between a point and a
shape. So the closest point on the shape will be used to do the distance
calculation.

YC Nyon wrote:

> i'm using the distancetoshape function in PHP-MS.
> Question is if the shape is a polygon (i.e. buildings), where is the point
> taken to calculate
> the distance? the centroid?
>
> Regards
> Nyon
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.443 / Virus Database: 248 - Release Date: 10/01/2003
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users

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