[GRASS-dev] [GRASS GIS] #2917: r.mapcalc neighbour modifier uses wrong row

GRASS GIS trac at osgeo.org
Sun Feb 14 02:38:08 PST 2016


#2917: r.mapcalc neighbour modifier uses wrong row
-------------------------+---------------------------------
 Reporter:  marisn       |      Owner:  grass-dev@…
     Type:  defect       |     Status:  new
 Priority:  blocker      |  Milestone:  7.0.4
Component:  Raster       |    Version:  svn-releasebranch70
 Keywords:  r.mapcalc    |        CPU:  Unspecified
 Platform:  Unspecified  |
-------------------------+---------------------------------
 Seems that in some occasions r.mapcalc neighbour modifier is using values
 from wrong row. A further analysis is required. Setting as a blocker as it
 causes silent result corruption (produces wrong results that could be
 mistaken for correct ones).

 Steps to reproduce with NC:
 {{{
 g.region n=224480.25 s=223910.25 w=635623 e=636449.5 res=28.5
 r.mapcalc "nd = if(landclass96[1,0]!=landclass96, landclass96[1,0],
 null())"
 }}}
 Visually examine both maps landclass96 and nd - values in "nd" should be
 only above borders present in landclass96 map. In one case, there are
 values below border (an attachment will be provided with markings for
 easier spotting).

 First reported here: https://lists.osgeo.org/pipermail/grass-
 dev/2016-February/078918.html

 Tested with 7.1 and:
 GRASS versija: 7.0.4svn
 GRASS SVN Revision: 67825
 Būvējuma datums: 2016-01-14
 Build Platform: x86_64-pc-linux-gnu
 GDAL/OGR: 2.0.1
 PROJ.4: 4.8.0
 GEOS: 3.5.0
 SQLite: 3.10.2
 Python: 2.7.11
 wxPython: 3.0.2.0
 Platform: Linux-4.4.0-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9500_ at _2
 .53GHz-with-gentoo-2.2

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



More information about the grass-dev mailing list