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

shortest distance from a polygon to some point on map #1201

Open
sabres207 opened this issue Oct 3, 2023 · 0 comments
Open

shortest distance from a polygon to some point on map #1201

sabres207 opened this issue Oct 3, 2023 · 0 comments

Comments

@sabres207
Copy link

Is your feature request related to a problem? Please describe 🙏

I need a way to tell the shortest distance of a point to a polygon.
it seems to be much harder than I thought, and I found out that there you can do that using google earth engine, by:
ee.Geometry.Polygon.distance(point)

Describe the solution you'd like 🤔

Option to use earth engine api from within the library,
or any other way to calculate the distance of a polygon from a point on a map.

Describe alternatives you've considered ✨

I considered having function that calculate it myself, but then I realised it won't necessary be correct on a sphere.
I also tried to investigate google maps functions, but failed to find what I need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant