[GRASS-user] Wrong projection info after importing Geotif
Markus Neteler
neteler at osgeo.org
Fri Oct 24 16:25:37 EDT 2008
Agustin,
I could reproduce the problem...:
GRASS 6.4.svn (latlong_tbe_climate):~ > r.in.gdal npp.tif out=npp
ERROR: region for current mapset is invalid
line 9: <e-w resol: 0>
run "g.region"
# Now I reset the location which was still messed up from the previous
# try to import npp_CruP_All_fine_geo.tif:
GRASS 6.4.svn (latlong_tbe_climate):~ > g.region -dp
projection: 3 (Latitude-Longitude)
zone: 0
datum: wgs84
ellipsoid: wgs84
north: 50N
south: 30N
west: 5E
east: 20E
nsres: 1
ewres: 1
rows: 20
cols: 15
cells: 300
# Voilà - the import works again:
GRASS 6.4.svn (latlong_tbe_climate):~ > r.in.gdal npp.tif out=npp
Projection of input dataset and current location appear to match
100%
<npp> created
r.in.gdal complete.
I assume that a 'g.region -d' which cure it also at your end.
Markus
More information about the grass-user
mailing list