[GRASS-dev] any special reason why choice of raster compression method is done via environmental variable ?
mlennert at club.worldonline.be
Wed Dec 4 22:59:03 PST 2019
Le Thu, 5 Dec 2019 08:30:43 +0200,
Maris Nartiss <maris.gis at gmail.com> a écrit :
> What should be the solution? Moving to choice set by g.gisenv?
As mentioned in my mail, I suggest to add a parameter to the module
which allows to override the default setting when compressing a
specific raster map.
Using a GRASS environment variable instead of a shell variable might be
an idea to make setting the default easier.
> trešd., 2019. g. 4. dec., plkst. 11:28 — lietotājs Moritz Lennert
> (<mlennert at club.worldonline.be>) rakstīja:
> > Hi Markus,
> > In recent days, I've been confronted several times with the issue of
> > people trying to share data among themselves, but using different
> > versions of GRASS, and so raster data compressed in a more recent
> > version of GRASS was not usable in an older version of GRASS.
> > Now, I agree that generally the solution is to tell people to use
> > the latest and greatest, but this is not always possible / it is not
> > necessarily highest on the list of priorities of people to see how
> > they can install the latest version of GRASS within their
> > particular environment.
> > Obviously, those with the latest version of GRASS can simple
> > recompress using ZLIB. However, compression method is defined as an
> > environment variable. This is somewhat daunting to many MS Windows
> > users out there. Is there any specific reason that lead to the
> > choice of not using a parameter to allow the choice of compression
> > method (possibly to override a default that is still defined by an
> > environment variable) ?
> > Moritz
> > _______________________________________________
> > grass-dev mailing list
> > grass-dev at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/grass-dev
Département Géosciences, Environnement et Société Université Libre de
Bruxelles Bureau: S.DB.6.138
Av. F.D. Roosevelt 50
tél. + 32 2 650.68.12 / 68.11 (secr.)
fax + 32 2 650.68.30
More information about the grass-dev