[gdal-dev] No like "wgs84"

Joaquim Manuel Freire Luís jluis at ualg.pt
Sun Feb 24 15:20:10 PST 2019


Even, me again.

Don't know if this is on purpose but it breaks previous behavior.

GDAL 2.5dev does not like lower case 'wgs84'

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

gdaltransform -t_srs "+proj=utm +zone=29 +datum=wgs84 +units=m +no_defs" -s_srs "+proj=longlat"
ERROR 1: PROJ: proj_create: Error -9: unknown elliptical parameter name
ERROR 1: Translating source or target SRS failed:
+proj=utm +zone=29 +datum=wgs84 +units=m +no_defs

gdaltransform -t_srs "+proj=utm +zone=29 +datum=WGS84 +units=m +no_defs" -s_srs "+proj=longlat"
-45 0
-3801310.44388964 0 0

----------------------------------- Older version doesn't mind ------------------------------------------------------------------
gdaltransform --version
GDAL 2.3.0dev, released 2017/99/99

gdaltransform -t_srs "+proj=utm +zone=29 +datum=wgs84 +units=m +no_defs" -s_srs "+proj=longlat"
-45 0
-3801310.44388964 0 0


More information about the gdal-dev mailing list