Line Bites OpenStreetMap data

The files under /api/osm/ contain data from OpenStreetMap, © OpenStreetMap contributors, and are made available under the Open Database License (ODbL) 1.0. See openstreetmap.org/copyright.

How they are made

Every Sunday, refresh-osm.mjs rebuilds each city that was not already built in the last five days; a city built more recently is skipped, and so is every extract only such cities need. It downloads the regional OpenStreetMap extracts that cover the cities it rebuilds from Geofabrik (download.geofabrik.de; the list is EXTRACTS in the script), one at a time and each at most once. With osmium it takes the named food & drink places (restaurants, cafés, bars, bakeries, breweries, markets, liquor and wine stores), puts each at its node or at the centroid of its outline, and keeps those within 1.5 km of one of the city's transit stations. osmBase in a file is the date of the oldest extract it was made from. Nothing is added from other sources and nothing else is changed. Each city file is a filtered subset of those extracts, and every city file is published here in full, free to download.

The station positions only select the area and are not published here. They come from the transit operators' public GTFS feeds as bundled in the Line Bites app, except for the lines whose station positions the app takes from OpenStreetMap: all of Washington DC's, Los Angeles's, Budapest's and Metro Manila's, Seattle's Link and Monorail, PATH, PATCO and some Tokyo lines.

Cities

CityPlacesUpdated
sf146292026-11-15T04:58:46Z
nyc225912026-11-15T03:48:19Z
amsterdam55422026-11-15T05:06:18Z
boston33032026-11-15T03:53:01Z
brno22372026-11-15T05:08:06Z
budapest75802026-11-15T05:55:28Z
chicago61332026-11-15T03:59:11Z
la50332026-11-15T05:48:04Z
manila79742026-11-15T05:31:45Z
montreal51922026-11-15T04:25:32Z
paris371332026-11-15T03:35:29Z
philadelphia24162026-11-15T05:49:35Z
portland31812026-11-15T04:34:29Z
prague60882026-11-15T05:09:41Z
seattle35302026-11-15T05:51:27Z
tokyo374722026-11-15T05:19:22Z
toronto79262026-11-15T04:56:17Z
dc51312026-11-15T05:43:15Z