[geotk] Pseudocylindrical projections

Jon Blower j.d.blower at reading.ac.uk
Tue Jun 11 09:27:39 PDT 2013


Hi Martin,

Thanks for the fast reply as usual!  I think for my use case I don't need the derivatives, so this approach may work.  However, I don't have the resources to try this out myself so I might wait until this is implemented in SIS.

Best wishes,
Jon

-----Original Message-----
From: geotoolkit-bounces at lists.osgeo.org [mailto:geotoolkit-bounces at lists.osgeo.org] On Behalf Of Martin Desruisseaux
Sent: 11 June 2013 09:40
To: geotoolkit at lists.osgeo.org
Subject: Re: [geotk] Pseudocylindrical projections

Hello Jon

Le 10/06/13 16:54, Jon Blower a écrit :
> Does Geotoolkit support pseudocylindrical projections (Robinson, Mollweide etc)?  One of our users has a use case for generating map imagery in one of these projections via WMS.

Unfortunately not yet. A workaround exists, but may be uneasy... It should be possible to use Proj.4 together with Geotk. However this has never been tested, and may require some adjustment in the Geotk code. 
Possible inconvenient is that using Proj.4 requires installation of a native library, and Proj.4 does not support (to my knowledge) map projection derivatives. Map projection derivatives are used for more accurate calculations of Envelope and faster raster reprojections, however Geotk code should still be capable to work in the absence of those derivatives.

I plan to test more extensively the "Java code" + "Proj.4" cohabitation in Apache SIS, where Proj.4 could be used as a fallback for projections not yet available in Java. This will hopefully be made easier by the use of a "dependency injection" framework in replacement of "org.geotoolkit.factory". The hope is to have the referencing module ported to SIS before the Frascati OGC meeting in September. In the main time, if the user feel adventurous, (s)he may try to install Proj.4 version 4.8 or above, checkout GeoAPI (http://www.geoapi.org/) from SVN, then try to build it with the following command:

mvn install -DskipNativeLibraryTests=false

The next steps would depend on whether the above worked well or not.

     Regards,
     Martin

_______________________________________________
Geotoolkit mailing list
Geotoolkit at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/geotoolkit


More information about the Geotoolkit mailing list