Doc: Highway Lengths - wimlds/smart_cities GitHub Wiki

The road length of each NYC ZIPCODE is calculated using OpenStreetMaps and the OSMnx python package. OSMnx queries OpenStreetMaps to obtain all driving roads within a zipcode geographical boundaries (the areas is passed as a shape read in from a shapefile with geopandas and fiona). The code that generates the dataset is in this notebook


Table path:

  • `smart_cities_data.RoadLenghtByZIP`
Column Name Explanation
ZIPCODE Integer
COUNTY String, county name
CTY_FIPS Integer, Federal Information Processing Standards code
POPULATION Float, City population from DoITT zipcodes shapefile updated 09/28 2014
PO_NAME STRING String, popular name of the neighborhood
streetlength Float length of all drivable roads (km)