Answer the question
In order to leave comments, you need to log in
How to find the intersection percentage of geo objects in the Yandex.Maps API?
You need to find the percentage of intersection of this geo object with other geo objects on Yandex.maps. On the screen below, you need to find the percentage of the intersection of object A with objects B and C. It can be seen by eye that this is 10 percent. But I did not find in their manual how to do this. Maybe someone faced a similar problem?
Thanks in advance.
Screen:
Answer the question
In order to leave comments, you need to log in
Is it mandatory in Yandex.Maps?
There is such a thing as Turf.JS , a JavaScript library for spatial analysis. Works with data in GeoJSON format.
There you can find the intersection of two polygons , and then calculate the area of polygon A and the intersection polygon. Finding percentages from them is simple arithmetic.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question