[Qgis-user] Split features tool behavior
Bernhard Ströbl
bernhard.stroebl at jena.de
Mon Jun 19 09:05:39 PDT 2017
Hi Andreas,
has been fixed; split feature now uses the highlight color, too
Please update your plugin
Bernhard
Am 19.06.2017 um 10:05 schrieb Andreas Wicht:
> Hi Bernhard,
>
> I can consistently produce a python error when splitting a Multipart
> Feature and then clicking "No to all":
>
> UnboundLocalError: local variable 'newGeoms' referenced before assignment
> Traceback (most recent call last):
> File "C:\Users\Andreas.Wicht\.qgis2\python\plugins\DigitizingTools\tools\dtsplitfeature.py",
> line 139, in digitizingFinished
> newFeatures = dtutils.dtMakeFeaturesFromGeometries(self.editLayer,
> aFeat, newGeoms)
> UnboundLocalError: local variable 'newGeoms' referenced before assignment
>
> Python version: 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64
> bit (AMD64)]
> QGIS version: 2.18.9 Las Palmas, 3a16a4e
>
> Is that case maybe not covered properly or should I search for causes on my end?
>
>
> On 19 June 2017 at 08:28, Bernhard Ströbl <bernhard.stroebl at jena.de> wrote:
>> Hi Andreas,
>>
>> the color is currently defined in the code. I did not find any setting to
>> apply. AFAIK only selection color can be defined by the user, but it might
>> be misleading if you have a selected feature and then have split parts
>> colored exactly the same. - Wait a minute I just found the "Highlight
>> color". That would probably work. Will check.
>
> Okay. Thank you!
>
>>
>> Am 17.06.2017 um 13:22 schrieb Andreas Wicht:
>>>
>>> Hi Bernhard,
>>>
>>> just got to test the new version. It works now as expected.
>>> Thank you a lot for the good work there!
>>>
>>> Is the highlight color of the currently "selected" part (when you
>>> choose which part should form the new feature) defined in the code or
>>> does it use a color, which is set in the QGIS settings?
>
>
> __________ Information from ESET Mail Security, version of virus signature database 15606 (20170619) __________
>
> The message was checked by ESET Mail Security.
> http://www.eset.com
>
>
__________ Information from ESET Mail Security, version of virus signature database 15609 (20170619) __________
The message was checked by ESET Mail Security.
http://www.eset.com
More information about the Qgis-user
mailing list