LineString Hausdorff Distance #2795
EricPKerr
started this conversation in
Feature proposals
Replies: 2 comments
-
👍 Nice! Looks very interesting, I would definitely be supportive of a PR for this type of module in TurfJS. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Any update? Does this work for lineString only or could be used with any geometry? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This would be a cool feature - calculate the Hausdorf Distance of two GeoJSON
LineStrings
. This allows you to compare the similarity between two lines to find the most similar in a Collection or Set of lines.This could also potentially be exposed in a similar way as Points with the @turf/nearest-point package. This could be packaged as
@turf/line-similarity
and@turf/line-most-similar
.Another JavaScript implementation that appears to support this is Sketchy.JS.
From: https://gis.stackexchange.com/questions/204361/find-a-linestring-closest-to-a-given-linestring
Beta Was this translation helpful? Give feedback.
All reactions