Skip to content

Commit

Permalink
add overpass query for railway station
Browse files Browse the repository at this point in the history
  • Loading branch information
gorgobacka authored and bagage committed Oct 22, 2024
1 parent 59a1435 commit d69a38f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions layers/config/tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ BR.confLayers.tree = {
'parking_entrance',
'parking',
'parking_space',
'railway_station',
'taxi',
'vehicle_inspection',
]
Expand Down
13 changes: 13 additions & 0 deletions layers/overpass/amenity/transportation/railway_station.geojson
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"geometry": null,
"properties": {
"name": "Railway station",
"id": "railway_station",
"overlay": true,
"dataSource": "OverpassAPI",
"icon": "temaki-train",
"query": "nwr[railway=station];"
},
"type": "Feature"
}

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,8 @@
"icons/museum.svg",
"icons/spotting_scope.svg",
"icons/cabin.svg",
"icons/picnic_shelter.svg"
"icons/picnic_shelter.svg",
"icons/train.svg"
]
},
"@fortawesome/fontawesome-free": {
Expand Down

0 comments on commit d69a38f

Please sign in to comment.