Skip to main content
Question

Euclidean distance


Hi,

I would like to know if there is any processing in FME as "Euclidean Distance" tool in ArcGIS.

 

Thank you.

 

Clara.

5 replies

david_r
Evangelist
  • December 1, 2020

If you simply need the euclidean distance between two points, the easiest is maybe to create a line between those two points (2 x VertexCreator) and then something like the GeographicLengthCalculator from the FME Hub.


  • September 10, 2021

Hi david. yes... i am also in dire need of euclidean distance (raster) in FME... GLC is not adequate since I'm am generating a land suitability index based on continuous data...


david_r
Evangelist
  • September 10, 2021
jamalaimi wrote:

Hi david. yes... i am also in dire need of euclidean distance (raster) in FME... GLC is not adequate since I'm am generating a land suitability index based on continuous data...

I'm not sure I understand the question. For maximum visibility, the best is probably to repost as a separate question. Make sure to include as much detail as possible, including sample data and/or screenshots, if possible.


amdubois
  • February 9, 2022

Hello,

I am also hoping to find an equivalent to Euclidean Distance raster from ArcMap in FME. The idea is to input a shapefile (ex. points representing bus stops) and generated a raster with a specific resolution, where each pixel holds a value representing the distance to the nearest point from this pixel.

 

imageCheers,


sandervanegmond
Contributor
Forum|alt.badge.img+8

Hello,

I was looking for the same functionality and managed to do it with the following transformers:

  1. Create points on the Area of Interest using a 2DGridAccumulator. These points will be the base of your raster.
  2. Use a NeighbourFinder with your input data as candidate and your grid points as base.
  3. Use a 3DForcer setting the _distance attribute as z-value
  4. Use a NumericRasterizer to create the final raster

I hope this helps


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings