Update network

This commit is contained in:
Mattéo Delabre 2021-05-11 15:35:03 +02:00
parent e44e9d07ba
commit 3600e0b2bf
Signed by: matteo
GPG Key ID: AE3FBD02DC583ABB
2 changed files with 988 additions and 2672 deletions

View File

@ -4,8 +4,7 @@
* Extract static information about the TaM network from OpenStreetMap (OSM):
* tram and bus lines, stops and routes.
*
* Functions in this file also report and offer to correct errors that may
* occur in OSM data.
* Functions in this file also report inconsistencies in OSM data.
*
* 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
@ -24,7 +23,6 @@ const osm = require("./sources/osm");
* segments and lines.
*/
const fetch = async lineRefs => {
// Retrieve routes, ways and stops from OpenStreetMap
const rawData = await osm.runQuery(`[out:json];

File diff suppressed because it is too large Load Diff