[MetaCRS] Proj4js: Bonne projection

Jan Hartmann j.l.h.hartmann at uva.nl
Fri Jan 18 05:44:43 PST 2013


Hi all,

I am working on a series of old maps using the Bonne projection with the 
following Proj-string:

  +proj=bonne +lat_1=51.5000 +lon_0=4.8838828  +a=6376950.4 +rf=309.65 
+units=m +no_defs <>

Works fine with gdal, mapserver and postgis, but not with proj4js, as 
used in OpenLayers. If I add this definition to my OpenLayers 
application, to get a real time displayProjection of the original map 
projection, I get two large numbers, zeroed on lat and lon 0. Changing 
parameters doesn't make any difference. In looking at the proj4js code, 
I don't see any mention of bonne. So here are two questions:

-how can the bonne projection be added to proj4js?
-how can this projection be added to OpenLayers?

Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/metacrs/attachments/20130118/b6da297d/attachment.html>


More information about the MetaCRS mailing list