Skip to content

Commit

Permalink
test fix and trace
Browse files Browse the repository at this point in the history
  • Loading branch information
msbarry committed Jun 16, 2024
1 parent c89629c commit b075dcc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/openmaptiles/layers/Water.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ record WaterInfo(int minZoom, int maxZoom, String clazz) {}
if (geom.isValid()) {
lakeInfo.geom = geom;
} else {
LOGGER.debug("Fixing geometry of NE lake {}", feature.getLong("ne_id"));
LOGGER.trace("Fixing geometry of NE lake {}", feature.getLong("ne_id"));
lakeInfo.geom = GeometryFixer.fix(geom);
}
lakeInfo.name = feature.getString("name");
Expand Down Expand Up @@ -201,7 +201,7 @@ void attemptNeLakeIdMapping(Tables.OsmWaterPolygon element) throws GeometryExcep
if (!geom.isValid()) {
geom = GeometryFixer.fix(geom);
stats.dataError("omt_fix_water_before_ne_intersect");
LOGGER.debug("Fixing geometry of OSM element {} before attempt to add ID to natural earth water feature",
LOGGER.trace("Fixing geometry of OSM element {} before attempt to add ID to natural earth water feature",
element.source().id());
}

Expand Down
2 changes: 1 addition & 1 deletion src/test/java/org/openmaptiles/layers/LandcoverTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ private void assertMerges(List<Map<String, Object>> expected, List<VectorTile.Fe
throws GeometryException {
Assertions.assertEquals(expected,
profile.postProcessLayerFeatures("landcover", zoom, in).stream().map(
VectorTile.Feature::attrs)
VectorTile.Feature::tags)
.toList());
}
}

0 comments on commit b075dcc

Please sign in to comment.