Skip to content

Canals rendering over waterways #1132

Closed
OpenHistoricalMap/map-styles
#45

Description

@CharliePlett

Activity

  1. changed the title [-]Canals rendering over wateryways[/-] [+]Canals rendering over waterways[/+] on Sep 29, 2025
  2. jeffreyameyer commented on Sep 29, 2025

    @jeffreyameyer
    Member

    waterway=canal lines are currently rendered a) with a different color blue than rivers, and b) with the dashed line casing.

    I like the dashed line casing, but waterway=canal isn't supposed to be applied to areas, so I'm not sure how well this styling works for canals like those in Amsterdam or London (shown below).

    Image

    What would you think about just changing the color to match rivers and to remove the casing? Something like this:

    Image
  3. jeffreyameyer commented on Sep 29, 2025

    @jeffreyameyer
    Member

    Branch ready for pull request pending Charlie's feedback.

  4. CharliePlett commented on Sep 29, 2025

    @CharliePlett
    Author

    I agree with the matching color, but maybe it could still be styled a little differently so you can see it's a canal and not a stream? I also thought you could just render it under water areas, but maybe that's not feasible.

  5. jeffreyameyer commented on Sep 29, 2025

    @jeffreyameyer
    Member

    The layering you suggest is definitely feasible, but we should discuss the overall goals here. I think the key is to discuss which parts of the styling are most appealing to you & why do you like them? (Not trying to make a big deal here, just trying to make sure we fully understand what you're after. :) )

    Casing

    I think to do this, we would need to get rid of any casing on the line styling & just make waterway=canal lines and areas the same color, which would be slightly different from other waterways.

    If we don't get rid of the casing,we will have a stripe down the middle of wider canals, like the example from London:

    Image

    Clearly, there are some other styling bugs there, like canals going over bridges instead of under, but you can see how it looks like there's a canal in the middle of a wider waterway.

    I do like the idea of creating a style for canal walls, perhaps on the waterway=* area, but that might entail a lot of extra effort (breaking down a simple closed way into segments in order to tag the segments as walls (as opposed to segments that cross the riverway) & reassembling those segments into a relation; or, overlaying open segments on top of the edge of actual canal walls. At least, that's all I can think of right now.

    Colors

    If we removed the casing from waterway=canal and make both the line and area for that tag be a slightly different color from other waterways. In general, I would think the straight parallel walls of the canal would be enough of a visual cue, but maybe there are other ways?

    A question I would have in this case: would the different color be a bigger contextual clue than the parallel walls in letting the viewer know this is a canal? For example, what would be a casual viewers' response to the differentiated color? How would they figure out where to find out what the color change represented. I'm inclined to keep things simple and have all water be the same color, but other users and cartographers may feel differently!

    As you can see from the same area in OSM, there's really no special visual differentiation between canals and other waterways in OSM. And... little attention paid to the guidance that waterway=canal doesn't apply to closed ways/areas.

    Image
  6. CharliePlett commented on Sep 29, 2025

    @CharliePlett
    Author

    It's fine. I guess I just got used to Canals being rendered differently than waterways, and I kind of liked it. It gives the map more character, which is very good for OHM as we don't have as many details yet. On OSM a canal is not as important of a feature as on OHM (in my opinion).

  7. jeffreyameyer commented on Sep 29, 2025

    @jeffreyameyer
    Member

    @rwelty1889 - you've done a lot of canal mapping & I know much of the Erie Canal is mapped as lines & not areas. @CharliePlett makes some good points here. Any thoughts?

  8. 18 remaining items

  9. moved this from PR requested to In map-styles repo in OHM Cartoon Oct 15, 2025
  10. moved this from In map-styles/staging branch to Tested in staging in OHM Cartoon Oct 28, 2025
  11. jeffreyameyer commented on Oct 28, 2025

    @jeffreyameyer
    Member

    @CharliePlett @rwelty1889 -

    On staging now!

    I have tested, so we can fix anything weird in our next deploy. In the meantime, please take a look and see if you see any untoward behavior.

  12. removed their assignment
    on Oct 28, 2025
  13. CharliePlett commented on Oct 28, 2025

    @CharliePlett
    Author

    Looks great in my area!

  14. moved this from Tested in staging to Live in production in OHM Cartoon Oct 29, 2025
  15. jeffreyameyer commented on Oct 29, 2025

    @jeffreyameyer
    Member

    Live in production! Closing! cc: @CharliePlett

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Projects

  • Status
    Live in production

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions