Hey, I have a working local tile server with all planet data imported to its postgres DB. I also kept the planet file that I've used to import with. Now, I need another local-tile server which must have data only for zoom level 1-4 (inclusive). How can I extract this data from my previous server in order to load it to the new one?? have tried osmosis with no luck (both on pg & xml) Thanks, Nir asked 25 Mar '15, 14:17 arvivn |
The total number of tiles for zoom levels 1-4, world-wide, is 341. I suggest that you download those with wget or any tile downloader from your old server, and put them into the web space of the new server; problem solved, no tile server needed. answered 25 Mar '15, 14:27 Frederik Ramm ♦ 1
the "small" tile server contains a few countries with full OSM data so I can't give up for it.... Your idea of pre-fetching is good and now the question is where and shall I put the tiles on the "small" tile-server so that it will use them instead of rendering (ie CAHCE). Thanks! Nir
(31 Mar '15, 09:46)
arvivn
1
Put them anywhere you like - just point whatever library you're using to serve tiles at that location.
(31 Mar '15, 11:33)
SomeoneElse ♦
didn't catch that... I have a map client which accepts an address of tiles-server. where shall I put the cached tiles so the server will use them fluently?
(31 Mar '15, 12:29)
arvivn
In any directory you want as long as this directory is available via your HTTP server. The address of your HTTP server plus this directory will then be your tile server address.
(31 Mar '15, 12:42)
scai ♦
|