Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#4465 closed enhancement (fixed)

[PATCH] PVL Image metadata support

Reported by: bishop Owned by: warmerdam
Priority: normal Milestone: 1.10.0
Component: GDAL_Raster Version: svn-trunk
Severity: normal Keywords: GTIFF PVL Metadata


The gtiff driver supports DigitalGlobe data pack, which usually includes *.rpb and *.imd files. GeoEye have the same combination *_rpc.txt and *.pvl file. _rpc.txt support I added #3639 ticket. Now I add *.pvl support. Test imagery can be freely get from OrbView-3 dataset.

Attachments (1)

add_pvlmd_support.patch (5.6 KB ) - added by bishop 11 years ago.
gtiff pvl metadata support patch

Download all attachments as: .zip

Change History (3)

by bishop, 11 years ago

Attachment: add_pvlmd_support.patch added

gtiff pvl metadata support patch

comment:1 by Even Rouault, 11 years ago

Milestone: 2.0.0
Resolution: fixed
Status: newclosed

Patch committed with just a modification : I removed the following part that I think is unnecessary (and testing with .pvl or .PVL file worded). Please confirm it works :

/* -------------------------------------------------------------------- */ 
/*      Try to identify the IMD file in upper or lower case.            */ 
/* -------------------------------------------------------------------- */ 
CPLString osTarget = GDALFindAssociatedFile( osPVLFile.c_str(), "PVL",  
                                             NULL, 0 ); 
if( osTarget == "" ) 

r23790 /trunk/gdal/frmts/gtiff/ (geotiff.cpp gt_wkt_srs_for_gdal.h libtiff/tif_dir.c): GTIFF: Add support for reading GeoEye *.pvl metadata files (patch by bishop, #4465)

r23791 /trunk/gdal/frmts/gtiff/ (gt_wkt_srs_for_gdal.h libtiff/tif_dir.c): Revert files accidentaly commited in r23790

comment:2 by bishop, 11 years ago

I have checked current trank with .pvl and .PVL file - everything is works. Thanks!

Note: See TracTickets for help on using tickets.