Re: [JPP-Devel] Adding other spatial databases support in OJ core

2015-12-12 Thread Nicolas Ribot
Yes good idea, I will add a test before loading a layer. Nicolas On 12 December 2015 at 20:22, Michaël Michaud wrote: > Hi Nicolas, > > Thanks for your answer. > > Just one idea about the problem Jukka has mentionned : > Maybe the query should be tested before the Layer is created. > A way to d

Re: [JPP-Devel] Adding other spatial databases support in OJ core

2015-12-12 Thread Rahkonen Jukka (MML)
Are WKB and WKT really used in Spatialite? FDO system is probably using WKB but I have never met WKT geometries. More useful might be to support GeoPackage geometries and I suppose that DB Query Plugin has good native parser for them. I suppose you are making a pure java solution because with Sp

[JPP-Devel] wfs-plugin

2015-12-12 Thread Michaël Michaud
Hi Ede, Can you explain to me how the wfs plugin is packaged and distributed. I updated the language file in the plug-ins/WFSPlugin directory, but checking the pom, I realize that the plugin distributed with OpenJUMP is taken from deegree repo. Does it mean that we have no simple way to update l

Re: [JPP-Devel] Feature request: Flip coordinates

2015-12-12 Thread Rahkonen Jukka (MML)
At least for me it is not compulsory to use the Login button at all but I can just press Connect directly. I am not sure why there are separate Connect and Login buttons but perhaps somebody has planned to use some special Login service for authorization. Thanks for the hint about correct param

Re: [JPP-Devel] Adding other spatial databases support in OJ core

2015-12-12 Thread Michaël Michaud
Hi Nicolas, Thanks for your answer. Just one idea about the problem Jukka has mentionned : Maybe the query should be tested before the Layer is created. A way to do that would be to add (or replace) the LIMIT clause with value 0 to have a lightweight query giving the opportunity to catch a SQ

Re: [JPP-Devel] Adding other spatial databases support in OJ core

2015-12-12 Thread Nicolas Ribot
Hi Michaël, Thanks for the insight. I'm currently refactoring a bit the SpatialDatabases code. The error you pointed out showed me some problems with current code, and as you noted, I have to instantiate a correct, concrete class for each detected DSConnection. I'm finalising my todo list, but r

Re: [JPP-Devel] Adding other spatial databases support in OJ core

2015-12-12 Thread Michaël Michaud
Hi Nicolas, I had a look but did not find an easy way to fix the problem. In SpatialDatabasesDSConnection you added a comment that it is no more necessary to subclass to PostGIS... On the other hand, - SpatialDatabasesDSConnection instantiates - SpatialDatabasesResultSetConverter which in tur

Re: [JPP-Devel] Feature request: Flip coordinates

2015-12-12 Thread Michaël Michaud
Hi Jukka, OK, I could see some layers from your URL now. (In the UI, login/pwd is mandatory, but it is not needed to reach this url, maybe I should remove the error message when the user does not provide a user/pwd ?) About the axis order problem, I agree that a flip plugin could be useful (an

[JPP-Devel] Feature request: Flip coordinates

2015-12-12 Thread Rahkonen Jukka (MML)
Hi, Test the states feature type from WFS http://demo.opengeo.org/geoserver/wfs with version 1.1.0 and you will see the reasoning. In GML 3 the axis order follows the official definitions of the CRS which is latitude-longitude for

Re: [JPP-Devel] JTS 1.14

2015-12-12 Thread Rahkonen Jukka (MML)
WFS works as you can see by trying the "states" feature type from the other pre-defined service at demo.opengeo.org. The error probably means that the deegree2 CRS system is so old that EPSG:3857 was not known at that time. It may not be easy to add the support. Definitions are hidden somewhere

[JPP-Devel] SVN: [4602] plug-ins/WFSPlugin/trunk/src/de/latlon/deejump/wfs/i18n/ messages_fr.properties

2015-12-12 Thread jump-pilot-svn
Revision: 4602 http://sourceforge.net/p/jump-pilot/code/4602 Author: michaudm Date: 2015-12-12 10:52:58 + (Sat, 12 Dec 2015) Log Message: --- Update french language file of WFS plugin Modified Paths: -- plug-ins/WFSPlugin/trunk/src/de/latlon/deejump/wfs

Re: [JPP-Devel] JTS 1.14

2015-12-12 Thread Michaël Michaud
Hi, - kml seems to work without the need of jts-io - for WFS, it seems that jts-io is not needed, but I could not test it completely. I get the hereafter exception about crs. Jukka, could you confirm the plugin is working for you ? Michaël Exception de.latlon.deejump.wfs.DeeJUMPException: Error