<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>
<html><head><meta http-equiv="Content-Type" content="text/html;charset=us-ascii">
<style>BODY{font:10pt Tahoma,Verdana,sans-serif} .MsoNormal{line-height:120%;margin:0}</style></head><body>
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:<br><br>JTS:<br>http://www.vividsolutions.com/jts/javadoc/com/vividsolutions/jts/geom/Geometry.html#touches%28com.vividsolutions.jts.geom.Geometry%29<br><br>PostGIS:<br>http://postgis.refractions.net/docs/ST_Touches.html<br><br>Hope this helps.<br><br>Regards,<br><br><br>Meine Toonen<br>B3Partners BV<br>Tel: 030 214 2083<br><blockquote style="padding-left: 5px; margin-left: 5px; border-left: #0000ff 2px solid; margin-right: 0px"><hr><b>From:</b> Peter [mailto:pfischer@proveo.com]<br><b>To:</b> openlayers-users@lists.osgeo.org<br><b>Sent:</b> Fri, 11 May 2012 11:01:15 +0100<br><b>Subject:</b> [OpenLayers-Users] no intersection when features snap<br><br>hey all,<br>
<br>
i am drawing some polygons on the map and now want to check if they are<br>
intersecting. That runs quite fine, but i only want to check if the polygons<br>
are overlapping and they should not intersect when they are only snapping<br>
(like in the picture).<br>
<br>
<a href="http://osgeo-org.1560.n6.nabble.com/file/n4967965/intersect_example.png" target="_blank">http://osgeo-org.1560.n6.nabble.com/file/n4967965/intersect_example.png</a> <br>
<br>
so any ideas how i can solve this. thanks.<br>
<br>
greetings Peter<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/no-intersection-when-features-snap-tp4967965.html" target="_blank">http://osgeo-org.1560.n6.nabble.com/no-intersection-when-features-snap-tp4967965.html</a><br>
Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
</blockquote><style>
</style>
</body></html>