File size: 829 Bytes
59ebac7 e945b1f 59ebac7 28ea6eb 7d6e00c e945b1f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
"""Project constants"""
CHANNEL_EXAGGERATIONS_LIST = [2.5, 1.1, 2.0]
INPUT_CRS_STRING = "EPSG:4326"
OUTPUT_CRS_STRING = "EPSG:3857"
ROOT = "/tmp"
NODATA_VALUES = -32768
SKIP_CONDITIONS_LIST = [{"skip_key": "confidence", "skip_value": 0.5, "skip_condition": "major"}]
FEATURE_SQUARE_TEMPLATE = [
{'type': 'Feature', 'properties': {'id': 1},
'geometry': {
'type': 'MultiPolygon',
'coordinates': [[]]
}}
]
GEOJSON_SQUARE_TEMPLATE = {
'type': 'FeatureCollection', 'name': 'etna_wgs84p',
'crs': {'type': 'name', 'properties': {'name': 'urn:ogc:def:crs:OGC:1.3:CRS84'}},
'features': FEATURE_SQUARE_TEMPLATE
}
CUSTOM_RESPONSE_MESSAGES = {
200: "ok",
422: "Missing required parameter",
500: "Internal server error"
}
MODEL_NAME = "FastSAM-s.pt"
ZOOM = 13
SOURCE_TYPE = "Satellite"
|