Opened 8 years ago
Last modified 8 years ago
#84 new defect
GTIFGetProj4Defn (and listgeo.exe) : incomplete proj4 string for Proj4 (version>=4.6)
Reported by: | giorgiomugnaini | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | libgeotiff | Version: | 1.4.2 |
Keywords: | Cc: |
Description
The function GTIFGetProj4Defn in geo_normalize.h/geotiff_proj4.c is not able to produce a complete and correct proj4 string.
In particular the lack of suitable code producing "+datum" is manifest examining the code.
Parameter "+datum" is mandatory for Proj version > 4.6 in case of pj_transform() requiring datum shifts. So such function cannot be fruitfully employed with pj_init().
I.e., for an UTM33 tiff the incomplete proj4 string :
+proj=utm +zone=33 +ellps=WGS84 +units=m
will be produced, whereas the correct string should be:
+proj=utm +zone=33 +ellps=WGS84 +datum=WGS84 +units=m
Change History (2)
comment:1 by , 8 years ago
Summary: | GTIFGetProj4Defn : incomplete proj4 string for Proj4 (version>=4.6) → GTIFGetProj4Defn (and listgeo.exe) : incomplete proj4 string for Proj4 (version>=4.6) |
---|
comment:2 by , 8 years ago
Version: | 1.2.1 → 1.4.2 |
---|