<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <br>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi ZhiQiang,<br>
    <br>
    yes, according to the wiki this is wrongly mapped:<br>
    <i> Avoid tagging highway intersections as that does not make clear
      which way has the impediment.
    </i><br>
    <br>
    <a class="moz-txt-link-freetext" href="http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dgate">http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dgate</a><br>
    <br>
    Peter<br>
    <br>
    <div class="moz-cite-prefix">On 23.07.2015 23:16, John Zhao wrote:<br>
    </div>
    <blockquote
cite="mid:CA+EBg9S3pCXMqRhygBXt0LRX3rWw4cOfzdcOjCriOFckCf3NNA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi Peter,
        <div><br>
        </div>
        <div>Maybe the following one related with <a
            moz-do-not-send="true"
href="https://github.com/graphhopper/graphhopper/issues/388#issuecomment-88066385">https://github.com/graphhopper/graphhopper/issues/388#issuecomment-88066385</a> </div>
        <div><br>
        </div>
        <div>
          <div style="font-size:12.8000001907349px">I have a look
            at 37.32611992939085,-121.9961998312816.</div>
          <div style="font-size:12.8000001907349px">It seesm related
            with barrier=gate at intersection.</div>
          <div style="font-size:12.8000001907349px"><a
              moz-do-not-send="true"
              href="http://www.openstreetmap.org/node/1126492194"
              target="_blank">http://www.openstreetmap.org/node/1126492194</a></div>
        </div>
      </div>
      <div class="gmail_extra"><br clear="all">
        <div>
          <div class="gmail_signature"><b>Best Regards,</b>
            <div><b>ZhiQiang ZHAO</b></div>
          </div>
        </div>
        <br>
        <div class="gmail_quote">On Thu, Jul 23, 2015 at 2:11 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"> <br>
            <div bgcolor="#FFFFFF" text="#000000"> There are two types
              of subnetworks and the smaller ones seems to be 'one-way
              subnetworks' which means they are eg. only reachable as
              destination or start. But if you would start from a
              destination-only subnetwork you'll get 'not found' for all
              points outside of this network.<br>
              <br>
              Regards,<br>
              Peter
              <div>
                <div class="h5"><br>
                  <br>
                  <div>On 23.07.2015 23:03, John Zhao wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <div dir="ltr">Interesting, 
                      <div>when I increase <span
                          style="font-size:12.8000001907349px">minOnewayNetworkSize

                          from 20 to 50, the following two disappeared.</span></div>
                      <div>
                        <div style="font-size:12.8000001907349px">subnetwork
                          start from:
                          37.32611992939085,-121.9961998312816 size: 24</div>
                        <div style="font-size:12.8000001907349px"><span
                            style="font-size:12.8000001907349px">subnetwork
                            start from: 37.78373608999855,-122.</span><span
                            style="font-size:12.8000001907349px">25065187925067
                            size: 34</span></div>
                      </div>
                    </div>
                    <div class="gmail_extra"><br clear="all">
                      <div>
                        <div><b>Best Regards,</b>
                          <div><b>ZhiQiang ZHAO</b></div>
                        </div>
                      </div>
                      <br>
                      <div class="gmail_quote">On Thu, Jul 23, 2015 at
                        1:55 PM, John Zhao <span dir="ltr"><<a
                            moz-do-not-send="true"
                            href="mailto:johnthu@gmail.com"
                            target="_blank">johnthu@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 dir="ltr">Hi,
                            <div><br>
                            </div>
                            <div>I tried car flag encoder with following
                              parameter on San Francisco bay area data
                              from mapzen.</div>
                            <div><a moz-do-not-send="true"
href="https://s3.amazonaws.com/metro-extracts.mapzen.com/san-francisco-bay_california.osm.pbf"
                                target="_blank">https://s3.amazonaws.com/metro-extracts.mapzen.com/san-francisco-bay_california.osm.pbf</a></div>
                            <div><br>
                            </div>
                            <div>
                              <div>minNetworkSize=200</div>
                              <div>minOnewayNetworkSize=20</div>
                              <div><br>
                              </div>
                              <div>I printed all the remaining
                                subnetworks.</div>
                              <div>
                                <div>edges: 591932, nodes 437420, there
                                  were 3496 subnetworks. removed them
                                  => 13121 less nodes. Remaining
                                  subnetworks:5</div>
                                <div>The remaining subnetworks are:</div>
                                <div>subnetwork start from:
                                  37.32611992939085,-121.9961998312816
                                  size: 24</div>
                                <div>subnetwork start from:
                                  37.56018439442332,-122.30257814308803
                                  size: 436637</div>
                                <div>subnetwork start from:
                                  37.78373608999855,-122.25065187925067
                                  size: 34</div>
                                <div>subnetwork start from:
                                  38.180185962770565,-121.70631393878864
                                  size: 301</div>
                                <div>subnetwork start from:
                                  37.85717050411933,-122.07633641532816
                                  size: 424</div>
                              </div>
                              <div><br>
                              </div>
                              <div>I don't understand why there is still
                                subnetwork less than 200 nodes.</div>
                              <div><br>
                              </div>
                              <div>I have a look
                                at 37.32611992939085,-121.9961998312816.</div>
                              <div>It seesm related with barrier=gate at
                                intersection.</div>
                              <div><a moz-do-not-send="true"
                                  href="http://www.openstreetmap.org/node/1126492194"
                                  target="_blank">http://www.openstreetmap.org/node/1126492194</a><br>
                              </div>
                              <div><br>
                              </div>
                              <div>
                                <div>
                                  <div><b>Best Regards,</b>
                                    <div><b>ZhiQiang ZHAO</b></div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                  </div>
                </div>
              </blockquote>
            </div>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>