OpenStreetMap 로고 OpenStreetMap

Calculating the mapped road coverage in your region

PlaneMad님이 English로 2016년 1월 18일에 게시함.

A few months back in the OSM India community, we were curious to know how much of the trunk network of National Highways has been mapped compared to the official statistics released by the government.

We started off by aggregating all the statistics we could find from various official sources on the road lengths for different types of roads into a common spreadsheet.

Next was to calculate the corresponding length of roads in each state mapped on OSM. To do this, I used the osm-coverage tile reduce processor with added support for Admin-1 regions from natural earth vectors.

All it takes to run this for the Indian subcontinent is:

npm install

node download.js --all

node index.js --area=[56,-12,116,42] > output.json

To generate per highway tag road length in kms for each state in the bbox. The processing should not take more than 5 minutes.

These numbers were used to compare with the official figures and generate a list of states where the national highway coverage needs to be improved.

Try it out for your area and see if it helps detect missing highway networks. The code is in the regions branch of the processor: https://github.com/mapbox/osm-coverage/tree/regions

Happy to hear feedback on how it worked and how the processor can be improved.

이메일 아이콘 Bluesky 아이콘 Facebook 아이콘 LinkedIn 아이콘 마스토돈 아이콘 텔레그램 아이콘 X 아이콘

토론

2016년 1월 18일 13:31bojan12님의 의견

looks interesting

2016년 1월 18일 19:59Heinz_V님의 의견

Your statewise length of the NHs is completely out of date or full of errors. See the wiki-page for exact values. osm.wiki/National_Highways_%28statewise%29

2016년 1월 19일 02:28PlaneMad님의 의견

Heinz, the calculations were done a few weeks ago, but its still interesting to note the differences in length. If you can share the process you followed to do this it will help find the cause of the variation.

2016년 1월 19일 12:38yogi_ks님의 의견

It will be nice to know the process followed by Heinz to get the highways length mentioned on the wiki page. I used the old osm-length-2.pl perl script for Karnataka region from latest OSM extract to get highways length and got approximately similar length(~7789km) as in this common spreadsheet.

Kar

2016년 1월 19일 16:11PlaneMad님의 의견

Thanks Yogi, this is useful. Atleast we now know the numbers are not completely off. One thing to note is that both the pl and the osm-coverage script will be giving slightly higher counts due to dual carriageways. Still uncertain how badly this affects the final value.

2016년 1월 23일 01:35Heinz_V님의 의견

The NH-length in Karnataka is 6434km(OSM) and 6502km (MORTH. My calculatons take care of dual-carriage parts and road parts that are shared by two NHs (no double counting). I created for each NH-road seperate relations and calculate the length with the relation analyser. If the mapping is precise, than my calculations are also precise. A little problem is that the state boundaries are not mapped excatly. And it’s not clear what to do with NHs in big cities without a ref-tag. Does Morth count these roads??

댓글을 남기려면 로그인하세요