I wrote a program to view, configure, extract, … the OSM database.
The basic principle is the division into vector tiles. They are in pbf format with a protocol slightly different from the standard ‘.osm.pbf’ (adding coordinates, clip points and tags among others).
Tags areas: 531
Tags Lines: 153
Knot Tags: 548
I added after Global Forest Hansen treatment
to have the drills at all zooms.
The relief is SRTM 3s with the additions of:
This program works in spherical and Mercator. The file format is called ‘.osmtile.pbf’
I made reduced vector bases for the Zoom 5,7,9,11,14 and then from the zoom 15 it is the original OSM base.
You can modify everything on the graphics: Button with the yellow key and DblClick on an element including changing the icons from SVG.
The fonts are independent of Windows and can be modified…. I remade the fonts mostly from https://www.google.com/get/noto/ to handle all languages and using ICU.
You can extract (floppy button) in the original pbf format (.osm.pbf) with selections of boundaries or rectangle or poly.
Then we can import the standard pbf back into the atlas in ‘.osmtile.pbf’ format.
And lots of other things …
Be careful, start the extractions with areas that are not too large (admin 8 or Admin 6) to test:
For example Bouches du Rhone (FR) ID 7393 if the tiles are already loaded:
Zoom 20: 35s to extract to osm.pbf and 68s to convert to osmtile.pbf with CoreI7 + SSD
Zoom 14: 7s to extract to osm.pbf and 11s to convert to osmtile.pbf with CoreI7 + SSD
Here are three videos that show some possibilities and fluidity.
The basic module (it is 880 MB) allows you to go up to zoom 9, then the tiles are loaded on my server.
Just load the zip:
And unzip on a disk (the directory is provided) then run \OSMtilepbf\PRG\Atlas_OSM.exe (allow some space for the caches)
No doubt a few more bugs, … the current OSM version is that of 07/12/21.
I mainly tested with Windows 10. The program is 32 bits, the extraction programs are 64 bits. At least 4 GB of memory is required.
It takes about 3 days of calculations to process a new base (the reductions are the longest).
I expect to update about once a month or every two months.