Skip to content

Commit

Permalink
Update src/main/java/com/conveyal/r5/analyst/Grid.java
Browse files Browse the repository at this point in the history
Co-authored-by: Anson Stewart <[email protected]>
  • Loading branch information
trevorgerhardt and ansoncfit committed Nov 6, 2024
1 parent 3bbe3b7 commit 4c8a8fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/conveyal/r5/analyst/Grid.java
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ public static List<Grid> fromGeoJson (InputStream geoJsonInputStream, int zoom,
SimpleFeatureCollection features = reader.getFeatures();
Envelope envelope = features.getBounds();

checkWgsEnvelopeSize(envelope, "Shapefile");
checkWgsEnvelopeSize(envelope, "GeoJSON file");
WebMercatorExtents extents = WebMercatorExtents.forWgsEnvelope(envelope, zoom);

int total = features.size();
Expand Down

0 comments on commit 4c8a8fd

Please sign in to comment.