Hi Jan,<br>There is a simple TYPO in your commands:<br><br> -s_src EPSG:25832 -t_src EPSG:31468<br><br>you should use:<br>-s_srs EPSG:25832 -t_srs EPSG:31468<br><br>Note the last char for the referencing options, is an "s" instead of a "c". <br>
Then -s_srs instead of -s_src and -t_srs instead of -t_src :)<br><br>Hope this helps :)<br>Daniele<br><br><br><br><br><div class="gmail_quote">On Fri, Jan 14, 2011 at 4:04 PM, Jan Tappenbeck <span dir="ltr"><<a href="mailto:tappenbeck@widemann.de">tappenbeck@widemann.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br>
<br>
HI !<br>
<br>
i will translate a tif-image between two systems and use following command<br>
<br>
gdalwarp -s_src EPSG:25832 -t_src EPSG:31468 D:\XXXX\Orthophotos\2616_5806_RGB.tif D:\XXXX\Orthophotos\2616_5806_RGB_GK.tif<br>
<br>
then i get following message...<br>
<br>
Usage: gdalwarp [--help-general] [--formats]<br>
[-s_srs srs_def] [-t_srs srs_def] [-to "NAME=VALUE"]<br>
[-order n] [-tps] [-rpc] [-geoloc] [-et err_threshold]<br>
[-te xmin ymin xmax ymax] [-tr xres yres] [-ts width height]<br>
[-wo "NAME=VALUE"] [-ot Byte/Int16/...] [-wt Byte/Int16]<br>
[-srcnodata "value [value...]"] [-dstnodata "value [value...]"] -dstalpha<br>
[-r resampling_method] [-wm memory_in_mb] [-multi] [-q]<br>
[-cutline datasource] [-cl layer] [-cwhere expression]<br>
[-csql statement] [-cblend dist_in_pixels]<br>
[-of format] [-co "NAME=VALUE"]*<br>
srcfile* dstfile<br>
<br>
Available resampling methods:<br>
near (default), bilinear, cubic, cubicspline, lanczos.<br>
<br>
when i modify the command to ....<br>
<br>
gdalwarp -s_src EPSG:25832 -t_src EPSG:31468 -r near D:\XXXX\Orthophot ...<br>
or<br>
gdalwarp -s_src EPSG:25832 -t_src EPSG:31468 -r bilinear D:\XXXX\Orthophot ...<br>
or<br>
gdalwarp -s_src EPSG:25832 -t_src EPSG:31468 -r cubic D:\XXXX\Orthophot ...<br>
or<br>
gdalwarp -s_src EPSG:25832 -t_src EPSG:31468 -r cubicspline D:\XXXX\Orthophot ...<br>
or<br>
gdalwarp -s_src EPSG:25832 -t_src EPSG:31468 -r lanczos D:\XXXX\Orthophot ...<br>
<br>
it resonse the same message and nothing will happen!<br>
<br>
the image-informations are...<br>
<br>
C:\Program Files (x86)\FWTools2.4.7>gdalinfo D:\XXXX\Orthophotos\2616_5806_<br>
RGB.tif<br>
Driver: GTiff/GeoTIFF<br>
Files: D:\Wolfsburg\Orthophotos\2616_5806_RGB.tif<br>
D:\Wolfsburg\Orthophotos\2616_5806_RGB.tfw<br>
Size is 10000, 10000<br>
Coordinate System is `'<br>
Origin = (616000.000000000000000,5807000.000000000000000)<br>
Pixel Size = (0.100000000000000,-0.100000000000000)<br>
Metadata:<br>
TIFFTAG_SOFTWARE=IrfanView<br>
TIFFTAG_XRESOLUTION=0<br>
TIFFTAG_YRESOLUTION=0<br>
TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)<br>
Image Structure Metadata:<br>
INTERLEAVE=PIXEL<br>
Corner Coordinates:<br>
Upper Left ( 616000.000, 5807000.000)<br>
Lower Left ( 616000.000, 5806000.000)<br>
Upper Right ( 617000.000, 5807000.000)<br>
Lower Right ( 617000.000, 5806000.000)<br>
Center ( 616500.000, 5806500.000)<br>
Band 1 Block=10000x1 Type=Byte, ColorInterp=Red<br>
Band 2 Block=10000x1 Type=Byte, ColorInterp=Green<br>
Band 3 Block=10000x1 Type=Byte, ColorInterp=Blue<br>
<br>
regards Jan :-)<br>
<br>
<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>-------------------------------------------------------<br>Ing. Daniele Romagnoli <br>Software Engineer<br><br>GeoSolutions S.A.S.<br>Via Poggio alle Viti 1187<br>
55054 Massarosa (LU)<br>Italy<br><br>phone: +39 0584962313<br>fax: +39 0584962313<br>mob: +39 328 0559267<br><br><br><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a><br><a href="http://geo-solutions.blogspot.com/" target="_blank">http://geo-solutions.blogspot.com/</a><br>
<br>-------------------------------------------------------<br><br>