Skip to content

Assign aerodrome kind_detail to runways.#1854

Merged
zerebubuth merged 1 commit intomasterfrom
zerebubuth/1852-runway-kind-detail
Mar 18, 2019
Merged

Assign aerodrome kind_detail to runways.#1854
zerebubuth merged 1 commit intomasterfrom
zerebubuth/1852-runway-kind-detail

Conversation

@zerebubuth
Copy link
Copy Markdown
Member

Aerodrome polygons are (usually) used to map the footprint of an airport, and often have an aerodrome:type tag to indicate whether it's an international or domestic airport. We added that as kind_detail in #1277 to the aerodrome polygons, but it's useful to know that information on runways also. This allows us to hide runways of smaller airports and emphasise those of bigger (international) ones.

This extends the intercut / overlap methods to add "where" clauses, so that we can select those features within the layer which are being cut or used for cutting. We can then overlap the aerodrome polygons with the runways (lines in roads layer, polygons in landuse) to assign the kind_detail.

Worth noting; we already had a kind_detail on the runway lines in the roads layer, so I've called this new attribute aerodrome_kind_detail instead.

Connects to #1852.

Aerodrome polygons are (usually) used to map the footprint of an airport, and often have an `aerodrome:type` tag to indicate whether it's an international or domestic airport. We added that as `kind_detail` in #1277, but it's useful to know that information on runways also. This allows us to hide runways of smaller airports and emphasise those of bigger (international) ones.

This extends the intercut / overlap methods to add "where" clauses, so that we can select those features within the layer which are being cut or used for cutting. We can then overlap the aerodrome polygons with the runways (lines in `roads` layer, polygons in `landuse`) to assign the `kind_detail`.

Worth noting; we already had a `kind_detail` on the runway lines in the `roads` layer, so I've called this new attribute `aerodrome_kind_detail` instead.
@zerebubuth zerebubuth merged commit 16da319 into master Mar 18, 2019
@zerebubuth zerebubuth deleted the zerebubuth/1852-runway-kind-detail branch March 18, 2019 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants