[gdal-dev] Failure to convert to Airy

Joaquim Manuel Freire Luís jluis at ualg.pt
Mon Jun 17 09:08:36 PDT 2019


Even

I'm seeing this failure with the airy conversion

echo 4.897 52.371 | gdaltransform -s_srs +proj=longlat -t_srs +proj=airy

ERROR 1: PROJ: proj_create: Error -50: malformed pipeline
ERROR 6: Cannot find coordinate operations from `PROJCRS["unknown",BASEGEOGCRS["unknown",DATUM["World Geodetic System 1984",ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]],ID["EPSG",6326]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8901]]],CONVERSION["unknown",METHOD["PROJ airy"]],CS[Cartesian,2],AXIS["(E)",east,ORDER[1],LENGTHUNIT["metre",1,ID["EPSG",9001]]],AXIS["(N)",north,ORDER[2],LENGTHUNIT["metre",1,ID["EPSG",9001]]]]' to `GEOGCRS["unknown",DATUM["World Geodetic System 1984",ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]],ID["EPSG",6326]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8901]],CS[ellipsoidal,2],AXIS["longitude",east,ORDER[1],ANGLEUNIT["degree",0.0174532925199433,ID["EPSG",9122]]],AXIS["latitude",north,ORDER[2],ANGLEUNIT["degree",0.0174532925199433,ID["EPSG",9122]]]]'
328249.00331295 4987937.10144727 0


This is from a GDAL+PROJ6.1 build a couple weeks ago

gdaltransform --version
GDAL 3.1.0dev, released 2019/99/99

Others work well. For example

echo 4.897 52.371 | gdaltransform -s_srs +proj=longlat -t_srs +proj=lagrng
253763.012478277 3354569.86001135 0

Joaquim


More information about the gdal-dev mailing list