User:TobiBS/Kosmos ICAO Map Germany Rules

From OpenStreetMap Wiki
Jump to navigation Jump to search

Rules for a page based on OSM data that looks like the German ICAO Map: http://www.flightplanner.de/legenden/ICAOD.png

Options

Option Value Comment
MinKosmosVersion 2.1 Minimal version of Kosmos needed to use these rules
LandBackgroundColor #FFFFFF
SeaColor #C8E5FF

Background areas

Riverbank area waterway=riverbank Polygon (Color=#CADFF4)
Land area natural=land Polygon (Color=#FFFFFF)

Grundlage/Basic

River way waterway=river Polyline (MinZoom=6, Color=#C8E5FF, Width=2:1;17:8, Curved=true)
Wald1
Wood1
area landuse=forest Polygon (MinZoom=6, Color=#D3EBBB)
Wald2
Wood2
area landuse=wood Polygon (MinZoom=6, Color=#D3EBBB)
Wald3
Wood3
area natural=wood Polygon (MinZoom=6, Color=#D3EBBB)

Eisenbahn/Railway

Eisenbahn1
Railway1
way railway=rail Polyline (MinZoom=8, Color=#000000, Width=6:2;17:4) EliminateSeams
Eisenbahn stillgelegt
Railway disused
way railway=disused Polyline (MinZoom=8, Color=#000000, Width=6:2;17:4, DashStyle=Dash) EliminateSeams

Straßen/Streets

Autobahnauffahrt
Dual highway entry
way highway=motorway_link Polyline (MinZoom=8, Color=#FF0000, Width=6:2;17:4) EliminateSeams
Autobahn
Dual highway
way highway=motorway Polyline (MinZoom=6, BorderWidth=100%, BorderColor=#FF0000, Color=#FFFFFF, Width=6:2;17:4) EliminateSeams
Fernverkehrsstraße1
Primary Road1
way highway=trunk Polyline (MinZoom=8, Color=#FF0000, Width=6:2;17:4) EliminateSeams
Fernverkehrsstraße2
Primary Road2
way highway=primary Polyline (MinZoom=8, Color=#FF0000, Width=6:2;17:4) EliminateSeams
wichtige Verbindungsstraße
Secondary Road
way highway=secondary Polyline (MinZoom=8, Color=#FF0000, Width=6:1;17:2) EliminateSeams

Bebaute Gebiete/Built-Up Areas

Großstadt
City
area place=city Polygon (MinZoom=6, Color=#FFFF00, BorderColor=#606060, BorderWidth=6:1;17:1)
Text (MinZoom=6, Color=#000000, TagToUse=name, FontName=Arial, FontStyle=bold, FontSize=6:10;17:12, TextMode=AreaCenter)
Towntag
area place=town
.Stadt
Town
50.000 - 100.000
area IsTaggedWith(e,"population") AND ValueNum(e,"population") > 50000 AND ValueNum(e,"population") <= 100000 Polygon (MinZoom=6, Color=#FFFF00, BorderColor=#606060, BorderWidth=6:1;17:1)
Text (MinZoom=6, Color=#000000, TagToUse=name, FontName=Arial, FontStyle=bold, FontSize=6:8;17:10, TextMode=AreaCenter)
.Stadt
Town
20.000 - 50.000
area IsTaggedWith(e,"population") AND ValueNum(e,"population") > 20000 AND ValueNum(e,"population") <= 50000 Polygon (MinZoom=6, Color=#FFFF00, BorderColor=#606060, BorderWidth=6:1;17:1)
Text (MinZoom=6, Color=#000000, TagToUse=name, FontName=Arial, FontStyle=bold, FontSize=6:8;17:10, TextMode=AreaCenter)
.Ortschaft1
Village1
5.000 - 20.000
node IsTaggedWith(e,"population") AND ValueNum(e,"population") >= 5000 AND ValueNum(e,"population") <= 20000 Symbol (MinZoom=11, Type=Circle, Size=11:6;17:8, Color=#FFFF00, BorderColor=#606060, BorderWidth=10%)
Text (MinZoom=11, Color=#000000, TagToUse=name, FontName=Arial, FontStyle=bold, FontSize=11:6;17:8, TextLineOffset=-100%)
Villagetag node place=village
.Ortschaft2
Village2
5.000 - 20.000
node IsTaggedWith(e,"population") AND ValueNum(e,"population") >= 5000 AND ValueNum(e,"population") <= 20000 Symbol (MinZoom=11, Type=Circle, Size=11:6;17:8, Color=#FFFF00, BorderColor=#606060, BorderWidth=10%)
Text (MinZoom=11, Color=#000000, TagToUse=name, FontName=Arial, FontStyle=bold, FontSize=11:6;17:8, TextLineOffset=-100%)

Obstructions for low-flying charts

Tall buildings (building=* with height>...) should probably be marked here

PowerLines way power=line Polyline (MinZoom=13, Color=#FF0000, Width=12:1;17:2)
PowerTower node power=tower Symbol (Type=Diamond, MinZoom=14, Color=#FF0000, Density=12:10;17:10, Size=14:4;17:4)
CableCars way aerialway=* Polyline (MinZoom=12, Color=#FF0000, Width=14:1;17:3)
Tower1 node tower=* Symbol (MinZoom=13, Type=Diamond, Size=14:1;17:8, Color=#FF0000)
Tower2 node man_made=tower Symbol (MinZoom=13, Type=Diamond, Size=14:1;17:8, Color=#FF0000)

Tall buildings

TallBuildings way IsTaggedWith(e,"height") AND ValueNum(e,"height") > 100 Polygon (MinZoom=13, Color=#ff0000)

Lufträume/Airspace

Airspace area aeroway=airspace
.Controlzone area class=D ctr=yes Polygon (MinZoom=8, MaxZoom=13, BorderDashStyle=Dash, Color=#60FF0000, BorderColor=#0000FF, BorderWidth=8:4;13:6)
Text (MinZoom=8, MaxZoom=13, Color=#FF0000, TagToUse=class, TextMode=WayCenter, FontName=Arial, FontStyle=bold, FontSize=13:10;17:14, TextLineOffset=100%)
Text (MinZoom=8, MaxZoom=13, Color=#FF0000, TagToUse=upper_limit, TextMode=WayCenter, FontName=Arial, FontStyle=bold, FontSize=13:10;17:14, TextLineOffset=0%)
Text (MinZoom=8, MaxZoom=13, Color=#FF0000, TagToUse=upper_limitType, TextMode=WayCenter, FontName=Arial, FontStyle=bold, FontSize=13:10;17:14, TextLineOffset=-100%)
Controlzone.png
.Restricted area class=restricted Polygon (MinZoom=8, MaxZoom=13, BorderDashStyle=Solid, HatchStyle=BackwardDiagonal, Color=#0000FF, BorderColor=#0000FF, BorderWidth=8:4;13:6)
Text (MinZoom=8, MaxZoom=13, Color=#0000FF, TagToUse=ref;class, TextMode=WayCenter, FontName=Arial, FontStyle=bold, FontSize=13:10;17:14, TextLineOffset=100%)
Text (MinZoom=8, MaxZoom=13, Color=#0000FF, TagToUse=upper_limit, TextMode=WayCenter, FontName=Arial, FontStyle=bold, FontSize=13:10;17:14, TextLineOffset=0%)
Text (MinZoom=8, MaxZoom=13, Color=#0000FF, TagToUse=lower_limit, TextMode=WayCenter, FontName=Arial, FontStyle=bold, FontSize=13:10;17:14, TextLineOffset=-100%)
Restricted Airspace.png

Meldepunkte/Reporting Points

Meldepunkte VFR
Reporting Points VFR
node aeroway=reportingpoint
.Pflichtmeldepunkte
Mandatory
node mandatory=yes Icon (MinZoom=9, MaxZoom=13, IconUrl=http://wiki.openstreetmap.org/images/e/e4/Reportingpoint_mandatory.png, Width=13:30;17:30) Text (MinZoom=9, MaxZoom=13, Color=#0000FF, TagToUse=ref, FontName=Arial, FontStyle=regular, FontSize=13:8;17:12, TextLineOffset=-200%) Reportingpoint mandatory.png
.Meldepunkte auf Anforderung
Not Mandatory
node mandatory=no Icon (MinZoom=11, MaxZoom=13, IconUrl=http://wiki.openstreetmap.org/images/f/f5/Reportingpoint.png, Width=13:30;17:30) Text (MinZoom=11, MaxZoom=13, Color=#0000FF, TagToUse=ref, FontName=Arial, FontStyle=regular, FontSize=13:8;17:12, TextLineOffset=-200%) Reportingpoint.png

Stuff within airports

This should go only on the approach plates, not on the navigation chart

Apron way aeroway=apron Polygon (MinZoom=14, Color=#808080)
Taxiway way aeroway=taxiway Polyline (MinZoom=14, Color=#000000, Width=12:1;17:5)
Taxiway Text way aeroway=taxiway Text (MinZoom=14, Color=#000000, BorderColor=#E000000, BorderWidth=2, BackgroundColor=white, TagToUse=ref;name, TextMode=WayCenter, FontName=Arial, FontStyle=bold, FontSize=13:8;17:12)

Helicopter facilities

Just default icon from Kosmos General Purpose Rules

HelipadNode node aeroway=helipad Icon (MinZoom=12, IconUrl=http://wiki.openstreetmap.org/images/f/f7/Helipad20.png, Width=12:5;17:20)

Runways

Note: these need to be not-to-scale later - the airport diagram comprising its runways needs to be a big symbol even at low zoom

Runway way aeroway=runway Polyline (MinZoom=12, Color=#000000, Width=11:10;17:10)
Runway Text way aeroway=runway Text (MinZoom=14, Color=#000000, BorderColor=#000000, BorderWidth=2, BackgroundColor=white, TagToUse=ref;name, TextMode=AreaCenter, FontName=Arial, FontStyle=bold, FontSize=13:8;17:12)

Airport labels

We need to be able to combine lots of different fields' data into one infobox for the airport, e.g. name, ICAO, IATA, frequencies, and put a border/background around the whole lot

IcaoCode node aeroway=airport Text (MinZoom=9, Color=#3761DF, TagToUse=icao, FontName=Arial, FontStyle=regular, FontSize=9:11;17:15, TextLineOffset=60%)
AirportName node aeroway=airport Text (MinZoom=9, Color=#3761DF, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=9:11;17:15, TextLineOffset=-50%)

TODO: does OSM use aerodrome (how quaint) or airport?

Low-zoom airport labels

LowZoomAirport node aeroway=airport Text (MaxZoom=9, Color=#3761DF, TagToUse=icao, FontName=Arial, FontStyle=regular, FontSize=3:4;9:11)
LowZoomAirport2 node aeroway=aerodrome Text (MaxZoom=9, Color=#3761DF, TagToUse=icao, FontName=Arial, FontStyle=regular, FontSize=3:4;9:11)

<--

Screenshots

-->