2015-01-13 04:20:40 +08:00
|
|
|
from django.contrib.gis.db.backends.base.features import BaseSpatialFeatures
|
2015-08-05 22:08:56 +08:00
|
|
|
from django.db.backends.postgresql.features import \
|
2015-01-28 20:35:27 +08:00
|
|
|
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
|