[gdal-dev] Python: MEM inputs to warp and DEMProcessing
Idan Miara
idan at miara.com
Tue Feb 11 05:08:48 PST 2020
Hi,
I'm using gdal python API with the following functions:
1. gdal.warp with a cutline input
2. gdal.DEMProcessing in 'color-relief' mode
I receive the cutline as WKT and the color file as text, thus to use these
functions I needed to create an OGR file and a color palette text file.
Is there a workaround without writing these files to disk?
i.e. pass the cutline MEM DS or as string and the color palette as string?
Or maybe with VSI?
Kind regards,
Idan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200211/0ff98c7a/attachment.html>
More information about the gdal-dev
mailing list