Skip to content

djangodocs

Django 2.1
  • dev dev
  • 6.1 current
  • 6.0
  • 5.2 LTS
  • 5.1 unsupported
  • 5.0 unsupported
  • 4.2 unsupported
  • 4.1 unsupported
  • 4.0 unsupported
  • 3.2 unsupported
  • 3.1 unsupported
  • 3.0 unsupported
  • 2.2 unsupported
  • 2.1 unsupported
  • 2.0 unsupported
  • 1.11 unsupported
  • 1.10 unsupported
  • 1.9 unsupported
  • 1.8 unsupported
English
  • English
  • 简体中文
  • Français
  • 日本語
  • Bahasa Indonesia
  • Português (Brasil)
  • 한국어
  • Español
  • Ελληνικά
  • Polski
Documentation contents
  • Django documentation
  • Getting started
  • Using Django
  • “How-to” guides
  • Django FAQ
  • API Reference
    • Applications
    • System check framework
    • Built-in class-based views API
    • Clickjacking Protection
    • contrib packages
      • The Django admin site
      • django.contrib.auth
      • The contenttypes framework
      • The flatpages app
      • GeoDjango
        • GeoDjango Tutorial
        • GeoDjango Installation
        • GeoDjango Model API
        • GeoDjango Database API
        • GeoDjango Forms API
        • GIS QuerySet API Reference
        • Geographic Database Functions
        • Measurement Objects
        • GEOS API
        • GDAL API
        • Geolocation with GeoIP2
        • GeoDjango Utilities
        • GeoDjango Management Commands
        • GeoDjango’s admin site
        • Geographic Feeds
        • Geographic Sitemaps
        • Testing GeoDjango apps
        • Deploying GeoDjango
      • django.contrib.humanize
      • The messages framework
      • django.contrib.postgres
      • The redirects app
      • The sitemap framework
      • The “sites” framework
      • The staticfiles app
      • The syndication feed framework
    • Cross Site Request Forgery protection
    • Databases
    • django-admin and manage.py
    • Django Exceptions
    • File handling
    • Forms
    • Middleware
    • Migration Operations
    • Models
    • Request and response objects
    • SchemaEditor
    • Settings
    • Signals
    • Templates
    • TemplateResponse and SimpleTemplateResponse
    • Unicode data
    • django.urls utility functions
    • django.urls functions for use in URLconfs
    • Django Utils
    • Validators
    • Built-in Views
  • Meta-documentation and miscellany
  • Glossary
  • Release notes
  • Django internals
Django 2.1 is no longer supported. It receives no security fixes. Use it for reference only. Latest release
  1. Django 2.1
  2. API Reference
  3. contrib packages
  4. GeoDjango

Geographic SitemapsLink to this heading#

KML is an XML language focused on geographic visualization [1]. KMLSitemap and its compressed counterpart KMZSitemap allow you to present geolocated data in a machine-readable format.

ExampleLink to this heading#

ReferenceLink to this heading#

KMLSitemapLink to this heading#

KMZSitemapLink to this heading#

Footnotes

[1]

https://www.opengeospatial.org/standards/kml

View as Markdown Edit this page on GitHub Official version
PreviousGeographic Feeds NextTesting GeoDjango apps

On this page

  • Example
  • Reference
    • KMLSitemap
    • KMZSitemap

An unofficial rendering of the Django documentation.

Not affiliated with or endorsed by the Django Software Foundation. The documentation is copyright © Django Software Foundation and individual contributors, and is used under the BSD 3-Clause licence. “Django” is a trademark of the Django Software Foundation.

Read the official documentation at docs.djangoproject.com.

👋 Jason Cartwright