[Qgis-user] Re: Sextante plugin works except with GRASS

Pietro Rossin pierigis at gmail.com
Tue May 8 06:20:07 PDT 2012


Hello again
I'm facing now a different problem with grass module.
I am trying to make some test on interpolation of point vector data.
The module I try to use is v.surf.idw.

Under sextante option and configuration>general I set an output folder and
under Grass commands I set the region cellsize = 100 and flagged "use min
covering region".

If I try to run the v.surf.idw command with 42 point and -n set to YES the
computer start working but never ends with CPU working 100% (one cpu, so
50%).
If I try the same operation with the -n set to NO, the module comes to the
end sayng that it cannot load the output.
It seems that there is a memory problem, because the cell resolution is
automatically set to 1m...

Here are the logs

******************
GRASS execution commands
g.region n=5098753.0 s=5077746.0 e=2367660.0 w=2339468.0 res=1
v.in.ogr min_area=-1 dsn="E:\GIS\temp" layer=tempiterpolation
output=tmp1336482424014 --overwrite -o
v.surf.idw input=tmp1336482424014 npoints=8 power=2 column=dtm10m
output=output --overwrite
g.region rast=output
r.out.gdal -c createopt="TFW=YES,COMPRESS=LZW" input=output
output="C:/Documents and Settings/rossinp/Desktop/pipp.tif"
*******************

GRASS execution console output

C:\>set HOME=C:\Documents and Settings\rossinp 

C:\>set GISRC=C:\Documents and Settings\rossinp\sextante\sextante.gisrc 

C:\>set GRASS_SH=C:\OSgeo4w\apps\msys\bin\sh.exe 

C:\>set
PATH=C:\OSgeo4w\apps\msys\bin;C:\OSgeo4w\apps\msys\lib;C:/OSgeo4w/apps/grass/GRASS-~1.2/bin;C:/OSgeo4w/apps/grass/GRASS-~1.2/scripts;C:/OSgeo4w/apps/qgis-dev/./grass/scripts/;C:/OSgeo4w/apps/qgis-dev/bin;C:\OSgeo4w\apps\grass\grass-6.4.2\bin;C:\OSgeo4w\apps\grass\grass-6.4.2\lib;C:\OSgeo4w\apps\msys\bin;C:\OSgeo4w\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programmi\File
comuni\Autodesk
Shared\;C:\OSgeo4w\apps\msys\bin;C:\OSgeo4w\apps\Python27\Scripts;C:\OSgeo4w\apps\qgis-dev\bin;C:\OSgeo4w\apps\grass\grass-6.4.2\lib 

C:\>set WINGISBASE=C:\OSgeo4w\apps\grass\grass-6.4.2\ 

C:\>set GISBASE=C:\OSgeo4w\apps\grass\grass-6.4.2\ 

C:\>set GRASS_PROJSHARE=C:\OSgeo4w\apps\grass\grass-6.4.2\\share\proj 

C:\>set GRASS_MESSAGE_FORMAT=gui 

C:\>if "" == "" set
PATH=C:\OSgeo4w\apps\grass\grass-6.4.2\\bin;C:\OSgeo4w\apps\grass\grass-6.4.2\\lib;C:\OSgeo4w\apps\msys\bin;C:\OSgeo4w\apps\msys\lib;C:/OSgeo4w/apps/grass/GRASS-~1.2/bin;C:/OSgeo4w/apps/grass/GRASS-~1.2/scripts;C:/OSgeo4w/apps/qgis-dev/./grass/scripts/;C:/OSgeo4w/apps/qgis-dev/bin;C:\OSgeo4w\apps\grass\grass-6.4.2\bin;C:\OSgeo4w\apps\grass\grass-6.4.2\lib;C:\OSgeo4w\apps\msys\bin;C:\OSgeo4w\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programmi\File
comuni\Autodesk
Shared\;C:\OSgeo4w\apps\msys\bin;C:\OSgeo4w\apps\Python27\Scripts;C:\OSgeo4w\apps\qgis-dev\bin;C:\OSgeo4w\apps\grass\grass-6.4.2\lib 

C:\>if not "" == "" set
PATH=C:\OSgeo4w\apps\grass\grass-6.4.2\\bin;C:\OSgeo4w\apps\grass\grass-6.4.2\\lib;;C:\OSgeo4w\apps\grass\grass-6.4.2\\bin;C:\OSgeo4w\apps\grass\grass-6.4.2\\lib;C:\OSgeo4w\apps\msys\bin;C:\OSgeo4w\apps\msys\lib;C:/OSgeo4w/apps/grass/GRASS-~1.2/bin;C:/OSgeo4w/apps/grass/GRASS-~1.2/scripts;C:/OSgeo4w/apps/qgis-dev/./grass/scripts/;C:/OSgeo4w/apps/qgis-dev/bin;C:\OSgeo4w\apps\grass\grass-6.4.2\bin;C:\OSgeo4w\apps\grass\grass-6.4.2\lib;C:\OSgeo4w\apps\msys\bin;C:\OSgeo4w\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programmi\File
comuni\Autodesk
Shared\;C:\OSgeo4w\apps\msys\bin;C:\OSgeo4w\apps\Python27\Scripts;C:\OSgeo4w\apps\qgis-dev\bin;C:\OSgeo4w\apps\grass\grass-6.4.2\lib 

C:\>set GRASS_VERSION=6.4.0 

C:\>if not "" == "" goto langset 

C:\>FOR /F "usebackq delims==" %i IN
(`"C:\OSgeo4w\apps\grass\grass-6.4.2\\etc\winlocale"`) DO @set LANG=%i 

C:\>set PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PY 

C:\>set
PYTHONPATH=C:/OSgeo4w/apps/grass/GRASS-~1.2/etc/python;C:\OSgeo4w\apps\orfeotoolbox\wrapping\lib;C:\OSgeo4w\apps\orfeotoolbox\wrapping\Python;C:\OSgeo4w\apps\orfeotoolbox\python;C:\Programmi\ArcGIS\bin;C:\OSgeo4w\apps\grass\grass-6.4.2\\etc\python;C:\OSgeo4w\apps\grass\grass-6.4.2\\etc\wxpython\n 

C:\>g.gisenv.exe set="MAPSET=user" 

C:\>g.gisenv.exe set="LOCATION=temp_location" 

C:\>g.gisenv.exe set="LOCATION_NAME=temp_location" 

C:\>g.gisenv.exe set="GISDBASE=C:\Documents and
Settings\rossinp\sextante\tempdata\grassdata" 

C:\>g.gisenv.exe set="GRASS_GUI=text" 

C:\>g.region n=5098753.0 s=5077746.0 e=2367660.0 w=2339468.0 res=1 

C:\>v.in.ogr min_area=-1 dsn="E:\GIS\temp" layer=tempiterpolation
output=tmp1336482424014 --overwrite -o 

GRASS_INFO_MESSAGE(3580,1): Over-riding projection check
GRASS_INFO_END(3580,1)

GRASS_INFO_MESSAGE(3580,2): Layer: tempiterpolation
GRASS_INFO_END(3580,2)

GRASS_INFO_MESSAGE(3580,3): Conteggio dei poligoni per 42 elementi in
corso...
GRASS_INFO_END(3580,3)


GRASS_INFO_MESSAGE(3580,4): Importing map 42 features...
GRASS_INFO_END(3580,4)

GRASS_INFO_MESSAGE(3580,5):
-----------------------------------------------------
GRASS_INFO_END(3580,5)

GRASS_INFO_MESSAGE(3580,6): Si sta ricreando la topologia per il vettore
<tmp1336482424014_tmp>...
GRASS_INFO_END(3580,6)

GRASS_INFO_MESSAGE(3580,7): Registrando primitive...
GRASS_INFO_END(3580,7)

GRASS_INFO_MESSAGE(3580,8): 42 primitive registrate
GRASS_INFO_END(3580,8)

GRASS_INFO_MESSAGE(3580,9): 42 vertici registrati
GRASS_INFO_END(3580,9)

GRASS_INFO_MESSAGE(3580,10): Numero di nodi: 42
GRASS_INFO_END(3580,10)

GRASS_INFO_MESSAGE(3580,11): Numero di primitive:42
GRASS_INFO_END(3580,11)

GRASS_INFO_MESSAGE(3580,12): Numero di punti:42
GRASS_INFO_END(3580,12)

GRASS_INFO_MESSAGE(3580,13): Numero di linee:0
GRASS_INFO_END(3580,13)

GRASS_INFO_MESSAGE(3580,14): Numero di confini:0
GRASS_INFO_END(3580,14)

GRASS_INFO_MESSAGE(3580,15): Numero di centroidi:0
GRASS_INFO_END(3580,15)

GRASS_INFO_MESSAGE(3580,16): Numero di aree: -
GRASS_INFO_END(3580,16)

GRASS_INFO_MESSAGE(3580,17): Numero di isole:-
GRASS_INFO_END(3580,17)

GRASS_INFO_MESSAGE(3580,18): Si sta ricreando la topologia per il vettore
<tmp1336482424014>...
GRASS_INFO_END(3580,18)

GRASS_INFO_MESSAGE(3580,19): Registrando primitive...
GRASS_INFO_END(3580,19)

GRASS_INFO_MESSAGE(3580,20): 42 primitive registrate
GRASS_INFO_END(3580,20)

GRASS_INFO_MESSAGE(3580,21): 42 vertici registrati
GRASS_INFO_END(3580,21)

GRASS_INFO_MESSAGE(3580,22): Costruendo aree...
GRASS_INFO_END(3580,22)


GRASS_INFO_MESSAGE(3580,23): 0 aree create
GRASS_INFO_END(3580,23)

GRASS_INFO_MESSAGE(3580,24): 0 isole create
GRASS_INFO_END(3580,24)

GRASS_INFO_MESSAGE(3580,25): Isole allegate...
GRASS_INFO_END(3580,25)

GRASS_INFO_MESSAGE(3580,26): Centroidi allegati...
GRASS_INFO_END(3580,26)


GRASS_INFO_MESSAGE(3580,27): Numero di nodi: 42
GRASS_INFO_END(3580,27)

GRASS_INFO_MESSAGE(3580,28): Numero di primitive:42
GRASS_INFO_END(3580,28)

GRASS_INFO_MESSAGE(3580,29): Numero di punti:42
GRASS_INFO_END(3580,29)

GRASS_INFO_MESSAGE(3580,30): Numero di linee:0
GRASS_INFO_END(3580,30)

GRASS_INFO_MESSAGE(3580,31): Numero di confini:0
GRASS_INFO_END(3580,31)

GRASS_INFO_MESSAGE(3580,32): Numero di centroidi:0
GRASS_INFO_END(3580,32)

GRASS_INFO_MESSAGE(3580,33): Numero di aree:0
GRASS_INFO_END(3580,33)

GRASS_INFO_MESSAGE(3580,34): Numero di isole:0
GRASS_INFO_END(3580,34)

C:\>v.surf.idw input=tmp1336482424014 npoints=8 power=2 column=dtm10m
output=output --overwrite 

GRASS_INFO_ERROR(2036,1): G_malloc: impossibile allocare 112768 bytes a
main.c:169
GRASS_INFO_END(2036,1)

C:\>g.region rast=output 

GRASS_INFO_ERROR(2012,1): Mappa raster <output> non trovata
GRASS_INFO_END(2012,1)

C:\>r.out.gdal -c createopt="TFW=YES,COMPRESS=LZW" input=output
output="C:/Documents and Settings/rossinp/Desktop/pipp.tif" 

GRASS_INFO_ERROR(1348,1): Mappa raster o gruppo <output> non trovato
GRASS_INFO_END(1348,1)

C:\>exit


--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Sextante-plugin-works-except-with-GRASS-tp4958903p4960419.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.



More information about the Qgis-user mailing list