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

Directionality of Hausdorff distance #17

Open
banbar opened this issue Oct 11, 2021 · 0 comments
Open

Directionality of Hausdorff distance #17

banbar opened this issue Oct 11, 2021 · 0 comments

Comments

@banbar
Copy link

banbar commented Oct 11, 2021

For geospatial polygons, the Hausdorff distance between X and Y will be different if the polygons have different number of vertices. The definition of Hausdorff distance in this context is the maximum distance between closest vertex pairs.

Is it possible to obtain directed Hausdorff distance? The following statements always returns the same value.

print("Hausdorff haversine test: {0}".format( hausdorff_distance(X, Y, distance="haversine") ))
print("Hausdorff haversine test: {0}".format( hausdorff_distance(Y, X, distance="haversine") ))
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