X
X
xxxfdd2020-04-25 14:46:21
Python
xxxfdd, 2020-04-25 14:46:21

How to get a certain piece of the map by coordinates and scale?

I need to get a certain piece from Yandex maps by coordinates, maybe somehow through a get request, please tell me

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
anikavoi, 2020-04-25
@anikavoi

Very much I advise on gis to look at gis-lab. There's a lot.
https://gis-lab.info/forum/viewtopic.php?f=2&t=25231

S
Sergey Pankov, 2020-04-25
@trapwalker

I am sure that Yandex is not happy with attempts to download their tiles for some unlicensed needs, but you can do this by pretending to be a browser and observing quotas so as not to arouse suspicion from the service. Of course, no one will announce real quotas to you, and you will have to use a proxy and determine quotas empirically.
However, there is no particular reason to take data from Yandex cards. OSM is good enough and you have already been given a link where you can read about https://overpass-turbo.eu/ - a tool for filtering OSM geodata downloads. A snapshot of the OSM database can be downloaded in full.
The OSM base is vector data and metadata of geo-objects. There are several open source free solutions for rendering this data to tiles. Setting up this renderer is already a non-trivial task, since you need to know what data and what style to display in order for the map to turn out to be informative and aesthetic. You can always find ready-made style examples for rendering, and docker allows you not to install a huge number of dependencies by hand, but getting a tile render service is relatively easy.
Even if all the necessary tools are freely available and taking into account modern containerization technologies, it is still quite difficult to master all the necessary knowledge about projections, styles, converters, queries from scratch...
There is such a service: https://nakarte.me /
A very convenient interface to quickly assemble a map to scale from a ready-made substrate and several tracks.
I think it can also be used by programmatically generating URLs for requests according to the documentation.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question