#13671 closed (fixed)
create_template_postgis-1.4.sh POSTGIS_SQL_PATH drop postgis-1.4
Reported by: | CarlFK | Owned by: | nobody |
---|---|---|---|
Component: | GIS | Version: | 1.2 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
http://docs.djangoproject.com/en/dev/ref/contrib/gis/install/#spatialdb-template says
"""
The location and name of the PostGIS SQL files (e.g., from POSTGIS_SQL_PATH below) depends on the version of PostGIS. PostGIS versions 1.3 and below use <pg_sharedir>/contrib/lwpostgis.sql;
whereas version 1.4 uses <sharedir>/contrib/postgis.sql
and version 1.5 uses <sharedir>/contrib/postgis-1.5/postgis.sql.
"""
but
http://geodjango.org/docs/create_template_postgis-1.4.sh
line 2:
POSTGIS_SQL_PATH=pg_config --sharedir
/contrib/postgis-1.4
should be
POSTGIS_SQL_PATH=pg_config --sharedir
/contrib/
(In [13398]) Fixed #13671, #13748 -- Fixed errata and minor updates to GeoDjango docs.