Makes sure that any two vertices of the vector layer are at least at distance given by the threshold value.
The algorithm moves nearby vertices to one location and adds vertices to segments that are passing around other
vertices within the threshold. It does not remove any vertices. Also, it does not modify geometries unless
needed (it does not snap coordinates to a grid).
This algorithm comes handy when doing vector overlay operations such as intersection, union or difference
to prevent possible topological errors caused by numerical errors if coordinates are very close to each other.
After running the algorithm some previously valid geometries may become invalid and therefore it may be useful
to run Fix geometries algorithm afterwards.
from qgis 3.1 to qgis 3.3 the qgz project lost the relation reference
While reporting issues on the bug tracker I noticed that the test project
lost it's relation. I recreated the qgz file.
We hack the model a bit here, but as much as possible avoid bleeding
view properties into the model API.
So we use a QObject property ("icon_size") to specify icons sizes
for the model to generate. This is set on instances
of the model to indicate the required sizes for decorations in all
views connected to the model, and allows the model to have size responsive icons.
By using a QObject property we avoid having public GUI/view related API within
the model, and mostly avoid view related properties contaminating the pure model,
yet still have pixel-perfect symbol renders for the required view icon sizes.
- also adds QgsStyleProxyModel which handles filtering of entities
- lots of unit tests
- new signals in QgsStyle for when symbols/tags/etc change (with tests)
It was impossible to start GPS live tracking when connecting via a serial port rather than gpsd.
QSerialPort in Qt5 does not support Unbuffered open mode and will just fail (around line 545):
https://github.com/qt/qtserialport/blob/5.11/src/serialport/qserialport.cpp
This was not a problem in QGIS 2.x / Qt4 where we used QextSerialPort which did not have such test.