Re: [JPP-Devel] Select shape by attribute

2010-07-07 Thread Nils Kuhn
Hi Helmut, try the following (without any guarantee): //iterate over the features of your layer, select some of them by attribute and build an envelope including all the geometries of the features to select Layer lyr = context.getLayerManager().getLayer("yourLayer"); FeatureCollectionWrapper f

Re: [JPP-Devel] Select shape by attribute

2010-07-07 Thread Helmut Seidel M.A.
Hello again, thank you for your replies. Maybe I should have stated that I'm working on a plugin, not an external application. Thanks again Helmut Am 07.07.2010 08:05, schrieb Matthias Scholz: > Hi Sunburned Surveyor, > > at the moment I use a textfile, because this was the simplest way and >

Re: [JPP-Devel] Select shape by attribute

2010-07-06 Thread Matthias Scholz
Hi Sunburned Surveyor, at the moment I use a textfile, because this was the simplest way and there are no needs to change anything in the Archikart Software. I've reused a interface to an other GIS. Matthias > Matthias, > > I'm curious what method you are using to communicate with OpenJUMP. > Can

Re: [JPP-Devel] Select shape by attribute

2010-07-06 Thread Sunburned Surveyor
Matthias, I'm curious what method you are using to communicate with OpenJUMP. Can you tell me? The Sunburned Surveyor On Tue, Jul 6, 2010 at 12:04 PM, Matthias Scholz wrote: > Hi Helmut, > > I've build a plugin for interfacing OJ with an external application > called "Archikart" (www.archikart.

Re: [JPP-Devel] Select shape by attribute

2010-07-06 Thread Matthias Scholz
Hi Helmut, I've build a plugin for interfacing OJ with an external application called "Archikart" (www.archikart.de), for use at my employer. You can select a geometry in OJ an show the metadata in Archikart and the reverse way, show a geometry in OJ from Archikart. The plugin searches on all

[JPP-Devel] Select shape by attribute

2010-07-06 Thread Helmut Seidel M.A.
Hello everybody, thanks to your help I was able to start my project. So far I am able to extract some attributes from the selected elements look them up in a mysql-database and display the results in openJump. This was possible for me through the HowTo in your developers docs section. Now I ne