[GRASS-user] importing dem files: projection details?
Tyler Smith
tyler.smith at eku.edu
Mon Mar 15 14:38:32 EDT 2010
On 03/15/2010 09:38 AM, Markus Neteler wrote:
> On Mon, Mar 15, 2010 at 1:35 PM, Tyler Smith<tyler.smith at eku.edu> wrote:
>
>> On 03/15/2010 03:42 AM, Markus Neteler wrote:
>>
> ...
>
>> Trying the auto route:
>>
>> grass64 -gui
>> select define new location with georeferenced file
>> select the dem file: k42.dem
>> select the TN transformation, as probably better than the default for
>> adjacent Kentucky
>> enter GRASS with the newly created location and the PERMANENT mapset
>>
>> Results in this error:
>>
>> "g.proj or projection error: ERROR: default region is invalid
>> line 3:<north: 1080:43:46N>"
>>
>> So GRASS has automatically set up the location using degrees, and then get
>> confused when the raster co-ordinates are provided in meters. Which appears
>> to be fairly close to the sort of problem I ran into when setting this up
>> manually. What am I missing?
>>
> Please post the output of gdalinfo on that file. GRASS uses GDAL to detect
> projections from metadata.
>
> Markus
>
Thanks for help! Here it is:
gdalinfo k42.dem
Driver: USGSDEM/USGS Optional ASCII DEM (and CDED)
Files: k42.dem
Size is 1222, 1535
Coordinate System is:
GEOGCS["NAD83",
DATUM["North_American_Datum_1983",
SPHEROID["GRS 1980",6378137,298.257222101,
AUTHORITY["EPSG","7019"]],
TOWGS84[0,0,0,0,0,0,0],
AUTHORITY["EPSG","6269"]],
PRIMEM["Greenwich",0,
AUTHORITY["EPSG","8901"]],
UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9108"]],
AUTHORITY["EPSG","4269"]]
Origin = (1467.054166666666561,1080.729444444444425)
Pixel Size = (0.008333333333333,-0.008333333333333)
Metadata:
AREA_OR_POINT=Point
Corner Coordinates:
Upper Left ( 1467.054, 1080.729)
Lower Left ( 1467.054, 1067.938)
Upper Right ( 1477.237, 1080.729)
Lower Right ( 1477.237, 1067.938)
Center ( 1472.146, 1074.334)
Band 1 Block=1222x1535 Type=Float32, ColorInterp=Undefined
NoData Value=-32767
Unit Type: ft
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tyler_smith.vcf
Type: text/x-vcard
Size: 402 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/20100315/de5f50f7/tyler_smith.vcf
More information about the grass-user
mailing list