[OpenLayers-Users] check line intersection while polygon editing
Christopher Schmidt
crschmidt at metacarta.com
Thu May 8 10:59:49 EDT 2008
On Thu, May 08, 2008 at 04:48:42PM +0200, G. Allegri wrote:
> Is there in the API a ready-to-use function to check if lines
> intersect while editing a polygonal geometry?
Not as far as I'm aware; however, there is geometry.intersects(), which
you might be able to use to loop through a polygon and test all the
segments of a line for intersection? I'm not entirely sure though.
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Users
mailing list