[Gdal-dev] gdalwarp: Translating source or target SRS failed

Jachym Cepicky jachym.cepicky at centrum.cz
Fri May 5 04:09:42 EDT 2006


Hallo,

I try to reproject some raster files using gdalwarp:

gdalwarp -s_srs "+proj=krovak +lat_0=49.5 +lon_0=24.83333333333333 +alpha=30.28813972222222 +k=0.9999 +x_0=0  +y_0=0 +ellps=bessel +units=m +towgs84=570.8,85.7,462.8,4.998,1.587,5.261,3.56" -t_srs "+proj=latlong +datum=WGS84" teplota.tif teplota-wgs.tif
 
ERROR 1: Translating source or target SRS failed:
+proj=krovak +lat_0=49.5 +lon_0=24.83333333333333 +alpha=30.28813972222222 +k=0.9999 +x_0=0 +y_0=0 +ellps=bessel +units=m +towgs84=570.8,85.7,462.8,4.998,1.587,5.261,3.56

When I use cs2cs for signle coordinates pair, it works great:

echo "-868208.53      -1095793.57"| cs2cs  +proj=krovak +lat_0=49.5
+lon_0=24.83333333333333 +alpha=30.28813972222222 +k=0.9999 +x_0=0
+y_0=0 +ellps=bessel +units=m +no_defs
+towgs84=570.8,85.7,462.8,4.998,1.587,5.261,3.56 +to +proj=latlong
+datum=WGS84
12d48'25.16"E   49d27'8.146"N 46.959

Where could be the problem?

Thanks

Jachym
-- 
Jachym Cepicky
e-mail: jachym.cepicky at centrum.cz
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/gnupg_public_key/jachym_cepicky-gpg_public_key.asc
-----------------------------------------   
OFFICE:                                     
GDF-Hannover
Mengendamm 16d
30177 Hannover
Germany
e-mail: cepicky at gdf-hannover.de
URL:    http://gdf-hannover.de
Tel.:   +49 511-39088507
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : http://lists.osgeo.org/pipermail/gdal-dev/attachments/20060505/53db2b1e/attachment.bin


More information about the Gdal-dev mailing list