[GRASS-user] gis.m error

Hi,

With SVN GRASS 6.5 (built today), starting gis.m gave this error:

---<--------------------cut here---------------start------------------->---
GRASS 6.5.svn > gis.m&
[1] 26944
[1]+ Done gis.m
GRASS 6.5.svn > Error in startup script: can't read "prj(name)": no such variable
    while executing
"string eq "Lat/Lon" "$prj(name)""
    (procedure "MapCanvas::get_mapunits" line 30)
    invoked from within
"MapCanvas::get_mapunits"
    (procedure "MapCanvas::currentzoom" line 11)
    invoked from within
"MapCanvas::currentzoom $mon"
    (procedure "MapCanvas::coordconv" line 23)
    invoked from within
"MapCanvas::coordconv $mon"
    (procedure "MapCanvas::create" line 68)
    invoked from within
"MapCanvas::create"
    (procedure "Gm::startmon" line 11)
    invoked from within
"Gm::startmon"
    (procedure "Gm::create" line 79)
    invoked from within
"Gm::create"
    (procedure "main" line 30)
    invoked from within
"main $argc $argv"
    (file "/usr/local/src/grass-svn/dist.x86_64-unknown-linux-gnu/etc/gm/gm.tcl" line 566)
---<--------------------cut here---------------end--------------------->---

The error only occurs in a XY location with these details:

---<--------------------cut here---------------start------------------->---
GRASS 6.5.svn > g.region -p
projection: 0 (x,y)
zone: 0
north: 90
south: -90
west: -180
east: 180
nsres: 1
ewres: 1
rows: 180
cols: 360
cells: 64800
---<--------------------cut here---------------end--------------------->---

I see no problems in other locations.

Cheers,

--
Seb

Hi Seb,

Give a little bit more information about the system you are running grass.
Command lines works ok, I suppose.

By the way, its appears that you are importing world wide maps. Are you importing bioclimatic maps for species distribution modeling? Case yes, we can change some ideas off-topic.

Cheers

milton
brazil=toronto

2009/5/17 Seb <spluque@gmail.com>

Hi,

With SVN GRASS 6.5 (built today), starting gis.m gave this error:

—<--------------------cut here---------------start------------------->—
GRASS 6.5.svn > gis.m&
[1] 26944
[1]+ Done gis.m
GRASS 6.5.svn > Error in startup script: can’t read “prj(name)”: no such variable
while executing
“string eq “Lat/Lon” “$prj(name)””
(procedure “MapCanvas::get_mapunits” line 30)
invoked from within
“MapCanvas::get_mapunits”
(procedure “MapCanvas::currentzoom” line 11)
invoked from within
“MapCanvas::currentzoom $mon”
(procedure “MapCanvas::coordconv” line 23)
invoked from within
“MapCanvas::coordconv $mon”
(procedure “MapCanvas::create” line 68)
invoked from within
“MapCanvas::create”
(procedure “Gm::startmon” line 11)
invoked from within
“Gm::startmon”
(procedure “Gm::create” line 79)
invoked from within
“Gm::create”
(procedure “main” line 30)
invoked from within
“main $argc $argv”
(file “/usr/local/src/grass-svn/dist.x86_64-unknown-linux-gnu/etc/gm/gm.tcl” line 566)
—<--------------------cut here---------------end--------------------->—

The error only occurs in a XY location with these details:

—<--------------------cut here---------------start------------------->—
GRASS 6.5.svn > g.region -p
projection: 0 (x,y)
zone: 0
north: 90
south: -90
west: -180
east: 180
nsres: 1
ewres: 1
rows: 180
cols: 360
cells: 64800
—<--------------------cut here---------------end--------------------->—

I see no problems in other locations.

Cheers,


Seb


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

On Sun, 17 May 2009 19:01:15 -0400,
Milton Cezar Ribeiro <miltinho.astronauta@gmail.com> wrote:

Hi Seb, Give a little bit more information about the system you are
running grass. Command lines works ok, I suppose.

Of course, I forgot to include that important info: this is in a Debian
sid AMD64 system, and GRASS was built with these CFLAGS:

CFLAGS="-g -Wall" ./configure --enable-64bit --with-libs=/usr/lib64 \
    --with-tcltk-includes=/usr/include/tcl8.4 --with-readline --with-cxx \
    --with-odbc --with-mysql --with-mysql-includes=/usr/include/mysql \
    --with-postgres --with-postgres-includes=/usr/include/postgresql \
    --with-proj-share=/usr/share/proj --with-motif \
    --with-freetype --with-freetype-includes=/usr/include/freetype2 \
    --with-cairo

By the way, its appears that you are importing world wide maps. Are
you importing bioclimatic maps for species distribution modeling?
Case yes, we can change some ideas off-topic.

I was actually using this simple XY location for some intermediate
operations while processing ocean color level 3 binned data. I used to
do a lot of these things using GMT tools, but now the project has become
too large to handle outside a GIS, so am exploring workflows.

Thanks,

--
Seb