mapbox / robosat

Semantic segmentation on aerial and satellite imagery. Extracts features such as: buildings, parking lots, roads, water, clouds
MIT License
2.02k stars 382 forks source link

Allows for batch-rasterization in `rs rasterize`, closes #25 #134

Closed daniel-j-h closed 5 years ago

daniel-j-h commented 5 years ago

For https://github.com/mapbox/robosat/issues/25. This changeset allows for batch-rasterization.

We can now run rs rasterize multiple times with multiple smaller (batched) GeoJSON files. And in the case of overlapping features (multiple GeoJSON files with features in the same tile) we now automatically merge the rasterized masks on the fly.

This will make pre-processing a bit easier on memory for folks.

@rory