I am trying to use the OSGeo.GDAL.Gdal.RasterizeLayer(…) from GDAL 1.9.2 and it requires some SWIGTYPE parameters:
OSGeo.GDAL.Gdal.RasterizeLayer(
OSGeo.GDAL.Dataset dataset,
int bands,
OSGeo.GDAL.SWIGTYPE_p_int band_list,
OSGeo.OGR.Layer layer,
OSGeo.GDAL.SWIGTYPE_p_void pfnTransformer,
OSGeo.GDAL.SWIGTYPE_p_void pTransformArg,
int burn_values,
OSGeo.GDAL.SWIGTYPE_p_double burn_values_list,
string[] options,
OSGeo.GDAL.Gdal.GDALProgressFuncDelegate callback,
string callback_data
);
Reading up on some old mails somewhere (I've lost the link) regarding ReadRaster and WriteRaster in the C# bindings, Tamas Szekeres states that methods requesting SWIGTYPE parameters, cannot be used (yet).
Question:
Does this mean that the RasterizeLayer method hasn’t been ported to the C# bindings or are there some clever way to utilise this method?