New answers tagged

2

You can use a custom dash pattern composed of two entries. Start with 0 dash and 5 spaces, then 2 dash and 0 spaces (use the dash/space length you want, the 0 are the important entries)


0

This can happen with a few different things, for me it's usually hatched line fills. I found the only way to combat it is to offset the symbols/lines by trial and error until the legend looks right. If that starts messing with your canvas symbology then create a duplicate layer just for use in the legend and only offset the symbology for that one.


3

you could also try the QGIS Resource Sharing plugin, that's an easy way to get symbology ressource. (http://www.akbargumbira.com/qgis_resources_sharing/) QGIS Resource Sharing Plugin Have you ever wished you can share QGIS resources easily with your peers? Well, this plugin might be handy for you! This tools allows QGIS users to share ...


2

Find some symbols you like online in .svg format or make your own in Inkscape/Illustrator/Affinity Designer. Then in QGIS go to Setting > Options > System and add the directory that the icons are in to the list of SVG Paths. The icons will now appear in the list of SVGs for points when you change the Symbol layer type to SVG marker.


0

It appears that your point layer is symbolized "by category", and you want to remove one of those categories from the legend but keep it visible on the map. What you have to do in this case is add the point layer to your map twice. Symbolize one of those layers as you have it in your screen shot, but without the one category you don't want shown in the ...


5

Stretching a raster image is a simple but effective visualisation technique which can help highlight features in an image. If you consider an image in it's histogram form then it is most commonly observed with a Gaussian distribution. Now if you have the colour gradient running linearly from the Min and Max of the data set then you end up with a much ...


0

I would create a new field "VILLAGE_NUMBER" and fill it with the number you want to see for each village then use it for labeling. Then in the legend area you just have to show the attribute table with only two field : the village name field and the new village number field


0

i got the same problem/idea 2 days ago and made a post about and got a response which i hadn't made to work yet (not the time to test) so i link it here hoping this might help someone The answer by JR It's possible to use data defined style and variable in combination to achieve that. Basically you create project variable like "Outline_variable" and give ...


1

There are several websites that I may refer you to: Scaling vector field marker arrow based on attribute? QGIS change Vector Marker Size The Vector Field Marker Search 'qgis vector field marker' on Google


2

Found the following work-around: Use a additional virtual layer instead of a geometry generator to display the lines. Definition of the virtual layer: select m.FID, make_line(.....) as geometry from my_layer m (original geometry can be referenced using m.geometry) To assure the virtual layer refreshes when my_layer is edited, go to layer properties | ...


0

I found a simple work around which involves printing the composer into a pdf and then editing the pdf (edit text and images). Align your symbols and then export the file as a JPG (or not if you prefer pdf).


0

If the attributes are stored as two fields, have you tried to use the "Unique values, many fields" within the Layer properties symbology tab under Categories? You could select the two symbology-defining fields and add the values. This method would require manually setting the symbology style (ie in your example of two string options and ten numerical options ...


1

ArcMap makes use of .style files, where ArcGIS Pro makes use of .stylx files. They are not interchangeable between the two products. Although you can import a .style from ArcMap into ArcGIS Pro. There is also a .serverStyle file, that you guessed it, ArcGIS Server makes use of. I'm not 100% certain, but believe this file is only used in the ArcMap > ArcGIS ...


1

Unfortunately I don't believe there is a way in ArcGIS to create a dynamic legend with what you are looking for. The dynamic legend won't be able to change intervals with each county, only if you add each county as a separate layer. Or, like someone else has said, changing the interval scales overall. I have read about ways to create more personalized ...


0

I'm not sure this will help, can you please see if the upmost symbol (green square) is locked in the symbology definition? Edit: I've tried it and the symbol is showing by the layer's name


0

Can you post an image of what is actually showing where you'd like the green square to show? I assume you're trying to map a point feature here. If what is currently being mapped is one of the geometry generator symbols (e.g. the circle labelled 'Marker'), you should be able to edit the symbology to match the green square that you want as the marker.


1

You're close, you need to use symbolLayer(0) and not symbol(0): ... symbol.setOpacity(0.6) symbol.symbolLayer(0).setStrokeStyle(Qt.PenStyle(Qt.NoPen)) ...


2

As J.R. pointed out, the feature mentioned in the 3.2 changelog is a LEGEND feature, meaning that the text is added on top of the legend, not on the map symbology. ahmadhanb perfectly explained how to implement this feature. If you want to display text on top of the map symbols, see below. Here's how to add text on top of the symbols on the map: Method ...


1

It's possible to do without duplicating the layer. In the Classification dialog click on exclusion: Setup the query to exclude all values equal to zero. Then open the Legend tab and select 'Show symbol for excluded data'. Setup symbology for the zero value. Return to Classification and set to Manual with 2 classes ensure 0 as the mid value. Edit the ...


6

Right-click the the target layer -> Properties -> Legend and click on Set Labels from expression: In expression you can write whatever you want, for example: substr( "FieldName",4,1) Click Apply and OK Output:


1

The answer is here! I am also having the same problem and there is an official answer. https://support.esri.com/en/technical-article/000010616 In short, in the 'value fields' choose only ONE variable, in the 'variation by-symbol size' choose another variable Full procedure: In Table Of Contents, right-click the layer and click Properties. In the Layer ...


1

try with this: # Point Layer layer = QgsProject.instance().mapLayersByName('PointLayer')[0] renderer = QgsMarkerSymbol() # Use is the column name when I have hexadecimals colors renderer.symbolLayers()[0].setDataDefinedProperty(QgsSymbolLayer.PropertyFillColor, QgsProperty.fromField("Couleur") ); layer.setRenderer(QgsSingleSymbolRenderer(renderer)) layer....


0

A way to do that : you choose your country layer, then layer properties/categorized as 'column' you use the following expression : intersecting_geom_sum('turbines_layer','power') You build and fine-tune the classes of your symbology and you're done. To adapt to your data stucture/naming ...


Top 50 recent answers are included