mapbox/turf-swift

RBush Swift port

Udumft opened this issue · 0 comments

For Performance purposes, we need to perform a quick search for geometries with given attributes. For example it is useful for LineString.intersections implementation. Spatial indexing would provide a performant option to do that.
We cannot rely on Apple's implementations because that won't work for non-apple platforms. So the easiest option so far is to provide swift port of existing Javascript implementation RBush.