Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - poutnikl

#361
MTB_factor  -0.5  a  smallpaved_factor      -0.4 Ti udělá zhruba tohle
Co je pod čarou upřednostní, co je nad ní, potlačí

                                                                                  ------------------------
                                                    ------------------------ 
                                              /                                 
                                       /
                                  /
I.tř------II.tř-----------III.tr------Ulice-----C-e-s-t-y---a p-ě-š-i-n-y--------------  Preference pru MTBfactor 0.0 a smallpaved factor 0.0
                        /
                    /
               /
           /
      /  .
  /.


Kdežto dole je to např pro MTBfactor -0.75   a smallpaved factor 1.0
Vše jen ilustračně.


                                                                                              /
                                                                                         /
                                                                                    /
                                                                                /
                                                                           /
------------                                                        /
               -------------                                  /
                               ---------------          /
I.tř------II.tř-----------III.tr------Ulice-----C-e-s-t-y---a p-ě-š-i-n-y--------------





#362
Vzhledem k tomu, že já jsem je zkoušel a fungují, moje i Zossebartovy, mám důvodné podezření, že jsi je nemusel zkopírovat správně, nebo se stáhly porušené.

Mohl bys sem vlozit zazipovaný profil, který Ti nefunguje ?

Edit: protože BikeProfiles/MTB.brf na brouter.damsy.net  funguje.

Musíš kliknou na tlačítko RAW a zobrazí se Ti čistě text profilu - až to potom stahnout.
anebo stahnout vše sakumpinkl v 1 zipu  Brouter-profiles/releases

#363
Quote from: Dan S. on May 15, 2017, 14:06:58
Teď jsem porovnával v Total Commanderu nový profil MTB 2.6 s upraveným profilem MTB 2.5.5 a jsou to úplně jiné profily  :D
Jaký je teď rozdíl v výpočtu terénní trasy starý MTB vs nový MTB profil?

Díky

edit
u nových profilů mi locus vypíše chybu ... viz příloha. Co s tím?

Nejsou úplně jiné, jsou skoro stejné, jen došlo k všeliké reorganizaci kodu.
Hlavní rozdíly jsou tyto:
Přepracovana prioritizace cyklostezek
Zaveden modulární costfactor pro všechny typy cest, nejenom lesní/polní cesty a pěšiny.
Mírné odlišnosti v costfactoru  lesní/polní cest a pěšin, ale nic zásadního.
Ale i tak doporučuji spíš pravé MTB profily od Zossebarta.
Anebo, můžeš zkusit taky velmi drsné profily Trekking-No-Flat a Trekking-Hilly-Paths, které Tě eventuálně protáhnou trasou, na kterou si slušně vychovaný MTb profil netroufne. :-)

K té chybě, hmm nevím, profily se se na BRouter webu chovají způsobně. Mám silné podezření, že možná nemáš aktuální Brouter, nebo BRouter soubory RD5 ( navigační data), nebo BRouter soubor lookup.dat ( obsahující povolené OSM tagy a jejich hodnoty ).

Zkoušel jsi profil použít přímo v Brouteru ?
( Spustit Brouter, vybrat profil a body a nechat jej spocitat GPX trasu ).

Mimochodem,na testování profilů lze nove používat i betaverzi BRouter webu, která pracuje i pro mnohé prohlížeče na Androidu.
#364
Quote from: Žajdlík Josef on May 15, 2017, 10:39:10
Díky za pomoc, nakonec jsem asi nejlepších výsledků dosáhl s níže uvedenými těmito hodnotami. Hodnota: assign   isbike_for_mainroads   true se neosvědčila. Přeci jen už to pak hodně preferuje jedničky, které jsou u nás strašně přeautované. Přesto zatím zůstanu u starší verze vycházející z 2.4.3 výpočty trojek jsou o dost lepší.

assign   MTB_factor             -0.5 # default 0.0, *)
assign   smallpaved_factor      -0.4 # default 0.0, *)

assign   isbike_for_mainroads   true se osvědčit ani neměla, má být false, což 
udržuje costfactor hlavních silnic vysoký.

Já jsem radil MTB_factor = cca  -smallpaved_factor , zapomněl jsi na znaménko.
MTB_factor  -0.5  a  smallpaved_factor      -0.4 preferuje silnice I. třídy a penalizuje malé asfaltové cesty
smallpaved_factor  měj kladný a MTB_factor podobné hodnoty záporný.

Další nesystémová, ale účinná možnost je, posunout hodnoty
pro preferované typy cest směrem k nule.

assign univ_factor_coef
    switch  highway=motorway|motorway_link|trunk|trunk_link 1.0 switch highway=primary|primary_link   0.9
    switch  highway=secondary|secondary_link                0.7 switch highway=tertiary|tertiary_link 0.4
    switch  highway=unclassified                            0.25
    switch  or not istrack highway=footway                  ( switch ispaved 0.25 switch isunpaved -0.25 0.0 )
    switch  or ispaved tracktype=grade1                     0.1
    multiply rough_coef   
    add ( switch  highway=path -0.25 0.0 )
        switch ( nosurfacenortracktype ) ( switch isbike 0.0 -0.25 )
        switch nosurface  ( switch or isbike tracktype=grade2|grade3 -0.25 -0.5 )
        switch surface=compacted|fine_gravel -0.25 switch surface=cobblestone|sett  -0.4
        switch surface=ground|mud|dirt       -0.6  switch surface=grass|sand        -0.6   
        switch surface=gravel|pebblestone    -0.75   -0.6
#365
This section does not use English.
#366
Ahoj,

Když 2 dělají totéž, není to totéž. MTB a smallpaved factors byly už dávno zcela předelány, s větší granularitou podle typu a stavu cesty, se společným hodnocením cest. 

Dříve měl MTB factor na silnice I. a III. třídy silnější a navíc stejný efekt. Naopak smallpaved factor měl na silnice I. a III. třídy sice různý efekt, ale slabší než teď a hlavně slabší než MTB factor.

Stejný MTB factor a  smallpaved factor mají ted u hlavních silnic stejný efekt, takže vlastně dvojnásobný..
Naopak u nezpevněných cest se navzajem rusí.

Opačný MTB factor a  smallpaved factor se naopak ruší u hlavních silnic a zdvojují u nezpevněných cest .

Obecně má teď na hlavní silnice smallpaved factor větší effekt než dříve a MTB factor naopak nižši, zvlast pro třetí třídu.

Doporučuji MTB factor = cca  -smallpaved factor,   címž hlavní silnice budou mít cca neutralní posun.
Cim větší bude ( smallpaved factor  - MTB factor ) , tím víc budou nezpevněné cesty potlačeny.

Dále doporučuji zmenit
assign   isbike_for_mainroads   true
na
assign   isbike_for_mainroads   false

Cimz se zruší "bike friendly" penalty pardon pro hlavni silnice .

Taky možná sniž cycleroute_pref, pokud je moc silný, protoze byl předělaný.

Tady lehko uvidiíš, co oba faktory delají. MTB faktor bere hodnotu jak je a vynásobí sebou.
smallpaved factor napred spocte absolutní hodnotu.

assign univ_factor_coef
    switch  highway=motorway|motorway_link|trunk|trunk_link 1.0 switch highway=primary|primary_link   0.9
    switch  highway=secondary|secondary_link                0.7 switch highway=tertiary|tertiary_link 0.4
    switch  highway=unclassified                            0.25
    switch  or not istrack highway=footway                  ( switch ispaved 0.25 switch isunpaved -0.25 0.0 )
    switch  or ispaved tracktype=grade1                     0.1
    multiply rough_coef   
    add ( switch  highway=path -0.25 0.0 )
        switch ( nosurfacenortracktype ) ( switch isbike 0.0 -0.25 )
        switch nosurface  ( switch or isbike tracktype=grade2|grade3 -0.25 -0.5 )
        switch surface=compacted|fine_gravel -0.25 switch surface=cobblestone|sett  -0.4
        switch surface=ground|mud|dirt       -0.6  switch surface=grass|sand        -0.6   
        switch surface=gravel|pebblestone    -0.75   -0.6
#367
( Sorry for bad machine translation. Original English is below )

Vielleicht möchten Sie diese 2 Spezialprofile ausprobieren, die auf Wunsch eines Anwenders mit besonderem Bedarf erstellt wurden.

Trekking-No-Flat-Profil setzt Nennstrafe für Höhen und strafft flache, mit Abfahrten / bergigen Pisten von weniger als 1,5% (1 km ansonsten perfekte flache Weg wird als 2,5 km von der gleichen Richtung nach oben / bergab genommen)

Trekking-hilly-paths  Profil betrachtet unterschiedliche Ansatz. Es schrittweise in sehr hohen Strafen in Skala Pfade-Tracks-Minorroad-Mainroads.

Darüber hinaus hat es eine Erhöhung Strafe reduziert, aber nicht null wie für die ehemalige. In der Spirte von diesem, ist es mehr "verrücktes Profil", dass No-falt Profil.

Sie können es direkt auf Desltop Browser auf Brouter Web hier testen
http://bit.ly/2pxysYF

Mit Standard-Trekking-Profil gibt es 300 + km Strecke mit ca. 1600 m gefilterter Höhe. Beide erwähnten Profile schaffen es, die Bergketten und Hügel zu nehmen
Um es über 6000 m zu erheben.

Https://raw.githubusercontent.com/poutnikl/Brouter-profiles/master/BikeProfiles/Trekking-No-Flat.brf
Https://raw.githubusercontent.com/poutnikl/Brouter-profiles/master/BikeProfiles/Trekking-hilly-paths.brf

Https://github.com/poutnikl/Brouter-profiles/tree/master/BikeProfiles
-------------
You may want to try these 2 specialized profiles, created on demand of a user with special need.,

Trekking-No-Flat profile sets zero penalty for elevation and penalizes ways that are flat, with downhill/uphill slopes less than 1.5%  ( 1 km of otherwise perfect flat way is taken as 2.5 km of the same way going up/downhill )

Trekking-hilly-paths Profile considers different approach. It progressively putd in very high penalties in scale paths-tracks-minorroad-mainroads.

Additionally, it has decreased elevation penalty, but not zeroed as for the former. In spirte of this, it is more "crazy profile" that No-falt profile.

You can test it directly on Desltop browser on Brouter Web here
http://bit.ly/2pxysYF

With standard Trekking profile, there is 300+ km route with about 1600 m of filtered elevation. Both mentioned profiles manage to take the mountain ranges and hills
to raise it above 6000 m.
#368
assign   turnInstructionMode  = 2  # 0=none, 1=auto-choose, 2=locus-style, 3=osmand-style
je nejlepší řešení, pokud chce uživatel vytvářet trasu na BRouter-webu
a mít v importované GPX trase instrukce z BRouteru, a nikoli generované Locusem.

Původní 1=auto-choose je ideální jako univerzální podoba pro cílové zařízení, zvláště pak pokud uživatel používá OSMAnd i LocusMap.

Ale web z auto-choose nepozná, je-li to určeno pro Locus nebo OSMAnd.
#369
Brouter nepracuje s navigací / naváděním mimo cesty,  takže návrh a zobrazení trasy mimo ně je věc Locusu.

Co Brouter ovlivnit může je, jestli cestu považuje za cestu.Zakázané typy cesty Brouter může považovat (podle toho, co má v profilu) za fyzicky neexistující, jako kdyby na mapě vůbec nebyly.Tím pádem se může stát, že se navigace nedostane k nejbližšímu bodu cesty, ale zarazí se dříve.
#370
Pro vícenásobný download rd5 souborů jsem před časem na Github uložil

dávkový soubor pro Windows.

Je nutné si přečist požadavky v komentáři souboru.
Potřebnou utilitu wget lze stáhnout zde http://gnuwin32.sourceforge.net/packages/wget.htm
nebo je též součástí cygwin.
-------------------------------------------------------------------
For rd5 multifile downloads on windows based machine,
I created some time ago at github a batch file.

It is for CZ region, but easy to modify to set different grid files.

Watch the prerequisities in the batch comments - the wget utility is needed.
One may get one here  http://gnuwin32.sourceforge.net/packages/wget.htm
of from cygwin .
#372
Thanks for the update.
Am I supposed to update the theme manually, or can it be updated from Locus store later ? ( there is still V8 there.)
#373
Important note- BRouter 1.4.8 has implemented turn restrictions, essential feature for car navigation.
The navigation RD5 data files need update if older than 24NOV2016.
In my understanding, car profiles do not need modification.
Reportedly tested by a german user on 5 turn restricted places in Berlin. See also the Germmen subforum.

http://brouter.de/brouter/revisions.html

    added turn restrictions (default for car, use considerTurnRestrictions=true for bike)
    fixed elevation interpolation in start/end segments
    fixed error message for very old data files
    removed sanity checks when just reading nogos from waypoint-database
    handling url encoded parameters
    locus codes 13/14 for u-turns left/right
#374
I had a great fun with this in the abroad car trip... A girl driver was laughing a lot.
#375
Quote from: michaelbechtold on November 16, 2016, 21:09:03
Weird routing announcements for roundabouts.

Have used BRouter and Locus for routing again since a longer break. Latest beta tells "Take minus one exit" for the first, etc., i.e. subtracting 2 from the correct counting.

What the profile, the roundabout location and course, to reproduce ? For the latter two, the best if provided with the "permalink" from BRouter web.

But I guess it has more to do with hint generation, that is not defined by profiles. But especially older profile can use "hard way ignoring" with costfactor >=10000, that leads the BRouter to pretend the way does not physically ever exist.