Simplify and generalize geom processing #711
Previously, the GeoJSON/geom processing code in RV was duplicated in many different places and did not handle all the geom types in the GeoJSON standard. This PR consolidates this processing into the
The buffers for a
Aside from being tested with unit and integration tests I ran the Vegas example for all three tasks and checked the debug chips. Also tested backward compatibility of prediction packages using an older prediction package.
* Remove line_buf from RasterizedSource since it's an option to VectorSource now * Remove a lot of geom processing code from utils, LabelSources, and LabelStores since it now happens in VectorSource. These classes now expected "normalized" GeoJSON which has already been cleaned, split, has a class_id, and is converted to pixel coords.
@@ Coverage Diff @@ ## develop #711 +/- ## =========================================== + Coverage 71.66% 72.17% +0.51% =========================================== Files 171 170 -1 Lines 8283 8281 -2 =========================================== + Hits 5936 5977 +41 + Misses 2347 2304 -43