Johannes Elsinghorst ha scritto: > I actually confused me that much that I wrote 2.5.4 instead of 2.4.5 which I > am actually using :-)
Aaah, right, way too old to have the new EPSG codes. > I searched the 2.4.5 EPSG.sql for both 3785 and 3857 but they are not > included. I tried to use the WKT Michael posted by putting this line at the > end of the epsg.properties in the tomcat temp folder: epsg.properties in the tomcat temp folder? What in the world is that? Anyways, if you want to add codes you should try using gt-epsg-extension and roll your custom factory subclass that knows where to pick the extra property file, something that GeoServer does, here it is as an example: http://svn.codehaus.org/geoserver/trunk/src/main/src/main/java/org/vfny/geoserver/crs/GeoserverCustomWKTFactory.java and the two files here too for registration purposes: http://svn.codehaus.org/geoserver/trunk/src/main/src/main/java/META-INF/services/ Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
