<div dir="ltr">I've read that the relation must have:<div>from, to, via.</div><div><br></div><div>Are you saying that it will work if the relation is only containing from, to?  Is the ordering important?</div><div><br></div><div>Are there certain types of restrictions that work over others?  such as no_left_turn vs only_right_turn?</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 12, 2015 at 8:41 AM, dos65 <span dir="ltr"><<a href="mailto:qtankle@gmail.com" target="_blank">qtankle@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hi Nick. <br>
    Restrictions must have members(from, to). In your case restriction
    don't have them and it does not processed by gh.<div><div class="h5"><br>
    <br>
    <br>
    <div>On 12.06.2015 16:29, Nick Bauer wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Hi Peter-
        <div><br>
        </div>
        <div>Sorry for the delay.  Please see:</div>
        <div><a href="https://graphhopper.com/maps/?point=41.616854%2C-88.122497&point=41.616365%2C-88.123473&locale=en-US&layer=Lyrk" target="_blank">https://graphhopper.com/maps/?point=41.616854%2C-88.122497&point=41.616365%2C-88.123473&locale=en-US&layer=Lyrk</a></div>
        <div><br>
        </div>
        <div>OSM data has a turn restriction setup where you can only
          turn right, however GH shows a left turn.</div>
        <div>OSM data uses a single node with restriction:no_left_turn</div>
        <div><br>
        </div>
        <div>Is this a sufficient relation?  What is required for GH to
          consider turn restrictions?</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Jun 4, 2015 at 5:14 AM, Peter <span dir="ltr"><<a href="mailto:graphhopper@gmx.de" target="_blank">graphhopper@gmx.de</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000">
              <div>Hi,<span><br>
                  <br>
                  > however I am not getting the results I expect.<br>
                  <br>
                </span> what result do you expect? Please be more
                specific e.g. also include some coordinates or
                screenshots and then describe the problem you have :)<br>
                <br>
                Regards,<br>
                Peter
                <div>
                  <div><br>
                    <br>
                    <br>
                    On 04.06.2015 02:02, Nick Bauer wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div>
                    <div dir="ltr">Hello-
                      <div><br>
                      </div>
                      <div>After reviewing the 0.4 list of changes, it
                        seems to me that turn restrictions are enabled. 
                        I have what i believe is the correct OSM as well
                        as config.properties file, however I am not
                        getting the results I expect.</div>
                      <div><br>
                      </div>
                      <div>I am mobile right now, so I can't post any
                        detailed output, but here is the config:</div>
                      <div><br>
                      </div>
                      <div>
                        <div>prepare.chWeighting=no</div>
                        <div>prepare.chShortcuts=no</div>
                        <div>osmreader.acceptWay=car</div>
                        <div>graph.flagEncoders=car</div>
                        <div><br>
                        </div>
                        <div># Enable turn restrictions for car or
                          motorcycle.</div>
                        <div># Currently you need to additionally set
                          prepare.chWeighting=no before using this (see
                          below and #270)</div>
                        <div>graph.flagEncoders=car|turnCosts=true</div>
                      </div>
                      <div>graph.dataaccess=RAM_STORE<br>
                      </div>
                      <div><br>
                      </div>
                      <div>How does this config look?</div>
                      <div>My OSM has to from and via relation
                        elements.  Any other tips on how to correctly
                        create the OSM?</div>
                      <div><br>
                      </div>
                      <div>Thanks,</div>
                      <div>Nick</div>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                  </div>
                </div>
                <pre>_______________________________________________
GraphHopper mailing list
<a href="mailto:GraphHopper@openstreetmap.org" target="_blank">GraphHopper@openstreetmap.org</a>
<a href="https://lists.openstreetmap.org/listinfo/graphhopper" target="_blank">https://lists.openstreetmap.org/listinfo/graphhopper</a>
</pre>
              </blockquote>
              <br>
            </div>
            <br>
            _______________________________________________<br>
            GraphHopper mailing list<br>
            <a href="mailto:GraphHopper@openstreetmap.org" target="_blank">GraphHopper@openstreetmap.org</a><br>
            <a href="https://lists.openstreetmap.org/listinfo/graphhopper" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/graphhopper</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
GraphHopper mailing list
<a href="mailto:GraphHopper@openstreetmap.org" target="_blank">GraphHopper@openstreetmap.org</a>
<a href="https://lists.openstreetmap.org/listinfo/graphhopper" target="_blank">https://lists.openstreetmap.org/listinfo/graphhopper</a>
</pre>
    </blockquote>
    <br>
    </div></div><span class="HOEnZb"><font color="#888888"><pre cols="72">-- 
Челышов Вадим
<a href="mailto:qtankle@gmail.com" target="_blank">qtankle@gmail.com</a></pre>
  </font></span></div>

<br>_______________________________________________<br>
GraphHopper mailing list<br>
<a href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/graphhopper" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/graphhopper</a><br>
<br></blockquote></div><br></div>