New answers tagged

1

For styling, you could try setting up a symbol under rule based symbology and do one of the following: Setup a rule with is_selected() IS TRUE / is_selected() IS FALSE, or Setup a virtual field (e.g. called Selected) with the expression is_selected(). Then set the symbol rule to "Selected" = 1 (if virtual field is an integer field), or "Selected" IS TRUE (...


3

You can retrieve the extent coordintes of map item via variables, and use them in text box. x_min - [% to_dms(x_min(transform( map_get(item_variables('map'),'map_extent'),'EPSG:3857','EPSG:4326')),'x',2)%] y_max - [% to_dms(y_max(transform( map_get(item_variables('map'),'map_extent'),'EPSG:3857','EPSG:4326')),'y',2)%] Expression explained step by step: To ...


1

Yes it is possible without plugins. You need to create two grids: one for the UTM Coordinates and the other for WGS84. Here is an image that shows both of the grids. The black grid is UTM and the red is WGS 84. For UTM, I think you know how to do it since the data is in UTM. Now, When adding additional grid for WGS 84, you need to change the CRS to WGS 84 ...


1

If anyone is having this issue in QGIS 3, the settings are hidden (for now?)... Right-click the page Choose 'Page Size' The 'Item Properties' panel now contains your page size settings (it doesn't normally show them) This is a strange method to get to the page size, as I'm seeing issues even using the menu Layout > Page size on various operating systems to ...


1

That sounds like a bug in the program. QGIS 2.18 is no longer supported, which means bugs are no longer being fixed. Update to a current version of QGIS and the issue will probably be resolved. If you must use 2.18 for some reason, at least update to the latest minor version. The latest minor version of 2.18 was 2.18.28 for both Windows and Mac OS.


1

You can use another aproach, without using virtual layers and virtual fields. Go to the tab 'Atlas' in the print composer. select 'layername' as coverage layer Check 'Filter with' and use the expression is_selected() Go to 'item properties' and check 'controled by atlas' activate 'preview atlas' select some features and click 'export atlas' -- edit -- ...


1

Under 3.4.5, it seems there is a bug between virtual layers and virtual fields of type Boolean. (Tested against a Postgres table and a Shapefile) If one create a boolean virtual field and set the value to true, then create a virtual layer, this field will be empty but not null. The workaround is to create a virtual field of type integer, with the same ...


0

Yes you can certainly draw the coordinates on grids. Coordinates will appear on the grids ony when you set the grid units correctly with your map scale. If the map units are much larger than your map scale, coordinates will not appear on grids. I also had this problem and finally the problem was solved when I set the scale and map units correctly.


Top 50 recent answers are included