OpenStreetMap data
Last updated: October 21, 2026. Diurnal.ai is published by PUREQUAD SRL (company details).
The sights in Diurnal.ai (sightseeing runs and the sights on your way) come from OpenStreetMap. Map data © OpenStreetMap contributors, available under the Open Database Licence (ODbL) 1.0.
1. Licence and attribution
OpenStreetMap is built by a community of volunteers and is open data: anyone may use it, for any purpose, as long as they credit OpenStreetMap and its contributors and keep the data open under the same licence. Diurnal.ai uses it commercially under these terms. The app shows "© OpenStreetMap contributors (ODbL)" next to every list or map of sights, on the screens that show the next sight while you run, and on a shared workout picture when you choose to show the sights on it. The notice in the app opens openstreetmap.org/copyright.
The maps under your routes are not OpenStreetMap: on iPhone they are Apple Maps, on Android Google Maps when the app version includes it, otherwise a drawing without a map (see the Terms, section 10). We do not use the tiles of openstreetmap.org.
2. What we keep
Our server keeps an extract of OpenStreetMap: for each map square of 0.02 by 0.02 degrees (about 2 by 2 km), the named sights in it, with their name, their names in the 13 languages of the app where OpenStreetMap has them, their position (6 decimal places), a type and a score.
- Europe and North America: our own copy, made from the Geofabrik extracts of OpenStreetMap and replaced every 6 months (in January and July). Lookups there ask no outside service.
- Elsewhere: the squares someone looked at, asked from the Overpass API and kept for 30 days.
The extract holds no information about the people who used it (see the Privacy Policy). Under the ODbL this extract is a derivative database, so we publish how it is made (section 3) and give a copy on request (section 4).
3. How the extract is made
Our server asks the Overpass API for blocks of 4 by 4 squares at a time (S, W, N and E are the edges of the block in degrees) with this query:
[out:json][timeout:25];(
nwr["tourism"~"^(attraction|museum|viewpoint|gallery|zoo|aquarium|theme_park)$"]["name"](S,W,N,E);
nwr["tourism"="artwork"]["name"]["wikidata"](S,W,N,E);
nwr["historic"~"^(monument|castle|fort|city_gate|palace|manor|ruins|archaeological_site)$"]["name"](S,W,N,E);
nwr["historic"~"^(memorial|church|monastery|tower|building)$"]["name"]["wikidata"](S,W,N,E);
nwr["amenity"="place_of_worship"]["name"]["wikidata"](S,W,N,E);
nwr["amenity"~"^(theatre|fountain)$"]["name"]["wikidata"](S,W,N,E);
nwr["leisure"~"^(park|garden)$"]["name"]["wikidata"](S,W,N,E);
nwr["man_made"~"^(tower|lighthouse|bridge)$"]["name"]["wikidata"](S,W,N,E);
nwr["natural"="peak"]["name"]["wikidata"](S,W,N,E);
);out center qt;
For our own copy of Europe and North America the same rules are applied to the Geofabrik extract: osmium tags-filter keeps the keys and values of the query above, osmium export turns the elements into points, lines and areas, and our server keeps only the elements the query would return (the same name and Wikidata conditions). In that copy a relation counts when it forms an area.
Then, for every element with a name and a position (the centre of its bounding box for ways and relations):
- Type, from its tags, in this order: museum (tourism=museum); gallery (tourism=gallery); zoo (tourism=zoo or aquarium); viewpoint (tourism=viewpoint); artwork (tourism=artwork); castle or palace (historic=castle, fort, palace, manor or city_gate, or building=palace or castle); ruins (historic=ruins or archaeological_site); monument (historic=monument or memorial); place of worship (amenity=place_of_worship, historic=church or monastery, or building=cathedral, church, chapel, mosque, synagogue or temple); park (leisure=park or garden); tower (man_made=tower or lighthouse, or historic=tower); bridge (man_made=bridge); theatre (amenity=theatre); fountain (amenity=fountain); peak (natural=peak); otherwise sight.
- Score, to choose the stops of a run: castle or palace 4; museum, viewpoint, zoo, tower, theatre, ruins and peak 3; gallery, place of worship, monument, park, bridge and sight 2; artwork and fountain 1; plus 3 with a wikidata tag, 1 with a wikipedia tag, 1 for tourism=attraction on another type and 1 with a heritage tag; at most 12.
- Each square keeps its 150 best scored sights (one per OpenStreetMap element). Nothing is added from other sources and no OpenStreetMap value is changed, except the rounding of positions and names longer than 120 characters, which are cut.
On the phone, the app then plans the loop (straight lines between stops, up to 12 stops, sights within 120 m of a better one count as one stop) and finds the sights within 40 to 120 m of a recorded route. Those results are produced works and stay on your phone.
4. A copy of our extract
Write to support@diurnalapp.ai and we will send you, free of charge, the current extract (every square we keep) in machine readable form (JSON), under the Open Database Licence 1.0, within 30 days. The complete OpenStreetMap database is available from planet.openstreetmap.org.
5. Errors in a sight
The sights are not always complete or exact. OpenStreetMap is made by volunteers and our copy is refreshed only every few months (every 6 months in Europe and North America), so a sight can be missing, closed, moved, renamed or not exactly where it is shown. A missing, closed or wrong sight is best corrected in OpenStreetMap itself, where anyone can edit (openstreetmap.org/fixthemap); the app shows the change after our next refresh. Sights and routes are for orientation only: always follow streets and paths, mind the traffic and check access (Terms, Disclaimer).
6. Contact
Questions about this page: support@diurnalapp.ai. We are not affiliated with the OpenStreetMap Foundation or FOSSGIS e.V.; OpenStreetMap is a trademark of the OpenStreetMap Foundation, used here only to credit the source.