9ls1
  • Member for 7 years
  • Last seen this week
  • Norway
QGIS forms : field display based on the value of another field
Accepted answer
10 votes

You can achieve this through the Attributes Form in the Layers properties. Choose Drag and drop designer. Drag and drop your attributes from Available Widgets-window into the Form Layout-window. Set ...

View answer
Legend symbol is not visable in Layout Composer when styling points with two different attributes
Accepted answer
8 votes

In QGIS 3.16.0 I did as described in the docs (in my case I applied a graduated rendering of the value "Tabell_Endring_Areal"): Click on the Symbol-button to the change it (I'm using circle)...

View answer
Add separator and text after numeric scalebar in QGIS 3
Accepted answer
8 votes

You may achieve what you want by using HTML-frame in the Layout. In the Layout add a HTML-frame , choose 'Source' as HTML-source and add a similar code like this [%'Scale 1:' || format_number(...

View answer
QGIS not loading jpg with coordinate information
Accepted answer
4 votes

According to the QImagery help-page, you should try EPSG:3857 (Pseudo Mercator). In addition you must tell QGIS which CRS to use. From the top menu, choose Settings – Options and the CRS-tab. Choose ...

View answer
QGIS3 Separately rotate the orientation of individual composer atlas maps?
4 votes

I believe I achieved what you want by doing these steps: Create a line shapefile with two attributes id and length Split this file by a maximum length based on the length of the line (in my case 5000 ...

View answer
Generating chainage nodes and labels along line each 10 meters in QGIS
4 votes

You may try to execute 'Points along geometry' on your line-layer. Here you can set the distance to 10 meters. This will create a point layer with a new attribute "distance" Label this point layer ...

View answer
"slyr-master" plugin for QGIS doesn't work due to "missing meta data"
Accepted answer
3 votes

It works in QGIS 3.10. It will most likely also work in 3.4.6 since it says "SLYR also functions as a QGIS plugin (for QGIS >= 3.2)" on the SLYR homepage on github. After downloading slyr-master....

View answer
Setting Attribute form window resizable in QGIS 3?
Accepted answer
3 votes

I have found a solution. Through another project, I came across the same problem: the Attribute form window was too large for the tablet screen and the OK button would not be available. The soultion ...

View answer
Using print composer name in a label
2 votes

You may use the HTML frame. Add a frame and add an expression like this Really cool map of [% @layout_name %] printed on [% format_date(now(),'dd.MM.yyyy')%] UPDATE (after Erik's comment): Really ...

View answer
How to make symbols visible in legend in Layout?
Accepted answer
1 votes

Hurray, it's not a bug. It is possible to make the symbols visible in the Layout. See my detailed answer to this post I style points in QGIS 3.10.2 with two different attributes BUT the legend symbol ...

View answer
Join a grid to points that are close but aren't overlapping
1 votes

If I understand your question correctly, I believe you may achieve what you want by using virtual layer and ST_Distance. I have two point layers: point_grid (red points, 50 m x 50 m) random_points (...

View answer
Apply changes to style-file to all layers using that style
Accepted answer
1 votes

If using shapefile (the gas-pipes are stored in shapefiles): Give the qml-file the same name as the shapefile and QGIS will use that stylefile automatically when loading the shapefile. Example: You ...

View answer
Display legend/value when hovering over raster layer in QGIS
1 votes

Perhaps the 'Value Tool'-plugin does the job? Go to Plugins – Manage and install plugins, and search for "value" in the All-tab. Click Install Plugin. A Value Tool panel appears. Enable it and move ...

View answer
QGIS atlas with chart
1 votes

In QGIS 3.10 Dataplotly is included in the Layouts. You may create a bar chart and it will follow the Atlas features and change accordingly. See an example here: https://twitter.com/ghtmtt/status/...

View answer
Rule based coloured background for labeling in QGIS
1 votes

Yes, it's possible. Here's an example where the background color of the label (the name of the flower) depends on the specie (field "art"). Go to the layer's styling, choose which field to label (...

View answer
Set or change the geometry type of an empty point shapefile using Python with GDAL/OGR
Accepted answer
1 votes

The solution turned out to be quite simple. I had deeper look into the options of ogr2ogr and discovered the -lco NAME=VALUE: Layer creation option (format specific) Since I'm creating av ...

View answer
Restrict text widget to only integer between 0 and 999 in IntraMaps Roam
1 votes

The solution is to use from PyQt4.QtGui import QRegExpValidator and from PyQt4.QtCore import QRegExp then use the code: rx = QRegExp('^[1-9]\d{3}$') validator = QRegExpValidator(rx) self....

View answer
How to show data defined centroid fill marker font in the legend?
Accepted answer
0 votes

Perhaps no wonder to the low response: This might be a bug. See my bug report: https://github.com/qgis/QGIS/issues/42025.

View answer
Possible to automatically export atlases from QGIS containing PostgreSQL views/tables?
Accepted answer
0 votes

@HeikkiVesanto were right. The same (corrected) code as in the link works for postgrSQL-layers. I disconnected the postgreSQL host, schema and database. Then I reconnected to postgreSQL. This time I ...

View answer
Importing text as legend or to legend in QGIS?
Accepted answer
0 votes

There is no edit description in QGIS 3.8. Feature request sent July 30, 2019: https://github.com/qgis/QGIS/issues/30988

View answer