[GRASS-user] Opening a shape file in GRASS 6.4.3
Sylvain Maillard
sylvain.maillard at gmail.com
Wed Aug 14 06:41:16 PDT 2013
Hi,
Like Nikos, there is a problem with your file: a Geometry check report an
error about an "Unclosed Ring" ...
Sylvain
2013/8/13 Sonali Saha <sahairc at gmail.com>
> I am new GRASS use, and learning GRASS to use conservation literacy using
> rare plant databases. To start with I converted a Kml file of the state of
> Meghalaya India to a shapefile using DNRGarmin. However when I try to open
> the shapefile in GRASS I keep getting errors and the map of the opened file
> does not look anything like the original map. What did I do wrong. I am
> attaching the shapefile and dbf file, I used.
>
> thanks in advance
>
> Sonali
> This is the message I get in the command output console
> Projection of input dataset and current location appear to match
> Layer: Meghalay
> Counting polygons for 1 features...
> Importing map 1 features...
> -----------------------------------------------------
> Building topology for vector map <Megh_tmp>...
> Registering primitives...
> 1 primitives registered
> 258 vertices registered
> Number of nodes: 2
> Number of primitives: 1
> Number of points: 0
> Number of lines: 0
> Number of boundaries: 1
> Number of centroids: 0
> Number of areas: -
> Number of isles: -
> -----------------------------------------------------
> WARNING: Cleaning polygons, result is not guaranteed!
> -----------------------------------------------------
> Snap boundaries (threshold = 1.000e-007):
> -----------------------------------------------------
> Break polygons:
> -----------------------------------------------------
> Remove duplicates:
> -----------------------------------------------------
> Break boundaries:
> -----------------------------------------------------
> Remove duplicates:
> -----------------------------------------------------
> Clean boundaries at nodes:
> -----------------------------------------------------
> Merge boundaries:
> -----------------------------------------------------
> Change dangles to lines:
> -----------------------------------------------------
> Remove bridges:
> -----------------------------------------------------
> Building topology for vector map <Megh_tmp>...
> Building areas...
> 2 areas built
> 1 isles built
> Attaching islands...
> Number of nodes: 9
> Number of primitives: 12
> Number of points: 0
> Number of lines: 0
> Number of boundaries: 12
> Number of centroids: 0
> Number of areas: 2
> Number of isles: 1
> Number of areas without centroid: 2
> -----------------------------------------------------
> Find centroids for layer: Meghalay
> -----------------------------------------------------
> Write centroids:
> -----------------------------------------------------
> 1 input polygons
> Total area: 3.56766E+011 (2 areas)
> Overlapping area: 0 (0 areas)
> Area without category: 3.56766E+011 (2 areas)
> -----------------------------------------------------
> Building topology for vector map <Megh>...
> Registering primitives...
> 3 primitives registered
> 17 vertices registered
> Building areas...
> 2 areas built
> 1 isles built
> Attaching islands...
> Attaching centroids...
> Number of nodes: 2
> Number of primitives: 3
> Number of points: 0
> Number of lines: 0
> Number of boundaries: 3
> Number of centroids: 0
> Number of areas: 2
> Number of isles: 1
> Number of areas without centroid: 2
> -----------------------------------------------------
> WARNING: Errors were encountered during the import
> Try to import again, snapping with at least 1e-007: 'snap=1e-007'
> (Tue Aug 13 15:32:05 2013) Command finished (1 sec)
>
> --
> Sonali Saha, PhD.
> Senior Biologist
> The Institute for Regional Conservation
> 22601 SW 152nd Avenue
> Miami FL 33170
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
>
-------------- section suivante --------------
Une pi?ce jointe HTML a ?t? nettoy?e...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20130814/b6e7fe93/attachment-0001.html>
More information about the grass-user
mailing list