Hi, I am trying to check if the line and point intersects using : OpenLayers.Geometry.LineString.intersects(). Many times it returns false, even if line and point intersects.
I am using OpenLayers-2.9.1. Here is the test case: Line - "LINESTRING(-120.5859375 33.2666015625,-119.3994140625 34.4970703125,-114.85107421875 35.31005859375,-112.587890625 33.3984375)" Point - "POINT(-118.67393030208639 34.62674615373335)" If I calculate the distance between these two, Line and Point using distanceTo(), the distance is 0 as well as source point and target point coordinates are same. Please check where I am doing wrong or is this a bug. Regards, Gagan -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/LineString-Intersects-method-tp5241986p5241986.html Sent from the OpenLayers Dev mailing list archive at Nabble.com. _______________________________________________ Dev mailing list [email protected] http://openlayers.org/mailman/listinfo/dev
