Tue, May 28 2002
16:11:47
|
|
Request created by guest
|
|
Subject: strange r.reclass warning
grass obtained from: CVS
grass binary for platform: Compiled from Sources
Dear developers,
the r.reclass command prints a strange message:
r.reclass in=riserve2001 out=tberiserve < reclassfile
WARNING: Unable to create dependency file in [riserve2001 in
habitatCap2001]
The reclassfile looks like this:
164 45 49 28 78 34 171 = 1 caprioli campionati negativi
213 206 152 182 = 2 solo caprioli campionati positivi
6 65 57 15 = 3 solo casi umani
185 83 192 = 4 casi umani e caprioli campionati positivi
The original map is not in the current mapset and belongs to a different owner.
r.info riserve2001
| Layer: riserve2001 Date: Thu May 31 15:42:47 2001
| Mapset: habitatCap2001 Login of Creator: lpotrich
| Location: pat
| DataBase: /mpa_gdata/ssi/BIO/GRASS_DATA/data
g.gisenv
GISDBASE=/mpa_gdata/ssi/BIO/GRASS_DATA/data
LOCATION_NAME=pat
MAPSET=adonini
Perhaps the reclass_to file cannot be written? The current warning is
not really helpful...
Angela
Markus
|
|
Wed, May 29 2002
00:38:20
|
|
Mail sent by glynn.clements@virgin.net
|
|
Return-Path |
<glynn.clements@virgin.net>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
From |
Glynn Clements <glynn.clements@virgin.net>
|
MIME-Version |
1.0
|
Content-Type |
text/plain; charset=us-ascii
|
Content-Transfer-Encoding |
7bit
|
Message-ID |
<15603.65440.879151.415869@cerise.nosuchdomain.co.uk>
|
Date |
Tue, 28 May 2002 23:07:28 +0100
|
To |
Request Tracker <grass-bugs@intevation.de>
|
Cc |
grass5@grass.itc.it
|
Subject |
Re: [GRASS5] [bug #1066] (grass) strange r.reclass warning
|
In-Reply-To |
<20020528141148.3D1F413A03@lists.intevation.de>
|
References |
<20020528141148.3D1F413A03@lists.intevation.de>
|
X-Mailer |
VM 6.94 under 21.4 (patch 4) "Artificial Intelligence (candidate #1)" XEmacs Lucid
|
X-Spam-Status |
No, hits=-4.8 required=5.0 tests=IN_REP_TO,SUPERLONG_LINE version=2.20
|
X-Spam-Level |
|
Request Tracker wrote:
> Subject: strange r.reclass warning
>
> grass obtained from: CVS
> grass binary for platform: Compiled from Sources
>
> Dear developers,
>
> the r.reclass command prints a strange message:
>
> r.reclass in=riserve2001 out=tberiserve < reclassfile
> WARNING: Unable to create dependency file in [riserve2001 in
> habitatCap2001]
>
> The reclassfile looks like this:
> 164 45 49 28 78 34 171 = 1 caprioli campionati negativi
> 213 206 152 182 = 2 solo caprioli campionati positivi
> 6 65 57 15 = 3 solo casi umani
> 185 83 192 = 4 casi umani e caprioli campionati positivi
>
> The original map is not in the current mapset and belongs to a different owner.
> r.info riserve2001
> | Layer: riserve2001 Date: Thu May 31 15:42:47 2001
| Mapset: habitatCap2001 Login of Creator: lpotrich
| Location: pat
| DataBase: /mpa_gdata/ssi/BIO/GRASS_DATA/data
>
> g.gisenv
> GISDBASE=/mpa_gdata/ssi/BIO/GRASS_DATA/data
> LOCATION_NAME=pat
> MAPSET=adonini
>
> Perhaps the reclass_to file cannot be written?
Correct.
BTW, this was the very first change I made to GRASS (bug #229, March
2001). Before that, r.reclass would just fail if you didn't have write
permission on the source mapset.
> The current warning is not really helpful...
src/libes/gis/reclass.c, line 261:
G_warning (_("Unable to create dependency file in [%s in %s]"),
buf2, reclass->mapset);
Feel free to change it; although I'm not sure that any message will be
helpful to a user that doesn't understand the details of the reclass
mechanism. Maybe the situation should be silently ignored?
--
Glynn Clements <glynn.clements@virgin.net>
|
|
Wed, May 29 2002
08:30:56
|
|
Mail sent by neteler@itc.it
|
|
Return-Path |
<neteler@itc.it>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Date |
Wed, 29 May 2002 08:30:51 +0200
|
From |
Markus Neteler <neteler@itc.it>
|
To |
Glynn Clements <glynn.clements@virgin.net>
|
Cc |
Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it
|
Subject |
Re: [GRASS5] [bug #1066] (grass) strange r.reclass warning
|
Message-ID |
<20020529083051.A15764@itc.it>
|
Mail-Followup-To |
Glynn Clements <glynn.clements@virgin.net>, Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it
|
References |
<20020528141148.3D1F413A03@lists.intevation.de> <15603.65440.879151.415869@cerise.nosuchdomain.co.uk>
|
Mime-Version |
1.0
|
Content-Type |
text/plain; charset=us-ascii
|
Content-Disposition |
inline
|
User-Agent |
Mutt/1.2.5.1i
|
In-Reply-To |
<15603.65440.879151.415869@cerise.nosuchdomain.co.uk>; from glynn.clements@virgin.net on Tue, May 28, 2002 at 11:07:28PM +0100
|
X-Spam-Status |
No, hits=-4.8 required=5.0 tests=IN_REP_TO,SUPERLONG_LINE version=2.20
|
X-Spam-Level |
|
On Tue, May 28, 2002 at 11:07:28PM +0100, Glynn Clements wrote:
>
> Request Tracker wrote:
>
> > Subject: strange r.reclass warning
> >
> > grass obtained from: CVS
> > grass binary for platform: Compiled from Sources
> >
> > Dear developers,
> >
> > the r.reclass command prints a strange message:
> >
> > r.reclass in=riserve2001 out=tberiserve < reclassfile
> > WARNING: Unable to create dependency file in [riserve2001 in
> > habitatCap2001]
> >
> > The reclassfile looks like this:
> > 164 45 49 28 78 34 171 = 1 caprioli campionati negativi
> > 213 206 152 182 = 2 solo caprioli campionati positivi
> > 6 65 57 15 = 3 solo casi umani
> > 185 83 192 = 4 casi umani e caprioli campionati positivi
> >
> > The original map is not in the current mapset and belongs to a different
owner.
> > r.info riserve2001
> > | Layer: riserve2001 Date: Thu May 31 15:42:47 2001
| Mapset: habitatCap2001 Login of Creator: lpotrich
| Location: pat
| DataBase: /mpa_gdata/ssi/BIO/GRASS_DATA/data
> >
> > g.gisenv
> > GISDBASE=/mpa_gdata/ssi/BIO/GRASS_DATA/data
> > LOCATION_NAME=pat
> > MAPSET=adonini
> >
> > Perhaps the reclass_to file cannot be written?
>
> Correct.
>
> BTW, this was the very first change I made to GRASS (bug #229, March
> 2001). Before that, r.reclass would just fail if you didn't have write
> permission on the source mapset.
>
> > The current warning is not really helpful...
>
> src/libes/gis/reclass.c, line 261:
>
> G_warning (_("Unable to create dependency file in [%s in %s]"),
> buf2, reclass->mapset);
>
> Feel free to change it; although I'm not sure that any message will be
> helpful to a user that doesn't understand the details of the reclass
> mechanism. Maybe the situation should be silently ignored?
I suggest yes - it will be more confusing than helpful (and the user
can even do nothing about it except generating an own local copy
of the "foreign" mapset which is mostly not possible or desired).
We could keep the warning commented in the code in case we change our
opinion in future.
Markus
|
|
Wed, May 29 2002
09:38:07
|
|
Status changed to resolved by gclements
|
|
Wed, May 29 2002
17:34:26
|
|
Mail sent by bernhard@intevation.de
|
|
Return-Path |
<bernhard@intevation.de>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Date |
Wed, 29 May 2002 17:34:14 +0200
|
From |
Bernhard Reiter <bernhard@intevation.de>
|
To |
Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it
|
Subject |
Re: [GRASS5] [bug #1066] (grass) strange r.reclass warning
|
Message-ID |
<20020529153414.GK23659@intevation.de>
|
Mail-Followup-To |
Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it
|
References |
<20020528141148.3D1F413A03@lists.intevation.de> <15603.65440.879151.415869@cerise.nosuchdomain.co.uk> <20020529083051.A15764@itc.it>
|
Mime-Version |
1.0
|
Content-Type |
multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HcXnUX77nabWBLF4"
|
Content-Disposition |
inline
|
In-Reply-To |
<20020529083051.A15764@itc.it>
|
User-Agent |
Mutt/1.3.25i
|
X-Spam-Status |
No, hits=-4.4 required=5.0 tests=IN_REP_TO version=2.20
|
X-Spam-Level |
|
--HcXnUX77nabWBLF4
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Wed, May 29, 2002 at 08:30:51AM +0200, Markus Neteler wrote:
> On Tue, May 28, 2002 at 11:07:28PM +0100, Glynn Clements wrote:
> > > the r.reclass command prints a strange message:
> > >=20
> > > r.reclass in=3Driserve2001 out=3Dtberiserve < reclassfile
> > > WARNING: Unable to create dependency file in [riserve2001 in
> > > habitatCap2001]
> > > Perhaps the reclass_to file cannot be written?
> > Correct.
> > > The current warning is not really helpful...
> > Maybe the situation should be silently ignored?
No. It is important to warn.
> I suggest yes - it will be more confusing than helpful (and the user
> can even do nothing about it except generating an own local copy
> of the "foreign" mapset which is mostly not possible or desired).
What about adding "you can normally savely ignore this warning."
or "this means that you cannot do xxxxxxxxxxx in the future=20
if you need this, you have to make a local
copy of the foreign maps. Otherwise you can ignore this warning."
Of course xxxxxxxxxxxx would have to be filled.
--HcXnUX77nabWBLF4
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Weitere Infos: siehe http://www.gnupg.org
iEYEARECAAYFAjz09PYACgkQh9ag3dpKERa19ACfeoAgyy5MJIBLzqAzFOqI6A/B
XPwAnjP43MZ130WrnUdT0fMaze9iuhxM
=+WrD
-----END PGP SIGNATURE-----
--HcXnUX77nabWBLF4--
|
|
Wed, May 29 2002
17:34:26
|
|
Status changed to open by _rt_system
|
|