Tag Info

New answers tagged

0

Could someone sanity check what I've done? I got what I was after, but I want to make sure I have all of the necessary and none of the unnecessary steps so that people can replicate it in the future. Per this page: http://memhamwan.org/user-coverage-map-how-is-it-made/ I ran (after setting PATH and GDAL_DATA environmental variables properly): ...


3

You can set the page background to transparent by creating a transparent symbol and setting the page background to use that symbol: transparent_fill = QgsFillSymbolV2.createSimple({ 'outline_style': 'no', 'style': 'no'}) c.setPageStyleSymbol( transparent_fill ) There's also a few other things wrong with your script: First, mapRenderer = ...


1

link to site on how to do embed a jpeg or png in a svg file http://snorf.net/blog/2014/02/27/embedding-pngs-in-svg-markers-in-qgis/


0

The original file had 16 bit color bands. I saved the image to an 8 bit png and it worked fine. To diagnose the problem, I ran in terminal: gdalinfo filename.png The output is .... Band 1 Block=256x1 Type=UInt16, ColorInterp=Red .... The key is Type=Uint16 Files with Type=Byte work just fine. So, the temporary solution is to just work with 8 bit files. ...


0

Change the resampling settings in the raster layer's properties from Nearest Neighbor to bilinear. That should create smoother results.



Top 50 recent answers are included