SpatiaLite: Unterschied zwischen den Versionen
Aus Geoinformation HSR
Stefan (Diskussion | Beiträge) K (→SpatiaLite-Tools) |
Stefan (Diskussion | Beiträge) K (→Software Support of SpatiaLite) |
||
(3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
− | Erweiterung | + | Erweiterung der [[SQLite]]-Datenbank mit Geometrie-Datentypen. |
Siehe auch: [[SpatiaLite - Tipps und Tricks]] | Siehe auch: [[SpatiaLite - Tipps und Tricks]] | ||
Zeile 18: | Zeile 18: | ||
− | == | + | == Software-Unterstuetzung == |
− | Tools | + | Tools von der SpatiaLite Original-Installation: |
* spatialite-gis - Viewer | * spatialite-gis - Viewer | ||
* spatialite-gui - Admin Tool (aka SQLite Database Browser) | * spatialite-gui - Admin Tool (aka SQLite Database Browser) | ||
− | GIS | + | SpatiaLite wird von folgenden GIS und Tools unterstützt: |
− | * [[QGIS]] | + | * Online-Tools: |
− | * [[QGIS]] with Plugin '''Qspatialite''': [http://pvanb.wordpress.com/2011/03/30/new-spatialite-plugin-for-qgis/ Ecostudies Blog 'New spatialite plugin for QGIS'] (Qspatialite.zip direct [http://dl.free.fr/getfile.pl?file=/554xkFf1]). Install it using menu "Extensions". | + | ** [[GeoConverter]] |
− | * [[ | + | * Desktop-Software: |
− | * OpenJUMP | + | ** [[ArcGIS]] ab Version 10.2 als "Database Connection". |
− | + | ** [[QGIS]] unterstützt SpatiaLite nativ ab Version 1.1 [http://qgis.org/en/about-qgis/features.html] | |
− | + | ** [[QGIS]] with Plugin '''Qspatialite''': [http://pvanb.wordpress.com/2011/03/30/new-spatialite-plugin-for-qgis/ Ecostudies Blog 'New spatialite plugin for QGIS'] (Qspatialite.zip direct [http://dl.free.fr/getfile.pl?file=/554xkFf1]). Install it using menu "Extensions". | |
− | * [[ | + | ** AutocadMap 2013 |
− | * [[OGR]] | + | ** Pitney Bowes MapInfo Professional 11.5.2. |
− | * GeoTools | + | ** [[Global Mapper]] [http://www.bluemarblegeo.com/products/global-mapper.php] |
− | * | + | ** [[OpenJUMP]] bietet ein Plug-In. |
− | * [[MBTiles]] - An OS X binary that takes a bunch of files in directories on disk and writes them into a sqlite database. | + | ** Feature Manipulation Engine (FME) (auch als server) |
− | + | ** [[TileMill]] liest SpatiaLite als Datenquelle. | |
− | + | * (Web-)Server-Software: | |
+ | ** [[Django (Framework)|GeoDjango]] bietet eine Schnittstelle an. [https://docs.djangoproject.com/en/dev/ref/contrib/gis/install/spatialite/] | ||
+ | ** [[Web2py (web framework)]] native. | ||
+ | ** [[FeatureServer]], ein [[WFS]]-Server. | ||
+ | * Software-Werkzeuge und -Bibliotheken: | ||
+ | ** [[OGR]] liest und schreibt SpatiaLite ab Version 1.7 | ||
+ | ** [[GeoTools]] unterstützt im [[Java Database Connectivity|JDBC]]-Modul unter anderem SpatiaLite. [http://docs.codehaus.org/display/GEOTOOLS/JDBC+SpatiaLite]] | ||
+ | ** [[Mapnik]], ein Renderer - zusammen mit dem [[SQLite]]-Treiber. | ||
+ | ** pyspatialite, eine [[Python]]-Bibliothek. [https://github.com/lokkju/pyspatialite] | ||
+ | ** GIS Live DVD|OSGeo Live DVD includes spatialite along with a short tutorial. [http://live.osgeo.org/en/quickstart/spatialite_quickstart.html] | ||
+ | ** [[MBTiles]] - An OS X binary that takes a bunch of files in directories on disk and writes them into a sqlite database. | ||
== SpatialLite-Dateiformat == | == SpatialLite-Dateiformat == |
Aktuelle Version vom 7. Januar 2014, 01:20 Uhr
Erweiterung der SQLite-Datenbank mit Geometrie-Datentypen.
Siehe auch: SpatiaLite - Tipps und Tricks
- 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
Software-Unterstuetzung
Tools von der SpatiaLite Original-Installation:
- spatialite-gis - Viewer
- spatialite-gui - Admin Tool (aka SQLite Database Browser)
SpatiaLite wird von folgenden GIS und Tools unterstützt:
- Online-Tools:
- Desktop-Software:
- ArcGIS ab Version 10.2 als "Database Connection".
- QGIS unterstützt SpatiaLite nativ ab Version 1.1 [1]
- QGIS with Plugin Qspatialite: Ecostudies Blog 'New spatialite plugin for QGIS' (Qspatialite.zip direct [2]). Install it using menu "Extensions".
- AutocadMap 2013
- Pitney Bowes MapInfo Professional 11.5.2.
- Global Mapper [3]
- OpenJUMP bietet ein Plug-In.
- Feature Manipulation Engine (FME) (auch als server)
- TileMill liest SpatiaLite als Datenquelle.
- (Web-)Server-Software:
- GeoDjango bietet eine Schnittstelle an. [4]
- Web2py (web framework) native.
- FeatureServer, ein WFS-Server.
- Software-Werkzeuge und -Bibliotheken:
- OGR liest und schreibt SpatiaLite ab Version 1.7
- GeoTools unterstützt im JDBC-Modul unter anderem SpatiaLite. [5]]
- Mapnik, ein Renderer - zusammen mit dem SQLite-Treiber.
- pyspatialite, eine Python-Bibliothek. [6]
- GIS Live DVD|OSGeo Live DVD includes spatialite along with a short tutorial. [7]
- MBTiles - An OS X binary that takes a bunch of files in directories on disk and writes them into a sqlite database.
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