Re: [Qgis-user] styled vector to raster layer

2017-05-31 Thread Andreas Plesch
Hi Matthias, well, while I could install qgis2compat, QFieldSync installation now results in a broken plugin warning: The plugin is broken. Python said: cannot import name QtWidgets I do have the PyQt5 QtWidgets module installed. However, I am not sure if Qgis 2.18.3 can find it since it otherwi

Re: [Qgis-user] styled vector to raster layer

2017-05-31 Thread Andreas Plesch
Hi Matthias, sounds like exactly what I need. Unfortunately, QFieldSync depends on qgis2compat which in turn wants to use the QtTest PyQt module which apparently I do not have. Ah, my default PyQt4 was compiled and installed without QtTest, will just need to reinstall. Perhaps of interest that not

Re: [Qgis-user] styled vector to raster layer

2017-05-31 Thread Matthias Kuhn
Hi Andreas, You can use the QFieldSync plugin which comes with a processing algorithm that renders a styled map within a given extent to a raster dataset. Matthias On 5/31/17 6:29 PM, Andreas Plesch wrote: > Responding to myself, I found this processing script in the script > repository: > > htt

Re: [Qgis-user] styled vector to raster layer

2017-05-31 Thread Andreas Plesch
Responding to myself, I found this processing script in the script repository: https://github.com/qgis/QGIS-Processing/blob/master/ scripts/Create_rasters_from_canvas_for_each_vector_layer_feature_extent.py It does almost what I had in mind. Its presence indicates that indeed some Python scriptin

[Qgis-user] styled vector to raster layer

2017-05-30 Thread Andreas Plesch
I feel I am missing a basic function somewhere to "burn" (in gdal terms) a vector layer as styled by QGIS, for example with labels, to a raster layer (of some resolution). The Rasterize (vector to raster) function is based on gdal_rasterize and does not take into account styling as it focuses on p