Questions tagged [qgis]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
5 views

Is there an automated way to import a GPX file and use the filename as the layer name in QGIS?

I'm using QGIS, importing a lot of GPX files, always selecting the tracks layer for each one and clicking OK. The layers end up being named tracks by default. Is there a way to import GPX files (...
0
votes
0answers
9 views

Map not showing up in QField

I'm working on exporting projects from QGIS to QField for data collection. I have read the documentation that requires the CRS to be the same for the layers and the overall project. The project is ...
0
votes
1answer
12 views

Layers are not visible after using a custom orthographic projection in QGIS 3.10

I was planning to make a global orthographic map, that would show country borders and oceans. Therefore,i followed this method which plots a map similar to my requirements. However, i modified the ...
0
votes
0answers
13 views

QGIS DBManager Query between Shapefile and PostgreSQL Table

I have an instance of DB Manager running and I have TWO connections present in the left pane of the DB manager form. First connection is to a static shapefile on my local file system Second ...
1
vote
0answers
16 views

QGIS: search and replace in print composer

I made a print layout with servales pages with the QGIS print composer and added some text to the layout, like the project name etc. Is there a fast way to change the project name in all pages? Like a ...
0
votes
0answers
11 views

QGIS 3.10 stalls on startup

Recently QGIS (currently using 3.10 A Coruna) hangs/stalls on startup. When I start the program, the splash screen appears and it runs through all the preliminary installation processes (javascript, ...
1
vote
0answers
32 views

Unable to match a shapefile to a TIFF with different CRS

I have a shapefile in EPSG:27700 with the linestring coordinates of locations in Scotland and trying to match them with a satellite image provided as a TIFF file with EPSG:4326 that has been taken ...
1
vote
0answers
26 views

While exporting GeoTIFF doubles in size [duplicate]

I was given an RGB GeoTIFF orthomosaic image that is just over 10GB. I pulled it into QGIS and tried clipping it to get under 10GB (to use in another program that only allows up to 10GB). Though when ...
0
votes
0answers
21 views

QGIS Transfer Geomerty from Shapefile (loaded in QGIS) to PostgreSQL Table

I have seen a few postings relating to this question but the solutions are described with minimal detail, so I am looking for a MORE descriptive response. The solution I desire is via QGIS. My ...
3
votes
2answers
63 views

Batch processing Vegetation Index with QGIS Raster Calculator

I'm applying the Green Leaf Index (GLI) to a multi-temporal set of RGB raster images to generate false colour overlays of the sections of the hay field. I can create GLI layers using the raster ...
1
vote
1answer
44 views

Reading colors on map using PyQGIS

I am trying to read the RGB values at certain locations on my map which is a .tif-file I brought into QGIS. Goal: match species presence points on my map to certain RGB values on the .tif-file. from ...
2
votes
0answers
28 views

How to color only the borders where the polygons are adjacent?

Is there a way to only color the borders where the polygons are adjacent? For example, I want to color the borders in the green circle, but not the ones in the red cirlce.
1
vote
0answers
14 views

DB Manager - Oracle DB - Importing vector layer fails prompting “ORA-01741: illegal zero-length identifier” error

When trying to import a vector layer, to an existing Oracle DB connection, using DB Manager core plugin, the operation fails. An error message prompts with "ORA-01741: illegal zero-length ...
3
votes
1answer
43 views

Nested if statement in QGIS label expression

I'm trying to create labels for features, based on the value (or missing value) of three different columns and combinations can be possible. I have three columns: Veg_dom, Veg_codom and Veg_onderg. ...
2
votes
0answers
27 views

How can I configure QGIS to add a authentication key to all the WMS requests it makes?

I'm trying to use a WMS service that requires a subscription key be appended to all requests that are made to it. I can sort of make it work by using http://machine.com/mappingserver?subscription-key=...
0
votes
1answer
30 views

Using representValue() in python Plugin

I want to use the represent value from a field of a feature. I tried something like this but I get no result: valuerepresent = QgsListFieldFormatter().representValue(layer=currentMapLayer, ...
4
votes
0answers
30 views

Catgorizing label customization in QGIS 3x

Good afternoon, I need to set the different font size and different colour for my text string, which appears in the QGIS (label). I found some solution here: QGIS - When labeling, how can i set ...
6
votes
1answer
56 views

Cancel running algorithm in QGIS

Running QGIS (using currently 3.14.1, but this happens in older versions as well) on Windows 10, I sometimes encounter the problem of a task (algorithm) running endlessly without the possibility to ...
2
votes
1answer
41 views

How can I generate multiple water level scenarios with only DEM data in QGIS?

I want to depict certain water level scenarios (from -0,40mNN to +0,20mNN) by using a two dimensional hypsometric map. Only provided data are DEM-files of the AOI. Can you please help me out? I ...
0
votes
1answer
29 views

QGIS 3x problem with rescaling vector (shapefile) layer

I would like to rescale my shapefile layer in a particular location on my map in QGIS. Unfortunately every time my layer is rescaled in completely different location. According to this query Resizing ...
-1
votes
0answers
14 views

QGIS: Making a model/script to edit two custom project propertie variables

A little bit of context: Currently I am working on project template that is gonna be used for specific projects (including layouts), in this project file (currently it is not a template it will be ...
0
votes
1answer
20 views

Can't create fields of type Time on shapefile layers [duplicate]

I wanted to create new field in QGIS to store date and time from a datetime string field named dateposte. Here is the code I used to make it: import datetime layers = QgsProject.instance().mapLayers(...
0
votes
0answers
23 views

Convert KML files to vector tiles or images and show them on open street map

I am using Leaflet KML plugin as below: https://github.com/windycom/leaflet-kml Here is full code: <html> <head> <meta name="viewport" content="width=device-width, ...
0
votes
0answers
16 views

Export Print Layouts with QMS Map Layers

I would like to export my map from the print composer that has a background layer from the QMS Quick Map Services plugin. I get this warning and then can't export the background layer: "Some WMS ...
0
votes
1answer
23 views

Layer Group cannot be added into QGIS

I am having a problem with adding a layer group into QGIS, where upon making a connection to the server in QGIS, the layer group does not appear. I see only the layers that make up that layer group. ...
0
votes
0answers
25 views

How to include QGIS libraries to C++ QT

I'm a newbie to QGIS. Initially, I only want to display a map on the screen, nothing more, but I couldn't find a solution for my problem on the web. Also, I want to use that map as QWidget; is it ...
2
votes
1answer
107 views

No .shp files only .dbf files

I've recently been given a set of files to work on/analyze with QGIS, but they seem to be missing any .shp files. Basically, the data is organized into a bunch of folders labelled land, water, etc. ...
3
votes
2answers
42 views

Issue with using minimum bounding geometry tool with points in QGIS

I am attempting to create a 100% MCP in QGIS using the minimum bounding geometry tool in QGIS. My data is sensitive and I therefore cannot share any of it (including a subset). I have used a dataset ...
1
vote
0answers
18 views

How to use mean function in QGIS

I want to make a raster showing the average values of 12 rasters. I use Raster Calculator and simply add all of them and divide them by 12 but the result is not correct! The max is far less than what ...
3
votes
2answers
46 views

Getting latitude / longitude in the QGIS Raster Calculator

I have raster files in the good and old EPSG:4326 (WGS-84) and I would like to create two other raster files with the exact same extent and resolution of it, but with the first raster having the the ...
0
votes
0answers
10 views

Point an existing QGIS installation at a different gdal framework

I have QGIS installed on a mac via the official qgis.org binary installer. I'm running QGIS 3.10 and it shows that it's compiled against GDAL 2.4.1. When I look at the GDAL Frameworks installed on my ...
1
vote
1answer
25 views

Automatically measure shape length in km

I have a large number (>1000) of polygons in a shapefile. I would like to measure their approximate length. The polygons are somehow elongated, so a quantity such as the length of longest line ...
1
vote
2answers
32 views

to_datetime in Python

I'm using QGIS 3.4 and I want to know how to convert a column datatype from string to datetime in python. I found that we can do that by to_datetime from the calculator but I want to do it from Python....
1
vote
0answers
21 views

Is it possible to embed directly a SVG code in an “image element” in the map composer in QGIS?

I'm trying to implement custom SVG files in the map composer, I was able to add everything I wanted through HTML elements, but I want to add a custom "functional" North Arrow so I need to ...
0
votes
0answers
18 views

QGIS 3x CRS problem with georeferencing vector layer

Good afternoon, I would like to georeference the SHP layer in QGIS. I am using the SAGA-Transform vector layer for it. I have problem with proper CRS. My project and all other layers (.geotiff map) ...
0
votes
0answers
23 views

Get the right coordinates from shapefile with unknown SRC

I have a a Point Shapefile with unknown SRC, however it's plotted correctly in space, ie. in the right place, along with other files in, my project which is using EPSG:4326. If I try to set EPSG:4326 ...
1
vote
1answer
32 views

Acessing fields of created features in your PyQGIS

I'm new using PyQGIS 3 and I'm wondering how to access the field information from a layer generated by script. inside my processAlgorithm function I have the following: alg_params = { '...
1
vote
0answers
32 views

Why is editting in QGIS producing invalid geometry in PostgreSQL database?

I am editing a boundary in QGIS(3.10.8-A Coruña) and facing an issue when writing the back to PostGIS (10.13). The workflow I am following is: Download data from PostGIS connection in QGIS Edit a ...
1
vote
0answers
31 views

Detaching part of feature without detaching all parts from each other?

On this map, Denmark and Greenland are one feature, and I need them to be two features. How do I split them apart? If I use Singlepart to Multipart, I create a new layer where there is a feature for ...
1
vote
1answer
23 views

Standalone script creates unwanted directories

I use the following code to import the relevant modules and prepare for a standalone script for QGIS 3.14: # Import modules import sys from qgis.core import QgsApplication from qgis.analysis import ...
0
votes
0answers
21 views

QGIS 3 georeference imported DWG layer

Good morning, I would like to georeference the DWG layer using QGIS. I have imported the DWG layer saved by Microsoft Office Visio Professional. After import I have a nice lookup like below. The ...
1
vote
0answers
18 views

Changing distance units in joined layer in QGIS 3.10

I am performing a Vector analysis using the 'Join attributes by nearest' tool. I am trying to evaluate the distance between a central highway and each vector point in a layer (which each represent ...
4
votes
1answer
42 views

Hide table from user

I have a polygon layer and a table without geometries. I join the table to the polygons to use one of the table attributes to label the polygons. I don't use the table for anything else. Is there a ...
1
vote
1answer
14 views

QGIS Layout: Making a map frame in a certain scale bar style with world coordinates of the map (view) extent

Currently I am making some layouts for my some templates we are going to use. We would also like to have a certain border "frame" on to make the coordinate grid clear. The frame is supposed ...
0
votes
1answer
26 views

Remove unwanted lines between raster layers

I'm experiencing some unwanted lines in between raster layers. I downloaded DEM tiles from Japan's geospatial information authority, then reprojected them using GDAL and Python. Next, I duplicated the ...
2
votes
0answers
30 views

Filling column with values at certain condition in QGIS

I have blocks of the road network and these blocks are divided every 200m. I want to name them based on the ID_Sufix number. For example, if the stretch road ID is 10001 and this contains 26 small ...
1
vote
2answers
32 views

Does FME have spatial “Difference” like QGIS / “Erase” in ArcGIS and Mapinfo?

I am looking for an FME equivalent to the difference/erase tool in QGIS/ArcGIS/Mapinfo. Basically I want to see the spatial change between 2 datasets. https://gis.stackexchange.com/questions/76839/...
4
votes
2answers
122 views

Create contours based on text attribute of point data (isogloss map)

I am trying to make an isogloss map in QGIS to map dialect differences. I have made a point shapefile in which each point represents a place, and the different pronunciations are put in the attribute ...
0
votes
0answers
16 views

Is there a way to maintain map tips and/or actions in an exported PDF using QGIS?

I am working on a project that displays the locations of a group's projects in a city. I have it set up now so that map tips shows the name of the project and location when you hover over the point. I ...
1
vote
1answer
38 views

Lines Between Coordinate Points

Currently, I'm mapping data from the Hudson's Bay Company Archives in the nineteenth century, and I am tracing the routes travelled by fur traders. I have gone through the documents, recorded the ...

1
2 3 4 5
587