VectorData might be replaced with
ogr::DataSource and also in application parameter input/output (#1716 (closed)).
Some filters for
ogr::DataSource have some overlap...
(from !222 (merged))
...but some features were added to
VectorDataToLabelImageFilter and not propagated to
I propose to discuss a possible improvement for
VectorData would be kept, but I don't feel so)
In my opinion, the following burning mode could be useful:
- Binary (Burn the same value for each geometry. Params: Foreground value (ImagePixelValueType))
- Field (Burn the value of the given field. Param: Field name (string))
- FID (Burn the value corresponding to the (cast of the) geometry ID into ImagePixelValueType. (Param: Starting value (size_t) default could be background value))
- Container (Burn the N-th value of the given container for the N-th geometry. Param: TContainer (e.g. std::unordered_map...))
ZonalStatistics this would be useful, and I think we could improve also some other stuff with that.
What do you think?