[GRASS-user] Problem with r.basin in grass7

Helmut Kudrnovsky hellik at web.de
Tue Nov 18 07:54:51 PST 2014


Andrea Timmermann wrote
> Hi Margherita,  
> 
>   
> 
> Thanks for your answer. I am sorry I did not explain well what I
> meant.  
> 
>   
> 
> When I delete all files and start again, I get again stuck at that point. 
> 
>   
> 
> What I do is: delete all files, set region, run r.basin, get the error ...
> detele all files, set the region, run r.basin, get the error ....
>    
> 
> 
>   
> 
> I just tried it again .. 
> 
>   
> 
> Thanks,  
> 
> Andrea 
> 
> 
> Gesendet: Dienstag, 18. November 2014 um 09:38 Uhr 
> Von: "Margherita Di Leo" <

> diregola@

> > 
> An: "Andrea Timmermann" <

> timmermann@

> > 
> Cc: "Helmut Kudrnovsky" <

> hellik@

> >, "GRASS user list" <

> grass-user at .osgeo

> > 
> Betreff: Re: [GRASS-user] Problem with r.basin in grass7 
> 
> 
> Hi Andrea,
>  
> On Tue, Nov 18, 2014 at 3:55 AM, Andrea Timmermann < 

> timmermann@

>  > wrote:
> 
> 
> 
> 
> Hi Helmut,  
> 
>   
> 
> Thanks for your email.  
> 
> I set again the area and resolution with g.region before running r.basin.
> I also deleted all files except my DEM.  
> 
>   
> 
> Now I get a different error ... 
> 
>   
> 
> When I run 
> 
> 
> "r.basin map=map at Elevation prefix=o
> coordinates=-71.10394196,43.9865230801 threshold=19005
> dir=C:\\Users\\Andrea\\Basins" 
> 
>   
> 
> I get: 
> 
> "... 
> 
> Building topology for vector map <o_map_ord_1 at Elevation>... 
> Registering primitives... 
> 10 primitives registered 
> 558 vertices registered 
> Building areas... 
> 0 areas built 
> 0 isles built 
> Attaching islands... 
> Attaching centroids... 
> Number of nodes: 20 
> Number of primitives: 10 
> Number of points: 0 
> Number of lines: 10 
> Number of boundaries: 0 
> Number of centroids: 0 
> Number of areas: 0 
> Number of isles: 0 
> Updating attributes... 
> r.to.vect complete. 
> All in RAM calculation... 
> ERROR: Region resolution and raster map <o_map_strahler> resolution
> differs. Run 'g.region rast=o_map_strahler' to set proper region
> resolution" 
> 
>   
> 
> I run g.region rast=o_map_strahler, but then I have to delete
> all files and start over again running r.basin. 
> 
> 
> 
> 
> 
>   
> 
> Yes if you change the region you have to delete the files created in the
> previous run (if they have same name) or allow overwrite. 
> 
> 
>   
> --
> 
> 
> 
> Best regards, 
> 
>   
> 
> Dr. Margherita DI LEO     
> 
> Scientific / technical project officer 
> 
>   
> 
> European Commission - DG JRC  
> 
> Institute for Environment and Sustainability (IES) 
> 
> Via Fermi, 2749 
> 
> I-21027 Ispra (VA) - Italy - TP 261 
> 
>         
> 
> Tel. +39 0332 78 3600    

> margherita.di-leo at .europa

>  
> 
>   
> 
> Disclaimer: The views expressed are purely those of the writer and may not
> in any circumstance be regarded as stating an official position of the
> European Commission. 
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> grass-user mailing list

> grass-user at .osgeo

> http://lists.osgeo.org/mailman/listinfo/grass-user

could you post also the exact commands of your steps?
e.g.

g.region -a -p rast=yourdem align=yourdem
r.basin --verbose elevation=yourdem....

g.region 




-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Problem-with-r-basin-in-grass7-tp5169155p5173590.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list