Answer the question
In order to leave comments, you need to log in
How to export png from TILE server?
Hello colleagues.
I've been doing something, lately, with questions ...
The task is as follows: somehow overtake the tile server into a large pile of PNGs. To pay with hard, not computing power.
At the moment, a working Postgis-Mapnik TILE server has been raised. As a manual, I used
use.openstreetmap.ru/serving-tiles/manually-buildi...
After a little casting, the server started working...
I sawed this server on a virtual machine with 2GB of RAM and two cores... What can I say.. Map of Azerbaijan (as one of the smaller ones) is displayed slowly and reluctantly. Lack of computing power. And this is with a map of Azerbaijan. If you stuff a map of Russia into it, then ... It's scary to think.
Of course, in production computing power will be incomparably higher, but without fanaticism.
Therefore, there is a desire to convert everything into pictures and slip them in accordance with the location and scale.
Yes. I understand that the places of the picture will be eaten up without measure, but it will come out cheaper than the computing power for rendering on the fly.
The only thing left is to somehow adapt the existing tile server as an image generator. That's just how to do it - has not yet figured out.
Share your thoughts. I will be very grateful.
PS I want to share one wrong in the manual:
"Loading a shape-file"
cd ~/src/openstreetmap-carto/
scripts/get-shapefiles.py
L.tileLayer('http://127.0.0.1/hot/{z}/{x}/{y}.png', {
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question