protomaps / protomaps/basemaps

Odd metadata issues

Open
#162 4 comments 0 reactions 1 assignee View on GitHub

@nvkelso is already working on this.

Since Oct 28, 2023.

Dominant language
Java
Stars
740
Forks
104
Avg merge
26m
Merged PRs (30d)
2

Description

Hello! This is a very cool project.

I've been trying to do styling of the most-current basemaps, and I've noticed lots of odd metadata errors. For example, the min_zoom on place=state entities outside of the United States is arbitrarily high (e.g., Northern Ireland doesn't show up until zoom=9, which is so zoomed in that it is kind of useless; Rhode Island is available at zoom=2, by comparison). And pmap:population_rank seems really wrong in some cases (Mexico has a population_rank of 1 with a population of 127 million, Cuba has a population_rank of 14 with a population of 11 million).

Anyway, my question is just: where is this particular metadata data being drawn or derived from? Mexico's OSM data did not have a population tag, so it makes sense that this might throw off its population_rank calculation. I checked and Norway also has no population data in the latest map built, even though its OSM entry does have it and has for some time. So I don't know.

My guess is that the zoom levels for states is also based on a population rank like most places? If so, perhaps it should be made a bit more liberal where place=state, because it is a little inflexible in its current form.

Thank you!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.