2015-01-13 04:20:40 +08:00
|
|
|
from django.contrib.gis.db.backends.base.features import BaseSpatialFeatures
|
2017-06-02 01:23:48 +08:00
|
|
|
from django.db.backends.postgresql.features import (
|
|
|
|
DatabaseFeatures as Psycopg2DatabaseFeatures,
|
|
|
|
)
|
2015-01-13 04:20:40 +08:00
|
|
|
|
|
|
|
|
|
|
|
class DatabaseFeatures(BaseSpatialFeatures, Psycopg2DatabaseFeatures):
|
2014-11-04 05:03:59 +08:00
|
|
|
supports_3d_storage = True
|
2015-01-13 04:20:40 +08:00
|
|
|
supports_3d_functions = True
|
|
|
|
supports_left_right_lookups = True
|
2015-06-19 23:46:03 +08:00
|
|
|
supports_raster = True
|
2016-06-17 23:03:50 +08:00
|
|
|
supports_empty_geometries = True
|