[GRASS-dev] [GRASS GIS] #1214: r.li.edgedensity: segmentation fault
GRASS GIS
trac at osgeo.org
Sun Feb 9 02:18:46 PST 2014
#1214: r.li.edgedensity: segmentation fault
------------------------------+---------------------------------------------
Reporter: neteler | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.4
Component: Raster | Version: svn-releasebranch64
Keywords: r.li.edgedensity | Platform: Linux
Cpu: x86-64 |
------------------------------+---------------------------------------------
Comment(by rashadkm):
Replying to [comment:3 hamish]:
> Hi,
>
> you might test in grass7 where the server/client stuff has been removed
so r.li.daemon is simpler. If that works and 6.x doesn't, it narrows down
where to look.
>
edegedensity and patchdensity fails for me in grass70 and works in grass65
and grass64
svn revision: 58968
location: nc_spm_08
mapset: PERMANENT
{{{
r.li.patchdensity map=geology conf=geology_mov output=pdens_out
r.li.edgedensity map=geology conf=geology_mov output=edens_out
}}}
geology_mov:
{{{
SAMPLINGFRAME 0|0|1|1
SAMPLEAREA -1|-1|0.03571428571428571|0.02631578947368421
MOVINGWINDOW
}}}
r.li.patchdensity map=lc96ras conf=lc96_overlay output=pdens_out_overlay
r.li.edgedensity map=lc96ras conf=lc96_overlay output=edens_out_overlay
lc96_overlay:
{{{
SAMPLINGFRAME 0|0|1|1
MASKEDOVERLAYAREA
rli_samp_btest_480|205983.75|205812.75|929030.5031|928916.5031
MASKEDOVERLAYAREA
rli_samp_btest_874|61716.75|61403.25|728333.5031|727963.0031
RASTERMAP lc96ras at PERMANENT
VECTORMAP btest at PERMANENT
}}}
btest created from:
{{{
v.extract input=boundary_county at PERMANENT output=btest random=3
}}}
> Also, to help with reproducibility it would be good if we could all test
with the same data and commands- see the r.li module help page examples or
the r.li/TODO which has a number of usage examples using the standard
sample datasets.
>
I am using geology map from spearfish60 dataset for moving window
configuration.
For vector overlay option i use the data lc96ras.img mentioned in bug
#2024 comment #4.
>
> Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1214#comment:4>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list