Tell me, please, I need to create an application that without the Internet will load an (offline) map of some area and it will be possible to indicate the path on it with points (points will be anchored to latitude and longitude coordinates).
Tile server is NOT supposed to be raised, the main emphasis is on autonomy.
Files of the following formats were downloaded from the sites:
- russia-latest.osm.pbf - which is suitable for Osmium, Osmosis, imposm, osm2pgsql, mkgmap and others;
- russia-latest.osm.bz2 - file with the extension (yields OSM XML when decompressed; use for programs that cannot process the .pbf format).
- russia_central.mbtiles - format -> MBTiles (PBF)
To create a web interface for displaying cartographic materials on the site, it is planned to use the OpenLayers library (or Leaflet, if it will be easier to organize what was conceived) together with Webix.
When setting up the environment for the first time and connecting the specified files, all attempts ended in failure.
Also, the russia_central.mbtiles
file using the mbutil
utility tried to unzip both in pictures and in PBF
, but I don’t know how to force this entire folder with .pbf
files to be processed by OpenLayers, I tried many examples from https://openlayers.org/en/latest/examples/ to no avail :(
Tell me how to attach an autonomous kata to the site or how you can do it from the specified files ?!
Use QGIS 3.x, select the "Generate XYZ tile" (MBTiles) option and generate tiles for your region.