3 ms·
Cool, got it working. Spews a fair number of warning to stdout though. A few dozen of: /home/bill/.pretty/lib/python3.10/site-packages/prettymaps/fetch.py:31
by sliken 4y ago
Cool, got it working. Spews a fair number of warning to stdout though. A few dozen of:
/home/bill/.pretty/lib/python3.10/site-packages/prettymaps/fetch.py:317: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry.
list(lines)
/home/bill/.pretty/lib/python3.10/site-packages/prettymaps/fetch.py:317: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
list(lines)
- cavriends 4y agoFunnily enough, I came across this library a few weeks ago and made a PR to set the right version of the library that throws the errors. If you incorporate this, these will likely all disappear.