Skip to content
sbiribizio edited this page Nov 27, 2014 · 3 revisions

Welcome to the estratti-locali-openstreetmap wiki!

How it works

download italy-latest.pbf from the Geofabrik repository

As the title says.

upload in sqlite db

A copy of italy-latest.pbf is stored in a temporary ramdisk, in order to speed up reading the file. With osmosis the .pbf is read and bulk uploaded in a fresh sqlite-spatialite db. At the end of the process the ramdisk is destroyed.

BBOX generation

A script sends queries to overpass-api in order to get all the relations type=boundary inside the master relation "Italy". For every relation the BBOX is extracted and stored in a csv for later use.

Clone this wiki locally