Distance To Edge - dataflow_designer - Latest

Spectrum Spatial Guide

Product type
Software
Portfolio
Locate
Product family
Spectrum™ software
Product
Spectrum™ software > Spatial > Spectrum Spatial
Version
Latest
ft:locale
en-US
Product name
Spectrum Technology Platform
ft:title
Spectrum Spatial Guide
Copyright
2025
First publish date
2007
ft:lastEdition
2025-03-07
ft:lastPublication
2025-03-07T10:28:48.112000
Calculates the geographic distance between two geometries, including geometries within geometries, as follows:
  • Points—Returns the distance between the two points.
  • Lines—Returns the shortest distance between the two lines.
  • Polygons—Returns the shortest distance between the two polygons. For example, if the polygons are two lakes, the distance would be between the two closest shores.
  • Geometry within Geometry—Returns the shortest distance between the two geometries with a positive distance value.
Table 1. Distance Options
Option Name Description
Distance units Specifies the unit of measurement to use to calculate the distance. One of the following:
  • Centimeters
  • Feet
  • Inches
  • Kilometers (default)
  • Meters
  • Miles
  • Yards
Geometry 1 field The field that contains the geometry to compare with Geometry 2 to determine the distance between them.

This field also accepts geometries that are generated by stages in Spectrum Spatial Routing, such as a LineString or Polygon.

Geometry 2 field The field that contains the geometry used to calculate the distance to edge to Geometry 2

This field also accepts geometries that are generated by stages in Spectrum Spatial Routing, such as a LineString or Polygon.

Distance to edge field The name of the field that you want to contain the distance to edge returned by Spatial Calculator (output type is double).