-
Notifications
You must be signed in to change notification settings - Fork 8
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
snap_to_branch #178
Comments
You are correct. There is an example notebook with test data that demonstrates how the functions can be used: The test data can be found here: Here is an example from this notebook for a weir: In the last line the objects with that shouldn't be snapped are dropped from the dataframe and will not be incorporated in the schematization. |
Thanks! I am aware of the example notebook. |
The snap_to_branch does not really snap geometries to branches? It only returns the columns: [branch_offset, branch_id]
"def snap_to_branch(self, branches, snap_method, maxdist=5):
"""Snap the geometries to the branch"""
spatial.find_nearest_branch(
branches=branches, geometries=self, method=snap_method, maxdist=maxdist
)"
or do I miss something?
The text was updated successfully, but these errors were encountered: