Opened 6 years ago
Closed 6 years ago
#3854 closed defect (fixed)
r.stream.extract does not support fully qualified map names
Reported by: | sbl | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.6.2 |
Component: | Raster | Version: | svn-trunk |
Keywords: | r.stream.extract | Cc: | |
CPU: | All | Platform: | All |
Description
r.stream.extract does not find the input elevation model, if it is specified with the fully qualified map name and it`s mapset is not on the search path.
grass /grassdata/LOCATION/my_mapset --exec r.stream.extract elevation=DTM_1m@my_other_mapset threshold=5000 stream_length=100 stream_raster=DTM_1m_streams stream_vector=DTM_1m_streams
Gives:
ERROR: Raster map <DTM_1m> not found.
While:
grass /grassdata/LOCATION/my_mapset --exec g.mapsets operation=add mapset=my_other_mapset grass /grassdata/LOCATION/my_mapset --exec r.stream.extract elevation=DTM_1m@my_other_mapset threshold=5000 stream_length=100 stream_raster=DTM_1m_streams stream_vector=DTM_1m_streams
works.
Probably because it uses G_find_raster instead of G_find_raster2 ?
Change History (2)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Yes, tested in master and works fine!
Note:
See TracTickets
for help on using tickets.
Fixed in master, relbr76, and relbr74.