The website http://download.geofabrik.de/north-america.html does not have shapefiles (shp.zip) for sizable states or countries. How do you convert the available osm.pbf to shp.zip?
I have tried QGIS but it does not export all the shapefiles from (osm.pbf) to (shp).
I have tried R, but again, only exported a fraction of shapes.
library(rgdal) osmfilename = 'california-latest.osm.pbf' directory_name = 'shp_directory' layer_name = 'output_layer' osm <- readOGR(osmfilename, 'lines') writeOGR(osm, directory_name, layer_name, driver = 'ESRI Shapefile')
Do you have any other way that I could try?