Commit 1aa95dc
committed
Add path tiling utilities
Introduce the iterator types used to traverse and slice a
GeoCoordinates sequence to tiles:
* Add TilingIterator to convert the GeoCoordinates to a TileKeys
* Add AdjacentPairIterator to iterate over the adjacent pairs
* Add LineSliceIterator type to slice the path from point A to point B
* Add various helper functions to ease the iterators creation
Add a Bresenham's line algorithm used to generate tiles over a grid
Relates-To: OCMAM-461
Signed-off-by: Mykhailo Kuchma <[email protected]>1 parent 884a201 commit 1aa95dc
File tree
4 files changed
+557
-0
lines changed- olp-cpp-sdk-core
- include/olp/core/geo/tiling
- tests
- geo/tiling
4 files changed
+557
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| 200 | + | |
200 | 201 | | |
201 | 202 | | |
202 | 203 | | |
| |||
0 commit comments