Shapefile: Unterschied zwischen den Versionen
Aus Geoinformation HSR
Stefan (Diskussion | Beiträge) K |
Stefan (Diskussion | Beiträge) K |
||
Zeile 1: | Zeile 1: | ||
+ | 7 reasons not to use Shapefiles: | ||
+ | # attribute names are restricted to 8 chars (dbf) | ||
+ | # max. file size is restricted to 2GB (dbf) | ||
+ | # dozens of cluttered files (.shp, .dbf., .prj, .shx, etc.) and incompatible indexes | ||
+ | # only one geometry per table | ||
+ | # no Multi Geometries and no Geometry Collection | ||
+ | # no arcs, no topology | ||
+ | # no schema (reference) | ||
+ | |||
+ | For german: See [[#7 Gründe, die gegen Shapefiles sprechen|below]] | ||
+ | |||
+ | |||
+ | == Notes in German == | ||
Vektorformat mit Zusatzdateien. Für ArcView entwickelt. | Vektorformat mit Zusatzdateien. Für ArcView entwickelt. | ||
Zeile 20: | Zeile 33: | ||
** .avl: ArcView legend file | ** .avl: ArcView legend file | ||
** .rtf: data dictionary (rich text document) | ** .rtf: data dictionary (rich text document) | ||
+ | |||
+ | == 7 Gründe, die gegen Shapefiles sprechen == | ||
+ | |||
+ | # Attributnamen beschränkt auf 8 Zeichen (DBF) | ||
+ | # Max. Dateigrösse beschränkt auf 2 GB (DBF) | ||
+ | # Dutzende Dateien .shp, .dbf., .prj, .shx, etc…, inkompatible Indexe | ||
+ | # Nur eine Geometrie pro Tabelle | ||
+ | # Keine Multi- und keine Collection-Geometrien | ||
+ | # Keine Kreisbogen, keine Topologie | ||
+ | # Keine Schema-Referenz | ||
== Dokumentation == | == Dokumentation == |
Version vom 27. März 2015, 09:33 Uhr
7 reasons not to use Shapefiles:
- attribute names are restricted to 8 chars (dbf)
- max. file size is restricted to 2GB (dbf)
- dozens of cluttered files (.shp, .dbf., .prj, .shx, etc.) and incompatible indexes
- only one geometry per table
- no Multi Geometries and no Geometry Collection
- no arcs, no topology
- no schema (reference)
For german: See below
Inhaltsverzeichnis
Notes in German
Vektorformat mit Zusatzdateien. Für ArcView entwickelt.
Siehe auch:
- Geopackage - "the Shapefile of the Future!", GIS-Datei-Format
Spezifikation:
Ein Shapefile besteht aus einem zwingenden Paar mit Endung .shp und .dbf. Dazu können weitere Dateien kommen:
- "essential":
- .shp: Shapefile geometry data
- .dbf: database data, siehe DBF
- "important":
- .prj: projection file with coordinate reference system info, siehe PRJ
- "derivable":
- .shx: shapefile index (internal), falls .shx fehlt, kann es mit Tools neu aus .shp generiert werden.
- other:
- .sbn: shapefile (internal)
- .sbx: shapefile (internal)
- .avl: ArcView legend file
- .rtf: data dictionary (rich text document)
7 Gründe, die gegen Shapefiles sprechen
- Attributnamen beschränkt auf 8 Zeichen (DBF)
- Max. Dateigrösse beschränkt auf 2 GB (DBF)
- Dutzende Dateien .shp, .dbf., .prj, .shx, etc…, inkompatible Indexe
- Nur eine Geometrie pro Tabelle
- Keine Multi- und keine Collection-Geometrien
- Keine Kreisbogen, keine Topologie
- Keine Schema-Referenz
Dokumentation
- ESRI Whitepaper, 1998 (.pdf)
- http://en.wikipedia.org/wiki/Shapefile
- http://www.gdal.org/ogr/drv_shapefile.html