Skip to content

Commit

Permalink
fix ProjectionUtils logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Чечулин Лев committed Oct 11, 2024
1 parent b1ff810 commit 96f401a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/ru/itmo/idu/geometry/ProjectionUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}
Expand All @@ -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();
}
}
Expand Down Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 96f401a

Please sign in to comment.