Commit Graph

12 Commits

Author SHA1 Message Date
Josh Baker 4c2c1dd186 Better polygon detection logic
Refactored shared detection logic.
Fixed linestring, multilinestring, and multipoint bugs.
Added more geojson unit tests.
2018-03-09 17:22:38 -07:00
Edward Betts 1381e68c69
Correct a spelling mistake. 2018-03-06 05:19:50 +00: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 d47279e1ff removed gzipped feature 2016-12-29 11:54:21 -07:00
Josh Baker fd29f8872f use gzip for many properties 2016-12-17 12:20:55 -07:00
Josh Baker 19da27b562 removed unused return value 2016-12-16 14:02:58 -07:00
Josh Baker 1ac6ad9ebd optimized idprops field for #71 2016-11-07 13:04:21 -07:00
Josh Baker bdcbc9c7cc strip whitespace from properties 2016-11-02 06:35:05 -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