Module Expr Str Import alias ImportFrom alias alias identifier ImportFrom alias ImportFrom alias alias alias alias alias alias ImportFrom alias alias alias alias alias alias alias ImportFrom alias alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Dict Num Num Num AttributeLoad Call NameLoad Str attr AttributeLoad Call NameLoad Str attr AttributeLoad Call NameLoad Str attr Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Assign NameStore Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad Str Str NameLoad NameLoad NameLoad body Expr Str If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad NameLoad keyword NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign AttributeStore NameLoad attr IfExp CompareIsNot NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr If AttributeLoad AttributeLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr attr attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr orelse Assign NameStore NameLoad If NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameLoad If NameLoad body ImportFrom alias Expr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr NameLoad orelse If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If NameLoad body If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Return Call NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Return NameLoad orelse Raise NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Return NameLoad decorator_list For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If Call NameLoad NameLoad NameLoad body If AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore AttributeLoad NameLoad attr TryExcept body If CompareEq NameLoad Num body Assign NameStore Call NameLoad BinOpAdd NameLoad Str orelse Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot BoolOpOr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad IfExp CompareEq NameLoad Num Str Str NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore NameLoad orelse If Call NameLoad NameLoad AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore NameLoad orelse Raise Call NameLoad Str orelse If CompareNotIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad If UnaryOpNot Call NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad orelse If Call NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad TupleLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Raise Call NameLoad Str orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body For NameStore NameLoad body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Raise NameLoad orelse If Call NameLoad NameLoad AttributeLoad NameLoad attr body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Raise NameLoad orelse Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If Call NameLoad NameLoad NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad Str orelse If Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Dict AttributeLoad NameLoad attr SubscriptLoad NameLoad Index AttributeLoad NameLoad attr orelse Return DictComp NameLoad SubscriptLoad NameLoad Index NameLoad comprehension NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If BoolOpAnd Call NameLoad NameLoad NameLoad Call NameLoad NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd AttributeLoad NameLoad attr CompareGt Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad NameLoad orelse If BoolOpAnd Call NameLoad NameLoad NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareLt NameLoad Num body Assign NameStore Call NameLoad SubscriptLoad NameLoad Slice NameLoad orelse Assign NameStore BinOpAdd Call NameLoad NameLoad NameLoad If CompareGt NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad orelse If BoolOpAnd Call NameLoad NameLoad TupleLoad NameLoad NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TryExcept body Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Assign NameStore AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr attr Return Call NameLoad AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return BoolOpAnd CompareIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body If BoolOpOr CompareIs NameLoad NameLoad UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Num orelse Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad Num Num body If NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body AugAssignAdd NameStore Num TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body If NameLoad body Raise orelse If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad orelse Assign NameStore NameLoad If AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr attr NameLoad Assign NameStore NameLoad Assign NameStore AttributeLoad Call NameLoad NameLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr AugAssignAdd NameStore Num If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad IfExp NameLoad Str Str NameLoad handlers ExceptHandler type NameLoad name NameStore body If NameLoad body If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Raise orelse If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad If BoolOpAnd NameLoad CompareEq BinOpMod NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd NameLoad Call NameLoad NameLoad NameLoad CompareLt NameLoad NameLoad body If NameLoad body Raise Call NameLoad Str Assign TupleStore NameStore NameStore NameStore TupleLoad Num Num Num Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareEq BinOpAdd NameLoad Num NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad NameLoad TryExcept body Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad BinOpMult Str Num NameLoad Raise orelse Expr Call NameLoad decorator_list decorator_list
N/A N/A 
 The LayerMapping class provides a way to map the contents of OGR
 vector files (e.g. SHP files) to Geographic-enabled Django models.

 For more information, please consult the GeoDjango documentation:
   https://docs.djangoproject.com/en/dev/ref/contrib/gis/layermapping/
 N/A sys decimal Decimal InvalidOperation DecimalInvalidOperation django.contrib.gis.db.models GeometryField django.contrib.gis.gdal CoordTransform DataSource GDALException OGRGeometry OGRGeomType SpatialReference django.contrib.gis.gdal.field OFTDate OFTDateTime OFTInteger OFTInteger64 OFTReal OFTString OFTTime django.core.exceptions FieldDoesNotExist ObjectDoesNotExist django.db connections models router transaction django.utils six django.utils.encoding force_text LayerMapError N/A Exception N/A N/A N/A InvalidString N/A LayerMapError N/A N/A N/A InvalidDecimal N/A LayerMapError N/A N/A N/A InvalidInteger N/A LayerMapError N/A N/A N/A MissingForeignKey N/A LayerMapError N/A N/A N/A LayerMapping N/A object N/A N/A A class that maps OGR Layers to GeoDjango Models. N/A MULTI_TYPES N/A 1 2 3 N/A N/A OGRGeomType Point25D num N/A N/A OGRGeomType LineString25D num N/A N/A OGRGeomType Polygon25D num N/A OGRGeomType MultiPoint N/A OGRGeomType MultiLineString N/A OGRGeomType MultiPolygon N/A OGRGeomType MultiPoint25D N/A OGRGeomType MultiLineString25D N/A OGRGeomType MultiPolygon25D N/A FIELD_TYPES N/A N/A models AutoField N/A models BigAutoField N/A models IntegerField N/A models FloatField N/A models DateField N/A models DateTimeField N/A models EmailField N/A models TimeField N/A models DecimalField N/A models CharField N/A models SlugField N/A models TextField N/A models URLField N/A models BigIntegerField N/A models SmallIntegerField N/A models PositiveSmallIntegerField OFTInteger OFTInteger64 N/A OFTInteger OFTReal OFTString N/A OFTInteger OFTReal OFTDate OFTDateTime OFTString OFTTime N/A OFTInteger OFTReal OFTString OFTString OFTString OFTString N/A OFTInteger OFTReal OFTString N/A OFTInteger OFTReal OFTString N/A OFTInteger OFTReal OFTString __init__ N/A N/A self model data mapping layer source_srs encoding transaction_mode transform unique using N/A 0 None utf-8 commit_on_success True None None N/A N/A 
        A LayerMapping object is initialized using the given Model (not an instance),
        a DataSource (or string path to an OGR-supported data file), and a mapping
        dictionary.  See the module level docstring for more details and keyword
        argument usage.
         N/A N/A isinstance data N/A six string_types N/A N/A N/A self ds N/A DataSource data encoding encoding N/A N/A N/A self ds data N/A N/A self layer N/A N/A self ds N/A layer N/A N/A self using N/A N/A using None using N/A N/A router db_for_write model N/A N/A self spatial_backend N/A N/A connections N/A N/A self using ops N/A N/A self mapping mapping N/A N/A self model model N/A N/A N/A self check_layer N/A N/A N/A N/A connections N/A N/A self using features supports_transform N/A N/A N/A self geo_field N/A N/A self geometry_field N/A N/A transform False N/A transform N/A N/A N/A self source_srs N/A N/A self check_srs source_srs N/A N/A self transform N/A N/A self coord_transform N/A N/A N/A self transform transform N/A encoding N/A codecs lookup N/A N/A lookup encoding N/A N/A self encoding encoding N/A N/A N/A self encoding None N/A unique N/A N/A N/A N/A self check_unique unique N/A transaction_mode autocommit N/A N/A self unique unique N/A N/A N/A self unique None N/A N/A self transaction_mode transaction_mode N/A N/A transaction_mode autocommit N/A N/A N/A self transaction_decorator None N/A N/A N/A transaction_mode commit_on_success N/A N/A N/A self transaction_decorator N/A transaction atomic N/A N/A N/A LayerMapError N/A Unrecognized transaction mode: %s transaction_mode N/A check_fid_range N/A N/A self fid_range N/A N/A N/A This checks the `fid_range` keyword. N/A fid_range N/A N/A N/A isinstance fid_range N/A tuple list N/A N/A N/A slice fid_range N/A N/A N/A isinstance fid_range slice N/A N/A fid_range N/A N/A TypeError N/A N/A None N/A check_layer N/A N/A self N/A N/A N/A 
        This checks the Layer metadata, and ensures that it is compatible
        with the mapping information and model.  Unlike previous revisions,
        there is no need to increment through each feature in the Layer.
         N/A N/A self geom_field False N/A N/A self fields N/A N/A ogr_fields N/A N/A self layer fields N/A ogr_field_types N/A N/A self layer field_types check_ogr_fld N/A N/A ogr_map_fld N/A N/A N/A N/A N/A idx N/A N/A ogr_fields index ogr_map_fld N/A N/A N/A ValueError N/A N/A N/A LayerMapError N/A Given mapping OGR field "%s" not found in OGR Layer. ogr_map_fld N/A idx N/A N/A N/A field_name ogr_name N/A N/A N/A self mapping items N/A N/A N/A N/A model_field N/A N/A N/A N/A self model _meta get_field field_name N/A N/A N/A FieldDoesNotExist N/A N/A N/A LayerMapError N/A Given mapping field "%s" not in given Model fields. field_name N/A fld_name N/A N/A model_field __class__ __name__ N/A N/A isinstance model_field GeometryField N/A N/A N/A self geom_field N/A N/A N/A LayerMapError LayerMapping does not support more than one GeometryField per model. N/A coord_dim N/A model_field dim N/A N/A N/A N/A coord_dim 3 N/A N/A gtype N/A OGRGeomType N/A ogr_name 25D N/A N/A gtype N/A OGRGeomType ogr_name N/A N/A N/A GDALException N/A N/A N/A LayerMapError N/A Invalid mapping for GeometryField "%s". field_name N/A ltype N/A N/A self layer geom_type N/A N/A N/A N/A N/A N/A ltype name startswith N/A gtype name N/A N/A self make_multi ltype model_field N/A N/A N/A LayerMapError N/A Invalid mapping geometry; model has %s%s, layer geometry type is %s. N/A fld_name N/A N/A coord_dim 3 (dim=3) ltype N/A N/A self geom_field field_name N/A N/A self coord_dim coord_dim N/A fields_val model_field N/A N/A N/A isinstance model_field N/A models ForeignKey N/A N/A N/A isinstance ogr_name dict N/A N/A rel_model N/A N/A model_field remote_field model N/A N/A rel_name ogr_field N/A N/A ogr_name items N/A N/A idx N/A check_ogr_fld ogr_field N/A N/A N/A N/A N/A N/A rel_model _meta get_field rel_name N/A N/A N/A FieldDoesNotExist N/A N/A N/A LayerMapError N/A ForeignKey mapping field "%s" not in %s fields. N/A rel_name N/A N/A rel_model __class__ __name__ N/A fields_val rel_model N/A N/A N/A TypeError ForeignKey mapping must be of dictionary type. N/A N/A N/A N/A model_field __class__ N/A self FIELD_TYPES N/A N/A N/A LayerMapError N/A Django field type "%s" has no OGR mapping (yet). fld_name N/A idx N/A check_ogr_fld ogr_name N/A ogr_field N/A ogr_field_types N/A idx N/A N/A N/A issubclass ogr_field N/A N/A self FIELD_TYPES N/A N/A model_field __class__ N/A N/A N/A LayerMapError N/A OGR field "%s" (of type %s) cannot be mapped to Django %s. N/A ogr_field N/A ogr_field __name__ fld_name N/A fields_val model_field N/A N/A N/A self fields N/A field_name fields_val N/A check_srs N/A N/A self source_srs N/A N/A N/A Checks the compatibility of the given spatial reference object. N/A N/A isinstance source_srs SpatialReference N/A N/A sr source_srs N/A N/A N/A isinstance source_srs N/A N/A N/A self spatial_backend spatial_ref_sys N/A N/A sr N/A source_srs srs N/A N/A N/A isinstance source_srs N/A int N/A six string_types N/A N/A sr N/A SpatialReference source_srs N/A N/A sr N/A N/A self layer srs N/A N/A sr N/A N/A N/A LayerMapError No source reference system defined. N/A N/A sr N/A check_unique N/A N/A self unique N/A N/A N/A Checks the `unique` keyword parameter -- may be a sequence or string. N/A N/A isinstance unique N/A list tuple N/A N/A attr unique N/A N/A N/A attr N/A self mapping N/A N/A ValueError N/A N/A N/A isinstance unique N/A six string_types N/A N/A N/A unique N/A self mapping N/A N/A ValueError N/A N/A N/A TypeError Unique keyword argument must be set with a tuple, list, or string. N/A feature_kwargs N/A N/A self feat N/A N/A N/A 
        Given an OGR Feature, this will return a dictionary of keyword arguments
        for constructing the mapped model.
         N/A kwargs N/A N/A N/A field_name ogr_name N/A N/A N/A self mapping items N/A N/A model_field N/A N/A self fields N/A field_name N/A N/A isinstance model_field GeometryField N/A N/A N/A N/A val N/A N/A self verify_geom N/A feat geom model_field N/A N/A N/A GDALException N/A N/A N/A LayerMapError Could not retrieve geometry from feature. N/A N/A N/A isinstance model_field N/A N/A models base ModelBase N/A N/A val N/A N/A self verify_fk feat model_field ogr_name N/A N/A val N/A N/A self verify_ogr_field N/A feat N/A ogr_name model_field N/A N/A kwargs N/A field_name val N/A kwargs N/A unique_kwargs N/A N/A self kwargs N/A N/A N/A 
        Given the feature keyword arguments (from `feature_kwargs`) this routine
        will construct and return the uniqueness keyword arguments -- a subset
        of the feature kwargs.
         N/A N/A isinstance N/A self unique N/A six string_types N/A N/A N/A N/A self unique N/A kwargs N/A N/A self unique N/A N/A N/A fld N/A kwargs N/A fld N/A fld N/A self unique N/A verify_ogr_field N/A N/A self ogr_field model_field N/A N/A N/A 
        Verifies if the OGR Field contents are acceptable to the Django
        model field.  If they are, the verified value is returned,
        otherwise the proper exception is raised.
         N/A N/A N/A isinstance ogr_field OFTString N/A isinstance model_field N/A N/A models CharField N/A models TextField N/A N/A N/A self encoding N/A N/A val N/A force_text N/A ogr_field value N/A self encoding N/A N/A val N/A ogr_field value N/A N/A N/A model_field max_length N/A N/A len val N/A model_field max_length N/A N/A N/A InvalidString N/A %s model field maximum string length is %s, given %s characters. N/A N/A model_field name N/A model_field max_length N/A len val N/A N/A N/A N/A isinstance ogr_field OFTReal N/A isinstance model_field N/A models DecimalField N/A N/A N/A N/A d N/A Decimal N/A str N/A ogr_field value N/A N/A N/A DecimalInvalidOperation N/A N/A N/A InvalidDecimal N/A Could not construct decimal from: %s N/A ogr_field value N/A dtup N/A N/A d as_tuple N/A digits N/A dtup N/A 1 N/A d_idx N/A dtup N/A 2 N/A max_prec N/A N/A model_field max_digits N/A model_field decimal_places N/A N/A d_idx 0 N/A N/A n_prec N/A len N/A digits N/A d_idx N/A N/A n_prec N/A N/A len digits d_idx N/A N/A n_prec max_prec N/A N/A N/A InvalidDecimal N/A A DecimalField with max_digits %d, decimal_places %d must round to an absolute value less than 10^%d. N/A N/A model_field max_digits N/A model_field decimal_places max_prec N/A val d N/A N/A N/A N/A isinstance ogr_field N/A OFTReal OFTString N/A isinstance model_field N/A models IntegerField N/A N/A N/A N/A val N/A int N/A ogr_field value N/A N/A N/A ValueError N/A N/A N/A InvalidInteger N/A Could not construct integer from: %s N/A ogr_field value N/A N/A val N/A ogr_field value N/A val N/A verify_fk N/A N/A self feat rel_model rel_mapping N/A N/A N/A 
        Given an OGR Feature, the related model and its dictionary mapping,
        this routine will retrieve the related model for the ForeignKey
        mapping.
         N/A fk_kwargs N/A N/A N/A field_name ogr_name N/A N/A rel_mapping items N/A N/A N/A fk_kwargs N/A field_name N/A N/A self verify_ogr_field N/A feat N/A ogr_name N/A N/A N/A rel_model _meta get_field field_name N/A N/A N/A N/A N/A N/A N/A N/A rel_model objects using N/A self using get fk_kwargs N/A N/A N/A ObjectDoesNotExist N/A N/A N/A MissingForeignKey N/A No ForeignKey %s model found with keyword arguments: %s N/A N/A rel_model __name__ fk_kwargs N/A verify_geom N/A N/A self geom model_field N/A N/A N/A 
        Verifies the geometry -- will construct and return a GeometryCollection
        if necessary (for example if the model field is MultiPolygonField while
        the mapped shapefile only contains Polygons).
         N/A N/A N/A self coord_dim N/A geom coord_dim N/A N/A N/A geom coord_dim N/A self coord_dim N/A N/A N/A self make_multi N/A geom geom_type model_field N/A N/A multi_type N/A N/A self MULTI_TYPES N/A N/A N/A geom geom_type num N/A g N/A OGRGeometry multi_type N/A N/A N/A g add geom N/A N/A g geom N/A N/A self transform N/A N/A N/A N/A g transform N/A self transform N/A N/A g wkt N/A coord_transform N/A N/A self N/A N/A N/A Returns the coordinate transformation object. N/A SpatialRefSys N/A N/A N/A self spatial_backend spatial_ref_sys N/A N/A N/A target_srs N/A N/A N/A N/A N/A N/A SpatialRefSys objects using N/A self using get srid N/A N/A self geo_field srid srs N/A N/A CoordTransform N/A self source_srs target_srs N/A N/A N/A Exception N/A msg N/A N/A new_msg N/A Could not translate between the data source and model geometry: %s msg N/A N/A N/A six reraise LayerMapError N/A LayerMapError new_msg N/A N/A N/A sys exc_info N/A 2 N/A geometry_field N/A N/A self N/A N/A N/A Returns the GeometryField instance associated with the geographic column. N/A opts N/A N/A self model _meta N/A N/A N/A opts get_field N/A self geom_field N/A make_multi N/A N/A self geom_type model_field N/A N/A N/A 
        Given the OGRGeomType for a geometry and its associated GeometryField,
        determine whether the geometry should be turned into a GeometryCollection.
         N/A N/A N/A N/A geom_type num N/A self MULTI_TYPES N/A N/A N/A model_field __class__ __name__ N/A Multi%s N/A geom_type django N/A save N/A N/A self verbose fid_range step progress silent stream strict N/A False False False False False N/A sys stdout False N/A N/A 
        Saves the contents from the OGR DataSource Layer into the database
        according to the mapping dictionary given at initialization.

        Keyword Parameters:
         verbose:
           If set, information will be printed subsequent to each model save
           executed on the database.

         fid_range:
           May be set with a slice or tuple of (begin, end) feature ID's to map
           from the data source.  In other words, this keyword enables the user
           to selectively import a subset range of features in the geographic
           data source.

         step:
           If set with an integer, transactions will occur at every step
           interval. For example, if step=1000, a commit would occur after
           the 1,000th feature, the 2,000th feature etc.

         progress:
           When this keyword is set, status information will be printed giving
           the number of features processed and successfully saved.  By default,
           progress information will pe printed every 1000 features processed,
           however, this default may be overridden by setting this keyword with an
           integer for the desired interval.

         stream:
           Status information will be written to this file handle.  Defaults to
           using `sys.stdout`, but any object with a `write` method is supported.

         silent:
           By default, non-fatal error notifications are printed to stdout, but
           this keyword may be set to disable these notifications.

         strict:
           Execution of the model mapping will cease upon the first error
           encountered.  The default behavior is to attempt to continue.
         N/A default_range N/A N/A self check_fid_range fid_range N/A progress N/A N/A N/A N/A progress True N/A N/A isinstance progress int N/A N/A progress_interval 1000 N/A N/A progress_interval progress _save N/A N/A feat_range num_feat num_saved N/A default_range 0 0 N/A N/A feat_range N/A N/A layer_iter N/A N/A self layer N/A feat_range N/A N/A layer_iter N/A self layer N/A feat layer_iter N/A N/A num_feat 1 N/A N/A N/A kwargs N/A N/A self feature_kwargs feat N/A N/A N/A LayerMapError N/A msg N/A N/A strict N/A N/A N/A N/A N/A silent N/A N/A N/A N/A stream write N/A Ignoring Feature ID %s because: %s
 N/A N/A feat fid msg N/A N/A is_update False N/A N/A self unique N/A N/A N/A N/A u_kwargs N/A N/A self unique_kwargs kwargs N/A m N/A N/A N/A N/A N/A N/A self model objects using N/A self using get u_kwargs N/A is_update True N/A geom N/A N/A getattr m N/A self geom_field ogr N/A new N/A OGRGeometry N/A kwargs N/A N/A self geom_field N/A g new N/A N/A N/A N/A geom add g N/A N/A setattr m N/A self geom_field N/A geom wkt N/A N/A N/A ObjectDoesNotExist N/A N/A m N/A N/A self model kwargs N/A N/A m N/A N/A self model kwargs N/A N/A N/A N/A N/A m save using N/A self using N/A num_saved 1 N/A verbose N/A N/A N/A N/A stream write N/A %s: %s
 N/A N/A is_update Updated Saved m N/A N/A N/A Exception N/A msg N/A N/A strict N/A N/A N/A silent N/A N/A N/A N/A stream write N/A Failed to save the feature (id: %s) into the model with the keyword arguments:
 N/A feat fid N/A N/A N/A stream write N/A %s
 kwargs N/A N/A N/A N/A silent N/A N/A N/A N/A stream write N/A Failed to save %s:
 %s
Continuing
 N/A kwargs msg N/A N/A progress N/A N/A num_feat progress_interval 0 N/A N/A N/A N/A stream write N/A Processed %d features, saved %d ...
 N/A num_feat num_saved N/A N/A num_saved num_feat N/A N/A N/A N/A self transaction_decorator None N/A N/A _save N/A N/A self transaction_decorator _save N/A nfeat N/A N/A self layer num_feat N/A N/A step N/A isinstance step int N/A step nfeat N/A N/A default_range N/A N/A N/A LayerMapError The `step` keyword may not be used in conjunction with the `fid_range` keyword. N/A N/A beg num_feat num_saved N/A 0 0 0 N/A indices N/A range step nfeat step N/A n_i N/A len indices N/A N/A i end N/A enumerate indices N/A N/A N/A N/A i 1 n_i N/A N/A step_slice N/A slice beg None N/A N/A step_slice N/A slice beg end N/A N/A N/A N/A num_feat num_saved N/A _save step_slice num_feat num_saved N/A beg end N/A N/A N/A Exception N/A N/A N/A N/A stream write N/A %s
Failed to save slice: %s
 N/A N/A =- 20 step_slice N/A N/A N/A N/A _save N/A N/A