Graeme B. Bell wrote > You'll need to tell it what size you want to burn. You can do that by > looking at the extents (northeast, southwest) of your current > raster/geotiff.
If you make a copy of the Geotiff you already have, you can provide it as the 'destination dataset' for gdal_rasterize, it would then (of course) automatically pick up all the output properties for you. You can then for example first burn with value 1, and then to another pass with burn value 0 and set the '-i' flag to invert the rasterization, that way anything not touching the lines will be set to 0, which you can later use as a nodata value to get the transparency. Note that the destination dataset for gdal_rasterize gets modified 'in place', so especially when experimenting make sure you always have a copy/backup. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/gdal-dev-Overlay-shapefile-onto-Geotiff-image-tp5209980p5210923.html Sent from the GDAL - Dev mailing list archive at Nabble.com. _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
