I try to generate a vector file in geosjon (because of a very large number of features). But I get the following error:
2020-06-16 14:26:13 (FATAL) SampleSelection: itk::ERROR: No OGR driver known to OTB to create and handle a DataSource named <toto.json>.
I also try geojson extension, same problem
I use OTB 7.0. I try to first generate a small file in sqlite, then convert is to geojson with ogr. It works. I also check this:
$ ogrinfo --formats | grep GeoJSON
GeoJSON -vector- (rw+v): GeoJSON
GeoJSONSeq -vector- (rw+v): GeoJSON Sequence
From https://www.orfeo-toolbox.org/doxygen-current/classotb_1_1OGRVectorDataIO.html#a97241be7843e8258b9bdba1c48d60e25 geojson should be supported.
Any idea ?