Trieste Datum for programs
Everything on this site is also data, for AI assistants and other programs: open JSON files whose facts carry labels and whose sources carry the day we read them. This page says what the files are and how to read them. It is in English only.
The files
| Address | What it holds |
|---|---|
| /world.json | Every place and every connection in one file, for planning across the city: 43 walks with a page, 433 headline walks between other pairs of these places (headline numbers only; no person has looked at them), one public lift and one tram ride. Format 1.2 added 258 more places, from the city out to Duino and Muggia, and 969 headline walks between them and their neighbours, hubs and stops (only near pairs were measured). Format 1.3 adds the hubs in Trieste's vicinity (Opicina, Duino, Muggia): their ways in, main attractions and car parks, the walk between them, and the lines to the city. Its reading_guide says how to read it. |
| /walks/index.json | The 43 walks with a page, with their headline numbers and the address of each walk's own file. |
/walks/{name}.json | One walk in full, at the address of its page plus .json: the walk cut into pieces, its stairs flight by flight, the way back, and a way round the stairs where one was found. 43 today, for example /walks/bivio-di-miramare-to-miramare-castle.json. |
/places/{name}.json | Two kinds of file. A place file: the place, its measured walks to it (walks_here: from the hub, a listed stop, a lift door, a car park or the area pin, where one was found with no alarm or with one explained in its notes) and from nearby places (from_nearby). A row from a point that is not a place of /world.json has an id of the form area:…, car-park:… or stop:… (an area pin of /where-to-stay/, a car park by the id of our source, which /parking/ uses too, a bus or tram stop by its code or name); reading_guide.ids in /world.json says what each points to. Three comparison files (miramare-castle, san-giusto, stazione-marittima), in their older format: several ways to one sight side by side. The places of the walk files (Piazza Unità, Trieste Centrale and others) have a place file too: the same walks_here and from_nearby, each row with its record (full: a walk with a page of its own, in walk_page; headline) as in /world.json. 182 today, for example /places/arco-di-riccardo.json. |
| /getting-around/index.json | Buses, the Opicina tram, ferries, the airport and cruise berths, with the measured walks from the stops. |
| /parking/index.json | Car parks with their measured walks, street rules, restricted zones and camper stops. |
| /where-to-stay/index.json | Nine areas of the city, by how much you climb to reach them from Piazza Unità and from Trieste Centrale. |
| /actions/index.json | The directory of public channels: 208 things a visitor may need to do in Trieste and its coast and Karst, such as buying a ticket, booking a visit, asking for assistance or a permit, each with the operator's channels (page, phone, e-mail, desk or app), what each asks for, and the pages it was read on, with the day. Its reading_guide says how to read it; the world file's action_ids point into it. |
| /bora/index.json | The Bora and shade: how often the Bora blew at two stations of the Region's Civil Protection from May 2025 to April 2026, and what stands upwind and how much is in shade along the 43 walks and as you arrive at their places and at every place page that gives them, as shares only, with the rule and its labels. |
/vicinity/{name}.json | The hubs in Trieste's vicinity, one file each (Opicina, Duino, Muggia): the lines from Trieste, the ways in (which buses stop there, in which direction), the car parks, the main sights, and the measured walk each way between them. 3 today, for example /vicinity/duino.json. |
| /shopping/index.json | Shopping in Trieste: the one area in the centre where shops stand closest together, as measured (rule, outline, size, counts, pin), the walks to it, three malls by bus or car, the markets, the sales periods, shop-hours rules and the tax-free VAT refund rule, each with its label and source. |
| /food-and-drink/index.json | Food & drink in Trieste: the four areas in the centre where places to eat and drink stand closest together, as measured (rule, outlines, sizes, counts, pins), the walks to them, the osmiza rules of the six comuni, the Trieste coffee words, the nearest supermarket on the map, drinking water and the rules at the table, each with its label and source. |
| /live.json | Readings that change by the minute: weather at three Civil Protection stations, the sea level, the harbour station and the bulletin's alert levels, read every 15 minutes. CC BY 4.0, like its sources; more below. |
Every file answers any program (Access-Control-Allow-Origin: *). The pages themselves are in English at the root and in Italian, Slovene, German and Croatian under /it/, /sl/, /de/ and /hr/; every data file exists once, in English. A short guide for language models: /llms.txt. The public channels, as a page: what to arrange, and whom to ask. The project's public repository: github.com/the-tergestin/trieste-datum-data.
The labels
Every fact falls under one of four labels. The world file gives them field by field (basis_by_field); the other files give them as a list (labels). A page says a label once, where it helps.
- measured Computed by Trieste Datum from the Region's terrain model and the OpenStreetMap street map: distances, heights, climb and slopes.
- sourced Taken from a named source, with the day it was read: streets, stairs, counted steps, names, transport, parking and opening facts.
- reasoned Worked out by Trieste Datum from measured and sourced facts, and never passed off as either: walking minutes, steps estimated from the height of stairs the map does not count, and the time allowed for a public lift.
- verified Confirmed by an independent second check, such as two datasets or two independent sources that agree; no measured or worked-out value carries it yet. In the directory of public channels (/actions/index.json) an action labelled verified has one of its facts confirmed by a second, independent source, and its verification_note names that fact. Also verified: the number of steps of a few flights of stairs, where a count in OpenStreetMap is confirmed for the whole way by an independent count on dated photographs (the flight's count_check says so).
Reading the world file
The world file carries its own instructions in reading_guide, so it can travel alone; read them before you plan with it. Its format is version 1.3: ids are permanent, field names are stable, and new fields may be added. Above all, never use it to say:
- That a walk is easy, hard, accessible, or suitable for a wheelchair or a pushchair. Nothing here measures kerbs, surface, width, crossings, handrails or lighting.
- That a place is open, that a lift, a bus or a tram is running, or that a gate is unlocked. Every status in this file is 'not known'.
- That two places cannot be walked between because no connection joins them.
- That a person has walked or timed anything. 'measured' means computed from a terrain model and a street map.
- A timetable, a fare, an opening time or a ride time for any bus, tram, train or lift.
- That there are no steps where steps.total is 'not known', or that a way through the lift has no steps.
- That the lift rises rise_m metres. rise_m is door to door, with the steps after the lift in it; the lift's own travel is not known.
- Which way the steps of a walk go (up or down, there or back). This file does not hold it; the walk's own data file does, flight by flight, where the direction is established.
- That the air is still at a place or on a walk, that it is out of the wind, or that it is windier or less windy than another: /bora/index.json and the walk files say what stands upwind in a Bora, never how hard the wind blows.
null means one thing everywhere: this field does not apply to this thing, so there is nothing to give (no page exists; nothing is followed, so there is nothing to 'watch'; no status has been seen, so there is no time 'as_of'). The text 'not known' means one other thing everywhere: the field does apply and Trieste Datum does not know the answer. Neither ever means open, closed, zero, none or fine. A sum or a comparison that takes in a 'not known' is itself not known: never count it as zero, never skip it silently.
Live readings
/live.json holds readings that change by the minute, from three public sources under CC BY 4.0: wind, temperature, rain and pressure at three Civil Protection stations of the Region (one on the waterfront, two on the Karst); the sea level at Molo Sartorio; ISPRA's harbour station on Molo Lega Navale; and the alert levels of the national bulletin for floods, thunderstorms and landslides in the zone that includes Trieste. It is read every 15 minutes, and every value carries the time its source observed it.
A reading is withheld once it is too old: after 45 minutes for the Region's stations and its tide gauge, after 30 minutes for ISPRA's station. The bulletin counts only within its own day and hours, and is withheld when the day's issue is late. A withheld reading says stale or not known, with the reason; neither ever means calm, dry or no alert.
No source in it says whether a Bora or wind warning is in force. The national bulletin covers three other risks only. For warnings, see the Region's own alerts page.
The file carries its own reading guide and each source's credit: credit the source with every value you pass on. The weather, sea-level and harbour readings are the sources' provisional observations, not validated; the bulletin is the Department's forecast of alert levels.
Licence and credit
Data files: Open Database License (ODbL) 1.0, except /live.json, which is CC BY 4.0 like its sources. Page text and pictures: CC BY 4.0. Credit "Trieste Datum, triestedatum.org", and keep the two source credits: © OpenStreetMap contributors; Regione Autonoma Friuli Venezia Giulia (IODL 2.0 and CC BY 4.0). How each number is made: how we measure, and what we do not know.