[OpenLayers-Users] Robinson projection
Alex Mandel
tech_dev at wildintellect.com
Fri Mar 1 10:32:31 PST 2013
On 03/01/2013 02:20 AM, pascal wrote:
> Hi,
> I would like to have my maps in epsg4326 and in Robinson projections (at the
> moment, I need to do this job on the client side only).
> But I don't find the proj4.js definition, equation.
> I saw that d3.js library has a plugin to do this but I don't really know how
> to integrate it to OpenLayers.
> Anyone could help me?
>
> Thanks a lot,
>
> Pascal.
>
+proj=robin +lon_0=0 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m
+no_defs
You actually just need the proj4js lib.
http://docs.openlayers.org/library/spherical_mercator.html
http://dev.openlayers.org/releases/OpenLayers-2.6/doc/apidocs/files/OpenLayers/Projection-js.html
http://trac.osgeo.org/proj4js/wiki/UserGuide
Enjoy,
Alex
More information about the Users
mailing list