[gdal-dev] Problems with transform raster image

Chaitanya kumar CH chaitanya.ch at gmail.com
Tue Oct 25 08:40:51 EDT 2011


Jan,

You need to assign not only the projection of the source file but also the
geographical extents. The easiest way to do this is by adding GCPs to it
using the -gcp option of gdal_translate to create a new tif file. Use the
four corners of the image. Remember that the top left of the top left pixel
is (0,0) and bottom right of the bottom right pixel is (width,height).

On Tue, Oct 25, 2011 at 3:33 PM, Jan Tappenbeck <tappenbeck at widemann.de>wrote:

>
>
>  hi
>
> i try to transform a rasterimage with following command:
>
> gdalwarp -s_srs EPSG:25832 -t_srs EPSG:31466 [Path]\DOP_3905470.tif
> [Path]\DOP_3905470_trans.tif
>
> the message is ...
>
> C:\Program Files (x86)\FWTools2.4.7>gdalwarp -s_srs EPSG:25832 -t_srs
> EPSG:31466
>  [Path]\DOP_3905470.tif [Path]\DOP_3905470_trans.tif
> ERROR 1: Unable to compute a transformation between pixel/line
> and georeferenced coordinates for [Path]\DOP_3905470.tif.
> There is no affine transformation and no GCPs.
>
> and the data of the source:....
>
> Driver: GTiff/GeoTIFF
> Files: [Path]\DOP_3905470.tif
> Size is 10000, 10000
> Coordinate System is `'
> Image Structure Metadata:
>  INTERLEAVE=PIXEL
> Corner Coordinates:
> Upper Left  (    0.0,    0.0)
> Lower Left  (    0.0,10000.0)
> Upper Right (10000.0,    0.0)
> Lower Right (10000.0,10000.0)
> Center      ( 5000.0, 5000.0)
> Band 1 Block=10000x1 Type=Byte, ColorInterp=Red
> Band 2 Block=10000x1 Type=Byte, ColorInterp=Green
> Band 3 Block=10000x1 Type=Byte, ColorInterp=Blue
>
> can anybody help me ?
>
> regards Jan .-)
>
> --
>
> Freundliche Grüße
> i.A. Jan Tappenbeck
>
> Dipl. Vermessungsingenieur
> CAD-Systemberater&  AutoCAD-Support
>
> Widemann Systeme GmbH
> CAD- und GIS-Systemhaus
> Wiesbaden · Hamburg · München · Düsseldorf
>
> Ackermannstraße 21, 22087 Hamburg
> Fon: 040 / 229477-22
> Fax: 040 / 229477-29
> tappenbeck at widemann.de    www.widemann.de
>
> Sitz der Gesellschaft: Wiesbaden, Amtsgericht Wiesbaden HRB 23345
>
> Zu jedem Produkt das passende Forum unter http://www.widemann.de/**
> wisysforen/ <http://www.widemann.de/wisysforen/>
>
>
> Widemann Systeme - aktuell:
>
> geosi.DE - Vermessungssoftware ...
> ... für Straßenbau, Bauwesen, ....
>
> - weitere Infos unter:
> http://www.widemann.de/**produkte/geoside/geosi.htm<http://www.widemann.de/produkte/geoside/geosi.htm>
>
>
> Diese E-Mail enthält vertrauliche oder rechtlich geschützte Informationen.
> Wenn Sie nicht der beabsichtigte Empfänger sind, informieren Sie bitte
> sofort den Absender und löschen Sie diese E-Mail. Das unbefugte Kopieren
> dieser E-Mail oder die unbefugte Weitergabe der enthaltenen Informationen
> ist nicht gestattet.
>
> The information contained in this message is confidential or protected by
> law. If you are not the intended recipient, please contact the sender and
> delete this message. Any unauthorised copying of this message or
> unauthorised
> distribution of the information contained herein is prohibited.
>
>
> ______________________________**_________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/**mailman/listinfo/gdal-dev<http://lists.osgeo.org/mailman/listinfo/gdal-dev>
>



-- 
Best regards,
Chaitanya kumar CH.

+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20111025/1b38df07/attachment.html


More information about the gdal-dev mailing list