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.

-2
votes
1answer
55 views

How to select a point from existing points within each grid in QGIS

How to select a point from existing points within each grid cell in QGIS? Each grid cell has multiple points and these points have 3 possible values for the "Status" attribute (Status: A, B or C). ...
3
votes
1answer
20 views

Call QGIS geoprocessing Tool from command line (terminal, bash-script)

Is there any possibility to call tools found in the QGIS processing toolbox from the command line, other than using python? It is my understanding that if you use any GDAL tools, the QGIS gui is ...
4
votes
1answer
63 views

Aligning road names in a row in QGIS

I am trying to align road names in a row, or column as much as possible in QGIS. I know it can be done in Adobe Illustrator with a mapping plugin, but I don't have the $$ for that. I tried something ...
0
votes
0answers
13 views

QField Coordinate Reference System

Does anyone know how location services on your mobile device compare to a chosen coordinate system set in the QGIS project? I am wondering how to improve the accuracy of my device compared to the ...
0
votes
1answer
10 views

Import BMP raster with worldfile (tfw) into QGIS

I need to get a few non-georeferenced bmp files into QGIS, Grass or any open source platform. I have tfw files available with no indication on the projection but cannot seem to find a procedure (gdal) ...
1
vote
2answers
113 views

Freezing legend on map composer so that it stops updating when changing symbols on map?

This seems like a counter intuitive question, but is there a way to freeze the legend so that it stops updating itself in the print composer? My auto-update box is unticked for the legend, but the ...
1
vote
2answers
74 views

Understanding law or etiquette when applying changes to open-source software, specifically QGIS?

I am interested to know if there are any laws or etiquette surrounding the use of people's third party plugins or QGIS itself. What I am especially interested in is when a user accesses your code and ...
0
votes
1answer
33 views

Can't delete features from layer tables in QGIS

I have some layers containing DAT,MAP and TAB files, when I loaded these layers into QGIS some layers have check boxes before layer name and some layers won't like showing in below image. In the ...
0
votes
0answers
179 views

The TIN interpolation tool does not work within the processing models in Qgis 3.2

I want to use the TIN interpolation tool within a model that I am creating in the process toolbox; and so far I have not been able to use it. it does not let me connect the vector layers with the TIN ...
1
vote
1answer
31 views

QGIS Union erroneously creating gaps

I'm trying to do a union between two Polygon Shapefiles, but when I do Vector > Geoprocessing Tools > Union I have the odd issue where most of it works fine, but some areas are returned in the union ...
0
votes
0answers
21 views

Qgis Python console not working

I have a small problem with the Python console in Qgis. I am working through some code .py but lately the console does not show results, for example I write directly on the cosola print "prueba" ...
3
votes
0answers
88 views
+50

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 ...
2
votes
1answer
33 views

Bulk Snapping Points to Line Vertex in QGIS?

I have around 8000 point features that require snapping to the nearest line vertex. Please see below image for reference. I would like to do this in one go if possible. Is there a tool in QGIS 8....
1
vote
1answer
302 views

Count the total number of trees from DSM drone data

We have a DSM, DTM and ortho data processed from a drone survey with a resolution of 5cm. Are there any methods to "automatically calculate" the total number of estimated trees inside a dense ...
-2
votes
0answers
28 views

How can I determine route of midpoint? [on hold]

I have an N of points and midpoint on the map and I want each point to follow the shortest route to reach the midpoint. Can i use NextGIS to solve this problem and how can i do it? or use ...
2
votes
1answer
28 views

Rasterize (vector to raster) QGIS 3.4

I am trying to rasterize a vector with the QGIS 3.4 rasterize tool (not saga or grass tools). I prefer using this tool cause it is much faster. The values which i would like to burn are found in the "...
0
votes
0answers
62 views

Edit a view of a PostGIS table in QGIS

I have a simple layer in PostGIS created as follows: CREATE TABLE layer ( id serial PRIMARY KEY, geom geometry(LINESTRING, 31370), ... ) To avoid duplicate information, I created a view ...
0
votes
2answers
30 views

Using the Expression String Builder to ultilise specific data within an attribute table

I have an issue relating to the 'Expression String Builder'. I have a series of data over a 8 year period. I need to collect that data for only a 5 year period. Once collected I need to find the ...
0
votes
1answer
29 views

Install GRASS GIS extension r.pi including r.pi.prox and implement the Addon in QGIS

I would like to install the GRASS GIS addon r.pi within QGIS, I only have access to basic GRASS commands I installed QGIS using the osgeo4w-setup-x86_64.exe advanced installation using the http://...
0
votes
4answers
56 views

Problem editing, clipping, and saving large shapefile QGIS 3.4

I'm working with a very large shapefile in QGIS 3.4. I only need one section of the layer (near the main city, not the areas outside it) and I'm trying to delete the large sections which I don't need. ...
0
votes
1answer
46 views

Merging 1m DEM to 30m DEM?

I have a base 30 m.Dem . However, i also have 1m Dem for an area of interest only. I would like to overlay the 1m Dem on the 30 m Dem meaning the area of interest will have 1m and the rest 30m. Is ...
0
votes
3answers
37 views

Finding feature extents (not layer extent) in QGIS?

How can I find feature extents for each multipolygon in QGIS? for feat in layer.getFeatures(): I want to calculate extents for each feature here.
1
vote
0answers
23 views

QGIS crashes when toggle editing for the child layer in a QgsDualView

The crash occurs for : Ubuntu 18.04 bionic QGIS 3.4.2 For reproduce the crash, I use these data : https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/cultural/...
0
votes
1answer
13 views

v.net.allpairs - Missing parameter value: WHERE condition SQL statement without where keyword

v.net.allpairs is not running in QGIS 2.18.27 (but runs in QGIS 2.14). QGIS 2.18.27 has responded: Missing parameter value: WHERE condition SQL statement without where keyword. How to fix that?
3
votes
3answers
589 views

Why is all 0 after using GDAL sieve on a raster layer?

I have a GeoTIFF with cell values from 0.02 up to 0.75 and many nodata values (which are 0). When using GDAL Sieve with Threshold 1 or 100 (no difference in result) and pixel connection 4, my output ...
1
vote
1answer
24 views

Adding ArcGIS Online Webmap to QGIS?

I am very new to QGIS and I am wondering is there a way to add this map to QGIS. The map can be found on: https://glasgowgis.maps.arcgis.com/apps/webappviewer/index.html?id=...
0
votes
0answers
17 views

Download OSM data with QuickOSM and QGIS Modeler example and/or tutorial to share

I would like to automatically search and save my results (11 layers) via the QuickOSM plugin using the Qgis Graphical Modeler. Could anyone help me with some already prepared example or some tutorial ...
0
votes
1answer
14 views

QGIS unable to perform point snapping to line. OS: Windows+Mac ElCapitan

I have been trying to snap points from a shapefile to a line feature from another shapefile. However, each time I do this, I get the following error(s) (depending upon the OS used): (For OSX El ...
0
votes
0answers
29 views

QGIS tools fail with spaces in output file names

When I use tools in QGIS they generally work. However, when I use them in batch mode, they generally fail. The difference is that running once I can save results as a temporary file, but in batch ...
0
votes
1answer
14 views

Accessing Zonal Statistics for QGIS on Mac?

I've just updated to QGIS 3.4 for my MacOS (10.12). I'm trying to run some occupancy analyses and am looking to extract attribute data for a polygon grid from an underlaying raster file. ZonalStats ...
0
votes
1answer
21 views

Exporting images attached to a geodatabase using QGIS

I have an ESRI file geodatabase that was exported from their survey123 app, and the geodatabase has images attached to it. I do not use ArcGIS, and was wondering how to export them from QGIS with ...
0
votes
1answer
34 views

QGIS composer changing legend position when exporting

I'm observing the same issue seen in QGIS map composer changing legend position when exporting atlas as images It is happening when the checkbox "Main properties > Resize to fit contents" is checked. ...
4
votes
1answer
125 views

RGB TIFF goes black when zoomed out in QGIS?

Am importing a RGB TIFF into QGIS 3.4 and when I zoom in I can see the image properly, however, when I zoom out the layer turns black (most of it) and red (a small portion). After doing some search I ...
4
votes
1answer
100 views

Cannot add capital N (letter N) to attribute field in QGIS?

New to QGIS and couldn't find anything related to this. If I want to add a capital letter n, "N", to an attribute field QGIS does not accept it. The shapefile I am editing has 'Y' and 'N' in a text ...
0
votes
0answers
35 views

Counting rooftops in QGIS? [duplicate]

In part of a city, I am trying to count rooftops on a basemap/Google satellite in QGIS and create several polygons around x number of rooftops in the area. Is there anyway to count rooftops in QGIS?
0
votes
0answers
19 views

Highlighting feature in qgis2web leaflet when using search field? [on hold]

I am looking to highlight features (in my case a path - polygon) when searching for something in qgis2web (in leaflet it only pops up as a circle) this is possible in an openlayers map by default in ...
1
vote
1answer
34 views

Is it possible to load a WMS aerial photo from a external map into QGIS?

Is it possible to load a WMS based aerial photo (like https://geoinfo.frankfurt.de/luftbild-2018) into QGIS and use it as a background-layer for internal use?
2
votes
1answer
48 views
+50

Print Layout Items. setExtent() and attemptResize()

I'm trying to arrange some map items onto a print layout. Let's start with the map item itself. Here is my code to add a map item to the print layout. Specifically I have questions about the ...
0
votes
1answer
29 views

How to maintain OpenStreetMap labels/details (from QuickMapServices) when exporting from QGIS? [duplicate]

My question is about OpenStreetMap place labels in QGIS, and how to keep them at a similar size when exported to as they appear in the software. I realise variations of this question have been asked ...
2
votes
1answer
33 views

Changing apparent scale of tile layers [on hold]

There's loads of web-based tile layers out there which are great in many ways, but one problem I'm having is making them look nice when exporting a map to print or as a jpeg. The problem consistently ...
0
votes
0answers
29 views

Creating polygon from DXF file using QGIS?

I want to create a polygon from a DXF file. I used v.in.dxf to convert the DXF file to GRASS vector map format. when I run the polygonize algorithm, it gives me the following error message(here I used ...
6
votes
3answers
6k views

How to translate (reposition) a .tif raster layer?

I'm starting to use QGIS for my thesis (environmental physics) and have to admit I'm pretty ignorant about it - I've always used Mathematica or Matlab. My problem is: I have a raster layer, in .tif ...
1
vote
3answers
506 views

MMQGIS: delimiter error on CSV import for merging

I have a shape of my city and I have a CSV file, containing attributes I'd like to join into the shape of the city. In selection of the CSV file, I get the following error message by MMQGIS. Source ...
0
votes
0answers
34 views

QGIS Install Help: Library Not Loaded / Image Not Found

I'm having trouble updating to QGIS 3.4.4. Following install, the program does not open. I have Python 2.7 and 3.6 installed. I also downloaded and installed GDAL 2.3 from https://www.kyngchaos.com/...
0
votes
2answers
39 views

How to style 2 columns with 900 combinations without resorting to rule based in QGIS?

So I have this point layer that has 2 columns that I need styled, one of which is owner_id and the other is size. Both are integer fields if it matters. The owner_id matches with an owner name in ...
1
vote
2answers
122 views

Possible to set default attribute fields for vector creation?

I'm using the latest release of QGIS (2.14). Is it possible to set default attribute field parameters to be used automatically during the creation of new shapefiles/vector files? I'd be specifically ...
9
votes
2answers
3k views

When I change a QGIS plugin's icon, why doesn't it change in the menu/toolbar?

I've been writing a QGIS plugin (using the "Plugin Builder" plugin), and decided I wanted to change the icon (icon.png). After running make deploy to rebuild the plugin locally, the new icon appears ...
3
votes
0answers
45 views

QGIS 3.4.3 - Scale bar not accurate

I'm a fairly new user to QGIS and was trying to generate a map of Iceland. However my grid scales are not matching up. The base map I'm using is Esri National Geographic which uses crs- EPSG:3857 - ...
1
vote
1answer
46 views

Different result with Query builder and the processing 'extract by expression'

I have a attribute table (xlsx sheet imported with the plugin 'spreadsheet layer'). For example, it contain only 15 lines I have filtred the data with this request that return 6 lines (correct result)...
1
vote
1answer
44 views

Polygons are unable to be edited and have no feature, although they are listed in attribute table with three features

I found that several lakes in the GRanD database (global reservoirs and dams) are unable to be selected for editing like normal polygons, and they have no feature at all, although they are shown in ...