Re: [Qgis-user] Extracting colours from a vector file

2024-04-09 Thread Alexei Schwab via QGIS-User
Hi Grant, Not sure if this is what you mean but if you want to get the colour of a feature's symbol you can use @symbol_color in the expression builder. So adding a "colour" column to your attributes and using field calculator to set the expression to @symbol_color will give you the colour for

[Qgis-user] geojson

2024-04-09 Thread Manuel Fernandez via QGIS-User
I have a streets layer in geojson. Is it possible to put the name tag on the line? Not in a popup. Thanks a lot ___ QGIS-User mailing list QGIS-User@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.o

Re: [Qgis-user] WFS: Change symbolization (outline color/thickness and fill) using Python in QGIS.

2024-04-09 Thread Stefan Giese (WhereGroup) via QGIS-User
Hi mikeE here is a small example based on your code: uri = 'https://www.geodatenportal.sachsen-anhalt.de/wss/service/ST_LVermGeo_ALKIS_WFS_OpenData/guest?&service=WFS&BBOX=1332412,6708967,1333423,6709355&restrictToRequestBBOX=1&VERSION=auto&typename=ave:GebaeudeBauwerk&srsname=EPSG:25832&prefer

[Qgis-user] WFS: Change symbolization (outline color/thickness and fill) using Python in QGIS.

2024-04-09 Thread Elstermann, Mike via QGIS-User
Hello everyone, I have a code snippet to load a WFS, how can I easily change the symbolization (outline color/thickness and fill) using Python in QGIS?. def addWFS14(self): uri = 'https://www.geodatenportal.sachsen-anhalt.de/wss/service/ST_LVermGeo_ALKIS_WFS_OpenData/guest?&service=WFS

[Qgis-user] Extracting colours from a vector file

2024-04-09 Thread Grant Boxer via QGIS-User
I would like to extract colours from a rule-based rendered shp file with the aim of applying these colours to a MapInfo tab file. I have tried the rgb function but that doesn't seem to work. Anyone have any suggestions to extract the red, green and blue values? Cheers Grant, Perth WA _