-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add natural earth - water lakes for tiler
- Loading branch information
Showing
2 changed files
with
88 additions
and
4 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
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,34 @@ | ||
[[providers.layers]] | ||
name = "ne_water_lakes_0-2" | ||
geometry_fieldname = "geometry" | ||
geometry_type = "multipolygon" | ||
id_fieldname = "ogc_fid" | ||
sql = "SELECT ST_AsMVTGeom(ST_Simplify(wkb_geometry, 1000),!BBOX!) AS geometry, name, ogc_fid FROM ne_50m_lakes WHERE wkb_geometry && !BBOX!" | ||
|
||
[[providers.layers]] | ||
name = "ne_water_lakes_3-5" | ||
geometry_fieldname = "geometry" | ||
geometry_type = "multipolygon" | ||
id_fieldname = "ogc_fid" | ||
sql = "SELECT ST_AsMVTGeom(ST_Simplify(wkb_geometry, 500),!BBOX!) AS geometry, name, ogc_fid FROM ne_50m_lakes WHERE wkb_geometry && !BBOX!" | ||
|
||
[[providers.layers]] | ||
name = "ne_water_lakes_6-10" | ||
geometry_fieldname = "geometry" | ||
geometry_type = "multipolygon" | ||
id_fieldname = "ogc_fid" | ||
sql = "SELECT ST_AsMVTGeom(ST_Simplify(wkb_geometry, 100),!BBOX!) AS geometry, name, ogc_fid FROM ne_10m_lakes WHERE wkb_geometry && !BBOX!" | ||
|
||
[[providers.layers]] | ||
name = "ne_water_lakes_11-13" | ||
geometry_fieldname = "geometry" | ||
geometry_type = "multipolygon" | ||
id_fieldname = "ogc_fid" | ||
sql = "SELECT ST_AsMVTGeom(ST_Simplify(wkb_geometry, 5),!BBOX!) AS geometry, name, ogc_fid FROM ne_10m_lakes WHERE wkb_geometry && !BBOX!" | ||
|
||
[[providers.layers]] | ||
name = "ne_water_lakes_14-20" | ||
geometry_fieldname = "geometry" | ||
geometry_type = "multipolygon" | ||
id_fieldname = "ogc_fid" | ||
sql = "SELECT ST_AsMVTGeom(wkb_geometry,!BBOX!) AS geometry, name, ogc_fid FROM ne_10m_lakes WHERE wkb_geometry && !BBOX!" |