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

Support all feature types for bboxClip, including FeatureCollection #1565

Open
stevage opened this Issue Jan 3, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@stevage
Copy link
Collaborator

stevage commented Jan 3, 2019

I was a bit surprised that there doesn't seem to be a way to clip a whole FeatureCollection to a given rectangle. This could be implemented by simply extending the range of types that bboxClip supports, including Points.

@plepe

This comment has been minimized.

Copy link
Contributor

plepe commented Jan 10, 2019

I made a bbox-clip function based upon turf which supports GeometryCollections, maybe this could help you: https://www.npmjs.com/package/bbox-clip

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