<div dir="ltr">Hi,<br><div><br></div><div>I'm using gdal python API with the following functions:</div><div>1. 

gdal.warp with a cutline input</div><div>2. 

gdal.DEMProcessing in 'color-relief' mode</div><div><br></div><div>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.</div><div><br></div><div>Is there a workaround without writing these files to disk?</div><div>i.e. pass the cutline MEM DS or as string and the color palette as string?<br></div><div>Or maybe with VSI?</div><div><br></div><div>Kind regards,</div><div>Idan.</div></div>