|
[GRASSLIST:3986] Re: Grass 5.7 vectors: msg#00193gis.grass.user
> I've started using 5.7 and now when I use d.vect I get a series of > crosses at each point, instead of a series of lines connecting the > points. > > I'm aware the sites and vectors have been merged in 5.7 so I suspect > I've imported my vectors as sites instead of vectors, Sounds right. Try using 'd.vect icon=basic/circle type=point' and 'd.vect type=line' to be sure. I prefer circles to the crosses for point data, but maybe they are too slow to draw to be the default. As is they don't distinguish themselves from area centroids. d.what.vect is handy as well. > but I can't find anything in the man pages that explains how to import > as vectors instead (or convert a series of sites to vectors). > > I've tried using the -t switch on v.in.ascii, but I still get sites. from the (cvs) help page: DESCRIPTION v.in.ascii converts a vector map in ASCII format to a vector map in binary format. The module may be run in 2 modes: * standard: if 'input' option is used the module reads GRASS ASCII vector from the dig_ascii directory * points: if 'input' is not used the module reads points from standard input. Each point must be defined on one row, values separated by a user definable deliminator. If the 'columns' option is not defined, default names are used. It is possible to specify the column order for the x,y,z coordinates and category values. ... So it sounds like you are feeding it input from stdin and getting point data out, as designed. Short of someone adding a new flag for treating the stream of coordinates as a line, you'll need to create a GRASS vector-ascii file as detailed in the help page (using "L" features). See GRASS 5.3's v.in.garmin.sh for an example of how to create one of these automatically from a shell script. Hamish |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [GRASSLIST:3985] Grass 5.7 vectors: 00193, Gordon Keith |
|---|---|
| Next by Date: | [GRASSLIST:3987] Geo referencing jpg image for digitizin.: 00193, Kurt Springs |
| Previous by Thread: | [GRASSLIST:3985] Grass 5.7 vectorsi: 00193, Gordon Keith |
| Next by Thread: | [GRASSLIST:3987] Geo referencing jpg image for digitizin.: 00193, Kurt Springs |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |