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.
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)
alternatively, you might try a big pile of symlinks.
(probably much easier for vector maps)
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?
> > 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 "* = "?
Yes. The "*" is expanded when r.reclass is run, not when the reclass
map is accessed.
> 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?
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 "* = "?
Yes. The “*” is expanded when r.reclass is run, not when the reclass
map is accessed.
OK - so I can’t use it.
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?