NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

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

Ivan, I updated the epsg.properties file with the WTK you provided (I put it on 
the last line). I no longer get the "The CRS EPSG:3857 is not supported by this 
server." error, but I am getting a blank transparent image instead. I was using 
EPSG:4326 and simply switched it for EPSG:3857. Did you update the 
geotk-bundle-referencing-3.04.jar or just the epsg.properties file?

Thanks

On Mar 31, 2011, at 8:53 AM, Ivan PRICE wrote:

> Jay,
> 
> 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 epsg.properties 
> 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.
> 
> -i
> 
> 
> 
> 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 epsg.properties 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 epsg.properties 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"]],
>>>      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["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],
>>>  AUTHORITY["EPSG","3857"]]
>>> 
>>> (Thanks to Martin Desruisseaux of the Geotoolkit team for this.)
>>> 
>>> Jon
>>> 
>>> _______________________________________________
>>> thredds mailing list
>>> thredds@xxxxxxxxxxxxxxxx <mailto:thredds@xxxxxxxxxxxxxxxx>
>>> For list information or to unsubscribe,  visit: 
>>> http://www.unidata.ucar.edu/mailing_lists/
>> 
>> -- 
>> Jay Alder
>> Graduate Student
>> Geosciences
>> Wilkinson Hall 105
>> _http://blogs.oregonstate.edu/paleo_
>> 
>> 
>> _______________________________________________
>> thredds mailing list
>> thredds@xxxxxxxxxxxxxxxx
>> For list information or to unsubscribe,  visit: 
>> http://www.unidata.ucar.edu/mailing_lists/
> 
> _______________________________________________
> thredds mailing list
> thredds@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit: 
> http://www.unidata.ucar.edu/mailing_lists/ 

-- 
Jay Alder
Graduate Student
Geosciences
Wilkinson Hall 105
http://blogs.oregonstate.edu/paleo

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