[GRASSLIST:1471] Using v.in.shape
Gaetan GUYODO
gaetan.guyodo at lrb.ap-hop-paris.fr
Mon Feb 19 08:36:44 EST 2001
I have the following files in the same directory :
a.dbf
a.sbn
a.sbx
a.shp
a.shx
and I want to import these files (vector shapefiles)
I use in grass 5b10, the v.in.shape window in tcltkgrass
I give the good file (a.shp), OK
What is the debugging level ? I let it empty
I give a log file, OK
What is "Snap distance for node during import" ? I let it empty
Colinearity distance, default
Init scale for vector map, default
Name of field with category attribute number : nothing
Name of field with category label : nothing
List fields in database : on
then I have the following fields :
AREA
PERIMETER
NAME
NAME_ID
DEPARTEMEN
COMMUNE2
DEPARTEMEN
COMMUNE
I think the "field with category attribute number" is NAME_ID (how can I be sure
?)
and I think the 2 names "DEPARTEMEN" are not complete (is it possible to have 2
fields with the same name ? I don't think so), how to know their complete name ?
In the window, I want to give a few "names of fields with category label", but
what delimiter doI use (: ; , . or an other one, or impossible)
When I try whith these informations, I had these messages :
Not assigning category labels
WARNING: No attribute value field assigned. Using record ID.
Selected information from vector header
Organization:
Map Name: a
Source Date:
Orig. Scale: 2400
No snapping will be done
Reading Vector file.
Identical lines check
Compressing Data:
Compressing NODES.
Compressing NODES. LINES.
Compressing NODES. LINES. AREAS.
Compressing NODES. LINES. AREAS. ISLES.
Compressing NODES. LINES. AREAS. ISLES. ATTS.
Compressing Data: DONE.
Building areas
Building islands
Attaching labels
PNT_TO_AREA failed: (553946.122000, 168047.572000) (Category 1)
PNT_TO_AREA failed: (580329.888625, 165774.694969) (Category 2)
PNT_TO_AREA failed: (553820.389375, 165992.972000) (Category 3)
PNT_TO_AREA failed: (555546.658000, 165060.742000) (Category 4)
PNT_TO_AREA failed: (584116.122000, 163689.940000) (Category 5)
PNT_TO_AREA failed: (578261.371750, 164009.422000) (Category 6)
PNT_TO_AREA failed: (557716.410000, 162928.068000) (Category 7)
..
PNT_TO_AREA failed: (611381.458000, 49127.158000) (Category 1290)
Number of lines: 0
Number of nodes: 0
Number of areas: 0
Number of isles: 0
Number of atts : 0
Number of unattached atts : 1290
Snapped lines : 0
What do I do to have not a PNT_TO_AREA failed (what's that) ?
If you can help me, that will be very good...
thanks
Gaetan
More information about the grass-user
mailing list