There are lots of examples to learn from in the autotest suite. That's where I learn a lot of stuff.
https://trac.osgeo.org/gdal/browser/trunk/autotest/gdrivers/png.py?rev=33793#L211 Or for examples in C++14, there is also my draft autotest2. You can see examples like this: https://github.com/schwehr/gdal-autotest2/blob/626a97593df7d4a4e66a31a3412b1386e936505a/cpp/ogr/ogrsf_frmts/libkml/libkml_test.cc#L62 On Wed, Aug 10, 2016 at 8:28 AM, domlysz <[email protected]> wrote: > Thank you very mutch, it work like a charm! > > I would never have found this solution by myself. > > Best regards > > > > > -- > View this message in context: http://osgeo-org.1560.x6. > nabble.com/GDAL-Python-Save-a-dataset-to-an-in-memory-Python-Bytes-object- > tp5280254p5280271.html > Sent from the GDAL - Dev mailing list archive at Nabble.com. > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev > -- -- http://schwehr.org
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
