Re: [JPP-Devel] Automatic noding when adding new features

2012-01-02 Thread Rahkonen Jukka
Hi, A long time ago we had a team splitting permanent field polygons into smaller polygons presenting annual crops inside the fields. We had to fill in some attributes for each crop polygon from application papers and also some data based on our own satellite image interpretation. In that kind

Re: [JPP-Devel] General refactoring of OpenJUMP

2012-01-02 Thread edgar . soldin
On 02.01.2012 23:49, Michaël Michaud wrote: > Hi Benjain and happy new year > >> Let's start with the first point, since I really like to know how you guys >> development cycle is. >> >> When I started with OpenJUMP back in April 2009 I typically started Eclipse >> and opened my Project with an

Re: [JPP-Devel] General refactoring of OpenJUMP

2012-01-02 Thread Michaël Michaud
Hi Benjain and happy new year Let's start with the first point, since I really like to know how you guys development cycle is. When I started with OpenJUMP back in April 2009 I typically started Eclipse and opened my Project with an Extension class and some PlugIns. To test changes I had to

Re: [JPP-Devel] Minory issue with Auto assing attribute

2012-01-02 Thread Michaël Michaud
Ah, OK, I thought you wanted to do the opposite (assign geometry from a wkt string attribute to the geometry attribute !) Copying geometry to a string attribute when there is only one string attribute should now be possible (svn 2577) Michaël Le 02/01/2012 22:03, Rahkonen Jukka a écrit : > Hi

Re: [JPP-Devel] Automatic noding when adding new features

2012-01-02 Thread Michaël Michaud
Hi Jukka, all, Interesting idea. Not an easy task, but now, most of the code exists. Not sure what would be the benefit compared to digitizing roads noding them in one step, then creating your polygons. One difficulty would be to define options (all options in the new noder plugin would also ma

[JPP-Devel] General refactoring of OpenJUMP

2012-01-02 Thread Benjamin Gudehus
Happy new year! I did some research on the refactoring of the PlugIns in the tools menu and want to discuss some points: 1. Software development process 2. Legacy code and testing 3. Separation of GUI and code Let's start with the first point, since I really like to know how you guys de

Re: [JPP-Devel] osgeo win installer

2012-01-02 Thread Michaël Michaud
Hi Ede, > i see that as of now there was no oj win installer on osgeo... > http://live.osgeo.org/WindowsInstallers/ I'll see if it is compatible with space constraints of the osgeo-live dvd > we should maybe point that out to the osgeo folks. it might be problematic as > there is officially no op

Re: [JPP-Devel] Minory issue with Auto assing attribute

2012-01-02 Thread Rahkonen Jukka
Hi, See http://latuviitta.org/documents/assign_wkt_1.png and http://latuviitta.org/documents/assign_wkt_2.png Can be a nice feature to have sometimes. -Jukka- Lähettäjä: Michaël Michaud [michael.mich...@free.fr] Lähetetty: 2. tammikuuta 2012 22:32 Vastaa

Re: [JPP-Devel] OpenJUMP & OpenJDK

2012-01-02 Thread Michaël Michaud
Wow, thanks I will not be able to make a tenth of the tests you and others are doing these days... Michaël Le 02/01/2012 13:59, edgar.sol...@web.de a écrit : > On 02.01.2012 13:19, edgar.sol...@web.de wrote: >> On 02.01.2012 12:13, Giuseppe Aruta wrote: >>> And Ede's Change coordinate system to

Re: [JPP-Devel] OpenJUMP & OpenJDK

2012-01-02 Thread Michaël Michaud
Le 02/01/2012 12:13, Giuseppe Aruta a écrit : Hi Michael, do we have some tools that depends on geotools on OJ core? I don't think so AFAIR there is a code that was added for the advanced measure tool. Ya, a piece of code from Netbeans project, no native code, I don't think it can be harmful A

Re: [JPP-Devel] OpenJUMP and OpenJDK

2012-01-02 Thread edgar . soldin
however, the issue looks like a graphics card redraw error, which from my point of view is ugly but not issuing a problem with the result. and again i cannot reproduce it with ubuntu 11.04 and openjdk6 in a virtual machine. also, what other choice is there if osgeo really sticks with openjdk6 ..

Re: [JPP-Devel] Minory issue with Auto assing attribute

2012-01-02 Thread Michaël Michaud
Hi, > Auto assign attribute tool allows to assign the geometries of features as WKT > into a string attribute. Ho do you do that ? Have you got a screenshot ? Michaël > However, this option is not active before having two normal attribute > fields in the scheam in addition to the geometry fie

Re: [JPP-Devel] Automatic noding when adding new features

2012-01-02 Thread Stefan Steiniger
>> but a question.. how do you deal with layers that have lots of objects? >> (OJ would be in-responsive) > > how is the noder plugin dealing with it? is it capable to find overlaying > geometries (in a performant manner) or are they manually selected beforehand? The noding is done on a whole la

Re: [JPP-Devel] Automatic noding when adding new features

2012-01-02 Thread edgar . soldin
On 02.01.2012 17:31, Stefan Steiniger wrote: > so you mean activating the other plugin right after a feature is > finished by double click? programmatically yes. meaning in the code that draws there is a noder plugin, if there then it checks if autonoding is on, if on then it calls the noding p

Re: [JPP-Devel] Automatic noding when adding new features

2012-01-02 Thread Stefan Steiniger
so you mean activating the other plugin right after a feature is finished by double click? but a question.. how do you deal with layers that have lots of objects? (OJ would be in-responsive) and: How do you know which geometry type is of interest? Not saying it is not working, but it may be mo

Re: [JPP-Devel] Automatic noding when adding new features

2012-01-02 Thread Edgar Soldin
i forward this to the user list and ask if there are others that'll find that useful. ..ede On 02.01.2012 16:52, Rahkonen Jukka wrote: > Yes we have. Idea came into my mind when translating new strings and trying > how the new Noder tool and Fill polygon tool are working. > > -Jukka- > >> --

Re: [JPP-Devel] Automatic noding when adding new features

2012-01-02 Thread Rahkonen Jukka
Yes we have. Idea came into my mind when translating new strings and trying how the new Noder tool and Fill polygon tool are working. -Jukka- > -Alkuperäinen viesti- > Lähettäjä: edgar.sol...@web.de [mailto:edgar.sol...@web.de] > Lähetetty: 2. tammikuuta 2012 17:46 > Vastaanottaja: Ope

Re: [JPP-Devel] Automatic noding when adding new features

2012-01-02 Thread edgar . soldin
Don't we have a plugin that does that for selected geometries? If so we could run that immediately after in a special drawing mode or by demand, done. ede On 02.01.2012 15:46, Rahkonen Jukka wrote: > Yes, automatically after the new feature is finished. > > -Jukka- > >> -Alkuperäinen vies

Re: [JPP-Devel] Automatic noding when adding new features

2012-01-02 Thread Rahkonen Jukka
Yes, automatically after the new feature is finished. -Jukka- > -Alkuperäinen viesti- > Lähettäjä: edgar.sol...@web.de [mailto:edgar.sol...@web.de] > Lähetetty: 2. tammikuuta 2012 16:44 > Vastaanottaja: OpenJump develop and use > Aihe: Re: [JPP-Devel] Automatic noding when adding new fea

Re: [JPP-Devel] Automatic noding when adding new features

2012-01-02 Thread edgar . soldin
so autonoding would be to create points on intersections of line segments of overlapping geometries during drawing? ede On 02.01.2012 14:35, Stefan Steiniger wrote: > nodes refers here the intersection of lines/polygon-borders, a term from > geometry/toplogy ("Schnittpunkt" or "Knoten" in Germa

Re: [JPP-Devel] Automatic noding when adding new features

2012-01-02 Thread Stefan Steiniger
nodes refers here the intersection of lines/polygon-borders, a term from geometry/toplogy ("Schnittpunkt" or "Knoten" in German) Am 02.01.12 13:17, schrieb edgar.sol...@web.de: > if somebody could explain what nodes are i might be able to comment on > possible implementability. > > ..ede > > On

Re: [JPP-Devel] OpenJUMP & OpenJDK

2012-01-02 Thread edgar . soldin
On 02.01.2012 13:19, edgar.sol...@web.de wrote: > On 02.01.2012 12:13, Giuseppe Aruta wrote: >> And Ede's Change coordinate system tool, Anyhow right now I don't see any >> difference on using OpenJUMP tools (whether or not depending on geotools >> classes). Anyhow I agree with you to test those

Re: [JPP-Devel] OpenJUMP & OpenJDK

2012-01-02 Thread edgar . soldin
On 02.01.2012 12:13, Giuseppe Aruta wrote: > And Ede's Change coordinate system tool, Anyhow right now I don't see any > difference on using OpenJUMP tools (whether or not depending on geotools > classes). Anyhow I agree with you to test those tools. tested cts-0.2 successfully with openjdk7 for

Re: [JPP-Devel] Automatic noding when adding new features

2012-01-02 Thread edgar . soldin
if somebody could explain what nodes are i might be able to comment on possible implementability. ..ede On 02.01.2012 12:05, Stefan Steiniger wrote: > Hi Jukka, > > I wish we could do that - but I doubt... its creation of topology on the > fly, and that would require some additional internal s

[JPP-Devel] Minory issue with Auto assing attribute

2012-01-02 Thread Rahkonen Jukka
Hi, Auto assign attribute tool allows to assign the geometries of features as WKT into a string attribute. However, this option is not active before having two normal attribute fields in the scheam in addition to the geometry field in the schema. One available attribute would be enough in this

Re: [JPP-Devel] OpenJUMP & OpenJDK

2012-01-02 Thread edgar . soldin
On 02.01.2012 12:13, Giuseppe Aruta wrote: > Hi Michael, > do we have some tools that depends on geotools on OJ core? AFAIR there is a > code that was added for the advanced measure tool. And Ede's Change > coordinate system tool, Anyhow right now I don't see any difference on using > OpenJUMP t

Re: [JPP-Devel] OpenJUMP & OpenJDK

2012-01-02 Thread Giuseppe Aruta
Hi Michael, do we have some tools that depends on geotools on OJ core? AFAIR there is a code that was added for the advanced measure tool. And Ede's Change coordinate system tool, Anyhow right now I don't see any difference on using OpenJUMP tools (whether or not depending on geotools classes).

Re: [JPP-Devel] Automatic noding when adding new features

2012-01-02 Thread Stefan Steiniger
Hi Jukka, I wish we could do that - but I doubt... its creation of topology on the fly, and that would require some additional internal structures (to keep things in memory and to parse it...) that we don't have as far as I know. cheers, stefan Am 02.01.12 10:37, schrieb Rahkonen Jukka: > Hi,

Re: [JPP-Devel] Dissolve/Merge/Union

2012-01-02 Thread Stefan Steiniger
thanks, that helped stefan Am 02.01.12 07:43, schrieb Michaël Michaud: > Hi Stefan, > >> what is the effect for the option "aggregate unused fields", in the new >> union plugin? > Aggregate fields in the result (if the user choose field A for union, > other fields B, C... are aggregated > with a

[JPP-Devel] osgeo win installer

2012-01-02 Thread edgar . soldin
i see that as of now there was no oj win installer on osgeo... http://live.osgeo.org/WindowsInstallers/ we should maybe point that out to the osgeo folks. it might be problematic as there is officially no openjdk for windows. however i found an openjdk7 i586 reference build dual on http://jdk7.j

Re: [JPP-Devel] improving CoordinateListMetrics

2012-01-02 Thread Giuseppe Aruta
Hi all While regular drawing tools allow to show right click context menu (sometimes useful to access zoom tools), constrained tools don't. If I click on the right mouse button, the drawing is stopped and the feature is created. I wonder if it make sense to have 2 different ways to draw feature

Re: [JPP-Devel] OJ Linux GUI bug?

2012-01-02 Thread edgar . soldin
if openjdk 1.7 solves this we should urge (although i am under the impression osgeo already plans to) osgeo to include this version. michael: could you communicate this plus the fact that oj is generally fit for openjdk? ede On 02.01.2012 10:20, Giuseppe Aruta wrote: > Hi all, > this is my ex

[JPP-Devel] Automatic noding when adding new features

2012-01-02 Thread Rahkonen Jukka
Hi, Could it be possible to create automatically nodes into the intersecting features when creating new lines or polygons? That would suit extremely well with the new Fill Polygon digitising tool. Two use cases: User could digitise first the streets as lines and thanks to automatic noding creat

Re: [JPP-Devel] OJ Linux GUI bug?

2012-01-02 Thread Giuseppe Aruta
Hi all, this is my experience with OJ and JRE. Some months ago I tested the same bug with OpenJDK 1.6 which is embedded in Ubuntu 11.04. This bug was always present with all tools that were involving parts of the features "outside" the view, plus "Draw constrained circle" tool. I did some tests