Skip to content

Commit

Permalink
Fix more typos
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed Apr 12, 2024
1 parent 1c66f06 commit c53e838
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ private void assignNameToSidewalk(EdgeOnLevel sidewalkOnLevel, AtomicInteger nam
.map(g -> computePercentInsideBuffer(g, buffer, sidewalkLength))
// Remove those groups where less than a certain percentage is inside the buffer around
// the sidewalk. This is a safety mechanism for sidewalks that snake around the corner,
// like https://www.openstreetmap.org/way/1059101564 .
// like https://www.openstreetmap.org/way/1059101564.
.filter(group -> group.percentInBuffer > MIN_PERCENT_IN_BUFFER)
.max(Comparator.comparingDouble(NamedEdgeGroup::percentInBuffer))
.ifPresent(group -> {
Expand Down Expand Up @@ -195,7 +195,7 @@ private static Stream<CandidateGroup> groupEdgesByName(List<EdgeOnLevel> candida
* <p>
* Background: If you call the regular buffer() method on a JTS geometry that uses WGS84 as the
* coordinate reference system, the buffer will be accurate at the equator but will become more
* and more elongated the further north/south you go.
* and more elongated the farther north/south you go.
* <p>
* Taken from https://stackoverflow.com/questions/36455020
*/
Expand Down

0 comments on commit c53e838

Please sign in to comment.