@@ -56,6 +56,8 @@ mkdir ~/pgosm-data
56
56
```
57
57
58
58
Set environment variables for the temporary Postgres connection in Docker.
59
+ These are required for the Docker container to run.
60
+
59
61
60
62
``` bash
61
63
export POSTGRES_USER=postgres
@@ -74,11 +76,10 @@ docker run --name pgosm -d --rm \
74
76
```
75
77
76
78
Run the processing for the Washington D.C. The ` docker/pgosm_flex.py ` script
77
- requires three (3 ) parameters, typical use will use four (4 ) to include
79
+ requires two (2 ) parameters, typical use will use three (3 ) to include
78
80
the ` --subregion ` .
79
81
80
82
81
- * PgOSM-Flex layer set (` run-all ` )
82
83
* Total RAM for osm2pgsql, Postgres and OS (` 8 ` )
83
84
* Region (` north-america/us ` )
84
85
* Sub-region (` district-of-columbia ` ) (Optional)
@@ -87,10 +88,7 @@ the `--subregion`.
87
88
88
89
``` bash
89
90
docker exec -it \
90
- -e POSTGRES_PASSWORD=$POSTGRES_PASSWORD \
91
- -e POSTGRES_USER=$POSTGRES_USER \
92
91
pgosm python3 docker/pgosm_flex.py \
93
- --layerset=run-all \
94
92
--ram=8 \
95
93
--region=north-america/us \
96
94
--subregion=district-of-columbia
@@ -413,9 +411,12 @@ Current `JSONB` columns:
413
411
414
412
## Additional resources
415
413
414
+ See the listing of known
415
+ [ projects using PgOSM Flex] ( docs/PROJECTS.md ) .
416
+
417
+
416
418
Blog posts covering various details and background information.
417
419
418
420
* [ Better OpenStreetMap places in PostGIS] ( https://blog.rustprooflabs.com/2021/01/pgosm-flex-improved-openstreetmap-places-postgis )
419
421
* [ Improved OpenStreetMap data structure in PostGIS] ( https://blog.rustprooflabs.com/2021/01/postgis-openstreetmap-flex-structure )
420
422
* [ Hands on with osm2pgsql's new Flex output] ( https://blog.rustprooflabs.com/2020/12/osm2gpsql-flex-output-to-postgis ) .
421
-
0 commit comments