Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 7c0f87383795ebbe514649b056eb6522 > files > 140

Django-doc-1.3.1-2.fc15.noarch.rpm

.. _ref-gis-utils:

===================
GeoDjango Utilities
===================

.. module:: django.contrib.gis.utils
   :synopsis: GeoDjango's collection of utilities.

The :mod:`django.contrib.gis.utils` module contains various utilities that are
useful in creating geospatial Web applications.

.. toctree::
   :maxdepth: 2

   geoip
   layermapping
   ogrinspect

GeoIP
=====

Interface to the MaxMind GeoIP library for performing IP-based geolocation
from GeoDjango.  See :ref:`GeoIP reference <ref-geoip>` documentation for
more information.

LayerMapping
============

The :class:`~django.contrib.gis.utils.LayerMapping` simplifies the process
of importing spatial data and attributes into your GeoDjango models.