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
+2-26Lines changed: 2 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -202,33 +202,9 @@ running without Docker.
202
202
203
203
## Layer Sets
204
204
205
-
Layer sets are defined under the directory [pgosm-flex/flex-config/](https://github.com/rustprooflabs/pgosm-flex/tree/main/flex-config), the current `run-*` options are:
206
-
207
-
*`run-all`
208
-
*`run-no-tags`
209
-
*`run-road-place`
210
-
*`run-unitable`
211
-
212
-
Each of these layer sets includes the core layer defintions
213
-
(see `style/*.lua`)
214
-
and post-processing SQL (see `sql/*.sql`).
215
-
The `.lua` scripts work with osm2pgsql's Flex output.
216
-
PgOSM-Flex is using these styles with a mix-and-match approach.
217
-
This is best illustrated by looking within the main `run-all.lua` script.
218
-
As the following shows, it does not define any actual styles, only includes
219
-
a single style, and runs another layer set (`run-no-tags`).
220
-
221
-
222
-
```lua
223
-
require"style.tags"
224
-
require"run-no-tags"
225
-
```
226
-
227
-
The `style.tags` script creates a table `osm.tags` that contains all OSM key/value
228
-
pairs, but with no geometry. This is the largest table loaded by the `run-all`
229
-
layer set and enables joining any OSM data in another layer (e.g. `osm.road_line`)
230
-
to find any additional tags.
231
205
206
+
PgOSM Flex includes a few layersets and makes it easy to customize your own.
207
+
See [docs/LAYERSETS.md](docs/LAYERSETS.md) for details.
0 commit comments