- don't use setFilterFid() within loops to fetch features one
at time (as it's extremely slow), instead use setFilterFids()
outside the loop
- don't fetch unused attributes/geometry when it can be
avoided
Adds supports for "layerid" when present.
Drop special handling for "table=" portions found in URI,
making the code more generic.
Includes testcase.
Fixes#15698 - import geodatabase to postgis via processing
This reverts commit daa6510970e9afbc4d41d28e0c94b4f238eb372d.
I've tested that reverting this does not re-introduce bug
http://hub.qgis.org/issues/13710
This reverts commit 92f71b696ca93c792ae5602ed82863fcef0e5006,
which broke import of legit shapefiles by assuming wrong
semantic for the non-constraining QgsField length/precision
attributes.
Closes#15188
Includes test
Now it uses the standard QgsVectorLayer.uniqueValues() method
where possible so that provider side optimisations are used
Also add test, and optimise request when using selected
features only
Method was iterating over ever feature in a layer, including
geometries and all attributes for EVERY attribute requested
Add test and refactor so only one optimised iteration (eg no
geometry, only required attributes) is used
Annotation was only rendering html when it was associated with a
map layer. Now if it isn't associated with a map layer it will
always render the html.
Adds the Viridis, Magma, Plasma and Inferno uniform color ramps
created by Stéfan van der Walt and Nathaniel Smith
See https://bids.github.io/colormap/ for more details
Note that I've thinned out the stops here, and only kept
every 5th stop from the original ramps
Now grid settings are accessed by clicking "Modify grid"
from the composer map properties panel. This opens a new
stacked panel with all the grid settings.
This helps make the composer map widget less confusing.
Before it was absolutely jammed with controls, including
lots of nested groups.
With the commit f6aad8b, the QgsMapLayerRegistry signal `layersWillBeRemoved` is always emit. This imply that the vector layer join buffer is empty and not reloaded if the layer is in cache.
To fix it, the QgsServerProjectParser has to have the same method as QgsVectorLayerJoinBuffer::readXml.
This commit fixed#15522 Qgis Server doesnt' respect the styling from Desktop