#3492: r.texture overwrites without --o flag and without any warning when map
exists
--------------------------+-------------------------
Reporter: veroandreo | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.4.1
Component: Raster | Version: unspecified
Resolution: | Keywords: r.texture
CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Comment (by mlennert):
I didn't find a function of the sorts
open_raster_new_if_not_exist_else_fatal, so the attached patch is what I
found. It bails out after the first existing map found and only mentions
that. Maybe it would be more elegant to collect all found maps and output
the names of all the existing maps, but please already test this.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3492#comment:1>
GRASS GIS <https://grass.osgeo.org>
_______________________________________________
grass-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-dev