[JPP-Devel] convert a prj/proj code to epsg code
Hi Michael, I gave a look into your library cts 1.3.2 and found that there are parsers for prj/proj codes. How do they work? Is there a method that gives back an epsg code from prj string, like in geotools? thanks Peppe -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] interesting read... what happens if your (QGIS) Software project gets big and (many) companies involved
Hi Stefan, interesting post. Thanks for the link. There would be more things worth to discuss, in our little community. I may be wrong but, regarding forks, I can see that, in the case of Jump/OpenJump, it was the presence of divergent forks that helps OJ to go on. I am thinking about both simple users (I know some collugues who were using Kosmo and now became OJ users - it was also my story) or developers (I think the efforts of Alberto and others to move useful raster staff from AdBToolbox- a MSWindows-based fork of OJ - to OpenJUMP. In other hand the Elephantine QGIS has to face problems, which right now become opportunities for us - hominid bush in the Plestocene time of Opensource http://theness.com/neurologicablog/index.php/a-new-hominin-a-sediba/ Peppe 2016-04-25 14:53 GMT+02:00 Stefan Steiniger: > Hey guys, > > did just read this interesting post by Tim Sutton who is heading the > QGIS steering committee. Fortunately there isn't anything that the OJ > Dev team has to think about yet... the only exception may be the naming > of extensions. For instance I called on of my extensions OpenJUMP > HoRAE... But well HoRAE isn't a company name or a like, and sources are > available in our repository. > > Promoting and using QGIS for the enterprise – QGIS.org blog > > http://blog.qgis.org/2016/04/23/promoting-and-using-qgis-for-the-enterprise/ > > This stuff is of course based on experiences... so I wonder what happens > over there > > cheers, > stefan > > > -- > Find and fix application performance issues faster with Applications > Manager > Applications Manager provides deep performance insights into multiple > tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > ___ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] interesting read... what happens if your (QGIS) Software project gets big and (many) companies involved
Hey guys, did just read this interesting post by Tim Sutton who is heading the QGIS steering committee. Fortunately there isn't anything that the OJ Dev team has to think about yet... the only exception may be the naming of extensions. For instance I called on of my extensions OpenJUMP HoRAE... But well HoRAE isn't a company name or a like, and sources are available in our repository. Promoting and using QGIS for the enterprise – QGIS.org blog http://blog.qgis.org/2016/04/23/promoting-and-using-qgis-for-the-enterprise/ This stuff is of course based on experiences... so I wonder what happens over there cheers, stefan -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] SVN: [4904] core/trunk/src/de/latlon/deejump/wfs/plugin/WFSPlugIn.java
Revision: 4904 http://sourceforge.net/p/jump-pilot/code/4904 Author: edso Date: 2016-04-25 11:10:01 + (Mon, 25 Apr 2016) Log Message: --- revert Peppe's white space changes, but keeping previous SRID handling Modified Paths: -- core/trunk/src/de/latlon/deejump/wfs/plugin/WFSPlugIn.java Modified: core/trunk/src/de/latlon/deejump/wfs/plugin/WFSPlugIn.java === --- core/trunk/src/de/latlon/deejump/wfs/plugin/WFSPlugIn.java 2016-04-25 10:56:41 UTC (rev 4903) +++ core/trunk/src/de/latlon/deejump/wfs/plugin/WFSPlugIn.java 2016-04-25 11:10:01 UTC (rev 4904) @@ -72,267 +72,258 @@ */ public class WFSPlugIn extends ThreadedBasePlugIn { - public final static String I18NPREFIX = WFSExtension.class.getPackage() - .getName(); + public final static String I18NPREFIX = WFSExtension.class.getPackage() + .getName(); - private WFSDialog wfsDialog; + private WFSDialog wfsDialog; - private String wfsUrl; + private String wfsUrl; - private static final String[] DEFAULTURLS = new String[] { - "http://ows.terrestris.de/geoserver/osm/wfs;, - "http://demo.opengeo.org/geoserver/wfs; }; + private static final String[] DEFAULTURLS = new String[] { + "http://ows.terrestris.de/geoserver/osm/wfs;, + "http://demo.opengeo.org/geoserver/wfs; }; - @Override - public void initialize(PlugInContext context) throws Exception { - WorkbenchContext wbcontext = context.getWorkbenchContext(); + @Override + public void initialize(PlugInContext context) throws Exception { +WorkbenchContext wbcontext = context.getWorkbenchContext(); - // only active if there's a map panel - MultiEnableCheck mec = createEnableCheck(wbcontext); +// only active if there's a map panel +MultiEnableCheck mec = createEnableCheck(wbcontext); - wbcontext.getWorkbench().getFrame().getToolBar() - .addPlugIn(getIcon(), this, mec, wbcontext); +wbcontext.getWorkbench().getFrame().getToolBar() +.addPlugIn(getIcon(), this, mec, wbcontext); - // also create menu item - /* -* Disabled due to incompatibility to Vivid solutions JUMP1.2 SH, -* 2007-05-08 context.getFeatureInstaller().addMainMenuItem(this, new -* String[] { MenuNames.LAYER }, getName(), false, getIcon(), mec); -*/ - } +// also create menu item +/* + * Disabled due to incompatibility to Vivid solutions JUMP1.2 SH, 2007-05-08 + * context.getFeatureInstaller().addMainMenuItem(this, new String[] { + * MenuNames.LAYER }, getName(), false, getIcon(), mec); + */ + } - @Override - public synchronized boolean execute(PlugInContext context) throws Exception { + @Override + public synchronized boolean execute(PlugInContext context) throws Exception { - if (wfsDialog == null) { - wfsDialog = new WFSDialog(context.getWorkbenchContext(), - context.getWorkbenchFrame(), i18n("mainDialogTitle")); - } +if (wfsDialog == null) { + wfsDialog = new WFSDialog(context.getWorkbenchContext(), + context.getWorkbenchFrame(), i18n("mainDialogTitle")); +} - LayerViewPanel lvPanel = context.getLayerViewPanel(); - WFSPanel pnl = wfsDialog.getWFSPanel(); - // get selected geometry(ies) - Collection geoCollec = lvPanel.getSelectionManager() - .getFeatureSelection().getSelectedItems(); - // then make GML out of it - org.deegree.model.spatialschema.Geometry selectedGeom; +LayerViewPanel lvPanel = context.getLayerViewPanel(); +WFSPanel pnl = wfsDialog.getWFSPanel(); +// get selected geometry(ies) +Collection geoCollec = lvPanel.getSelectionManager() +.getFeatureSelection().getSelectedItems(); +// then make GML out of it +org.deegree.model.spatialschema.Geometry selectedGeom; - try { - selectedGeom = getSelectedGeoAsGML(geoCollec); - } catch (WorkbenchException e) { - e.printStackTrace(); - JOptionPane.showMessageDialog(context.getWorkbenchFrame(), - e.getMessage(), "Error", JOptionPane.ERROR_MESSAGE); - return false; - } +try { + selectedGeom = getSelectedGeoAsGML(geoCollec); +} catch (WorkbenchException e) { + e.printStackTrace(); + JOptionPane.showMessageDialog(context.getWorkbenchFrame(), + e.getMessage(), "Error", JOptionPane.ERROR_MESSAGE); + return false; +} - // get the
Re: [JPP-Devel] SVN: [4902] core/trunk/src
i seem to remember that a long time ago we agreed on spaces only, no tabs 2 spaces indention at least it is what i am using, when formatting java code.. ede On 25.04.2016 09:06, Rahkonen Jukka (MML) wrote: > Hi, > > If I can read the changeset there are lots of whitespace changes like > - private String wfsUrl; > + private String wfsUrl; > > Do we have guidelines for coding style? GDAL has this > https://trac.osgeo.org/gdal/wiki/rfc8_devguide > > -Jukka Rahkonen- > > > > -Alkuperäinen viesti- > Lähettäjä: jump-pilot-...@lists.sourceforge.net > [mailto:jump-pilot-...@lists.sourceforge.net] > Lähetetty: 24. huhtikuuta 2016 12:49 > Vastaanottaja: jump-pilot-devel@lists.sourceforge.net > Aihe: [JPP-Devel] SVN: [4902] core/trunk/src > > Revision: 4902 > http://sourceforge.net/p/jump-pilot/code/4902 > Author: ma15569 > Date: 2016-04-24 09:49:13 + (Sun, 24 Apr 2016) > Log Message: > --- > Workaround to record WFS Layer SRS as SRIDStyle integer - Updated language > codes > > Modified Paths: > -- > core/trunk/src/de/latlon/deejump/wfs/plugin/WFSPlugIn.java > core/trunk/src/language/jump.properties > core/trunk/src/language/jump_cz.properties > core/trunk/src/language/jump_de.properties > core/trunk/src/language/jump_es.properties > core/trunk/src/language/jump_fi.properties > core/trunk/src/language/jump_fr.properties > core/trunk/src/language/jump_hu.properties > core/trunk/src/language/jump_it.properties > core/trunk/src/language/jump_ja_JP.properties > core/trunk/src/language/jump_ml.properties > core/trunk/src/language/jump_pt.properties > core/trunk/src/language/jump_pt_BR.properties > core/trunk/src/language/jump_ta_IN.properties > core/trunk/src/language/jump_te.properties > core/trunk/src/language/jump_zh_CN.properties > core/trunk/src/language/jump_zh_HK.properties > > Modified: core/trunk/src/de/latlon/deejump/wfs/plugin/WFSPlugIn.java > === > --- core/trunk/src/de/latlon/deejump/wfs/plugin/WFSPlugIn.java > 2016-04-19 16:40:13 UTC (rev 4901) > +++ core/trunk/src/de/latlon/deejump/wfs/plugin/WFSPlugIn.java > 2016-04-24 09:49:13 UTC (rev 4902) > @@ -20,6 +20,7 @@ > import org.deegree.datatypes.QualifiedName; > import org.deegree.framework.util.StringTools; > import org.deegree.model.spatialschema.JTSAdapter; > +import org.openjump.core.ccordsys.srid.SRIDStyle; > > import com.vividsolutions.jts.geom.Coordinate; > import com.vividsolutions.jts.geom.Envelope; > @@ -69,241 +70,257 @@ > */ > public class WFSPlugIn extends ThreadedBasePlugIn { > > - public final static String I18NPREFIX = WFSExtension.class.getPackage() > - .getName(); > + public final static String I18NPREFIX = WFSExtension.class.getPackage() > + .getName(); > > - private WFSDialog wfsDialog; > + private WFSDialog wfsDialog; > > - private String wfsUrl; > + private String wfsUrl; > > - private static final String[] DEFAULTURLS = new String[] { > - "http://ows.terrestris.de/geoserver/osm/wfs;, > - "http://demo.opengeo.org/geoserver/wfs; }; > + private static final String[] DEFAULTURLS = new String[] { > + "http://ows.terrestris.de/geoserver/osm/wfs;, > + "http://demo.opengeo.org/geoserver/wfs; }; > > - @Override > - public void initialize(PlugInContext context) throws Exception { > -WorkbenchContext wbcontext = context.getWorkbenchContext(); > + @Override > + public void initialize(PlugInContext context) throws Exception { > + WorkbenchContext wbcontext = context.getWorkbenchContext(); > > -// only active if there's a map panel > -MultiEnableCheck mec = createEnableCheck(wbcontext); > + // only active if there's a map panel > + MultiEnableCheck mec = createEnableCheck(wbcontext); > > -wbcontext.getWorkbench().getFrame().getToolBar() > -.addPlugIn(getIcon(), this, mec, wbcontext); > + wbcontext.getWorkbench().getFrame().getToolBar() > + .addPlugIn(getIcon(), this, mec, wbcontext); > > -// also create menu item > -/* > - * Disabled due to incompatibility to Vivid solutions JUMP1.2 SH, > 2007-05-08 > - * context.getFeatureInstaller().addMainMenuItem(this, new String[] { > - * MenuNames.LAYER }, getName(), false, getIcon(), mec); > - */ > - } > + // also create menu item > + /* > + * Disabled due to incompatibility to Vivid solutions JUMP1.2 > SH, > + * 2007-05-08 > context.getFeatureInstaller().addMainMenuItem(this, new > + * String[] { MenuNames.LAYER }, getName(), false, getIcon(), > mec); > + */ > + } > > - @Override > - public synchronized boolean execute(PlugInContext context) throws >
Re: [JPP-Devel] SVN: [4902] core/trunk/src
Hi, If I can read the changeset there are lots of whitespace changes like - private String wfsUrl; + private String wfsUrl; Do we have guidelines for coding style? GDAL has this https://trac.osgeo.org/gdal/wiki/rfc8_devguide -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: jump-pilot-...@lists.sourceforge.net [mailto:jump-pilot-...@lists.sourceforge.net] Lähetetty: 24. huhtikuuta 2016 12:49 Vastaanottaja: jump-pilot-devel@lists.sourceforge.net Aihe: [JPP-Devel] SVN: [4902] core/trunk/src Revision: 4902 http://sourceforge.net/p/jump-pilot/code/4902 Author: ma15569 Date: 2016-04-24 09:49:13 + (Sun, 24 Apr 2016) Log Message: --- Workaround to record WFS Layer SRS as SRIDStyle integer - Updated language codes Modified Paths: -- core/trunk/src/de/latlon/deejump/wfs/plugin/WFSPlugIn.java core/trunk/src/language/jump.properties core/trunk/src/language/jump_cz.properties core/trunk/src/language/jump_de.properties core/trunk/src/language/jump_es.properties core/trunk/src/language/jump_fi.properties core/trunk/src/language/jump_fr.properties core/trunk/src/language/jump_hu.properties core/trunk/src/language/jump_it.properties core/trunk/src/language/jump_ja_JP.properties core/trunk/src/language/jump_ml.properties core/trunk/src/language/jump_pt.properties core/trunk/src/language/jump_pt_BR.properties core/trunk/src/language/jump_ta_IN.properties core/trunk/src/language/jump_te.properties core/trunk/src/language/jump_zh_CN.properties core/trunk/src/language/jump_zh_HK.properties Modified: core/trunk/src/de/latlon/deejump/wfs/plugin/WFSPlugIn.java === --- core/trunk/src/de/latlon/deejump/wfs/plugin/WFSPlugIn.java 2016-04-19 16:40:13 UTC (rev 4901) +++ core/trunk/src/de/latlon/deejump/wfs/plugin/WFSPlugIn.java 2016-04-24 09:49:13 UTC (rev 4902) @@ -20,6 +20,7 @@ import org.deegree.datatypes.QualifiedName; import org.deegree.framework.util.StringTools; import org.deegree.model.spatialschema.JTSAdapter; +import org.openjump.core.ccordsys.srid.SRIDStyle; import com.vividsolutions.jts.geom.Coordinate; import com.vividsolutions.jts.geom.Envelope; @@ -69,241 +70,257 @@ */ public class WFSPlugIn extends ThreadedBasePlugIn { - public final static String I18NPREFIX = WFSExtension.class.getPackage() - .getName(); + public final static String I18NPREFIX = WFSExtension.class.getPackage() + .getName(); - private WFSDialog wfsDialog; + private WFSDialog wfsDialog; - private String wfsUrl; + private String wfsUrl; - private static final String[] DEFAULTURLS = new String[] { - "http://ows.terrestris.de/geoserver/osm/wfs;, - "http://demo.opengeo.org/geoserver/wfs; }; + private static final String[] DEFAULTURLS = new String[] { + "http://ows.terrestris.de/geoserver/osm/wfs;, + "http://demo.opengeo.org/geoserver/wfs; }; - @Override - public void initialize(PlugInContext context) throws Exception { -WorkbenchContext wbcontext = context.getWorkbenchContext(); + @Override + public void initialize(PlugInContext context) throws Exception { + WorkbenchContext wbcontext = context.getWorkbenchContext(); -// only active if there's a map panel -MultiEnableCheck mec = createEnableCheck(wbcontext); + // only active if there's a map panel + MultiEnableCheck mec = createEnableCheck(wbcontext); -wbcontext.getWorkbench().getFrame().getToolBar() -.addPlugIn(getIcon(), this, mec, wbcontext); + wbcontext.getWorkbench().getFrame().getToolBar() + .addPlugIn(getIcon(), this, mec, wbcontext); -// also create menu item -/* - * Disabled due to incompatibility to Vivid solutions JUMP1.2 SH, 2007-05-08 - * context.getFeatureInstaller().addMainMenuItem(this, new String[] { - * MenuNames.LAYER }, getName(), false, getIcon(), mec); - */ - } + // also create menu item + /* +* Disabled due to incompatibility to Vivid solutions JUMP1.2 SH, +* 2007-05-08 context.getFeatureInstaller().addMainMenuItem(this, new +* String[] { MenuNames.LAYER }, getName(), false, getIcon(), mec); +*/ + } - @Override - public synchronized boolean execute(PlugInContext context) throws Exception { + @Override + public synchronized boolean execute(PlugInContext context) throws Exception { -if (wfsDialog == null) { - wfsDialog = new WFSDialog(context.getWorkbenchContext(), - context.getWorkbenchFrame(), i18n("mainDialogTitle")); -} + if (wfsDialog == null) { + wfsDialog = new WFSDialog(context.getWorkbenchContext(), +