Files
gods-eye-view/src/data/local_data/wof_neighborhoods
manjunath 2e82425d62 address review findings on voice outlines
- remove the unused Nominatim reserve(); spacing tests now measure the
  actual transport start across processes
- start each queued building's 2 s ground-sampling budget when it
  reaches the head of the queue, and request a frame on promotion
- accept Nominatim and grounds outlines that cross the antimeridian
- let an unnamed school, university, hospital, cemetery, stadium or zoo
  area answer a grounds ask whose head noun names that kind, using only
  the part that holds the point; compare grounds names symmetrically
- charge shared OpenFreeMap consumers their own slice and keep the
  charged budget at the previous 64 MiB
- share one place-name fold, point-in-polygon, line stitching and
  nextTask helper instead of duplicates
- exclude Who's On First sources licensed only as "CC BY (equivalent)"
  or "CC0 (equivalent)"; rebuild the pack from the pinned archives
- whole-word neighbourhood alias guard; correct the outline size-limit
  comment
- restore DATA_SOURCES.md table formatting, keeping only real edits
- test behaviour instead of private engine fields
2026-10-30 20:47:20 +05:30
..

Who's On First neighborhoods pack

Neighborhood outlines for area annotations ("outline Notting Hill", "outline Le Marais"), read by src/data/placeBoundaries.js. The San Francisco DataSF pack in ../neighborhoods/ is used first inside San Francisco.

File Contents
index.json format, licence of every geometry source, and the tile list with each tile's box
<tile>.json records whose box centre falls in that quadtree tile (keys are quadrant digits from the whole world)
ATTRIBUTION.md per-source credits
files.js every file's URL, so bundlers emit them (generated)
whosonfirst-LICENSE.md, quattroshapes-LICENSE.md upstream notices, unchanged

61,441 named neighbourhood, macrohood and microhood polygons in 217 tiles.

Source: Who's On First and contributors: whosonfirst-data-{neighbourhood,macrohood,microhood}-latest.tar.bz2 from https://data.geocode.earth/wof/dist/legacy/ and the WOF sources registry; URLs and SHA-256 hashes are in index.json meta and in the build script. The registry is read at a fixed commit. The legacy archives are only published under -latest names; that distribution has not changed since 2025-10-14, and the hashes make a changed file fail the build.

License: per geometry source, as listed in ATTRIBUTION.md and in index.json meta.sources (CC BY family, ODC-By, Open Government licences, CC0, PDDL and public domain). Records whose source licence is assumed, unknown or unresolved in the registry are not included. See DATA_SOURCES.md.

Regenerate (maintainer tool; requires Python with shapely==2.1.2 on GEOS 3.13.1, checked):

python scripts/build-wof-neighborhoods.py --cache /tmp/wof-neighborhoods
python scripts/build-wof-neighborhoods.py --cache /tmp/wof-neighborhoods --verify
python scripts/pack_geometry.py check wof

--verify rebuilds in memory and fails unless every shipped file matches.

Schema: each tile has tile and features[], each [id, name, country, type, bbox, aliases, source, rings, label]: WOF id, name, ISO country, placetype, [w, s, e, n], other-language names, geometry source key, polygons (largest first, each [outer, ...holes]) and a [lon, lat] point inside the largest polygon. A ring is an encoded polyline string: longitude then latitude at 10^-5 degrees, zigzag varint deltas, 5-bit groups offset by 63.

Licence exclusions: only sources whose exact registry licence is on the reviewed allowlist in scripts/wof-open-licenses.json are admitted. A licence listed only as an "equivalent" of an open licence ("CC BY (equivalent)", "CC0 (equivalent)") is not admitted, so can-ons, can-saskodp, can-gatsudd and esp-aytomad records are not in this pack: their redistribution terms have not been established for this derived pack. Original upstream notices remain unchanged.

Curation: current, non-deprecated, named polygon records; simplified to about 15 m, snapped to 5 decimals and kept valid under GEOS (checked on the geometry decoded from the shipped strings).