Skip to content

Commit

Permalink
Use visvalingam for ocean and admin boundaries
Browse files Browse the repository at this point in the history
  • Loading branch information
systemed committed Oct 18, 2024
1 parent 4ceddbc commit 5e5210f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/config-openmaptiles.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"layers": {
"place": { "minzoom": 0, "maxzoom": 14 },
"boundary": { "minzoom": 0, "maxzoom": 14, "simplify_below": 12, "simplify_level": 0.0003, "simplify_ratio": 2 },
"boundary": { "minzoom": 0, "maxzoom": 14, "simplify_below": 12, "simplify_level": 0.0003, "simplify_ratio": 2, "simplify_algorithm": "visvalingam" },

"poi": { "minzoom": 12, "maxzoom": 14 },
"poi_detail": { "minzoom": 14, "maxzoom": 14, "write_to": "poi"},
Expand All @@ -17,7 +17,7 @@
"building": { "minzoom": 13, "maxzoom": 14 },

"water": { "minzoom": 6, "maxzoom": 14, "simplify_below": 12, "simplify_level": 0.0003, "simplify_ratio": 2},
"ocean": { "minzoom": 0, "maxzoom": 14, "source": "coastline/water_polygons.shp", "filter_below": 12, "filter_area": 0.5, "simplify_below": 13, "simplify_level": 0.0001, "simplify_ratio": 2, "write_to": "water" },
"ocean": { "minzoom": 0, "maxzoom": 14, "source": "coastline/water_polygons.shp", "filter_below": 12, "filter_area": 0.5, "simplify_below": 13, "simplify_level": 0.0001, "simplify_ratio": 2, "simplify_algorithm": "visvalingam", "write_to": "water" },
"water_name": { "minzoom": 14, "maxzoom": 14 },
"water_name_detail": { "minzoom": 14, "maxzoom": 14, "write_to": "water_name" },

Expand Down

0 comments on commit 5e5210f

Please sign in to comment.