[GRASS GIS] #3854: r.stream.extract does not support fully qualified map names

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[GRASS GIS] #3854: r.stream.extract does not support fully qualified map names

GRASS GIS
#3854: r.stream.extract does not support fully qualified map names
------------------------------+-------------------------
 Reporter:  sbl               |      Owner:  grass-dev@…
     Type:  defect            |     Status:  new
 Priority:  normal            |  Milestone:  7.6.2
Component:  Raster            |    Version:  svn-trunk
 Keywords:  r.stream.extract  |        CPU:  All
 Platform:  All               |
------------------------------+-------------------------
 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
 [https://github.com/OSGeo/grass/blob/master/raster/r.stream.extract/main.c#L172
 G_find_raster] instead of
 [https://github.com/OSGeo/grass/blob/master/raster/r.stream.extract/main.c#L248
 G_find_raster2] ?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3854>
GRASS GIS <https://grass.osgeo.org>


_______________________________________________
grass-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: [GRASS GIS] #3854: r.stream.extract does not support fully qualified map names

GRASS GIS
#3854: r.stream.extract does not support fully qualified map names
---------------------+------------------------------
  Reporter:  sbl     |      Owner:  grass-dev@…
      Type:  defect  |     Status:  new
  Priority:  normal  |  Milestone:  7.6.2
 Component:  Raster  |    Version:  svn-trunk
Resolution:          |   Keywords:  r.stream.extract
       CPU:  All     |   Platform:  All
---------------------+------------------------------

Comment (by mmetz):

 Fixed in master, relbr76, and relbr74.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3854#comment:1>
GRASS GIS <https://grass.osgeo.org>


_______________________________________________
grass-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: [GRASS GIS] #3854: r.stream.extract does not support fully qualified map names

GRASS GIS
In reply to this post by GRASS GIS
#3854: r.stream.extract does not support fully qualified map names
---------------------+------------------------------
  Reporter:  sbl     |      Owner:  grass-dev@…
      Type:  defect  |     Status:  closed
  Priority:  normal  |  Milestone:  7.6.2
 Component:  Raster  |    Version:  svn-trunk
Resolution:  fixed   |   Keywords:  r.stream.extract
       CPU:  All     |   Platform:  All
---------------------+------------------------------
Changes (by sbl):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 Yes, tested in master and works fine!

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3854#comment:2>
GRASS GIS <https://grass.osgeo.org>


_______________________________________________
grass-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/grass-dev