ENH: add GeoJSON driver and simplify driver selection
OTB is not able to create vector files in GeoJSON format although gdal provides the feature. This is due to the fact that gdal vector drivers have to be explicitly enabled in OTB. This MR adds the GeoJSON driver. It also takes the opportunity to clean up a little bit the logic for the driver selection.
Merge request reports
Activity
added feature label
I was very surprised to find out about this as well, so I opened #1795 (closed) 2 months ago but got no responses :( Why is there even a whitelist of drivers? We should just ask GDAL to open it. It's a shame that OTB cannot work with GeoJSON or GBDX in 2019 and is stuck on the terrible shapefile format.
- Resolved by Jordi Inglada
This is what we need:
https://gdal.org/gdal_8h.html#aca05455472359964151f9c891d678d5e
Edited by Julien Michelmentioned in commit 49f3fa6c
mentioned in issue #1795 (closed)
changed milestone to %7.0.0