@py5coding looking carefully... not much development went on #scikitgeometry in the last 4 years. Even if it is a nice library, it could use more help, it might not be best for wider public use... Mac installation issues, it seems, limited to Python 3.9 I think, etc. #shapely on the other hand is very actively maintained. #Python
@villares Neat! #shapely's shape intersection tools are powerful. Also, how convenient that #py5 can convert shapely shapes to Py5Shape objects.
I was about to ask about that disable_style() call but now I see you need it because your converted shapes are cached & you want it to adapt a new stroke color. An alternative approach is to use the shape object's set_stroke() method, but you'd have to rewrite some stuff. I'm not saying one way is better than another, just that there's another approach
Wow, #Shapely (a powerful Python library for 2D shape manipulation) really doesn't want you to give it SVGs, does it? 🙄 It reads WKT and GeoJSON and apparently converting SVG to either of those is nothing there are many #Python tools for apparently...
With Shapely, I can probably add SVG/2D shape import to #sdfCAD - a feature that's sorely missing (along with 3D object import, yes...).
Observation: #OpenSoftware spatial analytics tools (#QGIS, #GDAL, #GeoPandas)—despite heroic efforts from their developers—are frequently broken and/or unusable because of fragile and complex dependencies.
Research Questions:
Why has the open source spatial analytics ecosystem resisted greater centralization or coordination?
What social and material factors shape(d) these relationships?
How does popular proprietary software like ArcGIS distort open source alternatives?
@bkeegan@Dragons8mycat@geopandas I was a #shapely package maintainer before conda use became widespread. I provided windows binaries on PyPI for several Python releases, including 32- and 64-bit binaries for each supported Python release. Such a pain! And that was just part of the work I was doing for curating GIS development environments at the time. I can't stress it enough, tools like guix and nix really are a good option. Docker works too. Are students required to use their own computers?