[GRASS-user] v.buffer problem (bug?)

2011-03-22 Thread leonidas
I'm using Grass 6.4.0 and I'm trying to generate a buffer for a polyline vector map. The problem is that v.buffer runs but it doesn't end. I give it a lot of time (+2 hours) but it didn't finish. Using the same file in QGIS the job done in less than a minute. What could be the problem? Is this a bu

Re: [GRASS-user] Calling GRASS scripts from GRASS C modules

2011-03-22 Thread Glynn Clements
Monica Buescu wrote: > > > 7.0 has G_popen_{read,write}, which do most of the work for you, but > > > these haven't been back-ported to 6.x yet. > > > > I have compared the two lib/gis/popen.c files. Is backport as "easy" as > > adding the GRASS 7 functions in 6 to also keep the old G_popen() and

Re: [GRASS-user] r.rescale - float instead of integer?

2011-03-22 Thread Glynn Clements
Johannes Radinger wrote: > I try to rescale a rastermap with category values ranging from 1 to 16. > I want to rescale them by dividing the values by the maximum value, like > 1 --> 1/16, 10-->10/16 and 16 --> 1). I tried to do that with the r.rescale > tool with setting the output range to 0,1

Re: [GRASS-user] Running a Pyhton Script on Mac (Mapcalc)

2011-03-22 Thread Glynn Clements
Johannes Radinger wrote: > I'd like to run a python script on my GRASS6.5 on MacOS. > > I saved a *.py script for testing with following content on my desktop: > All the needed files (upstream_part, shreve) are existing in the > location and mapset that is open. Then I tried to execute > File--

Re: [GRASS-user] Calling GRASS scripts from GRASS C modules

2011-03-22 Thread Glynn Clements
Markus Neteler wrote: > > 7.0 has G_popen_{read,write}, which do most of the work for you, but > > these haven't been back-ported to 6.x yet. > > I have compared the two lib/gis/popen.c files. Is backport as "easy" as > adding the GRASS 7 functions in 6 to also keep the old G_popen() and > G_pcl

[GRASS-user] Re: [gdal-dev] Reproject Landsat USGS image

2011-03-22 Thread Luisa Peña
For now GDAL15 (the one that comes with winGRASS GIS) and GDAL16 binary. Why? 2011/3/22 Kyle Shannon > What version of gdal are you using? > > # > Kyle Shannon > Physical Science Technician > RMRS Fire Sciences Lab > Fire, Fuels & Smoke - RWU 4405 > 5775 Highway 10

[GRASS-user] Add a color to a vector

2011-03-22 Thread Monica Buescu
Greetings I have produced in winGRASS 6.4.0 stable a vector (by converting from raster to vector) and I want to add a color. how can I do that inside a Python Script? Thanks Monica ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osge

Re: [GRASS-user] simple shell scrip example with parameters

2011-03-22 Thread Markus Neteler
On Tue, Mar 22, 2011 at 9:25 PM, Marcello Benigno wrote: > Hi All, > > I need build one script shell for GRASS that receive two parameters (x and y > coordinates) and calculate the r.water.outlet to this point, but I'm newbie > in shell programming. Anyone have a example or link to show something

[GRASS-user] simple shell scrip example with parameters

2011-03-22 Thread Marcello Benigno
Hi All, I need build one script shell for GRASS that receive two parameters (x and y coordinates) and calculate the r.water.outlet to this point, but I'm newbie in shell programming. Anyone have a example or link to show something similar? In my tests I can run one simple script, *without* paramet

Re: [GRASS-user] r.rescale - float instead of integer?

2011-03-22 Thread Rich Shepard
On Tue, 22 Mar 2011, Johannes Radinger wrote: but it I don't get float values as a results, only 0 and 1 as integers. Does r.rescale handle floats and how do I have to rescale it? Or is there any other simple way to divide the single raster values by the maximum value and get a float value as re

[GRASS-user] r.rescale - float instead of integer?

2011-03-22 Thread Johannes Radinger
Hello, I try to rescale a rastermap with category values ranging from 1 to 16. I want to rescale them by dividing the values by the maximum value, like 1 --> 1/16, 10-->10/16 and 16 --> 1). I tried to do that with the r.rescale tool with setting the output range to 0,1 like: r.rescale input=inpu

Re: [GRASS-user] error: command 'gcc' failed with exit status 1

2011-03-22 Thread Martin Landa
Hi, 2011/3/22 Chethan S : > As suggested in this link: > http://osgeo-org.1803224.n2.nabble.com/wxpython-gui-and-v-digit-td3019439.html > and https://svn.osgeo.org/grass/grass/trunk/gui/wxpython/README - 6. VECTOR > DIGITIZER I have been trying to compile/install vdigit component. I could > instal

[GRASS-user] Re: r.in.wms and r.patch

2011-03-22 Thread TimNorwey
> 3) How the r.patch command works? > r.patch input=raster1,raster2,raster3,... output=NameOfResultRaster --> that´s the command... I just know this... cheers -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/r-in-wms-and-r-patch-tp6195956p6195971.html Sent from the

Re: [GRASS-user] GRASS plugin

2011-03-22 Thread Rainer M Krug
On Tue, Mar 22, 2011 at 11:54 AM, Paolo Cavallini wrote: > Il giorno mar, 22/03/2011 alle 08.42 +0100, Soeren Gebbert ha scritto: >> Indeed it is currently not user friendly to install and configure a >> WPS GRASS GIS environment and GRASS does not have a WPS server >> included. But GRASS GIS 7 su

Re: [GRASS-user] GRASS plugin

2011-03-22 Thread Paolo Cavallini
Il giorno mar, 22/03/2011 alle 08.42 +0100, Soeren Gebbert ha scritto: > Indeed it is currently not user friendly to install and configure a > WPS GRASS GIS environment and GRASS does not have a WPS server > included. But GRASS GIS 7 supports WPS server by providing the > capability of creating WP

[GRASS-user] Running a Pyhton Script on Mac (Mapcalc)

2011-03-22 Thread Johannes Radinger
Hello, I'd like to run a python script on my GRASS6.5 on MacOS. I saved a *.py script for testing with following content on my desktop: #!/usr/bin/python # #%Module #% description: mapcalc test #%End #%option #% key: upstream_shreve #% type: string #% gisprompt: new,cell,raster #% description: o

Re: [GRASS-user] Calling GRASS scripts from GRASS C modules

2011-03-22 Thread Monica Buescu
Hi In my case I'm using 6.4.1 from September 2010 (before the major changes in WxPython GUI) and I want to run it in Windows. So, am I able to use that? Thanks Monica On Tue, Mar 22, 2011 at 7:45 AM, Markus Neteler wrote: > On Tue, Mar 22, 2011 at 3:26 AM, Glynn Clements > wrote: > ... > > 7.

Re: [GRASS-user] GRASS plugin

2011-03-22 Thread Rainer M Krug
On Tue, Mar 22, 2011 at 8:42 AM, Soeren Gebbert wrote: > Hi Maris, > > 2011/3/22 Maris Nartiss : >> Sören, just remind me, since when GRASS has a WPS server? AFAIK one >> still needs to set-up something like PyWPS to get WPS goodies from >> GRASS. I was playing around with different WPS implementa

Re: [GRASS-user] Calling GRASS scripts from GRASS C modules

2011-03-22 Thread Markus Neteler
On Tue, Mar 22, 2011 at 3:26 AM, Glynn Clements wrote: ... > 7.0 has G_popen_{read,write}, which do most of the work for you, but > these haven't been back-ported to 6.x yet. I have compared the two lib/gis/popen.c files. Is backport as "easy" as adding the GRASS 7 functions in 6 to also keep the

Re: [GRASS-user] GRASS plugin

2011-03-22 Thread Soeren Gebbert
Hi Maris, 2011/3/22 Maris Nartiss : > Sören, just remind me, since when GRASS has a WPS server? AFAIK one > still needs to set-up something like PyWPS to get WPS goodies from > GRASS. I was playing around with different WPS implementations and > PyWPS was only one I got running. I wouldn't call it