[GRASS-dev] [bug #4437] (grass) v.in.ascii & 'Vector ASCII Format Specification' differ

Hamish hamish_nospam at yahoo.com
Tue May 9 08:23:57 EDT 2006


> this bug's URL: http://intevation.de/rt/webrt?serial_num=4437
> ---------------------------------------------------------------------
> 
> Subject: v.in.ascii & 'Vector ASCII Format Specification' differ
> 
> Platform: GNU/Linux/x86
> grass obtained from: CVS
> grass binary for platform: Compiled from Sources
> GRASS Version: 2006-05-08
> 
> Vector ASCII Format Specification
> (http://freegis.org/cgi-bin/viewcvs.cgi/~checkout~/grass6/doc/vector/
> vector.html#ascii) says the following:
> 
> P point (dot)
> p dead point (dead dot)
> L line
> l dead line
> B(A) boundary
> b(a) dead boundary
> C centroid
> c dead centroid 
> 
> while v.in.ascii help says:
> 
> 'P': point
> 'L': line
> 'B': boundary
> 'C': centroid
> 'F': face
> 'K': kernel
> 'A': area (boundary) - better use 'B'; kept only for backward
> compatibility
> 
> There are differences. What is the actuall, full information?


lower case letters were (are) used by the old GRASS 5 v.digit to delete
features. They weren't actually deleted from the file until you ran an
optional clean step on the map. With GRASS 6 we have new 3D options
face and kernel.
Lines starting with "#" are skipped. Not sure what happens with blank
lines.

Check the "switch(ctype){ " control list here for what actually happens:

http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.in.ascii/a2b.c?rev=HEAD&content-type=text/vnd.viewcvs-markup



Hamish




More information about the grass-dev mailing list