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'
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"='...
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.
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 ...
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.
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 ...
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
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
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 ...
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 (
...
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 ...
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 ...
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 ...
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 ...
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
...
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', ...
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 ...
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 ...
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 ...
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 ...
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 '...
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 ...
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.
...
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 ...
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)
...
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....
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 ...
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 ...
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 ...
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.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
visualisation × 440qgis × 137
arcgis-desktop × 45
cartography × 42
symbology × 37
raster × 34
python × 26
carto × 25
3d × 24
google-earth-engine × 21
point × 21
polygon × 18
r × 17
lidar × 16
leaflet × 14
line × 14
web-mapping × 14
arcmap × 12
overlapping-features × 12
postgis × 11
software-recommendations × 11
qgis-3 × 10
style × 10
coordinate-system × 9
arcscene × 9