How did you create this motorcycle profile?
It is based, as far as I can see, on the Nautical profile which is
completely wrong.
For example, it uses:
"default_speed": "13.888889",
"min_speed": "2.777778",
"max_speed": "23.88889",

Next to that you tell me my profile is a car profile (true), and yours is a
motorcycle profile, but if I look into your items.json it mentions:
        "parent": "motorcycle",
        "routeService": "OSMAND",
        "routingProfile": "car",
        "stringKey": "motorcycle_1622362544309",
        "userProfileName": "Motorcycle test"

So the used profile is car and its parent is motorcycle? To me that should
be the other way round or you have messed up something in the base
routing.xml.

Do you also have a modified routing.xml in your Routing folder?

And as a side note: an .osf file is nothing more than a zip file containing
2 json files: unzip, modify and rezip.
But it is better to modify a routing.xml and rename it.

But the first question is: What is it you want different in your profile,
compared to the car profile (or nautical profile).
Do you prefer motorways, or not? Avoid toll roads or not? These kind of
questions.

Harry

Op zo 4 jul. 2021 om 13:09 schreef RizkyAM <[email protected]>:

> Thanks for the reply
>
> I've tested one of your routing.xml (mycar12), sometimes it works
> sometimes not.
> The problem is your mycar12.xml is a car profile, and I didn't use a car,
> I use a motorcycle.
> How can I change my own motorcycle profile Heuristic Coefficient? Or maybe
> you can help change the HC from this file?
>
> Pada Minggu, 04 Juli 2021 pukul 15.45.36 UTC+7 [email protected] menulis:
>
>> That is due to the heuristic coefficient of 1.0 that OsmAnd uses. That is
>> way over the top. Search for heuristic coefficients in this group and you
>> will find many posts about it (a lot from me criticizing this ;) and
>> offering modified route xmls).
>>
>> I use 2 routing xmls.
>> One with a hc=1.2 for big city travel for s little more accuracy.
>> One with a hc=1.5 for long(er) distance travels.
>>
>> I have a spreadsheet with lots of comparisons (every route calculation 3x
>> without cache and then averaged for the final time)
>> See for example two (longer) distance calculations. The calculation
>> differences remain the same on shorter distances, but if it calculatates a
>> route in 3 seconds inside a city or 10 seconds is for me not that important.
>> heuristic coefficient distance
>> (calculated) calc. travel time
>> (hours minutes) calculation time
>> minutes/seconds) Remarks
>> Zwolle, Nl - Puttgarden ferry, Ge lot of motorway/highway
>> hc=1.0 487km 4h57m 1m58s
>> hc=1.2 487km 4h57m 19s
>> hc=1.5 487km 4h57m 7s
>> Zwolle - Machiel Vrijenhoeklaan 354, The Hague, Nl first and last part
>> quite some "in city" routing
>> hc=1.0 169km 2h4m 1m21s
>> hc=1.2 169km 2h4m 11s
>> hc=1.5 169km 2h4m 5s
>> Note that for in-city routing I always use OsmAnd as it calculates the
>> best estimated arrival times and routes as it uses its time penalties for
>> crossroads, traffic lights, etc.
>>
>> My spreadsheet contains many more lines of comparable calculations in
>> several countries, road-types, straight-on routes, routes with lots of
>> parallel route options, routes with much in-city traffic, etc. They
>> continuously show to me (prove to me) that an hc=1.5 is good for longer
>> distance and 1.2 is optimal for big city traffic.
>>
>> Harry
>>
>> Op zo 4 jul. 2021 om 04:22 schreef RizkyAM <[email protected]>:
>>
>>> My OSMAnd in-built routing is very slow compared to the Brouter plugin,
>>> even if it's just several kilometres (in city area), but it's normal when I
>>> try it outside the city (countryside).
>>> Video showing the difference between in-built routing and brouter
>>> <https://youtu.be/uvZU7uIpnv0>
>>>
>>> --
>>> 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 [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/osmand/85e44fb1-c539-483e-a9d7-617584695f1fn%40googlegroups.com
>>> <https://groups.google.com/d/msgid/osmand/85e44fb1-c539-483e-a9d7-617584695f1fn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/osmand/ab9279b7-5a92-4f1f-b7c8-1e457452b10fn%40googlegroups.com
> <https://groups.google.com/d/msgid/osmand/ab9279b7-5a92-4f1f-b7c8-1e457452b10fn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osmand/CAGARPpuy77RaDCP6q79WrLwzT_oz0cH%3Dav1KpBdF7NRT%3DovD3w%40mail.gmail.com.

Reply via email to