Opened 2 months ago

Closed 2 months ago

Last modified 2 months 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 Changed 2 months ago by Even Rouault

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 Changed 2 months ago by Even Rouault

In 39898:

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

comment:3 Changed 2 months ago by Even Rouault

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