<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 Naveen,<br>
<br>
To get the length of roads in OSM, tools like <a
href="https://github.com/yogiks/osmium-contrib/tree/master/road_length">road_length</a>
and <a
href="http://svn.openstreetmap.org/applications/utils/filter/osm-length/">osm-length</a>
can be helpful(Anyone else know other programs?). Other way of
doing this(I've never tried) can be loading osm2pgsql database
with geofabrik's India OSM extract and running required queries.<br>
<br>
Tried Frederik's <a
href="http://svn.openstreetmap.org/applications/utils/filter/osm-length/osm-length-2.pl">osm-length-2.pl</a>
with <a
href="https://s3.amazonaws.com/metro-extracts.mapzen.com/bengaluru_india.osm.bz2">Bengaluru</a>
OSM extract and got the following result -<br>
<tt>$perl osm-length-2.pl blr.osm > blrroads.osm</tt><tt><br>
</tt><tt>highway length sums (metres):</tt><tt><br>
</tt><tt> 6033537m</tt><tt><br>
</tt><tt>residential 5054166m</tt><tt><br>
</tt><tt>unclassified 2923566m</tt><tt><br>
</tt><tt>tertiary 1570188m</tt><tt><br>
</tt><tt>secondary 671660m</tt><tt><br>
</tt><tt>service 593373m</tt><tt><br>
</tt><tt>primary 482729m</tt><tt><br>
</tt><tt>track 405331m</tt><tt><br>
</tt><tt>trunk 329030m</tt><tt><br>
</tt><tt>motorwa y 122168m</tt><tt><br>
</tt><tt>living_stre et 107621m</tt><tt><br>
</tt><tt>footway 86635m</tt><tt><br>
</tt><tt>road 31193m</tt><tt><br>
</tt><tt>path 27774m</tt><tt><br>
</tt><tt>primary_link 21972m</tt><tt><br>
</tt><tt>motorway_link 21734m</tt><tt><br>
</tt><tt>trunk_link 20323m</tt><tt><br>
</tt><tt>pedestrian 17188m</tt><tt><br>
</tt><tt>construction 12494m</tt><tt><br>
</tt><tt>tertiary_link 10146m</tt><tt><br>
</tt><tt>secondary_link 5783m</tt><tt><br>
</tt><tt>steps 2086m</tt><tt><br>
</tt><tt>raceway 807m</tt><tt><br>
</tt><tt>proposed 265m</tt><tt><br>
</tt><tt>bridleway 184m</tt><tt><br>
</tt><tt>cycleway 76m</tt><tt><br>
</tt><tt>TOTAL 18552043m</tt><br>
<br>
<br>
As per the <a
href="http://wiki.openstreetmap.org/wiki/India:Tags/Highway#Major_Roads">tagging
scheme</a> , most of the NH except few Urban Arterial Roads are
tagged as <a
href="http://taginfo.openstreetmap.in/tags/highway=trunk#map">highway=trunk</a>.
So length of trunk can approximately tell the NH coverage in OSM.<br>
<br>
<br>
cheers,<br>
yogi<br>
<br>
On Friday 29 May 2015 06:10 AM, Naveen Francis wrote:<br>
</div>
<blockquote
cite="mid:CABrp+inacyyd-EUMePh2PcdSQ-eavHMNsYfTGeRXFmFdWHaLZg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Hi Yogi,<br>
<br>
</div>
Is there any tool to know how many kms <a
moz-do-not-send="true"
href="http://taginfo.openstreetmap.in/tags/network=IN%3ANH">of
NH is covered in OSM</a> ?<br>
<br>
<a moz-do-not-send="true"
href="http://taginfo.openstreetmap.in/keys/network#values">http://taginfo.openstreetmap.in/keys/network#values</a><br>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">Thanks,<br>
</div>
<div class="gmail_extra">Naveen <br>
<br>
<br>
<br>
</div>
<div class="gmail_extra">
<div class="gmail_quote">On 27 May 2015 at 13:52, Yogesh योगि
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:yogesh@karnatakaeducation.org.in"
target="_blank">yogesh@karnatakaeducation.org.in</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>Right, and tags like <a moz-do-not-send="true"
href="http://taginfo.openstreetmap.in/tags/noexit=no"
target="_blank">noexit=no</a> are still in use
although it's <a moz-do-not-send="true"
href="http://wiki.openstreetmap.org/wiki/Tag:noexit%3Dno"
target="_blank">suggested</a> not to use. May be
we'll find many more which can be helpful in improving
our map data.<br>
<br>
And thanks to Sajjad and Satya, the taginfo instance
is now live at new address - <br>
<br>
<a moz-do-not-send="true"
href="http://taginfo.openstreetmap.in/"
target="_blank">http://taginfo.openstreetmap.in/</a><br>
<br>
Henceforth, everyone please use the above address to
find the tagging stats for India. Also added the same
to the <a moz-do-not-send="true"
href="http://wiki.openstreetmap.org/wiki/Taginfo/Sites"
target="_blank">taginfo page</a> on OpenStreetMap
wiki.
<div>
<div class="h5"><br>
<br>
<br>
<br>
On Monday 25 May 2015 11:58 PM, Arun Ganesh wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<div dir="ltr"><br>
<div class="gmail_extra">Yogesh, this is really
useful. Already see we need an anganwadi tag <a
moz-do-not-send="true"
href="http://rmsa.karnatakaeducation.org.in/search?q=anganwadi#values"
target="_blank">http://rmsa.karnatakaeducation.org.in/search?q=anganwadi#values</a><br>
<div><br>
</div>
-- <br>
<div>
<div>
<div>Arun Ganesh<font color="#333333"> </font></div>
<div><a moz-do-not-send="true"
href="http://en.wikipedia.org/wiki/User:Planemad"
target="_blank"><font color="#3333ff">(planemad)</font></a></div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<span class="">
<pre>_______________________________________________
Talk-in mailing list
<a moz-do-not-send="true" href="mailto:Talk-in@openstreetmap.org" target="_blank">Talk-in@openstreetmap.org</a>
<a moz-do-not-send="true" href="https://lists.openstreetmap.org/listinfo/talk-in" target="_blank">https://lists.openstreetmap.org/listinfo/talk-in</a>
</pre>
</span></blockquote>
<span class=""> <br>
<br>
<pre cols="72">--
Yogesh K S
Sent from an Electronic Device</pre>
</span></div>
<br>
_______________________________________________<br>
Talk-in mailing list<br>
<a moz-do-not-send="true"
href="mailto:Talk-in@openstreetmap.org">Talk-in@openstreetmap.org</a><br>
<a moz-do-not-send="true"
href="https://lists.openstreetmap.org/listinfo/talk-in"
target="_blank">https://lists.openstreetmap.org/listinfo/talk-in</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Talk-in mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Talk-in@openstreetmap.org">Talk-in@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openstreetmap.org/listinfo/talk-in">https://lists.openstreetmap.org/listinfo/talk-in</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Yogesh K S
Sent from an Electronic Device</pre>
</body>
</html>