ibikecph / cphbikes

I Bike CPH Carto (old)
2 stars 3 forks source link

Differentiate types of bike lanes #30

Closed sensescape closed 11 years ago

sensescape commented 11 years ago

3 types

cycleways - only for bikes - dotted blue line in osm

highway=cycleway

street with bike lane - painted line

highway=primary, cycleway:left=lane # painted lane

street with bike lane - raised curb highway=primary, cycleway:left=track # raised curb

sensescape commented 11 years ago

http://www.ibikecph.dk/#!/x4vc5.7hlk1/

sensescape commented 11 years ago

Trying to call these out:

copenhagen_line[highway='primary'][cycleway:left='lane']

is this right?

Also need to use cycleway:left=track

mojodna commented 11 years ago

Yup, that would do it, though I need to import some more data first. I'll reassign it back to you once I've had a chance to do that.

emiltin commented 11 years ago

you need to consider both: cycleway cycleway:left cycleway:right

mojodna commented 11 years ago

Data imported.

sensescape commented 11 years ago

Not rendering at zoom 16:

#copenhagen_line[cycleway='track']{
    ::bike_inline { line-width:20; line-color:#06ab06;}
}
sensescape commented 11 years ago

screen shot 2013-05-20 at 2 59 07 pm

sensescape commented 11 years ago

[cycleway='track'] is rendering at z14 (which is what it's targeting). This is still problematic:

#copenhagen_line[cycleway='track']['cycleway:left'='track']{
    ::bike_inline { line-width:20; line-color:#06ab06; line-offset: -10;}
  }
mojodna commented 11 years ago

This is working now, right?

sensescape commented 11 years ago

done