user:ika-chan!

From OpenStreetMap Wiki
Jump to navigation Jump to search
Ika-chan's OSM logo.png

In my wishlist

A bash script that makes it easy to install the entire OpenStreetMap server stack on a single server, like MediaWiki. I have been trying to build instructions, but progress is at a halt due to extremely poor mental health.

RFC TODO

  • Service and connecting roads
  • Historic alignments
  • Destinations

Overpass Turbo cheat sheet

Active queries

Main country Category Description Code Platform
Greece Railway Mainline railway tagging (type:way and railway=rail) and electrified=* and gauge=* and operator=ΟΣΕ and (ref=* or old_ref=*) and usage=* Overpass
Main country Description Code Platform
Greece Query to find roads where road numbers are in the wrong format. (type:way and highway=*) and ((reg_ref=* and reg_ref!~"^ΕΠ[0-9]{1,2}.*") or (ref=* and ref!~"^(Α|ΕΟ)[0-9]{1,3}.*") or (int_ref=* and int_ref!~"^E [0-9].*")) Overpass
Greece Query to find relations where road numbers are in the wrong format. (type:relation and route=road) and ((network!~"^GR:provincial.*" and ref!~"^(Α|ΕΟ|E )[0-9]{1,3}[α-ω]?$") or (network~"^GR:provincial.*" and (ref!~"^(Α1[0-9]{2}|[0-9]{4})[α-ω]?$" or reg_ref!~"^ΕΠ[0-9]{1,2}[α-ω]?$")))
Greece Query to find road signs where road numbers are in the wrong format. ("destination:reg_ref"=* and "destination:reg_ref"!~"^ΕΠ[0-9]{1,2}.*") or ("destination:ref"=* and "destination:ref"!~"^(Α|ΕΟ)[0-9]{1,3}.*") or ("destination:int_ref"=* and "destination:int_ref"!~"^E [0-9].*") Overpass
Greece Query to check motorway quality. type:way highway="^motorway.*" ((highway=motorway (((lanes>2 oneway=yes) -(placement "turn:lanes"))|-(ref name=* "name:fr"=*)))|-(lanes lit oneway smoothness surface toll)|((bridge=*|tunnel=*) -layer)) JOSM (Regex)
Greece Oneways type:way and highway=* and highway!~"^(motorway|service).*" and oneway=yes Overpass
United Kingdom Query to return all the surviving Philips MA SOX lanterns in London and the South East. type:node and lamp_model~"^Philips MA.*" Overpass
Anywhere Query to find objects with Google as its source. ~source~"^(G|g)oogle" Overpass

Syntax in blue are optional.

Disused queries

Main country Description Code
United Kingdom Query to check coverage of lighting data within the M25. type:way and lit!=* and highway~"^(motorway|trunk|primary|secondary|tertiary).*"
United Kingdom Query to check coverage of road numbers within the M25. type:way and ref!=* and highway~"^(motorway|trunk|primary|secondary).*"
United Kingdom Query to check coverage of speed limits within the M25. type:way and maxspeed!=* and highway~"^(motorway|trunk|primary).*"
United Kingdom Borismaster routes. type:relation and network="London Buses" and ref~"^(8|9|1(0|1|2|5|6)|24|38|55)$"

Construction cheat sheet

Road to be upgraded construction:highway=highway
Road to be widened construction:lanes=x+y and lanes=x
Road to be removed construction:highway=no

Ideas for WikiProject Greece

Classification

Country motorway trunk primary secondary tertiary unclassified
Greece Motorway Motorway Motorways National Road+E-road National Roads on E-roads

National Road+Motorroad Expressways

National Road Other National Roads Provincial Roads

Old National Road Old National Roads


Priority Road Main arterial roads in towns and cities.

Main roads to villages or settlements

Significant minor roads in towns and cities.

Less significant minor road.

Naming

Warning: Removing Macedonian or Turkish translations, without a good non-political reason, is against community rules.

Type Example(s) that you may encounter Tags Notes
Motorway Αυτοκινητόδρομος Αθήνα-Θεσσαλονίκη-Εύζωνοι name=Αυτοκινητόδρομος Αθήνα-Θεσσαλονίκη-Εύζωνοι These names are only used when there is no signed name or common name (e.g. Αττική Οδός or Ολυμπία Οδός).

The prefixes are kept to avoid confusion with the historic alignments.

Leave it to the renderer to abbreviate or shorten the names (e.g. Εθνική Οδός to ΕΟ).

National Road Εθνική Οδός Αθηνών-Πατρών name=Εθνική Οδός Αθηνών-Πατρών
Provincial Road Επαρχιακή Οδός Αθηνών-Πατρών name=Επαρχιακή Οδός Αθηνών-Πατρών
Old National Road Παλαιά Εθνική Οδός Αθηνών-Πατρών name=Παλαιά Εθνική Οδός Αθηνών-Πατρών
Old Provincial Road Παλαιά Επαρχιακή Οδός Αθηνών-Πατρών name=Παλαιά Επαρχιακή Οδός Αθηνών-Πατρών
Named avenues Λεωφόρος Αθηνών name=Αθηνών
name:prefix=Λεωφόρος (optional)
Prefixes for named roads are never used in practice (e.g. postal addresses).
Named streets Οδός Αθηνών name=Αθηνών
name:prefix=Οδός
Parallel road for a Motorway, National or Provincial Road Παράδρομος Εθνική Οδός Αθηνών-Πατρών name=Παράδρομος Εθνική Οδός Αθηνών-Πατρών (optional) name=Παράπλευρη Οδός is not acceptable, because it may cause confusion when two sets of parallel roads meet.
Parallel road for a named avenue or street Παράδρομος Αθηνών name=Παράδρομος Αθηνών

Motorway names

The default names may not apply to all sections (such as the Kifisou Avenue on the southern end of the Α1), as well as notable tunnels and bridges. In such cases, the route relation will suffice.

No. R Name Notes
Α1 Relation 362575 name=Αυτοκινητόδρομος Αθηνών-Θεσσαλονίκης-Ευζώνων
short_name=Αυτοκινητόδρομος ΑΘΕ
old_name=Αυτοκινητόδρομος Πατρών-Αθηνών-Θεσσαλονίκης-Ευζώνων
old_short_name=Αυτοκινητόδρομος ΠΑΘΕ
Use name:prefix=Λεωφόρος+name=Κηφισού until about halfway between junction 9 and 10, where the Cephissus river diverges.
Old names only apply from junction 15 upwards.
Α11 Relation 5944561 name=Αυτοκινητόδρομος Σχηματαρίου-Χαλκίδας
Α12 Relation 967543 name=Αυτοκινητόδρομος Βελεστίνου-Βόλου Under construction
Α2 Relation 226778 name=Εγνατία Οδός
Α24 Relation 5921590 name=Περιφερειακή Οδός Θεσσαλονίκης
Α242 Relation 6243069 name=Αυτοκινητόδρομος Αεροδρομίου Θεσσαλονίκης
Α25 Relation 553772 name=Αυτοκινητόδρομος Λαγκαδάς-Προμαχώνας
Α27 Relation 411245 name=Αυτοκινητόδρομος Νίκης-Κοζάνης
Α29 Relation 1243403 name=Αυτοκινητόδρομος Σιάτιστας-Κρυσταλλοπηγής
Α3 Relation 1274761 name=Αυτοκινητόδρομος Κεντρικής Ελλάδας
Α5 Relation 414479 name=Ιόνια Οδός
Α52 Relation 1244301 name=Αμβρακία Οδός
Α6 Relation 363465 name=Αττική Οδός
Α62 Relation 5832223 name=Αυτοκινητόδρομος Αεροδρομίου Caution: ΦΕΚ 253ΑΑΠ/2015 renumbered these roads, but the changes were never implemented.
Α64 Relation 364163 name=Περιφερειακή Υμηττού
Α642 Relation 364236 name=Περιφερειακή Υμηττού
Α65 Relation 363465 name=Περιφερειακή Αιγάλεω
Α7 Relation 363845 name=Αυτοκινητόδρομος Κεντρικής Πελοποννήσου
Α71 Relation 6464010 name=Αυτοκινητόδρομος Λεύκτρου–Σπάρτης
Α8 Relation 363481 name=Ολύμπια Οδός+alt_name=Αυτοκινητόδρομος Αθηνών-Πατρών Both names may be valid.
Α90 Relation 8017874 name=Βόρειος Οδικός Άξονας Κρήτης+short_name=ΒΟΑΚ

Named bridges and tunnel

The choice of keys depend on notability.

Named Notable Bridge or tunnel name Road name Notes
OK! OK! name=* alt_name=* Examples include the Charilaos-Trikoupis Bridge on the Α5, and the Tempe Tunnel T2 on the Α1.
OK! Nay! tunnel:name=* name=* Examples include the Metamorfosi Tunnel on the A6.