Skip to content

Commit

Permalink
Bug fix - MeasureTool without dem config variable set
Browse files Browse the repository at this point in the history
  • Loading branch information
tariqksoliman committed Apr 25, 2024
1 parent a53daa6 commit 323fa27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ See the [configuration documentation](https://nasa-ammos.github.io/MMGIS/configu

1. GDAL and Python are weaker dependencies (desirable but, without them, not everything will work)

- GDAL [2.+](https://gdal.org/download.html) with Python bindings (Windows users may find [these](https://www.lfd.uci.edu/~gohlke/pythonlibs/#gdal) helpful)
- GDAL [2.+](https://gdal.org/download.html) with Python bindings (Windows users may find [these](https://github.com/cgohlke/geospatial-wheels/releases) helpful)
- Python [3.6+](https://www.python.org/downloads/release/python-396/)
- `python -m pip install numpy`
- Note: MMGIS expects and uses the command `python` only and not `python3` or variations.
Expand Down
2 changes: 1 addition & 1 deletion src/essence/Tools/Measure/MeasureTool.js
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ let MeasureTool = {
steps = 100

//Get tool variables
this.vars = L_.getToolVars('measure', true)
this.vars = JSON.parse(JSON.stringify(L_.getToolVars('measure', true)))
this.vars.layerDems = this.vars.layerDems || {}

const standardLayerDems = {}
Expand Down

0 comments on commit 323fa27

Please sign in to comment.