Re: [thredds] Adding projections to WMS/TDS

Hi all,

Is there any new on this topic ?

How to add for example the Robinson projection for the TDS/ncWMS.
http://docs.geotools.org/latest/javadocs/org/geotools/referencing/operation/projection/Robinson.html
I have followed the same track as described in
https://www.unidata.ucar.edu/mailing_lists/archives/thredds/2011/msg00277.html
by adding the EPSG WKT code.

But with no success...
Is there a way to run the TDS with an updated Geotoolkit library if it is
the reason for not working properly ?
Could someone describe me the procedures ?

Regards to all
Patrick 

> Hi Patrick,
> 
> I think in principle your method might have worked, but I the underlying 
> Geotoolkit library doesn't handle the Mollweide projection or other 
> pseudocylindrical projections.  I understand a future version of the library 
> might be able to support these through proj.4 Java bindings perhaps.
> 
> (Sorry I thought I'd told you this in an earlier email off-list, but perhaps 
> I forgot!)
> 
> Cheers,
> Jon
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Fri, 19 Jul 2013 11:46:15 +0200
> From: Patrick Brockmann <Patrick.Brockmann@xxxxxxxxxxxx>
> To: THREDDS community <thredds@xxxxxxxxxxxxxxxx>
> Subject: [thredds] Adding projections to WMS/TDS
> Message-ID: <51E90AE7.9010803@xxxxxxxxxxxx>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Hi,
> 
> I would like to add new projections to my WMS from TDS 4.3.17 -
> 20130607.1641
> 
> Projections I would like to add are :
> Gall-Peters  http://spatialreference.org/ref/sr-org/22/
> Robinson http://spatialreference.org/ref/esri/world-robinson/
> 
> How do I proceed ?
> 
> I have made some tests following the steps below :
> 
> 1) Explode the epsg-wkt.jar
> $ cd tds/apache-tomcat-7.0.34/webapps/thredds/WEB-INF/lib
> $ jar xvf epsg-wkt.jar
> 
> 2) Add OGC WKT Coordinate System encoding for the World Mollweide projection 
> $vi org/geotoolkit/referencing/factory/epsg/epsg.properties
> Add in a last line
> 54009=PROJCS["World_Mollweide",GEOGCS["GCS_WGS_1984",DATUM["WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Mollweide"],PARAMETER["False_Easting",0],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",0],UNIT["Meter",1],AUTHORITY["EPSG","54009"]]
>  
> 
> 
> 3) Recreate the jar file
> $ jar cvf epsg-wkt.jar org
> 
> 4) Restart the Tomcat
> 
> My testing request is :
> http://webportals.ipsl.jussieu.fr:8080/thredds/wms/CARBON/fco2_lmdz_matrix_peylin_1996-2004.nc?REQUEST=GetMap&VERSION=1.3.0&CRS=54009&WIDTH=300&HEIGHT=600&FORMAT=image/png&LAYERS=poste_land&TIME=1997-06-16&BBOX=-100,-30,100,60&STYLES=boxfill/redblue&COLORSCALERANGE=-100,100&NUMCOLORBANDS=30
>  
> 
> 
> But I get: The CRS 54009 is not supported by this server
> 
> Did I missunderstand something ?
> Do I have to rebuild the thredds.war or is the epsg-wkt.jar is dynamically 
> loaded ?
> 
> Regards
> Patrick
> 
> --
> LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ
> Data Analysis and Visualization Engineer ICMC - IPSL Climate Modelling Centre
> --
> 
> 
> 
> End of thredds Digest, Vol 54, Issue 10
> ***************************************
> 
> _______________________________________________
> thredds mailing list
> thredds@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit: 
> http://www.unidata.ucar.edu/mailing_lists/ 
 
 
 
-- 
LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ
Data Analysis and Visualization Engineer
ICMC - IPSL Climate Modelling Centre
--
 



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