[GRASS5] Problem with shapefile

Virgilio Gómez Rubio Virgilio.Gomez at uv.es
Fri Nov 15 08:56:00 EST 2002


Hi all,

It's been a long time since we met in Trento, isn't it?

I am writting because I have a problem when timporting a shapefile.
What happens is that some lines (and ares) are lost. The command line
and error message I get are:


GRASS:~/tmp > v.support option=build -r map=cod_munici
err=err_cod_munici

V.SUPPORT:

Selected information from vector header
 Organization:
 Map Name:      cod_munici
 Source Date:
 Orig. Scale:   2400
 Snapping threshold    0.00
Snapp No snapping will be done
    Reading Vector file 100%
    Building areas 100%
Unclosed area, free end or edge inside area: line 771
Unclosed area, free end or edge inside area: line 773
Unclosed area, free end or edge inside area: line 777
Unclosed area, free end or edge inside area: line 828
Unclosed area, free end or edge inside area: line 829
Unclosed area, free end or edge inside area: line 1774
Unclosed area, free end or edge inside area: line 1776
    Building islands 100%
    Attaching labels
PNT_TO_AREA failed: (765673.634168, 4491702.952495) (Category 12052)
PNT_TO_AREA failed: (768903.289024, 4484561.074964) (Category 12100)
PNT_TO_AREA failed: (718003.592441, 4386435.398790) (Category 46070)
PNT_TO_AREA failed: (712646.684383, 4382275.341311) (Category 46116)
WARNING: area 176 label: 46902 matched another label: 12066.
PNT_TO_AREA failed: (714668.427559, 4382979.700161) (Category 46903)
PNT_TO_AREA failed: (717899.462949, 4378108.989802) (Category 46190)
 Number of lines:   1876
 Number of nodes:   1244
 Number of areas:   651
 Number of isles:   28
 Number of atts :   652
 Number of unattached atts :   6
 Snapped lines  :   0


I think the problem is related to that unclosed areas, but it is also
true that ArcVIew reads the shapefile without problems.

Any idea?

Of course, if some developer wants to try the shapefile I can send it to
him/her.

Regards, thanks and best wishes,

-- 
             Virgilio Gómez Rubio

Dpto. Estadística e I. O. - Facultat de Matemàtiques
Avda. Vicent A. Estellés, 1 - 46100 Burjassot
Valencia - SPAIN

http://matheron.uv.es/~virgil

TLF: 00 34 96 386 43 62 - FAX: 00 34 96 398 35 99




More information about the grass-dev mailing list