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

[Feature Suggestion] Support for overlapping polygons #4

Open
Portur opened this issue Mar 29, 2018 · 5 comments
Open

[Feature Suggestion] Support for overlapping polygons #4

Portur opened this issue Mar 29, 2018 · 5 comments

Comments

@Portur
Copy link

Portur commented Mar 29, 2018

May I suggest another operation to determine touching containers?

eg.
geo_lookup.getTouchingContainers(geometry) => returns touching features
geo_lookup.forEachTouchingContainer(geometry) => iterate touching features

Link to geojson.io to paste the following JSON

Edit : updated pastebin

@Portur Portur changed the title Support for touching polygons [Feature Suggestion] Support for touching polygons Mar 29, 2018
@simonepri
Copy link
Owner

Sorry this went off my radar.
Do you still need that feature?

For "Touching" you mean that they overlap?

@Portur
Copy link
Author

Portur commented Aug 1, 2018

It would be great to have. By touching I meant overlap, yes :)

@Portur Portur changed the title [Feature Suggestion] Support for touching polygons [Feature Suggestion] Support for overlapping polygons Aug 1, 2018
@Portur
Copy link
Author

Portur commented Aug 1, 2018

The pastebin has features to test. I'm sorry I'm not familiar with repos to help out with the logic. I would if I knew how.

For know my solution is to do it in postgis so would be great to have.

@simonepri
Copy link
Owner

It's really straightforward actually.
We just need to change this line and use this package

@Wazbat
Copy link

Wazbat commented Jul 12, 2021

Is this not a feature yet? It'd be really useful

I want to see myself if a polygon, like a circle or a square overlaps any land. Wouldn't this be perfect for that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants