Skip to content

MB-66210: Polygon and MultiPolygon Changes#20

Merged
Likith101 merged 1 commit into
masterfrom
polygons
May 8, 2025
Merged

MB-66210: Polygon and MultiPolygon Changes#20
Likith101 merged 1 commit into
masterfrom
polygons

Conversation

@Likith101

Copy link
Copy Markdown
Member
  • Added utility function for point intersects polygon
  • Added usage of shape indexes wherever possible
  • Removed some new lines to make things consistent
  • Added appropriate test cases

Note

  • Polygon intersects point will not consider points on the edges a 100 percent of the time. Results are arbitrary and adding support might be a performance hit. Behaviour is still consistent with the past implementation
  • Polygon intersects polygon will not consider both vertex and edge intersection Adding this support will be a performance hit. Behaviour is still consistent with past implementation

@CascadingRadium CascadingRadium left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

fix conflicts and rebase

@Likith101 Likith101 changed the base branch from linestrings to master May 7, 2025 05:18
@Likith101 Likith101 dismissed CascadingRadium’s stale review May 7, 2025 05:18

The base branch was changed.

@Likith101 Likith101 changed the base branch from master to linestrings May 7, 2025 05:18
@Likith101 Likith101 changed the base branch from linestrings to master May 7, 2025 05:18
 - Added utility function for point intersects polygon
 - Added usage of shape indexes wherever possible
 - Removed some new lines to make things consistent
 - Added appropriate test cases

Note
 - Polygon intersects point will not consider points on the edges a 100
percent of the time. Results are arbitrary and adding support might be a
performance hit. Behaviour is still consistent with the past implementation
 - Polygon intersects polygon will not consider both vertex and edge intersection
Adding this support will be a performance hit. Behaviour is still consistent with
past implementation
@Likith101 Likith101 merged commit f69807f into master May 8, 2025
9 checks passed
@Likith101 Likith101 deleted the polygons branch May 8, 2025 14:31
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

Successfully merging this pull request may close these issues.

3 participants