--- ogr/ogrsf_frmts/geojson/ogrgeojsondatasource.cpp.orig 2019-06-28 13:11:42.000000000 +0200 +++ ogr/ogrsf_frmts/geojson/ogrgeojsondatasource.cpp 2021-11-14 01:09:33.321460000 +0100 @@ -494,12 +494,12 @@ /* File overwrite not supported. */ /* -------------------------------------------------------------------- */ VSIStatBufL sStatBuf; - if( 0 == VSIStatL( pszName, &sStatBuf ) ) - { - CPLError( CE_Failure, CPLE_NotSupported, - "The GeoJSON driver does not overwrite existing files." ); - return FALSE; - } +// if( 0 == VSIStatL( pszName, &sStatBuf ) ) +// { +// CPLError( CE_Failure, CPLE_NotSupported, +// "The GeoJSON driver does not overwrite existing files." ); +// return FALSE; +// } /* -------------------------------------------------------------------- */ /* Create the output file. */