Ohio/Statistics

From OpenStreetMap Wiki
Jump to: navigation, search

January 2018

As of January 1, 2018, OSM contains 10,003,605 nodes, 1,029,174 ways, and 11,414 relations in Ohio, including:

Pathway statistics

Pathway type Centerline miles Lane miles
2018 OSM[2] 2016 ODOT/FHWA[3] Completeness[4] 2018 OSM 2016 ODOT/FHWA[5][6] Completeness[7]
Interstate highways 1,615 1,574 103% 8,293 8,301 100%
Other freeways[8] 939 914 103% 3,889 3,768 103%
Public roadways[9] 137,163–141,302 122,974 112–115% 284,180 262,350 108%
Turn lanes[10] N/A N/A N/A 376 N/A N/A
Alleys 1,617 N/A N/A N/A N/A N/A
Driveways 2,338 N/A N/A N/A N/A N/A
Parking aisles 1,492 N/A N/A N/A N/A N/A
Drive-throughs 33 N/A N/A N/A N/A N/A
All roadways 155,262–159,409 N/A N/A 302,691 N/A N/A
Hallways 10 N/A N/A N/A N/A N/A
Crosswalks 101 N/A N/A N/A N/A N/A
Sidewalks 1,647 N/A N/A N/A N/A N/A
Staircases 13 N/A N/A N/A N/A N/A
All footpaths 6,251 N/A N/A N/A N/A N/A
Dedicated bike paths 1,493 N/A N/A N/A N/A N/A
Bike lanes N/A N/A N/A 303 N/A N/A
Shared lanes (sharrows) N/A N/A N/A 137 N/A N/A

Instructions

To generate these statistics, download the latest .osm.pbf extract from Geofabrik, then use osmium to filter it by the desired tags. For example, the following command filters out everything but parking lots and displays the number of elements in the resulting extract:

osmium tags-filter data/ohio-latest.osm.pbf -R 'nwr/amenity=parking' --overwrite -o data/ohio-latest-parking-lots.osm.pbf
osmium fileinfo -e data/ohio-latest-parking-lots.osm.pbf

To count unique tag values, use this formula:

osmium tags-filter data/ohio-latest.osm.pbf -R 'nwr/*:etymology*' --overwrite -o data/ohio-latest-etymologies.opl
cut -d' ' -f8 data/ohio-latest-etymologies.opl | cut -c2- | grep -oE '\w+:etymology(:wikidata)?=[^,]+' | cut -d'=' -f2 | sort -u | wc -l

osmium tags-filter data/ohio-latest.osm.pbf -R 'nwr/*:pronunciation' --overwrite -o data/ohio-latest-pronunciations.opl
cut -d' ' -f8 data/ohio-latest-pronunciations.opl | cut -c2- | grep -oE '\w+:pronunciation=([^,]+)' | cut -d'=' -f2 | grep -oE '[^;]+' | sort -u | wc -l

Then install Vainilla and follow the instructions in the tool's readme to generate the pathway statistics.

See also

Notes and references

  1. “The Ohio Township Roster” (Office Open XML Workbook). Ohio Secretary of State. May 4, 2017. Retrieved January 4, 2018. 
  2. A one-way road tagged highway=motorway/trunk/primary/secondary/tertiary may or may not be one side of a divided road. The lower bound assumes they all are, causing false positives' lengths to be undercounted by half. The upper bound assumes none of them are, double-counting the length of every false negative.
  3. "Public Road Length - 2016, Miles By Functional System". In “Highway Statistics 2016”. Federal Highway Administration. 2017-09-18. p. HM-20. 
  4. Figures over 100% may be due to a combination of new road construction since 2016, overcounting divided highways, privately-owned roads missing access=* tags, overnoding in TIGER-imported roads in some counties such as Clermont County, and TIGER-imported driveways incorrectly classified as highway=residential ways.
  5. "Functional System Lane-Length - 2016, Lane-Miles". In “Highway Statistics 2016”. Federal Highway Administration. 2017-09-18. p. HM-60. 
  6. Rural minor collector and rural/urban local functional system lane miles are estimates.
  7. Figures over 100% may be due to a combination of new road construction since 2016, privately-owned roads missing access=* tags, overnoding in TIGER-imported roads in some counties such as Clermont County, and TIGER-imported driveways incorrectly classified as highway=residential ways. Figures less than the corresponding centerline mile figures may be due to multilane roads missing lanes=* tags.
  8. FHWA calls this category “Other freeways and expressways”, but as seen in TIMS, ODOT classifies expressways and super-twos as principal arterials.
  9. Excluding all highway=service roads and roads with access=* values other than access=yes, access=destination, or access=designated.
  10. Only marked or signposted turn lanes; excludes implicit turns.