<div dir="ltr">Question 2 is now finished:<br><div><br></div><div><a href="https://github.com/geopaparazzi/Spatialite-Tasks-with-Sql-Scripts/wiki/Project-1811-gdal_question-02">https://github.com/geopaparazzi/Spatialite-Tasks-with-Sql-Scripts/wiki/Project-1811-gdal_question-02</a><br></div><div><br></div><div>Short version:</div><div><br></div><div>gdal_rasterize -tr 0.475211759942328 0.475212956422887 -te 24800 20700 25800 21300 -ot Byte -init 192 -a_nodata 192 -burn 0 -burn 173 -burn 83 -sql "SELECT ST_Buffer(soldner_segment,2.5) FROM segments_berlin_1786" ../sources/berlin_segments_qgis.db segments_berlin_1786_green.tif<br></div><div><br></div><div>and combine the images with</div><div>- gdalbuildvrt and gdal_translate</div><div><br></div><div>---</div><div><br></div><div>This was the first time I used gdal_rasterize and found the sample on the htlm-page misleading</div><div>- there is no sample on creating a image that can be overlayed (i.e. create a new image)</div><div>- the first sample, assumes one is directly overwriting another image</div><div>-- when using that sample in creating an new image it will fail, since '.b' is not permitted in new images</div><div>- there is no sample on how to influence the width of the of the created lines</div><div><br></div><div>All of this is useful for someone trying this out for the first time. </div><div><br></div><div>Mark</div></div>