[gdal-dev] Question on creating geotiff from tif based on tfw/tab and EPSG code

Even Rouault even.rouault at spatialys.com
Mon Jun 12 10:41:00 PDT 2017


On lundi 12 juin 2017 17:22:58 CEST Niels.vonFestenberg-Packisch.ext at rohde-schwarz.com 
wrote:
> Hello,
> I would like to add geotiff meta data to an existing tif file.
> The meta data is known as tfw/tab files and as EPSG code. I was trying
> hard to have this done with fwtools and geotifcp, but I couldn't create a
> proper meta data file based on the EPSG code (even though the proj4 is
> available). As I haven't got a working sample file with the desired EPSG
> code, I wonder if there is some non-manual method to create one based on
> one of the strings given here: http://spatialreference.org/ref/epsg/31468/
> ).
> Is this feasible at all? 

Niels,

gdal_edit.py -a_srs EPSG:XXXXX your.tif

See http://gdal.org/gdal_edit.html

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170612/d643a915/attachment.html>


More information about the gdal-dev mailing list