[Mapserver-dev] Rect in polygon function
Daniel Morissette
morissette at dmsolutions.ca
Sat Feb 8 17:29:16 EST 2003
Steve, all,
We are looking for a function that would tell us if a rectangle is
comprised completely inside a polygon, is such a function already
available in MapServer or anywhere else? What we're trying to do is
find out if the current map view (a rectangle), is completely contained
inside a polygon that represents available raster coverage. If the map
view is completely contained inside the raster coverage then we want to
use a raster layer as the map, otherwise we want to use vector data. We
want to avoid having both the raster and vector layers showing up in the
same map image, that's why we need this function to test if the current
map view is completely contained inside the polygon defining the raster
layer's coverage.
Thanks in advance for any help/pointers.
Daniel
--
------------------------------------------------------------
Daniel Morissette morissette at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
More information about the mapserver-dev
mailing list