Skip to content

Add IATA code as Airport label on zoom 12-14 - #56

Closed
CharliePlett wants to merge 0 commit into
OpenHistoricalMap:stagingfrom
CharliePlett:staging
Closed

CharliePlett wants to merge 0 commit into
OpenHistoricalMap:stagingfrom
CharliePlett:staging

Conversation

@CharliePlett

Copy link
Copy Markdown
Contributor

This adds the iata= and icao= as the airport label beside the icon on zoom levels 12 to 14.

image

@CharliePlett

Copy link
Copy Markdown
Contributor Author

If this gets approved then the icao= and iata= would need to be added to the vtiles for this to take effect.

@erictheise erictheise left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This appears to drop the Airport icon entirely. Is that intentional?

I'm looking at SFO, https://localhost:8888/#13/37.62525/-122.38144, using our current version of staging and one to three airplanes appear from zoom ~10-14. I don't see any airplanes using your branch. I also don't see any IATA code; the only text that appears relates to taxiways and "San Francisco International Airport", and those begin to display at zoom 13.

Our staging branch:
image

Your staging branch:
image

@erictheise

Copy link
Copy Markdown
Contributor

Seems exposing the data is still pending in OpenHistoricalMap/issues#1314

@CharliePlett

Copy link
Copy Markdown
Contributor Author

I'm pretty sure the icon was showing when I created the pull request. Did something else change over time?

@erictheise

Copy link
Copy Markdown
Contributor

I cloned your repo and am running your staging branch directly. I'd suspect that dropping

"icon-size": ["interpolate", ["linear"], ["zoom"], 10, 1.2, 14, 1.5],

is the cause.

@CharliePlett

Copy link
Copy Markdown
Contributor Author

Can you fix it?

@CharliePlett

Copy link
Copy Markdown
Contributor Author

I messed up and accidentally moved my latest cemeteries commit into this pull request.

@1ec5

1ec5 commented Apr 30, 2026

Copy link
Copy Markdown
Member

Seems exposing the data is still pending in OpenHistoricalMap/issues#1314

The tiles should be ready for this change now.

I messed up and accidentally moved my latest cemeteries commit into this pull request.

I think the issue is that you cut these PRs from your copy of the staging branch. Whenever you make a fork, you should create a branch off of the default branch for anything you want to PR. Otherwise, your PRs get intermingled by accident. Unfortunately it isn’t possible to fix this from our end, so either everything needs to be in good shape to merge (even if unrelated), or you need to close the PR and open a new one with a different branch.

@CharliePlett

Copy link
Copy Markdown
Contributor Author

It should be in good shape to merge. If not, then I'll do whatever needs to be done.

"filter": ["==", ["get", "type"], "aerodrome"],
"layout": {
"icon-image": "airport-18",
"icon-size": ["interpolate", ["linear"], ["zoom"], 10, 1.2, 14, 1.5],

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this deletion intentional? Without it, airport icons would be smaller than before.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it was intentional, but it's been a few months since I did that, so I'm not sure.

Comment thread historical/historical.json Resolved
@1ec5

1ec5 commented Jul 15, 2026

Copy link
Copy Markdown
Member

Oops, I tried to force-push a rebase of this branch, but it ended up force-pushing the main repository’s staging branch onto your fork, closing this pull request. Now I can’t force-push the rebased branch because the link between this PR and your staging branch has been broken. I’ll push the changes directly to the main repository.

@1ec5

1ec5 commented Jul 15, 2026

Copy link
Copy Markdown
Member

d339a37
31fa453

@1ec5

1ec5 commented Jul 16, 2026 •

Copy link
Copy Markdown
Member

I didn’t realize the cemetery pattern applies to all cemeteries regardless of religion (or the lack thereof). We need to make the pattern more sensitive: OpenHistoricalMap/issues#1406.

@CharliePlett

Copy link
Copy Markdown
Contributor Author

I didn’t realize the cemetery pattern applies to all cemeteries regardless of religion (or the lack thereof). We need to make the pattern more sensitive: OpenHistoricalMap/issues#1406.

Oh, that makes sense. For an easy fix we could just set the pattern if religion=christian, but definitely need more pattern symbols.

This branch was previously deployed

1 inactive deployment
github-pages — 2917f94c Deployed Jul 14, 2026 by 1ec5 via deploy #570
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.

Label airports by IATA code

3 participants