Re: [gdal-dev] Use java swig binding to create geojson, the creation is successful but the geojson is incomplete

2021-05-14 Thread Even Rouault
See https://gdal.org/java/org/gdal/ogr/DataSource.html#delete() -- http://www.spatialys.com My software is free, but my time generally not. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Use java swig binding to create geojson, the creation is successful but the geojson is incomplete

2021-05-13 Thread zs s
Hi, this is my create geojson code: public static void main(String[] args) { String path = "test.geojson"; ogr.RegisterAll(); gdal.SetConfigOption("GDAL_FILENAME_IS_UTF8", "YES"); String driverName = "GeoJson"; Driver driver = ogr.GetDriverByName(driverNam