Re: [GRASS-user] Personalised raster alghoritm (simple: area)

2012-06-12 Thread Daniel Lee
Hi Antonello, I would first make a field for the area in the vector attribute table with v.db.addcol, then compute the area of each vector with v.to.db and store it in the attribute table. Then I'd convert the vectors to rasters using the parameter use=attr and tell GRASS to use the area column

Re: [GRASS-user] VOXEL will not display (3D geological volume modeling)

2012-06-12 Thread gene
Hello In my experience, the problem lies in defining the upper and lower limits of the 3D region (see http://osgeo-org.1560.n6.nabble.com/3D-geological-volume-modeling-raster-3D-is-it-really-possible-td4980148.html 3D geological volume modeling (raster 3D): is it really possible ? ) with bad

Re: [GRASS-user] 回覆: Re: ridge extraction from DEM

2012-06-12 Thread Margherita Di Leo
Hi, there is also r.convergence add-on: http://grass.osgeo.org/wiki/GRASS_AddOns#r.convergence Regards, madi On Tue, Jun 12, 2012 at 4:24 AM, Michael Barton michael.bar...@asu.eduwrote: Invert the DEM by multiplying all values by -1 and adding the maximum original height value. This makes

[GRASS-user] Import grd/gri-Raster from R-package 'dismo'

2012-06-12 Thread Johannes Radinger
Hi, I doing species distribution modeling in R using the package 'dismo'[1]. The predict() function produces a output raster file with the prediction of the species distribution. The file which is created is a grd file + a gri file. What is the Format i need to set when I want to import this

Re: [GRASS-user] 回覆: Re: ridge extraction from DEM

2012-06-12 Thread Markus Metz
On Tue, Jun 12, 2012 at 11:28 AM, Margherita Di Leo direg...@gmail.com wrote: Hi, there is also r.convergence add-on: http://grass.osgeo.org/wiki/GRASS_AddOns#r.convergence BTW, the topographic convergence index is also available in r.watershed in GRASS 7. Markus M Regards, madi On

[GRASS-user] GRASS GIS graphical modeller - use overwrite flag

2012-06-12 Thread Paulo van Breugel
Hi, I am experimenting with the GRASS graphical modeller in GRASS 7.0 and I am wondering where / how to set the 'overwrite' flag in e.g. the r.mask function. There does not seem to be an option to set this flag and adding '--overwrite' to the command line under the 'item' tab does not seem

[GRASS-user] GRASS Graphical Modeller - using loops

2012-06-12 Thread Paulo van Breugel
Hi, I am experimenting with the GRASS graphical modeller in GRASS 7.0 (on Ubuntu 12.04). I would like to create a mask in a loop, whereby the input 'maskcats' is dynamic. I.e., I would like to do something similar to the script below: for i in { 1 .. 5 } do r.mask input=inputmap

Re: [GRASS-user] Import grd/gri-Raster from R-package 'dismo'

2012-06-12 Thread Markus Metz
On Tue, Jun 12, 2012 at 11:41 AM, Johannes Radinger jradin...@gmx.at wrote: Hi, I doing species distribution modeling in R using the package 'dismo'[1]. The predict() function produces a output raster file with the prediction of the species distribution. The file which is created is a grd

Re: [GRASS-user] Personalised raster alghoritm (simple: area)

2012-06-12 Thread Antonello Lobianco
Thank you, this actually worked. As I actually wanted the value in meters what I did was to create a very hi-res grid with 20 meter resolution and then assign the value 400 in the rasterisation of the vector, to finally resample. A direct rasterisation of the vector using the area column as

Re: [GRASS-user] NVIZ can't allocate enough memory

2012-06-12 Thread Markus Metz
On Tue, Jun 12, 2012 at 5:23 AM, Glynn Clements gl...@gclements.plus.com wrote: Daniel Lee wrote: ERROR: G_malloc: unable to allocate 18446744071974792324 bytes at gsds.c:575 18446744071974792324 = 0x9899ac84 Does anybody know what could be the problem? If I'm interpreting the

[GRASS-user] r.stream with svn grass 64

2012-06-12 Thread Stephen Sefick
All: I have a grass64 svn installation on Ubuntu 10.04 that I have been having not problems with for a while. I have been updating the installation in the same way as I have been in a while. I have written into the script to automatically install the r.stream* modules. I have recently,

Re: [GRASS-user] r.stream with svn grass 64

2012-06-12 Thread Margherita Di Leo
Hi Stephen, On Tue, Jun 12, 2012 at 3:17 PM, Stephen Sefick sas0...@auburn.edu wrote: All: I have a grass64 svn installation on Ubuntu 10.04 that I have been having not problems with for a while. I have been updating the installation in the same way as I have been in a while. I have

Re: [GRASS-user] r.stream with svn grass 64

2012-06-12 Thread Stephen Sefick
On Tue 12 Jun 2012 08:22:54 AM CDT, Margherita Di Leo wrote: Hi Stephen, On Tue, Jun 12, 2012 at 3:17 PM, Stephen Sefick sas0...@auburn.edu mailto:sas0...@auburn.edu wrote: All: I have a grass64 svn installation on Ubuntu 10.04 that I have been having not problems with for a

[GRASS-user] Export All Vector Map Attributes

2012-06-12 Thread Rich Shepard
There are four different maps/tables of water monitoring sites, each from a different source. To consolidate them into a single map/table I need to export all attributes. v.out.ascii exports the category number, easting, and northing, but not the other two columns (site ID and type). Is there

Re: [GRASS-user] Export All Vector Map Attributes

2012-06-12 Thread Helmut Kudrnovsky
db.out.ogr ? http://grass.osgeo.org/grass64/manuals/html64_user/db.out.ogr.html - best regards Helmut -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Export-All-Vector-Map-Attributes-tp4980880p4980889.html Sent from the Grass - Users mailing list archive at Nabble.com.

Re: [GRASS-user] Export All Vector Map Attributes

2012-06-12 Thread Rich Shepard
On Tue, 12 Jun 2012, Helmut Kudrnovsky wrote: db.out.ogr ? Helmut, Yep. That'll work. I did overlook this one. Thanks, Rich ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] 回覆: Re: 回覆: Re: ridge extraction from DEM

2012-06-12 Thread Michael Barton
Thomas, Again, you'd have to look to see if this can give you the results you need. The word ridge is a qualitative term that refers to a general landform category. For your purposes, how high does a landform need to be to qualify as a ridge: 1m, 10m, 100m, 1000m? Similarly, how long does it

Re: [GRASS-user] [GRASS-dev] histogram matching in GRASS?

2012-06-12 Thread Michael Barton
I will do so. Thanks. Michael On Jun 12, 2012, at 10:46 AM, Luca Delucchi wrote: 2012/6/6 Markus Neteler nete...@osgeo.org: We have developed it and will put it shortly into Addons. I just commit i.histo.match on grass7 addons please test it. Markus -- ciao Luca

Re: [GRASS-user] How to install v.strahler add-on under Windows?

2012-06-12 Thread Alexander Muriy
Thanks, Markus and Martin! Now v.strahler is installed under 6.4.* and works fine. ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] r.viewshed add-on is taking too long

2012-06-12 Thread Chaulio Ferreira
Hello everyone, I've been trying to compute some viewsheds using the r.viewshed module (available in http://grass.osgeo.org/wiki/GRASS_AddOns), but it's taking to long to finish. I ran this module on a 5000x5000 (95mb) raster grid and it took 3min 17sec to finish. I have seen some articles

[GRASS-user] Advanced SQL Queries

2012-06-12 Thread Rich Shepard
Two tables: 'sites' contains the ID and geographic coordinates; 'waterchem' contains the ID and water chemistry data. The latter table is a sub-set of the former. I want to display only those sites for which chemistry data are available. In postgres I write, SELECT DISTINCT(w.site)

Re: [GRASS-user] r.viewshed add-on is taking too long

2012-06-12 Thread Markus Metz
On Tue, Jun 12, 2012 at 9:52 PM, Chaulio Ferreira chau...@hotmail.com wrote: Hello everyone, I've been trying to compute some viewsheds using the r.viewshed module (available in http://grass.osgeo.org/wiki/GRASS_AddOns), but it's taking to long to finish. I ran this module on a 5000x5000

Re: [GRASS-user] r.viewshed add-on is taking too long

2012-06-12 Thread Chaulio Ferreira
Markus M, Thanks for answering. I'll try to use the default 500mb. But I still think these differences in the times are too big. I am not using a big map (just 95mb, it would fit 5 times in the RAM memory) and a rather regular PC. On this email

Re: [GRASS-user] question about gdal

2012-06-12 Thread Daniel Victoria
Hi Michael, Are you sure you should use the -mo flag? Because it looks like that flag is for setting metadata to the output. Since gdal considers each time step in a NetCDF dataset a band, have you tried using the -b switch, for selecting the band you are interested in? Cheers Daniel On Tue,

Re: [GRASS-user] question about gdal

2012-06-12 Thread Michael Barton
Thanks Daniel, It is not clear to me how the -mo flag works. You may be right, but it also sounded like you could use it to subset the data. I can use -b of course, but this only takes numbers. I'm dealing with NetCDF files that can have hundreds or thousands of bands. So querying the metadata

Re: [GRASS-user] question about gdal

2012-06-12 Thread Hamish
Michael wrote: I'm working with reading NetCDF files. gdal does an admirable job of this. Many of the NetCDF climate data files have many bands and I'd like import only some of them. Specifying a particular NetCDF SUBSET will allow gdal to read the data for a particular variable. fyi, see