[GRASS-user] Importing Converted Points File
Rich Shepard
rshepard at appl-ecosys.com
Fri Nov 27 18:45:40 EST 2009
I converted a points file from lon/lat geographic coordinates to lcc using
cs2cs. The command line used was:
cs2cs +proj=latlong +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=1312336 +y_0=0 \
+nadgrids=WO <<EOF \
122d30'32.43" 45d19'19.49" \
122d30'17.92" 45d18'52.45" \
122d29'34.08" 45d18'47.16" \
EOF
and the output is:
-5056134.11|5898037.45
-5057005.89|5898228.79
-5057306.14|5899149.81
after I stripped off the trailing 0.0 (which I presume is a z value).
Now, when I try to use these values in v.in.ascii I'm told that column
numbers must not be negative:
GRASS 6.4.0svn (sitesLCC):/usr4/grassbase/sitesLCC > v.in.ascii
input=keypoints/sites_lcc.txt output=sites format=point x=0 y=1
ERROR: Column numbers must not be negative
Do I just change the longitude values to positive?
Rich
More information about the grass-user
mailing list