[GRASS-user] displaying lines between given points
Moritz Lennert
mlennert at club.worldonline.be
Tue Aug 1 05:56:48 EDT 2006
Hi,
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 ?
Moritz
More information about the grass-user
mailing list