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:[email protected]]
To: [email protected]
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
  [email protected]
  http://lists.osgeo.org/mailman/listinfo/openlayers-users
    
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to