-
Notifications
You must be signed in to change notification settings - Fork 364
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
Custom styles for lines #70
Comments
No opinion or thoughts on this yet, but nice issue description! Adding @Shrinks99 comment from another closed issue here as I think there is a partial overlap, he asks for customizable street geometries.
|
@chrieke Thanks! Yes, this issue fully overlaps with my thoughts in #60. Everything in the above example makes sense to me, as long as users are able to pull any arbitrary key value pair from OSM and style it however they choose, I'm a happy camper! Integrating this into a single nested dictionary would be great :) |
Hello, I'd like to work on the project by fixing this issue. Can you assign this to me? Thanks |
Hi, thanks for this library. I've very much enjoyed playing with it. It has just the right amount of complexity to do what I need while still being easy to use.
I have one question/feature request: I'd like to map certain lines (not polygons) but in a different style than what I've configured for streets. Specifically I'd like to draw a
waterway=stream
which is mapped as a line not a polygon, but I would like it to be blue instead of the color of streets.If this is already possible then the rest can be ignored, but if not I thought I would ask for thoughts on how this could be implemented.
It seems that the streets landcover class is treated specially. I would like to make it configurable somehow. The easiest solution to implement would be to add a list configuring classes to be treated like streets.
But if we could change the way landcover classes are configured we could remove the special handling for streets and also merge in the width configuration (and possibly styles?) I was thinking something like moving the tags on the landcover classes down one level to allow specifying if they represent an area or line, and then make the lines take a dict with the value being their width. For example:
Additional ideas/thoughts:
If we could roughly agree on a way to configure this I'd be happy to attempt implementing it. There are an infinite ways this could be configured and this is just one idea, I'm very much open to any other ideas as well.
The text was updated successfully, but these errors were encountered: