Skip to content

Commit

Permalink
update IDF project
Browse files Browse the repository at this point in the history
  • Loading branch information
nlehuby committed Dec 28, 2023
1 parent 45ac04e commit ee33baf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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":{
Expand Down
4 changes: 3 additions & 1 deletion line_data.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down

0 comments on commit ee33baf

Please sign in to comment.