Revision b09c2d113232ca1b4c5cc1e6be8cd5ad372f5019 authored by Loïc Bartoletti on 03 October 2022, 13:16:33 UTC, committed by Loïc Bartoletti on 18 October 2022, 08:31:01 UTC
The `QgsMapToolAddRing` adds a ring through the `addRing` method of
`QgsVectorLayerEditUtils` called by this of `QgsVectorLayer`.

The bug described in #23113 indicates that only one of the entities receives the
ring addition when using the map tool.

This is consistent with the documentation of the `addRing` methods.
So, it is by design that the tool works like this.

However, as stated in the ticket, it is best to add the ring to all entities.

In order to avoid an api break, I added a new addMultiRing method that adds the ring on all entities.

Fixes #23113
1 parent 7500b38
Raw File
README
Updating the srs.db
-------------------

The srs.db can be updated from the EPSG codes in the
GDAL installation:

1) Install latest GDAL, be sure to configure with --with-python.
2) Set PATH and PYTHONDIR if installed GDAL in non-standard location.
3) Run 'scripts/qgis_srs.sh > new_srs.sql'. It may take a minute or two.
4) Run 'sqlite3 new_srs.db < new_srs.sql'.'
4) Run 'sqlite3 new_srs.db <postprocess_srs.sql'

You can use sqlite3 to dump the contents from both srs.db and new_srs.db
before you decide to commit.

Magnus Homann 2009-08-19
back to top