<div dir="ltr">Hi Samuel,<br><br>>makes the script to timeout.<br><div><br></div><div>you can "tune" the overpass query a little, but sometimes the servers overcrowded ..  </div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>- On the script you can modify the timeout parameter </div><div>            <font color="#9900ff">[out:json][timeout:625];</font></div><div>- and you can modify the overpass-server to other  ( stronger or less crowded instance ) [  Settings / General settings /  Server: "<a href="http://overpass.osm.rambler.ru/cgi/" target="_blank">http://overpass.osm.rambler.ru/cgi/</a>" ] </div><div>(  <a href="http://overpass.osm.rambler.ru/cgi/" target="_blank">http://overpass.osm.rambler.ru/cgi/</a>  =  (8 cores, 64 GB RAM).   :  information: <a href="http://wiki.openstreetmap.org/wiki/Overpass_API" target="_blank">http://wiki.openstreetmap.org/wiki/Overpass_API</a>  )</div><div><br></div></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>I have tried to load all higway tag from Nigeria , but probably this query  is to big   for overpass.. .</div><div><br></div></blockquote><div>sometimes help - to   create a lot of smaller query -  like: You can create a query for  every  highway value. </div><div>*  highway=primary  in "Nigeria"”      ( timeout 425 , + meta ) ->   <a href="http://overpass-turbo.eu/s/bwK" target="_blank">http://overpass-turbo.eu/s/bwK</a></div><div>*  highway=secondary  in "Nigeria"   ( timeout 425 , + meta ) ->   <a href="http://overpass-turbo.eu/s/bwL" target="_blank">http://overpass-turbo.eu/s/bwL</a></div><div>*  ...</div><div> </div><div><br></div><div>But if you want processing  "big" data , my prefered method ( on linux ) :</div><div>- downloading the raw data : <a href="http://download.geofabrik.de/africa/nigeria.html" target="_blank">http://download.geofabrik.de/africa/nigeria.html</a>  ( nigeria-latest.osm.pbf, )</div><div>- and load with "osm2pgsql"  ( <a href="http://wiki.openstreetmap.org/wiki/Osm2pgsql" target="_blank">http://wiki.openstreetmap.org/wiki/Osm2pgsql</a> )   to PostgreSQL    with ( --extra-attributes ) option.</div><div>    "<span style="color:rgb(37,37,37);font-family:sans-serif;font-size:14px;line-height:22.4px">To use the osm_user, osm_uid, osm_version, and osm_timestamp tags, you must use the osm2pgsql option </span><code style="font-family:monospace,Courier;color:black;border:1px solid rgb(221,221,221);border-radius:2px;padding:1px 4px;font-size:14px;line-height:22.4px;background-color:rgb(249,249,249)">--extra-attributes</code><span style="color:rgb(37,37,37);font-family:sans-serif;font-size:14px;line-height:22.4px"> when importing."</span></div><div><font color="#252525" face="sans-serif"><span style="font-size:14px;line-height:22.4px"><br></span></font>- and analyze with  SQL  ( like: <a href="https://github.com/openstreetmap/osm2pgsql/blob/master/docs/analysis.md" target="_blank">https://github.com/openstreetmap/osm2pgsql/blob/master/docs/analysis.md</a> )</div><div><br></div><div>Probably  this is working on windows - but I not tested ..  ( <a href="http://learnosm.org/en/osm-data/osm2pgsql/" target="_blank">http://learnosm.org/en/osm-data/osm2pgsql/</a>  )    .</div><div><br></div><div><br></div><div>cheers,</div><div>   Imre</div><div><br></div><div><br></div><div><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-09-18 13:39 GMT+02:00 Samuel Aiyeoribe <span dir="ltr"><<a href="mailto:olubunmi4ever@yahoo.co.uk" target="_blank">olubunmi4ever@yahoo.co.uk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div style="color:rgb(0,0,0);font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:24px;background-color:rgb(255,255,255)"><div><span>Thanks Imre and Giovanni,</span></div><div><span><br></span></div><div><span>Imre:</span></div><div><br></div><div>I have tried out your method on overpass and it work but the issue i am having has to do with the extent of the size of the data which makes the script to timeout.</div><div><br></div><div>When i tried extracting highway for the whole of Nigeria it timed out, i reduced it to a State it timed out too but when i reduced it to a lower geography it worked. I need the data for a larger geography, do you think if a have a faster internet the script can run before it timed out or do i try other browsers as i currently use chrome.</div><div><br></div><div>Will appreciate your advice.</div><div><br></div><div>Giovanni:</div><div><br></div><div>I can't figure out the api method, can you please explain better</div><div><br></div><div><br></div><div>Thanks</div><div>Samuel</div><span><font color="#888888"><div></div><div> </div></font></span></div></div></blockquote></div></div></div>