Re: [GRASS-user] Calculate raster statistics for each polygon

2010-08-06 Thread katrin eggert
Hi Thanks Martin but It's not working. With the following command v.rast.stats -c -e --verbose vector=s...@permanent raster=se...@permanentcolprefix=stat I'm getting this error: Adding columns ' stat_n INTEGER, stat_min DOUBLE PRECISION, stat_max DOUBLE PRECISION, stat_range DOUBLE PRECISION,

Re: [GRASS-user] Calculate raster statistics for each polygon

2010-08-06 Thread Martin Wegmann
Hello, which GRASS version are you using and on which plattform? I did it with GRASS 6.4.0RC6 on Linux using the example GRASS dataset and it worked without problems: v.rast.stats -e vector=geol...@permanent layer=1 raster=elevat...@permanent colprefix=new_ percentile=90 and the new

Re: [GRASS-user] Calculate raster statistics for each polygon

2010-08-06 Thread razmjooeis
It might be something to do with v.db.addcol in windows: http://osgeo-org.1803224.n2.nabble.com/GRASS-GIS-1110-v-rast-stats-locks-up-on-wingrass-td5311955.html cheers Sab Hello, which GRASS version are you using and on which plattform? I did it with GRASS 6.4.0RC6 on Linux using the example

Re: [GRASS-user] Calculate raster statistics for each polygon

2010-08-06 Thread katrin eggert
I'm running GRASS6.4RC6 in Windows with a 2-week old Binary (we are only using Windows here). With that exact command I got: C:/GRASS6/scripts/v.rast.stats: line 268: v.db.addcol: command not found ERROR: Cannot continue (problem adding columns). Is this a common/expected problem in Windows? if

Re: [GRASS-user] Problems with a GeoTIFF referenced in Gauss Boaga system

2010-08-06 Thread Giacomo Piva
Thank you to all, I solved the problem by avoiding the location option. On 08/05/2010 04:14 PM, Giacomo Piva wrote: Hi all, I'm fighting with r.in.gdal function and a GeoTiff gereferenced in the Gauss Boaga system. I have this GeoTiff that is originlly georeferenced in the WGS84 system and

[GRASS-user] Calculate raster statistics for each polygon

2010-08-06 Thread Helmut Kudrnovsky
Hi Katrin, Is this a common/expected problem in Windows? if yes, how can I perform this analysis without using v.rast.stats? Thanks Kat please try the latest nightly-build of wingrass64 (http://josef.fsv.cvut.cz/wingrass/grass64/). this issue should be fixed there. best regards Helmut

[GRASS-user] Using r.univar.zonal- calculate most frequent value

2010-08-06 Thread António Rocha
Hi there, I have tested r.univar.zonal (pretty useful!!) but now I have one question: - Is it possible to calculate the most frequent value inside a zone? (I don't think so If not, is there any other way to calculate this in GRASS? Thanks Antonio __ Information from ESET NOD32

[GRASS-user] r.watershed from Metz et al. Paper in 6.4

2010-08-06 Thread stephen sefick
Is the r.watershed in 6.4 the one described in the Metz et al. 2010 paper? Should I stay with 6.4 or switch to 7. I am about to extract streams, watersheds, and other things with grass and r.stream*. Any advice would be greatly appreciated. -- Stephen Sefick

[GRASS-user] attributes in networks

2010-08-06 Thread Ricardo Rodríguez
hello all, I have a problem with the command v.net.path v.net and how you can add attributes to the network or as the network can be created with the attributes of the points and segments. thanks for your answers I worked with Grass Gis 6.5svn Ricardo Rodríguez Univalle

Re: [GRASS-user] 1-page grass overview

2010-08-06 Thread Dylan Beaudette
On Wednesday 04 August 2010, Hamish wrote: Hi, for the upcoming FOSS4G conference[1] we have put together a live dvd[2] with GRASS and a whole bunch of other OSGeo software, about 40 FOSS geo projects are participating in all. It would be great if folks could read through the 1-page

Re: [GRASS-user] 1-page grass overview

2010-08-06 Thread Nikos Alexandris
Hamish wrote: [...] [4] http://download.osgeo.org/livedvd/4.0-rc6/osgeolive-docs/quickstart/grass_ quickstart.html I would only add something about the powerful i.smap in the quickstart page. Cheers, Nikos ___ grass-user mailing list

Re: [GRASS-user] Re: Feed and manipulate the result of v.distance -pa in python

2010-08-06 Thread Nikos Alexandris
On Wednesday 04 of August 2010 15:20:58 schorschli wrote: For your task the use of lists and the split tool may help. The different lines have are seperated by a '\n' (which is interpreted as a new line). After splitting the string into a line list you can make a loop each item of this list.

Re: [GRASS-user] Re: Feed and manipulate the result of v.distance -pa in python

2010-08-06 Thread Martin Landa
Hi, 2010/8/6 Nikos Alexandris nikos.alexand...@felis.uni-freiburg.de:  distances = grass.read_command(v.distance,\  flags = 'pa',\  _from = reference_points_map,\  to = lowres_vector_grid,\  column = gridcell_column,\  to_column = cat,\  upload = to_attr) btw, there is no need for '\' at

Re: [GRASS-user] Re: Feed and manipulate the result of v.distance -pa in python

2010-08-06 Thread Nikos Alexandris
Nikos Alexandris: distances = grass.read_command(v.distance,\ flags = 'pa',\ _from = reference_points_map,\ to = lowres_vector_grid,\ column = gridcell_column,\ to_column = cat,\ upload = to_attr) Martin Landa wrote: btw, there is no need for '\' at the of the line.

Re: [GRASS-user] Clipping shapefile

2010-08-06 Thread Nikos Alexandris
On Friday 06 of August 2010 10:57:25 Giacomo Piva wrote: Hi all, I have a new question. I need to clip a shapefile using a bounding box, can I do that with grass? Giacomo, have a look at: http://grass.osgeo.org/grass64/manuals/html64_user/v.overlay.html Cheers, Nikos

[GRASS-user] module v.in.e00

2010-08-06 Thread ambrish dhaka
I have a problem with this import command. Whenever I try to import an E00 file it shows that I have not installed. I checked it again by running the OSGEO4W installation patch and there I crossed checked that avce00 library is also installed, but this problem simply does not go away and it

Re: [GRASS-user] module v.in.e00

2010-08-06 Thread Martin Landa
Hi, 2010/8/6 ambrish dhaka ambi...@hotmail.com: which: e00conv: unknown command 'e00conv' program not found, install it first http://avce00.maptools.org it seems to me that the message is quite informative - download install e00conv from http://avce00.maptools.org/. Martin -- Martin

[GRASS-user] KML and v.in.ogr

2010-08-06 Thread Richard Chirgwin
Hi, In importing a KML file using v.in.ogr, the table doesn't parse breaks correctly. The result is a column in which the delimiters (B and /B, BR and /BR) appear as text. Is this fixable, or should I try and parse the database table myself? This is in 6.4 on OSX. Richard Chirgwin

[GRASS-user] GRASS Meetup Group LA Area

2010-08-06 Thread Jan de Leeuw
http://www.meetup.com/Los-Angeles-Area-GRASS-Users-Group === Jan de Leeuw; Distinguished Professor and Chair, UCLA Department of Statistics; Director: UCLA Center for Environmental Statistics (CES); Editor: Journal of Multivariate Analysis, Journal of Statistical Software; US mail: 8125 Math