diff --git a/src/main/java/ru/itmo/idu/geometry/ProjectionUtils.java b/src/main/java/ru/itmo/idu/geometry/ProjectionUtils.java index fa1a7ce..1aacd9d 100644 --- a/src/main/java/ru/itmo/idu/geometry/ProjectionUtils.java +++ b/src/main/java/ru/itmo/idu/geometry/ProjectionUtils.java @@ -178,7 +178,7 @@ public static double calcLength(CoordinateReferenceSystem crs, Geometry geometry return projed.getLength(); } } catch (Exception ex) { - log.error("Failed to calc area", ex); + log.error("Failed to calc length", ex); return geometry.getLength(); } } @@ -195,7 +195,7 @@ public static double calcLength(Geometry geometry) { return projed.getLength(); } } catch (Exception ex) { - log.error("Failed to calc area", ex); + log.error("Failed to calc length", ex); return geometry.getLength(); } } @@ -251,7 +251,7 @@ public static Geometry transformToMercator(Geometry geometry) { try { return JTS.transform(geometry, latLonToXY); } catch (TransformException e) { - log.error("Failed to transsform", e); + log.error("Failed to transform", e); return geometry; } }