Viewing 11 posts - 16 through 26 (of 26 total)
  • Author
    Posts
  • #15043
    Avatar photoJohnPercy
    Participant

    My proposal would simply be that

    cycleway:left=opposite_lane and cycleway:right=opposite_lane
    cycleway:left=opposite_track and cycleway:right=opposite_track

    be treated as equivalent to

    cycleway:left=lane and cycleway:right=lane
    cycleway:left=track and cycleway:right=track

    adding (expanding your change of 8 December 2015)

    oneway:bicycle=no

    In the examples below, I have rendered lanes and tracks differently. And I drive on the left!

    Screenshot_2016-12-31-12-49-00
    Showing the difference between rendering of cycle tracks and cycle lanes (current mapping)

    Screenshot_2016-12-30-18-32-18
    Showing proposed rendering of contraflow cycle lanes and tracks in a one way street (using proposed tag transform)

    Screenshot_2016-12-31-12-45-59
    Showing rendering of a one-sided cycle track with two-way cycle traffic (using oneway:bicycle=no as at present)

    Voluntary and Velocity themes - https://voluntary.nichesite.org

    #15079
    Avatar photoChristianK
    Keymaster

    Hi John,

    cycleway:left=track AND cycleway:right=track to cycleway_track=cw_track_both
    cycleway:left=lane AND cycleway:right=lane to cycleway_lane =cw_lane _both

    … will be included in the January update.

    Once the update is online I willl try the “opposites” and provide a download link for this version of UK-map.

    Thanks for your efforts and best regards
    Christian

    #15439
    Avatar photoChristianK
    Keymaster

    Hi John,

    For the next update I modified the TagTransform:

    	
    
    <!-- cycleway lanes/tracks -->
    	<translation>
    		<name>unify oneway:bicycle=no and transfor to oneway:bicycle=ow_bic_no</name>
    		<description>unify oneway:bicycle=no</description>
    		<match mode="and">
    			<match mode="or" type="way">
    				<tag k="oneway"  v="yes"/>
    			</match>	
    			<match mode="or" type="way">
    				<tag k="cycleway" v="opposite"/>
    				<tag k="cycleway" v="opposite_track"/>
    				<tag k="cycleway" v="opposite_lane"/>
    				<tag k="cycleway(:left|:right)" v="opposite_track"/>
    				<tag k="cycleway(:left|:right)" v="opposite_lane"/>
    				<tag k="oneway:bicycle" v="no"/>
    			</match>
    		</match>			
    		<output>
    			<copy-all/>
    			<tag k="oneway:bicycle" v="ow_bic_no"/>
    		</output>
    	</translation>	
    
    	<translation>
    		<name>cycleway lanes</name>
    		<description>cycleway lanes</description>
    		<match mode="or" type="way">
    			<match mode="and" type="way">
    				<tag k="cycleway:left" v="lane"/>
    				<tag k="cycleway:right" v="lane"/>
    			</match>			
    			<match mode="and" type="way">
    				<tag k="cycleway:left" v="opposite_lane"/>
    				<tag k="cycleway:right" v="opposite_lane"/>
    			</match>			
    		</match>
    		<output>
    			<copy-unmatched/>
    			<tag k="cycleway_lane" v="cw_lane_both"/>
    		</output>
    	</translation>	
    
    	<translation>
    		<name>cycleway tracks</name>
    		<description>cycleway lanes</description>
    		<match mode="or" type="way">
    			<match mode="and" type="way">
    				<tag k="cycleway:left" v="track"/>
    				<tag k="cycleway:right" v="track"/>
    			</match>			
    			<match mode="and" type="way">
    				<tag k="cycleway:left" v="opposite_track"/>
    				<tag k="cycleway:right" v="opposite_track"/>
    			</match>			
    		</match>		
    		<output>
    			<copy-unmatched/>
    			<tag k="cycleway_track" v="cw_track_both"/>
    		</output>
    	</translation>		
    
    

    Please take a look if this matches your needs

    Best regards
    Christian

    #15492
    Avatar photoJohnPercy
    Participant

    Thanks for this. Nearly but I don’t think this quite matches the need.
    a) You only transform oneway:bicycle=”no” to oneway:bicycle=”ow_bic_no” on one way roads but oneway:bicycle=”no” may apply to unilateral cycle lanes on two way roads. See example L1b on https://wiki.openstreetmap.org/wiki/Bicycle#Cycle_lanes_in_bidirectional_motor_car_roads
    b) You should also transform opposite lanes to normal left/right/both lanes for them to be rendered. See for examples M3a and M3b on https://wiki.openstreetmap.org/wiki/Bicycle#Cycle_lanes_in_oneway_motor_car_roads — I think your transformation only maps the lanes if they are on both sides of the road. Example M1 shows the need to not assume oneway:bicycle=”no” is already included in the tagging

    
    cycleway:left=opposite_lane -> oneway:bicycle=no
                                -> cycleway:left=lane
    							
    cycleway:right=opposite_lane -> oneway:bicycle=no
                                 -> cycleway:right=lane
    
    cycleway:left=opposite_track -> oneway:bicycle=no
                                 -> cycleway:left=track
    							
    cycleway:right=opposite_track -> oneway:bicycle=no
                                  -> cycleway:right=track
    

    Voluntary and Velocity themes - https://voluntary.nichesite.org

    #15976
    Avatar photoJohnPercy
    Participant

    Any thoughts or progress?

    Voluntary and Velocity themes - https://voluntary.nichesite.org

    #15978
    Avatar photoJohnPercy
    Participant

    Some real world examples may help

    a) You only transform oneway:bicycle=”no” to oneway:bicycle=”ow_bic_no” on one way roads but oneway:bicycle=”no” may apply to unilateral cycle lanes on two way roads.

    http://www.openstreetmap.org/way/4541272 has cycleway:right=track and oneway:bicycle=no. I want to be able to render the oneway:bicycle=no.

    b) You should also transform opposite lanes to normal left/right/both lanes for them to be rendered. — I think your transformation only maps the lanes if they are on both sides of the road. Example M1 shows the need to not assume oneway:bicycle=”no” is already included in the tagging

    http://www.openstreetmap.org/way/390822564 has cycleway:right=opposite_lane and oneway=yes and oneway:bicycle=no. I want to render the bike lane.

    Voluntary and Velocity themes - https://voluntary.nichesite.org

    #16615
    Avatar photoJohnPercy
    Participant

    Declined or deferred? Or just lost?

    Voluntary and Velocity themes - https://voluntary.nichesite.org

    #16732
    Avatar photoChristianK
    Keymaster

    Declined or deferred? Or just lost?

    Hi John,

    Last 2 Weeks
    – I prepared a complete set of multilingual maps and published it.
    The videos, announcement and docs are still to be made.
    – Moved the transferspace for the maps to different, failsafe location – finished this today.

    A servermove for the website is in progress (Ubuntu 12, Plesk and NGinx are a constant pain).
    Still have to find another CDN cause cdn77 still don’t handle headers.
    Still have to update the website (see latest blogpost), there are still numerous issues.
    … aso…

    Sorry John, thats time consuming and I want USE my own maps too – spring is finally here.
    I know I’m not very responsive, sorry for this – my resources are limited.

    Best regards
    Christian

    #16735
    Avatar photoJohnPercy
    Participant

    Hi Christian
    I certainly can’t complain about all that you are doing!!
    Enjoy the spring
    Regards
    John

    Voluntary and Velocity themes - https://voluntary.nichesite.org

    #16748
    Avatar photoChristianK
    Keymaster

    Hi John,

    Thanks for your understanding.
    I really appreciate your work, your contrinutions and the theme
    I walked around in Scotland mainland and on the isles for 9 summers and I really loved the OS-Maps _and_ I’m very happy that you made a theme that remembers me of those great walks and the friendly people (even keeping friendly when they drive cars) in UK a lot.

    best regards
    Christian

    #19950
    Avatar photoJohnPercy
    Participant

    Just a gentle reminder.
    I appreciate this looks complex(!) but in reality there a just a few changes needed to your transforms in order to address incorrect rendering.

    Voluntary and Velocity themes - https://voluntary.nichesite.org

Viewing 11 posts - 16 through 26 (of 26 total)
  • You must be logged in to reply to this topic.