Hi Michael,
thanks to send back the mail.

>I added prj writing in ShapefileWriter : if a srid is set in SRIDStyle and
recognised by cts library, the prj file is written
Fine. Hopefully can extend this also to aux.xml file for raster

>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)
This is fine as srid.txt is a simple text file and can be quickly upgraded
with the necessary info to decode file SRID  and get back these info, while
upgrading CTS srid registry can be a bit longer (I think)

I agree to work at FeatureSchema level, which sounds simpler than at
geometry level.

Peppe


2017-11-29 8:25 GMT+01:00 Michaël Michaud <m.michael.mich...@orange.fr>:

> 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>
> <m.michael.mich...@orange.fr>
> Pour : OpenJump develop and use <jump-pilot-devel@lists.sourceforge.net>
> <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
>
>
------------------------------------------------------------------------------
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