Bug #6087

cannot run r.lake due to error in seed point or layer

Added by maning sambale 11 months ago. Updated 7 months ago.

Status:Closed Start Date:07/24/2012
Priority:Normal Due date:
Assigned to:Victor Olaya % Done:

0%

Category:Backend/SEXTANTE
Target version:-
Patch supplied:No

Description

r.lake requires either a seed point coordinates or a seed map layer. The module fails because it use both option which returns an error. There is no option to choose whether it will use the seed point or the seed map.

GRASS execution commands
g.region n=6.68125001 s=5.94458334 e=125.282638784 w=124.270694338 res=0.000277777778
r.in.gdal input="/home/maning/svnlocal/essc_geomatics/fossgis_courses/sphinx_mat/geodata/south_cotabato/dem_30m/dem_30m.tif" band=1 out=tmp1343126476493 --overwrite -o
r.in.gdal input="/home/maning/svnlocal/essc_geomatics/fossgis_courses/sphinx_mat/geodata/south_cotabato/temp/streamsegments_thin.tif" band=1 out=tmp1343126476494 --overwrite -o
r.lake dem=tmp1343126476493 wl=100 xy= seed=tmp1343126476494 lake=lake --overwrite
g.region rast=lake
r.out.gdal -c createopt="TFW=YES,COMPRESS=LZW" input=lake output="/home/maning/svnlocal/essc_geomatics/fossgis_courses/sphinx_mat/geodata/south_cotabato/temp/lake.tif"

GRASS execution console output
Cleaning up temporary files ...
Starting GRASS ...
Executing '/home/maning/sextante/grass_batch_job.sh' ...
Welcome to GRASS 6.4.2 (2012)

GRASS_INFO_WARNING(16551,1): Over-riding projection check
GRASS_INFO_END(16551,1)

GRASS_INFO_MESSAGE(16551,2): r.in.gdal complete. Raster map <tmp1343126476493> created.
GRASS_INFO_END(16551,2)

GRASS_INFO_WARNING(16552,1): Over-riding projection check
GRASS_INFO_END(16552,1)

GRASS_INFO_MESSAGE(16552,2): r.in.gdal complete. Raster map <tmp1343126476494> created.
GRASS_INFO_END(16552,2)

GRASS_INFO_ERROR(16553,1): Both seed map and coordinates cannot be specified
GRASS_INFO_END(16553,1)

GRASS_INFO_ERROR(16554,1): Raster map <lake> not found
GRASS_INFO_END(16554,1)

GRASS_INFO_ERROR(16555,1): Raster map or group <lake> not found
GRASS_INFO_END(16555,1)
Closing monitors ...
Cleaning up temporary files ...
Batch job '/home/maning/sextante/grass_batch_job.sh' (defined in GRASS_BATCH_JOB variable) was executed.
Goodbye from GRASS GIS

History

Updated by Victor Olaya 11 months ago

  • Status changed from New to Resolved

fixed in r309

Updated by Filipe Dias 7 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF