Hi,

I think this information message has been lost. Sorry if you already received it...

-------- Message transféré --------
Sujet :         writing prj files
Date :  Sun, 5 Nov 2017 10:41:26 +0100
De :    Michaël Michaud <m.michael.mich...@orange.fr>
Pour :  OpenJump develop and use <jump-pilot-devel@lists.sourceforge.net>


Hi Peppe, others,

I started to add support for prj files using crs library.

At the moment,

- I added prj writing in ShapefileWriter : if a srid is set in SRIDStyle
and recognised by cts library, the prj file is written

- I hacked ProjUtils so that when reading the prj file, it tries to
match it with a known crs in cts first.
    If it can't, it fall back to the previous behaviour (using the
srid.txt)

There is much to do to have something clean. I wonder if we could remove
all the succesive attempts to manage crs (CoordinateSystemRegistry,
SRIDStyle, SRSInfo...) and replace all of that by

- two tags at the FeatureSchema level (crs registry and crs code, e.g
EPSG, 4326)

- use cts library to convert datasets from a crs to another crs and to
read/write files like prj or aux

Michaël

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to