Add OpenRailwayMap (#630)
* Add OpenRailwayMap * Add OpenRailwayMap using JOSM extract script Co-authored-by: Norbert Renner <norbert.renner@gmx.de>
This commit is contained in:
parent
e492fb994f
commit
c11eb9a07a
4 changed files with 30 additions and 1 deletions
|
|
@ -35,7 +35,8 @@ const includeList = [
|
|||
"Waymarked_Trails-Cycling",
|
||||
"Waymarked_Trails-MTB",
|
||||
"wikimedia-map",
|
||||
"openpt_map"
|
||||
"openpt_map",
|
||||
"openrailwaymap"
|
||||
];
|
||||
|
||||
function extract(layersJosm) {
|
||||
|
|
|
|||
23
layers/josm/openrailwaymap.geojson
Normal file
23
layers/josm/openrailwaymap.geojson
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"geometry": null,
|
||||
"properties": {
|
||||
"attribution": {
|
||||
"required": true,
|
||||
"text": "Rendering: OpenRailwayMap, © Map data OpenStreetMap contributors",
|
||||
"url": "https://www.openrailwaymap.org/"
|
||||
},
|
||||
"category": "osmbasedmap",
|
||||
"description": "Overlay imagery showing railway infrastructure based on OpenStreetMap data",
|
||||
"icon": "https://www.openrailwaymap.org/img/openrailwaymap-64.png",
|
||||
"id": "openrailwaymap",
|
||||
"max_zoom": 20,
|
||||
"name": "OpenRailwayMap - Default",
|
||||
"overlay": true,
|
||||
"privacy_policy_url": "https://www.openrailwaymap.org/en/imprint",
|
||||
"type": "tms",
|
||||
"url": "https://{switch:a,b,c}.tiles.openrailwaymap.org/standard/{zoom}/{x}/{y}.png",
|
||||
"valid-georeference": true,
|
||||
"dataSource": "JOSM"
|
||||
},
|
||||
"type": "Feature"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue