[GRASS-dev] GRASS 7: v.in.ogr segfault

Markus Neteler neteler at osgeo.org
Fri Aug 27 09:30:29 EDT 2010


Hi,

I am importing the national boundaries of Italy as SHAPE file (UTM32) which has
been generated from two parts in QGIS (SHP merge tool).

GRASS 7.0.svn (patUTM32):/tmp/ddd > v.in.ogr
italy_limits_minambiente_full_UTM32_WGS84.shp
out=italy_limits_minambiente_full_UTM32_WGS84
Layer: italy_limits_minambiente_full_UTM32_WGS84
Counting polygons for 1 features...
Importing map 1 features...
 100%
-----------------------------------------------------
Building topology for vector map
<italy_limits_minambiente_full_UTM32_WGS84_tmp at PERMANENT>...
Registering primitives...
4148 primitives registered
336414 vertices registered
Number of nodes: 4148
Number of primitives: 4148
Number of points: 0
Number of lines: 0
Number of boundaries: 4148
Number of centroids: 0
Number of areas: -
Number of isles: -
-----------------------------------------------------
WARNING: Cleaning polygons, result is not guaranteed!
-----------------------------------------------------
Break polygons:
 100%
 100%
-----------------------------------------------------
Remove duplicates:
 100%
-----------------------------------------------------
Break boundaries:
 100%
-----------------------------------------------------
Remove duplicates:
 100%
-----------------------------------------------------
Clean boundaries at nodes:
Segmentation fault

in GDB:
....

-----------------------------------------------------
Clean boundaries at nodes:
  41%
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff79b0d52 in Vect_get_node_coor (map=0x7fffffff8e50,
num=1754, x=0x7fffffff8cc0, y=0x7fffffff8cb8, z=0x7fffffff8cb0)
    at level_two.c:228
228         *x = Node->x;

I can make the map available if desired.

Markus


More information about the grass-dev mailing list