I am new to OSM and am trying to leverage it to calculate the total length of pedestrian walkways (i.e., footways and sidewalks) within individual cities. I am using OSM wiki to determine which keys I should be using to account for all type of paths (https://wiki.openstreetmap.org/wiki/Key:highway). My focus is on footways and sidewalks. The code below show the types of paths I am summing to get the total length of all pedestrians paths in the city. However, I am not sure if I am covering all my bases or double counting certain paths. Will the below list of keys get me the total sidewalk length across a city, or should I add/remove any? For context, I'm confident that my code returns path length - my question is about making sure that I am accounting for all the types of pedestrian paths. way["footway"=sidewalk](area.a); way["sidewalk"=both](area.a); way["sidewalk"=left](area.a); way["sidewalk"=right](area.a); way["footway"=crossing](area.a); way["footway"=traffic_island](area.a); way["footway"=alley](area.a); way["footway"=residential](area.a); way["highway"=footway](area.a); way["highway"=pedestrian](area.a); As an example: sidewalks can take a value of left, right, both, lane, separate, yes, or no according to OSM wiki. I'm not sure which I should and should not be including in my total sum (so far I only included right, left, and both). Similar questions apply for footways. Thanks in advance. Continue reading...