[gdal-dev] Re: [WISY-Spam]Re: Problems with transform raster image
Chaitanya kumar CH
chaitanya.ch at gmail.com
Mon Oct 31 11:24:46 EDT 2011
Jan,
[1]: http://www.gdal.org/frmt_various.html#WLD
On Mon, Oct 31, 2011 at 8:39 PM, Jan Tappenbeck <osm at tappenbeck.net> wrote:
>
>
> Hi !
>
> this is a very strange way - i have tfw-file for the images.
>
> is there a possibility to integrate this information to the
> gdalwarp-command.
>
GDAL should automatically check for .tfw file. Check if the .tfw file is
according to the specified format[1].
>
in the web i only found the additional command -co tfw=yes - but then only
> a list of possible options will list !!!!!
>
The TFW=YES creation option is used to 'create' the world file while
creating new files.
> please help !
>
> regards Jan :-)
>
> Am 25.10.2011 14:40, schrieb Chaitanya kumar CH:
>
>> 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
>> <mailto: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 <mailto:tappenbeck at widemann.de**>
>> www.widemann.de <http://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/>
>>
>> <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>
>>
>> <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 <mailto:gdal-dev at lists.osgeo.**org<gdal-dev at lists.osgeo.org>
>> >
>> http://lists.osgeo.org/__**mailman/listinfo/gdal-dev<http://lists.osgeo.org/__mailman/listinfo/gdal-dev>
>>
>> <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
>>
>>
>>
>> ______________________________**_________________
>> 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/20111031/eba862af/attachment.html
More information about the gdal-dev
mailing list