[GRASS-user] Refresher Needed: Running cs2cs

Rich Shepard rshepard at appl-ecosys.com
Fri Aug 19 12:09:11 EDT 2011


   It's been about 18 months since I converted lon/lat coordinates to
projected locations, and I need to add 2 more locations to my analyses and
maps. I re-read the cs2cs man page but cannot get the conversion to run. A
clue stick is appreciated.

   Here's my script (and I made it executable):

cs2cs +proj=longlat +datum=NAD83 +to +proj=lcc +datum=NAD83 +ellps=GRS80
+lat_1=43.0 +lat_2=45.5 +lat_0=41.75 +lon_0=-120.5 +x_0=400000 +y_0=0
+nadgrids=WO <<EOF

122d30'32.43"W	45d19'19.49"N
122d30'55.67"N  45d19'36.44"N
122d30'33.14"N  45d23'90.87"N
122d30'17.92"W	45d18'52.45"N
122d29'34.08"W	45d18'47.16"N
EOF

   When I invoke the script it sits there and does nothing. What am I
missing?

Rich


More information about the grass-user mailing list