[mapserver-users] Point inside or outside polygon???

Norman Vine nhv at cape.com
Thu Aug 1 07:32:39 EDT 2002


Jan Hartmann writes:
>
>Steve Lime wrote:
>>  You can use a point query against the mapinfo data using the normal
>>  query or nquery modes. One thing to be aware of it that MapServer's
>>  point in polygon routine works fine if the point in question is strictly
>>  in/out of the polygon. It's indeterminate if the point is exactly on the
>>  edge.
>
>Why should the result be indeterminate if the point lies on an edge?

Without considering the 'numerical issues' of what it means to be
'exactly on the edge',  If you have neigboring polygons which poly
would the point be in if it was on the edge  :-)

Cheers

Norman




More information about the mapserver-users mailing list