You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Received a NotImplementedError when running latest Win64 VBET-2 executable as well as from source:
ShapelyDeprecationWarning: The 'type' attribute is deprecated, and will be removed in the future. You can use the 'geom_type' attribute instead.
if self.network.loc[i].geometry.type == 'MultiLineString':
Traceback (most recent call last):
File "C:\Users\ericl\miniconda3\envs\vbet\lib\runpy.py", line 187, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "C:\Users\ericl\miniconda3\envs\vbet\lib\runpy.py", line 110, in _get_module_details import(pkg_name)
File "C:\Users\ericl\projects\GIS\klickitat\hydrology\VBET\VBET-2-master\run_VBET.py", line 35, in
vbrun.run()
File "C:\Users\ericl\projects\GIS\klickitat\hydrology\VBET\VBET-2-master\run_VBET.py", line 28, in run
vb = classVBET.VBET(**self.params)
File "C:\Users\ericl\projects\GIS\klickitat\hydrology\VBET\VBET-2-master\classVBET.py", line 128, in init
if len(self.network.loc[i].geometry.xy[0]) <= 5:
File "C:\Users\ericl\miniconda3\envs\vbet\lib\site-packages\shapely\geometry\base.py", line 229, in xy
raise NotImplementedError
NotImplementedError
I had a similar error the first time I ran the tool. The issue for me was that I had a few very small line segments at the end of a stream that didn't have 5 vertices because they were just small little scraps. I ordered my table by shapelength and deleted all lines that were clearly just short scraps.
Received a NotImplementedError when running latest Win64 VBET-2 executable as well as from source:
ShapelyDeprecationWarning: The 'type' attribute is deprecated, and will be removed in the future. You can use the 'geom_type' attribute instead.
if self.network.loc[i].geometry.type == 'MultiLineString':
Traceback (most recent call last):
File "C:\Users\ericl\miniconda3\envs\vbet\lib\runpy.py", line 187, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "C:\Users\ericl\miniconda3\envs\vbet\lib\runpy.py", line 110, in _get_module_details
import(pkg_name)
File "C:\Users\ericl\projects\GIS\klickitat\hydrology\VBET\VBET-2-master\run_VBET.py", line 35, in
vbrun.run()
File "C:\Users\ericl\projects\GIS\klickitat\hydrology\VBET\VBET-2-master\run_VBET.py", line 28, in run
vb = classVBET.VBET(**self.params)
File "C:\Users\ericl\projects\GIS\klickitat\hydrology\VBET\VBET-2-master\classVBET.py", line 128, in init
if len(self.network.loc[i].geometry.xy[0]) <= 5:
File "C:\Users\ericl\miniconda3\envs\vbet\lib\site-packages\shapely\geometry\base.py", line 229, in xy
raise NotImplementedError
NotImplementedError
Package list from my environment is attached.
VBET Environment.pdf
The text was updated successfully, but these errors were encountered: