This is a quick exploration of how to calculate some characteristics about a route.
Generate the RUC layer using atip-data-prep
, then grab the temporary GeoJSON file.
Convert: ogr2ogr ruc.fgb rural_urban_classification.geojson
Same, but for tmp_census_output_areas
Download the GB-wide gpkg from https://osdatahub.os.uk/downloads/open/OpenRoads. Create a FGB with links and nodes:
ogr2ogr os_links.fgb oproad_gb.gpkg -t_srs EPSG:4326 -sql 'SELECT id, road_classification, start_node, end_node, geometry FROM road_link'
ogr2ogr os_nodes.fgb oproad_gb.gpkg -t_srs EPSG:4326 -sql 'SELECT id, geometry FROM road_node'