[Proj] cs2cs: Gauss-Krüger to WGS84

Andre Joost andre+joost at nurfuerspam.de
Sun Dec 9 21:12:10 PST 2012


Am 09.12.2012 23:57, schrieb Martin Trautmann:
> Hi all,
>
> may I ask for your help about how to use cs2cs.
>
> I got some sample data from southern Germany which (probably) comes in
> Gauß-Krüger format.
>
> A single sample point would be
>    WGS84: 49.737475,11.88695
>    GK:    4491957.175 5511210.407
> These values were computed by an online tool.
>
> When I try to convert from GK to WGS84, I guess I have to use:
>   cs2cs +init=/usr/local/share/proj/world:gk4-d +towgs84
> the result is
>   56d30'44.77"E	39d38'19.023"N 0.000
>
> That's far away. Another online example names:
>   cs2cs +init=epsg:31466 +to +init=epsg:4326
>


31466 is GK2, you should use EPSG:31468.

Correct syntax is

cs2cs +init=epsg:31468 +to +init=epsg:4326 in.txt >>out.txt

With in.txt containing the coordinates in Format East North

HTH,
André Joost







More information about the Proj mailing list