Re: [GRASS-user] ~/.bashrc or ~/.grass.bashrc

2009-10-29 Thread Glynn Clements
Seb wrote: Is there any difference between placing variable definitions in ~/.bashrc vs. ~/.grass.bashrc? Furthermore, should PNG-related variables be exported? Thanks for any advice. ~/.grass.bashrc is read by the session shell, so it can use and override any settings made by the GRASS

Re: [GRASS-user] r.buffer

2009-10-29 Thread Giovanni Pasini
Alessandro Bertan ha scritto: Hi! Thank you for your useful indications! It seems that the addon v.what.rast.buffer is capable of doing what I want. I am trying to modify it by substituting r.univar -g with r.stats -anl but I get the following error message: Calculating stats for cat ...

Re: [GRASS-user] 2 r.neighbors questions

2009-10-29 Thread Glynn Clements
Hermann Peifer wrote: I started using r.neighbors and came across the following issues: I have a CELL type input raster and calculate weighted sums. The weights are float, so the calculation result should be float, but r.neighbors output raster is again CELL type with truncated integers.

Re: [GRASS-user] 2 r.neighbors questions

2009-10-29 Thread Hermann Peifer
Glynn, Thanks for the confirmation about how to get to rounded weighted sums. As far as I can see: r.resamp.stats (which, in a way, also generates neighborhood statistics) simply produces DCELL output rasters, no matter what the input cell type or aggregation method is. At least the sum of

[GRASS-user] Using GRASS and R at the same time (wxpython)

2009-10-29 Thread Martin Mainzer
Hello at all I do my statistical analyses with R. In the old tcltk-GUI I used Run (background) to start R from within the GRASS GUI. Within the new wxpython-GUI I would like to have the same behaviour, but I do not know how to manage it. If I run rgui in the cmd section, GRASS will not accept

Re: [GRASS-user] having problems importing shapefiles

2009-10-29 Thread Markus Metz
Carlos Grohmann wrote: Hi all, I'm facing some serious issues importing shapefiles (latest svn). But your terminal prompt says GRASS 6.4.0RC5 instead of GRASS 6.4.0svn. Can you try with latest svn again? I always end up with a buffer overflow, no matter the size of the file (error msg at

[GRASS-user] R and GRASS (readVECT6 problem)

2009-10-29 Thread Martin Mainzer
Hi, I am using the latest GRASS windows binary (WinGRASS-6.4.0SVN-r39626-1-Setup.exe) on W2K. My R version is 2.9.2. After starting R from within GRASS, loading the library(spgrass6) it is not possible to use the readVECT6 command (with the South-Dakota dataset) in R: map -

Re: [GRASS-user] internal buffer of polygon

2009-10-29 Thread Milton Cezar Ribeiro
Hi Maning, Sometimes I have the same issue, but I don't solve this on vector. Just supose you have a map where 1 is your raster-based-polygon and NULL is outside of polygon. You can use r.mapcalc to invert it, in the maner that 1 come to be your non-polygon, and NULL your polygon. So you can run

[GRASS-user] Windows Grass 6.4.0SVN Python error

2009-10-29 Thread Helmut Kudrnovsky
Hi Matt, is it possible that you have beside the osgeo4w-python a second python-installation in your WinVista box? see also: http://n2.nabble.com/wingrass-and-ArcGIS-with-Python-td3448609.html best regards Helmut I installed the Windows version of Grass 6.4.0SVN using the stand-alone

[GRASS-user] problem creating location

2009-10-29 Thread Carbonari, Katie (IS)
Hi there. I'm new to GRASS and am having problems creating a new location. I have a georeferenced file (TIFF file of SRTM data) and I want to define my location with it. I click on Define new location with georeferenced file, give it a name and tell GRASS where the file is. Then I get this

Re: [GRASS-user] problem creating location

2009-10-29 Thread Hamish
Hi Katie, Hi there. I'm new to GRASS and am having problems creating a new location. I have a georeferenced file (TIFF file of SRTM data) and I want to define my location with it. I click on Define new location with georeferenced file, give it a name and tell GRASS where the file is. Then I

Re: [GRASS-user] R and GRASS (readVECT6 problem)

2009-10-29 Thread Roger Bivand
The last time this was seen, it was a locale problem. I heard today something from that questioner, who asked on the more relevant statsgrass list. Try setting your locale to an English one. I'll try to release the package with a patch, although the original questioner did not report success (but

Re: [GRASS-user] internal buffer of polygon

2009-10-29 Thread Hamish
Milton: Sometimes I have the same issue, but I don't solve this on vector. in the past I have created a negative vector mask with v.in.region (infinite area as the inverse of a closed polygon is not really possible) and then run 'v.overlay op=not'. but perhaps v.buffer + the original area fed