PyGEOS now has two good features:
It would be expected that POINT EMPTY could be hashed, however GEOSException is raised:
from pygeos import Geometry, to_wkb
g = Geometry('POINT EMPTY')
to_wkb(g) # now works!
hash(g)
---------------------------------------------------------------------------
GEOSException Traceback (most recent call last)
<ipython-input-34-ace70842997c> in <module>
----> 1 hash(g)
GEOSException: IllegalArgumentException: Empty Points cannot be represented in WKB
PyGEOS now has two good features:
POINT EMPTYsupported byto_wkbIt would be expected that
POINT EMPTYcould be hashed, however GEOSException is raised: