GeoDjango Management Commands

GeoDjango Management Commands

inspectdb

django-admin inspectdb

When django.contrib.gis is in your INSTALLED_APPS, the inspectdb management command is overridden with one from GeoDjango. The overridden command is spatially-aware, and places geometry fields in the auto-generated model definition, where appropriate.

ogrinspect

登录查看完整内容