Re: [gdal-dev] OVERWRITING a Layer

2010-08-23 Thread Even Rouault
Look at the example at http://gdal.org/java/org/gdal/ogr/DataSource.html#CreateLayer(java.lang.String, %20org.gdal.osr.SpatialReference,%20int,%20java.util.Vector) Replace DIM=2 by OVERWRITE=YES Alternatively you could delete the layer before with DeleteLayer(), because not all drivers support O

[gdal-dev] OVERWRITING a Layer

2010-08-23 Thread ahmet temiz
hello in gdal-java application. I encountered this problem. ERROR 1: Layer postlayer12 already exists, CreateLayer failed. Use the layer creation option OVERWRITE=YES to replace it. how can I solve this problem ? regards ___ gdal-dev mailing list gda