Ticket #545 (closed defect: fixed)
r.cost warning on negative values
| Reported by: | pcav | Owned by: | grass-dev@… |
|---|---|---|---|
| Priority: | major | Milestone: | 6.4.3 |
| Component: | Raster | Version: | 6.3.0 |
| Keywords: | r.cost | Cc: | |
| Platform: | Unspecified | CPU: | Unspecified |
Description
In case ov even a few negative values, r.cost fails badly (running forever). If the cost map contains any negative values, it should either generate a fatal error, or treat such cells as nulls (exclude them or use the null_cost= value) and generate a warning. Thanks Glynn for the hint.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

