whosonfirst / go-whosonfirst-pip-v2

An in-memory point-in-polygon (reverse geocoding) package for GeoJSON data, principally Who's On First data.
BSD 3-Clause "New" or "Revised" License
11 stars 5 forks source link

Add support for indexing points... maybe? #21

Open thisisaaronland opened 6 years ago

thisisaaronland commented 6 years ago

Really only useful for nearest neighbour, but maybe that's reason enough. In index/rtree.go invoke the ToRect method:

https://github.com/dhconnelly/rtreego/#storing-updating-and-deleting-objects