[Gdal-dev] FW: ERROR 6: Failed to initialize PROJ.4 with ...

Helmut Kudrnovsky hellik at web.de
Thu Jul 5 04:48:53 EDT 2007



>Helmut Kudrnovsky wrote:
>> ERROR 6: Failed to initialize PROJ.4 with `+ellps=bessel
>> +towgs84=598.1,73.7,418.2,0.202,0.045,-2.455,6.7 +units=m +no_defs '.
>> Creating output file that is 3643P x 3885L.
>> Processing input file teil2_gw_gk31.tif.
>> ERROR 6: Failed to initialize PROJ.4 with `+ellps=bessel
>> +towgs84=598.1,73.7,418.2,0.202,0.045,-2.455,6.7 +units=m +no_defs '.
>> :0...10...20...30...40...50...60...70...80...90...100 - done.
>>
>> what does this error message "ERROR 6: Failed to initialize PROJ.4..."
>> mean?

>It usually means the SRS is unknown or parameters are invalid.

>> i've got the TOWGS84 parameters for source (epsg-code: 1618, MGI to
>> WGS 84-3) and target (epsg-code: 1777, DHDN to WGS 84-2)  from the
>> epsg-database

>Could you try to use EPSG codes directly instead of definitions
>from .prj files?

>Please, check if following command works for you:

>gdalwarp -of GTiff -s_srs EPSG:4312 -t_srs EPSG:4314 teil2_gw_gk31.tif
>teil2_gw_dhdnz3.tif

i've tried command above and there is another error-message:

"ERROR 1: Too many points (441 out of 441) failed to transform, unable to compute output bounds."

>where 4312 is EPSG code of MGI and 4314 of DHDN.

>Cheers
>-- 
>Mateusz Loskot
>http://mateusz.loskot.net

cheers 
helli


_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066




More information about the Gdal-dev mailing list