Josh Baker
0ce2dab945
fix perf regression
2018-03-09 19:05:31 -07:00
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
Josh Baker
e3a09d7469
separate bboxes for multipolygon
2018-03-07 13:18:25 -07:00
Josh Baker
bce78028bb
minor code cleanup
2018-03-05 08:27:18 -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
3c8b9b4110
Allow for INTERSECTS command for points
...
Thanks to @rbastian for finding this bug.
fixes #26
2016-12-06 06:20:47 -07:00
Josh Baker
196016688b
Changed winding order for CirclePolygon to CCW
...
Thanks @antonioromano for finding this bug and suggesting the fix.
closes #91
2016-12-05 08:06:48 -07:00
Josh Baker
025a584903
Merge branch 'master' into memoptz
2016-11-17 09:41:02 -07:00
Josh Baker
8d7290915e
doc typos
2016-11-16 13:01:19 -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
6b9468d01b
lint cleanup
2016-04-02 19:16:36 -07:00
Josh Baker
4fc58f7f5c
first commit
2016-03-04 16:08:16 -07:00