[pdal] writers.gdal 'MEM' option

Howard Butler howard at hobu.co
Wed Jul 3 09:43:08 PDT 2019


GDAL's VSIMem should do the trick, but that will only stay alive as long as the PDAL process does.

>     {
>       "type":"writers.gdal",
>       "gdaldriver":"GTiff",
>       "resolution":"2.0",
>       "filename":"/vsimem/output.tif"
>     }


If you need something to live across processes, investigate named pipes and mkfifo.

> On Jul 3, 2019, at 10:45 AM, Nick Forfinski-Sarkozi <nick.forfinski at gmail.com> wrote:
> 
> First of all, awesome software.  New PDALer here, and it's already doin' great things!  Second, I've got a question about using writers.gdal with the in-memory raster (MEM) driver.  Are there any special filename considerations for that one?  I'm hoping to be able to create DEMs without writing them to disk, to then be inputs to other processes (such as being read by rasterio).
> 
> Thanks,
> Nick
> _______________________________________________
> pdal mailing list
> pdal at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/pdal



More information about the pdal mailing list