Kosmos AirNav Rules

From OpenStreetMap Wiki
Jump to navigation Jump to search

Ideas for what an Aeronautical chart might look like using OSM data.

Options

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

Background areas

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

Ground-level map

This probably wants to be quite faint since it's only for correlating the map with what you can see in VFR view.

Rivers in blue since they will sparkle and reflect and be easy to see.

Large roads are all "just roads" - we don't care what designation they are, other than where it affects their width.

River way waterway=river Polyline (MinZoom=5, Color=#CADFF4, Width=5:1;17:6, Curved=true)
HighwaySecondary way highway=secondary Polyline (MinZoom=6, Color=#DFDFDF, Width=6:1;17:5) EliminateSeams
HighwayPrimary way highway=primary Polyline (MinZoom=6, Color=#DFDFDF, Width=6:1;17:5) EliminateSeams
HighwayPrimaryLink way highway=primary_link Polyline (MinZoom=6, Color=#DFDFDF, Width=6:1;17:5) EliminateSeams
HighwayTrunk way highway=trunk Polyline (MinZoom=6, Color=#DFDFDF, Width=6:1;17:5) EliminateSeams
HighwayTrunkLink way highway=trunk_link Polyline (MinZoom=6, Color=#DFDFDF, Width=6:1;17:5) EliminateSeams
HighwayMotorway way highway=motorway Polyline (MinZoom=6, Color=#DFDFDF, Width=6:1;17:7) EliminateSeams
HighwayMotorwayLink way highway=motorway_link Polyline (MinZoom=6, Color=#DFDFDF, Width=6:1;17:5) EliminateSeams

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)

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)

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=11, Color=#000000, Width=11:10;17:10)

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

Please improve: