Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 117572

Python is an open source interpreted programming language used in many GIS programs.

2 votes

How to change the font color of an attribute field using attribute table?

Thats my code how it works for me for a very simple case. if self.isSupported(aLayer): provider = aLayer.dataProvider() columns = provider.fields() for c in columns: name = s …
user117572's user avatar
4 votes
2 answers
1k views

How to change the font color of an attribute field using attribute table?

My idea is to use signal "attributeValueChanged" but I can't find any information about how I can change font color or how I can access it via python. … Does QGIS 3.0.1 / Python support something like this or rather not? Example: …
user117572's user avatar
0 votes
0 answers
341 views

QGIS 3.4.3 - Input dialog for a column in attribute table

Now I have two questions: 1) Can I create my action "My help" in python automatically. Currently I did it in QGIS interactively. … I need a sample. 2) The action "My help" needs access to my python plugin. I need to call some functions. Is it possible? How? …
user117572's user avatar
3 votes

Issue with loadNamedStyle in QGIS 3.0.1

This solution helped me. My problem is solved. iface.layerTreeView().refreshLayerSymbology( iface.activeLayer().id() )
user117572's user avatar
3 votes
1 answer
383 views

Issue with loadNamedStyle in QGIS 3.0.1 [duplicate]

I try to set the style for a raster layer in python directly. For this, I use function "loadNamedStyle". …
user117572's user avatar
2 votes
0 answers
100 views

Problem with LoadLibrary and encrypted DLL

Is this a general problem of Python? Is there a possibility to fix this behavior? …
user117572's user avatar
0 votes

What coordinate system is this? How can I project it to WGS84 (lat-long) system in Python?

Do you know where the model should be located? That would be helpful. It could be a Gauss- Krüger coordinate system. It happens often that AutoCAD models use a normal local coordinate system without a …
user117572's user avatar
4 votes

Best way (performance wise) to add Attribute fields in PyQGIS on large files

You could try this (example), but I dont know if this provides you more performance. list = [] field1 = QgsField("test1", QVariant.String) field2 = QgsField("test2", QVariant.String) list.append(fiel …
user117572's user avatar