-
|
I'm having trouble filtering a linestring dataset for items within a set polygon, the code I'm using is: where I notice that none of the examples in geo.filter show operations against another dataset, perhaps I'm misunderstanding the iteration, especially since the geo.within function is asynchronous. Any suggestions? Thanks for a great package! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
The geos functions are asynchronous and there are memory issues to deal with. I need to improve that. In the meantime, why not use: |
Beta Was this translation helpful? Give feedback.
-
|
Perfect, thanks for helping me, clip is exactly right, silly me for not seeing it! |
Beta Was this translation helpful? Give feedback.
The geos functions are asynchronous and there are memory issues to deal with. I need to improve that. In the meantime, why not use:
withingmel = geo.clip(bike, { clip: gmel })