Posts

Showing posts from March, 2025

OSM open street map

https://switch2osm.org/serving-tiles/manually-building-a-tile-server-ubuntu-22-04-lts/ did this.  works.   using apache, but there was no specific apache config, but this worked and tile were appearing: sudo nano /etc/apache2/sites-available/000-default.conf Then inside the <VirtualHost *:80> block, add this at the end (but before </VirtualHost>): apache Copy Edit <IfModule mod_tile.c>     LoadTileConfigFile /etc/renderd.conf     ModTileRenderdSocketName /var/run/renderd/renderd.sock     ModTileRequestTimeout 0     ModTileMissingRequestTimeout 300 </IfModule> To add a new country need to drop previous. sudo systemctl stop renderd sudo systemctl stop apache2 And disconnect DB beaver. Then download new pbf cd /mnt/raid1/downloads wget https://download.geofabrik.de/europe/andorra-latest.osm.pbf Merge them: osmosis --rb andorra-latest.osm.pbf --rb azerbaijan-latest.osm.pbf --rb great-britain-latest.osm.pbf  ...