[GRASS-user] displaying lines between given points
mlennert at club.worldonline.be
Tue Aug 1 07:50:17 EDT 2006
Patton, Eric wrote:
> This sounds like the method I would have used. Have you had any luck so far?
Haven't tried yet as I wanted to see whether someone had already written
something which I could reuse...
But I'll let you know as soon as I have had the time to code this.
> ~ Eric.
> -----Original Message-----
> From: grassuser-bounces at grass.itc.it
> To: GRASS users list
> Sent: 8/1/2006 5:56 AM
> Subject: [GRASS-user] displaying lines between given points
> A colleague of mine has a data set with airports (and their coordinates)
> and flights between these airports, i.e. something like this:
> x1 y1 x2 y2 flights
> He wants to display these connections as lines between the airports,
> whose line width is proportional to the number of flights.
> Anyone have a great idea of how to do this in GRASS ? I currently see
> the following possibility:
> 1) use awk to transform the file into an ascii vector line file, i.e.:
> L 2 1
> x1 y1
> x2 y2
> 1 flights
> 2) import with v.in.ascii
> 3) select distinct values from the cats column
> 4) loop through those distinct values and d.vect with line width set to
> cats value * scale
> Anyone have a better idea ?
> grassuser mailing list
> grassuser at grass.itc.it
More information about the grass-user