SpatiaLite: Unterschied zwischen den Versionen
Aus Geoinformation HSR
Stefan (Diskussion | Beiträge) (→SpatiaLite-Tools) |
Stefan (Diskussion | Beiträge) |
||
Zeile 65: | Zeile 65: | ||
** Support / Mailinglisten: [http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users SQLite Users], [http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-dev SQLite Developers] | ** Support / Mailinglisten: [http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users SQLite Users], [http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-dev SQLite Developers] | ||
** http://de.wikipedia.org/wiki/SQLite | ** http://de.wikipedia.org/wiki/SQLite | ||
+ | |||
+ | [[Kategorie:Datenbanksysteme]] |
Version vom 23. Juli 2011, 20:12 Uhr
Erweiterung von SQLite mit Geometrie-Datentypen.
- Enthält u.a. folgende z.T. OpenGIS-konforme Funktionen:
- WKT and WKB formats
- SQL spatial functions wie AsText(), GeomFromText(), Area(), PointN().
- Das komplette Set von OpenGIS-Funktionen (via GEOS), wie Overlaps(), Touches(), Union(), Buffer().
- Spatial metadata
- Spatial Index based on the SQLite's RTree extension
- Import/Export/Transformation:
- supports importing and exporting from / to shapefiles
- supports coordinate reprojection via PROJ.4 and EPSG geodetic parameters dataset
- supports locale charsets via GNU libiconv
- Direkte Unterstützung von folgenden Formaten als "Virtuelle Tabellen", ohne sie importieren zu müssen
- VirtualShape für Shapefiles
- VirtualText für CSV/Txt/Tab-Dateien
Inhaltsverzeichnis
SpatiaLite-Tools
- Tools from SpatiaLite original delivery/installation:
- spatialite-gis - Viewer
- spatialite-gui - Admin Tool (aka SQLite Database Browser)
- Weitere:
- http://mapbox.com/tools/mbtiles - An OS X binary that takes a bunch of files in directories on disk and writes them into a sqlite database.
- QGIS-Plugin Qspatialite: Ecostudies Blog 'New spatialite plugin for QGIS' (Qspatialite.zip direkt [1]). Installation über Menü "Erweiterungen".
SpatialLite-Dateiformat
Binäres, umfassendes Geodatenformat (seit März 2008). Wir von mehreren GIS-Tools unterstützt, u.a. QGIS, OGR und FDO.
Siehe:
SpatiaLite, the Shapefile of the future?
Vergleich SpatiaLite vs. Shapefile: SpatiaLite hat...
- Geometrie: OGC simple feature types, SQL SF
- Weniger Files (mehrere Layer, Indizes, ...)
- Aufhebung Limitierung Spaltennamen (>10!)
- 64-bit IEEE Floating Point Typ
- Eingebaute Unicode Unterstützung
- Integrierte Metadaten (Projektion, etc.)
- Library mit SQL-API (Insert, Join, etc.)
- Funktionen wie Coordinate reprojection (proj.4)
- Schema-Informationen (!) (wenn auch eine schwache konkrete Datentypisierung)
- Keine Restriktion auf 8 Zeichen in Attributnamen (und weniger reservierte Worte, wie ID, TEXT, die dann oft in _ID und _TEXT umbenannt werden, was dann wieder einige DBase Tools nicht lesen können...)
Nachteile von SpatiaLite:
- Kreisbogen-Geometrie ( => mit mittlerem Aufwand behebbar)
- Strenge Typisierung (=> kaum realisierbar)
- Typen-Casts gehen bei Views verloren
- Fehlende quelloffenheit und Stabilität unabhängig vom Entwickler (= unklar)
Vgl. auch Vortrag SpatiaLite, das Shapefile der Zukunft? von P. Kalberer (Folien).
Spatialite und Python
http://www.gaia-gis.it/spatialite-2.4.0-4/spatialite-cookbook/html/python.html
Weblinks
- SpatiaLite
- SpatiaLite Home Page mit Downloads, Dokumentation und Beispieldaten
- Support / Mailinglisten: SpatiaLite Users
- SQLite:
- sqlite.org - SQLite Home Page
- Support / Mailinglisten: SQLite Users, SQLite Developers
- http://de.wikipedia.org/wiki/SQLite