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 <astewart@conveyal.com>
  • Loading branch information
trevorgerhardt and ansoncfit committed Feb 27, 2024
1 parent c39100e commit 3db9bf7
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 3db9bf7

Please sign in to comment.