A
A
Alexander Razumov2016-06-05 17:07:59
JavaScript
Alexander Razumov, 2016-06-05 17:07:59

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:
e793709e24ed4aeebf5e232d17993208.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Edward, 2016-06-05
@razumovsu

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 question

Ask a Question

731 491 924 answers to any question