-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Allow filtering by geo boundaries #390
Comments
@heshan0131 I am looking at turf.js, should we use:
or are there another methods we should use? |
The new polygon filter will be treated as a regular filter and added to Filters in vis-state. Because the each new polygon filter will required to be mapped against an existing layer, we need to properly create a connection between a filter and layer.
|
@macrigiuseppe I can see that the filter by drawn polygon works but was the filter by a geojson layer ever implemented? I am not seeing this in the demo app. |
+1 to @seanosterday's comment. It is unclear what I can presently accomplish with the draw tool in the demo app. I created a shape and added a data layer to the "Geo" filter but when I go to export "filtered data" the # of rows in the dataset are exactly the same, regardless of how restrictive my polygon is |
@seanosterday we currently don't support filter by geojson layer |
@maxwell-oroark i have tried the export functionality after filtering points using the draw tool and it works. See below: |
Allow an option to ‘filter points by polygon’ in point layer, select polygons inside a Geojson layer or a polygon drew by the user to filter by.
Use turf.js to filter points inside or outside of the selected polygon.
Allow an option to filter arcs/lines by whether it begins or end inside the polygon.
The text was updated successfully, but these errors were encountered: