File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 11
11
NUM_CORES = 0 # 0 means: use all cores
12
12
if SERVER_TYPE == "paste" : NUM_CORES = 1 # 1 means don't use multi-core at all
13
13
14
- # when to use tempfiles instead of memory to store processed tiles
15
- MAX_CELLS = 500 * 500 # if DEM has > this number of cells, use tempfile instead of memory
14
+ # for STL/OBJ don't even start with a DEM bigger than that number. GeoTiff export is this * 50!
15
+ MAX_CELLS_PERMITED = 1000 * 1000 * 0.4
16
+
17
+ # if DEM has > this number of cells, use tempfile instead of memory
18
+ MAX_CELLS = MAX_CELLS_PERMITED / 4
16
19
17
- MAX_CELLS_PERMITED = 1000 * 1000 * 2 # for STL/OBJ don't even start with a DEM bigger than that number. GeoTiff export is this * 50!
18
20
19
21
TMP_FOLDER = "tmp" # local to this folder! for temp files and final zip
20
22
#--------------------------------------------------------------------------------
21
23
22
24
# Overrides
23
25
#MAX_CELLS = 0 # CH: test to force using tempfiles
26
+ ~
27
+ ~
You can’t perform that action at this time.
0 commit comments