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
I'm analysing a large scale fault tracemap (>500 m length trace). If I set the snap threshold to 10 m, I get the error: ValueError: Found endpoint in replace_endpoint dict..
Unfortunately the tracemap is confidential which I realise makes it very hard for you to debug, but I thought I'd share in case you could suggest the best approaches for me to debug?
The text was updated successfully, but these errors were encountered:
The snap_threshold is for the most part designed to handle the (unavoidable) errors in topological snapping. If the traces in the map are snapped using the snapping functionality of e.g. QGIS or ArcGIS, the distance between endpoints and the segments they should be snapped to be should be well below the threshold of 0.001, which is the default. This can probably be changed in the settings of these software but for the most part the snapping error should not be connected to e.g. the lengths of the traces you are digitising. Using a value as high as 10 m is only sensible if the traces are very large scale.
I would recommend, if possible, making sure that the snapping is done properly using the GIS software. Secondly, the traces should not pass the trace validation part with the same snap_threshold as successful validation should mean that the analysis part will succeed without errors such as these. Have you validated the data with the same snap threshold?
To note: These numeric values and defaults in code mostly assume a metric coordinate system (which I probably should highlight in documentation).
I'm analysing a large scale fault tracemap (>500 m length trace). If I set the snap threshold to 10 m, I get the error:
ValueError: Found endpoint in replace_endpoint dict.
.Unfortunately the tracemap is confidential which I realise makes it very hard for you to debug, but I thought I'd share in case you could suggest the best approaches for me to debug?
The text was updated successfully, but these errors were encountered: