Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#7011 closed defect (fixed)

compound Name is lost when writing out file

Reported by: aghariani Owned by: warmerdam
Priority: normal Milestone: 2.2.2
Component: default Version: svn-trunk
Severity: normal Keywords:
Cc:

Description

The name of the Compound coordinate system is changed to unknown when saved.

Example:

gdalwarp -t_srs EPSG:32636+3855 input.tif output.tif

gdalinfo on the resulting file is giving:

COMPD_CS["unknown",

PROJCS["WGS 84 / UTM zone 36N",

GEOGCS["WGS 84",

DATUM["WGS_1984"......

Same thing with the c++ api when setting the projection as a COMPD_CS with a name, the COMPD name is lost on writing out the file.

Change History (3)

comment:1 by Even Rouault, 7 years ago

Resolution: fixed
Status: newclosed

In 39897:

GTiff: when reading a COMPD_CS (and GTIFF_REPORT_COMPD_CS=YES), set the name from the GTCitationGeoKey (fixes #7011)

comment:2 by Even Rouault, 7 years ago

In 39898:

GTiff: when reading a COMPD_CS (and GTIFF_REPORT_COMPD_CS=YES), set the name from the GTCitationGeoKey (fixes #7011)

comment:3 by Even Rouault, 7 years ago

Milestone: 2.2.2
Note: See TracTickets for help on using tickets.