10.1.8. Vector layer data types

Vector layer field types:

class nextgisweb.feature_layer.interface.FIELD_TYPE[исходный код]
INTEGER = 'INTEGER'
BIGINT = 'BIGINT'
REAL = 'REAL'
STRING = 'STRING'
DATE = 'DATE'
TIME = 'TIME'
DATETIME = 'DATETIME'
enum = ('INTEGER', 'BIGINT', 'REAL', 'STRING', 'DATE', 'TIME', 'DATETIME')

Geometry types:

class nextgisweb.feature_layer.interface.GEOM_TYPE[исходный код]
POINT = 'POINT'
LINESTRING = 'LINESTRING'
POLYGON = 'POLYGON'
MULTIPOINT = 'MULTIPOINT'
MULTILINESTRING = 'MULTILINESTRING'
MULTIPOLYGON = 'MULTIPOLYGON'
enum = ('POINT', 'LINESTRING', 'POLYGON', 'MULTIPOINT', 'MULTILINESTRING', 'MULTIPOLYGON')