Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Optimize vector tile processing #676
This PR changes the way vector tiles are processed to be more efficient. The two main improvements are: caching the GeoJSON that is extracted from a tile (since many scenes may use the same tile, especially at low zoom levels) and doing the feature merge after irrelevant features are filtered out.
I tested this on the Vegas roads example using the following and found that the debug chips looked correct. I then timed the run by prefixing the invocation with
@@ Coverage Diff @@ ## develop #676 +/- ## =========================================== + Coverage 71.21% 71.27% +0.06% =========================================== Files 171 171 Lines 8192 8210 +18 =========================================== + Hits 5834 5852 +18 Misses 2358 2358