The Stack Overflow podcast is back! Listen to an interview with our new CEO.

New answers tagged

0

You can generate something that looks a little like what you want using: * { stroke: black,lightgray; stroke-width: 3,2; label: ' ' [STATE_FIPS] ' '[STATE_FIPS] '-' [STATE_ABBR]' ' 34; font-size: 10px; font-fill: black; shield: symbol(circle); shield-resize: proportional; shield-margin: 4; :shield { fill: white; ...


3

We could create a new button on the toolbar which lets you choose a style to apply to the selected layer by writing some code into the Python Console. Open the console using Ctrl + Atl + P and then copy/paste the code below: action = QAction(QIcon(""), "Load style for selected layer", iface.mainWindow()) action.setCheckable(False) iface.addToolBarIcon(...


1

What is wrong in your code is that your are giving layer object as parameter to polyline creation method L.polyline. It has to be an array of coordinates. You can get those coordinates from each feature of GeoJSON layer. But to make it work with Leaflet.PolylineDecorator plugin, you don't add GeoJSON layer to map. You just use this layer to iterate through ...


2

An alternative method could be to add the Set style for vector layer tool at the end of your model which should apply the specific style to your final output.


4

In QGIS 3.8 (your first image), the Single symbol is a drop-down menu which is where you can select to categorise your layer:


Top 50 recent answers are included