Re: [thredds] EPSG 3857 (google maps / 900913) in TDS 4.2.5


look for the file epsg-wkt.jar in your web-inf/lib directory. you need to change a file in that jar, an easy way is to rename the jar file to <name>.zip and open it in winzip or similar. (you'll need to stop tomcat first)

look through the folders in the zip until you find the file file.. and copy paste the line below to the top of that file... update the original zipfile to contain your updated epsg file then rename the zipfile back to .jar

restart tomcat and make a getmap request using the new epsg. note the getcapabilities doc will not reflect the change, its just for getmaps.


Le 31/03/2011 5:43 PM, Jay Alder a écrit :
I'd like to try it, could you be more specific what I need to do? Do I need the updated geotoolkit-bundle-referencing.jar (3.12) or what is bundled with TDS? I searched the thredds web app and didn't find an file. What is the path of this file and do you have a sample?

On Mar 31, 2011, at 8:04 AM, Jon Blower wrote:

Hi Ivan, all,

Apparently the WKT that should be added to the file in THREDDS to suppor the EPSG:3857 projection is as follows. If someone can confirm that this works, this would be very helpful!

PROJCS["WGS 84 / Pseudo-Mercator",
  GEOGCS["WGS 84",
    DATUM["World Geodetic System 1984",
SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]],
    PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
    UNIT["degree", 0.017453292519943295],
    AXIS["Geodetic latitude", NORTH],
    AXIS["Geodetic longitude", EAST],
PROJECTION["Popular Visualisation Pseudo Mercator", AUTHORITY["EPSG","1024"]],
  PARAMETER["Latitude of natural origin", 0.0],
  PARAMETER["Longitude of natural origin", 0.0],
  PARAMETER["False easting", 0.0],
  PARAMETER["False northing", 0.0],
  UNIT["metre", 1.0],
  AXIS["Easting", EAST],
  AXIS["Northing", NORTH],

(Thanks to Martin Desruisseaux of the Geotoolkit team for this.)


thredds mailing list
thredds@xxxxxxxxxxxxxxxx <mailto:thredds@xxxxxxxxxxxxxxxx>
For list information or to unsubscribe, visit:

Jay Alder
Graduate Student
Wilkinson Hall 105

thredds mailing list
For list information or to unsubscribe,  visit:

  • 2011 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: