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

Calculate the distance (and coordinates) to a point #85

Open
1 task done
hhkaos opened this issue Oct 17, 2023 · 0 comments
Open
1 task done

Calculate the distance (and coordinates) to a point #85

hhkaos opened this issue Oct 17, 2023 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@hhkaos
Copy link
Member

hhkaos commented Oct 17, 2023

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

@hhkaos hhkaos added enhancement New feature or request help wanted Extra attention is needed labels Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant