You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,6 +94,7 @@ docker run \
94
94
-d overv/openstreetmap-tile-server \
95
95
run
96
96
```
97
+
97
98
### AUTOVACUUM
98
99
99
100
The database use the autovacuum feature by default. This behavior can be changed with `AUTOVACUUM` environment variable. For example:
@@ -105,6 +106,20 @@ docker run \
105
106
-d overv/openstreetmap-tile-server \
106
107
run
107
108
```
109
+
110
+
### Flat nodes
111
+
112
+
If you are planning to import the entire planet or you are running into memory errors then you may want to enable the `--flat-nodes` option for osm2pgsql as follows:
You can find an example of the import performance to expect with this image on the [OpenStreetMap wiki](https://wiki.openstreetmap.org/wiki/Osm2pgsql/benchmarks#debian_9_.2F_openstreetmap-tile-server).
@@ -129,6 +144,10 @@ docker run \
129
144
```
130
145
For too high values you may notice excessive CPU load and memory usage. It might be that you will have to experimentally find the best values for yourself.
131
146
147
+
### The import process unexpectedly exits
148
+
149
+
You may be running into problems with memory usage during the import. Have a look at the "Flat nodes" section in this README.
0 commit comments