[Proj] Projection doesn't use +towgs84 parameters

Dražen Odobašić dodobasic at gmail.com
Mon Aug 2 11:30:13 EST 2010


On 02.08.2010 16:03, Jean-Claude REPETTO wrote:
> Le 02/08/2010 15:27, Dražen Odobašić a écrit :
>> Hi,
>>
>> i'm having an issue with transformation between two coordinate systems
>> using cs2cs. I've noticed this while trying to use gdalwrap, but using
>> cs2cs has same results.
>>
>> This is what im trying to execute:
>>
>> cs2cs +proj=tmerc +lat_0=0 +lon_0=15 +k=0.9999 +x_0=5500000 +y_0=0
>> +ellps=bessel
>> +towgs84=514.0188,155.448,507.0461,5.6136,3.676,-11.4667,0.9999979090043
>> +units=m +no_defs +to +proj=tmerc +lat_0=0 +lon_0=16.5 +k_0=0.9999
>> +x_0=500000 +ellps=WGS84 +units=m +no_defs -v
>
> You have forgotten to give the +towgs84 parameters for the second CS.
> Alternately, you could write "+datum=WGS84" instead of "+ellps=WGS84" .
>
> Jean-Claude

Oh, yes, now it makes sense, to define a projection system one needs to 
define a datum.

Thank you very much


More information about the Proj mailing list