mirror of https://github.com/tidwall/tile38.git
241117c7ba
This commit allows for buffering any GeoJSON object. For example: INTERSECTS fleet BUFFER 1000 OBJECT {...LineString...} This will buffer add a 1 kilometer buffer to a linesting and search the 'fleet' collection for all objects that intersect the buffered linestring. This commit also allows for performing INTERSECTS with a POINT type. Thus allowing for a polygon-over-point operation, which is an inverted point-in-polygon. |
||
---|---|---|
.. | ||
buffer.go | ||
buffer_test.go |