Questions tagged [qgis]

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

8,584 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
12 votes
0 answers
271 views

Processing post-execution script hook to clear scratch layers?

I've been cobbling together some Processing scripts for QGIS 2.18 (I'm not a fan of QGIS 3 scripts), and I keep running into one particular problem: my script creates a lot of scratch layers and they ...
user avatar
  • 555
9 votes
0 answers
190 views

How to do a Lee’s Tetrahedral Conformal Projection of Antarctic/South pole on QGIS?

I want to do map of Antarctic using the Lee's Tetrahedral conformal map projection as the image below using QGIS version 3.4. Is it possible to make a custom CRS to do it? If yes, what's the ...
user avatar
9 votes
0 answers
690 views

Grouped "labels" for QGIS 3.0 Point Cluster styling?

I'm trying to make a cluster visualization of a vector point layer about trees with a few requirements: The clusters need to change depending on zoom level (solved) The clusters need to indicate how ...
user avatar
  • 113
9 votes
1 answer
2k views

QGIS GRASS Processing Not Working on MacOS?

Recently upgraded to QGIS3 (3.0.2) for MacOS (High Sierra) and encountered GRASS (7.2.2) issues. Tried adding a custom variable and now when running GRASS algorithms (e.g. r.reclass) I get the ...
user avatar
  • 91
8 votes
0 answers
63 views

Regex_replace in the Field Calculator: unexpected duplication of replacement elements

After testing things out for a different question, I found something unexpected about the way regex_replace works in the Field Calculator, compared to PostgreSQL. The suggested insert ends up ...
user avatar
  • 2,751
8 votes
0 answers
108 views

QGIS vector field marker not respecting map rotation

I’m working on a map the shows point displacement between two dates. These are survey benchmarks that are surveyed periodically to observe slope movement. Symbolizing this in QGIS is straight forward ...
user avatar
8 votes
0 answers
80 views

Does QGIS use data source-specific operations?

This may be a very basic question, but I couldn't find an appropriate answer. Does QGIS use data source specific operations where available and appropriate? For example, when using the Join attributes ...
user avatar
  • 346
8 votes
0 answers
185 views

Naming clipped layer according to the attributes of the mask layer in QGIS

I have calculated the dnbr for a fire season across a whole region, and I've clipped it using a mask. The mask is a layer of ground survey plot locations because I want to find out the dnbr for each ...
user avatar
  • 81
8 votes
0 answers
170 views

How to uncompress a file geodatabase with open-source tools?

At 3.10.4 I tried to load a FGDB polygon feature class, but it failed, with an "Invalid Data Source" error. I tried the load with both the Vector > Directory > ESRI FileGDB and Vector > Directory > ...
user avatar
  • 6,973
8 votes
0 answers
135 views

Does the projection of a PostGIS table affect the rendering speed in QGIS?

I am interested to know whether changing the projection of a PostGIS table will affect the rending speed when viewing it in QGIS. I have two layers coming from QGIS which are exactly the same and ...
user avatar
  • 2,728
8 votes
0 answers
913 views

Nearest neighbour joins for two geodataframes using KDtree from scipy/sklearn

I have a number of large geodataframes and I want to automate the implementation of a Nearest Neighbour function using a KDtree for more efficient processing. The process I want to achieve here is to ...
user avatar
  • 81
8 votes
0 answers
90 views

Snap LineStrings considering direction in QGIS 3

I have 2 projected shape files: Roads (red) and public transit routes (blue): I want to snap the PT routes to the roads, but because of inaccurate marks sometimes the routes are snapped to the wrong ...
user avatar
  • 357
8 votes
0 answers
115 views

Referencing an output in an expression in process modeler

In the process modeler, I'd like to reference an output of a previous step as one of the parameters of an algorithm. In this case, the previous step was clipping a large raster and I want to use the ...
user avatar
8 votes
0 answers
813 views

Add private plugin repository to QGIS 3.4

I want to add a repository to my QGIS 3.4 which is on a private server. The repository contains all files needed (plugin.xml and metadata.txt for example) and has the structure as described here: Is ...
user avatar
  • 495
8 votes
0 answers
243 views

Equal length dashed lines while using 'segments_to_lines' in QGIS

I want to create tapered lines with a dashed line stroke (to style intermittent streams). I followed this tutorial to create the taperered lines, basically using Geometry generator with the expression ...
user avatar
8 votes
0 answers
612 views

Setting up PyCharm CE 4 to work with PyQGIS library in Mac OS

I am trying to set up PyCharm to work with PyQGIS library. I am using PyCharm CE v4 and QGIS version 2.8 I have tried to implement the instructions of several posts like: http://osgeo-org.1560.x6....
user avatar
  • 221
7 votes
0 answers
99 views

Printable Globe in QGIS

I'm trying to figure out how to use QGIS to print a map so that it can be wrapped around a sphere. I haven't found a projection that will display the map in a way similar to these. It sounds like ...
user avatar
  • 2,989
7 votes
0 answers
209 views

QGIS contextual menu overriding

I would like to override the default contextual menu in QGIS 3 in the ToC. I've created a class that inherit from QgsLayerTreeViewMenuProvider. from qgis.gui import QgsLayerTreeViewMenuProvider from ...
user avatar
  • 463
7 votes
1 answer
527 views

GRASS v.clean tool in QGIS gives empty output

I am trying to run v.clean in QGIS 3.10.7. I have a 2D LineString dataset saved in GPKG format and I want to run v.clean to clean up some messy topology. But whenever I run it, I get the same result - ...
user avatar
  • 3,246
7 votes
0 answers
131 views

Filtering in QGIS attribute table similar to dropdown in Excel

I have a large amount of point data that has so far been managed in an Excel list. In the future, these should be shown in QGIS. To convince colleagues of this, I am looking for a way to make ...
user avatar
7 votes
1 answer
90 views

Counting upstream dams along river network in QGIS

I am working on QGIS. I have a river network where each segment is a line with ID from the upstream one (if any) and the downstream one (if any). I also have information on: location of dams location ...
user avatar
7 votes
0 answers
115 views

Clustering without aggregation with QGIS Point Displacement

I've seen the following map on twitter and am looking to create the same effect for point displacement. I'm familiar with grid and circle point displacement as well as with clusters point to aggregate ...
user avatar
  • 101
7 votes
0 answers
502 views

How to create LineString geometry in QGIS3?

The default geometry type for a newly created line seems to be MultiLineString. It can be changed to LineString using the Multipart to Singleparts tool while saving in memory. However, once it is ...
user avatar
  • 181
7 votes
0 answers
265 views

QGIS plugin external libraries in plugin’s directory

I’m developing my first QGIS plugin and I have to use two external libraries not included in the default OSGeoW64 installation: Couchdb and Pandas. I would like to include those libraries in my ...
user avatar
7 votes
0 answers
932 views

Question marks ("?") in QGIS layer panel when using SVG markers defined with "Data defined override"

When using SVG marker symbols and set the path to SVG file via Data defined override the SVGs display well in the map canvas, but not in the layers panel (applies for QGIS 2.x and 3.x). SVG marker ...
user avatar
7 votes
0 answers
256 views

Identification of roof peaks on a Raster in Qgis

I am trying to map all the flat roofs of a city. After processing my data I have a huge raster with the zones that are flat (=1) and not flat (=0). I can overlap the roof polygons over this raster and ...
user avatar
  • 239
7 votes
0 answers
13k views

Creating in-line variable in field calculator of QGIS

I create new field based on other fields. For example; if "Field_A" is smaller than "Field_B", value of new field is 'A', otherwise it is 'B'. So I want to create new variable for ...
user avatar
7 votes
0 answers
673 views

QGIS Automatically Converts UTC Date-Time to Local?

I imported a WFS layer from a geoserver into QGIS and also into a web service that is based on Cesium. The geoserver fetches the data from Elastic search and serves it out as WFS. The date-time ...
user avatar
7 votes
0 answers
147 views

Issues with atlas generator and labelling across maps/images

I have a lot of layers in my project and I am trying to use the atlas generator in the print composer to create a tiled map. Some of the layers have labels which have different configurations with ...
user avatar
  • 4,292
7 votes
0 answers
498 views

QGIS/Spatialite cluster analysis with density

beginner here I am trying to analyse a large set of points (2 millions) over a set of polygons (3000), and particularly find clusters of points. Doing it in QGIS was taking too long/crashing the ...
user avatar
  • 641
7 votes
1 answer
367 views

Topological editing of two different layers in QGIS

Is there a way to apply topological editing to move vertices between two coincident features that are not in the same layer? For example, if I have a crop land polygon coincident with a soil polygon (...
user avatar
  • 133
7 votes
1 answer
756 views

QGIS "Align Edge" equivalent?

I'm trying to move from Arc to QGIS, and spend a lot of time making maps out of polygon features. One tool that I can't find is an equivalent to ArcGIS' topology tool "Align Edge" - is there such a ...
user avatar
7 votes
0 answers
661 views

Using QGIS' "network protocol" to import data from OPeNDAP?

After looking at the OPeNDAP documentation I assumed I could import data into QGIS by downloading the .ascii file OPeNDAP generates. However the downloaded OPeNDAP .ascii doesn't seem to be compatible ...
user avatar
7 votes
0 answers
1k views

QGIS cannot open output layers

I have problem with QGIS 2.0.1. Everytime I run tool from SAGA or GRASS, I get exactly the same error, for example: Oooops! The following output layers could not be open Channel Network: /tmp/...
user avatar
7 votes
1 answer
348 views

Spatialite KNN view in QGIS

My task is to calculate the average ground survey level for each tree in my dataset, using the 3 closest survey points (optionally within a 3m radius of the tree). I want to write this in a Spatial ...
user avatar
  • 7,304
6 votes
0 answers
22 views

Remember the last expanded property in QGIS Print Layout

While working with QGIS Print Layout, I usually set a property for an item (for example, "Position and Size" for "Map" item), then select another item and set a property. After ...
user avatar
6 votes
0 answers
64 views

Increase tolerance of QGIS processing tools

I have 2 line layers in QGIS 3.22.0 and I create a 10cm-buffer around line layer A (red) perform a difference of line layer B (blue) with the buffer of layer A (light red) As a result I get 1 ...
user avatar
  • 1,903
6 votes
0 answers
68 views

QGIS service area except at intersections with vertices

I have a wastewater pipeline and a manhole layer. The current pipe layer is made of several lines between manholes (for example at every house connection, with no manhole at these locations). I want ...
user avatar
6 votes
1 answer
130 views

GIF freezes when QGIS plugin runs

I have a QGIS plugin and would like to put loading GIF (spinner) somewhere in the Dialog Window. The problem is when I run the spinner with the following code and call next function, the spinner ...
user avatar
6 votes
0 answers
123 views

Time-Space aquarium with paths

I am trying to reproduce this kind of spatial representation with QGIS. It's a space-time aquarium where each line represents a path compared to time: It is a representation from the Time geography, ...
user avatar
  • 71
6 votes
0 answers
158 views

QGIS Geometry Generator not working for some features at some scales

I have a set of layers, one of them is labeled using geometry generator. Thing is, at some scales (1:800 and up) and some features (like 1/30) the geometry generator evalues to null geometry, so the ...
user avatar
  • 333
6 votes
1 answer
371 views

Working with remote QGIS server project files

I went into some troubles when making my first steps with QGIS server and I could not find an easy way to go. Some context My projects files (qgs/qgz) are on a remote server (Ubuntu based, headless, i....
user avatar
  • 6,698
6 votes
0 answers
127 views

Performance-limits of QGIS expressions

I use quite often QGIS expressions and I am wondering how performant they are compared with other possibilities. In many cases, the same problem can be resolved using different approaches like using ...
user avatar
  • 40k
6 votes
0 answers
431 views

How to change QGIS 3 default encoding

When I import shapefile layers their encoding is System while the data is in UTF-8. How to change the default encoding to UTF-8? This question answer here " Is it possible to change default ...
user avatar
6 votes
0 answers
168 views

QGIS N:M relations - possibility to edit multiple features?

I have a working QGIS project with multiple relations and all is well until I try the Toggle multi edit mode for N:M relations. I'm working with QGIS 3.10+ (3.14.16) and Windows and PostGIS. Is it ...
user avatar
6 votes
0 answers
71 views

Why is QGIS holding references to layers that are not in layer list

I have a QGIS project, which has about 30 layers in the layer list. I removed one of the layers from the list, saved the project, closed QGIS. (The layer itself was from a Geopackage database, which ...
user avatar
  • 2,617
6 votes
1 answer
178 views

+0-180 degrees of mesh layer are displaying as horizontal lines [QGIS]

I have been trying to display weather data from ECMWF in QGIS on top of a base map, but half of the heatmap rendered from the mesh layer (imported via grib) displays as straight horizontal lines. I ...
user avatar
6 votes
1 answer
170 views

QGIS: data defined position of bar diagram

I am using QGIS to visualise communal water balances of different years as bar plots (QGIS 3.8). I have a point layer (communal area's centroids) with the balance values as attributes. I'd like to ...
user avatar
  • 133
6 votes
0 answers
73 views

Is it possible to make "Project Bookmarks" the default when adding a bookmark in QGIS?

Whenever I add a new bookmark in QGIS (3.14), I have to change the Saved in dropdown from User bookmarks to Project bookmarks. Is it possible to make Project the default? The User bookmark doesn't ...
user avatar
  • 1,776
6 votes
1 answer
86 views

Datum transformation in QGIS Server 3.10

I have a QGIS project that uses data stored in Web Mercator (epsg:3857) spatial reference system. The project itself has epsg:5514. To have a better precision I use one of datum transformations that ...
user avatar
  • 61

1
2 3 4 5
172