-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Uses the new flex configuration file currently discussed in gravitystorm/openstreetmap-carto#4977
- Loading branch information
Showing
4 changed files
with
732 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
-- --------------------------------------------------------------------------- | ||
-- | ||
-- Example config for osmcarto theme | ||
-- | ||
-- Configuration for the osm2pgsql Themepark framework | ||
-- | ||
-- --------------------------------------------------------------------------- | ||
|
||
local themepark = require('themepark') | ||
|
||
-- --------------------------------------------------------------------------- | ||
|
||
themepark:add_topic('osmcarto/osmcarto') | ||
|
||
-- --------------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
# Theme "osmcarto" | ||
|
||
This theme contains the definition for the OpenStreetMap Carto style from | ||
https://github.com/gravitystorm/openstreetmap-carto . | ||
|
||
There is only one topic called `osmcarto` available. Use like this: | ||
|
||
```{lua} | ||
themepark:add_topic('osmcarto/osmcarto') | ||
``` | ||
|
||
Note that this contains a [copy of the | ||
config](topics/openstreetmap-carto-flex.lua) from the [openstreetmap-carto | ||
repository](https://github.com/gravitystorm/openstreetmap-carto). If that file | ||
is changed, it needs to be copied here. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
-- --------------------------------------------------------------------------- | ||
-- | ||
-- Theme: osmcarto | ||
-- | ||
-- --------------------------------------------------------------------------- | ||
|
||
local theme = {} | ||
|
||
return theme | ||
|
||
-- --------------------------------------------------------------------------- |
Oops, something went wrong.