Open markmester opened 5 years ago
rs rasterize
already handles batch rasterization into the same tiles:
You can run rs rasterize
multiple times and if there is a rasterized tile already present (e.g. previous batch was rasterizing a building on the left, this tile wants to rasterize a building on the right in the same tile) then we load it up and rasterize the current batch onto it.
This allows for simple and easy batch rasterization with a single rs rasterize
command.
For context see https://github.com/mapbox/robosat/issues/25
The other tools you can call in a bash for loop; not sure if we should explicitly complicate the logic here. But I understand it's no longer as easy as running multiple commands after each other.
If you want to implement this, I'm happy to guide you along and review pull requests.
With the introduction of the batching feature extraction (#148), the inputs to
rs_cover
,rs_download
, andrs_rasterize
are likely going to be multiple GEOJSON files. It would be nice if these tools accepted multiple files as inputs. My current workflow is as follows: