Comments (2)
For reference, here's a small piece of a National Geographic map showing different styling for marine vs on land protected areas.
from openstreetmap-americana.
The effect I'm envisioning is something similar to how marinas currently render in openstreetmap-carto. I don't think mapLibre has a string "contains" function, however, I would not be opposed to creating an exhaustive list of protection titles that equate to marine areas and using that in a giant case statement in the style. Then, we could link it to the open issue in mapLibre expressing the need for a regex function.
Also, for the case of marine protected areas that include small bits of the shore or wetlands, I suspect it will be perfectly fine for the blue boundary to go partially over land.
Further, for render simplicity sake, perhaps we could simply render the marine boundary/label above the general protected area boundary styling, provided that we use the same or thicker-width line, so there will be no need to evaluate the mega-case-statement twice.
Since we'll need multiple copies of the mega-case-statement, this will be a good use case for separating it out into a separate variable in the javascript.
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.