Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Conflate_model Error: Sub-geometries may have coordinate sequences, but multi-part geometries do not #207

Open
1 task
efdubya4 opened this issue Sep 26, 2024 · 0 comments

Comments

@efdubya4
Copy link
Collaborator

  • Error 1: NotImplementedError: Sub-geometries may have coordinate sequences, but multi-part geometries do not

Traceback:Traceback (most recent call last):   File "C:\venvs\ripple1d_0_6_1\Lib\site-packages\ripple1d\api\utils.py", line 31, in wrapper     return_value = func(*args, **kwargs)                    ^^^^^^^^^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_1\Lib\site-packages\ripple1d\api\tasks.py", line 211, in _process     return func(**kwargs)            ^^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_1\Lib\site-packages\ripple1d\ops\ras_conflate.py", line 96, in conflate_model     ras_start_point, ras_stop_point = rfc.ras_start_end_points(river_reach_name=river_reach_name, clip_to_xs=True)                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_1\Lib\site-packages\ripple1d\conflate\rasfim.py", line 428, in wrapper     return func(self, *args, **kwargs)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_1\Lib\site-packages\ripple1d\conflate\rasfim.py", line 439, in ras_start_end_points     return endpoints_from_multiline(centerline)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_1\Lib\site-packages\ripple1d\conflate\rasfim.py", line 475, in endpoints_from_multiline     start_point, end_point = merged_line.coords[0], merged_line.coords[-1]                              ^^^^^^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_1\Lib\site-packages\shapely\geometry\base.py", line 927, in coords     raise NotImplementedError( NotImplementedError: Sub-geometries may have coordinate sequences, but multi-part geometries do not

Affected Id: SA_4_Fulfer_Creek_N, SA_3_North

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

No branches or pull requests

1 participant