[Talk-in] Taginfo for India OSM
Yogesh योगि
yogesh at karnatakaeducation.org.in
Fri May 29 12:59:17 UTC 2015
Hi Naveen,
To get the length of roads in OSM, tools like road_length
<https://github.com/yogiks/osmium-contrib/tree/master/road_length> and
osm-length
<http://svn.openstreetmap.org/applications/utils/filter/osm-length/> 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.
Tried Frederik's osm-length-2.pl
<http://svn.openstreetmap.org/applications/utils/filter/osm-length/osm-length-2.pl>
with Bengaluru
<https://s3.amazonaws.com/metro-extracts.mapzen.com/bengaluru_india.osm.bz2>
OSM extract and got the following result -
$perl osm-length-2.pl blr.osm > blrroads.osm
highway length sums (metres):
6033537m
residential 5054166m
unclassified 2923566m
tertiary 1570188m
secondary 671660m
service 593373m
primary 482729m
track 405331m
trunk 329030m
motorwa y 122168m
living_stre et 107621m
footway 86635m
road 31193m
path 27774m
primary_link 21972m
motorway_link 21734m
trunk_link 20323m
pedestrian 17188m
construction 12494m
tertiary_link 10146m
secondary_link 5783m
steps 2086m
raceway 807m
proposed 265m
bridleway 184m
cycleway 76m
TOTAL 18552043m
As per the tagging scheme
<http://wiki.openstreetmap.org/wiki/India:Tags/Highway#Major_Roads> ,
most of the NH except few Urban Arterial Roads are tagged as
highway=trunk <http://taginfo.openstreetmap.in/tags/highway=trunk#map>.
So length of trunk can approximately tell the NH coverage in OSM.
cheers,
yogi
On Friday 29 May 2015 06:10 AM, Naveen Francis wrote:
> Hi Yogi,
>
> Is there any tool to know how many kms of NH is covered in OSM
> <http://taginfo.openstreetmap.in/tags/network=IN%3ANH> ?
>
> http://taginfo.openstreetmap.in/keys/network#values
>
> Thanks,
> Naveen
>
>
>
> On 27 May 2015 at 13:52, Yogesh योगि <yogesh at karnatakaeducation.org.in
> <mailto:yogesh at karnatakaeducation.org.in>> wrote:
>
> Right, and tags like noexit=no
> <http://taginfo.openstreetmap.in/tags/noexit=no> are still in use
> although it's suggested
> <http://wiki.openstreetmap.org/wiki/Tag:noexit%3Dno> not to use.
> May be we'll find many more which can be helpful in improving our
> map data.
>
> And thanks to Sajjad and Satya, the taginfo instance is now live
> at new address -
>
> http://taginfo.openstreetmap.in/
>
> Henceforth, everyone please use the above address to find the
> tagging stats for India. Also added the same to the taginfo page
> <http://wiki.openstreetmap.org/wiki/Taginfo/Sites> on
> OpenStreetMap wiki.
>
>
>
>
> On Monday 25 May 2015 11:58 PM, Arun Ganesh wrote:
>>
>> Yogesh, this is really useful. Already see we need an anganwadi
>> tag http://rmsa.karnatakaeducation.org.in/search?q=anganwadi#values
>>
>> --
>> Arun Ganesh
>> (planemad) <http://en.wikipedia.org/wiki/User:Planemad>
>>
>>
>> _______________________________________________
>> Talk-in mailing list
>> Talk-in at openstreetmap.org <mailto:Talk-in at openstreetmap.org>
>> https://lists.openstreetmap.org/listinfo/talk-in
>
>
> --
> Yogesh K S
> Sent from an Electronic Device
>
>
> _______________________________________________
> Talk-in mailing list
> Talk-in at openstreetmap.org <mailto:Talk-in at openstreetmap.org>
> https://lists.openstreetmap.org/listinfo/talk-in
>
>
>
>
> _______________________________________________
> Talk-in mailing list
> Talk-in at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-in
--
Yogesh K S
Sent from an Electronic Device
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-in/attachments/20150529/145e67e0/attachment.html>
More information about the Talk-in
mailing list