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 f

[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 applicati

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 th

Re: [JPP-Devel] interacting with another application

2010-07-07 Thread Sunburned Surveyor
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, Matthias Scholz wrote: > Hi Nils! >> Hi Matthias, >> >> I opened another topic for the discussion inside the topi

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 : > Hi, > > Did anyone see this video : > http://www.youtube.com/watch?v=J1vh6kCcIBM > > It shows a plugin for OpenJUMP I have never seen before. > Any information abo

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

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) whic