Skip to content

Open Infrastructure Map, a view of infrastructure data in OpenStreetMap

README update

Russ Garrett00ce0f08a462
diff --git a/README.md b/README.md
index 04e2f87..ab819f0 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,6 @@
# Open Infrastructure Map
This is the main repository for [OpenInfraMap](https://openinframap.org).
-*Note: the web frontend and backend were previously in separate repositories. They were merged into this repository (previously called `styles`) in September 2021, in order to make development easier and make it clearer where to file issues.*
-
## Web frontend
The [web frontend](web) contains the Javascript app, built by Webpack and served as static files.
@@ -11,14 +9,23 @@ The [web frontend](web) contains the Javascript app, built by Webpack and served
The [web backend](web-backend) serves the [stats pages](https://openinframap.org/stats), as well as some additional non-JS web endpoints. It's an async python web app built using starlette.
-## Mapping
+## OSM Import & Mapping
The mapping file controls how the OSM subset is imported with
[imposm3](https://imposm.org/docs/imposm3/latest/). It's generated from the files in [mapping](mapping)
by calling `python3 ./mapping/main.py > ./mapping.json`.
-The `tegola.yml` and `layers.yml` files are used to generate the Tegola config using
-`python3 ./tegola/generate_tegola_config.py ./tegola/tegola.yml ./tegola/layers.yml > ./tegola/config.toml`.
+Changes to the mapping require a re-import of the OpenStreetMap database, which takes
+a while and is currently done very irregularly.
+
+I will generally not make any changes to the mapping files unless I'm ready to run a re-import, so if you'd like some changes made to those, please raise an issue rather than a PR.
+
+## Tile Server
+
+Map tiles are served with [Tegola](https://tegola.io/). There's a YAML-based language
+which generates the Tegola config, from the `tegola.yml` and `layers.yml` files:
+
+`python3 ./tegola/generate_tegola_config.py ./tegola/tegola.yml ./tegola/layers.yml > ./tegola/config.toml`
## Services