Trieste Datum food and drink map, 1 December 2026

This is the machine-readable ODbL 1.0 section 4.6(b) offer for the map input.
This is not a register of places open today. Venue names, addresses, phone numbers,
emails and websites were left out. Positions and public map IDs can lead back to the
upstream sources. The OSM map is at https://www.openstreetmap.org/ and Overture Places
is documented at https://docs.overturemaps.org/guides/places/.

Extract the archive. With standard Python 3, run
  python rebuild.py --output food-drink-map-input.jsonl
For a fresh historical OSM response use
  python rebuild.py --fetch --output food-drink-map-input.jsonl
or submit historical-overpass.ql to a history-enabled Overpass interpreter and run
  python rebuild.py --osm downloaded.psv --output food-drink-map-input.jsonl

Offline replay uses only the relevant six columns and selected OSM features from the
independently fetched 1 December 2026 06:23:51 UTC Overpass history response. The
auxiliary shop tag is retained only for ice cream. For the 931 Overture candidates,
alterations.json records positions at the original precision, in stable confidence
order. Row indices represent positive private name comparisons for nearby Overture
and OSM candidates. No name or name hash is present. The replay visits candidates
in order, consults those comparison pairs, and tests distances at 60, 40 and 5 m.
It drops 18, 409 and 45 candidates respectively. added-contents.json contains 459
full map additions and their per-property provenance. The ordered 820 OSM IDs and
type-to-group table give the base input. OSM positions use a node or feature centre.

The rebuilt JSON Lines file is the exact frozen working input, with six fields on
OSM rows and confidence as a seventh on Overture rows. Look up per-source metadata
by Overture record_id in added-contents.json. Source entries retain dataset, licence
(license), property, provider, resource, update time, version and source confidence
when supplied. Provider-internal record IDs were dropped. The digest covers every
map row in order, compact sorted-key UTF-8 JSON, one LF per row including the last.

Database © Trieste Datum, under ODbL 1.0. © OpenStreetMap contributors (food features
1 December 2026 06:23:51 UTC; streets 23 November 2026 17:44:48 UTC).
https://www.openstreetmap.org/copyright
Overture Maps Foundation, overturemaps.org, Places 2026-11-18.0, accessed 29 November
2026. https://docs.overturemaps.org/attribution/#places
Meta, Microsoft, BrightQuery, Uberall, PinMeTo and Overture (CDLA-Permissive-2.0);
AllThePlaces (CC0-1.0); Foursquare (Apache-2.0). Overture credits Copyright 2024
Foursquare Labs, Inc. All rights reserved. Overture transformed Foursquare data to
the Overture schema on 18 March 2026. The publisher's full 2026 NOTICE is enclosed.
Trieste Datum selected, matched, de-duplicated, grouped and projected the original
records under the rule below. Keep the licences and notices with redistributed data.

# What counts as a place to eat and drink, and what makes an area

Trieste Datum uses the following rule to count mapped places inside the municipality of Trieste. The area outlines are recomputed from the map positions.

A place here is a point on a map with a kind. It is not a check that the place is open today, and not a judgement of it.

## The rule

> **An area of places to eat and drink is any place where at least 21 of them lie within 100 metres, joined into one piece of at least half a hectare.**

The grid has 12.5 m squares, with its origin at 13.70° E, 45.60° N. Degrees are converted to metres at latitude 45.65° N. Each square counts places up to and including 100 m from its centre. Squares with at least 21 places join along sides or corners.

## The two maps

| Map | Snapshot | Rows kept |
|---|---|---|
| OpenStreetMap | 1 December 2026, 06:23:51 UTC | 820 |
| Overture Maps, Places, release 2026-11-18.0 | extract read 29 November 2026 | 459 added |
| Together | | 1,279 |

SHA-256 of the 1,279 map rows in replay order: 6b529fabdf40e9fb76619388e8b9c3d04c1fd29e589c468842d50a366f982dc5.

## Steps

1. **Municipal boundary.** Keep points inside the OpenStreetMap boundary of the Comune di Trieste.
2. **OpenStreetMap:** `amenity` restaurant, cafe, bar, pub, fast_food, ice_cream, biergarten or food_court (also `shop=ice_cream`); not `disused`. Position: the node, or the centre of the way.
3. **Overture candidates:** first level `food_and_drink`; not `permanently_closed`; confidence 0.5 or more; not known from BrightQuery alone; the category says more than `food_and_drink`; and the path holds none of: `casual_eatery>bakery`, `casual_eatery>delicatessen`, `casual_eatery>candy_store`, `dessert_shop>cupcake_shop`, `alcoholic_beverage_venue>winery`, `>brewery`, `>distillery`, nor ends in `casual_eatery>dessert_shop`. 931 candidates, put in order of confidence, highest first (equal confidences keep the extract's order).
4. **Duplicate detection.** To compare names, apply Unicode NFKD normalization, discard non-ASCII characters, lowercase the result and split on non-alphanumeric characters. Drop these tokens: srl, sas, snc, spa, di, de, del, della, dei, the, trieste, bar, caffe, cafe, ristorante, trattoria, pizzeria, osteria, e, il, la, lo, le, by, s, r, l, a, c, al, alla, ai, da. Two nonempty token lists match if their distinct tokens have an intersection at least half the size of their union, either set contains the other, or Python's SequenceMatcher gives the space-joined lists a ratio of at least 0.78. In confidence order, remove a matching Overture candidate within 60 m of an earlier candidate that passed this first test (18 removed). Then remove candidates with a matching OSM place within 40 m (409), followed by candidates with any OSM food or drink place within 5 m (45). Add the remaining 459.
5. **The list:** the 820 OpenStreetMap rows in the download's order, then the 459 Overture rows in theirs.

## Groups (our own sorting, `reasoned`)

| Group | OpenStreetMap | Overture paths |
|---|---|---|
| restaurant | restaurant | `food_and_drink>restaurant…`, diner, bistro, gastropub, tapas bar |
| cafe_bar | cafe, bar, pub, biergarten | every other kept path (cafés, coffee shops, bars, wine bars, pubs) |
| quick | fast_food, food_court | fast food, sandwich, kebab, piadina |
| ice_cream | ice_cream | ice cream, gelato, frozen yogurt |

## Left out, on purpose

Pastry shops, confectioners, bakeries and coffee shops that the maps hold as shops (they are counted with the shops); wineries, breweries and distilleries (producers); osmize (`amenity=osmica`: the section treats them on their own). Adding the 26 pastry, confectionery and coffee shops changes nothing at line 21 (four areas either way; measured 1 Dec 2026).

## What it gives (1 Dec 2026)

Four areas meet the rule: Viale XX Settembre (9.14 ha, 84 places), Piazza della Borsa (7.84 ha, 85), Cavana (5.73 ha, 63) and Piazza Venezia (2.61 ha, 35). At Piazza della Borsa the densest spot has 49 places within 100 m (counted every metre; 48 on the 12.5 m grid).

## Known limits

- No line is as firm as the 40 for shops: at 19 to 20 with pastry shops added, or with a radius of 110 m, the first two areas join. At 21 and 100 m both variants give the same four.
- The Barcola seafront pitches are in neither map; Opicina is thin in Overture.
- The name test can miss a double under two different names more than 5 m apart, and a place with no name in OpenStreetMap is never matched by name.
