gis.db.models.BaseSpatialField.spatial_index

BaseSpatialField.spatial_index

Defaults to True. Creates a spatial index for the given geometry field.

Note

This is different from the db_index field option because spatial indexes are created in a different manner than regular database indexes. Specifically, spatial indexes are typically created using a variant of the R-Tree, while regular database indexes typically use B-Trees.

doc_Django
2016-10-09 18:37:20
Comments
Leave a Comment

Please login to continue.