Hi,
On NVIDIA Jetson AGX (ARMv8) I do a fresh install of pygeos using Docker:
docker run -it --user root --rm arm64v8/ubuntu:20.04
apt-get update
apt-get install -y python3-dev python3-pip libgeos-dev
pip3 install --no-cache-dir cython
pip3 install --no-cache-dir numpy
pip3 install --no-cache-dir --no-build-isolation pygeos
The following example given in the documentation for union_all() method results in TypeError:
import pygeos
line_1 = pygeos.Geometry("LINESTRING(0 0, 2 2)")
line_2 = pygeos.Geometry("LINESTRING(2 2, 3 3)")
pygeos.union_all([line_1, line_2])
Error message:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.8/dist-packages/pygeos/decorators.py", line 55, in wrapped
return func(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/pygeos/set_operations.py", line 353, in union_all
collections = lib.create_collection(geometries, GeometryType.GEOMETRYCOLLECTION)
TypeError: One of the Geometry inputs is of incorrect geometry type.
Hi,
On NVIDIA Jetson AGX (ARMv8) I do a fresh install of pygeos using Docker:
The following example given in the documentation for
union_all()method results in TypeError:Error message: