Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS] Fix spelling in Java files #1624

Merged
merged 1 commit into from
Oct 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ public static boolean geometryIsPolygonal(Geometry geometry) {
}

/**
* Checks if the geoemetry pair - <code>left</code> and <code>right</code> - should be handled be
* Checks if the geometry pair - <code>left</code> and <code>right</code> - should be handled be
* the current partition - <code>extent</code>.
*
* @param left
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public H3UtilException(String message, Throwable cause) {
cellSizeMap.put(15, 0.0004567448929842399);
}

public static LatLng coordindateToLatLng(Coordinate coordinate) {
public static LatLng coordinateToLatLng(Coordinate coordinate) {
return new LatLng(coordinate.getY(), coordinate.getX());
}

Expand All @@ -96,13 +96,13 @@ public static List<Long> polygonToCells(Polygon polygon, int level, boolean full
try {
List<LatLng> shell =
Arrays.stream(polygon.getExteriorRing().getCoordinates())
.map(H3Utils::coordindateToLatLng)
.map(H3Utils::coordinateToLatLng)
.collect(Collectors.toList());
List<List<LatLng>> holes = new ArrayList<>();
for (int i = 0; i < polygon.getNumInteriorRing(); i++) {
holes.add(
Arrays.stream(polygon.getInteriorRingN(i).getCoordinates())
.map(H3Utils::coordindateToLatLng)
.map(H3Utils::coordinateToLatLng)
.collect(Collectors.toList()));
}
// H3 polyfill only include hexagons with centroid within the polygon, we fix by generating
Expand Down
Loading