CS2CS(1) PROJ CS2CS(1) (NAME) cs2cs - (SYNOPSIS) cs2cs [-eEfIlrstvwW [args]] [[--area ] | [--bbox ]] [--authority ] [--3d] [--accuracy ] [--only-best[=yes|=no]] [--no-ballpark] [--s_epoch {epoch}] [--t_epoch {epoch}] ([+opt[=arg] ...] [+to +opt[=arg] ...] | {source_crs} {target_crs}) file ... {source_crs} {target_crs} proj_create() <#c.proj_create> (CRS) : o (proj-string) o WKT o ( "EPSG:4326" "urn:ogc:def:crs:EPSG::4326" "urn:ogc:def:coordinateOperation:EPSG::1671") o "WGS 84" "WGS 84 / UTM zone 31N". (heuristics) . o CRS (epoch) '@' "" ( 9.2). o OGC URN (compound CRS) ( "" "EPSG:2393+5717") o OGC URN CRS CRS "UTM zone 31N / WGS 84 (3D)": "" ( 6.2). o OGC URN (concatenated operations) ( ""). o PROJJSON ( 6.2). o CRS " + " "WGS 84 + EGM96 height" ( 7.1). 6.0.0. : 7.0.1 +to {source_crs} {target_crs} . (DESCRIPTION) cs2cs (CRS) . (datum shift) . : -I CRS CRS . -t a . ASCII ( # ). -d 5.2.0. . -e string . : *\t*. -E . -l<[=id]> +proj . cs2cs -l=id id cs2cs -l=merc. -lp +proj . cs2cs -l. -lP +proj . -le +ellps . -lm +pm . . -lu +units . -r CRS . ( ) . -s CRS . ( ) . -f format printf . . . "%.2f" DMS ( ) . -w n ( -w3 ). -W n . -W . : -W0 -W8. -v . --area 8.0.0. CRS . ( "Denmark - onshore") AUTHORITY:CODE ( EPSG:3237) . --bbox . --bbox 8.0.0. CRS . (bounding box) CRS . west_long east_long [-180,180] south_lat north_lat [-90,90] . west_long east_long (antimeridian) . --only-best[=yes|=no] 9.2.0. cs2cs PROJ . cs2cs . << >> () ( ). PROJ_ONLY_BEST_DEFAULT only_best_default proj.ini <#proj-ini> ( --only-best ). --no-ballpark 8.0.0. (Ballpark transformation <#term-Ballpark-transformation>) . --accuracy 8.0.0. . --authority 8.0.0. (authority) . authority_to_authority_preference CRS /. any . any ( EPSG). --bbox . --3d 9.1. () CRS CRS . PROJ CRS PROJ 9.1 CRS . PROJ 9.1 CRS . --s_epoch 9.4. (Epoch) CRS . CRS (dynamic CRS) . --t_epoch 9.4. (Epoch) CRS . CRS (dynamic CRS) . +opt . cs2cs (CRS) . EPSG WKT CRS PROJ.4 . CRS CRS (datum) CRS . CRS ( CRS ) . WKT AUTHORITY:CODE CRS . EPSG:4326 ( ) . cs2cs proj_create_crs_to_crs() <#c.proj_create_crs_to_crs> . PROJ_DATA <#envvar-PROJ_DATA> ( ) . ( ) . - (stdin) . stdin . ASCII . ( ) DMS ( ) . DMS ( -f %.12f ) () ( ) . (Use of remote grids) 7.0.0. PROJ_NETWORK <#envvar- PROJ_NETWORK> ON cs2cs () CDN ( ) . <#network> . (EXAMPLES) EPSG / WGS 84 ( ) UTM WGS 84 cs2cs EPSG:4326 EPSG:32631 < : 421184.70 4983436.77 0.00 EPSG / WGS 84 ( ) EGM96 UTM WGS 84 WGS84 echo 45 2 0 | cs2cs "WGS 84 + EGM96 height" "WGS 84 / UTM zone 31N" --3d : 421184.70 4983436.77 50.69 : EGM96 . PROJ : cs2cs +proj=latlong +datum=NAD83 +to +proj=utm +zone=10 +datum=NAD27 -r <15'33.1" 111.5W 45d15.551666667N -111d30 +45.25919444444 111d30'000w EOF NAD83 NAD27 UTM . DMS . x-y : 1402285.93 5076292.58 0.00 ( NADCON5 us_noaa_nadcon5_nad27_nad83_1986_conus.tif) . --only-best . : echo -111.5 45.25919444444 | cs2cs --only-best +proj=latlong +datum=NAD83 +to +proj=utm +zone=10 +datum=NAD27 : Attempt to use coordinate operation axis order change (2D) + Inverse of NAD27 to NAD83 (7) + axis order change (2D) + UTM zone 10N failed. Grid us_noaa_nadcon5_nad27_nad83_1986_conus.tif is not available. Consult https://proj.org/resource_files.html for guidance. * * inf --only-best : echo -111.5 45.25919444444 | cs2cs --only-best +proj=latlong +datum=NAD83 +to +proj=utm +zone=10 +datum=NAD27 : 1402224.57 5076275.42 0.00 NAD27 NAD83 . (SEE ALSO) proj(1), cct(1), geod(1), gie(1), projinfo(1), projsync(1) (BUGS) . (HOME PAGE) (AUTHOR) Frank Warmerdam (COPYRIGHT) 1983-2026, PROJ contributors 9.8 10 avril 2026 CS2CS(1)