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

Switchable map layers #25

Open
Mashin6 opened this issue Jul 9, 2021 · 2 comments
Open

Switchable map layers #25

Mashin6 opened this issue Jul 9, 2021 · 2 comments

Comments

@Mashin6
Copy link
Contributor

Mashin6 commented Jul 9, 2021

The current problem of osm-carto is that it is a map for everything and nothing at the same time. It is supposed to serve mappers to check their mapping progress, but is also supposed to be for general public. It is just filled with too many different objects that make it too dense.

One way to go around is to have several separate tiles styles: 1. for public. 2. for mappers. 3. public transport ,...
-OR-
I was thinking that since the actual tile rendering is happening on the user side to have some sort of switches that would turn on/off displaying of some objects. So there will be one style for the tiles but the user would choose which parts of that styles would be displayed. For example there is no need to have the default of displaying of manhole covers and utility poles, but with a switch one can display them if needed.

Issues:
I don't know if this is technologically possible
Probably depends on solving of #9

@ZeLonewolf
Copy link
Member

There are a few distinct issues here that you're raising.

  1. osm-carto is too information dense. This is something I wholeheartedly agree with. Take for example, this screenshot from the Boston area at raster zoom 15. It does not make sense to draw buildings at this zoom level -- it adds clutter and reduces the readability of the street network. In the upper right corner there is a park, and several athletic fields are rendered. However, at this zoom level, the more important thing to see would be the park's name. The individual features within the park should be suppressed until a closer zoom, and this would increase readability. Similarly, a name on the school grounds would be far more useful to render than the building. At this zoom, the important features are the road network, road names, and major points of interest.

Ideally I would like Americana to have a "Goldilocks" level of information density: not too dense, but not too sparse, and that will take careful planning.

image

  1. Changing the map style on the fly. This is 100% doable with vector tiles and is one of the major selling points for it. In fact, here's an example of dynamically changing a rendered map style on the fly. The code for how to do this is not hard -- the hard part is the design work of coming up with what options we should offer to the map user! I am thinking that we could use the "wiki" section here in GitHub to start working out those design choices. Design work is hard, and it's not really my skill set.

  2. Custom layers currently we're based on OpenMapTiles, but that project may not want to have all of the things that we might want to have in our style (for example, manhole covers and utility poles). If OpenMapTiles is amenable to adding new data elements, we can contribute them to OpenMapTiles. For anything that's bespoke americana and not of interest to global users, we will need to create custom layers for that. So far, OpenMapTiles has welcomed our contributions (mostly geared towards highway shields). However, most of what we will want to display is probably already available, and we can just create new issues for features that are not currently present in the data set.

@Mashin6
Copy link
Contributor Author

Mashin6 commented Jul 9, 2021

Good point. If OpenMapTiles are so open to contributions, then the custom server is a low priority.

This was referenced Jul 12, 2022
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

2 participants