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
+48-23Lines changed: 48 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,15 +58,21 @@ For convenience, a [`docker-compose.yml` template](./docker-compose.yml) is incl
58
58
59
59
## Overpass instance covering part of the world
60
60
61
-
In this example the Overpass instance will be initialized with a planet file for Monaco downloaded from Geofabrik.
62
-
Data will be stored in folder`/big/docker/overpass_db/` on the host machine and will not contain metadata as this example uses public Geofabrik extracts that do not contain metadata (such as changeset and user).
61
+
As .osm.bz2 files are becoming increasingly rare, it is unfortunately often necessary to convert .osm.pbf files to .osm.bz2 files. This can be done either in a Docker container or on the host machine. Several examples of how to proceed are provided.
62
+
63
+
Data will be stored in folder `/big/docker/overpass_db/` on the host machine and will not contain metadata as this example uses public Geofabrik extracts that do not contain metadata (such as changeset and user).
63
64
Overpass will be available on port 12345 on the host machine.
64
65
66
+
### .osm.bz2 files are directly provided
67
+
68
+
In this example the Overpass instance will be initialized with a planet file for Monaco. Since there are currently no download servers with the .osm.bz2 file format available you need to get the file on your own or use a solution below.
### Convert an .osm.pbf file to an .osm.bz2 file in the Docker container
85
+
86
+
Because Geofabrik provides only PBF extracts with metadata, `osmium` is used in `OVERPASS_PLANET_PREPROCESS` to convert the `pbf` file to `osm.bz2` that's used by Overpass.
In this example Overpass instance will be initialized with data from main Overpass instance and updated with master planet diffs.
@@ -108,26 +153,6 @@ Prepare file with your credentials `/home/osm/oauth-settings.json`:
108
153
}
109
154
```
110
155
111
-
Because Geofabrik provides only PBF extracts with metadata, `osmium` is used in `OVERPASS_PLANET_PREPROCESS` to convert the `pbf` file to `osm.bz2` that's used by Overpass.
0 commit comments