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

Place labels in Uganda #194

Open
wipfli opened this issue Dec 27, 2023 · 6 comments
Open

Place labels in Uganda #194

wipfli opened this issue Dec 27, 2023 · 6 comments

Comments

@wipfli
Copy link
Collaborator

wipfli commented Dec 27, 2023

Place labels in Uganda at high zooms look all the same. It is hard to differentiate between important cities and tiny hamlets.

https://maps.protomaps.com/#map=11.26/-1.2703/29.9839&theme=light&renderer=maplibregl&tiles=https://build.protomaps.com/20231226.pmtiles

I think it is a problem in OSM because organic maps also looks terrible in Uganda.

@bdon
Copy link
Member

bdon commented Dec 27, 2023

Agreed... unlikely we have NE as a fallback for this level of detail. Can you investigate if any of those places have Wikidata tags, and if so is QRank a realistic option for ranking?

@wipfli
Copy link
Collaborator Author

wipfli commented Dec 29, 2023

image

Important cities seem to have wikidata in Uganda.

@wipfli
Copy link
Collaborator Author

wipfli commented Dec 29, 2023

Here is how a QRank based map looks like: https://wipfli.github.io/swiss-map/#map=11.26/-1.2703/29.9839

@nvkelso
Copy link
Collaborator

nvkelso commented Jun 18, 2024

@wipfli want to submit a PR to add QRank to the populated places layer here in Protomaps? It looks like your example repo is a custom fork with a few other things going on...

I imagine a PR here would wire in qrank generally to the project and specifically in the places layer add another sort param (getSortKey function) in the existing label grid logic. So absent population information, we'd fallback to qrank before name length?

See also:

@wipfli
Copy link
Collaborator Author

wipfli commented Jun 18, 2024

Thanks for asking! The code in wipfli/swiss-map was actually written independently from scratch - and hence is a bit of a mess... I am happy to incorporate QRank for label hierarchy at some point in the future, but will first look into language customization.

@bdon
Copy link
Member

bdon commented Jun 19, 2024

We have QRank data being loaded but not used yet in our profile, so there's something to work off of.

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

3 participants