<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Jan,<br>
<br>
You are correct that the Bonne projection hasn't been ported over
from PROJ.4 yet. To implement it would require converting the C
code in pj_Bonne.c to Javascript. All of the projection code
classes implement the init(), forward() and inverse() methods that
are called by Proj4js.transform.<br>
<br>
Mike<br>
<br>
<br>
<div class="moz-cite-prefix">On 18/01/2013 8:44 AM, Jan Hartmann
wrote:<br>
</div>
<blockquote cite="mid:50F951CB.1070504@uva.nl" type="cite">
<meta http-equiv="Context-Type" content="text/html;
charset=ISO-8859-1">
Hi all,<br>
<br>
I am working on a series of old maps using the Bonne projection
with the following Proj-string:<br>
<br>
+proj=bonne +lat_1=51.5000 +lon_0=4.8838828 +a=6376950.4
+rf=309.65 +units=m +no_defs <><br>
<br>
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:<br>
<br>
-how can the bonne projection be added to proj4js?<br>
-how can this projection be added to OpenLayers?<br>
<br>
Jan<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
MetaCRS mailing list
<a class="moz-txt-link-abbreviated" href="mailto:MetaCRS@lists.osgeo.org">MetaCRS@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/metacrs">http://lists.osgeo.org/mailman/listinfo/metacrs</a>
</pre>
</blockquote>
<br>
</body>
</html>