Re: [JPP-Devel] Rich AttributeType

2015-03-22 Thread Michaël Michaud
Hi, Here after, I wrote what the SchemaPlugin cast system is supposed to do. I did some improvements following your suggestion (like accepting to cast integer strings starting with zeros - untested) Michaël Source Target null GEOMETRY STRING BOOLEAN INTEGER LONG DOUBLE DATE OBJECT GEO

Re: [JPP-Devel] fixing kml

2015-03-22 Thread edgar . soldin
ok, let me have a look at it. ..ede On 22.03.2015 21:49, Michaël Michaud wrote: > Hi, > > No, it does not. I don't know why kmz extension (and gz) are not visible in > the selection combo box > as extensions are listed in KMLDataSourceQueryChooserInstallerPlugIn . > > Michaël > > Le 22/03/2015

Re: [JPP-Devel] fixing kml

2015-03-22 Thread Michaël Michaud
Hi, No, it does not. I don't know why kmz extension (and gz) are not visible in the selection combo box as extensions are listed in KMLDataSourceQueryChooserInstallerPlugIn . Michaël Le 22/03/2015 18:59, edgar.sol...@web.de a écrit : actually, i am just now following up and see that i alread

[JPP-Devel] SVN: [4354] core/trunk/src/com/vividsolutions/jump/workbench/ui/plugin/ ViewSchemaPlugIn.java

2015-03-22 Thread jump-pilot-svn
Revision: 4354 http://sourceforge.net/p/jump-pilot/code/4354 Author: michaudm Date: 2015-03-22 20:19:40 + (Sun, 22 Mar 2015) Log Message: --- Some corrections in AttributeType cast system Modified Paths: -- core/trunk/src/com/vividsolutions/jump/workben

[JPP-Devel] SVN: [4353] core/trunk/src/com/vividsolutions/jump/workbench/ui/plugin/ ViewSchemaPlugIn.java

2015-03-22 Thread jump-pilot-svn
Revision: 4353 http://sourceforge.net/p/jump-pilot/code/4353 Author: michaudm Date: 2015-03-22 18:46:04 + (Sun, 22 Mar 2015) Log Message: --- Improve AttributeType casting in ViewSchema plugin Modified Paths: -- core/trunk/src/com/vividsolutions/jump/wo

[JPP-Devel] SVN: [4352] core/trunk/src/language

2015-03-22 Thread jump-pilot-svn
Revision: 4352 http://sourceforge.net/p/jump-pilot/code/4352 Author: michaudm Date: 2015-03-22 18:03:40 + (Sun, 22 Mar 2015) Log Message: --- Complete translations Modified Paths: -- core/trunk/src/language/jump.properties core/trunk/src/language/jum

Re: [JPP-Devel] fixing kml

2015-03-22 Thread edgar . soldin
actually, i am just now following up and see that i already fixed it in my OJ trunk but didn't polish and commit it. as the actual error was 'cannot load kmz' i try to figure out how the driver did at some point read kmz. i can see it in the kml plugin code, but it is not offered by the data ch

Re: [JPP-Devel] fixing kml

2015-03-22 Thread Rahkonen Jukka (MML)
Hi, R4350 does not throw errors but it is not good at finding features from KML. Most common result with the samples I have is an empty layer but perhaps it is because all samples I found for example from https://developers.google.com/kml/documentation/kml_tut are using KML 2.2. Good news is

Re: [JPP-Devel] fixing kml

2015-03-22 Thread Michaël Michaud
Hi Ede, Not sure it still worth the effort. It fixed a problem where xml files where read with the default platform encoding instead of the encoding defined in the xml. Other external plugins that could be affected : osm : Stefan ? gpx : Landon ? Maybe a test with these drivers (not sure we have

Re: [JPP-Devel] fixing kml

2015-03-22 Thread edgar . soldin
thanks Mike! while i haven't come around to it, i was planning to fix it in CORE rather than in the driver by readding the old method with a deprecated marker. the rationale is that the API change was backward incompatible, hence breaking extensions using the old method. as we don't/cannot know

[JPP-Devel] SVN: [4351] plug-ins/KmlDriver/trunk/lib

2015-03-22 Thread jump-pilot-svn
Revision: 4351 http://sourceforge.net/p/jump-pilot/code/4351 Author: michaudm Date: 2015-03-22 16:07:39 + (Sun, 22 Mar 2015) Log Message: --- Update kml dependencies as it now needs uptodate OJ jar Added Paths: --- plug-ins/KmlDriver/trunk/lib/OpenJUMP-20150

Re: [JPP-Devel] fixing kml

2015-03-22 Thread Michaël Michaud
Hi, Hopefully, it is fixed in r 4350 Michaël Le 05/03/2015 22:49, Rahkonen Jukka (MML) a écrit : Hi, Links and examples in https://developers.google.com/kml/documentation/kml_tut should be valid, I guess. -Jukka Rahkonen- edgar.soldin wrote: can

[JPP-Devel] SVN: [4350] core/trunk

2015-03-22 Thread jump-pilot-svn
Revision: 4350 http://sourceforge.net/p/jump-pilot/code/4350 Author: michaudm Date: 2015-03-22 16:02:27 + (Sun, 22 Mar 2015) Log Message: --- Fix a regression in kml driver introduced by a change in OJ API Modified Paths: -- core/trunk/ChangeLog Added P

[JPP-Devel] SVN: [4349] plug-ins/KmlDriver/trunk

2015-03-22 Thread jump-pilot-svn
Revision: 4349 http://sourceforge.net/p/jump-pilot/code/4349 Author: michaudm Date: 2015-03-22 15:59:51 + (Sun, 22 Mar 2015) Log Message: --- Fix a regression introduced by an API change in OJ to solve xml/charset issue (r4215) Revision Links: -- http:/

[JPP-Devel] SVN: [4348] core/trunk/src/org/openjump/core/ui/plugin/layer/pirolraster/ SaveRasterImageAsImagePlugIn.java

2015-03-22 Thread jump-pilot-svn
Revision: 4348 http://sourceforge.net/p/jump-pilot/code/4348 Author: ma15569 Date: 2015-03-22 14:39:24 + (Sun, 22 Mar 2015) Log Message: --- Add export to ESRI ASC and FLT raster grid files Modified Paths: -- core/trunk/src/org/openjump/core/ui/plugin/l

[JPP-Devel] SVN: [4347] core/trunk

2015-03-22 Thread jump-pilot-svn
Revision: 4347 http://sourceforge.net/p/jump-pilot/code/4347 Author: ma15569 Date: 2015-03-22 14:24:12 + (Sun, 22 Mar 2015) Log Message: --- [Giuseppe Aruta] - 22.Mar.2015 - rewrite class using new RasterImage I/O components. This version allows to export nodata cell

Re: [JPP-Devel] Rich AttributeType

2015-03-22 Thread edgar . soldin
On 22.03.2015 14:30, Rahkonen Jukka (MML) wrote: > Check box for experimental data types feels acceptable only acceptable or actually needed? ..ede -- Dive into the World of Parallel Programming The Go Parallel Website, s

[JPP-Devel] SVN: [4346] core/trunk/src/org/openjump/core/ui/plugin/raster/nodata/ ChangeValueToNoDataPlugIn.java

2015-03-22 Thread jump-pilot-svn
Revision: 4346 http://sourceforge.net/p/jump-pilot/code/4346 Author: ma15569 Date: 2015-03-22 13:51:50 + (Sun, 22 Mar 2015) Log Message: --- Updated class: added raster layer statistics and output file chooser Modified Paths: -- core/trunk/src/org/openj

[JPP-Devel] SVN: [4345] core/trunk/src/org/openjump/core/ui/plugin/raster/nodata/ ChangeNoDataValuePlugIn.java

2015-03-22 Thread jump-pilot-svn
Revision: 4345 http://sourceforge.net/p/jump-pilot/code/4345 Author: ma15569 Date: 2015-03-22 13:50:21 + (Sun, 22 Mar 2015) Log Message: --- Upgrade class: added Raster statistics resume and output file chooser Modified Paths: -- core/trunk/src/org/open

[JPP-Devel] SVN: [4344] core/trunk/src

2015-03-22 Thread jump-pilot-svn
Revision: 4344 http://sourceforge.net/p/jump-pilot/code/4344 Author: ma15569 Date: 2015-03-22 13:48:20 + (Sun, 22 Mar 2015) Log Message: --- Add two useful classes to mamage files from AdbToolBox 1.7 Added Paths: --- core/trunk/src/it/ core/trunk/src/it/

Re: [JPP-Devel] attribute table nullifying

2015-03-22 Thread Michaël Michaud
Hi > hey Mike, > > any reason not to implement an "experimental type" checkbox? You can add it. I prefer a small list of simple, well-tested attribute types, but if other types are made available after the user has checked a special "experimental types" box, I don't mind. > i like the nullify po

Re: [JPP-Devel] Rich AttributeType

2015-03-22 Thread Rahkonen Jukka (MML)
Hi, This approach feels good. There are some troubles with editing the new schema. I think that good behaviour would be: - Boolean can always be switched into String - Not necessary to allow String->Boolean. Could be possible but should check that strings have only values which can be accepted a

[JPP-Devel] Rich AttributeType

2015-03-22 Thread Michaël Michaud
Hi all, I reverted the list of available AttributTypes in Schema Editor so that the only visible new types are Long and Boolean. It will take some times to handle these 2 new types correctly through all plugins. Of course, if some new types I've just deactivated are really wanted, we can discu

[JPP-Devel] attribute table nullifying

2015-03-22 Thread edgar . soldin
hey Mike, any reason not to implement an "experimental type" checkbox? i like the nullify popup idea! not sure people will grasp the press left mouse button a little longer to see it concept. why didn't you use the standard right mouse button context menu access? ..ede On 22.03.2015 12:56, ju

Re: [JPP-Devel] Allow NULLs in Boolean attributes?

2015-03-22 Thread Michaël Michaud
Hi Jukka, I tried to improve this problem in r4343 1) I think OpenJUMP must handle null values because - null values are supported in all databases - null values is different from empty string, false or 0 in the OpenJUMP API itself 2) text based format will generally not support or have a bad

[JPP-Devel] SVN: [4343] core/trunk

2015-03-22 Thread jump-pilot-svn
Revision: 4343 http://sourceforge.net/p/jump-pilot/code/4343 Author: michaudm Date: 2015-03-22 11:56:32 + (Sun, 22 Mar 2015) Log Message: --- Hide new attribute types from schema editor except Long and Boolean Add JPopupMenu to be able to nullify String/Boolean attribute