Skip to content

Commit

Permalink
DEP: update dependencies including new mapa version 0.11.0 (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
fgebhart authored Apr 12, 2023
1 parent 1dbbf8d commit 9fe468b
Show file tree
Hide file tree
Showing 5 changed files with 411 additions and 427 deletions.
3 changes: 1 addition & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
MAP_CENTER,
MAP_ZOOM,
MAX_ALLOWED_AREA_SIZE,
SQUARED_SIDE_RATIO,
ModelSizeSlider,
SquaredCheckbox,
TilingSelect,
Expand Down Expand Up @@ -69,7 +68,7 @@ def _compute_stl(geometry: dict, progress_bar: st.progress) -> None:
model_size=ModelSizeSlider.value if model_size is None else model_size,
z_scale=ZScaleSlider.value if z_scale is None else z_scale,
z_offset=ZOffsetSlider.value if z_offset is None else z_offset,
cut_to_format_ratio=SQUARED_SIDE_RATIO if ensure_squared else None,
ensure_squared=ensure_squared,
output_file=path,
progress_bar=progress_bar,
split_area_in_tiles=DEFAULT_TILING_FORMAT if tiling_option is None else tiling_option,
Expand Down
1 change: 0 additions & 1 deletion mapa_streamlit/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@

DEFAULT_Z_OFFSET = 2
DEFAULT_Z_SCALE = 2.0
SQUARED_SIDE_RATIO = 1.0
DEFAULT_MODEL_SIZE = 100
DEFAULT_TILING_FORMAT = "1x1"

Expand Down
Loading

0 comments on commit 9fe468b

Please sign in to comment.