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

Backfill population estimates on OSM places #1992

Closed
nvkelso opened this issue Nov 13, 2021 · 1 comment
Closed

Backfill population estimates on OSM places #1992

nvkelso opened this issue Nov 13, 2021 · 1 comment
Milestone

Comments

@nvkelso
Copy link
Member

nvkelso commented Nov 13, 2021

Some OSM places included in Tilezen's places layer have a null population which mean's they get assigned a population_rank of 0.

This can make it difficult to style a map using population_rank alone, instead you have to dip into the kind_detail values to understand the relative importance of cities say 20k default, towns 5 to 10k default, villages, hamlets, isolated settlements and so on. The population_rank should be more reliable.

We can accomplish this by backfilling population at query time when it's missing in the OSM data, and then the population_rank transform will calculate a value based on that estimate.

We should choose a lowish estimate for that type of feature, so medium and large population features would get a larger size than a unknown population size. And the range of estimate values for city, town, village, hamlet and so on should gradually decrease in estimate so null population sizes between them fade off logically, too.

@nvkelso nvkelso added this to the v1.9.0 milestone Nov 13, 2021
nvkelso added a commit that referenced this issue Nov 13, 2021
@nvkelso
Copy link
Member Author

nvkelso commented Apr 29, 2022

Via #1993 and then #2013.

@nvkelso nvkelso closed this as completed Apr 29, 2022
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

No branches or pull requests

1 participant