#1788 closed defect (fixed)
r.viewshed binary flag (-b) not working correctly
Reported by: | cmbarton | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.4.0 |
Component: | Raster | Version: | svn-trunk |
Keywords: | r.viewshed | Cc: | |
CPU: | Unspecified | Platform: | Unspecified |
Description
The binary flag for r.viewshed makes viewed areas = 1 but unviewed areas = null(). Unviewed areas are supposed to be = 0.
For example:
r.viewshed -b input=elevation@PERMANENT output=a_view coordinate=634681,221947 GRASS 7.0.svn (nc_spm_08):~ > r.info -r a_view min=1 max=1
Attachments (1)
Change History (12)
by , 10 years ago
Attachment: | viewshed.diff added |
---|
follow-up: 2 comment:1 by , 10 years ago
I attached a patch for this. If there are no objections, I will commit it.
follow-up: 3 comment:2 by , 10 years ago
comment:3 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 by , 9 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Reopened because it works only when using internal memory. When using external memory mode, binary output gives 1 and nulls. It doesn't seem to be so easily fixable as the in-memory case, because I can't find an easy way to find out which cell should be 0 and which should be null.
comment:5 by , 8 years ago
Milestone: | 7.0.0 → 7.0.5 |
---|
follow-up: 9 comment:7 by , 8 years ago
Milestone: | 7.0.5 → 7.3.0 |
---|
follow-up: 10 comment:9 by , 7 years ago
comment:10 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Note:
See TracTickets
for help on using tickets.
viewshed patch