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

Change equals() to ignore order based on OGC #81

Open
tonystone opened this issue Jun 7, 2016 · 0 comments
Open

Change equals() to ignore order based on OGC #81

tonystone opened this issue Jun 7, 2016 · 0 comments
Assignees
Labels

Comments

@tonystone
Copy link
Owner

tonystone commented Jun 7, 2016

The OGC standard states for Collection types

By the nature of digital representations, collections are inherently ordered by the underlying storage mechanism. Two collections whose difference is only this order are spatially equal and will return equivalent results in any geometric-defined operations.

-- OGC Simple Feature Access - Part 1: Common Architecture v1.2.1 (6.1.3.2)

We currently require specific ordering on our equals() and == since it is based on equals(). The new implementation should possibly be based on the relate method which should ignore ordering.

@tonystone tonystone added the task label Jun 7, 2016
@tonystone tonystone changed the title Change isEqual to ignore order based on OGC Change equals to ignore order based on OGC Jun 7, 2016
@tonystone tonystone changed the title Change equals to ignore order based on OGC Change equals() to ignore order based on OGC Jun 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants