[gdal-dev] Use gdal_rasterize for two different layers with two different channels
Oliver Rausch
oliverrausch99 at gmail.com
Sat Nov 17 17:36:41 PST 2018
Hi all,
I have two tables of geometries that I'd like to rasterize onto one
output. I can rasterize the tables individually using
gdal_rasterize -burn 255 -sql "SELECT way FROM lines" PG:'...' -te ...
-ts ... out.tif
Is there a way to get a raster where, for instance all the lines from
one table are on the red channel, and all the lines from the second
table are on the blue channel?
Thanks,
Oliver .
More information about the gdal-dev
mailing list