[GRASS-user] Problem with r.in.arc needs your help to resolve
Rich Shepard
rshepard at appl-ecosys.com
Tue Mar 13 12:50:10 EDT 2012
I refined the area for which I need the DEM and used g.remove on the two
huge data files in my previous thread. Now r.in.arc finds missing lines in
the hdr.adf source file.
All data comes from http://ned.usgs.gov/ and the seemless National
Elevation Dataset. I specified a region in DMS: N 49:15, S 48:30, W -119.15,
E -118:00 and downloaded the extracted file. Same process as with the two
former files except those were outlined on the displayed map rather than
specified by lat/long.
When I use the GUI to import the raster map using r.in.arc I get these
errors:
r.in.arc --o --verb input=/home/rshepard/GIS/data/Washington/elevation/NED_32789676/ned_32789676/hdr.adf
out=elev titl=DEM
Illegal line in header
GRID1.2
"yllcorner" field missing from header
"xllcorner" field missing from header
"nrows" field missing from header
"ncols" field missing from header
"cellsize" field missing from header
"nodata_value" field missing from header
ERROR: Can't get cell header
There's a text data file that contains the missing information
(output_parameters.txt):
Raster Download Information
Number of columns: 4500
Number of rows: 2700
Resolution in x direction: 0.000277777777796473 Degree
Resolution in y direction: 0.000277777777796473 Degree
Coordinate system ID Native: 4269
Top edge Native: 49.2500000000968 Degree
Bottom edge Native: 48.5000000000464 Degree
Left edge Native: -119.249999999684 Degree
Right edge Native: -117.9999999996 Degree
Coordinate system ID WGS84: 4326
Top edge WGS84: 49.2500000000968 Degree
Bottom edge WGS84: 48.5000000000464 Degree
Left edge WGS84: -119.249999999684 Degree
Right edge WGS84: -117.9999999996 Degree
I assume that the problem is on my end because in the past I've imported
data from the seamless map into GRASS. I'm out of ideas what to do since I
repeated the extraction with the same lack of success.
Rich
More information about the grass-user
mailing list