Dissolve: Unterschied zwischen den Versionen

GISWiki - Das freie Portal für Geoinformatik (GIS)
Wechseln zu: Navigation, Suche
Zeile 14: Zeile 14:
 
|  | 1
 
|  | 1
 
| Polygon
 
| Polygon
|  | 91245384
+
|  | 09245384
 
|  | 09
 
|  | 09
 
|-
 
|-
 
|  | 2
 
|  | 2
 
| Polygon
 
| Polygon
|  | 12458063
+
|  | 09458063
 
|  | 09
 
|  | 09
 
|-
 
|-
 
|  | 3
 
|  | 3
 
| Polygon
 
| Polygon
|  | 88753658
+
|  | 07753658
 
|  | 07
 
|  | 07
 
|-
 
|-
 
|  | 4
 
|  | 4
 
| Polygon
 
| Polygon
|  | 78753179
+
|  | 07753179
 
|  | 07
 
|  | 07
 
|-
 
|-
 
|  | 5
 
|  | 5
 
| Polygon
 
| Polygon
|  | 87527000
+
|  | 07527000
 
|  | 07
 
|  | 07
 
|-
 
|-
 
|  | 6
 
|  | 6
 
| Polygon
 
| Polygon
|  | 58752221
+
|  | 07752221
 
|  | 07
 
|  | 07
 
|-
 
|-
 
|  | 7
 
|  | 7
 
| Polygon
 
| Polygon
|  | 48751742
+
|  | 07751742
 
|  | 07
 
|  | 07
 
|-
 
|-
 
|  | ...
 
|  | ...
 
| Polygon
 
| Polygon
|  | 87510263
+
|  | 05510263
 
|  | ...
 
|  | ...
 
|}
 
|}

Version vom 14. März 2006, 11:55 Uhr

Das Dissolve-Verfahren fasst Features zusammen, basierend auf einem gemeinsamen Attribut.

Beispiel

Sie haben einen Layer mit Landkreisen und zu jedem Landkreis den amtlichen Gebietsschlüssel (AGS).

OBJID SHAPE AGS BUNDESLAND
1 Polygon 09245384 09
2 Polygon 09458063 09
3 Polygon 07753658 07
4 Polygon 07753179 07
5 Polygon 07527000 07
6 Polygon 07752221 07
7 Polygon 07751742 07
... Polygon 05510263 ...

Input-Tabelle beim Dissolve-Verfahren

Die ersten beiden Stellen des AGS geben das Bundesland an. Nun kann das Dissolve-Verfahren verwendet werden, um die Landkreise zu Bundesländern zu aggregieren: Es werden alle Kreise zusammengefasst, bei denen das Bundesland identisch ist.

OBJID SHAPE BUNDESLAND
1 Polygon 9
1 Polygon 7
... Polygon ...

Output-Tabelle beim Dissolve-Verfahren

Dabei werden auch die Geometrien entsprechend zusammengefasst

Dissolve before and after.jpg