Skip to content

djangodocs

Django 5.0
  • 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
简体中文
  • English
  • 简体中文
  • Français
  • 日本語
  • Bahasa Indonesia
  • Italiano
  • Português (Brasil)
  • 한국어
  • Español
  • Ελληνικά
  • Polski
Documentation contents
  • Django 文档
  • 开始
  • 使用 Django
  • 操作指南
  • Django FAQ
  • API 参考
  • 元文件和杂记
  • 术语
  • 发行说明
  • Django内部
Django 5.0 is no longer supported. It receives no security fixes. Use it for reference only. Latest release
Chinese (Simplified) translation. Contributed by the Django community. 100.0% Help translate
  1. Django 5.0
  2. API 参考
  3. contrib 包
  4. GeoDjango
  5. GeoDjango 实用程序

OGR 检查Link to this heading#

ogrinspectLink to this heading#

ogrinspect(data_source, model_name, **kwargs)

mappingLink to this heading#

mapping(data_source, geom_name='geom', layer_key=0, multi_geom=False)Link to this definition#
View as Markdown Edit this page on GitHub Official version
PreviousLayerMapping 是一个数据导入实用程序 NextGeoJSON 序列化器

On this page

  • ogrinspect
  • mapping

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.

This translation is the work of the Django i18n community, not of this site. Read the official documentation at docs.djangoproject.com.

👋 Jason Cartwright