[Proj] Projection doesn't use +towgs84 parameters

Jean-Claude REPETTO jrepetto at free.fr
Mon Aug 2 09:03:42 EST 2010


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


More information about the Proj mailing list