Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Euclidean Distance #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/DATA/Import/ImportRaster.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Resampling techniques:
+------------+---------------------------------------------------------------+
| | Nearest-neighbor interpolation. Should be applied when |
| NEAREST | transforming discrete data (e.g., classified raster datasets) |
| | such as lithology |
| | such as lithology. |
+------------+---------------------------------------------------------------+
| | Cubic spline interpolation. Should be used when projecting |
| CUBIC | continuous datasets such as DEM. |
Expand Down
18 changes: 11 additions & 7 deletions source/DATA/RasterTools/EuclideanDistance.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Euclidean distance
------------------

.. figure:: img/EuclideanDistance1.png
:scale: 50 %
:scale: 100 %
:alt: Euclidean Distance Widget

Euclidean Distance Widget
Expand All @@ -19,17 +19,21 @@ Usage
| from your PC (1).
#. If necessary change the mask raster by unchecking (2) and selecting a new one (3).
#. (Optional) Choose to ignore (4) parts of the input feature that are not inside the mask.
#. (Optional) Set the maximum distance to calculate the distance (5).
#. (Optional) Set the value to write into cells within the distance (6).
#. (Optional) Set the minimum distance to calculate the distance (5).
#. (Optional) Set the maximum distance to calculate the distance (6).
#. (Optional) Set the value to write into cells within the maximum distance (7).
#. | Select the output distance raster location. You can either type in the absolute file path
| yourself or pick one with a dialog (7).
#. Start the calculation (8)
| yourself or pick one with a dialog (8).
#. Start the calculation (9)

If the input feature dataset lies at least partially outside the mask and these parts are not
ignored LSAT extents the output raster while keeping the mask raster cell size.
ignored. LSAT extents the output raster while keeping the mask raster cell size.

If you want to use the output raster in your LSAT Project you need to import it using the
:doc:`Import Raster Widget</DATA/Import/ImportRaster>`.
:doc:`Import Raster Widget</DATA/Import/ImportRaster>`. While the output raster contains
continuous values we suggest importing it with nearest-neighbor interpolation, thus just clipping
the extended areas. This will prevent values below the minimum, which can occur with other
interpolation methods.

Input and Output
^^^^^^^^^^^^^^^^
Expand Down
Binary file modified source/DATA/RasterTools/img/EuclideanDistance1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.