Hey- Attila Csipa wrote: > Hi, I was looking at the ticket mentioned below, are the tests from GEOES > mentioned by Chris Schmit committed somewhere (I can't seem to find them in > the tests dir) ? I worked on JTS on similar things a while back and as I need > this functionality for one of my ongoing projects, I actually might be of > help, just need to get in focus where things are. I did not check on > OpenLayers in quite some time but it seemed a good fit for a task so I > checked out the latest stuff and was surprised how much it has progressed in > the last year and a half. >
I've put point in poly and geometry intersection methods in my geom sandbox: http://dev.openlayers.org/sandbox/tschaub/geom/ All but 30 or so of the 500 geos tests pass (see the geometry tests in the test dir) - and I know what the problem is, but I haven't stopped to fix it yet. Tim See geometry intersection in action here: http://dev.openlayers.org/sandbox/tschaub/geom/examples/intersects.html > > > On Monday 10 December 2007 13:42:10 Pierre GIRAUD wrote: >> You're right, the atPoint method intended behavior is to check whether >> a point in contained into a geometry bounding box. This was >> implemented a while ago as an simple way to simulate event handling in >> some cases, though it's far away from being perfect. >> >> About 2 months ago, Tim Schaub proposed a real intersection method >> support [1]. It's still in progress and help on this would be much >> appreciated. >> >> Regards, >> Pierre >> >> [1] http://trac.openlayers.org/ticket/1072 >> >> On Dec 10, 2007 1:34 PM, Attila Csipa <[EMAIL PROTECTED]> wrote: >>> I have a question about this method, the description says "Determins >>> whether the feature intersects with the specified location.", however in >>> my experience this returns true if the given point is in the feature's >>> _bounding box_, not the feature itself. Is this the intended behaviour (a >>> bit of clarification of the description would help in that case), or is >>> this a 'todo' style item for which bbox matching is a quick hack ? I'm >>> using the latest svn release of openlayers. Sorry if this has come up >>> earlier, I joined the list fairly recently and found no reference to this >>> on issue on google. _______________________________________________ >>> Users mailing list >>> [EMAIL PROTECTED] >>> http://openlayers.org/mailman/listinfo/users > > > _______________________________________________ > Dev mailing list > [email protected] > http://openlayers.org/mailman/listinfo/dev > > !DSPAM:4033,475f1d4297695332866982! > _______________________________________________ Dev mailing list [email protected] http://openlayers.org/mailman/listinfo/dev
