[GRASS-dev] problems with --verbose, --overwrite, --quiet
Jachym Cepicky
jachym.cepicky at centrum.cz
Thu Sep 28 04:24:48 EDT 2006
hi hamish,
On Thu, Sep 28, 2006 at 06:26:54PM +1200, Hamish wrote:
> Hi,
>
> G63> r.random in=elevation.dem raster_output=rand_test n=1000
> Collecting Stats ... Writing raster file [rand_test] ... G63>
>
>
> G63> r.random in=elevation.dem raster_output=rand_test n=1000 --o
> Collecting Stats ... ERROR: r.random: Output raster <rand_test> exists!
> G63>
>
> G63> g.gisenv get="OVERWRITE"
> 0
>
>
> G63> r.random in=elevation.dem raster_output=rand_test2 n=1000 --v
> Collecting Stats ... 100%
> Writing raster file [rand_test2] ... 100%
> G63>
>
>
> ?
>
> thanks,
> Hamish
yes, that mostly happens, when do modules use something like
fprintf(stderr,"raster processing ... ");
G_percent();
we are slowly walking all modules through and replacing such
constructions for G_message();
jachym
--
Jachym Cepicky
e-mail: jachym.cepicky at centrum.cz
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/gnupg_public_key/jachym_cepicky-gpg_public_key.asc
-----------------------------------------
OFFICE:
GDF-Hannover
Mengendamm 16d
30177 Hannover
Germany
e-mail: cepicky at gdf-hannover.de
URL: http://gdf-hannover.de
Tel.: +49 511-39088507
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20060928/67bf887b/attachment.bin
More information about the grass-dev
mailing list