Skip to content

Commit

Permalink
Merge pull request #46 from phanecak-maptiler/baikonur_border
Browse files Browse the repository at this point in the history
Baikonur border fix
  • Loading branch information
phanecak-maptiler authored Mar 12, 2024
2 parents e1de528 + dcf66f3 commit f7642fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/openmaptiles/layers/Boundary.java
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ record BoundaryInfo(int adminLevel, int minzoom, int maxzoom) {}
BoundaryInfo info = switch (table) {
case "ne_110m_admin_0_boundary_lines_land" -> new BoundaryInfo(2, 0, 0);
case "ne_50m_admin_0_boundary_lines_land" -> new BoundaryInfo(2, 1, 3);
case "ne_10m_admin_0_boundary_lines_land" -> feature.hasTag("featurecla", "Lease Limit") ? null :
case "ne_10m_admin_0_boundary_lines_land" -> feature.hasTag("featurecla", "Lease limit") ? null :
new BoundaryInfo(2, 4, 4);
case "ne_10m_admin_1_states_provinces_lines" -> {
Double minZoom = Parse.parseDoubleOrNull(feature.getTag("min_zoom"));
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/org/openmaptiles/layers/BoundaryTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ void testNaturalEarthCountryBoundaries() {
assertFeatures(0, List.of(), process(SimpleFeature.create(
newLineString(0, 0, 1, 1),
Map.of(
"featurecla", "Lease Limit"
"featurecla", "Lease limit"
),
OpenMapTilesProfile.NATURAL_EARTH_SOURCE,
"ne_10m_admin_0_boundary_lines_land",
Expand Down

0 comments on commit f7642fd

Please sign in to comment.