[GRASS-user] importing dem files: projection details?

Markus Neteler neteler at osgeo.org
Mon Mar 15 09:38:19 EDT 2010


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


More information about the grass-user mailing list