[Geoserver-users] Rotated pole coordinate system

Hi,

is it possible to define in geoserver a custom coordinate system to handle rotated pole coordinates, quite common in NWP world?

Here is WKT working with gdal_translate. Last line is the key one, of course.

PROJCS["unnamed",
     GEOGCS["WGS 84",
         DATUM["WGS_1984",
             SPHEROID["WGS 84",6378137,298.257223563,
                 AUTHORITY["EPSG","7030"]],
             TOWGS84[0,0,0,0,0,0,0],
             AUTHORITY["EPSG","6326"]],
         PRIMEM["Greenwich",0,
             AUTHORITY["EPSG","8901"]],
         UNIT["degree",0.0174532925199433,
             AUTHORITY["EPSG","9108"]],
         AUTHORITY["EPSG","4326"]],
     PROJECTION["custom_proj4"],
     EXTENSION["PROJ4","+proj=ob_tran +o_proj=longlat +to_meter=0.0174533 +lon_0=-180 +o_lat_p=37.5 +o_lon_p=199.3 +ellps=WGS84 +datum=WGS84 +wktext +no_defs"]]

Regards

Maciej

Hi Maciej,

the specification of a user-defined CRS is explained in http://docs.geoserver.org/stable/en/user/advanced/crshandling/customcrs.html.
We specified a new CRS for the COSMO NWP model (http://www.cosmo-model.org/ ) as follows:

PROJCS["COSMO projection",
  GEOGCS["COSMO Coordinate System",
    DATUM["COSMO Kugel", SPHEROID["Erdkugel", 6371229.0, 0.0]],
    PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
    UNIT["degree", 0.017453292519943295],
    AXIS["Longitude", EAST],
    AXIS["Latitude", NORTH]],
  PROJECTION["Rotated_Latitude_Longitude"],
  PARAMETER["central_meridian", -170.0],
  PARAMETER["latitude_of_origin", 40.0],
  PARAMETER["scale_factor", 1.0],
  PARAMETER["false_easting", 0.0],
  PARAMETER["false_northing", 0.0],
  UNIT["m", 1.0],
  AUTHORITY["EPSG","1000003"]]

The COSMO model uses a "rotated latitude longitude" projection. This projection is not supported by GeoServer. If you wish then I can provide you the Java class that has to be added to the gt-referencing.jar library.

Kind regards,
Jürgen

-----------------------------------
Dr. Jürgen Seib
Deutscher Wetterdienst
TI1/K - IT-Koordination
Frankfurter Strasse 135
63067 Offenbach
Tel.: +496980622609
EMail: juergen.seib@anonymised.com

-----Ursprüngliche Nachricht-----
Von: Maciej Filocha [mailto:m.filocha@anonymised.com]
Gesendet: Freitag, 8. Mai 2015 11:41
An: GeoServer Mailing List List
Betreff: [Geoserver-users] Rotated pole coordinate system

Hi,

is it possible to define in geoserver a custom coordinate system to handle rotated pole coordinates, quite common in NWP world?

Here is WKT working with gdal_translate. Last line is the key one, of course.

PROJCS["unnamed",
     GEOGCS["WGS 84",
         DATUM["WGS_1984",
             SPHEROID["WGS 84",6378137,298.257223563,
                 AUTHORITY["EPSG","7030"]],
             TOWGS84[0,0,0,0,0,0,0],
             AUTHORITY["EPSG","6326"]],
         PRIMEM["Greenwich",0,
             AUTHORITY["EPSG","8901"]],
         UNIT["degree",0.0174532925199433,
             AUTHORITY["EPSG","9108"]],
         AUTHORITY["EPSG","4326"]],
     PROJECTION["custom_proj4"],
     EXTENSION["PROJ4","+proj=ob_tran +o_proj=longlat
+to_meter=0.0174533 +lon_0=-180 +o_lat_p=37.5 +o_lon_p=199.3
+ellps=WGS84 +datum=WGS84 +wktext +no_defs"]]

Regards

Maciej

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

On Fri, May 8, 2015 at 3:01 PM, Seib Jürgen <Juergen.Seib@anonymised.com> wrote:

Hi Maciej,

the specification of a user-defined CRS is explained in
http://docs.geoserver.org/stable/en/user/advanced/crshandling/customcrs.html
.
We specified a new CRS for the COSMO NWP model (
http://www.cosmo-model.org/ ) as follows:

PROJCS["COSMO projection",
  GEOGCS["COSMO Coordinate System",
    DATUM["COSMO Kugel", SPHEROID["Erdkugel", 6371229.0, 0.0]],
    PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
    UNIT["degree", 0.017453292519943295],
    AXIS["Longitude", EAST],
    AXIS["Latitude", NORTH]],
  PROJECTION["Rotated_Latitude_Longitude"],
  PARAMETER["central_meridian", -170.0],
  PARAMETER["latitude_of_origin", 40.0],
  PARAMETER["scale_factor", 1.0],
  PARAMETER["false_easting", 0.0],
  PARAMETER["false_northing", 0.0],
  UNIT["m", 1.0],
  AUTHORITY["EPSG","1000003"]]

The COSMO model uses a "rotated latitude longitude" projection. This
projection is not supported by GeoServer. If you wish then I can provide
you the Java class that has to be added to the gt-referencing.jar library.

Why not contribute it to the main GeoTools library? We are getting a number
of
extra projections contributed by various parties this semester

Cheers
Andrea

--

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

-------------------------------------------------------