Switch to norcal-latest from overpass

This commit is contained in:
Will Bradley 2021-02-07 02:22:27 -08:00
parent bef81198a8
commit a599776919
2 changed files with 18 additions and 599312 deletions

View File

@ -30,21 +30,10 @@ Here are sample screenshots of Sonoma County, Santa Rosa, the City of Sonoma, an
`original_data` from:
- https://gis-sonomacounty.hub.arcgis.com/datasets/2202c1cd6708441f987ca5552f2d9659
- https://gis-sonomacounty.hub.arcgis.com/datasets/0f5982c3582d4de0b811e68d7f0bff8f
- https://overpass-turbo.eu/
- http://download.geofabrik.de/north-america/us/california/norcal-latest.osm.pbf
Overpass query (you may save as OSM file, shapefile, or postgres sql dump depending on your overpass client)
osm2pgsql -d openstreetmap -c --prefix son --slim --extra-attributes --hstore --latlong norcal-latest.osm.pbf -U openstreetmap -W -H localhost -P 5432
```
area[name="Sonoma County"];
(
way[building](area);
relation[building](area);
);
(._;>;);
out;
```
If using an Overpass -> QGIS -> Postgres dump, save it as `osmquery_buildings_pgdump.sql` for later.
Otherwise osm2pgsql should create tables like `son_polygon` for later.
## Prerequisites
@ -128,6 +117,22 @@ osm2pgsql -d openstreetmap -c --prefix son --slim --extra-attributes --hstore --
osm2pgsql -d openstreetmap -c --prefix son --slim --extra-attributes --hstore --latlong norcal-latest-20200103.osm.pbf -U openstreetmap -W -H localhost -P 5432
```
- https://overpass-turbo.eu/
Overpass query (you may save as OSM file, shapefile, or postgres sql dump depending on your overpass client)
```
area[name="Sonoma County"];
(
way[building](area);
relation[building](area);
);
(._;>;);
out;
```
If using an Overpass -> QGIS -> Postgres dump, save it as `osmquery_buildings_pgdump.sql` for later.
```
sonoma_county_building_outlines
"conflated" = FALSE

File diff suppressed because it is too large Load Diff