Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Created some tests for contains and overlap operations to check DE-9IM compliance#44

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

3Davydov
Copy link
Contributor

No description provided.

@esabol
Copy link
Contributor

Thank you for this,@3Davydov ! I love more tests.

There's already a "contains_ops" and a "contains_ops_compat" files for testing. I wonder if it would be appropriate to put your "contains" tests in one of those files?

@3Davydov
Copy link
ContributorAuthor

Hello,@esabol !
I think it's still worth making a separate file for this. The tests in the "contains_ops" and "contains_ops_compat" files are relevant only for the current logic.
If it is decided to switch to the DE-9IM model, then it will be necessary first of all to focus on the tests from "contains", and it may be more convenient to work with a separate file.

esabol reacted with thumbs up emoji

Copy link
Contributor

@vitcppvitcpp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

@esabol I propose to accept this PR with some trivial changes. Tests do not affect functionality but can be used to learn semantics of operations. I have some ideas how to improve and reorganise it.@3Davydov did a nice analysis of existing algorithms and found that they are not fully compliant with the semantics of operations on figures as described in the DE-9IM model (and OSG Simple Feature Specification). I understand that we can not just change the behaviour of operations to make it compliant but we can update the docs with some notes about differences with reference models.

esabol reacted with thumbs up emoji
@3Davydov3Davydovforce-pushed thecontains_and_overlaps_test branch froma8202a5 to23ff77eCompareAugust 8, 2023 00:17
@vitcppvitcpp merged commit8a75bc2 intopostgrespro:masterAug 8, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@vitcppvitcppvitcpp approved these changes

@esabolesabolesabol approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@3Davydov@esabol@vitcpp

[8]ページ先頭

©2009-2025 Movatter.jp