<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Riz,<br>
      <br>
      see e.g. the CarFlagEncoder:<br>
<a class="moz-txt-link-freetext" href="https://github.com/graphhopper/graphhopper/blob/master/core/src/main/java/com/graphhopper/routing/util/CarFlagEncoder.java">https://github.com/graphhopper/graphhopper/blob/master/core/src/main/java/com/graphhopper/routing/util/CarFlagEncoder.java</a><br>
      <br>
      for the optional value you can have a look at the wayTypeEncoder:<br>
<a class="moz-txt-link-freetext" href="https://github.com/graphhopper/graphhopper/blob/master/core/src/main/java/com/graphhopper/routing/util/BikeCommonFlagEncoder.java#L57">https://github.com/graphhopper/graphhopper/blob/master/core/src/main/java/com/graphhopper/routing/util/BikeCommonFlagEncoder.java#L57</a><br>
      <br>
      Regards,<br>
      Peter<br>
      <br>
      On 24.11.2014 16:46, محمد رضوان انصارى wrote:<br>
    </div>
    <blockquote
cite="mid:CAGrDi_xkg9k_d=fypwpArSA65YMxt4pGFoPo7ff89dTOt88igg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi Peter,
        <div>Thanks for quick response</div>
        <div><br>
        </div>
        <div>I am quite new to OSM and GraphHopper, please help me
          understand these</div>
        <div><br>
        </div>
        <div>How do i exclude the tag, do you mean from the OSM file, if
          not please direct me to the graphhopper code where changes
          need to be made?</div>
        <div>Also you said it's configurable and I have to store them in
          flags, where are the flags located?</div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br clear="all">
        <div>
          <div class="gmail_signature">
            <div dir="ltr"><font
                style="background-color:rgb(255,255,255)"
                color="#741b47"><b>Regards,<br>
                  Riz</b></font><br>
              <b><font color="#274e13">محمد رضوان انصارى</font></b></div>
          </div>
        </div>
        <br>
        <div class="gmail_quote">On Mon, Nov 24, 2014 at 5:28 PM, Peter
          <span dir="ltr"><<a moz-do-not-send="true"
              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>Yes. If you know up-front for all searches you can
                completely exclude the tag or just make it a low
                priority.<br>
                <br>
                If you want to have it configurable you need to store
                this information in the flags while import and access it
                in the weighting while querying (currently you'll have
                to disable CH to make this working)<br>
                <br>
                Regards,<br>
                Peter
                <div>
                  <div class="h5"><br>
                    <br>
                    <br>
                    On 24.11.2014 12:53, محمد رضوان انصارى wrote:<br>
                  </div>
                </div>
              </div>
              <div>
                <div class="h5">
                  <blockquote type="cite">
                    <div dir="ltr">Hello,
                      <div><br>
                      </div>
                      <div>Can I add restriction like avoid BRIDGES
                        (walking bridge) when mode is WALKING in route
                        searches?</div>
                      <div>like there is an option avoid highways|tolls
                        in driving mode in google direction api.</div>
                      <div><br>
                      </div>
                      <div>
                        <div>
                          <div>
                            <div dir="ltr"><font
                                style="background-color:rgb(255,255,255)"
                                color="#741b47"><b>Regards,<br>
                                  Riz</b></font><br>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                    <br>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>