diff --git a/index.js b/index.js index c335fec..8ba6ef0 100644 --- a/index.js +++ b/index.js @@ -6,7 +6,7 @@ projects = { }, "IDF":{ "line_list":"https://raw.githubusercontent.com/Jungle-Bus/ref-fr-STIF/gh-pages/data/lignes.csv", - "format": "osm-transit-extractor", + "format": "prism", "qa": true }, "Kochi":{ diff --git a/line_data.js b/line_data.js index f7a586c..0452812 100644 --- a/line_data.js +++ b/line_data.js @@ -45,7 +45,9 @@ var line_data = (function() { } } - if (line_tags['type'] != 'route_master') { + if (line_tags['type'] == 'route') { + return "This is not a public transport line, it is a trip. Try again using its parent relation" + } else if (line_tags['type'] != 'route_master') { return "This is not a public transport line" }