Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Move to pygeos for spatial functions. #171

Open
jpprins1 opened this issue Nov 15, 2022 · 1 comment
Open

Move to pygeos for spatial functions. #171

jpprins1 opened this issue Nov 15, 2022 · 1 comment

Comments

@jpprins1
Copy link
Contributor

jpprins1 commented Nov 15, 2022

  • Performance with pygeos is way better.
  • Shapely also gives errors sometimes:
Exception ignored in: <function BaseGeometry.__del__ at 0x000001A5586990D0>
Traceback (most recent call last):
  File "C:\ProgramData\Anaconda3\envs\py39_env\lib\site-packages\shapely\geometry\base.py", line 209, in __del__
    self._empty(val=None)
  File "C:\ProgramData\Anaconda3\envs\py39_env\lib\site-packages\shapely\geometry\base.py", line 199, in _empty
    self._is_empty = True
  File "C:\ProgramData\Anaconda3\envs\py39_env\lib\site-packages\shapely\geometry\proxy.py", line 44, in __setattr__
    object.__setattr__(self, name, value)
AttributeError: can't set attribute
@caspervdw
Copy link
Contributor

Note that pygeos is now merged into shapely (shapely 2.0)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants