Can you please tell me which map service can be used for free in a closed network? For example, is it possible to deflate OpenStreetMap and use it locally on your server without access to the Internet?

2 Answers 2

Only this one is possible.Just do not deflate, but download in a civilized way.
  • That is, correctly, I understand that the"Latest Weekly Planet PBF File", which weighs 42 gigabytes, is this the whole map?
    The fact is that I previously worked only with the Yandyks API... And I don’t understand how it is use openstreetmap. It turns out I will deflate the map, but as far as I understand, this is just a base, and for downloading, for example, another tool is used in the web application?
    – Thoughtful Toucan Nov 19 '18 at 13:01
  • Thoughtful Toucan, yes it is a base. To see it in the browser you have to go through a thorny path. From loading data into the database to rendering them in tiles. Full of different guides, but they are of different degrees of freshness. So ask another week for implementation. – Enthusiastic60 Nov 19 '18 at 13:10
  • Enthusiastic60,
    So zapisitsya week another on the implementation
    Well, I already knew about it :)))
    As far as I understand you can interact with OSM using the JS library Leaflet? Are there even better/simpler options?
    – Thoughtful Toucan Nov 19 '18 at 13:20
  • Thoughtful Toucan, JS libraries - this is not important for interaction in tiles (raster or vector), whether with osm.org or googleandex. And you do not have them yet, you need to present them from the data. The output to the browser is the last step and the easiest.
    Start google osm2pgsql, and then mapnik.
    – Enthusiastic60 Nov 19 '18 at 13:27
Can.Only its accuracy is not always acceptable.I had to edit a lot of data to make it fit.
  • I had to edit a lot of data so that they were suitable.

    So you mean, you download the OSM database and make the necessary corrections in it and then use it?
    You can. Only its accuracy is not always acceptable.

    Well, there seems to be no free alternative? :(
    – Thoughtful Toucan Nov 19 '18 at 13:22
  • Yes, in the database they pumped out only a few types of objects - water, forests, streets (roads), houses - just what is needed. From the database is a selection of tiles in the format GeoJSON. Clients rendering in OpenLayers - after setting the styles it looks at the level of Mapnik, truthfully in Edge and IE (but they never shone with the accuracy of standards)
    It turned out like this:
    – God26 Nov 19 '18 at 13:55