[Proj] Relationship between proj4 and spatialreference.org

Jan Hartmann j.l.h.hartmann at uva.nl
Wed Jan 2 06:41:00 PST 2013


Hi Howard,

This is a problem, as OpenLayers looks by default to 
spatialreference.org when a projection has not been explicitly defined 
in the javascript code. This happens for example with the 
"displayProjection" item in the map controls. You get the wrong 
coordinates without being told that someting isn't right.

Is it very difficult to synchronize spatialreference.org with (e.g.) the 
proj epsg file? If I remember correctly, Frank has an automated updated  
procedure from the epsg database. Could that procedure be extended to 
spatialreference.org? I would be willing to put some effort in it, as I 
am working on a geographical indexing system of our map library, and 
there are many historical maps in it with projections that are not in 
the epsg database. Spatialreference.org would be an ideal system for 
these maps, but it would only be workable if all information were up to 
date.

Jan

On 12/31/2012 04:19 PM, Howard Butler wrote:
> On Dec 31, 2012, at 7:13 AM, Jan Hartmann <j.l.h.hartmann at uva.nl> wrote:
>
>> Can anyone tell me how the references at spatialreference.org are related to the proj-strings of the official proj library? Nowadays proj includes lots of WGS-84 shifts, and at least one of them (28992, Dutch RD) is not propagated to spatialreference.org.
> The relationship to spatialreference.org is one of being simply out-of-date. sr.org has not been updated in quite a while, and it needs a champion to come along and bring things forward.  sr.org gets its definitions from proj.4/GDAL as well as GeoTools. These have not been refreshed in at least a couple of years -- time for more than one EPSG database drop and the inclusion of datum shifting description in proj.4.
>
> Hope this helps,
>
> Howard
>
>
>
> _______________________________________________
> Proj mailing list
> Proj at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/proj
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20130102/1e28d730/attachment.html>


More information about the Proj mailing list