[GRASS-dev] [GRASS GIS] #2024: r.li.setup generates incomplete r.li conf file
GRASS GIS
trac at osgeo.org
Tue Nov 19 04:23:43 PST 2013
#2024: r.li.setup generates incomplete r.li conf file
------------------------+---------------------------------------------------
Reporter: matmar | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.4
Component: Raster | Version: svn-releasebranch64
Keywords: r.li.setup | Platform: Linux
Cpu: x86-64 |
------------------------+---------------------------------------------------
Comment(by matmar):
Hi Hamish,
below you find a minimum repeatable example that I've done using the North
Carolina GRASS mapset.
Step-by-step bug report for r.li.setup.
GRASS 6.4.3svn (nc_spm_08):~ > g.version -g
version=6.4.3svn
revision=57227
date=2013
### r.li.setup test
## select three random polygons from boundary_county at PERMANENT as
county_test
## Download North Carolina land use from:
ftp://ftp.nconemap.com/outgoing/raster/past_imagery/state/landcover_1996/
r.in.gdal input='/home/matteo/lc96ras.img' output=lc96ras
### Region specification
GRASS 6.4.3svn (nc_spm_08):~ > g.region rast=lc96ras -p
projection: 99 (Lambert Conformal Conic)
zone: 0
datum: nad83
ellipsoid: a=6378137 es=0.006694380022900787
north: 353129.25
south: -11385.75
west: 43706.5031
east: 959126.5031
nsres: 28.5
ewres: 28.5
rows: 12790
cols: 32120
cells: 410814800
## Configuration steps in r.li.setup
r.li.setup
configuration file=test
Raster map to use to select areas=lc96ras at landsat
Vector map to Overlay=county_test at landsat
Whole maplayer
Select areas from the overlayed vector map
## Look at the generated (empty) setup file
GRASS 6.4.3svn (nc_spm_08):~ > cat /home/matteo/.r.li/history/test
SAMPLINGFRAME 0|0|1|1
## try to run r.li.edgedensity with the generated setup file
GRASS 6.4.3svn (nc_spm_08):~ > r.li.edgedensity map=lc96ras at landsat
conf=test output=edge_test
ERROR: Program error, worker() toReceive.type=-1572453528
ERROR: Program error, worker() toReceive.type=-1572453528
ERROR: Program error, worker() toReceive.type=-1572453528
ERROR: Program error, worker() toReceive.type=-1572453528
ERROR: Program error, worker() toReceive.type=-1572453528
ERROR: Program error, worker() toReceive.type=-1572453528
ERROR: Program error, worker() toReceive.type=-1572453528
ERROR: Program error, worker() toReceive.type=-1572453528
ERROR: Program error, worker() toReceive.type=-1572453528
ERROR: Program error, worker() toReceive.type=-1572453528
Segmentation fault (core dumped)
Best,
Matteo
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2024#comment:4>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list