Hi,
On 04/05/2023 22:08, Nyall Dawson via QGIS-Developer wrote:
Thanks Anita!
On Fri, 5 May 2023, 4:44 am Anita Graser via QGIS-Developer,
wrote:
8. Unify the geometric and topological verification and correction
features in QGIS -
I have made a few posts here, so this might sound a bit repetitive, but
specifies the specific QGIS tool I am using.
I want to override the right mouse click when using the Shape Digitizing
Toolbar to end an edit session. I don't want it to end the session unless the
shape is if of a specific
So I discarded my changes and started over and I also changed the event to end
the drawing from the left mouse button to the middle and managed to avoid the
deleted object error. I tested a multitude of shape drawings and clicking the
middle button to end my edit session when the size is not
Thanks for the infos.
After some trial and error, I am able to use QtWebEngine as Qt QML component in
python in QGIS 3.26.3 and QGIS 3.30.1 out-of-the-box. Example from Qt docs
works as expected https://doc.qt.io/qt-5/qml-qtwebengine-webengineview.html
This approach doesn't work on macOS
Thanks Anita!
On Fri, 5 May 2023, 4:44 am Anita Graser via QGIS-Developer, <
qgis-developer@lists.osgeo.org> wrote:
>
> 8. Unify the geometric and topological verification and correction
> features in QGIS -
> https://github.com/qgis/QGIS-Enhancement-Proposals/issues/262
>
This link points to a
Dear QGIS Community,
This is to let you know that the form for grant applications is now closed and that we have received 9 complete applications totalling € 103,600.
As a quick teaser, here are the proposals:
1. QGIS Bug Tracker cleanup -
Thanks. I’m just trying to figure out how this happens because I don’t remove
the layer from the map. It’s actually initially added as an empty layer and
then the geometry is added and then the changes are committed, so I never
remove it. I’ll review my code again to see if I do anything
> For example, a newly defined function on the class was
> unknown in script_1. Might be a bug, but I'm not even sure.
Well, for me it works without any issue.
But you need to re-execute the script_2.py in the Python console, it will
refresh the class definition in the Python console context then
Hi Etienne,
Already tried what you are describing. Indeed it's inconvenient, and
sometimes the changes in the class code did not end up in the class
definition. For example, a newly defined function on the class was
unknown in script_1. Might be a bug, but I'm not even sure.
So the best way
If you are talking about the simple Python console panel, and loading
Python files from there, then you can skip the " from .script_2 import
TestClass".
If you notice, when you launch the script_2.py, you have a generated line
similar to :
exec(Path('/tmp/tmp5g244g4w.py').read_text())
So it's
Hi Luke,
to my experience the "RuntimeError: wrapped C/C++ object of type
QgsVectorLayer has been deleted" is raised when the C++ QgsVectorLayer
has been deleted by a parent class.
This is often a QgsMapLayerStore, for example the
QgsProject.instance().mapLayerStore(), from which a layer gets
Hi developers,
While writing a python script in the QGIS python console editor I needed
to write a new class and for convenience I put that in its own python file.
Both files are in the same directory, but I cannot import my class in
the other script.
Here's an example:
# script_1.py
12 matches
Mail list logo