Re: [gdal-dev] Behavior of Polygonize function (JAVA bindings to GDAL)

2014-06-05 Thread Even Rouault
Mateusz, The Polygonize method assumes that you have created the field in the layer definition, before calling it. See the gdal_polygonize.py script as an example on how it is done in Python. The related Java API is ogr.Layer.CreateField() Best regards, Even Le mercredi 04 juin 2014 17:35:52,

[gdal-dev] Behavior of Polygonize function (JAVA bindings to GDAL)

2014-06-04 Thread Mateusz Wodzikowski
Hello, I just discovered strange behavior of Polygonize function in JAVA bindings to GDAL. The function do not create the attribute in which the value of raster is stored as it is described in http://www.gdal.org/gdal_polygonize.html . After performing the function on a raster GeoTIFF file the it