V
V
Vladislav2015-12-01 15:11:48
Yandex maps
Vladislav, 2015-12-01 15:11:48

Working with geo objects, Yandex api?

There is a base with geo objects, they are entered there by drawing polygons on the map.
The base looks like this.
id | coordinates |
1 | asda |
2 | "asdas" |
3 | "asdas" |
The coordinates are stored as Base64 strings, obtained using the geometry.Polygon.toEncodedCoordinates() method
Question: how can I check if a point is included in any of the given objects, and if so, which one?
PS It would be possible to make certainly so:
We receive all objects with their coordinates, we check in what polygon the point enters through IPolygonGeometryAccess, contains(Point). But, it would help if you need to do it not on the client, you need to check it on the server (Java spring) and give the required polygon.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question