-
Notifications
You must be signed in to change notification settings - Fork 69
/
conf.py
45 lines (37 loc) · 1.24 KB
/
conf.py
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/usr/bin/python
# -*- coding: UTF-8 -*-
__author__ = 'carolinux'
# UI settings
DEFAULT_FRAME_UNIT = "minutes"
DEFAULT_FRAME_SIZE = 1
DEFAULT_SHOW_LABEL = True
DEFAULT_EXPORT_EMPTY = True
MIN_TIMESLIDER_DEFAULT = 0
MAX_TIMESLIDER_DEFAULT = 1
DEFAULT_FRAME_LENGTH = 500
FRAME_FILENAME_PREFIX = "frame"
FRAME_EXTENSION = "png"
DEFAULT_GRANULARITY_IN_SECONDS = 1
LAST_ANIMATION_PATH_TAG = "last_animation_path"
# interpolation settings
NO_INTERPOLATION = "No interpolation (faster)"
LINEAR_POINT_INTERPOLATION = "Linear interpolation (point geometries only)"
LINEAR_POINT_LOW_MEM = "Linear interpolation for big datasets (must be sorted by time)"
INTERPOLATION_MODES = {LINEAR_POINT_INTERPOLATION: True,
LINEAR_POINT_LOW_MEM: True,
NO_INTERPOLATION: False, }
INTERPOLATION_MODE_TO_CLASS = {
LINEAR_POINT_INTERPOLATION: "LinearPointInterpolatorWithMemory",
LINEAR_POINT_LOW_MEM: "LinearPointInterpolatorWithQuery",
}
DEFAULT_ID = 0
NO_ID_TEXT = "None - every geometry is a position of the same moving object in time"
# load/save settings
SAVE_DELIMITER = ';'
# logging settings
LOG_TAG = "TimeManager"
# ARCH settings
DEFAULT_DIGITS = 4
# version thresholds
MIN_DTEXT_FIXED = 20900
MIN_RASTER_MULTIBAND = 21000