[GRASSLIST:4256] Re: ITCSpam: v.in.ogr problem

Radim Blazek blazek at itc.it
Thu Aug 26 07:34:02 EDT 2004


It is a bug in v.in.ogr (Vect_clean_small_angles_at_nodes),
I don't have a chance to fix it until monday. For now, you can 
use v.in.ogr with snap=0.1 (or other reasonable threshold).

Radim

On Wednesday 25 August 2004 22:03, Craig Aumann wrote:
> Running recent version of 5.7.  The problem seems to occur while the
> vectors are being cleaned.   I have attached the shape files.  I did
> read this vector in fine with an earlier version of 5.7.
>
>
>
> SHPFILE="utm_grd"
> DBFFILE="utm_grid_fin"
>
>
> GRASS 5.7.cvs:~/grassalpac/setupfiles > v.in.ogr -o dsn="$SHPDIR"
> output=shutin layer="$SHPFILE"
> Over-riding projection check.
> Proceeding with import...
> WARNING: The vector 'shutin' already exists and will be overwritten.
> Layer: utm_grd
> -----------------------------------------------------
> Building topology ...
> 1168 primitives registered
> 1168 areas built
> 1168 isles built
> Topology was built.
> Number of nodes     :   1168
> Number of primitives:   1168
> Number of points    :   0
> Number of lines     :   0
> Number of boundaries:   1168
> Number of centroids :   0
> Number of areas     :   1168
> Number of isles     :   1168
> Number of areas without centroid :   1168
> -----------------------------------------------------
> WARNING: Cleaning polygons, result is not guaranteed!
> Building topology ...
> Topology was built.
> Number of nodes     :   1168
> Number of primitives:   1168
> Number of points    :   0
> Number of lines     :   0
> Number of boundaries:   1168
> Number of centroids :   0
> Number of areas     :   -
> Number of isles     :   -
> -----------------------------------------------------
> Break polygons:
> Registering points ... 4858
> All points (vertices):  6026
> Registered points (unique coordinates):  4858
> Points marked for break:  1168
> Breaks:     0
> -----------------------------------------------------
> Remove duplicates:
> Duplicates:     0
> -----------------------------------------------------
> Break boundaries:
> Intersections:  6958
> -----------------------------------------------------
> Remove duplicates:
> Duplicates:   721
> -----------------------------------------------------
> Clean boundaries at nodes:
> Modifications:   231ERROR: Attempt to read dead line 13127
> GRASS 5.7.cvs:~/grassalpac/setupfiles >




More information about the grass-user mailing list