Re: [GRASS-user] v.what.rast for lines

2009-12-09 Thread Achim Kisseler
Hi Jitu, a way would be to convert the lines to raster (v.to.rast) and calculate the statistics (r.stats). As every line has a unique id, the raster-lines will have. Hope it helps, Achim Jitendra Kumar schrieb: Hi, v.what.rast allows to extract the values from the raster at the vector

Re: [GRASS-user] Help starting grass for first time

2009-12-09 Thread Achim Kisseler
Yes, this is quite tricky... Have you seen the literature on eg. http://www.gdf-hannover.de/media.php?id=0lg=en ? Try the spearfish dataset to get an idea, how to begin. Achim Ross Benisch schrieb: Hi, I have downloaded and unzip all the data for the 6.4 version of grass for windows vista

Re: [GRASS-user] Seg fault with i.group in script

2009-12-09 Thread Hamish
try running with the --verbose flag turned on. also `g.gisenv set=DEBUG=5` (set back to 0 to turn them off) can you change the top line of the shell script to be #!/bin/sh -x then you can follow the exact expansion of the shell variables from among the debug noise. probably python/bourne shell

Re: [GRASS-user] bug?: v.to.db wrong area

2009-12-09 Thread Achim Kisseler
I think v.dissolve corrupted it. I solved it by making a raster map and then a vector map again. Thanks, Markus and Pablo, Achim Achim Kisseler schrieb: I made the grid with: -%-- v.mkgrid --overwrite map=$1_grid_all grid=$north_south,$east_west position=coor coor=$southwest_corner

Re: [GRASS-user] grass-7.0.svn with gdal installation problem on ubuntu9.10

2009-12-09 Thread Jarosław Jasiewicz
Pankaj Kr Sharma pisze: Hello group, I have run it with grass-6.5.svn but the same gdal and gdal-grass plugin are not working with grass-7.0.svn. Any suggestions! Thanks. ___

[GRASS-user] COG

2009-12-09 Thread Achim Kisseler
Hi all, is it possible in grass to calculate the center of gravity? Given two raster maps: 1) map where areas are defined (can be vector map, too) 2) raster map with gravity values I cannot find something like this in grass. Any suggestion welcome, Achim

Re: [GRASS-user] Grass70 wxgui vs. command line d.*

2009-12-09 Thread Michael Barton
Hopefully the following will clarify this issue further. ** GRASS 7 GRASS commands work in GRASS 7 including all display commands that actually display something. Scripting works in GRASS 7. It works considerably better than it did in prior versions.

[GRASS-user] v.to.rast conversion

2009-12-09 Thread Giacomo Piva
Hi all, I have already read and tested how to integrate the GRASS modules on a BASH script as Markus suggested. I'm running GRASS 6.4RC5 version. I should convert a shapefile given in the Italian projection system (Gauss-Boaga) into a raster file (GeoTIFF format) at a given resolution. I have

[GRASS-user] Re: Define breaklines in DEM creation - r.surf.nnbathy

2009-12-09 Thread Maciej Sieczka
Luís Ferreira pisze: At page 235 from book OPEN SOURCE GIS - A GRASS GIS Approach 3rd edition: Natural neighbor interpolation is implemented in addon module r.surf.nnbathy. It uses “nn” – a natural neighbor interpolation library and allows the user to define breaklines such as stream lines

[GRASS-user] gdal-grass fail to build

2009-12-09 Thread Alfredo Alessandrini
Hi, The build failed when I try to compile gdal-grass. alfr...@astore:~/alfredo/grass_install/gdal-grass-1.4.3$ ./configure --with-gdal=/usr/local/bin/gdal-config --with-grass=/usr/local/grass-7.0.svn checking for gcc... gcc checking for C compiler default output file name... a.out checking

[GRASS-user] Re: Problems displaying d.vect.thematic

2009-12-09 Thread Omar Bautista González
I tested, the same command on an older version of GRASS and it worked (6.2.3). So I think this is a bug on this recent version (6.4.0RC5). I also tried simpler commands with d.vect.thematic and didn't worked with 6.4.0RC5. These commands worked well on 6.2.3. ¿What can we do to solve this

[GRASS-user] Show / Print current mapset

2009-12-09 Thread Tim Michelsen
Hello, which command line and GUI options do I have to get the current mapset? I am looking for a command that tells me the mapset selected when eneting GRASS. g.mapsets shows with its -p option all mapsets in the search path and g.mapset shows all in open locations. Could these two commands be

[GRASS-user] Re: Problems displaying d.vect.thematic

2009-12-09 Thread Omar Bautista González
Here, I report more information: v.info JCE_M2006 ++ | Layer: JCE_M2006 | | Mapset: user1 | |