[gdal-dev] Creating a transparent GeoTIFF, writing shape data over it, reading GeoTIFF writing as PNG with transparency.

Mark Johnson mj10777 at googlemail.com
Thu Jun 11 01:46:33 PDT 2015


I have attempted to answer Questions 1 and 3 here:

https://github.com/geopaparazzi/Spatialite-Tasks-with-Sql-Scripts/wiki/Project-1811-gdal_question

I will start on Question 2 now, since I have not used gdal_rasterize that
often.

A quick answer is however,

1)

gdal_translate -of PNG -a_nodata 192
../sources/1811.Neuester_Grundriss_von_Berlin.5800.3068.tif
1811.Neuester_Grundriss_von_Berlin.5800.3068.png

3)

gdal_translate -of PNG -a_nodata 192 -projwin 24800 21300 25800 20700
 ../sources/1811.Neuester_Grundriss_von_Berlin.5800.3068.tif
1811.Neuester_Grundriss_von_Berlin.5800.3068.area_rote_rathausturm_panorama.png

Mark Johnson, Berlin Germany
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20150611/0962aa26/attachment.html>


More information about the gdal-dev mailing list