P.Rizzi Ag.Mobilità Ambiente a écrit :
I know I can use epsg-postgresql and directly connect to a complete EPSG
database, however the WKT format is "embeddable" hence much more portable,
so I'd like to have it.

Do you have considered epsg-hsql? The EPSG database in included right in the epsg-hsql.jar file. Just drop this JAR in yours classpath and it should work. The downside is that you need the HSQL database engine (hsqldb-1.8.0.1.jar file, 611 ko).

There is a possible issue however: axis order is not the same in epsg-wkt and in others epsg implementations like epsg-hsql. The later uses the axis order declared in the EPSG database, while epsg-wkt always uses (longitude,latitude) axis order. The difference affect especially most geographic CRS.

        Martin.


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to