mapbox / osm-bright

A Carto template for OpenStreetMap data
BSD 3-Clause "New" or "Revised" License
697 stars 225 forks source link

One way arrows are not reversed correctly when oneway=-1 #63

Open tommueller opened 11 years ago

tommueller commented 11 years ago

Hi,

just had the problem, that the arrows on a oneway street where heading in the wrong direction. Turned out that it is a oneway=-1 street. The Carto code in OSM Bright is

  [oneway=-1] { marker-file: url(img/icon/oneway-reverse.svg); }

But the oneway-value is not stored as integer in my osm2pgsql import, so I fixed this using:

  [oneway='-1'] { marker-file: url(img/icon/oneway-reverse.svg); }

Thanks for the beautiful start-off-theme! Tom

stevevance commented 11 years ago

This fixed it for me! Thank you for catching this.