Some progress, but a snag.
The good news - In "Boat" mode, navigation offers a range of selectable 
speeds in Knots.  Calculated results seem to be mathematically correct, and 
length of route line is accurate on the map.
The bad news - The voice announcement which should come at the start of the 
trip (distance & time) is not announced.  Similarly, no announcements for 
turns.  This failure exists is all navigation modes!

Assuming this is caused by error/s in my amendments to the codes, can you 
see what is wrong in the data below?
AFAIK I have made no other changes.
Thanks
Paul W
======================
The following is what I now have in the relevent bit of 
"nautical.render.xml" to produce a satisfactory red-dotted route-line.  
(Not quite what I hoped for but better than solid purple)
<renderingAttribute name="route">        
<case color="#ccaa0088" strokeWidth="4" color_3="#ffffff" 
strokeWidth_3="0:0"  pathEffect="4_8">
<apply_if nightMode="true" color="#FFFC1D" strokeWidth="7:6"/>
</case>
</renderingAttribute>
======================
The following is what I now have in the relevent bit of "routing.xml" to 
offer a range of assumed speeds in Knots 
 <routingProfile name="boat" restrictionsAware="true" minDefaultSpeed="5.0" 
maxDefaultSpeed="20.0" onewayAware="true">
    <parameter id="boat_speed_3" group="boat_speed" name="3 Nm/Hr" 
description="" type="boolean"/>
    <parameter id="boat_speed_4" group="boat_speed" name="4 Nm/Hr" 
description="" type="boolean" default="true"/>
    <parameter id="boat_speed_5" group="boat_speed" name="5 Nm/Hr" 
description="" type="boolean"/>
    <parameter id="boat_speed_6" group="boat_speed" name="6 Nm/Hr" 
description="" type="boolean"/>
  
        <way attribute="access">
            <select value="-1" t="osmand_change" v="delete"/>
            <select value="-1" t="access" v="no"/>
            <select value="1"  t="access" v="yes"/>
            <select value="-1" t="access" v="private"/>
            <select value="-1" t="waterway" v="dam"/>
            <select value="-1" t="waterway" v="weir"/>
            <select value="-1" t="waterway" v="waterfall"/>
            <select value="1"  t="access" v="permissive"/>
            <select value="1"  t="access" v="destination"/>
            <select value="1"  t="waterway" v="river"/>
            <select value="1"  t="waterway" v="canal"/>

            <select value="-1"/>
        </way>

        <way attribute="oneway">
            <select value="1" t="oneway" v="yes"/>
            <select value="1" t="oneway" v="1"/>
            <select value="-1" t="oneway" v="-1"/>
        </way>

        <way attribute="speed" type="speed">
            <if param="boat_speed_3">
                <select value="5.556"  t="waterway" v="river"/>
                <select value="5.556"  t="waterway" v="canal"/>
            </if>
            <if param="boat_speed_4">
                <select value="7.408"  t="waterway" v="river"/>
                <select value="7.408"  t="waterway" v="canal"/>
            </if>
            <if param="boat_speed_5">
                <select value="9.26"  t="waterway" v="river"/>
                <select value="9.26"  t="waterway" v="canal"/>
            </if>
            <if param="boat_speed_6">
                <select value="11.112"  t="waterway" v="river"/>
                <select value="11.112"  t="waterway" v="canal"/>
            </if>
            <select value="10"  t="waterway" v="river"/>
            <select value="10"  t="waterway" v="canal"/>
        </way>

        <way attribute="priority">
            <select value="1"  t="waterway" v="river"/>
            <select value="1"  t="waterway" v="canal"/>
            <select value="0.7"/>
        </way>

        <point attribute="obstacle">
            <select value="-1" t="boat" v="no"/>
            <select value="-1" t="access" v="no"/>
            <select value="-1"  t="access" v="private"/>
            <select value="0"  t="access" v="yes"/>
            <select value="0"  t="access" v="permissive"/>
            <select value="0"  t="access" v="customers"/>
        </point>
    </routingProfile>

-- 
You received this message because you are subscribed to the Google Groups 
"Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osmand+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to