Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Make your voice heard. Take the 2019 Developer Survey now

Questions tagged [qgis]

QGIS is a cross-platform GIS application licensed under the GNU General Public License.

0
votes
0answers
25 views

QGIS plugin - Works on PC, not on Mac

I'm adding some functionality to an existing QGIS plugin (EcoValuator from Key-Log Economics). After playing with the existing version of the plugin, it works on a PC, but not on a Mac. The issue is ...
3
votes
0answers
45 views

Fixed QGIS layer symbol size in layer legend

When a layer symbol is defined with map units or "meters at scale" unit, it is sometimes shown in the legend at a very small scale, preventing to see the details. Or if we zoom in the map, the legend ...
0
votes
1answer
60 views

How to use hyperlink for image popup in web map based on QGIS 3.4.3?

I have a point shapefile layer, that I added into it a hyperlinks row. Each hyperlink is for a image, all in me dropbox. When I identify a point, I see the selected image. However, when I export it to ...
0
votes
0answers
25 views

Compatibility Hale Studio - QGIS [closed]

Can the Hale Studio (ETL tool) work with formats used by QGIS? If not can someone recommend a free ETL tool?
0
votes
0answers
30 views

Export vector layer with labels to Google Earth as kmz

I have a vector file with contours which i am interested to export it as kmz to google earth with labels similar to the ones QGIS labeling function produces. However I read that Google earth does not ...
0
votes
0answers
18 views

Semi-Automatic Classification Plugin install failure

I'm trying to download the Semi-Automatic Classification plugin in QGIS 3.4.1 but keep getting this error message coming up. Couldn't load plugin 'SemiAutomaticClassificationPlugin' due to an ...
0
votes
0answers
38 views

Lines to polygons error in QGIS

I was using lines to polygons tool and I encountered the following error: "One or more line ignored due to geometry not having a minimum of three vertices." I'm really confused because it worked ...
2
votes
1answer
49 views

Define a action with Python directly (QGIS)

I'm using QGIS 3.4.3 and I have created some actions for vector layers. I did it interactively and this part is working. Now I wanted to know if there is a mechanism how I could create my actions ...
0
votes
2answers
28 views

Don't show empty categories in classified style

I have a geojson file containing line and polygon features. I want to render them according to the field Feature Type which contains different types. When I use categorized symbology, it creates ...
1
vote
0answers
30 views

QGIS 2.18.14 valid option for union tool?

Using QGIS 2.18.14 there is no satisfying Union method. The integrated QGIS Union tool generates incorrect outputs if complex polygons (e.g. street network) are used. The SAGA Union Module does not ...
1
vote
1answer
82 views

Rule-Based: filter test is not working on QGIS 3.4

I made one Atlas Map based on this exercise (https://anitagraser.com/2016/10/15/qgis-atlas-tutorial-material-design/) and I had good results working with QGIS 2.18. But when I use QGIS 3.4 I can not ...
1
vote
0answers
31 views

Converting zoom level rule-based styles to mbtiles?

In QGIS I have made a zoom level rule-based style (.qml) with OpenStreetMap data stored locally for a specific area. Is it possible that I convert these styles (or the project) as mbtiles so that I ...
1
vote
1answer
46 views

CRS MapInfo to QGIS

I have this projection from MapInfo : "TM77 - Efate", 8, 14, 7,168.26174486, -17.68174486, 1.000007294, 14845.106, 17541.065 I'd like to import this into QGIS but I have know idea of the parameters ...
-1
votes
1answer
39 views

Creating different label styles for different attribute in layer using QGIS?

I would like to create labels with different shapes in the same layer (like ellipse and triangle). Is it possible? I just read Creating different label styles for different polygon classes using ...
0
votes
0answers
21 views

Installing QGIS Android Nightly?

I have a Samsung Galaxy Tab2 10.1 running Android 4.2.2. Device is GT P5110. Since 2013 I have, without any problem, been using QGIS. I installed from QGIS nightly at the time after finding the QGIS ...
0
votes
2answers
42 views

Downloading ROI Explorer plugin for QGIS?

I'm following a tutorial about classifying pixels colours into categories and need to download the ROI Explorer plugin. Can't seem to find it anywhere however. Does anyone know how I can get it or ...
1
vote
1answer
52 views

Converting data from parliamentary constituency code/county code to a mappable format?

I have a spreadsheet detailing fuel poverty in the UK, against a) individual parliamentary constituencies b) county and c) local authority. This can be found here if anyone needs to look: https://www....
3
votes
0answers
64 views

QGIS Auto-update function/script

With the help of @Kazuhito, I have achieved a fine result in my valve and pipe simulation project. When I close a random valve, all flow in this direction is automatically closed and the color changes ...
1
vote
1answer
48 views

Exporting symbols rather than points in .dxf

I have a map I've made in QGIS which is points from a .csv file. These have then be turned into different symbols based on what they represent and then the sizes of said symbols based on values in the ...
4
votes
2answers
95 views

Clustering 30m pixels into 120m pixels, fishnet using QGIS?

I have a raster file representing tree cover loss made of 30m*30m pixels taking the value 0 or 1. 0 means no loss and 1 means tree cover loss. I want to cluster these pixels into bigger pixels of the ...
2
votes
1answer
41 views

Joining 2 layers by location doesn't join desired fields from attributes tables

I have 2 layers that I'm trying to join by location: 1 is a point layer (CRS 4326) and the other is a shapefile layer (CRS 4326). The shapefile layer has a field in the attribute table whose values I ...
1
vote
1answer
22 views

QGIS RGB2PCT is leaving holes in continuous regions

I have a raster which was generated from an ArcGisMapServer layer, and is thus an RGB layer. I want to convert the RGB layers into a single 8bit layer in order to recover the original classes. When ...
3
votes
0answers
26 views

Writing masked GeoTIFF in rasterio and visualizing in QGIS?

I have an interpolated raster, which is a masked array, that shows where the data is valid. I want to save it as masked TIFF with rasterio. To test, here's the JSON file, and the code: import ...
1
vote
1answer
33 views

GRASS console doesn't open

I'm currently stuck in a project because whenever i try to open GRASS console (shell) it doesn't appear anything, and i cant find the reason why. Im using QGIS Desktop 3.4.3 with GRASS 7.4.2 What i ...
1
vote
1answer
46 views

How to set up a default value for key/value (hstore) control in QGIS 3.x?

It seems that PostgreSQL sintax doesn´t work. Any suggestions?
2
votes
1answer
32 views

PyQGIS QgsVectorLayer() Loads Invalid Layer in Standalone Python 3 Script

In my standalone python script, QgsVectorLayer() is loading an invalid layer. When I use the exact same function and inputs in the QGIS GUI python console, the layer loads fine. I am not sure what is ...
2
votes
0answers
27 views

AttributeError: 'NoneType' object has no attribute 'setProgress'

I use Orfeo ToolBox(OTB) in conjunction with QGIS 3.4. So. I use the qgis-otb plugin. I was not a problem when I linked OTB with my company's PC, but when I tried the same way on my personal laptop, ...
0
votes
2answers
42 views

QGIS 3.x create polygon in specific size - QAD plugin not compatible

I've noted at Polygon in specific size that the QAD plugin can be used to create specifically sized polygons, however it is not compatible with QGIS versions newer than 2.9. Any suggestions for a ...
0
votes
0answers
33 views

Is there a way to convert a geojson file to shapefile in Qgis 3 processing modeler?

I need to input geojson files into a model and one of the algorithms, dissolve, doesn't work with geojson files resulting in an 'Invalid geometry' error. Exporting and saving over 1000 files as ...
2
votes
1answer
54 views

Using graduate and categorize in QGIS?

I'm using a .csv detailing types of renewable energy in the UK. I want to display them as different colours for the types of energy (e.g. wind, solar, gas etc.) but also a different size symbol based ...
5
votes
1answer
132 views

Is there a “Merge Parts” tool in QGIS?

In the advanced digitizing toolbar, QGIS has these 3 tools: Split Features, Split Parts, and Merge Features. Is there a tool or equivalent algorithm for the logical fourth one: "Merge Parts"? This ...
0
votes
0answers
65 views

Crayfish 3.0.0 not working in QGIS 3.4.3

I tried to install Crayfish 3.0 in QGIS 3.4 and although I didn't get any errors during the installation of the plugin I don't have access to all Crayfish features. I can only use the 'plot' and '...
1
vote
2answers
18 views

Overview, multiple rasters in map canvas

I work with multiple rasters and merging them into a VRT isn't an option. Is there a way to get info on what raster layer I'm looking at as a "mouse over" event within map canvas? I'm on version 2.18 ...
1
vote
0answers
12 views

Cluster Tooltip to display list of features

Trying to work out how to make the tool tip show a list of features represented by a Point Cluster. When I use identify on a Point Cluster it provides a list of the features in that cluster to ...
1
vote
1answer
35 views

Two adjoining lines becomes clearer than two individual

When having an outline style where the two edges interfere, they become much more dense in the color than when they are individual, see image below. It is an outline of a polygon. The thing is that ...
3
votes
2answers
106 views

QGIS3 - Join by location (falsely) adds neighbouring polygons

I have two layers: Layer 1 - containing municipalities of country X in the year 2014 (around 600) Layer 2 - containing municipalities of country X in the year 2018 (around 500) Between 2014-2018 ...
3
votes
0answers
49 views

How to print automatically Map themes in Label's Map Composer?

This expression [%@project_path%] prints the path of the qgis project. How the Map Theme used in the layout can also be printed automatically ? According to QGIS documentation, a Map Theme is a ...
2
votes
1answer
58 views

Changing date format in QGIS?

I have just created a date field attribute. In Proprieties > Fields of the layer I made this: And the attribute tables shows this: What I want to see is the date in this format: 07-01-2019 and ...
0
votes
0answers
50 views

Multi line rule based labels in QGIS [duplicate]

I have created rule based categories for my symbology, and I would like to have multi line labels to go along with these. At the moment, I have written some expressions for specific cases, in which a ...
0
votes
1answer
62 views

Lines in Polygon Analysis

This question is similar to the "points in polygon" analysis, but I want to keep the attribute data for multiple lines within a single polygon. The data source is multiple line segments representing ...
3
votes
1answer
81 views

Install QGIS plugin manually - Package not available in Plugin Manager

If it is helpful, I am using QGIS 3.4.3 (Madeira) and MacOS High Sierra v10.13.6 I am trying to install a QGIS plugin manually, I've been using the instructions from the PyQGIS Programmer's Guide by ...
1
vote
0answers
26 views

Ordering of Band Import into QGIS Raster Calculator?

I am using QGIS 3.4,3 I want to use Raster Calculator to create NDVIs using Planetscope AnalyticMS_SR.tif I know that the band order for Planetscope is BGRN When I import the multiband SR into ...
2
votes
0answers
25 views

Unexpected behavior of collect() in geometry generator

I'm having unexpected results using geometry generator with the following expression: buffer(collect($geometry),0) …which was an answer given in this topic. I have used this previously with the ...
0
votes
1answer
36 views

QGIS dies at startup (Ubuntu 18.04)

When I start qgis with the terminal I get the following error: QGIS died on signal 11[New LWP 15278] [New LWP 15279] [New LWP 15280] [New LWP 15283] [New LWP 15284] [New LWP 15286] [New LWP 15292] [...
2
votes
0answers
31 views

Dijkstra/Finding shortest path gives back a tree with only -1 in it

So I'm trying to implement a routing algorithm in my QGIS 3 plugin that I'm writing using Python. I think I could resolve all the problems concerning the break between QGIS 2 and 3, but my resulting ...
1
vote
0answers
63 views

Automatic numbering of attribute table in QGIS?

I have a shapefile containing population data for Baltic countries. Using the SQL formula: $rownum in the field calculator, I was able to create an automatic numbering of rows (far right on the ...
2
votes
0answers
55 views

Loading CSV as a GIS layer into QGIS 3.4 not possible with certain coordinate reference systems

I tried multiple times to load a CSV (CRS: EPSG 4647) into QGIS 3.4. While it works without problems in QGIS 2.x versions, there was no success loading it into QGIS 3.4 ('QGIS Madeira'). Do you have ...
1
vote
1answer
36 views

Create cross sections in QGIS and save as DXF file

Is there any way to create cross sections of rasters in QGIS and save it as DXF file? I need to continue working with it in AutoCAD LT.
0
votes
0answers
28 views

Automatic numbering of rows in attribute table - QGIS [duplicate]

In my attribute table, I have districts and cities for Finland as shown in the picture below. Is there a way I can give a number to each city without doing it manually?
0
votes
0answers
50 views

QGIS 3.4.3 - Input dialog for a column in attribute table

I’m working with QGIS 3.4.3 and Python and I’m looking for a better mechanism in attribute table (vector layer) which tells me which fid and which index of a column I’m currently working with. For ...