M
M
Mikhail Osher2015-07-15 19:19:02
API
Mikhail Osher, 2015-07-15 19:19:02

Where can I get spn parameters to search for objects in yandex geocoder?

https://tech.yandex.ru/maps/doc/geocoder/desc/conc...


Recording format
Parameter ll specifies the longitude and latitude of the area center (in degrees), and spn - its length (in degrees).

Below, in the examples, there is an entry .
Q:
Where can I get these SPNs? For example, I need to give for Krasnodar, Sochi and Simferopol.
Interested in reverse geocoding, that is, I pass spn=xxx,yyy&kind=street.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
azzzimo, 2015-07-23
@miraage

Obviously ll is the center of the search area, and spn is its radius (or diameter). In order to convert kilometers to degrees, there are special tables. I still use the old soviet table of correspondences. https://yadi.sk/i/UXjD9iP8i3X4T
In the first column - the latitude of your city, the next 2 - the number of kilometers in 1 degree of arc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question