Opened 14 years ago

Closed 14 years ago

Last modified 11 years ago

#3251 closed defect (fixed)

Missing geotransform after converting to a PIX

Reported by: gaopeng Owned by: warmerdam
Priority: high Milestone:
Component: GDAL_Raster Version: 1.6.1
Severity: normal Keywords: PCIDSK
Cc:

Description

Attached sample image, i8s_7i.img has geotransform, and no SR. Once converted to a PIX, the geotransform is lost, i.e. PCIDSK driver can't find any geotransform in the output PIX, test8pix.pix.

Attachments (2)

PCIDSK.zip (513.5 KB ) - added by gaopeng 14 years ago.
Sample input img image
PCIDSK2.zip (468.6 KB ) - added by gaopeng 14 years ago.
Sample output PIX image

Download all attachments as: .zip

Change History (5)

by gaopeng, 14 years ago

Attachment: PCIDSK.zip added

Sample input img image

by gaopeng, 14 years ago

Attachment: PCIDSK2.zip added

Sample output PIX image

comment:1 by warmerdam, 14 years ago

Keywords: PCIDSK added
Owner: changed from Warmerdam to warmerdam
Priority: normalhigh
Status: newassigned

I have confirmed the same problem with a simple gdal_translate - the geotransform values are lost.

comment:2 by warmerdam, 14 years ago

Resolution: fixed
Status: assignedclosed

the geotransform was being written out but with a coordinate system of "PIXEL". However, on read, GDAL and I think PCI tools ignore the georeferencing transform for PIXEL. So instead, if there is no coordinate system but there is a non-default transformation I write "METER" as the coordinate system. This seems to resolve the issue.

Fixed in trunk (r18109), 1.6 (r18110) and 1.6-esri (r18111).

comment:3 by Even Rouault, 11 years ago

Milestone: 1.6.4

Milestone 1.6.4 deleted

Note: See TracTickets for help on using tickets.