Skip to content

nickysemenza/sf-streets-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SF area map

openstreetmap data visualized with QGIS

sf area

# download metadata about county oF SF
# https://www.openstreetmap.org/relation/111968#map=15/37.7067/-122.4405&layers=HD
wget -O sf-county.osm https://www.openstreetmap.org/api/0.6/relation/111968/full

# download map data for all of northern california
# https://download.geofabrik.de/north-america/us/california/norcal.html
wget https://download.geofabrik.de/north-america/us/california/norcal-latest.osm.pbf
# extract just SF county
osmium extract -p sf-county.osm norcal-latest.osm.pbf --output sf-county.osm.pbf
# load into postgres with GIS with lua
osm2pgsql -d m -O flex -S streets.lua sf-county.osm.pbf --host localhost --username=m --password --keep-coastlines
# open QGIS project

Releases

No releases published

Packages

No packages published

Languages