[Gdal-dev] read prj & metadata from .html file?
Frank Warmerdam
fwarmerdam at gmail.com
Tue Feb 1 16:44:54 EST 2005
On Tue, 01 Feb 2005 13:04:26 -0800, Matt Wilkie <matt.wilkie at gov.yk.ca> wrote:
> Hi there,
>
> Has anybody done any work to allow gdal_translate/info read metadata and
> projection info from an html file?
>
> I have 3000 DRGs downloaded from the USGS and I would like to install
> the metadata directly in the tiffs. Currently gdal reads the origin,
> pixel size, corner coords, etc. from the .tfw but misses the UTM Zone,
> spheriod, etc. in the metadata file.
>
> Is this possible or am I dreaming (a common occurence, believe me :)
Matt,
I'm not really interested in having the GDAL GeoTIFF driver go digging
around for html files to get metadata from. Instead, I would suggest you
write a script to capture the metadata and apply it in your translation.
You can use the -a_srs switch to assign a particular coordinate system.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the Gdal-dev
mailing list