2010-03-27 04:14:53 +08:00
|
|
|
==============
|
|
|
|
OGR Inspection
|
|
|
|
==============
|
|
|
|
|
|
|
|
.. module:: django.contrib.gis.utils.ogrinspect
|
|
|
|
:synopsis: Utilities for inspecting OGR data sources.
|
|
|
|
|
|
|
|
.. currentmodule:: django.contrib.gis.utils
|
|
|
|
|
|
|
|
``ogrinspect``
|
|
|
|
==============
|
|
|
|
|
|
|
|
.. function:: ogrinspect(data_source, model_name[, **kwargs])
|
2010-12-22 23:54:31 +08:00
|
|
|
:noindex:
|
2010-03-27 04:14:53 +08:00
|
|
|
|
|
|
|
``mapping``
|
|
|
|
===========
|
|
|
|
|
|
|
|
.. function:: mapping(data_source, [geom_name='geom', layer_key=0, multi_geom=False])
|