Check existing issues
Execution profile
Popup
Is your feature request related to a problem? Please describe.
I would like to be able to calculate the closest distance, and coordinates from the selected point to other features (point, line or polygon) in another layer.
Describe the solution you'd like
I would like to display the distance & coordinates.
Describe alternatives you've considered
Using Arcade geometry functions like buffer, distance, the nearest coordinate and nearest vertex this is achievable.
Other options would require custom code for each application.
Additional context
This community question&answer with a solution for calculating distances between two points.
To build this I would recommend using feature layers from the Living Atlas.
If needed, documentation & a playground about geometric calculations can be found in the developer guide.
Note: I have also noticed there are related expressions within the attribute_rule_calculations
Check existing issues
Execution profile
Popup
Is your feature request related to a problem? Please describe.
I would like to be able to calculate the closest distance, and coordinates from the selected point to other features (point, line or polygon) in another layer.
Describe the solution you'd like
I would like to display the distance & coordinates.
Describe alternatives you've considered
Using Arcade geometry functions like buffer, distance, the nearest coordinate and nearest vertex this is achievable.
Other options would require custom code for each application.
Additional context
This community question&answer with a solution for calculating distances between two points.
To build this I would recommend using feature layers from the Living Atlas.
If needed, documentation & a playground about geometric calculations can be found in the developer guide.