--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Harry - Thank you for the feedback.
It looks as if there is a solution there, if I can handle the code - (a bit of
a foreign country for me!)
Suppose I succeed in creating a file for each of a range of speeds, each with
its own name, eg; routing3kt.xml, routing5kt.xml, etc; then copy them all to
the "/data/android/net.osmand(.plus)/files" directory, and
re-boot; is it viable to then set the desired speed by selecting the relevant
file without a re-boot between each adjustment?
Reason - When sailing, the speed toward the destination is not reliably
predictable in advance (because of unknown factors, eg wind speed, currents,
effects of waves, having to tack, etc.).
Having to re-boot during navigation would be a pain.
Paul W
<routingProfile name="boat" restrictionsAware="true" minDefaultSpeed="5.0" maxDefaultSpeed="20.0" onewayAware="true">
<parameter id="boat_speed_1" group="boat_speed" name="1 km/h" description="" type="boolean"/>
<parameter id="boat_speed_5" group="boat_speed" name="5 km/h" description="" type="boolean" default="true"/>
<parameter id="boat_speed_8" group="boat_speed" name="8 km/h" description="" type="boolean"/>
<parameter id="boat_speed_15" group="boat_speed" name="15 km/h" 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_1">
<select value="1" t="waterway" v="river"/>
<select value="1" t="waterway" v="canal"/>
</if>
<if param="boat_speed_5">
<select value="5" t="waterway" v="river"/>
<select value="5" t="waterway" v="canal"/>
</if>
<if param="boat_speed_8">
<select value="8" t="waterway" v="river"/>
<select value="8" t="waterway" v="canal"/>
</if>
<if param="boat_speed_15">
<select value="15" t="waterway" v="river"/>
<select value="15" 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 can also download the latest one from GitHub project, but there may be
version compatibility problem, so I do not recommend it.
Do you suppose I can just place the modified xml file in "/data/android/net.osmand.plus/files" directory, and reboot." ?
--
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+unsubscribe@googlegroups.com.
- On the TABLET (running OsmAnd+ 2.9.3 from SD card on Android 4.4.4) one has to go into "Routing settings", "Navigation settings", [boat], to find the speed options under "Routing Preferences. There, the range of speeds offers TICK BOXES and allows ticking of more than one at a time. Whereas, on the PHONE (running OsmAnd+ 2.9.3 from "Internal shared storage" on Android 7.0), to find the range of speeds, one only has to go to "Routing settings", and there one immediately sees "Boat Speed" [whatever was selected]. Tapping that reveals the range of speeds offered as BUTTONS for the speed, and only one at a time is selectable.
- Using the NAUTICAL MAPS mode, the route line shows as a thick purple line. This obscures important details, eg weirs, locks, sluices, etc. Whereas in any other MAP mode, ie Walk, Bike, Car, World, the route line shows on my devices as a thin dotted red line (generated, I think, by GPXR08.render.xml - Kindly provided by another OsmAnd contributor a year or two ago).
FWIW, I had adjusted Max's "Boat Routing" code to show
" <parameter id="boat_speed_3" group="boat_speed" name="Speed 3" " instead of "<parameter id="boat_speed_1" group="boat_speed" name="3 km/h" ", and similarly for the other values,
and changed the values to 3,4,5 &6 instead of 1,5,8,15.
And under "<way attribute="speed" type="speed">" I substituted values 3,,4,5,6 in lies of each respective value 1,5,8,15.
Reasons; I want to be able to work in Knots (not km/h) and prefer the new speed values.
I (coding novice) presume that the above will have no detrimental effect.
I don't understand why the following three lines exist, but I left them alone
" </if>
<select value="10" t="waterway" v="river"/>
<select value="10" t="waterway" v="canal"/>"
In the various settings, if Nautical miles and Knots are selected, the Time for a particular Distance and Speed is not accurate.
If I reset settings to Km and Km/Hr, the Time for a particular Distance and speed seems to be correct.
I'm not able to switch distance units (it always displays m or km on the map screen), setting seems not to have any effect?Are yo able to switch it?