[OpenLayers-Dev] Feature "select detection" implementation details needed

bkausbk bkausbk at web.de
Wed Jun 6 19:03:47 EDT 2007


Dear Tim,

> When polygons intersect, the result is one or more points, one or more 
> lines, one or more polygons, any combination of the above, or nothing. 
> The result of OpenLayers.Geometry.intersect will be a list of geometries.
> 
> Again, OpenLayers.Geometry.intersect doesn't exist.  If you are 
> interested in working on this (or any of the methods that it will 
> require), I'm interested in helping you organize the work.

Hmm, I'm of course interested but I think it wouldn't be easy to implement this 
from bottom up.

There should be btw. a method for checking which geometries intersects and a 
method for returning intersection points (later one may call the first method)

And what about methods for combining and excluding polygons? See 
http://www.kalytta.com/OpenLayers/intersection.html

This could be especially usefull if OpenLayers will be used as feature editor.

PS: Which coordinate system (unit) will be used to store geometry points?

regards

Benjamin Kalytta



More information about the Dev mailing list