12 votes

Filtering which points to display using expressions in QGIS

Use either "Drilled ID" in ('value1','value4','value8') Or "Drilled ID" = 'value1' or "Drilled ID" = 'value4' or "Drilled ID" = 'value8'
MrXsquared's user avatar
  • 32.6k
11 votes
Accepted

Representing five categories of data in one symbol using QGIS

Using "Data defined override > Edit...", use the following expressions. (Edit field names) For "Size": CASE WHEN "Light"='Dark' THEN 4 WHEN "Light"='...
Kadir Şahbaz's user avatar
11 votes
Accepted

Filtering which points to display using expressions in QGIS

Switch to Rule-based and use "Drilled ID" IN ('value1', 'value4','value8') Consider setting a filter if you don't want to display anything else.
BERA's user avatar
  • 67.2k
11 votes

Using multiple XY fields for geometry definition in point layer in QGIS

Use a Geometry Generator style for your point layer with an expression that creates a point based on x/y coordinate values for surveyed locations if it exists and else create a point based on x/y ...
Babel's user avatar
  • 63.2k
11 votes
Accepted

Setting constant labels positions in QGIS

In Labels tab in Layer Styling (F7), open the Placement tab. Click the Settings button below Label Anchoring. Select Use Entire Line for Clipping and Strict for Placement Behavior.
Kadir Şahbaz's user avatar
10 votes
Accepted

Performing basic labelling with PyQGIS

There is no problem with @Kezah's answer. I've edited the script and it works. Please check it. Avoid using startEditing() and dataProvider().addFeatures() together. Use either one. If you construct a ...
Kadir Şahbaz's user avatar
10 votes

Displaying label if field contains 'X' or 'Y' value in QGIS

Use this: CASE WHEN "Status" IN ('Week', 'Active') THEN "Drilled ID" END
Kadir Şahbaz's user avatar
8 votes
Accepted

Displaying label if field contains 'X' or 'Y' value in QGIS

I found another solution. Case When "Status" like 'Active' or "Status" like 'Week' Then "Drilled ID" End
Antyant's user avatar
  • 237
6 votes
Accepted

Rule-based parent child symbol layer view in QGIS

A very interesting questions, that no doubt is beyond built-in functionality. I would split this problem in to 3 parts. To go from your data to a structure that is appropriate for a rule-based tree ...
Mathias's user avatar
  • 247
6 votes

Rule-based parent child symbol layer view in QGIS

Sort of workaround solution: Create a Virtual layer through Layer > Add Layer > Add/Edit Virtual Layer with the following SQL code : WITH RECURSIVE org(fid, unit, parent, level, geom) AS ( ...
J. Monticolo's user avatar
  • 15.6k
6 votes

Filtering which points to display using expressions in QGIS

Instead of symbology, use Provider Feature filter: open layer properties > Source > Query Builder and add this query: "Drilled ID" IN ('value1', 'value4', 'value8') Be aware that ...
Babel's user avatar
  • 63.2k
6 votes

Creating topographic "layer cake" map a.k.a. Tanaka contour in QGIS

Illuminated Contours, often called Tanaka Contours. There are many different ways of creating them in QGIS. Keep in mind that quite a few of the older tutorials are now out of date as newer versions ...
Tom Brennan's user avatar
  • 2,505
5 votes
Accepted

Visualize the number of images per years from an ImageCollection of only Landsat images in GEE

You will be unable to get Google Chart API to make a dual-axis chart like that. For complex charting, your best option is to extract the data and do the charting in another tool. You can get the ...
Noel Gorelick's user avatar
5 votes

Visualizing point attribute (int) with multiple dots / SVGs in QGIS

You can use the Geometry Generator in your style layer collect_geometries(array_foreach(generate_series(0,"fatalities"-1,1),translate($geometry, 5*(@element%3), 5*floor(@element/3)) )) This ...
Kasper's user avatar
  • 3,122
5 votes

How to add circle around points?

Open the layer styling panel (F7) Click the plus sign to add another Symbol layer Change type to Geometry generator, with type Polygon, formula buffer($geometry,2000) Set the symbology of the layer ...
BERA's user avatar
  • 67.2k
4 votes
Accepted

Display points on identical location from multiple layers with an offset

You could try using offset expressions. This will offset points in layer B with a random distance of +-300 m if there is a point in layer A within 10 m of it: case when overlay_nearest(layer:='A', ...
BERA's user avatar
  • 67.2k
4 votes

Showing full list of names of features within polygon when hovering over it in QGIS

Can using "Virtual Layer" through Layer > Add Layer > Add/Edit Virtual Layer... to join the tables be an option? For each address, a list of the names is created. The map tip is then ...
BERA's user avatar
  • 67.2k
4 votes

Visualizations disappear when reopenning

The problem Field delimiters are not correctly recognized, see your last screenshot: all attributes are in one single field. Semicolons should work as delimiters, but are not recognized as such. The ...
Babel's user avatar
  • 63.2k
4 votes
Accepted

Marker at the end of arrow line in QGIS 3 with offset

Move the symbol layer containing the point symbol below the line representing the arrow: To avoid overlap at all and to make the arrow-line shorter, you can set the symbol layer type to geometry ...
Babel's user avatar
  • 63.2k
4 votes
Accepted

What is the right EPSG CRS code for the United States?

There is no "right" projection for anywhere. That said, there are "standard" map projection formulations, originally defined by the European Petroleum Survey Group (EPSG), but now ...
Vince's user avatar
  • 19.8k
3 votes

Representing five categories of data in one symbol using QGIS

All of your visual variables can be driven by expressions so you need to write 5 expressions with a number of cases for each variable. For Example case when "conditions" = 'wet' then '...
Sethinacan's user avatar
  • 1,459
3 votes

Visualizing point attribute (int) with multiple dots / SVGs in QGIS

Python is ideal for repeating text characters. Just multiply a certain text character, for example '●' with a number, and it will show the '●' character repeated based on the defined number. Knowing ...
ahmadhanb's user avatar
  • 40.3k
3 votes

Creating topographic "layer cake" map a.k.a. Tanaka contour in QGIS

You are correct -- it's called Tanaka Contours. I also found this helpful video: https://www.youtube.com/watch?v=ORvdWyGCUVQ I will mark this as solved/answered once my permissions let me in 2 days. ...
Jon Altschuld's user avatar
3 votes

Different visualisation in attribute table

You can right click on the layer to open its properties and go to the Attribute Form tab. editable will enable/disable (and grey out) the field. Type range will let you "scroll" through ...
JGH's user avatar
  • 39.8k
2 votes
Accepted

How can I create a 3-dimensional cube legend (R)?

This function generates an approximation to that legend using the 3d capabilities of the rgl package: library(rgl) key3d <- function(){ s = seq(0, 1, len=5) xyz = expand.grid(x=s, y=s, z=s) ...
Spacedman's user avatar
  • 61.6k
2 votes

Visualizations disappear when reopenning

Short answer Avoid special characters for folder and file names. Use only letters, numbers and underscores, then the problem is solved. Details I could now finally reproduce the behaviour you describe....
Babel's user avatar
  • 63.2k
2 votes

Visualizing point attribute (int) with multiple dots / SVGs in QGIS

Inspired by the solution by @ahmadhanb, you can set a label with the following expression for the input (Value). Labels are easier to handle than geometry generator and the expression is simpler. Use ...
Babel's user avatar
  • 63.2k
2 votes

Rasterizing point data

If you read the description of Suppl. material 5: you'll see Lambert Azimuthal Equal Area is the projection of the coordinates The spatial resolution is 10 km I don't know much about European ...
user2856's user avatar
  • 64k
2 votes

QGIS: Combine stripes of different colors on polygons

I assume you have 3 attributes: company_a, company_b and company_c, each with values 0 or 1 for active or not. Create a new attribute no_of_companies by adding the 3 values. Change the layer's style ...
Babel's user avatar
  • 63.2k
2 votes

What is the right EPSG CRS code for the United States?

In addition to the previous responses, I'll add the following, since you specifically mention Alaska. EPSG:3338 is commonly used for Alaska cartography and analysis, as shown here.
Stu Smith's user avatar
  • 7,970

Only top scored, non community-wiki answers of a minimum length are eligible