You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GEOSException Traceback (most recent call last)
Cell In [57], line 1
----> 1 cardiff_builds = osm.get_buildings()
File /opt/anaconda3/envs/pyrosm/lib/python3.9/site-packages/pyrosm/pyrosm.py:265, in OSM.get_buildings(self, custom_filter, extra_attributes)
262 if self._nodes is None or self._way_records is None:
263 self._read_pbf()
--> 265 gdf = get_building_data(
266 self._node_coordinates,
267 self._way_records,
268 self._relations,
269 tags_as_columns,
270 custom_filter,
271 self.bounding_box,
272 )
274 # Do not keep node information unless specifically asked for
275 # (they are in a list, and can cause issues when saving the files)
276 if not self.keep_node_info and gdf is not None:
Describe the bug
osm.get_buildings()
throws a pygeos.GEOSException with what appears to be a valid boundary geometry.To Reproduce
Steps to reproduce the behavior:
Expected behavior
osm.get_buildings
to return the building features for the provided bounding box geometry.Environment:
Additional context
Add any other context about the problem here.
Test data and/or script/notebook
Error:
The text was updated successfully, but these errors were encountered: