Re: [GRASS-user] Re: Drivetime Isochrones

2011-06-23 Thread Moritz Lennert
[You seem to have gotten beyond some of your troubles, but just for the 
record, some answers.]


On 20/06/11 05:50, RKiTect wrote:

Thanks for your help...

unfortunately i am using the GUI and i must have an input for the 'nodes'
section.


Which module are you speaking about ? Neither v.net nor v.net.iso have a 
'nodes' parameter.



my centre layer doesn't show up for inputting into this... so i
think my point file requires some sort of pre-processing, but not sure...


You have to connect your points to the streets using v.net. By default 
this will add the points as nodes to the street network and these nodes 
will have category values in layer 2. v.net.iso will by default look for 
these category values in layer 2, so you normally don't have to worry 
about the layers.




if you try running the gui tool you will see what i mean... inputs required
for arcs and nodes, but a standard grass pointfile does not show up in nodes
dropdown box...


What do you mean by standard grass pointfile ? Your points have to be 
a vector layer. So, if you have them as an ascii file in the classic 
grass point format, you have to import it with v.in.ascii first.


Moritz
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] How to plot arrows style of speed and direction of wind...

2011-06-23 Thread sgw00412
Dear grass user

Recently, I am feeling sorry for many questions

I'm looking for how to plot arrows of speed and direction of wind.
for example, if station A has 4m/s and Eest (degree 90 )of annual average wind
 situation,
the plot like arrow style;
xA
Other hand, if station B has 2m/s and West (degree 270 ) of annal average wind
 situation,
the plot also like arrow style:
Bx--
...and so on.

In this case, data set is as follows;

station | lat | lon | w.speed | w.direction |
tokyo   | 35.2| 25.4| 4.0 | 90  |
osaka   | 24.5| 33.9| 2.0 | 270 |
...

w.speed is single and w.direction is integer. Wind direciotn ranges between 1 
(=north), 90 (=east), 180 (=south), 270 (=west) and 360 (=north).

I think that this data set can import to vector data by using v.in.ascii...
So, I'm looking for command -- d.vect --, but can not find to arrows style of 
speed and direction of wind...I think that it is difficult to show an arrow st
yle by using two properties (=two columns, speed and direction )

Please teach me if there is profitable information...

Yasuo shimada ( japan weather association )

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Re: Monte Carlo realizations of categorical maps.

2011-06-23 Thread Marcello Gorini
Hamish wrote:

also, for a categorical map you might try r.to.vect + the v.random.cover
module for GRASS 6 from addons:
   http://grass.osgeo.org/wiki/Addons#v.random.cover

v.random.cover is a shell script for creating random points constrained
within an irregularly shaped vector area. (v.random places points only in
current region rectangle). Optionally the user can upload raster values at
the points. See also 'r.random cover= vector_output='


Thanks for your comments Hammish. I am not sure how to do it this way, but
yes, there is probably a workaround. For now, I will just wait for a
response from the author.

Rainer:
 so why not contact the author?

Hamish:
(he still emails comments from time to time, so your chances are good.
let me know if the email you tried was too old, I may have a newer one
somewhere)

I tried:
charles.r.ehlschlae...@usace.army.mil

Let's see if it works.
Thanks a lot,
Marcello.



--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Monte-Carlo-realizations-of-categorical-maps-tp6502447p6508407.html
Sent from the Grass - Users mailing list archive at Nabble.com.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] How to plot arrows style of speed and direction of wind...

2011-06-23 Thread Moritz Lennert
On 23/06/11 16:03, sgw00...@nifty.com wrote:
 Dear grass user
 
 Recently, I am feeling sorry for many questions
 
 I'm looking for how to plot arrows of speed and direction of wind.
 for example, if station A has 4m/s and Eest (degree 90 )of annual average wind
   situation,
 the plot like arrow style;
 xA
 Other hand, if station B has 2m/s and West (degree 270 ) of annal average wind
   situation,
 the plot also like arrow style:
 Bx--
 ...and so on.
 
 In this case, data set is as follows;
 
 station | lat | lon | w.speed | w.direction |
 tokyo   | 35.2| 25.4| 4.0 | 90  |
 osaka   | 24.5| 33.9| 2.0 | 270 |
 ...
 
 w.speed is single and w.direction is integer. Wind direciotn ranges between 1
 (=north), 90 (=east), 180 (=south), 270 (=west) and 360 (=north).
 
 I think that this data set can import to vector data by using v.in.ascii...
 So, I'm looking for command -- d.vect --, but can not find to arrows style of
 speed and direction of wind...I think that it is difficult to show an arrow st
 yle by using two properties (=two columns, speed and direction )

You can use rot_column to define rotation and size_colum to define size
depending on speed. But this is size, not length...

Use icon= for defining a symbol (see [1] for examples).

But you might be better off using a raster approach and d.rast.arrow.
See example at [2].

Or check out Hamish' d.barb AddOn module [3].

Moritz

[1] http://grass.osgeo.org/wiki/IconSymbols
[2] http://grass.osgeo.org/wiki/Meteorology
[3] http://grass.osgeo.org/wiki/GRASS_AddOns#d.barb
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user