pyrosm
pyrosm copied to clipboard
ShapelyDeprecationWarning in OSM.get_pois()
Using the OSM.get_pois() function in Pyrosm 0.6.1 I got the following warning:
pyrosm\pyrosm.py:576: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead.
It looks like pyrosm.py#L576 needs to be updated to account for https://github.com/Toblerity/Shapely/pull/955.
@EwoutH Thanks! Yes, the new Shapely 1.8 was just released, so need to update pyrosm
accordingly in the next release. 👍🏻