John:
> Ok, applying my little grey cells (as Poirot would say) to the problem
> at hand, I believe I have resolved this as follows:
>
> for LAYER in `v.category -g option=report in=vect | awk '{print $1}' |
> uniq` ; do
> v.to.rast in=vect layer="$LAYER" out=vect_$LAYER use=val
> done
An
John Tull wrote:
> >> I was wondering if anyone could suggest a simple shell script to
> >> automate the process of running v.to.rast on all layers in
> >> a single vector in GRASS?
HB:
> > sure, just a bash for loop + g.mlist will do it:
> >
> > for MAP in `g.mlist vect` ; do
> > echo v.to.rast
On Sep 19, 2008, at 7:07 PM, John C. Tull wrote:
Hamish:
On Sep 19, 2008, at 6:45 PM, Hamish wrote:
John Tull wrote:
I was wondering if anyone could suggest a simple shell script to
automate the process of running v.to.rast on all layers in
a single vector in GRASS?
sure, just a bash for
Hamish:
On Sep 19, 2008, at 6:45 PM, Hamish wrote:
John Tull wrote:
I was wondering if anyone could suggest a simple shell script to
automate the process of running v.to.rast on all layers in
a single vector in GRASS?
sure, just a bash for loop + g.mlist will do it:
for MAP in `g.mlist vec
Thanks Hamish, slurping it now.
Regards,
Tim
On Fri, 2008-09-19 at 11:29 -0700, Hamish wrote:
> Tim Bowden wrote:
> > I'm looking for content for the OSGeo booth at FOSS4G.
> > Are there any grass videos anyone can point me to that I could
> > run along with other content I have?
>
> there is o
John Tull wrote:
> I was wondering if anyone could suggest a simple shell script to
> automate the process of running v.to.rast on all layers in
> a single vector in GRASS?
sure, just a bash for loop + g.mlist will do it:
for MAP in `g.mlist vect` ; do
echo v.to.rast in="$MAP" out="`echo $M
I was wondering if anyone could suggest a simple shell script to
automate the process of running v.to.rast on all layers in a single
vector in GRASS?
Thank you,
John
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailm
On Sep 19 [15:41], Craig Leat wrote:
> Thanks for the info, I needed to check my facts before announcing that
> tapping out long map names in the GRASS console is a pain, especially
> when you have to do it three times to combine the rgb bands.
>
I have a little workaround for that: I put the name
> [cc list]
>
> Jhon Ortiz wrote:
But with this errors:
**
Errors in:
/usr/local/src/grass-6.3.0/visualization/nviz
**
>
>> When I type
>> cd /usr/local/src/grass-6.3.0/visualization/nviz
>> make
>>
>> Give me a lot erros, but
Dear All,
I have some truobles (a lot of troubles) with r.water.outlet command.
I've create a drainage map already (with r.watershed).
Trying to create a basin reported to a specific outlet the output map shows
all region by a unique color.
Thanks
regards
Edmondo
___
Tim Bowden wrote:
> I'm looking for content for the OSGeo booth at FOSS4G.
> Are there any grass videos anyone can point me to that I could
> run along with other content I have?
there is of course the classic William Shatner narrated promo:
http://mpa.itc.it/markus/grass_movie_video_CERL/grass_
I'm looking for content for the OSGeo booth at FOSS4G. Are there any
grass videos anyone can point me to that I could run along with other
content I have?
Thanks,
Tim Bowden
--
Experience is that marvelous thing that enables you recognize a mistake
when you make it again.
__
>Alas, it seems grass-complete doesn't work:
>GRASS 6.3.1svn (msunduzi_lo31):~/GIS/scripts/grass-complete > . bash/Init.sh
>Unable to initialize bash completions: bash is too old or too new:
>BASH_VERSION= 3.2.25(1)-release (needed = 2.05)
I had contacted the author of Grass completions a few year
Hamish wrote:
> http://grass.osgeo.org/wiki/GRASS_AddOns#Readline_completion
> http://www.sorokine.info/grass-complete/
> http://grass.osgeo.org/download/addons.php
>
> compiled-in readline support is only used with r.mapcalc.
>
> I don't know if it will work with GRASS 6, maybe a keen user
> might
Hi folks
I have a small problem. I am running GRASS 6.3 on OS X 10.5.5. When
I started with these maps I was use GRASS 5.0.2. As things evolved I
converted them over. Now one map set is giving me grief. My sites
and some vectors haven't been displaying on this map. I tried
reconvert
Craig Leat wrote:
> I'm working on my paper for FOSS4G2008 and was about to say something
> about the lack of command completion in GRASS
http://grass.osgeo.org/wiki/GRASS_AddOns#Readline_completion
http://www.sorokine.info/grass-complete/
http://grass.osgeo.org/download/addons.php
> when I remem
Hi
I'm working on my paper for FOSS4G2008 and was about to say something
about the lack of command completion in GRASS when I remembered seeing
the option "--with-readline" in the configure script. I can't find
anything on readline (besides the configure option) in the html docs
and I'm left wonde
Hello Grass Users!
My question concerns the water modules: r.flow, r.watershed, r.terraflow,...
etc.
But it's also interesting for other modules
The rastermap from which I'm running the analysis modules has the following
r.info:
Jana K. wrote:
> I want to resample my categorical raster data from higher resolution to
> lower, using mode method. Looking at the syntax, I can't figure out where I
> tell the command the new resolution. I am confused, as I had expected that
> the command would be implemented at the location wi
On Fri, Sep 19, 2008 at 11:42 AM, Hamish <[EMAIL PROTECTED]> wrote:
> Rainer Krug wrote:
>> do the modules of R (e.g. r.stats, ...) have return values
>> which I can evaluate to find out if the execution was successful?
>
> Yes. GRASS modules all return 0 on success and 1 on failure.
Good to know
Rainer Krug wrote:
> do the modules of R (e.g. r.stats, ...) have return values
> which I can evaluate to find out if the execution was successful?
Yes. GRASS modules all return 0 on success and 1 on failure.
> I would like to use these "return values on error" to evaluate the
> success of the c
Hello,
I want to resample my categorical raster data from higher resolution to
lower, using mode method. Looking at the syntax, I can't figure out where I
tell the command the new resolution. I am confused, as I had expected that
the command would be implemented at the location with crude resolut
Dear GRASS-users,
v.net.path is able to compute the nearest path from the starting point to the
ending point on an network. I would, however, like to find the nearest end
point (out of an array of end points) on a network from my starting point. Is
this possible? How?
My final task is to compu
Hi
do the modules of R (e.g. r.stats, ...) have return values which I can
evaluate to find out if the execution was successful? E.g. returning
-1 when an error occurred?
I would like to use these "return values on error" to evaluate the
success of the command when called from R.
Thanks,
Rainer
24 matches
Mail list logo