[JPP-Devel] Spatial Query

2010-06-25 Thread siddharth raghuvanshi
Hi, How is the spatial query related to distance is being carried on?? As far as I have seen, jts topology suite resolves distance related queries only by using the coordinates & has nothing to do with the srs of the layer. So, how is OpenJump managing it?? If projection of the layer is in EPSG:4

Re: [JPP-Devel] Nested loop through the features of two layers

2010-06-25 Thread Michaƫl Michaud
Hi, //STRtree (JTS package) and IndexedFeatureCollection (jump) are your friends, //You can use the index like that : IndexedFeatureCollection ifc = new IndexedFeatureCollection(fcB, new STRtree()); //Then your second loop just go through the result of the following request List candidates

Re: [JPP-Devel] Nested loop through the features of two layers

2010-06-25 Thread Larry Becker
Hi Nils, You are on the right track with the envelope query. Unless your polygons are unusually overlapped (i.e. many overlap many), you should get good performance using the results of the envelope query to feed the inner loop of geometry intersection. regards, Larry On Fri, Jun 25, 2010

[JPP-Devel] Nested loop through the features of two layers

2010-06-25 Thread Nils Kuhn
Hi all, I have the following problem: I have two polygon-layers with many thousands of features. In layer a I want to flag in an integer-field for every feature, whether the area of the intersection with the polygons of layer b amounts more than 1 percent of the area himself. The attached cod

Re: [JPP-Devel] OpenJump Documentation

2010-06-25 Thread Benjamin Gudehus
Hi! I used the OpenJUMP javadocs and created the mind map with FreeMind. http://sourceforge.net/projects/freemind/files/freemind-unstable/ --Benjamin 2010/6/24 Stefan Steiniger > Hei Benjamin > > thanks.. I uploaded it on the wiki > > stefan > > Benjamin Gudehus wrote: > > Hello Herman, > > >