Browse Source

lint

- order names by language code
- order queries by zoom level
- end files with newline
fossil
parent
commit
1fe5e1e9be
  1. 4
      buildings.json
  2. 2
      car_maxspeed.json
  3. 2
      children.json
  4. 2
      communication.json
  5. 4
      cycle_amenities.json
  6. 2
      education.json
  7. 2
      emergency.json
  8. 2
      financial.json
  9. 2
      health.json
  10. 4
      hiking_routes.json
  11. 2
      historic.json
  12. 3
      index.json
  13. 14
      natural.json
  14. 6
      pt_routes.json
  15. 2
      public.json
  16. 4
      railway-infrastructure.json
  17. 2
      tourism_attractions.json
  18. 2
      tourism_services.json
  19. 4
      walk_amenities.json
  20. 6
      water.json

4
buildings.json

@ -1,8 +1,8 @@
{ {
"type": "overpass", "type": "overpass",
"name": { "name": {
"en": "Buildings",
"de": "Gebäude"
"de": "Gebäude",
"en": "Buildings"
}, },
"query": { "query": {
"16": [ "16": [

2
car_maxspeed.json

@ -5,8 +5,8 @@
}, },
"query": { "query": {
"11": "way[highway~\"^(motorway|trunk)$\"];", "11": "way[highway~\"^(motorway|trunk)$\"];",
"15": "way[highway~\"^(motorway|motorway_link|trunk|trunk_link|primary|primary_link|secondary|secondary_link|tertiary|tertiary_link|residential|unclassified)$\"];",
"13": "way[highway~\"^(motorway|motorway_link|trunk|trunk_link|primary|primary_link|secondary|tertiary)$\"];", "13": "way[highway~\"^(motorway|motorway_link|trunk|trunk_link|primary|primary_link|secondary|tertiary)$\"];",
"15": "way[highway~\"^(motorway|motorway_link|trunk|trunk_link|primary|primary_link|secondary|secondary_link|tertiary|tertiary_link|residential|unclassified)$\"];",
"17": "way[highway~\"^(motorway|motorway_link|trunk|trunk_link|primary|primary_link|secondary|secondary_link|tertiary|tertiary_link|residential|unclassified|service|living_street|pedestrian|track|road)$\"];" "17": "way[highway~\"^(motorway|motorway_link|trunk|trunk_link|primary|primary_link|secondary|secondary_link|tertiary|tertiary_link|residential|unclassified|service|living_street|pedestrian|track|road)$\"];"
}, },
"feature": { "feature": {

2
children.json

@ -79,4 +79,4 @@
" </tr>", " </tr>",
"</table>" "</table>"
] ]
}
}

2
communication.json

@ -73,4 +73,4 @@
"zoom": 16 "zoom": 16
} }
} }
}
}

4
cycle_amenities.json

@ -1,8 +1,8 @@
{ {
"type": "overpass", "type": "overpass",
"name": { "name": {
"en": "Amenities",
"de": "Einrichtungen"
"de": "Einrichtungen",
"en": "Amenities"
}, },
"query": { "query": {
"13": [ "13": [

2
education.json

@ -104,4 +104,4 @@
"zoom": 16 "zoom": 16
} }
} }
}
}

2
emergency.json

@ -72,4 +72,4 @@
"sign": "📞" "sign": "📞"
} }
} }
}
}

2
financial.json

@ -61,4 +61,4 @@
"zoom": 15 "zoom": 15
} }
} }
}
}

2
health.json

@ -85,4 +85,4 @@
"social_facility": "", "social_facility": "",
"veterinary": "<img src='maki:veterinary'>" "veterinary": "<img src='maki:veterinary'>"
} }
}
}

4
hiking_routes.json

@ -1,8 +1,8 @@
{ {
"type": "overpass", "type": "overpass",
"name": { "name": {
"en": "Hiking routes",
"de": "Wanderrouten"
"de": "Wanderrouten",
"en": "Hiking routes"
}, },
"query": { "query": {
"10": "relation[type=route][route=hiking][network~\"^(iwn)$\"]", "10": "relation[type=route][route=hiking][network~\"^(iwn)$\"]",

2
historic.json

@ -79,4 +79,4 @@
"zoom": 14 "zoom": 14
} }
} }
}
}

3
index.json

@ -278,5 +278,6 @@
} }
] ]
} }
]
],
"name": {}
} }

14
natural.json

@ -20,19 +20,19 @@
"node[natural~\"^(peak|volcano)$\"];", "node[natural~\"^(peak|volcano)$\"];",
")" ")"
], ],
"16": [
"(",
"node[natural];",
"way[natural];",
"relation[natural];",
")"
],
"13": [ "13": [
"(", "(",
"node[natural~\"^(peak|volcano|wood|scrub|heath|grassland|fell|bare_rock|scree|shingle|sand|mud|water|wetland|glacier|bay|cape|beach|coastline|spring|hot_spring|geyser|valley|ridge|arete|cliff|saddle|rock|stone|sinkhole|cave_entrance)$\"];", "node[natural~\"^(peak|volcano|wood|scrub|heath|grassland|fell|bare_rock|scree|shingle|sand|mud|water|wetland|glacier|bay|cape|beach|coastline|spring|hot_spring|geyser|valley|ridge|arete|cliff|saddle|rock|stone|sinkhole|cave_entrance)$\"];",
"way[natural~\"^(peak|volcano|wood|scrub|heath|grassland|fell|bare_rock|scree|shingle|sand|mud|water|wetland|glacier|bay|cape|beach|coastline|spring|hot_spring|geyser|valley|ridge|arete|cliff|saddle|rock|stone|sinkhole|cave_entrance)$\"];", "way[natural~\"^(peak|volcano|wood|scrub|heath|grassland|fell|bare_rock|scree|shingle|sand|mud|water|wetland|glacier|bay|cape|beach|coastline|spring|hot_spring|geyser|valley|ridge|arete|cliff|saddle|rock|stone|sinkhole|cave_entrance)$\"];",
"relation[natural~\"^(peak|volcano|wood|scrub|heath|grassland|fell|bare_rock|scree|shingle|sand|mud|water|wetland|glacier|bay|cape|beach|coastline|spring|hot_spring|geyser|valley|ridge|arete|cliff|saddle|rock|stone|sinkhole|cave_entrance)$\"];", "relation[natural~\"^(peak|volcano|wood|scrub|heath|grassland|fell|bare_rock|scree|shingle|sand|mud|water|wetland|glacier|bay|cape|beach|coastline|spring|hot_spring|geyser|valley|ridge|arete|cliff|saddle|rock|stone|sinkhole|cave_entrance)$\"];",
")" ")"
],
"16": [
"(",
"node[natural];",
"way[natural];",
"relation[natural];",
")"
] ]
}, },
"feature": { "feature": {

6
pt_routes.json

@ -1,8 +1,8 @@
{ {
"type": "overpass", "type": "overpass",
"name": { "name": {
"en": "Routes",
"de": "Routen"
"de": "Routen",
"en": "Routes"
}, },
"query": { "query": {
"12": "relation[type=route][route~\"^(subway|monorail|ferry|train)$\"];", "12": "relation[type=route][route~\"^(subway|monorail|ferry|train)$\"];",
@ -76,4 +76,4 @@
"color": "#007fff" "color": "#007fff"
} }
} }
}
}

2
public.json

@ -72,4 +72,4 @@
"toilets": "<img src='maki:toilet'>", "toilets": "<img src='maki:toilet'>",
"townhall": "<img src='maki:town-hall'>" "townhall": "<img src='maki:town-hall'>"
} }
}
}

4
railway-infrastructure.json

@ -1,8 +1,8 @@
{ {
"type": "overpass", "type": "overpass",
"name": { "name": {
"en": "Railway infrastructure",
"de": "Eisenbahn Infrastruktur"
"de": "Eisenbahn Infrastruktur",
"en": "Railway infrastructure"
}, },
"query": { "query": {
"11": "(way[railway=rail][usage~'^(main|branch)$'];node[railway~'^(station)$'];)", "11": "(way[railway=rail][usage~'^(main|branch)$'];node[railway~'^(station)$'];)",

2
tourism_attractions.json

@ -52,4 +52,4 @@
"zoo": "🦁", "zoo": "🦁",
"other": "" "other": ""
} }
}
}

2
tourism_services.json

@ -95,4 +95,4 @@
"zoom": 16 "zoom": 16
} }
} }
}
}

4
walk_amenities.json

@ -1,8 +1,8 @@
{ {
"type": "overpass", "type": "overpass",
"name": { "name": {
"en": "Amenities",
"de": "Einrichtungen"
"de": "Einrichtungen",
"en": "Amenities"
}, },
"query": { "query": {
"13": [ "13": [

6
water.json

@ -1,8 +1,8 @@
{ {
"type": "overpass", "type": "overpass",
"name": { "name": {
"en": "Waterbodies",
"de": "Gewässer"
"de": "Gewässer",
"en": "Waterbodies"
}, },
"query": { "query": {
"10": [ "10": [
@ -116,4 +116,4 @@
" </tr>", " </tr>",
"</table>" "</table>"
] ]
}
}
Loading…
Cancel
Save