[GRASS-user] Linking raster map instead of copying - alternative to r.reclass?

Rainer M Krug r.m.krug at gmail.com
Thu Oct 13 10:01:58 EDT 2011


On Thu, Oct 13, 2011 at 3:49 PM, Hamish <hamish_b at yahoo.com> wrote:

> Rainer wrote:
> > I want to be able to acess the same raster map
> > by using two different names, e.g. "map_2007" and
> > "map".
> >
> > Is there a way of achieving this (under Linux)? I
> > am using r.copy at the moment, but it uses quite
> > a bit of hdd space (I have many maps!). I could
> > use r.reclass,
> >
> > r.reclass input=map_2007 output=map rules=???
>
> put in a file, or read from stdin:
>
> * = *
>
> note r.reclass is only intended to work with CELL
> (categorical) maps.
>

that might be a problem in my case.


>
> > In addition, would r.reclass be dynamic, i.e. if
> > map_2007 is changing, will that be reflected when
> > I access map?
>
> yes, although only categories present when the
> original r.reclass command was run would be
> considered. (e.g. if the range expands the reclass
> table won't know about that)
>

would this be a problem if I use "* = "?


>
>
> alternatively, you might try a big pile of symlinks.
> (probably much easier for vector maps)
>

I think I'll go that way - I just thought there would be a solution
available.

So which files would I need to symlink? Asked otherwise: in which
directories *can* be raster map related files?

Rainer


>
>
> Hamish
>
>


-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax (F):       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer at krugs.de

Skype:      RMkrug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20111013/58e7f98c/attachment-0001.html


More information about the grass-user mailing list