|
|
(Není zobrazeno 27 mezilehlých verzí od stejného uživatele.) |
Řádek 1: |
Řádek 1: |
| {{Upravit}} | | {{freegiswiki|GRASS GIS / Konzistence vektorových dat}} |
| | |
| Data poskytovaná v netopologických formátech (např. ESRI Shapefile) často obsahují řadu chyb a ve výsledku jsou nekonzistentní. V systémech, které na topologickou čistotu dat nekladou příliš důraz (jako je např. ESRI ArcGIS) se tyto chyby v datech neprojeví. GRASS jako striktně topologický GIS tyto chyby v datech neignoruje. Např. po importu vrstvy 'obce' z balíčku dat pro [[153GIS1 2008 - 3. cvičení - GRASS GIS|3.cvičení]] předmětu [[153GIS1]] se chyby v datech projeví při aplikaci funkce 'dissolve' (sjednocení vektorových prvků). Např.
| |
| | |
| <source lang="bash">
| |
| v.in.ogr dsn=obce.shp output=obce
| |
| </source>
| |
| | |
| <pre>
| |
| Number of nodes: 30138
| |
| Number of primitives: 43577
| |
| Number of points: 0
| |
| Number of lines: 0
| |
| Number of boundaries: 33456
| |
| Number of centroids: 10121
| |
| Number of areas: 13448
| |
| Number of isles: 9
| |
| Number of areas without centroid: 3327
| |
| -----------------------------------------------------
| |
| WARNING: 3742 areas represent more (overlapping) features, because polygons
| |
| overlap in input layer(s). Such areas are linked to more than 1
| |
| row in attribute table. The number of features for those areas is
| |
| stored as category in layer 2
| |
| 6361 input polygons
| |
| Total area: 7.891444e+10 (13448 areas)
| |
| Overlapping area: 4.078277e+02 (3742 areas)
| |
| Area without category: 3.879863e+02 (3327 areas)
| |
| </pre>
| |
| | |
| Vektorová mapa obsahuje překrývající se polygony.
| |
| | |
| <source lang="bash">
| |
| v.category input=obce option=report
| |
| </source>
| |
| | |
| <pre>
| |
| Layer/table: 1/obce
| |
| type count min max
| |
| point 0 0 0
| |
| line 0 0 0
| |
| boundary 0 0 0
| |
| centroid 13863 1 6249
| |
| area 0 0 0
| |
| face 0 0 0
| |
| kernel 0 0 0
| |
| all 13863 1 6249
| |
| Layer: 2
| |
| type count min max
| |
| point 0 0 0
| |
| line 0 0 0
| |
| boundary 0 0 0
| |
| centroid 3742 2 2
| |
| area 0 0 0
| |
| face 0 0 0
| |
| kernel 0 0 0
| |
| all 3742 2 2
| |
| </pre>
| |
| | |
| {{GRASS}}
| |