Hi,
I'm using GDALPolygonize to polygonize a dataset with one band created
using MEM driver:
memdataset = GDALCreate(GDALGetDriverByName("MEM"),"", width, height,
0, GDT_Byte, NULL);
GDALAddBand(memdataset, nPixelType, apszOptions); // in apszOptions[0]
there are the band data
Then, I create a M
I should have sent this to the list and not just Jorge. Anyway, the
problem is solved.
Jorge Arevalo kirjoitti:
The problem is that the MEM-based layer doesn't have fields. So, if I
use "0" as iPixValField, I get an error, because there's no field with
index 0 in the Feature. Of course, the sam
On Fri, Mar 12, 2010 at 1:54 PM, Ari Jolma wrote:
> I should have sent this to the list and not just Jorge. Anyway, the problem
> is solved.
>
> Jorge Arevalo kirjoitti:
>>
>> The problem is that the MEM-based layer doesn't have fields. So, if I
>> use "0" as iPixValField, I get an error, because