Questions tagged [qgis-3]

for questions specific to the 3.x series of QGIS.

Filter by
Sorted by
Tagged with
5
votes
3answers
90 views

Making curved stroke shape of polygon

I have a lot of polygons representing Forest land use type. Is it possible to style these polygons in such a way like on this picture? Example polygon I have now: So the polygon doesn't have edges, ...
1
vote
2answers
56 views

QGIS: Export 3D map in pdf not working

I am trying to export and save a 3D map as a pdf in QGIS 3.10 (using the composer). I am using the native 3D viewer and I am trying to understand how I can export and save it as a pdf. I set my 3D ...
0
votes
2answers
16 views

With QGIS adjacent polygons, is it possible to “copy” one polygon edge to a new one? Like a “snap to” or “smooth to” the adjacent polygon?

I'm drawing adjacent polygons in QGIS. Whenever I create a new adjacent polygon, or if I've moved a polygon that has an adjacent polygon, I need to adjust the borders of the adjacent polygon to be ...
3
votes
0answers
24 views

How to reimport a QGIS 3.10 Vector-GeoPDF, generated from layout manager, so that all items not belonging to layers are hidden?

I'm very impressed with the new GeoPDF export capabilities of QGIS 3.10 (Windows 10). Now we can create Vector-GeoPDFs with layers included! With the help of GDALs "Geospatial PDF" file format ...
1
vote
0answers
16 views

How to convert 4 bands *.dat file to TIFF with QGIS

I'm searching how to convert a 4 bands dat to TIFF. When I open a .dat file in QGIS with delimited text reader, I have 6 fields: EASTING, NORTHING, Z, record 1, record 2, record 3 I would like to ...
3
votes
0answers
39 views

Different distance when using “Measure Line” tool and manually with scale in QGIS 3

Using QGIS's "Measure Line" tool I get a distance of 1.22km between two points. But if I use the scale indicated at the bottom of the screen, 1:50000, and measure with a ruler, the distance is 2.5km (...
0
votes
1answer
22 views

How to Identify/Select features from WMS?

I'm trying to extract some features from the following WMS: http://servicios.idee.es/wms-inspire/hidrografia Namely, one layer called "Red hidrografica", which contains the traces of rivers and ...
1
vote
3answers
26 views

How to draw a rectangle with geo coordintes (north/south, east/west)?

I need a layer with a rectangle that maps it's top left and bottom right corners to north/south and east/west coordinates. This is an Area of Interest which I need to overlay another image layer to ...
2
votes
1answer
36 views

QGIS polygonize issue: GDAL DLL load failed

I am using QGIS Desktop 3.10.0 and I have some issues with the polygonize tool. When I run the polygonize tool, a warning shows up saying that there is an “Import Error: DLL load failed” (see Figure 2)...
6
votes
3answers
284 views

Insert n points equally distributed into many polygons

I know the "Random Points inside Polygons" tool in QGIS. It generates the below output. What I want to achieve however are 8 equally distributed points for each of the polygons. I thought of dividing ...
2
votes
1answer
466 views

Saving styles for all layers using PyQGIS - SLD, QML, databases

I wrote a script (for QGIS 3) that saves styles for all visible vector layers in QML and SLD files: import processing self=qgis.utils layers = self.iface.mapCanvas().layers() for layer in layers: ...
2
votes
1answer
34 views

Writing txt file from Virtual Layer

I have a Virtual Table which is a result set for a particular process. select "RECORD_IDENTIFIER", CAST ("UPRN" AS textstring) AS UPRN, "KEY", "WARNING_CODE", "EXCEPTION" from Exceptions ...
1
vote
1answer
207 views

Import of CSV vs. Join by attributes Batch

-Using QGIS 3.2- I am trying to join 110 different CSV's with the corresponding shapefiles. I started to use the 'Join Attributes by Field Value' batch process to quickly do this. First, is there any ...
1
vote
0answers
22 views

Distance matrix returns points in wrong order QGIS 3.4

I'm using QGIS 3.4 on Windows 10 and scripting in pyqgis. I have a layer representing building centroids that is in a projected CRS. I want to find the azimuth between each building and its nearest ...
5
votes
1answer
152 views

QGIS Field Calculator Expression - GeoHash32

I am attempting to write a QGIS 3.10 Field Calculator Expression that will use the mz2geohash library to encode the centroid of the current feature as LAT/LON, and then pass this tuple to the ...
2
votes
1answer
574 views

QGIS 3.4 Couldn't load SIP module. Python support will be disabled on Windows 10

I upgraded from QGIS 3.2 to 3.4 and bad things happened. On start-up I get the error. Couldn't load SIP module. Python support will be disabled. Traceback (most recent call last): File "", line 1,...
1
vote
1answer
47 views

QGIS and ArcGIS Pro give different results on spatial join

I have two point layers that one has 2885 and the other has same 2885 plus 1748 more features. The second one is a result of "v.net.centrality" analysis and now I want to join the result spatially ...
1
vote
0answers
75 views

Getting Maxar Premium Imagery in QGIS

When you edit OpenStreetMap you have access to the Maxar Premium Satelite Imagery. That is more recent than other imagery in certain areas. How can I get Maxar Premium Satelite Imagery as a layer ...
0
votes
3answers
265 views

QField sync.FileNotFoundError: [Errno 2]

I am using QGIS 3.4.5 (Madeira) alongside with QField 1.0.3 (Matterhorn) with the QField Sync 3.1.3. Everthing worked fine. I made my Project, made it to a QField-Project (with QFiledSync), then to ...
0
votes
1answer
27 views

Refresh Oracle and Spatialite Layer with PyQgis

I'm working on a Dockwidget with PyQgis. I made an insert into an Oracle DB and a Spatialite DB and I would like to see the new insert (it's a point). The Layer where the new point is add is ...
2
votes
1answer
29 views

How to delete features selected by expression using graphical modeler in QGIS3

I can't find an algorithm for deleting features (points), so I can't delete features in the graphical modeler. I found related information (Select by expression and remove points). However, I want to ...
1
vote
1answer
29 views

How to add points using coordinates to QGIS without having to create a CSV? [duplicate]

Is there a way that I can add single points to QGIS (v3.4) by inputting coordinates directly into QGIS, rather than creating a CSV and adding them that way? I know there used to be a plugin that ...
2
votes
2answers
68 views

Testing different values in one CASE WHEN ELSE

I am making an inventory of certain buildings in a city. In the object attributes, I'm - amongst other infos - linking to pictures of that building, so that in the layout, for each building, you have ...
1
vote
1answer
30 views

Filtering features only in layout

Is it possible to only show one certain point of a layer in the print composer, but have them all shown in the QGis main window? For an inventory of buildings, I want to have an overview of all ...
1
vote
0answers
27 views

Object has no attribute “dlg”

I am creating a QGIS plugin and want to list the layers loaded in a Combobox when writing self.dlg the error message object has no attribute appears. I am new in this domain. The code below is for the ...
1
vote
2answers
60 views

Adding layer from cliprasterbymask using PyQGIS

In my plugin I would like to use the gdal tool "cliprasterbymask" and add the new clipped raster to my project. According to the Documentation the output has the type "raster". So it returns a ...
0
votes
1answer
19 views

qgis atlas: represent only polygons that are within the main polygon [duplicate]

In the following image, the polygon without filling and the polygon with the red filling are two different layers. In my atlas I would like that only those red Polygons are represented that are inside ...
3
votes
1answer
194 views

Proper assignment of QML legend to raster failed in QGIS 3.0.1

I downloaded raster data sets together with the legend qml files from the SoilGrids page (ftp://ftp.soilgrids.org/). Assignment of the qml legend (TAXOUSDA_1km/TAXN_WRB_1km) didn't work in QGIS 3, as ...
1
vote
1answer
27 views

QGIS atlas: make only current polygon visible [duplicate]

I have a layer with lots of polygons and want an atlas that goes through each polygon. However, the atlas page should only show the current polygon and not its neighbors. In the following image only ...
1
vote
1answer
20 views

QGIS: basemap only in overview not in mapatlas

I have a map Atlas and a small overview map. In the project I have a basemap and I want that the basemap is only visible in the overview map but not in the individual maps of the Atlas. Is that ...
0
votes
0answers
38 views

Run Standard Deviational Ellipse Plugin on multiple layers in QGIS3

I want to run the Standard Deviational Ellipse Plugin for multiple point layers (eg 100 layers). If there is a batch process option in Standard Deviational Ellipse Plugin, it will be solved. Can I ...
1
vote
1answer
31 views

QGIS3 Separately rotate the orientation of individual composer atlas maps?

Is it possible to rotate each individual atlas detail map separately? In creating an atlas for a long linear feature (rivers) to be output in engineering-style pages (11 x 17), it is nice to include ...
0
votes
1answer
38 views

Export one attribute field of SELECTED FEATURE from QGIS to a .CSV file using Python [closed]

I found different Python code, which could export all the list of attribute list from QGIS to a .txt or .csv file. But, now I am creating a project where it is needed to export just ONE Attribute of ...
1
vote
1answer
26 views

Using composite keys for table joins in QGIS3 [closed]

How to define two fields for join tables in QGIS3? Screenshot of the option layer properties >> Joins: Today, in the layer properties >> Joins option, you can only add one field for reference in ...
4
votes
1answer
68 views

Python script output to console doesn't update beyond first page in QGIS

I'm debugging a python script that includes a Print statement. I'm running the script from the QGIS python editor and expecting to see output in the QGIS python console, however once the script has ...
0
votes
1answer
47 views

QGIS with MSSQLSpatial : no geometry. OgrInfo Corrupt data

I am having this issue while I am trying to connect to my MSSQLSpatial database. So, I've created this features with just one record with geometry. I can see this feature on Microsoft Management ...
1
vote
1answer
79 views

QGIS extract average attribute value from layer based on vector

Say I have one layer below with the blue, red, and yellow polygons in the image below. Each of these values has a different value for attribute A. I have a second layer, which denoted by the bold box ...
2
votes
1answer
68 views

Is it possible to open a raster or raster dataset contained in a file geodatabase with QGIS 3.X?

I know that it is possible to extract vector data from .gdb's. I have found some similar questions here and here or even here on StackExchange, but they were either not exactly what I was looking for ...
2
votes
2answers
40 views

How to move a label in only one project

I see that if I use the "Move Label" button to adjust the location of a feature label in a map project, that will also move the location of that label in other map projects that I have created (using ...
2
votes
1answer
183 views

Deep Learning in QGIS: installing Tensorflow

I am trying to install tensorflow (with or without GPU support) with the keras API in the QGIS 3.4 LTR python 3 environment but without success. I do have a working install of tensorflow-gpu that I ...
7
votes
1answer
261 views

Debugging QGIS from Visual Studio

I try setup a QGIS debug environment under Windows10 64bit. I followed the instrictions given at https://github.com/qgis/QGIS/blob/master/INSTALL#L423 I also had a look at https://www.shaeffer.co/...
2
votes
1answer
53 views

Changing location of plugin folder in QGIS 3?

I want to change the default location of the plugin folder in QGIS 3. The reason is that the default location is read-only, but I want to create and use self-made plugins. Can I change the location ...
3
votes
2answers
107 views

Symbol in layers panel not visible

I have a layer with symbology that includes geometry generators. It would appear that because of these the symbol is not visible in the layers panel. Is there a way to show the up most symbol (green ...
2
votes
0answers
28 views

Rule-based color in dataPlotly bar chart in Atlas

I have created an Atlas in QGIS 3.10 and have made a bar chart that changes accordingly to the corresponding Atlas feature. x-axis: area type and y-axis: area in square meters I also managed to set ...
1
vote
0answers
24 views

Spatialite queries not loading entirely on canvas

I connected a sqlite database to my QGis project. I wrote a query in the DB manager whose result contains 261 elements. Then I tried to load the result on the canvas (from the load button at the ...
2
votes
2answers
37 views

Dissolving layer with two or more fields in QGIS 3

I want to dissolve the layer based on two or more fields through "Processing modeler". How to set and where to set those fields? When I use "Dissolve" tool separately I can choose fields that I want, ...
2
votes
2answers
36 views

Loading OpenStreetMap in PyQGIS

I've written a processing script using pyqgis 3.4 which works. The next step I would like to achieve is to load openstreetmaps as the base map from within the processing script. I can do so easily ...
0
votes
2answers
39 views

PyQGIS in PysScripter

I am trying to add the PyQGIS in PyScripter, I have followed the tutorial provided in QGIS tutorial: IDE settings for writing and debugging plugins. I have created the bat file as follows: SET ...
0
votes
0answers
14 views

QGIS 3.4 Installation on RHEL 7.2 Version

I am trying to install QGIS 3.4 on RHEL 7.2. The procedure that I have followed is as below. While compiling I am getting the below error. How can I solve this error? [ 79%] Generating ../output/i18n/...
2
votes
1answer
115 views

Previewing pages of field group section in report layout

I used the report layout in QGIS 3.0 to re-create two atlases I made using 2.18. I'm using these two tutorials from North Road and Anita Graser. Atlases seem to work the same way in the regular ...