David,

The simpliest way of correcting the coordinate system might be something
like:

  gdal_translate -a_srs EPSG:27700 wrong.tif right.tif

This assumes the coordinates are ok.  This does result in copying the whole
image and repacking it but avoids any resampling that might occur with
gdalwarp.

Best regards,
Frank



On Tue, May 28, 2013 at 8:25 AM, David Strip <[email protected]> wrote:

> I have a geotiff that contains data in Penn. State-Plane, but the
> coordinate system is listed as GCS WGS84. What's the best way to fix this,
> esp if I have multiple files with this problem?
> I can use listgeo to get a file of the all the tags, edit the coordinate
> system to the correct value, then use tiffcp on each file to strip out the
> tags and then use geotifcp to put back the correct ones, but I suspect
> there's a better way, perhaps using gdalwarp with the -to option set to
> override the input SRS, creating a trivial warp? Or maybe something simpler
> that I'm not seeing.
> thanks
> David
>
>
> ______________________________**_________________
> gdal-dev mailing list
> [email protected]
> http://lists.osgeo.org/**mailman/listinfo/gdal-dev<http://lists.osgeo.org/mailman/listinfo/gdal-dev>
>



-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam,
[email protected]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Software Developer
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to