Skip to content

Commit

Permalink
avoid digitization errors around null island
Browse files Browse the repository at this point in the history
  • Loading branch information
gboeing committed Feb 26, 2024
1 parent fbf7e59 commit 78af8ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_osmnx.py
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ def test_features():
"""Test downloading features from Overpass."""
# geometries_from_bbox - bounding box query to return no data
with pytest.raises(ox._errors.InsufficientResponseError):
gdf = ox.geometries_from_bbox(0.009, -0.009, 0.009, -0.009, tags={"building": True})
gdf = ox.geometries_from_bbox(-2.000, -2.001, -2.000, -2.001, tags={"building": True})

# geometries_from_bbox - successful
north, south, east, west = ox.utils_geo.bbox_from_point(location_point, dist=500)
Expand Down

0 comments on commit 78af8ed

Please sign in to comment.