{
 "format_version": "1.0",
 "title": "Trieste Datum: what the reach files share",
 "what_this_is": "What every file under /world/reach/ (one per place: where a walker gets from it within 30 minutes) and under /world/reach-lift/ (the rows the public lift adds or changes) shares, once: the sets of limits, the paces, what each value of a row is, the labels, the engine's rules, its check against the measured walks, how to read a file, and what never to use one to say. For /world/reach-lift/, with_public_lift holds the same. Every word of it holds for each of those files. Layer 1 of Trieste Datum's simulation roadmap, the effort-reach atlas, for the MCP tool reachable_from.",
 "address": "https://triestedatum.org/world/reach.json",
 "where": {
  "reach": "/world/reach/<place id>.json",
  "reach_with_the_public_lift": "/world/reach-lift/<place id>.json, where a place's reach file gives its address under public_lift_rows"
 },
 "made_from": {
  "engine": "engine/reach.py (its output, out/reach.json, is not published)",
  "measured_on": "2026-12-04",
  "streets_fetched": {
   "core": "2026-11-23T17:46:43Z",
   "coast": "2026-11-26T11:11:18.513505+00:00",
   "reach": "2026-11-27T19:10:44Z"
  },
  "world_file": {
   "file": "https://triestedatum.org/world.json",
   "format_version": "1.8",
   "built_on": "2026-12-04"
  }
 },
 "built_on": "2026-12-04",
 "last_updated": "2026-12-04",
 "reach_min_steady_walker": 30,
 "paces": {
  "steady_walker": 1.0,
  "everyday_walker": 0.83,
  "how": "an everyday walker's seconds are the steady walker's divided by its pace; minutes are seconds / 60, rounded"
 },
 "variants": {
  "stairs_ok.any": {
   "avoid_stairs": false,
   "max_slope_pct": null
  },
  "stairs_ok.10": {
   "avoid_stairs": false,
   "max_slope_pct": 10
  },
  "stairs_ok.8": {
   "avoid_stairs": false,
   "max_slope_pct": 8
  },
  "stairs_ok.6": {
   "avoid_stairs": false,
   "max_slope_pct": 6
  },
  "no_stairs.any": {
   "avoid_stairs": true,
   "max_slope_pct": null
  },
  "no_stairs.10": {
   "avoid_stairs": true,
   "max_slope_pct": 10
  },
  "no_stairs.8": {
   "avoid_stairs": true,
   "max_slope_pct": 8
  },
  "no_stairs.6": {
   "avoid_stairs": true,
   "max_slope_pct": 6
  }
 },
 "rules": {
  "network": "walk.py's walking network, as every walk is routed on it (no indoor way, no public lift)",
  "joins": "each place joined to the network as engine/place_walks.py joins it (Net.join; listed stops named first)",
  "route": "route()'s rules and cost, one search per place and set of limits (Dijkstra), with each limit as a hard rule: with no limit, the way route() would choose between the two places; with avoid_stairs alone, the way route(allow_steps=False) would choose. The slope sets have no route() counterpart: they are not walk.py's walker profiles (no paved_only, no margin for scanner noise, the same limit up and down)",
  "stricter_sets": "a way that keeps a stricter set's limits keeps a looser set's too: each row is the quickest of the ways chosen under its own set and every stricter set, so loosening a limit never loses a place or adds a second",
  "avoid_stairs": "every way the street map (or walk.py STAIRS_BY_NAME) marks as steps is left out, stepped ramps included",
  "max_slope_pct": "every way whose sustained slope (over about 20 m along its own street, from the 0.5 m terrain; on a way shorter than 8 m, its rise over 8 m) is steeper than the limit, uphill or downhill, is left out, with no margin: a short stretch the scan reads as steep (a wall, a kerb, a bridge end) can close a way, and can box a place in near its start (farthest_m); flights of steps are governed by avoid_stairs alone",
  "same_point": "two places that join the network at the same point are not listed for each other: the way between them is not measured"
 },
 "row": [
  "place",
  "seconds_steady_walker",
  "distance_m",
  "climb_m",
  "flights_of_steps",
  "steepest_sustained_slope_pct",
  "unpaved_m"
 ],
 "labels": {
  "seconds_steady_walker": "reasoned: the time formula over the measured way (walk.py: Tobler's hiking function for slopes, a fixed rate for steps), moving time only",
  "distance_m": "measured",
  "climb_m": "measured: the rises between the street map's points along the way, from the 0.5 m terrain; a flight of steps adds the height between its two ends, as in a walk, not the ups and downs the scan reads inside it (away from steps, a walk page adds its climb up from a smoothed profile instead)",
  "flights_of_steps": "sourced: the runs of ways the street map marks as steps",
  "steepest_sustained_slope_pct": "measured: the steepest sustained slope of the ways used, away from steps, uphill or downhill: each stretch carries its street's slope over about 20 m around it, or on a way shorter than 8 m its rise over 8 m (the same figure the slope limits test). Next to a wall, a bridge end or a kerb the scan can read a short way far steeper than the street is, and a ramp shorter than that is not seen. A walk's steepest_20m_percent, smoothed along the walked line, is often lower (checked_against_walks counts how often).",
  "unpaved_m": "sourced: metres on ways the street map gives as unpaved paths or tracks",
  "reached": "reasoned: a place is listed when the way the router chooses under the limits (the lowest cost, a busy road without a pavement counting 1.3 times) takes no more than the time",
  "depends_on": "sourced: as world.json's depends_on for a walk, from its gate records (site/world.py gate_deps): each place that must be open for the way to be passable all the way, and why"
 },
 "checked_against_walks": {
  "what": "the reach with no limits against every walk of out/place_walks.json that it covers, in the walk's own direction, steady walker, on the same street map, counting the walks of at most reach_min minutes that the reach does not list (its time is longer); a walk adds its minutes and climb up from smoothed pieces (walk.py tally) and measures its steepest 20 m along the walked line, smoothed; the reach adds edge by edge (but for the climb of a flight of stairs: the height between its two ends, as in a walk) and takes each street's sustained slope",
  "pairs": 1138,
  "metres_max_diff": 221,
  "minutes_equal": 945,
  "minutes_within_1": 1113,
  "minutes_max_diff": 6,
  "reach_minutes_fewer_than_the_walk": 5,
  "reach_minutes_more_than_the_walk": 188,
  "walks_within_reach_min_not_listed": 7,
  "climb_within_3_m": 1124,
  "climb_max_diff_m": 31,
  "steepest_within_2_points": 917,
  "steepest_more_than_2_points_steeper": 172,
  "steepest_max_points_steeper": 30.8
 },
 "reading_guide": {
  "read_first": "https://triestedatum.org/world.json reading_guide",
  "how": [
   "For one set of limits, take reached[variant]; a row is [place, seconds, metres, climb, flights, steepest, unpaved]: places[place] is the id of the place reached.",
   "The way behind each row is the one the walking engine's router chooses under the limits, as it chooses every measured walk, from where the place joins the walking network (from.joins_the_walking_network) to where the place reached joins it. The router prefers quieter streets, so that way is not always the quickest.",
   "Each row is the quickest of the ways chosen under its set's limits and under every stricter set's (a way that keeps stricter limits keeps these too): loosening a limit never loses a place or adds minutes.",
   "farthest_m gives, for each set, how far the search got in metres walked. A slope limit has no margin, so a short stretch the scan reads as steep (a wall, a kerb, a bridge end) can close a way, and a few hundred metres means the limit boxes this place in near its start: the list is then short or empty for that reason, which says nothing of the streets themselves.",
   "A place is in a slower set's list only if it is reached under that set's limits: a place reached only by steps is missing from every no_stairs list.",
   "A slope limit is not applied to flights of steps (avoid_stairs alone leaves them out): under max_slope_pct without avoid_stairs, a row can use steps, and its flights_of_steps says how many.",
   "depends_on[variant] gives, by the same index, the gates a way depends on (each place that must be open, and why), as world.json's depends_on for a walk. Ways between two other places are not checked for gated ground known only by its place (Miramare Park), except those between its Grignano side and Porta della Bora or the stables.",
   "measured_connections gives, by the same index, the measured walk of the world file between the two places, if there is one. It was chosen with no limits: under avoid_stairs or a slope limit it can use steps or steeper ways than the row does, and its minutes are not the row's.",
   "checked_against_walks says how the reach with no limits agrees with every measured walk it also covers: the metres of the way, and how often the minutes are equal or differ."
  ],
  "never_use_this_file_to_say": "never_say, at the top level of this file, word for word"
 },
 "never_say": [
  "that a place or a way is accessible, or usable with a wheelchair, a pushchair or a walking frame: avoid_stairs and max_slope_pct leave out the ways the street map marks as steps and the ways steeper than the limit, and nothing else; kerbs, how crossings are built, surfaces, widths, doors and the way inside a place are not checked",
  "that a place missing from the list cannot be reached in that time, or at all: only the places of the world file are looked at, a way can be missing from the street map, a place reached only by a way steeper than the limit is left out, and no public lift, bus or tram is used",
  "that a reach is a checked walk, or that the measured walk of measured_connections keeps the limits asked: no reach was through the alarm a measured walk passes; the measured walk between two places was chosen with no limits, so it can use steps or steeper ways, and only the reach with no limits is compared with it (checked_against_walks says how often the two agree, and by how much they differ at most)",
  "that a way under a slope limit alone is gentle all the way: max_slope_pct is not applied to flights of steps, which avoid_stairs alone leaves out; a row's flights_of_steps says how many it uses",
  "that a place inside grounds whose gates close can be reached at any hour: depends_on names the gate and why; and a way between two other places is not known not to cross such grounds where they are known only by their place (Miramare Park), unless depends_on says so",
  "a walking time to a place from its position, or from a point that is not one of the world file's places: every time here starts where the place joins the walking network",
  "that a walk is easy, hard, accessible, or suitable for a wheelchair or a pushchair. Nothing here measures kerbs, surface, width, how crossings are built, handrails or lighting (a walk's own data file counts the crossings the street map draws on it)",
  "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 a person has walked or timed anything. 'measured' means computed from a terrain model and a street map"
 ],
 "licence": {
  "this_data": "Open Database License (ODbL) 1.0",
  "this_data_url": "https://opendatacommons.org/licenses/odbl/1-0/",
  "credit_as": "Trieste Datum, https://triestedatum.org",
  "keep_these_credits_too": "© OpenStreetMap contributors; Regione Autonoma Friuli Venezia Giulia (IODL 2.0 and CC BY 4.0)"
 },
 "independence": "Trieste Datum is an independent project. It is not affiliated with, approved by or endorsed by Regione Autonoma Friuli Venezia Giulia, the Municipality of Trieste or OpenStreetMap.",
 "method": "https://triestedatum.org/method",
 "with_public_lift": {
  "made_from": {
   "engine": "engine/reach.py --lift (its output, out/reach_lift.json, is not published)",
   "measured_on": "2026-12-04",
   "streets_fetched": {
    "core": "2026-11-23T17:46:43Z",
    "coast": "2026-11-26T11:11:18.513505+00:00",
    "reach": "2026-11-27T19:10:44Z"
   },
   "world_file": {
    "file": "https://triestedatum.org/world.json",
    "format_version": "1.8",
    "built_on": "2026-12-04"
   }
  },
  "reach_min_steady_walker": 30,
  "lift": {
   "id": "park-san-giusto",
   "name": "Park San Giusto public lifts",
   "operator": "Park San Giusto S.p.A.",
   "operator_page": "https://www.parksangiusto.it/servizi-parcheggio-trieste.php",
   "operator_page_read_on": "2026-11-25",
   "free": true,
   "doors": {
    "lower": "park-san-giusto-lift-lower-door",
    "upper": "park-san-giusto-lift-upper-door"
   },
   "hours": "not known: the operator publishes them (operator_page); whether it is running at a given time, and its outages, are not known",
   "steps_after_the_lift": "one flight of steps between the lift and the street, number of steps not known",
   "wheelchair": "This is not a step-free way on your own. For the last flight the operator works a stairlift on request, by a bell at the lift exit. We have found nothing published about pushchairs.",
   "seconds_allowed_for_the_lift": 120.0,
   "labels": {
    "operator, free, steps_after_the_lift, wheelchair": "sourced (sources/lifts.json, read on operator_page_read_on)",
    "seconds_allowed_for_the_lift": "reasoned: an assumption for waiting and riding; nobody has timed it"
   }
  },
  "rules": {
   "lift": "as walk.py's with_lift(): the time inside is the straight line between the lift's two street ends on the level (walk.FLAT_SPEED) plus an allowance for waiting and riding (seconds_allowed_for_the_lift, an assumption: nobody has timed it); metres, climb and slope are on foot only; the flight after the lift counts as one flight",
   "kept": "a row is kept if its way takes the lift and is at least min_gain_s quicker than out/reach.json's row for the same set, OR spares at least min_spared_m of climbing OR of descent on foot, and takes no more than max_time_factor times that row's seconds; or out/reach.json has none. The lift's time is an allowance nobody has timed, so a kept row can be slower than out/reach.json's: compare the two seconds. Each row is the quickest of the ways with the lift under its own set and every stricter set that allows stairs (walk.py's with_lift() rule of 2 Dec 2026)",
   "route": "as walk.py's with_lift(): the quickest way (route()'s cost) from the place to one end of the lift, then the lift, then the quickest way on from its other end, each routed as route() routes it",
   "descent": "descent on foot = climb on foot minus the rise from the start to the end of each leg (the map points' heights), so it is measured as the climb is; out/reach.json's descent is worked out the same way from its climb",
   "min_gain_s": 60,
   "min_spared_m": 25,
   "max_time_factor": 1.5,
   "no_stairs": "no row under avoid_stairs: a flight of steps remains between the lift and the street (count not known), so no way with the lift avoids stairs"
  },
  "row": [
   "place",
   "seconds_steady_walker",
   "distance_m_on_foot",
   "climb_m_on_foot",
   "flights_of_steps",
   "steepest_sustained_slope_pct",
   "unpaved_m",
   "lift_goes",
   "seconds_without_the_lift",
   "climb_spared_m",
   "descent_spared_m"
  ],
  "labels": {
   "seconds_steady_walker": "reasoned: the time formula over the measured way on foot, plus the lift's passage on the level and its allowance (an assumption)",
   "distance_m_on_foot": "measured",
   "climb_m_on_foot": "measured (between the street map's points; a flight of steps by the height between its two ends)",
   "flights_of_steps": "sourced: the street map's flights, plus one for the flight between the lift and the street (sources/lifts.json)",
   "steepest_sustained_slope_pct": "measured, on foot",
   "unpaved_m": "sourced",
   "lift_goes": "measured: the lift's upper street end is higher",
   "seconds_without_the_lift": "reasoned: /world/reach/'s row for the same set, or null if that file does not reach the place in the time",
   "climb_spared_m": "measured: the row without the lift's climb minus this row's (negative: more), null as above",
   "descent_spared_m": "measured: from the climbs and the heights of the map's points at each end (negative: more), null as above",
   "depends_on": "sourced: as /world/reach/'s depends_on"
  },
  "reading_guide": {
   "read_first": "reading_guide of this file, above: how to read the reach file (read_with) whose rows these add to or change",
   "how": [
    "places holds /world/reach/'s places in its order, then any place reached only with the lift; a row is [place, seconds, metres on foot, climb on foot, flights, steepest, unpaved, 'up' or 'down', seconds without the lift, climb spared, descent spared].",
    "A row here takes the place of /world/reach/'s row for the same place and set only when the lift is wanted; compare the two seconds: a way with the lift can spare climbing or descent and still take as long or longer, and the lift's time is an allowance nobody has timed.",
    "The lift may not be running: its hours and outages are not known here."
   ],
   "never_use_this_file_to_say": "with_public_lift.never_say, word for word"
  },
  "never_say": [
   "that the lift is open, working or running at a given time: its hours and outages are not known to this file",
   "that a way with the lift is step-free, wheelchair-accessible or barrier-free: a flight of steps remains between the lift and the street; the operator works a stairlift for it on request",
   "that the lift is part of a walk's main numbers: it is an option beside them",
   "that a way with the lift is quicker when its seconds are not fewer than out/reach.json's row: it can spare the climb or the descent and still take as long or longer",
   "that a place or a way is accessible, or usable with a wheelchair, a pushchair or a walking frame: avoid_stairs and max_slope_pct leave out the ways the street map marks as steps and the ways steeper than the limit, and nothing else; kerbs, how crossings are built, surfaces, widths, doors and the way inside a place are not checked",
   "that a place missing from the list cannot be reached in that time, or at all: only the places of the world file are looked at, a way can be missing from the street map, a place reached only by a way steeper than the limit is left out, no bus or tram is used, and the public lift only on the rows here",
   "that a reach is a checked walk, or that the measured walk of measured_connections keeps the limits asked: no reach was through the alarm a measured walk passes; the measured walk between two places was chosen with no limits, so it can use steps or steeper ways, and only the reach with no limits is compared with it (checked_against_walks says how often the two agree, and by how much they differ at most)",
   "that a way under a slope limit alone is gentle all the way: max_slope_pct is not applied to flights of steps, which avoid_stairs alone leaves out; a row's flights_of_steps says how many it uses",
   "that a place inside grounds whose gates close can be reached at any hour: depends_on names the gate and why; and a way between two other places is not known not to cross such grounds where they are known only by their place (Miramare Park), unless depends_on says so",
   "a walking time to a place from its position, or from a point that is not one of the world file's places: every time here starts where the place joins the walking network",
   "that a walk is easy, hard, accessible, or suitable for a wheelchair or a pushchair. Nothing here measures kerbs, surface, width, how crossings are built, handrails or lighting (a walk's own data file counts the crossings the street map draws on it)",
   "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 a person has walked or timed anything. 'measured' means computed from a terrain model and a street map"
  ]
 }
}
