[GRASS-dev] elevation.dted from spearfish

Hi,

elevation.dted@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

Hamish,

are you sure that you have the latest Spearfish package?
http://grass.itc.it/sampledata/spearfish60_history.txt

----- Spearfish 6.0 - 0.2 :
26 Jul 2006 [M. Sieczka]
- removed outdated file PERMANENT/TODO (consulted with the author,
  Helena Mitasova)
- uncomented 'e-w resol' and 'n-s resol' in
  PERMANENT/cellhd/elevation.dted (fixes bug #4879)

We are at
http://grass.itc.it/sampledata/spearfish_grass60data-0.3.tar.gz
now :slight_smile:

Cheers
Markus

Hamish wrote on 10/30/2006 11:18 AM:

Hi,

elevation.dted@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

_______________________________________________
grass-dev mailing list
grass-dev@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass-dev
  

Hamish wrote on 10/30/2006 11:18 AM:
> Hi,
>
> elevation.dted@PERMANENT in spearfish has this problem:
> (slightly old spearfish60..)

     ^^^^^^^^^^^^^^^^^^^^^^^^^

Markus Neteler wrote:

are you sure that you have the latest Spearfish package?
http://grass.itc.it/sampledata/spearfish60_history.txt

----- Spearfish 6.0 - 0.2 :
26 Jul 2006 [M. Sieczka]
- removed outdated file PERMANENT/TODO (consulted with the author,
  Helena Mitasova)
- uncomented 'e-w resol' and 'n-s resol' in
  PERMANENT/cellhd/elevation.dted (fixes bug #4879)

We are at
http://grass.itc.it/sampledata/spearfish_grass60data-0.3.tar.gz
now :slight_smile:

ok, no problem then.

thanks,
Hamish