Opened 13 years ago

Closed 13 years ago

Last modified 11 years ago

#3063 closed defect (fixed)

ENVI .hdr ingestion puts RPC information in non-standard metadata tag

Reported by: cjanssen Owned by: warmerdam
Priority: normal Milestone:
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords: ENVI RPC


The RPC information read from an ENVI header file in the ENVIDataset::ProcessRPCinfo function is placing the values in a nonstandard metadata tag. Its currently placing the metadata in the default domain with the "RPC_" prefix on each tag. I believe the appropriate action is to place the values without the prefix in the RPC domain of the metadata. I have attached a sample .hdr file.

Attachments (1)

10-24.hdr (2.5 KB ) - added by cjanssen 13 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by warmerdam, 13 years ago

Component: defaultGDAL_Raster
Keywords: ENVI RPC added
Status: newassigned

I tried working with this hdr but it has a file type of "TIFF" while it appears the current ENVI driver only supports raw files labelled with ENVI .hdrs.

Were you able to use this file?

by cjanssen, 13 years ago

Attachment: 10-24.hdr added

comment:2 by cjanssen, 13 years ago

Sorry about that, I re-exported the file out as an ENVI Standard format, I believe this is a RAW. I checked GDAL 1.6.1 and it will load it just with the RPC info out of place.

comment:3 by warmerdam, 13 years ago

Resolution: fixed
Status: assignedclosed

I have adjusted the RPC metadata handling in trunk (r17396).

This area would benefit from a regression test!

comment:4 by Even Rouault, 11 years ago

Regression test added in :

r23898 /trunk/ (4 files in 3 dirs): ENVI: add support for writing RPCs and GCPs (partial merge of r23847 from 1.8-esri)

Note: See TracTickets for help on using tickets.