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 Mar 25, 2024
1 parent 36c1d9f commit cfe9fd3
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 cfe9fd3

Please sign in to comment.