Re: [JPP-Devel] Add automatic detection of SRID when loading file (as Layer.class)

2016-07-08 Thread Giuseppe Aruta
Hi Michael, thanks for the comments, >- wonder if WKT parser and prj parser included in cts could help I first checked to cts class than I decided to define a new class. I preferred this solution as the registry (srid.txt) can easely extended with new epsg codes or, what I wanted to have,

Re: [JPP-Devel] Add automatic detection of SRID when loading file (as Layer.class)

2016-07-07 Thread Michaƫl Michaud
Hi Peppe, Seems you did a good work on projection support. I did not test yet, but had a quick look at the code : - wonder if WKT parser and prj parser included in cts could help - there is probably a typo on method name getWktrojDefinition - in decodeProjDescription you use replace or

[JPP-Devel] Add automatic detection of SRID when loading file (as Layer.class)

2016-07-06 Thread Giuseppe Aruta
Hi Stefan, Ede, Michael, Jukka and others I added to org.openjump.core.ui.io.file.DataSourceFileLayerLoader a small piece of code that should be able to detect SRID code from a file when it is loaded as Layer.class (Open>File..). It should be available on OJ 4951 It uses a method I added to