Re: [JPP-Devel] New linear referencing tools

2013-11-11 Thread Michaël Michaud

Hi,

Very strange, I can't reproduce the problem, even with a configuration
which is almost the same as yours...
Would be pleased to have more results from testers (with same parameters
and the jml Jukka attached in his previous mail)

Michaël

Hi,

Parameters:
Source: Uusi
Unit: Map Unit
Distance: 100
Offset; 0
Repeat: Yes
Create a point every: 100
Add end point: Yes
Use an attribute to identify paths: Yes
Attribute: om
Usen an attribute to order path sections: No

When attribute to identify paths is selected the result is an error, when it is 
not checked the result is an empty layer. If I select all (both) lines and run 
linear referencing for the selection the result is OK.

Windows 32-bit, OJ r3802-PLUS, jre 1.6.0_27 (Oracle).

-Jukka-



Lähettäjä: Michaël Michaud [michael.mich...@free.fr]
Lähetetty: 11. marraskuuta 2013 0:59
Vastaanottaja: jump-pilot-devel@lists.sourceforge.net
Aihe: Re: [JPP-Devel] New linear referencing tools

Hi Jukka,

Can you give me a reproducible test case, as I can't reproduce the
error.
Ideally, the jml file you use as input and the set of parameters,
Thanks for the help,

Michaël


Hi,

Michaël seems to work on new linear referencing tools. With good tooltips those feel 
rather self-explaining and I could create points for a selection. However, working on a 
whole layer does create points for me, just a new, empty layer.  I thought it might be 
because I had only one feature on the layer and I digitized a few more. In addition I 
made an attribute om (String) for grouping the features and this time I 
managed to get an error:

java.lang.IllegalArgumentException: Unknown attribute name: om
   at 
com.vividsolutions.jump.feature.FeatureSchema.getAttributeIndex(FeatureSchema.java:97)
   at 
com.vividsolutions.jump.feature.AbstractBasicFeature.getAttribute(AbstractBasicFeature.java:103)
   at 
org.openjump.core.ui.plugin.tools.generate.LinearReferencingOnLayerPlugIn.prepareGeometries(LinearReferencingOnLayerPlugIn.java:137)
   at 
org.openjump.core.ui.plugin.tools.generate.LinearReferencingOnLayerPlugIn.run(LinearReferencingOnLayerPlugIn.java:115)
   at 
com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:152)
   at java.lang.Thread.run(Unknown Source)

-Jukka Rahkonen-
--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel




--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk


___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] [Jump-pilot-svn-notify] SF.net SVN: jump-pilot:[3802] core/trunk

2013-11-11 Thread edgar . soldin
On 11.11.2013 10:50, Giuseppe Aruta wrote:
 It is amazing how it is easy to customize the toolbar.

the Editing Toolbox is kind of easy as it's entries are initialized 
consecutively ..

at one point we will have to tackle the main menu toolbar and possibly others. 
this might prove a bit more difficult as they do house plugins that are already 
initialized earlier. but we'll cross that bridge when we reach it :)

..ede

--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] [Jump-pilot-svn-notify] SF.net SVN: jump-pilot:[3802] core/trunk

2013-11-11 Thread edgar . soldin
On 11.11.2013 09:16, Giuseppe Aruta wrote:
 Hi Ede,
 sorry also for my late answer. I also appreciate and like your job. I moved 
 some internal plugin and external ones with no need to redefine the code by 
 Eclipse. 

good to hear

 This is really useful, even if I suspect that, after this good improvement, 
 we will see a proliferation in the family of OJ ;-)

hopefully 

 Just one thought.In these days I am working on some more professional line 
 decoration like these ones, that can be used for maps (geological and others):
 Immagine in linea 1
 
 Actually one option is to have them on a separate plugin, The other option 
 can be to add them to OJ core.
 I wonder if defaultplugin.xml can be extended also for this kind of frames.

dunno what you mean. can you elaborate?

 This 3rd option will sgive the possibility to user to decide which kind of 
 decoration wants to add or not, without inflating the panel with all of them.

i see. you want to configure available styles via xml? right?


..ede

--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] New linear referencing tools

2013-11-11 Thread Rahkonen Jukka
Hi,

Works for me on another computer (Win 7 64-bit, 32-bit jre 1.7.0_25 (Oracle).

-Jukka-



Michaël Michaud wrote:

Hi,

Very strange, I can't reproduce the problem, even with a configuration
which is almost the same as yours...
Would be pleased to have more results from testers (with same parameters
and the jml Jukka attached in his previous mail)

Michaël

Hi,



Parameters:

Source: Uusi

Unit: Map Unit

Distance: 100

Offset; 0

Repeat: Yes

Create a point every: 100

Add end point: Yes

Use an attribute to identify paths: Yes

Attribute: om

Usen an attribute to order path sections: No



When attribute to identify paths is selected the result is an error, when it is 
not checked the result is an empty layer. If I select all (both) lines and run 
linear referencing for the selection the result is OK.



Windows 32-bit, OJ r3802-PLUS, jre 1.6.0_27 (Oracle).



-Jukka-







Lähettäjä: Michaël Michaud 
[michael.mich...@free.frmailto:michael.mich...@free.fr]

Lähetetty: 11. marraskuuta 2013 0:59

Vastaanottaja: 
jump-pilot-devel@lists.sourceforge.netmailto:jump-pilot-devel@lists.sourceforge.net

Aihe: Re: [JPP-Devel] New linear referencing tools



Hi Jukka,



Can you give me a reproducible test case, as I can't reproduce the

error.

Ideally, the jml file you use as input and the set of parameters,

Thanks for the help,



Michaël



Hi,



Michaël seems to work on new linear referencing tools. With good tooltips those 
feel rather self-explaining and I could create points for a selection. However, 
working on a whole layer does create points for me, just a new, empty layer.  I 
thought it might be because I had only one feature on the layer and I digitized 
a few more. In addition I made an attribute om (String) for grouping the 
features and this time I managed to get an error:



java.lang.IllegalArgumentException: Unknown attribute name: om

  at 
com.vividsolutions.jump.feature.FeatureSchema.getAttributeIndex(FeatureSchema.java:97)

  at 
com.vividsolutions.jump.feature.AbstractBasicFeature.getAttribute(AbstractBasicFeature.java:103)

  at 
org.openjump.core.ui.plugin.tools.generate.LinearReferencingOnLayerPlugIn.prepareGeometries(LinearReferencingOnLayerPlugIn.java:137)

  at 
org.openjump.core.ui.plugin.tools.generate.LinearReferencingOnLayerPlugIn.run(LinearReferencingOnLayerPlugIn.java:115)

  at 
com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:152)

  at java.lang.Thread.run(Unknown Source)



-Jukka Rahkonen-

--

November Webinars for C, C++, Fortran Developers

Accelerate application performance with scalable programming models. Explore

techniques for threading, error checking, porting, and tuning. Get the most

from the latest Intel processors and coprocessors. See abstracts and register

http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk

___

Jump-pilot-devel mailing list

Jump-pilot-devel@lists.sourceforge.netmailto:Jump-pilot-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel









--

November Webinars for C, C++, Fortran Developers

Accelerate application performance with scalable programming models. Explore

techniques for threading, error checking, porting, and tuning. Get the most

from the latest Intel processors and coprocessors. See abstracts and register

http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk

___

Jump-pilot-devel mailing list

Jump-pilot-devel@lists.sourceforge.netmailto:Jump-pilot-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel




--

November Webinars for C, C++, Fortran Developers

Accelerate application performance with scalable programming models. Explore

techniques for threading, error checking, porting, and tuning. Get the most

from the latest Intel processors and coprocessors. See abstracts and register

http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk




___

Jump-pilot-devel mailing list

Jump-pilot-devel@lists.sourceforge.netmailto:Jump-pilot-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register

[JPP-Devel] OJ r3803 and Class not found expeption due to SaveToPostGIS2

2013-11-11 Thread Rahkonen Jukka
Hi,

With r3803-PLUS on Windows 7 (64 bit), with 32 bit jre 1.7.0_25 I am getting 
this

java.lang.ClassNotFoundException: 
org.openjump.core.ui.plugin.datastore.postgis2.SaveToPostGIS2PlugIn
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at 
com.vividsolutions.jump.workbench.plugin.PlugInManager.loadPlugIns(PlugInManager.java:170)
at 
com.vividsolutions.jump.workbench.plugin.PlugInManager.load(PlugInManager.java:107)
at 
com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:426)
at 
com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:361)

-Jukka Rahkonen-

--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] New linear referencing tools

2013-11-11 Thread edgar . soldin
maybe the 'jre 1.6.0_27'? ..ede

On 11.11.2013 13:07, Rahkonen Jukka wrote:
 Hi,
 
  
 
 Works for me on another computer (Win 7 64-bit, 32-bit jre 1.7.0_25 (Oracle).
 
  
 
 -Jukka-
 
  
 
  
 
  
 
 Michaël Michaud wrote:
 
  
 
 Hi,
 
 Very strange, I can't reproduce the problem, even with a configuration
 which is almost the same as yours...
 Would be pleased to have more results from testers (with same parameters
 and the jml Jukka attached in his previous mail)
 
 Michaël
 
 Hi,
 
  
 
 Parameters:
 
 Source: Uusi
 
 Unit: Map Unit
 
 Distance: 100
 
 Offset; 0
 
 Repeat: Yes
 
 Create a point every: 100
 
 Add end point: Yes
 
 Use an attribute to identify paths: Yes
 
 Attribute: om
 
 Usen an attribute to order path sections: No
 
  
 
 When attribute to identify paths is selected the result is an error, when 
 it is not checked the result is an empty layer. If I select all (both) lines 
 and run linear referencing for the selection the result is OK.
 
  
 
 Windows 32-bit, OJ r3802-PLUS, jre 1.6.0_27 (Oracle).
 
  
 
 -Jukka-
 
  
 
  
 
 
 
 Lähettäjä: Michaël Michaud [michael.mich...@free.fr 
 mailto:michael.mich...@free.fr]
 
 Lähetetty: 11. marraskuuta 2013 0:59
 
 Vastaanottaja: jump-pilot-devel@lists.sourceforge.net 
 mailto:jump-pilot-devel@lists.sourceforge.net
 
 Aihe: Re: [JPP-Devel] New linear referencing tools
 
  
 
 Hi Jukka,
 
  
 
 Can you give me a reproducible test case, as I can't reproduce the
 
 error.
 
 Ideally, the jml file you use as input and the set of parameters,
 
 Thanks for the help,
 
  
 
 Michaël
 
  
 
 Hi,
 
  
 
 Michaël seems to work on new linear referencing tools. With good 
 tooltips those feel rather self-explaining and I could create points for a 
 selection. However, working on a whole layer does create points for me, just 
 a new, empty layer.  I thought it might be because I had only one feature on 
 the layer and I digitized a few more. In addition I made an attribute om 
 (String) for grouping the features and this time I managed to get an error:
 
  
 
 java.lang.IllegalArgumentException: Unknown attribute name: om
 
   at 
 com.vividsolutions.jump.feature.FeatureSchema.getAttributeIndex(FeatureSchema.java:97)
 
   at 
 com.vividsolutions.jump.feature.AbstractBasicFeature.getAttribute(AbstractBasicFeature.java:103)
 
   at 
 org.openjump.core.ui.plugin.tools.generate.LinearReferencingOnLayerPlugIn.prepareGeometries(LinearReferencingOnLayerPlugIn.java:137)
 
   at 
 org.openjump.core.ui.plugin.tools.generate.LinearReferencingOnLayerPlugIn.run(LinearReferencingOnLayerPlugIn.java:115)
 
   at 
 com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:152)
 
   at java.lang.Thread.run(Unknown Source)
 
  
 
 -Jukka Rahkonen-
 
 
 --
 
 November Webinars for C, C++, Fortran Developers
 
 Accelerate application performance with scalable programming models. 
 Explore
 
 techniques for threading, error checking, porting, and tuning. Get 
 the most
 
 from the latest Intel processors and coprocessors. See abstracts and 
 register
 
 
 http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
 
 ___
 
 Jump-pilot-devel mailing list
 
 Jump-pilot-devel@lists.sourceforge.net 
 mailto:Jump-pilot-devel@lists.sourceforge.net
 
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 
  
 
  
 
  
 
  
 
 
 --
 
 November Webinars for C, C++, Fortran Developers
 
 Accelerate application performance with scalable programming models. 
 Explore
 
 techniques for threading, error checking, porting, and tuning. Get the 
 most
 
 from the latest Intel processors and coprocessors. See abstracts and 
 register
 
 
 http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
 
 ___
 
 Jump-pilot-devel mailing list
 
 Jump-pilot-devel@lists.sourceforge.net 
 mailto:Jump-pilot-devel@lists.sourceforge.net
 
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 
 
 
 
 
 --
 
 November Webinars for C, C++, Fortran Developers
 
 Accelerate application performance with scalable programming models. 
 Explore
 
 techniques for threading, error checking, porting, and tuning. Get the 
 most 
 
 from the latest 

Re: [JPP-Devel] OJ r3803 and Class not found expeption due to SaveToPostGIS2

2013-11-11 Thread edgar . soldin
but OJ starts through, right? ..ede

On 11.11.2013 13:12, Rahkonen Jukka wrote:
 Hi,
 
 With r3803-PLUS on Windows 7 (64 bit), with 32 bit jre 1.7.0_25 I am getting 
 this
 
 java.lang.ClassNotFoundException: 
 org.openjump.core.ui.plugin.datastore.postgis2.SaveToPostGIS2PlugIn
   at java.net.URLClassLoader$1.run(Unknown Source)
   at java.net.URLClassLoader$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Unknown Source)
   at 
 com.vividsolutions.jump.workbench.plugin.PlugInManager.loadPlugIns(PlugInManager.java:170)
   at 
 com.vividsolutions.jump.workbench.plugin.PlugInManager.load(PlugInManager.java:107)
   at 
 com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:426)
   at 
 com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:361)
 
 -Jukka Rahkonen-
 

--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] OJ r3803 and Class not found expeption due to SaveToPostGIS2

2013-11-11 Thread Rahkonen Jukka
Right, it starts.

-Jukka-

 -Alkuperäinen viesti-
 Lähettäjä: edgar.sol...@web.de [mailto:edgar.sol...@web.de]
 Lähetetty: 11. marraskuuta 2013 14:16
 Vastaanottaja: OpenJump develop and use
 Aihe: Re: [JPP-Devel] OJ r3803 and Class not found expeption due to
 SaveToPostGIS2
 
 but OJ starts through, right? ..ede
 
 On 11.11.2013 13:12, Rahkonen Jukka wrote:
  Hi,
 
  With r3803-PLUS on Windows 7 (64 bit), with 32 bit jre 1.7.0_25 I am
  getting this
 
  java.lang.ClassNotFoundException:
 org.openjump.core.ui.plugin.datastore.postgis2.SaveToPostGIS2PlugIn
  at java.net.URLClassLoader$1.run(Unknown Source)
  at java.net.URLClassLoader$1.run(Unknown Source)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(Unknown Source)
  at java.lang.ClassLoader.loadClass(Unknown Source)
  at sun.misc.Launcher$AppClassLoader.loadClass(Unknown
 Source)
  at java.lang.ClassLoader.loadClass(Unknown Source)
  at java.lang.Class.forName0(Native Method)
  at java.lang.Class.forName(Unknown Source)
  at
 com.vividsolutions.jump.workbench.plugin.PlugInManager.loadPlugIns(PlugInM
 anager.java:170)
  at
 com.vividsolutions.jump.workbench.plugin.PlugInManager.load(PlugInManager.
 java:107)
  at
 com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.ja
 va:426)
  at
 
 com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.ja
 v
  a:361)
 
  -Jukka Rahkonen-
 
 
 --
 November Webinars for C, C++, Fortran Developers Accelerate application
 performance with scalable programming models. Explore techniques for
 threading, error checking, porting, and tuning. Get the most from the latest 
 Intel
 processors and coprocessors. See abstracts and register
 http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] New linear referencing tools

2013-11-11 Thread Michaël Michaud

Thanks for this second test,

My config is vista 64 bit + 32 bits jre 1.6.0_45
So it would be a windows 64 bits vs windows 32 bits problem...
Will do more tests with a 32 bits computer.

Michaël


Hi,

Works for me on another computer (Win 7 64-bit, 32-bit jre 1.7.0_25 
(Oracle).


-Jukka-

Michaël Michaud wrote:

Hi,

Very strange, I can't reproduce the problem, even with a configuration
which is almost the same as yours...
Would be pleased to have more results from testers (with same parameters
and the jml Jukka attached in his previous mail)

Michaël

Hi,

  


Parameters:

Source: Uusi

Unit: Map Unit

Distance: 100

Offset; 0

Repeat: Yes

Create a point every: 100

Add end point: Yes

Use an attribute to identify paths: Yes

Attribute: om

Usen an attribute to order path sections: No

  


When attribute to identify paths is selected the result is an error, when 
it is not checked the result is an empty layer. If I select all (both) lines 
and run linear referencing for the selection the result is OK.

  


Windows 32-bit, OJ r3802-PLUS, jre 1.6.0_27 (Oracle).

  


-Jukka-

  

  




Lähettäjä: Michaël Michaud [michael.mich...@free.fr  
mailto:michael.mich...@free.fr]

Lähetetty: 11. marraskuuta 2013 0:59

Vastaanottaja:jump-pilot-devel@lists.sourceforge.net  
mailto:jump-pilot-devel@lists.sourceforge.net

Aihe: Re: [JPP-Devel] New linear referencing tools

  


Hi Jukka,

  


Can you give me a reproducible test case, as I can't reproduce the

error.

Ideally, the jml file you use as input and the set of parameters,

Thanks for the help,

  


Michaël

  


Hi,

  


Michaël seems to work on new linear referencing tools. With good tooltips those 
feel rather self-explaining and I could create points for a selection. However, working 
on a whole layer does create points for me, just a new, empty layer.  I thought it might 
be because I had only one feature on the layer and I digitized a few more. In addition I 
made an attribute om (String) for grouping the features and this time I 
managed to get an error:

  


java.lang.IllegalArgumentException: Unknown attribute name: om

   at 
com.vividsolutions.jump.feature.FeatureSchema.getAttributeIndex(FeatureSchema.java:97)

   at 
com.vividsolutions.jump.feature.AbstractBasicFeature.getAttribute(AbstractBasicFeature.java:103)

   at 
org.openjump.core.ui.plugin.tools.generate.LinearReferencingOnLayerPlugIn.prepareGeometries(LinearReferencingOnLayerPlugIn.java:137)

   at 
org.openjump.core.ui.plugin.tools.generate.LinearReferencingOnLayerPlugIn.run(LinearReferencingOnLayerPlugIn.java:115)

   at 
com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:152)

   at java.lang.Thread.run(Unknown Source)

  


-Jukka Rahkonen-


--

November Webinars for C, C++, Fortran Developers

Accelerate application performance with scalable programming models. 
Explore

techniques for threading, error checking, porting, and tuning. Get the 
most

from the latest Intel processors and coprocessors. See abstracts and 
register


http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk

___

Jump-pilot-devel mailing list

Jump-pilot-devel@lists.sourceforge.net  
mailto:Jump-pilot-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

  

  

  

  



--

November Webinars for C, C++, Fortran Developers

Accelerate application performance with scalable programming models. Explore

techniques for threading, error checking, porting, and tuning. Get the most

from the latest Intel processors and coprocessors. See abstracts and 
register

http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk

___

Jump-pilot-devel mailing list

Jump-pilot-devel@lists.sourceforge.net  
mailto:Jump-pilot-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel





--

November Webinars for C, C++, Fortran Developers

Accelerate application performance with scalable programming models. Explore

techniques for threading, error checking, porting, and tuning. Get the most

from the latest Intel processors and coprocessors. See abstracts and 
register


Re: [JPP-Devel] New linear referencing tools

2013-11-11 Thread edgar . soldin
i'd guess it's a jre bug. if so you should probably be able to reproduce it 
with 'jre 1.6.0_27 32bit' on your vista.
and if iot is you can ignore it as it is obviously fixes in update 1.6.0_45.

.. ede

On 11.11.2013 13:18, Michaël Michaud wrote:
 Thanks for this second test,
 
 My config is vista 64 bit + 32 bits jre 1.6.0_45
 So it would be a windows 64 bits vs windows 32 bits problem...
 Will do more tests with a 32 bits computer.
 
 Michaël

 Hi,

  

 Works for me on another computer (Win 7 64-bit, 32-bit jre 1.7.0_25 (Oracle).

  

 -Jukka-

  

  

  

 Michaël Michaud wrote:

  

 Hi,

 Very strange, I can't reproduce the problem, even with a configuration
 which is almost the same as yours...
 Would be pleased to have more results from testers (with same parameters
 and the jml Jukka attached in his previous mail)

 Michaël

 Hi,

  

 Parameters:

 Source: Uusi

 Unit: Map Unit

 Distance: 100

 Offset; 0

 Repeat: Yes

 Create a point every: 100

 Add end point: Yes

 Use an attribute to identify paths: Yes

 Attribute: om

 Usen an attribute to order path sections: No

  

 When attribute to identify paths is selected the result is an error, 
 when it is not checked the result is an empty layer. If I select all (both) 
 lines and run linear referencing for the selection the result is OK.

  

 Windows 32-bit, OJ r3802-PLUS, jre 1.6.0_27 (Oracle).

  

 -Jukka-

  

  

 

 Lähettäjä: Michaël Michaud [michael.mich...@free.fr 
 mailto:michael.mich...@free.fr]

 Lähetetty: 11. marraskuuta 2013 0:59

 Vastaanottaja: jump-pilot-devel@lists.sourceforge.net 
 mailto:jump-pilot-devel@lists.sourceforge.net

 Aihe: Re: [JPP-Devel] New linear referencing tools

  

 Hi Jukka,

  

 Can you give me a reproducible test case, as I can't reproduce the

 error.

 Ideally, the jml file you use as input and the set of parameters,

 Thanks for the help,

  

 Michaël

  

 Hi,

  

 Michaël seems to work on new linear referencing tools. With good 
 tooltips those feel rather self-explaining and I could create points for a 
 selection. However, working on a whole layer does create points for me, just 
 a new, empty layer.  I thought it might be because I had only one feature on 
 the layer and I digitized a few more. In addition I made an attribute om 
 (String) for grouping the features and this time I managed to get an error:

  

 java.lang.IllegalArgumentException: Unknown attribute name: om

   at 
 com.vividsolutions.jump.feature.FeatureSchema.getAttributeIndex(FeatureSchema.java:97)

   at 
 com.vividsolutions.jump.feature.AbstractBasicFeature.getAttribute(AbstractBasicFeature.java:103)

   at 
 org.openjump.core.ui.plugin.tools.generate.LinearReferencingOnLayerPlugIn.prepareGeometries(LinearReferencingOnLayerPlugIn.java:137)

   at 
 org.openjump.core.ui.plugin.tools.generate.LinearReferencingOnLayerPlugIn.run(LinearReferencingOnLayerPlugIn.java:115)

   at 
 com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:152)

   at java.lang.Thread.run(Unknown Source)

  

 -Jukka Rahkonen-

 
 --

 November Webinars for C, C++, Fortran Developers

 Accelerate application performance with scalable programming models. 
 Explore

 techniques for threading, error checking, porting, and tuning. Get 
 the most

 from the latest Intel processors and coprocessors. See abstracts and 
 register

 
 http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk

 ___

 Jump-pilot-devel mailing list

 Jump-pilot-devel@lists.sourceforge.net 
 mailto:Jump-pilot-devel@lists.sourceforge.net

 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

  

  

  

  

 
 --

 November Webinars for C, C++, Fortran Developers

 Accelerate application performance with scalable programming models. 
 Explore

 techniques for threading, error checking, porting, and tuning. Get the 
 most

 from the latest Intel processors and coprocessors. See abstracts and 
 register

 
 http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk

 ___

 Jump-pilot-devel mailing list

 Jump-pilot-devel@lists.sourceforge.net 
 mailto:Jump-pilot-devel@lists.sourceforge.net

 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel




 
 

Re: [JPP-Devel] OJ r3803 and Class not found expeption due to SaveToPostGIS2

2013-11-11 Thread Michaël Michaud
Hi,

Sorry, renamed this plugin in default-plugins to avoid conflicts
with the former one, and forgot to commit the renamed class.
Should be fixed in 3804,

Ede, good that missing plugins does not make the whole starting
process fail ;-)

Michaël
 Right, it starts.

 -Jukka-

 -Alkuperäinen viesti-
 Lähettäjä: edgar.sol...@web.de [mailto:edgar.sol...@web.de]
 Lähetetty: 11. marraskuuta 2013 14:16
 Vastaanottaja: OpenJump develop and use
 Aihe: Re: [JPP-Devel] OJ r3803 and Class not found expeption due to
 SaveToPostGIS2

 but OJ starts through, right? ..ede

 On 11.11.2013 13:12, Rahkonen Jukka wrote:
 Hi,

 With r3803-PLUS on Windows 7 (64 bit), with 32 bit jre 1.7.0_25 I am
 getting this

 java.lang.ClassNotFoundException:
 org.openjump.core.ui.plugin.datastore.postgis2.SaveToPostGIS2PlugIn
 at java.net.URLClassLoader$1.run(Unknown Source)
 at java.net.URLClassLoader$1.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at sun.misc.Launcher$AppClassLoader.loadClass(Unknown
 Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Unknown Source)
 at
 com.vividsolutions.jump.workbench.plugin.PlugInManager.loadPlugIns(PlugInM
 anager.java:170)
 at
 com.vividsolutions.jump.workbench.plugin.PlugInManager.load(PlugInManager.
 java:107)
 at
 com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.ja
 va:426)
 at

 com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.ja
 v
 a:361)

 -Jukka Rahkonen-

 --
 November Webinars for C, C++, Fortran Developers Accelerate application
 performance with scalable programming models. Explore techniques for
 threading, error checking, porting, and tuning. Get the most from the latest 
 Intel
 processors and coprocessors. See abstracts and register
 http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 --
 November Webinars for C, C++, Fortran Developers
 Accelerate application performance with scalable programming models. Explore
 techniques for threading, error checking, porting, and tuning. Get the most
 from the latest Intel processors and coprocessors. See abstracts and register
 http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel




--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] New linear referencing tools

2013-11-11 Thread Rahkonen Jukka
I found also 32 bit jre 1.6.0_33 from this Win 7 64 bit machine and linear 
referencing for the whole layer is OK.  I will try find more compureters to 
test with. The one which had troubles is Vista 32 bit.

-Jukka-

Michaël Michaud

Thanks for this second test,

My config is vista 64 bit + 32 bits jre 1.6.0_45
So it would be a windows 64 bits vs windows 32 bits problem...
Will do more tests with a 32 bits computer.

Michaël
Hi,

Works for me on another computer (Win 7 64-bit, 32-bit jre 1.7.0_25 (Oracle).

-Jukka-



Michaël Michaud wrote:

Hi,

Very strange, I can't reproduce the problem, even with a configuration
which is almost the same as yours...
Would be pleased to have more results from testers (with same parameters
and the jml Jukka attached in his previous mail)

Michaël

Hi,



Parameters:

Source: Uusi

Unit: Map Unit

Distance: 100

Offset; 0

Repeat: Yes

Create a point every: 100

Add end point: Yes

Use an attribute to identify paths: Yes

Attribute: om

Usen an attribute to order path sections: No



When attribute to identify paths is selected the result is an error, when it is 
not checked the result is an empty layer. If I select all (both) lines and run 
linear referencing for the selection the result is OK.



Windows 32-bit, OJ r3802-PLUS, jre 1.6.0_27 (Oracle).



-Jukka-







Lähettäjä: Michaël Michaud 
[michael.mich...@free.frmailto:michael.mich...@free.fr]

Lähetetty: 11. marraskuuta 2013 0:59

Vastaanottaja: 
jump-pilot-devel@lists.sourceforge.netmailto:jump-pilot-devel@lists.sourceforge.net

Aihe: Re: [JPP-Devel] New linear referencing tools



Hi Jukka,



Can you give me a reproducible test case, as I can't reproduce the

error.

Ideally, the jml file you use as input and the set of parameters,

Thanks for the help,



Michaël



Hi,



Michaël seems to work on new linear referencing tools. With good tooltips those 
feel rather self-explaining and I could create points for a selection. However, 
working on a whole layer does create points for me, just a new, empty layer.  I 
thought it might be because I had only one feature on the layer and I digitized 
a few more. In addition I made an attribute om (String) for grouping the 
features and this time I managed to get an error:



java.lang.IllegalArgumentException: Unknown attribute name: om

  at 
com.vividsolutions.jump.feature.FeatureSchema.getAttributeIndex(FeatureSchema.java:97)

  at 
com.vividsolutions.jump.feature.AbstractBasicFeature.getAttribute(AbstractBasicFeature.java:103)

  at 
org.openjump.core.ui.plugin.tools.generate.LinearReferencingOnLayerPlugIn.prepareGeometries(LinearReferencingOnLayerPlugIn.java:137)

  at 
org.openjump.core.ui.plugin.tools.generate.LinearReferencingOnLayerPlugIn.run(LinearReferencingOnLayerPlugIn.java:115)

  at 
com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:152)

  at java.lang.Thread.run(Unknown Source)



-Jukka Rahkonen-

--

November Webinars for C, C++, Fortran Developers

Accelerate application performance with scalable programming models. Explore

techniques for threading, error checking, porting, and tuning. Get the most

from the latest Intel processors and coprocessors. See abstracts and register

http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk

___

Jump-pilot-devel mailing list

Jump-pilot-devel@lists.sourceforge.netmailto:Jump-pilot-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel









--

November Webinars for C, C++, Fortran Developers

Accelerate application performance with scalable programming models. Explore

techniques for threading, error checking, porting, and tuning. Get the most

from the latest Intel processors and coprocessors. See abstracts and register

http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk

___

Jump-pilot-devel mailing list

Jump-pilot-devel@lists.sourceforge.netmailto:Jump-pilot-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel





--

November Webinars for C, C++, Fortran Developers

Accelerate application performance with scalable programming models. Explore

techniques for threading, error checking, porting, and tuning. Get the most

from the latest Intel processors and coprocessors. See abstracts and register

http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk





___

Jump-pilot-devel mailing list

Jump-pilot-devel@lists.sourceforge.netmailto:Jump-pilot-devel@lists.sourceforge.net


Re: [JPP-Devel] New linear referencing tools

2013-11-11 Thread edgar . soldin
you can make it easy by simply trying the latest jre on the offending machine. 
is that possible?

..ede

On 11.11.2013 13:36, Rahkonen Jukka wrote:
 I found also 32 bit jre 1.6.0_33 from this Win 7 64 bit machine and linear 
 referencing for the whole layer is OK.  I will try find more compureters to 
 test with. The one which had troubles is Vista 32 bit.
 
  
 
 -Jukka-
 
  
 
 Michaël Michaud
 
  
 
 Thanks for this second test,
 
 My config is vista 64 bit + 32 bits jre 1.6.0_45
 So it would be a windows 64 bits vs windows 32 bits problem...
 Will do more tests with a 32 bits computer.
 
 Michaël
 
 Hi,
 
  
 
 Works for me on another computer (Win 7 64-bit, 32-bit jre 1.7.0_25 
 (Oracle).
 
  
 
 -Jukka-
 
  
 
  
 
  
 
 Michaël Michaud wrote:
 
  
 
 Hi,
 
 Very strange, I can't reproduce the problem, even with a configuration
 which is almost the same as yours...
 Would be pleased to have more results from testers (with same parameters
 and the jml Jukka attached in his previous mail)
 
 Michaël
 
 Hi,
 
  
 
 Parameters:
 
 Source: Uusi
 
 Unit: Map Unit
 
 Distance: 100
 
 Offset; 0
 
 Repeat: Yes
 
 Create a point every: 100
 
 Add end point: Yes
 
 Use an attribute to identify paths: Yes
 
 Attribute: om
 
 Usen an attribute to order path sections: No
 
  
 
 When attribute to identify paths is selected the result is an error, 
 when it is not checked the result is an empty layer. If I select all (both) 
 lines and run linear referencing for the selection the result is OK.
 
  
 
 Windows 32-bit, OJ r3802-PLUS, jre 1.6.0_27 (Oracle).
 
  
 
 -Jukka-
 
  
 
  
 
 
 
 Lähettäjä: Michaël Michaud [michael.mich...@free.fr 
 mailto:michael.mich...@free.fr]
 
 Lähetetty: 11. marraskuuta 2013 0:59
 
 Vastaanottaja: jump-pilot-devel@lists.sourceforge.net 
 mailto:jump-pilot-devel@lists.sourceforge.net
 
 Aihe: Re: [JPP-Devel] New linear referencing tools
 
  
 
 Hi Jukka,
 
  
 
 Can you give me a reproducible test case, as I can't reproduce the
 
 error.
 
 Ideally, the jml file you use as input and the set of parameters,
 
 Thanks for the help,
 
  
 
 Michaël
 
  
 
 Hi,
 
  
 
 Michaël seems to work on new linear referencing tools. With good 
 tooltips those feel rather self-explaining and I could create points for a 
 selection. However, working on a whole layer does create points for me, just 
 a new, empty layer.  I thought it might be because I had only one feature on 
 the layer and I digitized a few more. In addition I made an attribute om 
 (String) for grouping the features and this time I managed to get an error:
 
  
 
 java.lang.IllegalArgumentException: Unknown attribute name: om
 
   at 
 com.vividsolutions.jump.feature.FeatureSchema.getAttributeIndex(FeatureSchema.java:97)
 
   at 
 com.vividsolutions.jump.feature.AbstractBasicFeature.getAttribute(AbstractBasicFeature.java:103)
 
   at 
 org.openjump.core.ui.plugin.tools.generate.LinearReferencingOnLayerPlugIn.prepareGeometries(LinearReferencingOnLayerPlugIn.java:137)
 
   at 
 org.openjump.core.ui.plugin.tools.generate.LinearReferencingOnLayerPlugIn.run(LinearReferencingOnLayerPlugIn.java:115)
 
   at 
 com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:152)
 
   at java.lang.Thread.run(Unknown Source)
 
  
 
 -Jukka Rahkonen-
 
 
 --
 
 November Webinars for C, C++, Fortran Developers
 
 Accelerate application performance with scalable programming 
 models. Explore
 
 techniques for threading, error checking, porting, and tuning. 
 Get the most
 
 from the latest Intel processors and coprocessors. See abstracts 
 and register
 
 
 http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
 
 ___
 
 Jump-pilot-devel mailing list
 
 Jump-pilot-devel@lists.sourceforge.net 
 mailto:Jump-pilot-devel@lists.sourceforge.net
 
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 
  
 
  
 
  
 
  
 
 
 --
 
 November Webinars for C, C++, Fortran Developers
 
 Accelerate application performance with scalable programming models. 
 

Re: [JPP-Devel] New linear referencing tools

2013-11-11 Thread Rahkonen Jukka
Hi,

The computer is 7 km away from me at the moment, but it is my own and I can 
install a new jre in the evening. I will do that.

-Jukka-

edgar soldin wrote:
 
 you can make it easy by simply trying the latest jre on the offending 
 machine. is
 that possible?
 
 ..ede
 
 On 11.11.2013 13:36, Rahkonen Jukka wrote:
  I found also 32 bit jre 1.6.0_33 from this Win 7 64 bit machine and linear
 referencing for the whole layer is OK.  I will try find more compureters to 
 test
 with. The one which had troubles is Vista 32 bit.
 
 
 
  -Jukka-
 
 
 
  Michaël Michaud
 
 
 
  Thanks for this second test,
 
  My config is vista 64 bit + 32 bits jre 1.6.0_45 So it would be a
  windows 64 bits vs windows 32 bits problem...
  Will do more tests with a 32 bits computer.
 
  Michaël
 
  Hi,
 
 
 
  Works for me on another computer (Win 7 64-bit, 32-bit jre 1.7.0_25
 (Oracle).
 
 
 
  -Jukka-
 
 
 
 
 
 
 
  Michaël Michaud wrote:
 
 
 
  Hi,
 
  Very strange, I can't reproduce the problem, even with a configuration
  which is almost the same as yours...
  Would be pleased to have more results from testers (with same parameters
  and the jml Jukka attached in his previous mail)
 
  Michaël
 
  Hi,
 
 
 
  Parameters:
 
  Source: Uusi
 
  Unit: Map Unit
 
  Distance: 100
 
  Offset; 0
 
  Repeat: Yes
 
  Create a point every: 100
 
  Add end point: Yes
 
  Use an attribute to identify paths: Yes
 
  Attribute: om
 
  Usen an attribute to order path sections: No
 
 
 
  When attribute to identify paths is selected the result is an 
  error, when it is
 not checked the result is an empty layer. If I select all (both) lines and 
 run linear
 referencing for the selection the result is OK.
 
 
 
  Windows 32-bit, OJ r3802-PLUS, jre 1.6.0_27 (Oracle).
 
 
 
  -Jukka-
 
 
 
 
 
  
 
  Lähettäjä: Michaël Michaud [michael.mich...@free.fr
  mailto:michael.mich...@free.fr]
 
  Lähetetty: 11. marraskuuta 2013 0:59
 
  Vastaanottaja: jump-pilot-devel@lists.sourceforge.net
  mailto:jump-pilot-devel@lists.sourceforge.net
 
  Aihe: Re: [JPP-Devel] New linear referencing tools
 
 
 
  Hi Jukka,
 
 
 
  Can you give me a reproducible test case, as I can't reproduce
  the
 
  error.
 
  Ideally, the jml file you use as input and the set of
  parameters,
 
  Thanks for the help,
 
 
 
  Michaël
 
 
 
  Hi,
 
 
 
  Michaël seems to work on new linear referencing tools. With good
 tooltips those feel rather self-explaining and I could create points for a
 selection. However, working on a whole layer does create points for me, just a
 new, empty layer.  I thought it might be because I had only one feature on the
 layer and I digitized a few more. In addition I made an attribute om 
 (String) for
 grouping the features and this time I managed to get an error:
 
 
 
  java.lang.IllegalArgumentException: Unknown attribute
  name: om
 
at
  com.vividsolutions.jump.feature.FeatureSchema.getAttributeIndex(Featur
  eSchema.java:97)
 
at
  com.vividsolutions.jump.feature.AbstractBasicFeature.getAttribute(Abst
  ractBasicFeature.java:103)
 
at
  org.openjump.core.ui.plugin.tools.generate.LinearReferencingOnLayerPlu
  gIn.prepareGeometries(LinearReferencingOnLayerPlugIn.java:137)
 
at
  org.openjump.core.ui.plugin.tools.generate.LinearReferencingOnLayerPlu
  gIn.run(LinearReferencingOnLayerPlugIn.java:115)
 
at
  com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapp
  er.run(TaskMonitorManager.java:152)
 
at java.lang.Thread.run(Unknown Source)
 
 
 
  -Jukka Rahkonen-
 
 
  --
  
 
  November Webinars for C, C++, Fortran Developers
 
  Accelerate application performance with scalable
  programming models. Explore
 
  techniques for threading, error checking, porting, and
  tuning. Get the most
 
  from the latest Intel processors and coprocessors. See
  abstracts and register
 
 
  http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.c
  lktrk
 
  ___
 
  Jump-pilot-devel mailing list
 
  Jump-pilot-devel@lists.sourceforge.net
  mailto:Jump-pilot-devel@lists.sourceforge.net
 
 
  https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 
 
 
 
 
 
 
 
 
 
  --
  
 
  November Webinars for C, C++, Fortran Developers
 
  Accelerate application performance with scalable 

Re: [JPP-Devel] OJ r3803 and Class not found expeption due to SaveToPostGIS2

2013-11-11 Thread Stefan Steiniger
yep. Thanks for the work!

Am 11.11.13 09:32, schrieb Michaël Michaud:

 Ede, good that missing plugins does not make the whole starting
 process fail ;-)

yep. Thanks for the work Ede!



 Michaël
 Right, it starts.


--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] multiple jdks WAS:Re: New linear referencing tools

2013-11-11 Thread edgar . soldin
actually, one does not have to install jre's, or just only once. here is what i 
do for jdk's

1. i install jdk x32/x86 to a computer
2. then i copy the c:\program files (x86)\java\jdk-x.x folder to my archive 
as jdk-version-x86,64
3. at some point i deinstall the jdk's again

the jdk folder is completely self contained and can be used on any windows 
machine by pointing at the binaries in the bin folder. this way i keep a 
collection of jdk's handy to doublecheck differences between them.

the same goes for the jre. only that it is installed to c:\program 
files\java\jresomething. take care to name it properly during the install 
process for easier finding.

just a hint. ..ede


On 11.11.2013 13:49, Rahkonen Jukka wrote:
 Hi,
 
 The computer is 7 km away from me at the moment, but it is my own and I can 
 install a new jre in the evening. I will do that.
 
 -Jukka-
 
 edgar soldin wrote:

 you can make it easy by simply trying the latest jre on the offending 
 machine. is
 that possible?

 ..ede

 On 11.11.2013 13:36, Rahkonen Jukka wrote:
 I found also 32 bit jre 1.6.0_33 from this Win 7 64 bit machine and linear
 referencing for the whole layer is OK.  I will try find more compureters to 
 test
 with. The one which had troubles is Vista 32 bit.



 -Jukka-



 Michaël Michaud



 Thanks for this second test,

 My config is vista 64 bit + 32 bits jre 1.6.0_45 So it would be a
 windows 64 bits vs windows 32 bits problem...
 Will do more tests with a 32 bits computer.

 Michaël

 Hi,



 Works for me on another computer (Win 7 64-bit, 32-bit jre 1.7.0_25
 (Oracle).



 -Jukka-







 Michaël Michaud wrote:



 Hi,

 Very strange, I can't reproduce the problem, even with a configuration
 which is almost the same as yours...
 Would be pleased to have more results from testers (with same parameters
 and the jml Jukka attached in his previous mail)

 Michaël

 Hi,



 Parameters:

 Source: Uusi

 Unit: Map Unit

 Distance: 100

 Offset; 0

 Repeat: Yes

 Create a point every: 100

 Add end point: Yes

 Use an attribute to identify paths: Yes

 Attribute: om

 Usen an attribute to order path sections: No



 When attribute to identify paths is selected the result is an 
 error, when it is
 not checked the result is an empty layer. If I select all (both) lines and 
 run linear
 referencing for the selection the result is OK.



 Windows 32-bit, OJ r3802-PLUS, jre 1.6.0_27 (Oracle).



 -Jukka-





 

 Lähettäjä: Michaël Michaud [michael.mich...@free.fr
 mailto:michael.mich...@free.fr]

 Lähetetty: 11. marraskuuta 2013 0:59

 Vastaanottaja: jump-pilot-devel@lists.sourceforge.net
 mailto:jump-pilot-devel@lists.sourceforge.net

 Aihe: Re: [JPP-Devel] New linear referencing tools



 Hi Jukka,



 Can you give me a reproducible test case, as I can't reproduce
 the

 error.

 Ideally, the jml file you use as input and the set of
 parameters,

 Thanks for the help,



 Michaël



 Hi,



 Michaël seems to work on new linear referencing tools. With good
 tooltips those feel rather self-explaining and I could create points for a
 selection. However, working on a whole layer does create points for me, just 
 a
 new, empty layer.  I thought it might be because I had only one feature on 
 the
 layer and I digitized a few more. In addition I made an attribute om 
 (String) for
 grouping the features and this time I managed to get an error:



 java.lang.IllegalArgumentException: Unknown attribute
 name: om

   at
 com.vividsolutions.jump.feature.FeatureSchema.getAttributeIndex(Featur
 eSchema.java:97)

   at
 com.vividsolutions.jump.feature.AbstractBasicFeature.getAttribute(Abst
 ractBasicFeature.java:103)

   at
 org.openjump.core.ui.plugin.tools.generate.LinearReferencingOnLayerPlu
 gIn.prepareGeometries(LinearReferencingOnLayerPlugIn.java:137)

   at
 org.openjump.core.ui.plugin.tools.generate.LinearReferencingOnLayerPlu
 gIn.run(LinearReferencingOnLayerPlugIn.java:115)

   at
 com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapp
 er.run(TaskMonitorManager.java:152)

   at java.lang.Thread.run(Unknown Source)



 -Jukka Rahkonen-


 --
 

 November Webinars for C, C++, Fortran Developers

 Accelerate application performance with scalable
 programming models. Explore

 techniques for threading, error checking, porting, and
 tuning. Get the most

 from the latest Intel processors and coprocessors. See
 abstracts and register


 

Re: [JPP-Devel] SkyJUMP print code - need tester for detecting printers problem

2013-11-11 Thread Larry Becker
I'm good with changing the package to org.openjump.core.ui or whatever.

I'm interested in trying it out soon!

Larrry


On Sun, Nov 10, 2013 at 1:15 PM, Michaël Michaud michael.mich...@free.frwrote:

  Hi,


 a small question, befor i start working. Should i change the package name
 from com.isa.jump.plugin to org.openjump.core.ui.plugin.file for example?

 I would say yes, rename the package and keep Larry as the original author
 in javadoc.
 (I make a copy to Larry so that he can respond and give his opinion),

 Michaël


 Matthias

  Hi,

 Michaël do you use my latest SVN Version 3621(23.07.2013) from
 plug-ins/SkyPrinterPlugIn for the skyprinter_0_1_1.zip build? In my latest
 version are some enhancements, such as scale print.

 I saw you committed but haven't used it so far.
 I'll use it more after it is included in CORE ;-)

 (maybe we'll have to take the fine print icon for skyjumper and create
 another one for cadplan's printer)

 Michaël

 Matthias

  Hi Peppe,

 For any reason, it seems that skyprinter and itext.jar
 have now to be dropped in lib directory, not in ext.

 And about a former remark, I just checked that width/height
 are in mm (skyjump 0.1.1)

 Michaël

  @Ede

 http://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/Printing%20Plugins/SkyPrinter%20Plugin/


 2013/11/10 edgar.sol...@web.de

 On 10.11.2013 15:02, Giuseppe Aruta wrote:
  Printer plugin doesn't load with latest OJ NB (3793). But it loads fine
 with OJ vesions previous Ede's modification on DefaultPlugIn.xml load
 system.

  how is it installed? is there a distribution or source repository?

 ..ede


 --
 November Webinars for C, C++, Fortran Developers
 Accelerate application performance with scalable programming models.
 Explore
 techniques for threading, error checking, porting, and tuning. Get the
 most
 from the latest Intel processors and coprocessors. See abstracts and
 register

 http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
  ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel




 --
 November Webinars for C, C++, Fortran Developers
 Accelerate application performance with scalable programming models. Explore
 techniques for threading, error checking, porting, and tuning. Get the most
 from the latest Intel processors and coprocessors. See abstracts and 
 registerhttp://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk



 ___
 Jump-pilot-devel mailing 
 listJump-pilot-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/jump-pilot-devel




 --
 November Webinars for C, C++, Fortran Developers
 Accelerate application performance with scalable programming models. Explore
 techniques for threading, error checking, porting, and tuning. Get the most
 from the latest Intel processors and coprocessors. See abstracts and 
 registerhttp://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk



 ___
 Jump-pilot-devel mailing 
 listJump-pilot-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


 --

  _ __ ___ _ ___ __ _

   Technologieconsulting
   Matthias Scholz
   Siebigeröder Str 17a
   06308 Klostermansfeld

   T +49 34772 34150
   E m...@jammerhund.de
   W www.openjump.de
 _ __ ___ _ ___ __ _



 --
 November Webinars for C, C++, Fortran Developers
 Accelerate application performance with scalable programming models. Explore
 techniques for threading, error checking, porting, and tuning. Get the most
 from the latest Intel processors and coprocessors. See abstracts and 
 registerhttp://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk



 ___
 Jump-pilot-devel mailing 
 listJump-pilot-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/jump-pilot-devel




 --
 November Webinars for C, C++, Fortran Developers
 Accelerate application performance with scalable programming models. Explore
 techniques for threading, error checking, porting, and tuning. Get the most
 from the latest Intel processors and coprocessors. See abstracts and 
 registerhttp://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk



 ___
 Jump-pilot-devel mailing 
 

Re: [JPP-Devel] SkyJUMP print code - need tester for detecting printers problem

2013-11-11 Thread Matthias Scholz

Hi,
 Hi,
 a small question, befor i start working. Should i change the package
 name from com.isa.jump.plugin to org.openjump.core.ui.plugin.file for
 example?
 I would say yes, rename the package and keep Larry as the original author 
 in javadoc.
 (I make a copy to Larry so that he can respond and give his opinion),

 not necessarily! we've got several packages in core so having another one 
 wouldn't make a big difference. also, keeping the package name would make it 
 much more transparent where the plugin stems from.
 Of course, this is also an option.
 I find it more difficult to maintain code when classes are sorted after
 their author
 than when they are sorted after their function though.
That's  just my opinion.

 But I'm also fine with keeping code in its own jar with its original
 package name
 and including it in CORE distribution.
One simple reason for an integration into the core, is the much simpler 
development, debugging, packaging, deployment. At the Moment the 
plug-ins/SkyPrinterPlugIn repository only a storage for code! No 
(ant/maven) project, that allows everyone to easy build and deploy. On 
the other hand should core code reside in the core repository. Or we 
must discuss the modularisation of OJ in general. A nice task for the 
future ;-)
 Matthias, are you OK with this solution ?
I'm not really happy with it. But we are a community project and we can 
only work together.

Matthias

 Michaël
 btw. there is actually no reason to commit it to CORE! it pretty much can 
 stay an independent extension with a private svn path but be added as a jar 
 to lib/ext.

 ..ede

 --
 November Webinars for C, C++, Fortran Developers
 Accelerate application performance with scalable programming models. Explore
 techniques for threading, error checking, porting, and tuning. Get the most
 from the latest Intel processors and coprocessors. See abstracts and register
 http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel



 --
 November Webinars for C, C++, Fortran Developers
 Accelerate application performance with scalable programming models. Explore
 techniques for threading, error checking, porting, and tuning. Get the most
 from the latest Intel processors and coprocessors. See abstracts and register
 http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

-- 

  _ __ ___ _ ___ __ _
  
   Technologieconsulting
   Matthias Scholz
   Siebigeröder Str 17a
   06308 Klostermansfeld

   T +49 34772 34150
   E m...@jammerhund.de
   W www.openjump.de
_ __ ___ _ ___ __ _


--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] SkyJUMP print code - need tester for detecting printers problem

2013-11-11 Thread Matthias Scholz

Hi Larry,

thanks for your approval and your code! But now I'm more confused about 
our way with the code...


Matthias

I'm good with changing the package to org.openjump.core.ui or whatever.

I'm interested in trying it out soon!

Larrry


On Sun, Nov 10, 2013 at 1:15 PM, Michaël Michaud 
michael.mich...@free.fr mailto:michael.mich...@free.fr wrote:


Hi,


a small question, befor i start working. Should i change the
package name from com.isa.jump.plugin to
org.openjump.core.ui.plugin.file for example?

I would say yes, rename the package and keep Larry as the original
author in javadoc.
(I make a copy to Larry so that he can respond and give his opinion),

Michaël



Matthias


Hi,

Michaël do you use my latest SVN Version 3621(23.07.2013) from
plug-ins/SkyPrinterPlugIn for the skyprinter_0_1_1.zip build?
In my latest version are some enhancements, such as scale print.

I saw you committed but haven't used it so far.
I'll use it more after it is included in CORE ;-)

(maybe we'll have to take the fine print icon for skyjumper and
create another one for cadplan's printer)

Michaël

Matthias

Hi Peppe,

For any reason, it seems that skyprinter and itext.jar
have now to be dropped in lib directory, not in ext.

And about a former remark, I just checked that width/height
are in mm (skyjump 0.1.1)

Michaël


@Ede

http://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/Printing%20Plugins/SkyPrinter%20Plugin/


2013/11/10 edgar.sol...@web.de mailto:edgar.sol...@web.de

On 10.11.2013 15:02, Giuseppe Aruta wrote:
 Printer plugin doesn't load with latest OJ NB (3793).
But it loads fine with OJ vesions previous Ede's
modification on DefaultPlugIn.xml load system.

how is it installed? is there a distribution or source
repository?

..ede


--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable
programming models. Explore
techniques for threading, error checking, porting, and
tuning. Get the most
from the latest Intel processors and coprocessors. See
abstracts and register

http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
mailto:Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel





--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and 
register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk


___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net  
mailto:Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel





--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and 
register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk


___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net  
mailto:Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


-- 


  _ __ ___ _ ___ __ _
  
   Technologieconsulting

   Matthias Scholz
   Siebigeröder Str 17a
   06308 Klostermansfeld

   T+49 34772 34150  tel:%2B49%2034772%2034150
   e...@jammerhund.de  mailto:m...@jammerhund.de
   Wwww.openjump.de  http://www.openjump.de
_ __ ___ _ ___ __ _



--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and 
register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk



Re: [JPP-Devel] SkyJUMP print code - need tester for detecting printers problem

2013-11-11 Thread edgar . soldin
On 11.11.2013 18:40, Matthias Scholz wrote:
 
 Hi,
 Hi,
 a small question, befor i start working. Should i change the package
 name from com.isa.jump.plugin to org.openjump.core.ui.plugin.file for
 example?
 I would say yes, rename the package and keep Larry as the original author 
 in javadoc.
 (I make a copy to Larry so that he can respond and give his opinion),

 not necessarily! we've got several packages in core so having another one 
 wouldn't make a big difference. also, keeping the package name would make 
 it much more transparent where the plugin stems from.
 Of course, this is also an option.
 I find it more difficult to maintain code when classes are sorted after
 their author
 than when they are sorted after their function though.
 That's  just my opinion.

i'm fine with either way.


 But I'm also fine with keeping code in its own jar with its original
 package name
 and including it in CORE distribution.
 One simple reason for an integration into the core, is the much simpler 
 development, debugging, packaging, deployment. At the Moment the 
 plug-ins/SkyPrinterPlugIn repository only a storage for code! No 
 (ant/maven) project, that allows everyone to easy build and deploy. On 
 the other hand should core code reside in the core repository. Or we 
 must discuss the modularisation of OJ in general. A nice task for the 
 future ;-)
 Matthias, are you OK with this solution ?
 I'm not really happy with it. But we are a community project and we can 
 only work together.

ok. so you'd prefer renaming and integrating into core repository then?

my main worry is crating a another fork of a maintained extension where our 
extension will not profit from the external development! if Larry agrees to 
maintain the extension in our svn from then on this objection of course would 
become unfounded.

Larry: what are your plans? would you maybe like Matthias to contribute to your 
svn or rather see the code over at us in OJ's svn? there is no reason that 
Matthias cannot pimp your svn into a full blown maven/ant build.

just feel we should use as much synergy as possible in cases like these! ..ede

--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] multiple jdks WAS:Re: New linear referencing tools

2013-11-11 Thread edgar . soldin
just curious.. any reason not to update to recent java7 or at least latest 
1.6u45 ?

..ede

On 11.11.2013 23:14, Rahkonen Jukka wrote:
 Hi,
 
 It was due to the jre version and everything works fine with my 32 bit Vista 
 with jre 1.6.0_33.
 
 -Jukka-
 
 
 
 edgar soldin wrote:
 
 actually, one does not have to install jre's, or just only once. here is 
 what i do for jdk's
 
 1. i install jdk x32/x86 to a computer
 2. then i copy the c:\program files (x86)\java\jdk-x.x folder to my 
 archive as jdk-version-x86,64
 3. at some point i deinstall the jdk's again
 
 the jdk folder is completely self contained and can be used on any windows 
 machine by pointing at the binaries in the bin folder. this way i keep a 
 collection of jdk's handy to doublecheck differences between them.
 
 the same goes for the jre. only that it is installed to c:\program 
 files\java\jresomething. take care to name it properly during the install 
 process for easier finding.
 
 just a hint. ..ede
 
 
 On 11.11.2013 13:49, Rahkonen Jukka wrote:
 Hi,

 The computer is 7 km away from me at the moment, but it is my own and I can 
 install a new jre in the evening. I will do that.

 -Jukka-

 edgar soldin wrote:

 you can make it easy by simply trying the latest jre on the offending 
 machine. is
 that possible?

 ..ede

 On 11.11.2013 13:36, Rahkonen Jukka wrote:
 I found also 32 bit jre 1.6.0_33 from this Win 7 64 bit machine and linear
 referencing for the whole layer is OK.  I will try find more compureters to 
 test
 with. The one which had troubles is Vista 32 bit.



 -Jukka-



 Michaël Michaud



 Thanks for this second test,

 My config is vista 64 bit + 32 bits jre 1.6.0_45 So it would be a
 windows 64 bits vs windows 32 bits problem...
 Will do more tests with a 32 bits computer.

 Michaël

 Hi,



 Works for me on another computer (Win 7 64-bit, 32-bit jre 1.7.0_25
 (Oracle).



 -Jukka-







 Michaël Michaud wrote:



 Hi,

 Very strange, I can't reproduce the problem, even with a configuration
 which is almost the same as yours...
 Would be pleased to have more results from testers (with same 
 parameters
 and the jml Jukka attached in his previous mail)

 Michaël

 Hi,



 Parameters:

 Source: Uusi

 Unit: Map Unit

 Distance: 100

 Offset; 0

 Repeat: Yes

 Create a point every: 100

 Add end point: Yes

 Use an attribute to identify paths: Yes

 Attribute: om

 Usen an attribute to order path sections: No



 When attribute to identify paths is selected the result is an 
 error, when it is
 not checked the result is an empty layer. If I select all (both) lines and 
 run linear
 referencing for the selection the result is OK.



 Windows 32-bit, OJ r3802-PLUS, jre 1.6.0_27 (Oracle).



 -Jukka-





 

 Lähettäjä: Michaël Michaud [michael.mich...@free.fr
 mailto:michael.mich...@free.fr]

 Lähetetty: 11. marraskuuta 2013 0:59

 Vastaanottaja: jump-pilot-devel@lists.sourceforge.net
 mailto:jump-pilot-devel@lists.sourceforge.net

 Aihe: Re: [JPP-Devel] New linear referencing tools



 Hi Jukka,



 Can you give me a reproducible test case, as I can't reproduce
 the

 error.

 Ideally, the jml file you use as input and the set of
 parameters,

 Thanks for the help,



 Michaël



 Hi,



 Michaël seems to work on new linear referencing tools. With 
 good
 tooltips those feel rather self-explaining and I could create points for a
 selection. However, working on a whole layer does create points for me, 
 just a
 new, empty layer.  I thought it might be because I had only one feature on 
 the
 layer and I digitized a few more. In addition I made an attribute om 
 (String) for
 grouping the features and this time I managed to get an error:



 java.lang.IllegalArgumentException: Unknown attribute
 name: om

   at
 com.vividsolutions.jump.feature.FeatureSchema.getAttributeIndex(Featur
 eSchema.java:97)

   at
 com.vividsolutions.jump.feature.AbstractBasicFeature.getAttribute(Abst
 ractBasicFeature.java:103)

   at
 org.openjump.core.ui.plugin.tools.generate.LinearReferencingOnLayerPlu
 gIn.prepareGeometries(LinearReferencingOnLayerPlugIn.java:137)

   at
 org.openjump.core.ui.plugin.tools.generate.LinearReferencingOnLayerPlu
 gIn.run(LinearReferencingOnLayerPlugIn.java:115)

   at
 com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapp
 er.run(TaskMonitorManager.java:152)

   at java.lang.Thread.run(Unknown Source)



 -Jukka Rahkonen-


 --
 

 November 

Re: [JPP-Devel] SkyJUMP print code - need tester for detecting printers problem

2013-11-11 Thread Larry Becker
It isn't likely that there will be much further development of the print
code in SkyJUMP.  We kind of established a precedent early on that code
ported from SkyJUMP would be repackaged.  The two programs are not 100%
compatible, so the code has to be ported and back ported anyway.

Larry


On Mon, Nov 11, 2013 at 2:05 PM, edgar.sol...@web.de wrote:

 On 11.11.2013 18:40, Matthias Scholz wrote:
 
  Hi,
  Hi,
  a small question, befor i start working. Should i change the package
  name from com.isa.jump.plugin to org.openjump.core.ui.plugin.file for
  example?
  I would say yes, rename the package and keep Larry as the original
 author in javadoc.
  (I make a copy to Larry so that he can respond and give his opinion),
 
  not necessarily! we've got several packages in core so having another
 one wouldn't make a big difference. also, keeping the package name would
 make it much more transparent where the plugin stems from.
  Of course, this is also an option.
  I find it more difficult to maintain code when classes are sorted after
  their author
  than when they are sorted after their function though.
  That's  just my opinion.

 i'm fine with either way.

 
  But I'm also fine with keeping code in its own jar with its original
  package name
  and including it in CORE distribution.
  One simple reason for an integration into the core, is the much simpler
  development, debugging, packaging, deployment. At the Moment the
  plug-ins/SkyPrinterPlugIn repository only a storage for code! No
  (ant/maven) project, that allows everyone to easy build and deploy. On
  the other hand should core code reside in the core repository. Or we
  must discuss the modularisation of OJ in general. A nice task for the
  future ;-)
  Matthias, are you OK with this solution ?
  I'm not really happy with it. But we are a community project and we can
  only work together.

 ok. so you'd prefer renaming and integrating into core repository then?

 my main worry is crating a another fork of a maintained extension where
 our extension will not profit from the external development! if Larry
 agrees to maintain the extension in our svn from then on this objection of
 course would become unfounded.

 Larry: what are your plans? would you maybe like Matthias to contribute to
 your svn or rather see the code over at us in OJ's svn? there is no reason
 that Matthias cannot pimp your svn into a full blown maven/ant build.

 just feel we should use as much synergy as possible in cases like these!
 ..ede


 --
 November Webinars for C, C++, Fortran Developers
 Accelerate application performance with scalable programming models.
 Explore
 techniques for threading, error checking, porting, and tuning. Get the most
 from the latest Intel processors and coprocessors. See abstracts and
 register
 http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] SkyJUMP print code - need tester for detecting printers problem

2013-11-11 Thread edgar . soldin
there you Matze ;) .. ede

On 12.11.2013 00:07, Larry Becker wrote:
 It isn't likely that there will be much further development of the print code 
 in SkyJUMP.  We kind of established a precedent early on that code ported 
 from SkyJUMP would be repackaged.  The two programs are not 100% compatible, 
 so the code has to be ported and back ported anyway.
 
 Larry
 
 
 On Mon, Nov 11, 2013 at 2:05 PM, edgar.sol...@web.de 
 mailto:edgar.sol...@web.de wrote:
 
 On 11.11.2013 18:40, Matthias Scholz wrote:
 
  Hi,
  Hi,
  a small question, befor i start working. Should i change the package
  name from com.isa.jump.plugin to org.openjump.core.ui.plugin.file for
  example?
  I would say yes, rename the package and keep Larry as the original 
 author in javadoc.
  (I make a copy to Larry so that he can respond and give his opinion),
 
  not necessarily! we've got several packages in core so having another 
 one wouldn't make a big difference. also, keeping the package name would make 
 it much more transparent where the plugin stems from.
  Of course, this is also an option.
  I find it more difficult to maintain code when classes are sorted after
  their author
  than when they are sorted after their function though.
  That's  just my opinion.
 
 i'm fine with either way.
 
 
  But I'm also fine with keeping code in its own jar with its original
  package name
  and including it in CORE distribution.
  One simple reason for an integration into the core, is the much simpler
  development, debugging, packaging, deployment. At the Moment the
  plug-ins/SkyPrinterPlugIn repository only a storage for code! No
  (ant/maven) project, that allows everyone to easy build and deploy. On
  the other hand should core code reside in the core repository. Or we
  must discuss the modularisation of OJ in general. A nice task for the
  future ;-)
  Matthias, are you OK with this solution ?
  I'm not really happy with it. But we are a community project and we can
  only work together.
 
 ok. so you'd prefer renaming and integrating into core repository then?
 
 my main worry is crating a another fork of a maintained extension where 
 our extension will not profit from the external development! if Larry agrees 
 to maintain the extension in our svn from then on this objection of course 
 would become unfounded.
 
 Larry: what are your plans? would you maybe like Matthias to contribute 
 to your svn or rather see the code over at us in OJ's svn? there is no reason 
 that Matthias cannot pimp your svn into a full blown maven/ant build.
 
 just feel we should use as much synergy as possible in cases like these! 
 ..ede
 
 
 --
 November Webinars for C, C++, Fortran Developers
 Accelerate application performance with scalable programming models. 
 Explore
 techniques for threading, error checking, porting, and tuning. Get the 
 most
 from the latest Intel processors and coprocessors. See abstracts and 
 register
 
 http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net 
 mailto:Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 
 
 
 
 --
 November Webinars for C, C++, Fortran Developers
 Accelerate application performance with scalable programming models. Explore
 techniques for threading, error checking, porting, and tuning. Get the most 
 from the latest Intel processors and coprocessors. See abstracts and register
 http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
 
 
 
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 

--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] multiple jdks WAS:Re: New linear referencing tools

2013-11-11 Thread Rahkonen Jukka
Hi,

No intentional reason. I seem to have jdk 1.7.0, jre7 and jre6 in my Program 
files. Jre7 is up to date at 1.7.0_45 but OpenJUMP selects to use jre6 perhaps 
because it is referred in JAVA_HOME variable. The automatic Java updater leaves 
jre6 untouched and it does not seem to touch JAVA_HOME either. Version 1.6.0_33 
is on this computer because of a stand-alone installation of another program.

-Jukka-

edgar soldin wrote:

 just curious.. any reason not to update to recent java7 or at least latest 
 1.6u45 ?

 ..ede

 On 11.11.2013 23:14, Rahkonen Jukka wrote:
 Hi,

 It was due to the jre version and everything works fine with my 32 bit Vista 
 with jre 1.6.0_33.

 -Jukka-


 
 edgar soldin wrote:

 actually, one does not have to install jre's, or just only once. here is 
 what i do for jdk's

 1. i install jdk x32/x86 to a computer
 2. then i copy the c:\program files (x86)\java\jdk-x.x folder to my 
 archive as jdk-version-x86,64
 3. at some point i deinstall the jdk's again

 the jdk folder is completely self contained and can be used on any windows 
 machine by pointing at the binaries in the bin folder. this way i keep a 
 collection of jdk's handy to doublecheck differences between them.

 the same goes for the jre. only that it is installed to c:\program 
 files\java\jresomething. take care to name it properly during the install 
 process for easier finding.

 just a hint. ..ede


 On 11.11.2013 13:49, Rahkonen Jukka wrote:
 Hi,

 The computer is 7 km away from me at the moment, but it is my own and I can 
 install a new jre in the evening. I will do that.

 -Jukka-

 edgar soldin wrote:

 you can make it easy by simply trying the latest jre on the offending 
 machine. is
 that possible?

 ..ede

 On 11.11.2013 13:36, Rahkonen Jukka wrote:
 I found also 32 bit jre 1.6.0_33 from this Win 7 64 bit machine and linear
 referencing for the whole layer is OK.  I will try find more compureters to 
 test
 with. The one which had troubles is Vista 32 bit.



 -Jukka-



 Michaël Michaud



 Thanks for this second test,

 My config is vista 64 bit + 32 bits jre 1.6.0_45 So it would be a
 windows 64 bits vs windows 32 bits problem...
 Will do more tests with a 32 bits computer.

 Michaël

 Hi,



 Works for me on another computer (Win 7 64-bit, 32-bit jre 1.7.0_25
 (Oracle).



 -Jukka-







 Michaël Michaud wrote:



 Hi,

 Very strange, I can't reproduce the problem, even with a configuration
 which is almost the same as yours...
 Would be pleased to have more results from testers (with same 
 parameters
 and the jml Jukka attached in his previous mail)

 Michaël

 Hi,



 Parameters:

 Source: Uusi

 Unit: Map Unit

 Distance: 100

 Offset; 0

 Repeat: Yes

 Create a point every: 100

 Add end point: Yes

 Use an attribute to identify paths: Yes

 Attribute: om

 Usen an attribute to order path sections: No



 When attribute to identify paths is selected the result is an 
 error, when it is
 not checked the result is an empty layer. If I select all (both) lines and 
 run linear
 referencing for the selection the result is OK.



 Windows 32-bit, OJ r3802-PLUS, jre 1.6.0_27 (Oracle).



 -Jukka-





 

 Lähettäjä: Michaël Michaud [michael.mich...@free.fr
 mailto:michael.mich...@free.fr]

 Lähetetty: 11. marraskuuta 2013 0:59

 Vastaanottaja: jump-pilot-devel@lists.sourceforge.net
 mailto:jump-pilot-devel@lists.sourceforge.net

 Aihe: Re: [JPP-Devel] New linear referencing tools



 Hi Jukka,



 Can you give me a reproducible test case, as I can't reproduce
 the

 error.

 Ideally, the jml file you use as input and the set of
 parameters,

 Thanks for the help,



 Michaël



 Hi,



 Michaël seems to work on new linear referencing tools. With 
 good
 tooltips those feel rather self-explaining and I could create points for a
 selection. However, working on a whole layer does create points for me, 
 just a
 new, empty layer.  I thought it might be because I had only one feature on 
 the
 layer and I digitized a few more. In addition I made an attribute om 
 (String) for
 grouping the features and this time I managed to get an error:



 java.lang.IllegalArgumentException: Unknown attribute
 name: om

   at
 com.vividsolutions.jump.feature.FeatureSchema.getAttributeIndex(Featur
 eSchema.java:97)

   at
 com.vividsolutions.jump.feature.AbstractBasicFeature.getAttribute(Abst
 ractBasicFeature.java:103)

   at
 org.openjump.core.ui.plugin.tools.generate.LinearReferencingOnLayerPlu
 gIn.prepareGeometries(LinearReferencingOnLayerPlugIn.java:137)

   at