New answers tagged

0

From QGIS 3.20 the interpolated line symbol layer type is available, which results in the rendering of a color and/or width varying line. See visual changelog.


0

Alt + 242 works for changing the symbology, but doesn't seem to work if you want to change the symbol in a legend.


1

You do not say what version of ArcGIS Pro you are using but I think it must be earlier than 2.7 because there is an ArcGIS Idea named ArcGIS Pro - more Intuitive Default Legend Labels that I believe was implemented at 2.7 to address it. I just did a quick test at ArcGIS Pro 2.8 and got this as my result (with no manual intervention):


2

The property you're looking for is a method from QgsMarkerSymbol it's called dataDefinedAngle(), you can change it by using setDataDefinedAngle(). This method requires a QgsProperty based on a field. You need to create it with the method fromField(). You just need to add this one line at the end of your snippet : symbol.setDataDefinedAngle(QgsProperty()....


5

First, there is a z-order column in Openstreetmap data. You can use this in setting the rendering order. @das-g gave a good answer to a similar question (the link is to the answer provided) Applying OSM z-order after osm2pgsql with qgis. The answer gives a good explanation on how to go about. I will add some explanations and images that can help as well. In ...


0

Since QGIS 3.14 you can change the change symbol in the legend. In the layout select your legend, go to item property, then double click on the legend item you want to edit. Check the custom symbol checkbox and by double clicking on it you can configure the size or color or symbol that would be used in the legend only. Note : If needed you can find ...


4

you can do it with QGIS with no problem. In QGIS a rotation could be set as a value stored in a field of your layer (the option you are already using) but you can also use an expression based on your data. You can click in data driven and then choose edit. Then you will have and expression string builder and you can set the formula to be : 360 - "...


3

Chart.image.byClass is just calling a grouped reduceRegion. Probably easiest to just build your own data table, so you can then configure the rest of the charting any way you want. var palette = ee.List(["#006400","#00ff00","#687537","#935132","#45c2a5","#b8af4f","#f1c232","#ffd966&...


3

The first step would be to transform the multi-parts lines to single part lines. Then, you can use the geometry generator in the style to create new shorter lines and to style them as you wish. In the style panel, click the green plus sign and choose it to be a geometry generator, select the type type as lineString. Generate the shorter lines using the ...


4

The "Apply Symbology From Layer" tool does this. After the "outIDW.save" step, the layer will be the top-most layer in the map, so simply apply the symbology to the first layer in your map document. For example: topLyr = arcpy.mapping.ListLayers(mxd, "*", df)[0] symbologyLyr = r"C:\MyLayerFileFolder\someLayerFile.lyr"` ...


2

Almost every field in your table is a string-field and thus not available for graduate symbology (really, how would you graduate between different words, e.g.?). You need to convert your fields of interest to integer or double - either permanently, or "on the fly". "on the fly" means you enter the expression you'd use for conversion ...


2

It seems what you want to do is not a "selection" but a "symbology". Because for selection, there is only a single color available for the whole QGIS project. You can find the selection color in QGIS Project settings, "General" tab. You want to do a Categorized Rendering, which is in the Layer Properties, "Symbology" ...


3

And one more by means of the "Geometry by expression" with a make_circle() function


3

Yes. @Taras answered with a processing algorithm, to create a polygon layer with a circular buffer around each of your points with the desired size. Alternatively, if you only want to display the circles, you can use a Data Defined override in the renderer (symbology) for the existing layer. In the renderer, use a Simple marker as the symbol layer type. ...


3

Another possibility using "Buffer"


2

Use the "Rectangles, ovals, diamonds (variable)" geoalgorithm with 'Width' and 'Height' will match a corresponding field attribute


Top 50 recent answers are included