[GRASSLIST:6547] Re: problem importing vector

Radim Blazek blazek at itc.it
Tue Apr 19 10:16:51 EDT 2005


Brian Beckage wrote:
> Hello,
> 
> I'm new to GRASS (and to GIS).  I'm having trouble importing a vector 
> file (using v.in.ogr) of the Everglades coastline in Florida, USA. The 
> coastline is very irregular with many small islands.

The import of areas can be slow if some features cover big part of the 
map as it this case probably the costline. The reason is that v.in.ogr 
will try to intersect the costline with other features in bounding box, 
if the box is big, many features must be processed.

Hamish posted more deatails about the patch.

You can verify if this is the problem. If you have current CVS version 
of GRASS, try:

v.in.ogr -c
v.split
v.clean tool=break

> Break boundaries:
> Intersections: 297999 (line 89173)

This is strange, there should be no intersections in costline + islands. 
Am I wrong? Try to import with v.in.ogr -c and find where the boundaries 
intersect.

Is the sea and area? If so, you must somehow exclude the shape with sea 
(ogr2ogr -where)

Radim




More information about the grass-user mailing list