Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assign aerodrome kind_detail to runways. #1854

Merged
merged 1 commit into from
Mar 18, 2019

Conversation

zerebubuth
Copy link
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