[gdal-dev] [GDAL Python] Save a dataset to an in memory Python Bytes object

Kurt Schwehr schwehr at gmail.com
Wed Aug 10 10:01:26 PDT 2016


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 <domlysz at gmail.com> 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
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
--
http://schwehr.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20160810/9e7c9741/attachment.html>


More information about the gdal-dev mailing list