[OpenLayers-Users] no intersection when features snap
Meine Toonen
meinetoonen at b3partners.nl
Mon May 14 00:47:41 PDT 2012
You can try using the geometry operation "touches" instead of "intersecting". Don't know where you do the intersection operation, but here are some references:
JTS:
http://www.vividsolutions.com/jts/javadoc/com/vividsolutions/jts/geom/Geometry.html#touches%28com.vividsolutions.jts.geom.Geometry%29
PostGIS:
http://postgis.refractions.net/docs/ST_Touches.html
Hope this helps.
Regards,
Meine Toonen
B3Partners BV
Tel: 030 214 2083
_____
From: Peter [mailto:pfischer at proveo.com]
To: openlayers-users at lists.osgeo.org
Sent: Fri, 11 May 2012 11:01:15 +0100
Subject: [OpenLayers-Users] no intersection when features snap
hey all,
i am drawing some polygons on the map and now want to check if they are
intersecting. That runs quite fine, but i only want to check if the polygons
are overlapping and they should not intersect when they are only snapping
(like in the picture).
http://osgeo-org.1560.n6.nabble.com/file/n4967965/intersect_example.png
so any ideas how i can solve this. thanks.
greetings Peter
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/no-intersection-when-features-snap-tp4967965.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120514/87affef0/attachment.html
More information about the Users
mailing list