[Proj] Conversion to Swiss coordinates

Oscar van Vlijmen ovv at hetnet.nl
Tue Jan 9 13:47:01 EST 2007


> From: Mathias bavay
> Date: Tue, 09 Jan 2007 16:43:55 +0100
> Subject: [Proj] Conversion to Swiss coordinates

> I found in the epsg file the transformation for Swiss coordinates. I
> then tried to convert (47.38195,8.54879) (lat/long) to Swiss coordinates
> using the following command line:
> 
> echo "47.38195 8.54879" | cs2cs -r -s +proj=latlong +datum=WGS84 +to
> +proj=somerc +lat_0=46.95240555555556 +lon_0=7.439583333333333
> +x_0=2600000 +y_0=1200000 +ellps=bessel
> +towgs84=674.374,15.056,405.346,0,0,0,0 +units=m +no_defs
> 
> Basically, everything after the "+to" is a cut and paste of the epsg
> file. But instead of (600920,228685) it gives me "1248494.59
> 2683831.35 -47.46"

Superficially I should say: the coordinates 600920, 228685 look like LV03
coordinates which has x0 = 600000; y0 = 200000;
See epsg init no. 21781.
But with these parameters I get 683748.143, 248341.745.
With the LV95 parameters (see epsg init 2056) I get the mentioned
1248494.593, 2683831.350, -47.460.



More information about the Proj mailing list