Comments (4)
The min_zoom is derived from Natural Earth and @nvkelso 's work, and those are hand-edited values for generalization because OSM does not store non-verifiable information. Same with population_rank.
States are a special case because ideally we want to show all of the states at the same time or none of them in the cases where we label them at a low zoom.
Screenshots would be helpful
from basemaps.
I don't think a screenshot is all that useful here since I'm talking about metadata.
If you load up the latest pmtiles archive in the PMTiles Viewer (I am using 20231025), and look at the data that shows up for Mexico's name entry on the places layer, this is what it currently has if you strip out all of the name translations:
pmap:kind_detail country
pmap:population_rank 1
population 0
name México
place country
pmap:kind country
wikidata Q96
pmap:kind earth
By comparison, the United States has a a pmap:population_rank of 17. If the population_rank is 1, it means that the metadata has 0 for the population, I think. Norway has the same issue.
And, again, the US states are given very low zoom levels — which is fine! — but some other states of similar significances, like Wales, Scotland, Northern Ireland, etc. (which are considered state-level entities part of the United Kingdom) have really, really high minimum zooms, so you will just never see the state name unless you are happening to zoom in on just the right part of the map. Scotland's name won't show up until zoom=8 which is really high for a place the size of Scotland, and you have to know exactly where it is if you are ever going to see it, because Scotland is relatively large compared to that zoom:
There should be a way to update these things without resorting to doing it manually, no? OSM definitely allows one to add population data into its entries. I had imagined that the pipeline would take the OSM population field and then run something on it to make a population_rank field, but I guess not?
(Is Natural Earth being updated? The last build on their website seems to be from 2018.)
from basemaps.
These all sound like data, curation, and/or data join issues. Thanks for the examples, I'll dig into them.
FYI: Last Natural Earth update was in 2022, and we're preparing version 6 for release in 2024.
from basemaps.
I don't think a screenshot is all that useful here since I'm talking about metadata.
Our design principle is that the key/value tags in the tileset drive the visual style; the tileset is not meant to be a general-purpose geodatabase. Tags such as pmap:population_rank
are used to determine the size or font-weight of the textual label associated with that. So screenshots are always useful because the end result of erroneous tags like you pointed out are inappropriately sized or missing labels at a specific zoom level in the map. You're right that there seems to be some odd numbers in there - we'll investigate.
from basemaps.
Related Issues (20)
- Low contrast in the "contrast" style HOT 5
- pmtiles center coordinates wrong (was:not able to render pmtiles file in maplibreGL) HOT 7
- Place labels in Uganda HOT 3
- Poor low-zoom generalization of linear water features comprised of areas HOT 1
- More simplification on country borders HOT 3
- Some landuse elements missing: village_green, allotments, playground HOT 6
- School Building heights are being incorrectly parsed/inferred HOT 3
- Rome vs Vatican State HOT 5
- Disconnected roads at zooms < 6 HOT 3
- Major road minzoom HOT 3
- More baselayers HOT 3
- make monaco fails on first run HOT 1
- better minzoom ranking for water labels HOT 1
- TS and JS build files of npm package out of sync HOT 19
- export 'default' (imported as 'layers') was not found in 'protomaps-themes-base' (module has no exports) HOT 5
- Add basic support for sprites HOT 5
- Mechanism for disputed map labels HOT 2
- Generate basemap with richer/more specific tags/layers HOT 4
- City name "Poitiers" not completely displayed when using MapLibre HOT 1
- Buildings with 'railway'-tag also show a railway outline HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from basemaps.