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. 4
      cycle_amenities.json
  4. 4
      hiking_routes.json
  5. 3
      index.json
  6. 14
      natural.json
  7. 4
      pt_routes.json
  8. 4
      railway-infrastructure.json
  9. 4
      walk_amenities.json
  10. 4
      water.json

4
buildings.json

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

2
car_maxspeed.json

@ -5,8 +5,8 @@
},
"query": {
"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)$\"];",
"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)$\"];"
},
"feature": {

4
cycle_amenities.json

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

4
hiking_routes.json

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

3
index.json

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

14
natural.json

@ -20,19 +20,19 @@
"node[natural~\"^(peak|volcano)$\"];",
")"
],
"16": [
"(",
"node[natural];",
"way[natural];",
"relation[natural];",
")"
],
"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)$\"];",
"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)$\"];",
")"
],
"16": [
"(",
"node[natural];",
"way[natural];",
"relation[natural];",
")"
]
},
"feature": {

4
pt_routes.json

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

4
railway-infrastructure.json

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

4
walk_amenities.json

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

4
water.json

@ -1,8 +1,8 @@
{
"type": "overpass",
"name": {
"en": "Waterbodies",
"de": "Gewässer"
"de": "Gewässer",
"en": "Waterbodies"
},
"query": {
"10": [

Loading…
Cancel
Save