[GRASS-dev] r.pack failing on reclassed maps

Markus Neteler neteler at osgeo.org
Thu Oct 13 10:00:33 EDT 2011


On Thu, Oct 13, 2011 at 11:12 AM, Glynn Clements
<glynn at gclements.plus.com> wrote:
>
> Markus Neteler wrote:
>
>> r.pack is failing on reclassed maps and just packaging the reclass stuff.
>> how to deal with that?
>>
>> - either fatal error with a reasonable suggestion to the user
>> - or generate internally a map copy with r.mapcalc (slower), then package
>> ?
>
> First, is this actually a failure?

Yesm in a sense that r.unpack fails on such a package.

> In any case, there doesn't appear to be a supported programmatic
> method for determining that a map is a reclass. r.info includes
> relcass information in the default "formatted" output, and in the
> output for -h, but neither of these are designed to be
> machine-readable.

Probably yet another flag is needed since I don't like to much
to mess around in the mapset at filesystem level.

For example
-i Is map a reclassified map?
reclass=yes|no

Markus


More information about the grass-dev mailing list