Skip to content

Commit

Permalink
Update PointObjectPositionServiceImpl.java
Browse files Browse the repository at this point in the history
  • Loading branch information
TruongQuangSB authored Dec 17, 2024
1 parent bc5f0ba commit ede3b01
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,7 @@ private static BigDecimal getLateralDistance(
&& singlePoint.getSeitlicherAbstand().getWert() != null) {
return singlePoint.getSeitlicherAbstand().getWert();
}
final BigDecimal distance = singlePoint.getSeitlicherAbstand()
.getWert();
final BigDecimal distance = singlePoint.getAbstand().getWert();
// Determine the track type
final GEOKanteSegment segment = geoKante.getContainingSegment(distance);
final List<ENUMGleisart> trackType = segment.getBereichObjekte()
Expand Down

0 comments on commit ede3b01

Please sign in to comment.