[gdal-dev] Which Proj.4 transforms are available in GDAL?

Joaquim Luis jluis at ualg.pt
Thu Aug 24 13:12:55 PDT 2017


Hi Even,

I'm implementing Proj.4 in GMT via GDAL and now, in the the testing stage,  
I'm using data from

https://github.com/Beman/boost-trunk-git-svn/blob/master/libs/geometry/test_extensions/gis/projections/projections.cpp#L121

but to my surprise lots of projections are not implemented in GDAL. For  
example

gdaltransform -s_srs EPSG:4326 -t_srs +proj=airy +ellps=WGS84 +units=m
ERROR 1: Translating source or target SRS failed:
+proj=airy

Or

gdaltransform -s_srs EPSG:4326 -t_srs +proj=bonne
ERROR 6: Failed to initialize PROJ.4 with `+proj=bonne +lon_0=0 +lat_1=0  
+x_0=0 +y_0=0 +ellps=WGS84 +units=m +no_defs'.


Is there a place where I can find the list of available proj.4 transforms?



And also found some that do no agree between GDAL and proj. For example

echo 4.897 52.371 | proj +proj=vandg +ellps=WGS84 +units=m
489005.93       6431581.02

gdaltransform -s_srs EPSG:4326 -t_srs "+proj=vandg +ellps=WGS84 +units=m"
4.897 52.371
488459.293282675 6424391.46347316 0

Cheers

Joaquim


More information about the gdal-dev mailing list