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
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