Installing Plugins

From OpenJUMP Wiki
Jump to navigation Jump to search

General Instruction

  1. unzip the plugin
  2. read the readme :)
  3. put the .jar files in the following OpenJUMP directory: myOpenjumpFolder\lib\ext (on Debian use /usr/share/openjump/ext) whereby myOpenjumpFolder is the programm folder of OpenJUMP on your machine
  4. start OpenJUMP. On the splash screen a message should appear which extensions are loaded
  • if no plugin is loaded, then you may check if OpenJUMP start option -plug-in-directory C:\myOpenJUMPFolder\LIB\ext is set (for instance in your startup file)
  • for our Windows Users which have downloaded the OpenJUMP 1.0.1 Windows installer: We missed to include the option, that plugins are loaded if one starts the programm by clicking on the desktop icon. To enable this, please right-click on your icon and select the icon "properties". Then look for the "target" field. Here add at the end:

-plug-in-directory "C:\Programme\Openjump\lib\ext" .. but with your path to OpenJUMP

2) Installing the PostGIS PlugIn

NOTE: the JDBC plugin must be installed in the jvm extensions directory, not the OpenJUMP directory to work properly. To do that:

  • Download the JDCB Driver from here
  • Move the postgresql-8.3-currentversion.jar file to your jvm ext directory. On Ubuntu 7.10, that's: /usr/lib/jvm/java-6-sun-1.6.currentversion/jre/lib/ext/
  • Restart OpenJUMP

3) Installing the Coordinate Transformation PlugIn by Edgar Soldin

Edgar wrote: first of all ... the transformation path must be possible (else an exception is thrown)

  1. put 'cs.conf' from 'lib/ext' in a folder which is in the classpath, or add 'lib/ext' to the classpath (to circumvent the NullPointerException in WKTSLoader)
  2. add the WKT-Strings describing _both_ of your coordinate systems/projections (cs/proj) to 'cs.conf'
  3. start jump and assign the cs/proj to the layer (rightside tick is off) .. hint: read mini manual in 'readme.txt' of extensions zip archive
  4. activate the tick and choose the cs/proj to project to .. voila all geometries of the layer get transformed

good luck .. ede

Ravi wrote:

  1. I have followed as per instructions, to add *.jar files for projection. gt2jump.cts-0.1a But this resulted in an error (see box below) after I right clicked on the layer
  2. Edgars Solution:

please add the folder containing cs.conf to thge classpath .. e.g. 'lib/ext'

 ------------ Error report
at de.soldin.gt2jump.cts.WKTCSLoader.<init>(
at de.soldin.gt2jump.cts.CSComboBox.<init>(
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.swixml.DefaultFactory.newInstance(Unknown Source)
at org.swixml.Parser.getSwing(Unknown Source)
at org.swixml.Parser.getSwing(Unknown Source)
at org.swixml.Parser.parse(Unknown Source)
at org.swixml.SwingEngine.render(Unknown Source)
at org.swixml.SwingEngine.render(Unknown Source)
at org.swixml.SwingEngine.render(Unknown Source)
at de.soldin.gt2jump.cts.CSLayerSetExtension.execute(