commit
6dda14981c
|
@ -9,8 +9,8 @@ Check the Troubleshooting_ section if you get errors at any stage.
|
||||||
Install PostGIS and system packages
|
Install PostGIS and system packages
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
|
|
||||||
.. warning:: If you are looking for the geospatial preview plugins to render eg GeoJSON
|
.. warning:: If you are looking for the geospatial preview plugins to render (eg GeoJSON
|
||||||
or WMS services, these are now located in ckanext-geoview_. They have a much simpler
|
or WMS services), these are now located in ckanext-geoview_. They have a much simpler
|
||||||
installation, so you can skip all the following steps if you just want the previews.
|
installation, so you can skip all the following steps if you just want the previews.
|
||||||
|
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ Ubuntu 14.04 (PostgreSQL 9.3 and PostGIS 2.1)
|
||||||
sudo -u postgres psql -d ckan_default -f /usr/share/postgresql/9.3/contrib/postgis-2.1/postgis.sql
|
sudo -u postgres psql -d ckan_default -f /usr/share/postgresql/9.3/contrib/postgis-2.1/postgis.sql
|
||||||
sudo -u postgres psql -d ckan_default -f /usr/share/postgresql/9.3/contrib/postgis-2.1/spatial_ref_sys.sql
|
sudo -u postgres psql -d ckan_default -f /usr/share/postgresql/9.3/contrib/postgis-2.1/spatial_ref_sys.sql
|
||||||
|
|
||||||
#. Change the owner to spatial tables to the CKAN user to avoid errors later
|
#. Change the owner of spatial tables to the CKAN user to avoid errors later
|
||||||
on::
|
on::
|
||||||
|
|
||||||
sudo -u postgres psql -d ckan_default -c 'ALTER VIEW geometry_columns OWNER TO ckan_default;'
|
sudo -u postgres psql -d ckan_default -c 'ALTER VIEW geometry_columns OWNER TO ckan_default;'
|
||||||
|
@ -125,7 +125,7 @@ its documentation for details on how to set it up.
|
||||||
Configuration
|
Configuration
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
Once PostGIS is installed and configured in the database the extension needs
|
Once PostGIS is installed and configured in the database, the extension needs
|
||||||
to create a table to store the datasets extent, called ``package_extent``.
|
to create a table to store the datasets extent, called ``package_extent``.
|
||||||
|
|
||||||
This will happen automatically the next CKAN is restarted after adding the
|
This will happen automatically the next CKAN is restarted after adding the
|
||||||
|
|
Loading…
Reference in New Issue