source code file:
lib/vector/vectorlib.dox
format notes here are outdated and to be merged into
vector/v.in.ascii/description.html
The ASCII format in the new version contains support for categories, z-coordinates, and the new types centroid, face, and kernel. Points and centroids are saved as one coordinate pair instead of two. File is saved in old dig_ascii directory but the name will be probably changed.
ORGANIZATION DIGIT DATE DIGIT NAME MAP NAME MAP DATE MAP SCALE OTHER INFO ZONE WEST EDGE EAST EDGE SOUTH EDGE NORTH EDGE MAP THRESH
VERTI:followed by records of lines:
TYPE NUMBER_OF_COORDINATES [NUMBER_OF_CATEGORIES] X Y [Z] .... X Y [Z] [ FIELD CATEGORY] .... [ FIELD CATEGORY]Everything above in [ ] is optional. Note the coordinate order in the old version (Y X) has been changed to (X Y [Z]).
P 1 1 1234 3435 1 354 L 3 1 4132 4534 1453 1454 1453 4543 1 355