PostGIS: Unterschied zwischen den Versionen
Aus Geoinformation HSR
Stefan (Diskussion | Beiträge) |
Stefan (Diskussion | Beiträge) |
||
Zeile 3: | Zeile 3: | ||
Siehe auch: | Siehe auch: | ||
* [[PostGIS - Tipps und Tricks]] und [[PostGIS-Beispiele]] | * [[PostGIS - Tipps und Tricks]] und [[PostGIS-Beispiele]] | ||
− | * [[GISpunkt-Seminar PostGIS]] und [[GISpunkt-Seminar PostGIS | + | * [[GISpunkt-Seminar PostGIS]] und [[GISpunkt-Seminar PostGIS Fortgeschrittene]] |
* [[PostgreSQL-PostGIS-Höck]] | * [[PostgreSQL-PostGIS-Höck]] | ||
* [[PostgreSQL]] und [[PostgreSQL - Tipps und Tricks]] | * [[PostgreSQL]] und [[PostgreSQL - Tipps und Tricks]] |
Version vom 3. Mai 2009, 15:22 Uhr
PostGIS ist eine Erweiterung (Modul) von PostgreSQL um raumbezogene (geometrische) Funktionen auf Basis der bereits in der Standardversion vorhandenen Datentypen.
Siehe auch:
- PostGIS - Tipps und Tricks und PostGIS-Beispiele
- GISpunkt-Seminar PostGIS und GISpunkt-Seminar PostGIS Fortgeschrittene
- PostgreSQL-PostGIS-Höck
- PostgreSQL und PostgreSQL - Tipps und Tricks
Inhaltsverzeichnis
Websites und Dokumentation
- Quickguide/Cheatsheet from BostonGIS
- PostGIS auf Refractions Ltd., Canada:
- PostGIS-Tutorial (Grundlagen) (de) - von openjump.org
- PostGIS-Tutorial (de) - von GISWiki.org
- Vergleich von räumlichen Datenbanken - IBM DB2, MySQL, Oracle Spatial, PostGIS
- PostGIS and Grails/Spring/Hibernate (Blogeintrag)
Bücher
- Tyler Mitchell, Web Mapping Illustrated, 2005, 1 Ed., 372 S., O'Reilly, ISBN 0-596-00865-1 (das zurzeit einzige Buch über PostGIS)
- Siehe auch PostgreSQL
Software
PostgreSQL/PostGIS-Daten-Viewer (GIS-Viewer):
- QGIS/QuantumGIS - kann auch Postgis Daten editieren
- UDig
- GDV Spatial Commander 0.9.008
- OpenJUMP
- Plugin für ArcGIS
PostGIS-Tools von Dritten:
- PGAT - a graphical interface to PostGIS focused in mapping the geo-spatial operations defined in PostGIS.
- pgRouting - Routing libary with Shortest Path and Traveling Sales Person algorithms.
PostgreSQL/PostGIS und ArcGIS:
- Ab ArcGIS Server 9.3, ArcSDE, gibt es Support für PostgreSQL 8.3.0 (und PostGIS 1.3.2) (Note: At ArcGIS 9.2, ArcSDE is now known as 'ArcSDE technology' and is included with both the 'ArcGIS Desktop' and 'ArcGIS Server' products).
- Es gibt zwei aus ArcGIS unterstützte Geometrie-Typen, 1. ST_Geometry spatial type (default, proprietäres komprimiertes Shape-Format) und 2. PostGIS spatial type (im dokumentierten WKB-Format). Wir empfehlen, PostGIS zu installieren und den ST_Geometry-Default zu ändern auf den PostGIS type.
- Sammlung von nützlichen Blogs zu 'Postgisarcgis' im PostGIS Wiki
- Zusammenfassender Blog: http://geobabble.wordpress.com/2008/08/21/using-arcsde-93-with-postgresql-part-35/
- ESRI-Artikel 'Introducing ArcSDE Implementation for PostgreSQL (Transcript)' (pdf).
- ziggis - PostGIS connector for ArcGIS.
- ArcView PostGIS Connection Extension (Stand 2006?)
Installation
Siehe PostgreSQL#Installation.
FAQ zu PostGIS
Siehe auch oben ("Siehe auch"), insbesondere PostGIS - Tipps und Tricks und PostGIS Wiki mit 'Newbie Questions'.
- Was bedeutet der Error "addgeometrycolumn(...) does not exist"?
- Die PostGIS-Funktionen sind nicht geladen. Man installiere die PostGIS-Erweiterung (falls nicht schon geschehen) und erzeuge eine neue PostGIS-Datenbank (siehe "Wie erzeugt man eine neue PostGIS-Datenbank?").
- Wie erzeugt man eine neue PostGIS-Datenbank?
- 1. Falls noch keine 'normale' (=Nicht-GIS-) Datenbank vorhanden ist, "create a new database and choose the template_postgis as your template". 2. Falls eine 'normale' Datenbank mit Tabellen etc. bereits existiert, "spatially enable your database by running the following two SQL files: a) Postgresql\8.2\share\contrib\lwpostgis.sql and b) Postgresql\8.2\share\contrib\spatial_ref_sys.sql. lwpostgis.sql benötigt plpgsql language support installed (Syntax: createlang plpgsql yourexistingdb).
- Was ist das für eine Zahl, die ST_distance() zurückgibt?
- Siehe PostGIS Wiki.
- Was für Mass-Einheiten (units of measurement) benützen die PostGIS-Funktionen?
- Siehe PostGIS Wiki.
- Wie erhält man Distanz-Masse in Meter?
- Siehe PostGIS Wiki.
- Was sind die Grenzen der 3D-Typen und -Funktionen in PostGIS?
- (1) 3D volumetric objects are not supported. (2) 3D non-volume are supported partly -- e.g. a 2D polygon in 3 d space, a line, point in 3d space. (3) Spatial relationships however only consider the spatial component of the x, y plane.
- MySQL hat auch eine Spatial Extension und ist erst noch bei Internet-Service-Providern verbreiteter; was ist der Unterschied zu PostGIS?
- Drei Gründe: (1) Operationen werden nur mittels Bounding-Box gemacht (hips-between-geometries.html, (2) es gibt keine Unterstützung für Koordinatensysteme, (3) die Spatial Extension ist praktisch eine One-Man-Show.