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 _______________________________________________ Dev mailing list [email protected] http://openlayers.org/mailman/listinfo/dev
