You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2009-08-24 19:21:01

benthos
Member
Registered: 2009-08-24
Posts: 2

time based one-way street

Hi everyone, I've been experimenting with openstreetmap and have been able to figure out most of the stuff from the wiki and/or examples, but this problem has me stumped.

There is a bridge in Montreal that is 2 lane bridge. In general it's a 2-way bridge. But during the morning rush hour, both lanes are oneway into the city, and in the evening rush hour, both lanes are oneway leaving the city.

I've found the time restrictions, but how to actually apply it to a one-way/two-way situation. Any ideas?

Offline

#2 2009-08-24 20:15:18

Tordanik
Moderator
From: Germany
Registered: 2008-06-17
Posts: 2,840
Website

Re: time based one-way street

benthos wrote:

There is a bridge in Montreal that is 2 lane bridge. In general it's a 2-way bridge. But during the morning rush hour, both lanes are oneway into the city, and in the evening rush hour, both lanes are oneway leaving the city.

I suggest conditional tagging, see here and here. It's just a proposal at the moment, of course, but some things simply cannot be expressed without that way of tagging.

For example:

oneway:(Mo-Fr 06:00-09:00) = yes
oneway:(Mo-Fr 15:00-18:00) = -1

The days/hours and yes/-1 values depend on what's valid for that particular street, of course.


OSM in 3D: OSM2World

Offline

#3 2009-08-26 18:40:00

benthos
Member
Registered: 2009-08-24
Posts: 2

Re: time based one-way street

Perfect, exactlly what I was looking for.

Thanks

Offline

Board footer

Powered by FluxBB