Hi,

On Wed, Apr 03, 2024 at 12:29:36AM +0100, Tomas Janousek wrote:
I believe this is because both shapely and pygeoif deprecated
asShape/as_shape respectively. The function is now called just "shape"
in both.
[…]
I think it might be okay to just patch fastkml/geometry.py to

   from shapely.geometry import shape as asShape
   …
   from pygeoif.geometry import shape as asShape

but it needs to be tested more thoroughly.

Yep, almost that. The following seems to work well (makes my CI pass):
https://github.com/liskin/liscopridge/commit/c44c3e6054af5a12bdf24d5687b6478d39480194#diff-e8ae9ced1dd6c13b4566c8a4a669116272e05115ce64aa743658523f4455ad5fR11

--
Tomáš "liskin" ("Pivník") Janoušek, https://lisk.in/

Reply via email to