Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| general:gis [2014/12/01 15:06] – [Links] rfile | general:gis [2014/12/01 15:07] (current) – removed rfile | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== GIS notes ====== | ||
| - | |||
| - | dragon is postgresql 8.4.11 | ||
| - | |||
| - | |||
| - | flatboy is postgresql 9.3.5 postgis 2.1.2 | ||
| - | |||
| - | |||
| - | using public schema in db not necessarily a good thing: | ||
| - | |||
| - | http:// | ||
| - | |||
| - | http:// | ||
| - | |||
| - | http:// | ||
| - | |||
| - | |||
| - | http:// | ||
| - | |||
| - | look for the script above on gihub | ||
| - | |||
| - | |||
| - | [[https:// | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | ===== Install notes ===== | ||
| - | |||
| - | http:// | ||
| - | |||
| - | |||
| - | http:// | ||
| - | |||
| - | |||
| - | should probably use extensions to make apostgis database on the new server flatboy | ||
| - | |||
| - | http:// | ||
| - | |||
| - | still need to figure out if sql statments have been run during postgis install on ubuntu | ||
| - | |||
| - | |||
| - | |||
| - | ==== install3 ==== | ||
| - | |||
| - | http:// | ||
| - | |||
| - | |||
| - | Using the CREATE EXTENSION statement | ||
| - | This is as simple as running a query in the data base where you want to enable PostGIS: | ||
| - | |||
| - | 1 CREATE EXTENSION postgis; | ||
| - | |||
| - | |||
| - | <box 95% orange> | ||
| - | http:// | ||
| - | |||
| - | CREATE EXTENSION postgis; | ||
| - | command. | ||
| - | |||
| - | psql -d [yourdatabase] -c " | ||
| - | |||
| - | Topology is packaged as a separate extension and installable with command: | ||
| - | |||
| - | psql -d [yourdatabase] -c " | ||
| - | |||
| - | If you plan to restore an old backup from prior versions in this new db, run: | ||
| - | |||
| - | psql -d [yourdatabase] -f legacy.sql | ||
| - | |||
| - | You can later run uninstall_legacy.sql to get rid of the deprecated functions after you are done with restoring and cleanup. | ||
| - | |||
| - | |||
| - | |||
| - | </ | ||
| - | ==== Postgis Qgis Notes ==== | ||
| - | |||
| - | |||
| - | |||
| - | http:// | ||
| - | |||
| - | |||
| - | youtube vid about using QGIS to update | ||
| - | |||
| - | https:// | ||
| - | |||
| - | ===== Links ===== | ||
| - | |||
| - | * http:// | ||
| - | * | ||
| - | * http:// | ||
| - | * | ||
| - | * | ||
| - | * http:// | ||
| - | * | ||
| - | * http:// | ||
| - | * | ||
| - | * http:// | ||
| - | * | ||
| - | * | ||
| - | * | ||
| - | * http:// | ||
| - | * https:// | ||
| - | * http:// | ||
| - | * | ||
| - | |||
| - | * review of plugins | ||
| - | * http:// | ||
| - | * | ||