PostGIS: Unterschied zwischen den Versionen

Aus Geoinformation HSR
Wechseln zu: Navigation, Suche
(How To PostGIS?)
Zeile 44: Zeile 44:
 
;Was bedeutet der Error "addgeometrycolumn(...) does not exist"?: Die PostGIS-Funktionen sind nicht geladen. Man installiere die PostGIS-Erweiterung (falls nciht schon installiert) und erzeuge eine neue PostGIS-Datenbank (falls nicht schon vorhanden).
 
;Was bedeutet der Error "addgeometrycolumn(...) does not exist"?: Die PostGIS-Funktionen sind nicht geladen. Man installiere die PostGIS-Erweiterung (falls nciht schon installiert) und erzeuge eine neue PostGIS-Datenbank (falls nicht schon vorhanden).
  
;Wie erzeugt man eine neue PostGIS-Datenbank?: Falls noch keine 'normale' (=Nicht-GIS-) Datenbank vorhanden ist, create a new database and choose the template_postgis as your template. Falls eine 'normale' Datenbank mit Tabellen etc. bereits existiert, spatially enable your database by running the following SQL files Postgresql\8.2\share\contrib\lwpostgis.sql Postgresql\8.2\share\contrib\spatial_ref_sys.sql.  
+
;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.  
  
 
[[Kategorie:HowTo]]
 
[[Kategorie:HowTo]]

Version vom 26. Oktober 2008, 15:03 Uhr

PostGIS ist eine Erweiterung (Modul) von PostgreSQL um raumbezogene (geometrische) Funktionen auf Basis der bereits in der Standardversion vorhandenen Datentypen.

Siehe auch:

Websites und Dokumentation

Bücher

  • Tyler Mitchell, Web Mapping Illustrated, 2005, 1 Ed., 372 S., O'Reilly, ISBN 0-596-00865-1 (das einzige Buch über PostGIS)
  • Siehe auch PostgreSQL

Software

PostgreSQL/PostGIS-Daten-Viewer (GIS-Viewer):

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.

Verschiedenes:

How To 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 nciht schon installiert) und erzeuge eine neue PostGIS-Datenbank (falls nicht schon vorhanden).
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.