Commit 23e1ad53 authored by Sergey Fedoseev's avatar Sergey Fedoseev Committed by Tim Graham
Browse files

Fixed #25974 -- Switched GIS docs to 4 spaces indentation.

parent dbaa1a6b
Loading
Loading
Loading
Loading
+17 −17
Original line number Diff line number Diff line
@@ -26,10 +26,10 @@ API Reference

.. class:: Feed

   In addition to methods provided by
   the :class:`django.contrib.syndication.views.Feed`
   base class, GeoDjango's ``Feed`` class provides
   the following overrides.  Note that these overrides may be done in multiple ways::
    In addition to methods provided by the
    :class:`django.contrib.syndication.views.Feed` base class, GeoDjango's
    ``Feed`` class provides the following overrides. Note that these overrides
    may be done in multiple ways::

        from django.contrib.gis.feeds import Feed

@@ -56,8 +56,8 @@ API Reference
    .. method:: geometry(obj)

    Takes the object returned by ``get_object()`` and returns the *feed's*
   geometry.  Typically this is a ``GEOSGeometry`` instance, or can be a
   tuple to represent a point or a box.  For example::
    geometry. Typically this is a ``GEOSGeometry`` instance, or can be a tuple
    to represent a point or a box. For example::

        class ZipcodeFeed(Feed):

@@ -67,9 +67,9 @@ API Reference

    .. method:: item_geometry(item)

   Set this to return the geometry for each *item* in the feed.  This
   can be a ``GEOSGeometry`` instance, or a tuple that represents a
   point coordinate or bounding box.  For example::
    Set this to return the geometry for each *item* in the feed. This can be a
    ``GEOSGeometry`` instance, or a tuple that represents a point coordinate or
    bounding box. For example::

        class ZipcodeFeed(Feed):

+618 −632

File changed.

Preview size limit exceeded, changes collapsed.

+3 −3
Original line number Diff line number Diff line
@@ -1308,8 +1308,8 @@ Returns a ``LineString`` constructed from the point field geometries in the

Example::

     >>> print(City.objects.filter(name__in=('Houston', 'Dallas')
     ...      ).aggregate(MakeLine('poly'))['poly__makeline']
    >>> qs = City.objects.filter(name__in=('Houston', 'Dallas')).aggregate(MakeLine('poly'))
    >>> print(qs['poly__makeline'])
    LINESTRING (-95.3631510000000020 29.7633739999999989, -96.8016109999999941 32.7820570000000018)

``Union``
+116 −116

File changed.

Preview size limit exceeded, changes collapsed.

+8 −9
Original line number Diff line number Diff line
@@ -82,8 +82,8 @@ is required.

.. note::

   On Linux platforms, it may be necessary to run the ``ldconfig``
   command after installing each library.  For example::
    On Linux platforms, it may be necessary to run the ``ldconfig`` command
    after installing each library. For example::

        $ sudo make install
        $ sudo ldconfig
@@ -253,7 +253,6 @@ the GDAL library. For example::

    GDAL_LIBRARY_PATH = '/home/sue/local/lib/libgdal.so'


.. rubric:: Footnotes
.. [#] The datum shifting files are needed for converting data to and from
       certain projections.
Loading