Re: [JPP-Devel] Select shape by attribute

2010-07-07 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-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-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

[JPP-Devel] interacting with another application

2010-07-07 Thread Nils Kuhn
Hi Matthias, I opened another topic for the discussion inside the topic "Select shape by attribute" because things are mixing a bit, I think. I want to create an interface between OJ and an external application, too. I will have to use a xml-file for communication (because the other

Re: [JPP-Devel] interacting with another application

2010-07-07 Thread Matthias Scholz
Hi Nils! Hi Matthias, I opened another topic for the discussion inside the topic Select shape by attribute because things are mixing a bit, I think. I want to create an interface between OJ and an external application, too. I will have to use a xml-file for communication (because the other

Re: [JPP-Devel] TCC Visual Query

2010-07-07 Thread Sunburned Surveyor
This is an interesting video Michael. I have not seen the plug-in or its author. The Sunburned Surveyor 2010/6/16 Michaƫl Michaud michael.mich...@free.fr: Hi, Did anyone see this video : http://www.youtube.com/watch?v=J1vh6kCcIBM It shows a plugin for OpenJUMP I have never seen before.

Re: [JPP-Devel] interacting with another application

2010-07-07 Thread Nils Kuhn
Hi, I'm interested, too. My first approach was like the attached class. Nils Sunburned Surveyor schrieb: Matthias, Can you share your code with us? I'd be interested in seeing how the communication process you described was coded. The Sunburned Surveyor On Wed, Jul 7, 2010 at 5:11 AM,

Re: [JPP-Devel] SextanteRasterLayer, pixel values and visualization

2010-07-07 Thread Stefan Steiniger
great - I will have a look at it hopefully at the weekend stefan Alberto De Luca wrote: Stefan, thank you for your (not so late) answer, you told me you'd be away, so no problem at all! I had a look at Erwan's plug in: very interesting work! Briefly, if I got it right: he wrote a

Re: [JPP-Devel] interacting with another application

2010-07-07 Thread Benjamin Gudehus
Hi! That's interprocess communication. What about communicating between openjump and external applications via network sockets? I implemented a jsonrpc 2.0 server (http://en.wikipedia.org/wiki/JSON-RPC) and it works very well. Here some example code in groovy (placed in an extension class)