[OSRS-PROJ] Gauss-Krueger to WGS 84

Frank Warmerdam warmerdam at pobox.com
Tue Jun 19 12:55:35 EDT 2001

Ilja Schneider wrote:
> Hi,
> I'm using the following form to convert from Gauss-Krueger to WGS 84 and
> it works.
> "proj -I +proj=tmerc +a=6377397.1550000003 +es=0.0066743720\
>   +lat_0=0.0000000000 +lon_0=$bezug +k=1.0000000000 +x_0=$ans
> +unfact=1.0000000000"
> My Problem: How I can get decimal output instead of degrees
> (16d7'31.85"W     3d50'42.613"N)?
> There is a -f option for output, but I havn't found the right arguments
> for it.


The -f parameter takes "printf" style arguments.  Try adding `-f "%.10f"' to
your command switches for decimal degrees with 10 decimal places of accuracy.

Best regards,

I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent
PROJ.4 Discussion List
See http://www.remotesensing.org/proj for subscription, unsubscription
and other information.

More information about the Proj mailing list