Update network
This commit is contained in:
parent
e44e9d07ba
commit
3600e0b2bf
|
@ -4,8 +4,7 @@
|
||||||
* Extract static information about the TaM network from OpenStreetMap (OSM):
|
* Extract static information about the TaM network from OpenStreetMap (OSM):
|
||||||
* tram and bus lines, stops and routes.
|
* tram and bus lines, stops and routes.
|
||||||
*
|
*
|
||||||
* Functions in this file also report and offer to correct errors that may
|
* Functions in this file also report inconsistencies in OSM data.
|
||||||
* occur in OSM data.
|
|
||||||
*
|
*
|
||||||
* Because of the static nature of this data, it is cached in a
|
* Because of the static nature of this data, it is cached in a
|
||||||
* version-controlled file `network.json` next to this file. To update it, use
|
* version-controlled file `network.json` next to this file. To update it, use
|
||||||
|
@ -24,7 +23,6 @@ const osm = require("./sources/osm");
|
||||||
* segments and lines.
|
* segments and lines.
|
||||||
*/
|
*/
|
||||||
const fetch = async lineRefs => {
|
const fetch = async lineRefs => {
|
||||||
|
|
||||||
// Retrieve routes, ways and stops from OpenStreetMap
|
// Retrieve routes, ways and stops from OpenStreetMap
|
||||||
const rawData = await osm.runQuery(`[out:json];
|
const rawData = await osm.runQuery(`[out:json];
|
||||||
|
|
||||||
|
|
3656
src/tam/network.json
3656
src/tam/network.json
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue