<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 5, 2017 at 5:35 AM, Erik MARONEY, IEA <span dir="ltr"><<a href="mailto:Erik.MARONEY@iea.org" target="_blank">Erik.MARONEY@iea.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-GB">
<div class="gmail-m_3960181679591729528WordSection1">
<p class="MsoNormal"><span lang="EN-US">To whom it may concern,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">My name is Erik Maroney and I work for the International Energy Agency (IEA).  We are interested in using Open Street Map (OSM) for our road infrastructure projections.  We have had a couple of issues so far that we are
 confused about.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="gmail-m_3960181679591729528MsoListParagraph"><u></u><span lang="EN-US"><span>1)<span style="font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"times new roman"">     
</span></span></span><u></u><span lang="EN-US"> Using R, we set the source to API and downloaded osm.  It seems as if some of the roads mapped on the OSM website aren’t being caught by osmar (the R package), which interfaces with osmosis (the command line
 tool). Could this perhaps be an issue with the bounding box, or is there some other reason why not all the roads are being captured? Any assistance with this issue would be very helpful!<u></u><u></u></span></p>
<p class="gmail-m_3960181679591729528MsoListParagraph"><u></u><span lang="EN-US"><span>2)<span style="font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"times new roman"">     
</span></span></span><u></u><span lang="EN-US">Using the Geofabrik database, it seems all the highways are not fully captured, is this just due to missing data?  Because when we go to the OSM website, we see plenty of other roads.  This is also true when
 we use the bounding box API method.  <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Ultimately, the mismatch between the roads (especially highways and non-urban roads) mapped directly on OSM versus those we are able to download with R is our point of concern. Specifically we would like to come up with
 an automated way to capture all roads that service motorized vehicles within certain countries.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><br></p></div></div></blockquote><div>The QuadTiles[1] may provide a visual for your potential bounding box issue.  The area to look at is the intersection of a line and a tile[2].  Depending on your bounding box, you could miss a road if the nodes are in other areas but the road still runs through your bounding box.  You may have to use a more detailed configuration for your work.[3]</div><div> </div><div>[1] <a href="http://wiki.openstreetmap.org/wiki/QuadTiles">http://wiki.openstreetmap.org/wiki/QuadTiles</a> </div><div>[2] <a href="http://wiki.openstreetmap.org/wiki/QuadTiles#Indexing_tile_intersections">http://wiki.openstreetmap.org/wiki/QuadTiles#Indexing_tile_intersections</a><br></div><div>[3] <a href="https://switch2osm.org/">https://switch2osm.org/</a></div></div></div></div>