Re: [GRASS-user] DTM with contour lines and points

2012-04-20 Thread Paolo Cavallini
Il 20/04/2012 00:51, Pedro Venâncio ha scritto: I thought a way to get around, which is to convert the contours to equally spaced points and join these points whith the elevation points layer. Is there a more correct and straightforward way to do? your real data are vertices anyway, so I

Re: [GRASS-user] r.stream.extract: map mis-match error

2012-04-20 Thread Markus Metz
On Thu, Apr 19, 2012 at 10:57 PM, Rich Shepard rshep...@appl-ecosys.com wrote:  On one project the r.stream.extract error, Accumulation map does not match elevation map!, was caused by a mask on the elevation map. With this project the mask was removed, and no longer limits the DEM region. It

[GRASS-user] Re: internal buffer of polygon

2012-04-20 Thread Patrick S.
Another workaround. Don't know if that helps and never tried it out, but my approach for inner offset would be a decomposition of the polygons: v.type in=poly out=poly_as_line type=boundary,line v.parallel v.clean tool=break v.type type=line,boundary v.centroids v.build If you can not define

[GRASS-user] GRASS module (python, gparser): Set a tick for flag by default

2012-04-20 Thread Johannes Radinger
Hi, I am working on a python script which involves a g.parser module (to get the input mask for a module as for other modules in GRASS). So far I know how a flag is produced in the beginning of the script. E.g.: #%Flag #% key: f #% description: My Flag of Interest #%end Is there any

Re: [GRASS-user] GRASS module (python, gparser): Set a tick for flag by default

2012-04-20 Thread Glynn Clements
Johannes Radinger wrote: I am working on a python script which involves a g.parser module (to get the input mask for a module as for other modules in GRASS). So far I know how a flag is produced in the beginning of the script. E.g.: #%Flag #% key: f #% description: My Flag of Interest

Re: [GRASS-user] vector import issues v.in.ogr

2012-04-20 Thread Daniel Lee
Hi Pankaj, What format are you exporting to? The vectors in india_basins_vector.png look good. Daniel -- B.Sc. Daniel Lee Geschäftsführung für Forschung und Entwicklung ISIS - International Solar Information Solutions GbR Vertreten durch: Daniel Lee, Nepomuk Reinhard und Nils Räder

Re: [GRASS-user] vector import issues v.in.ogr

2012-04-20 Thread Pankaj Kr Sharma
I created this vector by r.to.vect command. Then, I ran v.out.ogr. And, thereafter I tried v.in.ogr. Which resulted in erroneous vector. On Fri, Apr 20, 2012 at 4:31 PM, Daniel Lee l...@isi-solutions.org wrote: Hi Pankaj, What format are you exporting to? The vectors in

Re: [GRASS-user] GRASS module (python, gparser): Set a tick for flag by default

2012-04-20 Thread Johannes Radinger
Thank you. Good to know that, so that I'll do a reverse of the meaning of the flag as you mentioned (...don't...). cheers, Johannes Original-Nachricht Datum: Fri, 20 Apr 2012 11:26:55 +0100 Von: Glynn Clements gl...@gclements.plus.com An: Johannes Radinger jradin...@gmx.at

Re: [GRASS-user] r.stream.extract: map mis-match error

2012-04-20 Thread Rich Shepard
On Fri, 20 Apr 2012, Markus Metz wrote: It is perfectly ok to set the region to a subregion of the DEM and to set a MASK. These settings should not be modified, however. As long as r.watershed and r.stream.extract are used on the same region settings and the same MASK, the map mismatch error

Re: [GRASS-user] r.stream.extract: map mis-match error

2012-04-20 Thread Rich Shepard
On Fri, 20 Apr 2012, Markus Metz wrote: g.region res=10m -a r.resamp.stats in=dem_proj out=dem_10m method=average -w What is the reason to run r.resamp.stats if the region's resolution has been changed to that cell size? Thanks, Rich ___

Re: [GRASS-user] r.stream.extract: map mis-match error

2012-04-20 Thread Rich Shepard
On Fri, 20 Apr 2012, Markus Metz wrote: The resolution has been decreased, in this case several of the original cells fall into one new cell. A reasonably accurate new value can be obtained by using the average of all cells falling into a new cell. If on the contrary resolution is changed from

Re: [GRASS-user] r.stream.extract: map mis-match error

2012-04-20 Thread Rich Shepard
On Fri, 20 Apr 2012, Markus Metz wrote: Try to set the region and MASK before the analysis, then don't modify these settings during the analysis. Something like g.region vect=basins align=dem_proj g.region res=10m -a r.resamp.stats in=dem_proj out=dem_10m method=average -w v.to.rast in=basins

Re: [GRASS-user] DTM with contour lines and points

2012-04-20 Thread Pedro Venâncio
Thank you Paolo! Best regards! Pedro - Original Message - From: Paolo Cavallini  Il 20/04/2012 00:51, Pedro Venâncio ha scritto: I thought a way to get around, which is to convert the contours to equally spaced points and join these points whith the elevation points layer. Is

[GRASS-user] v.triangle -- module to produce TIN with breaklines using Triangle utility

2012-04-20 Thread Alexander Muriy
Hi all. I wrote a shell-script module v.triangle that is front-end for the famous Triangle utility (http://www.cs.cmu.edu/~quake/triangle.html) of J.R. Shewchuk. I'm planning to add it to GRASS-Addons wiki page :) Triangle makes exact Delaunay triangulations, constrained Delaunay triangulations,

Re: [GRASS-user] v.triangle -- module to produce TIN with breaklines using Triangle utility

2012-04-20 Thread Sylvain Maillard
Hi, I'm not sure to understand the difference between your v.triangle and the v.delaunay ( http://grass.osgeo.org/grass64/manuals/html64_user/v.delaunay.html) already in grass core ... for what I see in your pdf exemple, it seems that your new module is giving almost the same result as v.delaunay