Nate-Wessel / bike-map

OSM-based map with bike-specific visual hierarchies
Other
9 stars 0 forks source link

Diminish motorways except where they touch streets #10

Open Nate-Wessel opened 4 years ago

Nate-Wessel commented 4 years ago

I had this crudely implemented before, but now it is not being handled.

I want to keep motorways and on-ramps on the map for context, but I don't want them to dominate visually or maintain continuity when seen from a distance. I.e. this is bad: Screenshot_2020-01-14_11-29-10

My thought was that their color could fade out as distance increases from a point of connection with the street network. I had some trouble implementing this in pure SQL with recursion.

Nate-Wessel commented 4 years ago

I've begun to implement this with the help of pgRouting, but it's a been a bit difficult to set rules for what counts as a point of contact with the street network.

Does a crosswalk/sidewalk count? Does a limited access "secondary" road count?

Nate-Wessel commented 4 years ago

I may actually want to expand "motorway" as a classification to include un-bikeable major roads.

Nate-Wessel commented 4 years ago

There are some problems with this still, but it is starting to look a lot better! Screenshot_2020-02-11_19-39-13