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:
Michał Sałaban 2022-09-15 18:26:43 +02:00 committed by GitHub
parent e492fb994f
commit c11eb9a07a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 30 additions and 1 deletions

View file

@ -35,7 +35,8 @@ const includeList = [
"Waymarked_Trails-Cycling",
"Waymarked_Trails-MTB",
"wikimedia-map",
"openpt_map"
"openpt_map",
"openrailwaymap"
];
function extract(layersJosm) {

View 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"
}