[GRASS-dev] elevation.dted from spearfish

Hamish hamish_nospam at yahoo.com
Mon Oct 30 05:18:41 EST 2006


Hi,

elevation.dted at PERMANENT in spearfish has this problem:
 (slightly old spearfish60..)

G63> g.region rast=elevation.dted
ERROR: Invalid region: Illegal n-s3 resolution value


G63> cat spearfish60/PERMANENT/cellhd/elevation.dted
proj:       1
zone:       13
north:      4927700
south:      4913700
east:       609000
west:       590000
cols:       190
rows:       140
#e-w resol:  100
#n-s resol:  100
format:     0
compressed: 0

what's with the commented res?


G63> r.info elevation.dted -s
nsres=100
ewres=100

looks ok.



I got this error in gis.m when trying to zoom to selected map:

Error:can't read "parts(n)": no such variable

can't read "parts(n)": no such variable
    while executing
"MapCanvas::zoom_new $mon $parts(n) $parts(s) $parts(e)  $parts(w) $parts(nsres) $parts(ewres)"
    (procedure "MapCanvas::zoom_gregion" line 11)
    invoked from within
"MapCanvas::zoom_gregion $mon [list "rast=$map"]"
    (procedure "MapCanvas::zoom_map" line 45)
    invoked from within
"MapCanvas::zoom_map $mon"
    invoked from within
".mapcan(1).mf.topf.tb0.mapzoom.zm invoke active"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke active]"
    (procedure "tkMenuInvoke" line 47)
    invoked from within
"tkMenuInvoke .mapcan(1).mf.topf.tb0.mapzoom.zm 1
"
    (command bound to event)


?

Hamish




More information about the grass-dev mailing list