Comments (1)
Varying the text size is indeed a common technique for making larger cities stand out. Some maps and globes take it to an extreme, putting the text size on such an extreme scale that Los Angeles’ label is larger than many European countries’ landmasses. Another simple technique common on print maps is to set important cities’ labels in ALL CAPS. However, in my opinion, Metropolis Bold is too wide a font for an all-caps label to look polished.
Regarding the other techniques described in Justin O’Beirne’s article:
-
We already vary font weights by place classification.
-
We can easily add white opaque halos around city labels, but while this technique is very effective, it also feels dated. We currently apply translucent, blurred halos, but in some situations, they can reduce legibility instead of improving it. Related to the halo idea, knockouts are a tried-and-true technique for reducing map clutter around labels. I’d jump at the chance to add knockouts around bridges. However, this effect isn’t supported by MapLibre: mapbox/mapbox-gl-js#4969.
-
We could massively increase the
text-padding
onplace=city
labels, but a less important city could collide out a more important nearby city if we aren’t careful. -
The article describes “city donuts” that “clear the neighborhood” of nearby cities to make a central metropolitan city stand out. We can achieve this effect to a very limited extent by suppressing
place=suburb
s under a higher zoom level thanplace=town
s, but this won’t help with the lower zoom levels that O’Beirne describes. If a particular city is causing problems, we could bundle a GeoJSON of a generous polygon around that city and filter the place layer by whether a feature lieswithin
that polygon, but I don’t think this workaround squares with our general goal of reflecting OSM mapping.
from openstreetmap-americana.
Related Issues (20)
- National Historic Trail auto tour routes HOT 13
- Shields of the Dominican Republic
- Faroe Islands shields HOT 2
- Shields for Guernsey, Jersey and the Isle of Man HOT 1
- Shields of Malta
- Shields of Denmark
- Shields of Norway HOT 9
- Shields of Andorra
- Shields for the State of Mexico
- Norwegian names and language codes HOT 4
- Move this repo to the osm-americana organization HOT 7
- Make Americana an OSM US-supported project HOT 7
- Distinguish overlapping protected areas HOT 6
- Courthouses
- Campgrounds and potential new POI color HOT 1
- Change links from zelonewolf.github.io to americanamap.org
- random line in Gulf of Mexico HOT 2
- Additional Shields of Mexico City HOT 1
- Add shields for unorganized territory roads in Minnesota HOT 2
- Add option to print or export vector graphics
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 openstreetmap-americana.