Commit Graph

8 Commits

Author SHA1 Message Date
Josh Baker e3a09d7469 separate bboxes for multipolygon 2018-03-07 13:18:25 -07:00
Josh Baker 3568edf44c avoid bbox intersect for non-bbox objects 2018-03-05 09:00:14 -07:00
Josh Baker dc1cc76247 better multipolygon detection 2018-01-15 13:15:34 -07:00
Josh Baker 1f70cb4e75 Precalculate and store bboxes for complex objects
This should increase the performance for most search operations such as
WITHIN, INTERSECTS, and NEARBY when dealing with complex polygons.
Geofencing should see a increase in throughput when dealing with a high
frequency of point -> polygon detection.

Addresses #245
2018-01-11 13:57:18 -07:00
Josh Baker 19da27b562 removed unused return value 2016-12-16 14:02:58 -07:00
Josh Baker 659a715065 Optimized GeoJSON
Removed map[string]interface{} for Feature type.
Replaced "encoding/json" with "tidwall/gjson" for parsing.
Removed ablility to serialize to binary. JSON only.
2016-11-02 05:51:48 -07:00
Josh Baker 8d89198eaf wip. adding string value type. 2016-07-09 19:44:28 -07:00
Josh Baker 4fc58f7f5c first commit 2016-03-04 16:08:16 -07:00