Add support for getting labels from vector tiles #532
This PR adds support for using Mapbox vector tiles as a source of labels. See
It also adds a new
Also, in order to handle vector tiles (and GeoJSON files in the wild), which don't necessarily have class_ids, a flexible class inference mechanism is added. It uses Mapbox GL filters to infer class ids, and this functionality was adapted from label-maker.
Example of building a
See azavea/raster-vision-examples#18 which has an example of using vector tiles on the Vegas dataset. I ran this for all tasks and got it to work.
The unit test for
@@ Coverage Diff @@ ## develop #532 +/- ## =========================================== + Coverage 67.74% 68.85% +1.11% =========================================== Files 158 167 +9 Lines 7192 7436 +244 =========================================== + Hits 4872 5120 +248 + Misses 2320 2316 -4