Enums
Enumerations for the geobox API.
- class InputGeomType(*values)[source]
Bases:
Enum- POINT = 'POINT'
- LINESTRING = 'LINESTRING'
- POLYGON = 'POLYGON'
- MULTIPOINT = 'MULTIPOINT'
- MULTILINESTRING = 'MULTILINESTRING'
- MULTIPOLYGON = 'MULTIPOLYGON'
- POINT_Z = 'POINTZ'
- LINESTRING_Z = 'LINESTRINGZ'
- POLYGON_Z = 'POLYGONZ'
- MULTIPOINT_Z = 'MULTIPOINTZ'
- MULTILINESTRING_Z = 'MULTILINESTRINGZ'
- MULTIPOLYGON_Z = 'MULTIPOLYGONZ'
- class PublishFileType(*values)[source]
Bases:
Enum- VECTOR = 'vector'
- RASTER = 'raster'
- MODEL3D = 'model3d'
- Tiles3D = 'tiles3d'
- TABLE = 'table'
- class FileType(*values)[source]
Bases:
Enum- Compressed = 'Compressed'
- Complex = 'Complex'
- Image = 'Image'
- Video = 'Video'
- Document = 'Document'
- GPKG = 'GPKG'
- DXF = 'DXF'
- GPX = 'GPX'
- CSV = 'CSV'
- Shapefile = 'Shapefile'
- KML = 'KML'
- GLB = 'GLB'
- FileGDB = 'FileGDB'
- GeoTIFF = 'GeoTIFF'
- GeoJSON = 'GeoJSON'
- ThreedTiles = 'ThreedTiles'
- class FileFormat(*values)[source]
Bases:
Enum- Shapefile = '.shp'
- FileGDB = '.gdb'
- CSV = '.csv'
- KML = '.kml'
- DXF = '.dxf'
- GPX = '.gpx'
- GPKG = '.gpkg'
- GeoJSON = '.geojson'
- JPG = '.jpg'
- JPEG = '.jpeg'
- SVG = '.svg'
- PNG = '.png'
- BMP = '.bmp'
- TIF = '.tif'
- GIF = '.gif'
- MP4 = '.mp4'
- AVI = '.avi'
- OGG = '.ogg'
- WEBM = '.webm'
- MPEG = '.mpeg'
- WMV = '.wmv'
- TXT = '.txt'
- DOC = '.doc'
- DOCX = '.docx'
- XLS = '.xls'
- XLSX = '.xlsx'
- PPT = '.ppt'
- PPTX = '.pptx'
- PDF = '.pdf'
- ZIP = '.zip'
- SEVEN_Z = '.7z'
- RAR = '.rar'
- ISO = '.iso'
- GZ = '.gz'
- BZ2 = '.bz2'
- TAR = '.tar'
- CAB = '.cab'
- IMG = '.img'
- class FieldType(*values)[source]
Bases:
EnumA class representing the data type of a field.
- Integer = 'Integer'
An integer field.
- Float = 'Float'
A float field.
- String = 'String'
A string field.
- Long = 'Long'
A Long field.
- DATE = 'Date'
A Date field.
- TIME = 'Time'
A Time Field.
- DATETIME = 'DateTime'
A DateTime Field.
- class LayerType(*values)[source]
Bases:
EnumEnumeration of supported vector layer geometry types.
This enum defines the different types of geometric shapes that can be stored in a vector layer. Each type represents a specific geometric structure supported by the Geobox API.
- Point = 'Point'
A single point in 2D space
- MultiPoint = 'MultiPoint'
A collection of points
- Polygon = 'Polygon'
A closed shape defined by a sequence of points
- Polyline = 'Polyline'
A polyline geometry
- class FeatureType(*values)[source]
Bases:
EnumEnumeration of supported feature geometry types.
This enum defines the different types of geometric shapes that can be stored in a feature. Each type represents a specific geometric structure supported by the Geobox API.
- Point = 'Point'
A single point in 2D space
- MultiPoint = 'MultiPoint'
A collection of points
- LineString = 'LineString'
A sequence of points forming a line
- MultiLineString = 'MultiLineString'
A collection of lines
- Polygon = 'Polygon'
A closed shape defined by a sequence of points
- MultiPolygon = 'MultiPolygon'
A collection of polygons
- class TaskStatus(*values)[source]
Bases:
EnumEnumeration of possible task statuses.
- PENDING = 'PENDING'
The task is pending.
- PROGRESS = 'PROGRESS'
The task is in progress.
- SUCCESS = 'SUCCESS'
The task is successful.
- FAILURE = 'FAILURE'
The task is failed.
- ABORTED = 'ABORTED'
The task is aborted.
- class QueryGeometryType(*values)[source]
Bases:
EnumEnumeration of possible query geometry types.
- POINT = 'Point'
A point geometry.
- MULTIPOINT = 'Multipoint'
A multipoint geometry.
- POLYLINE = 'Polyline'
A polyline geometry.
- POLYGON = 'Polygon'
A polygon geometry.
- class QueryParamType(*values)[source]
Bases:
EnumEnumeration of possible query parameter types.
- LAYER = 'Layer'
A layer parameter.
- TABLE = 'Table'
A table parameter.
- ATTRIBUTE = 'Attribute'
A Attribute parameter.
- FLOAT = 'Float'
A Float parameter.
- INTEGER = 'Integer'
A Integer parameter.
- TEXT = 'Text'
A Text parameter.
- BOOLEAN = 'Boolean'
A Boolean parameter.
- class UserRole(*values)[source]
Bases:
Enum- SYSTEM_ADMIN = 'System Admin'
- ACCOUNT_ADMIN = 'Account Admin'
- PUBLISHER = 'Publisher'
- EDITOR = 'Editor'
- VIEWER = 'Viewer'
- class UserStatus(*values)[source]
Bases:
Enum- NEW = 'New'
- PENDING = 'Pending'
- ACTIVE = 'Active'
- DISABLED = 'Disabled'
- class MaxLogPolicy(*values)[source]
Bases:
Enum- OverwriteFirstLog = 'OverwriteFirstLog'
- IgnoreLogging = 'IgnoreLogging'
- class InvalidDataPolicy(*values)[source]
Bases:
Enum- ReportToAdmin = 'ReportToAdmin'
- LogOnly = 'LogOnly'
- class LoginFailurePolicy(*values)[source]
Bases:
Enum- BlockIPTemporarily = 'BlockIPTemporarily'
- DisableAccount = 'DisableAccount'
- class MaxConcurrentSessionPolicy(*values)[source]
Bases:
Enum- CloseLastSession = 'CloseLastSession'
- CloseMostInactiveSession = 'CloseMostInactiveSession'
- PreventNewSession = 'PreventNewSession'
- class RoutingGeometryType(*values)[source]
Bases:
Enum- geojson = 'geojson'
- polyline = 'polyline'
- polyline6 = 'polyline6'
- class QueryResultType(*values)[source]
Bases:
Enum- metadata = 'metadata'
- data = 'data'
- both = 'both'
- class FileOutputFormat(*values)[source]
Bases:
Enum- Shapefile = 'Shapefile'
- GPKG = 'GPKG'
- GeoJSON = 'GeoJSON'
- CSV = 'CSV'
- KML = 'KML'
- DXF = 'DXF'
- class AnalysisDataType(*values)[source]
Bases:
Enum- uint8 = 'uint8'
- uint16 = 'uint16'
- int16 = 'int16'
- uint32 = 'uint32'
- int32 = 'int32'
- float32 = 'float32'
- float64 = 'float64'
- class AnalysisResampleMethod(*values)[source]
Bases:
Enum- near = 'near'
- bilinear = 'bilinear'
- cubic = 'cubic'
- cubicspline = 'cubicspline'
- lanczos = 'lanczos'
- average = 'average'
- mode = 'mode'
- max = 'max'
- min = 'min'
- med = 'med'
- q1 = 'q1'
- q3 = 'q3'
- rms = 'rms'
- sum = 'sum'
- class AnalysisAlgorithm(*values)[source]
Bases:
Enum- Horn = 'Horn'
- ZevenbergenThorne = 'ZevenbergenThorne'
- class RangeBound(*values)[source]
Bases:
Enum- left = 'left'
- right = 'right'
- both = 'both'
- neither = 'neither'
- class GroupByAggFunction(*values)[source]
Bases:
Enum- COUNT = 'count'
- SUM = 'sum'
- MIN = 'min'
- MAX = 'max'
- AVG = 'avg'
- class SpatialAggFunction(*values)[source]
Bases:
Enum- COLLECT = 'collect'
- UNION = 'union'
- EXTENT = 'extent'
- MAKELINE = 'makeline'
- class SpatialPredicate(*values)[source]
Bases:
Enum- INTERSECT = 'Intersect'
- CONTAIN = 'Contain'
- CROSS = 'Cross'
- EQUAL = 'Equal'
- OVERLAP = 'Overlap'
- TOUCH = 'Touch'
- WITHIN = 'Within'