I actually confused me that much that I wrote 2.5.4 instead of 2.4.5 which I am 
actually using :-)
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:
102100=PROJCS["WGS 84 / Pseudo-Mercator",GEOGCS["WGS 84",DATUM["World Geodetic 
System 1984",SPHEROID["WGS 84", 6378137.0, 298.257223563, 
AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich", 0.0, 
AUTHORITY["EPSG","8901"]],UNIT["degree", 0.017453292519943295],AXIS["Geodetic 
latitude", NORTH],   AXIS["Geodetic longitude", EAST],    
AUTHORITY["EPSG","4326"]],  PROJECTION["Popular Visualisation Pseudo 
Mercator",AUTHORITY["EPSG","1024"]],PARAMETER["semi_minor", 
6378137.0],PARAMETER["latitude_of_origin", 0.0],PARAMETER["central_meridian", 
0.0],PARAMETER["scale_factor", 1.0],PARAMETER["false_easting", 
0.0],PARAMETER["false_northing", 0.0],UNIT["m", 1.0],AXIS["Easting", 
EAST],AXIS["Northing", NORTH],AUTHORITY["EPSG","3857"]]

But it still get this warning:
31.05.2010 09:25:53 org.geotools.data.wfs.WFSDataStore getSchema
WARNUNG: No code "EPSG:102100" from authority "European Petroleum Survey Group" 
found for object of type "CoordinateReferenceSystem".

How do I properly configre the wkt into the system?
Thanks, Johannes

-----Ursprüngliche Nachricht-----
Von: Andrea Aime [mailto:[email protected]] 
Gesendet: Montag, 31. Mai 2010 09:23
An: Michael Bedward
Cc: Johannes Elsinghorst; [email protected]
Betreff: Re: [Geotools-gt2-users] Epsg.sql and EPSG:102100

Michael Bedward ha scritto:
> On 31 May 2010 16:44, Andrea Aime wrote:
> 
>> This snapshot of GeoServer uses a gt2 build which is older than
>> 2.5.4 and still has 3785 (which I believe should match what Bing 
>> uses, though I never tried it out personally):
> 
> As an aside, it seems EPSG added to the general muddle by deprecating
> EPSG:3785 and replacing it with the confusingly similar code EPSG:3857
> :-)
> 
> http://viswaug.wordpress.com/2009/04/01/gis-standards-gone-crazy-epsg-
> especially/

Right, forgot about that one. gt-epsg-hsql supports that one as well:

http://demo.opengeo.org/geoserver/web/?wicket:bookmarkablePage=:org.geoserver.web.demo.SRSDescriptionPage&code=EPSG:3857

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

Reply via email to