summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorRamiro Morales <cramm0@gmail.com>2012-02-10 01:40:43 +0000
committerRamiro Morales <cramm0@gmail.com>2012-02-10 01:40:43 +0000
commit8d381acb24f3114b9cf560391671ad1274b4bfaa (patch)
treede2483f77dd16323a0445dc6d2a0a6c9f51d42c2 /docs/ref
parente41647a52241c441fe8a5579a89d24e8aad55c0b (diff)
Made some small tweaks to GeoDjango docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17489 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/gis/install.txt27
-rw-r--r--docs/ref/contrib/gis/tutorial.txt6
2 files changed, 18 insertions, 15 deletions
diff --git a/docs/ref/contrib/gis/install.txt b/docs/ref/contrib/gis/install.txt
index 0a5cbc5aac..27e9ef599a 100644
--- a/docs/ref/contrib/gis/install.txt
+++ b/docs/ref/contrib/gis/install.txt
@@ -8,7 +8,7 @@ Overview
========
In general, GeoDjango installation requires:
-1. Python and :ref:`django`
+1. :ref:`Python and Django <django>`
2. :ref:`spatial_database`
3. :ref:`geospatial_libs`
@@ -624,10 +624,9 @@ Troubleshooting
If you can't find the solution to your problem here then participate in the
community! You can:
-* Join the ``#geodjango`` IRC channel on FreeNode (may be accessed on the
- Web via `Mibbit`__). Please be patient and polite -- while you may not
- get an immediate response, someone will attempt to answer your question
- as soon as they see it.
+* Join the ``#geodjango`` IRC channel on FreeNode. Please be patient and polite
+ -- while you may not get an immediate response, someone will attempt to answer
+ your question as soon as they see it.
* Ask your question on the `GeoDjango`__ mailing list.
* File a ticket on the `Django trac`__ if you think there's a bug. Make
sure to provide a complete description of the problem, versions used,
@@ -906,10 +905,10 @@ Ubuntu & Debian GNU/Linux
.. note::
- The PostGIS SQL files are not placed the PostgreSQL share directory in the
- Debian and Ubuntu packages, and are located instead special directory
- depending on the release. Thus, when :ref:`spatialdb_template` use the
- :download:`create_template_postgis-debian.sh` script instead
+ The PostGIS SQL files are not placed in the PostgreSQL share directory in
+ the Debian and Ubuntu packages, and are located instead in a special
+ directory depending on the release. Thus, when :ref:`spatialdb_template`
+ use the :download:`create_template_postgis-debian.sh` script instead.
.. _ubuntu:
@@ -1012,7 +1011,8 @@ Binary Packages
The following command will install acceptable binary packages, as well as
the development tools necessary to build the rest of the requirements::
- $ sudo apt-get install binutils bzip2 gcc g++ flex make postgresql-8.1 postgresql-server-dev-8.1 python-ctypes python-psycopg2 python-setuptools
+ $ sudo apt-get install binutils bzip2 gcc g++ flex make postgresql-8.1 \
+ postgresql-server-dev-8.1 python-ctypes python-psycopg2 python-setuptools
Required package information:
@@ -1043,7 +1043,9 @@ directions carefully.
This version is comparable to Ubuntu :ref:`ibex`, so the command
is very similar::
- $ sudo apt-get install binutils libgdal1-1.5.0 postgresql-8.3 postgresql-8.3-postgis postgresql-server-dev-8.3 python-psycopg2 python-setuptools
+ $ sudo apt-get install binutils libgdal1-1.5.0 postgresql-8.3 \
+ postgresql-8.3-postgis postgresql-server-dev-8.3 \
+ python-psycopg2 python-setuptools
This assumes that you are using PostgreSQL version 8.3. Else, replace ``8.3``
in the above command with the appropriate PostgreSQL version.
@@ -1072,7 +1074,8 @@ Debian 5.0 . Thus when :ref:`spatialdb_template` either:
* Create a symbolic link to these files::
- $ sudo ln -s /usr/share/postgresql-8.3-postgis/{lwpostgis,spatial_ref_sys}.sql /usr/share/postgresql/8.3
+ $ sudo ln -s /usr/share/postgresql-8.3-postgis/{lwpostgis,spatial_ref_sys}.sql \
+ /usr/share/postgresql/8.3
If not running PostgreSQL 8.3, then replace ``8.3`` in the command above with the correct version.
diff --git a/docs/ref/contrib/gis/tutorial.txt b/docs/ref/contrib/gis/tutorial.txt
index f1f53993fd..84111d3557 100644
--- a/docs/ref/contrib/gis/tutorial.txt
+++ b/docs/ref/contrib/gis/tutorial.txt
@@ -72,7 +72,7 @@ create the database from a :ref:`spatial database template
$ createuser --createdb geo
$ exit
- Replace ``geo`` to correspond to the system login user name will be
+ Replace ``geo`` with the system login user name that will be
connecting to the database. For example, ``johndoe`` if that is the
system user that will be running GeoDjango.
@@ -177,7 +177,7 @@ shapefiles (or other vector data sources):
using driver `ESRI Shapefile' successful.
1: TM_WORLD_BORDERS-0.3 (Polygon)
-Here ``ogrinfo`` is telling us that the shapefile has one layer, and that
+Here ``ogrinfo`` is telling us that the shapefile has one layer, and that such
layer contains polygon data. To find out more we'll specify the layer name
and use the ``-so`` option to get only important summary information:
@@ -355,7 +355,7 @@ tutorial, then we can determine the path using Python's built-in
``os`` module::
>>> import os
- >>> from geodjango import world
+ >>> import world
>>> world_shp = os.path.abspath(os.path.join(os.path.dirname(world.__file__),
... 'data/TM_WORLD_BORDERS-0.3.shp'))