Hi all,
I've been playing around a bit with the vsimem stuff in gdal using python,
works great! Basically, I'm getting a json response from an ArcServer
endpoint and I want to get out of the ESRI world as quick as I can.
My question is, when I do something like this,
r = requests.get(url, params=payload, timeout=timeout)
gdal.FileFromMemBuffer('/vsimem/temp', r.content)
does the buffer get copied to the created virtual file? I know I need to
clean up with a gdal.Unlink(('/vsimem/temp'), but does something bad happen
when Python frees the r request?
Thanks a ton!
-Patrick
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev