Stack Exchange Network

Stack Exchange network consists of 175 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

Questions tagged [qgis-2]

Version 2.x of QGIS (previously Quantum GIS)

1
vote
0answers
8 views

Using expressions to relate a column to layer style in QGIS

I have a QGIS project with N layers, each pointing to the same CSV file with columns "1_1, 2_1, ..., N_1". I would like each layer to refer to its respective column (Layer 1 -> column 1_1, and so on) ...
0
votes
1answer
43 views

Replacement for legendInterface in QGIS 3?

I am a novice to QGIS tasked with updating other developers' plugins from QGIS 2 to QGIS 3. Here's the code I need to replace: legend = self.iface.legendInterface() index = legend.addGroup('...
14
votes
2answers
10k views

How to draw polygons from the python console?

I've been visiting and revisiting the page on geometry handling in the PyQGIS Cookbook: http://documentation.qgis.org/2.0/en/docs/pyqgis_developer_cookbook/geometry.html but can't seem to figure out ...
0
votes
1answer
18 views

Error message using sDNA Prepare Network

I'm preparing a road network using the sDNA Prepare Network tool on QGIS 2.18.28. My OS is Windows 10 64 bit. I get the following error message: Algorithm Prepare Network starting... ****************...
0
votes
0answers
22 views

How to remove “Recent Projects” saved to automatically open when starting QGIS [duplicate]

I have the version of QGIS 2.18.16 that was copied over to my computer. The original user must have had some saved projects before copying and every time I open QGIS, these Recent Projects shows as ...
-1
votes
0answers
36 views

Tile Server(XYZ)

can anyone say that use Local Address like bottom for Tile Server(xyz)?or not? How should I Add Address?? file:///C:/Folder1/Folder1/{z}/{x}/{y}.png I use QGIS2.18.
3
votes
2answers
127 views

Calculating point layer values within polygon features in QGIS 2

There are two layers polygon BereichBerechnung with a field "Are_Number" points EW2017 with a field "EWjeAdr" In QGIS with a Virtual Layer, I want to calculate the sum of the field "EWjeAdr" for ...
0
votes
1answer
69 views

Enabling 'on the fly' CRS transformation via python console of QGIS?

I am using QGIS 2.18. Is there a way to enable the 'on the fly' transformation project setting from the python console?
4
votes
2answers
2k views

Quickest method to show/hide labels in QGIS 2.8

In order to show or hide labels in QGIS 2.8, I currently right click a layer, select Properties, then Labels, then click the checkbox to show/hide, then click OK. This seems like quite a long-winded ...
3
votes
2answers
76 views

Calculating tortuosity in QGIS 2.18.27

I am struggling on how to calculate tortuosity in QGIS. My data includes numerous lines (the mapping of animal trails) I have tried calculating tortuosity with the field calculator but had no luck is ...
2
votes
0answers
29 views

Resolution/displaying issue with legend item in QGIS

I'm having an issue in QGIS print composer. I am using QGIS 2.18. Some of my legend items are displayed in low resolution or are partially cut off. The strange thing is that some groups of the legend ...
1
vote
1answer
71 views

GRASS 7.4 addons look installed but not accessable

I'm tring to install the addon v.centerline using the GRASS GUI 'Fetch & install extension from GRASS Addons'. I get the following message saying it's installed yet it doesn't show up. I tried ...
1
vote
1answer
698 views

Map is not shown in Print Composer or in PDF (QGIS 2.18.3)

I already saw the other questions concerning the same problem, but after trying everything described in the answers there, I still have the problem that my saved print compositions do not show the ...
0
votes
0answers
37 views

Is there maximum number of points you can import from CSV to QGIS 2.18

I tried to import a CSV file which contains 4,783 rows. However, only 20 records appeared. Any one has solutions to solve this situation? How can I add all rows in QGIS delimited layer? PS: I use Mac ...
2
votes
1answer
975 views

Adding coordinates to polygon layer to sort polygons from north to south in QGIS?

I have a polygon file, where each polygon represents one property. I want to be able to sort the polygons from north to south or vice versa. I need them to be sorted in this way when I export them to ...
2
votes
1answer
725 views

Cannot save as ESRI FileGDB in QGIS?

In QGIS v2.6, I was able to save a vector layer as ESRI FileGDB. However, in v2.8 and v2.10 this no longer seems available. Am I missing something? Or why is this no longer available in the ...
0
votes
3answers
2k views

“Extract Error writing to file oraociei1.dll” while installing QGIS version 2.0.1

I have been desperately trying to install QGIS version 2.0.1 Dufour, but in the middle of the installation I always get an error ("Extract Error writing to file oraociei1.dll"). And automatically ...
2
votes
1answer
58 views

Creating an Action in QGIS with multiple Expression?

I want to create an action in QGIS with multiple Expression. But unable to do so. I want to open images from two different directories with one action. Is it possible? How can I do so? e.g. Type : ...
1
vote
1answer
611 views

QGIS Buffer Not Recognizing All Features in Layer

I'm completing online course GST 101 for QGIS (my version is 2.18.3) and I'm stuck on the Buffer tool. All of my layers are set to CRS "NAD83(HARN)/New Mexico Central (ftUS) (EPSG:2903)" as ...
1
vote
0answers
11 views

Installerv otb 6.6.1 under QGIS 2.18.24 in Windows 7

I had installed QGIS 2.18.24 on OSGeo4W, then the OTB stand-alone binary file. In QGIS, I manually entered the directory of OTB Applications folder C:\Program Files\QGIS 2.18\apps\OTB-6.6.1-win32\lib\...
1
vote
0answers
19 views

No SAGA folder in processing options dialog box

I am using QGIS 2.18. I am facing this error while using EasyAHP: "The error occured during calculation. Please make sure that Processing Toolbox's SAGA provider is installed." But, I guess the ...
2
votes
1answer
228 views

Merging multiple bus stops with same name using QGIS?

My question is similar to Merging points (bus stops) in QGIS manually or programmatically?, but it's not answered sufficiently I have OSM-transit data with bus stops. Some stops have two or more bays ...
1
vote
1answer
120 views

Is there a way to get one World File from QGIS Atlas?

I used Atlas in QGIS 2.14 to generate an image (map) and an associate world file for each lakes (> 5000) in my database. I want to be able to see all the data in MS Excel as following: 1st column : ...
5
votes
1answer
479 views

QGIS Finding valves to turn off for water lines

I am wondering if there is a tool for QGIS that can do what I am about to describe. It might be in network analysis but I am not sure. I have used water gems but it does not do what I want it to do. ...
2
votes
0answers
63 views

Migrate QGIS2 projects to QGIS3

I have about 40 QGIS2 projects. If I open them with QGIS3 labels and svg icons are not displayed. I don't know if there is any other feature that is not working when upgrading to QGIS3, but I suppose ...
1
vote
0answers
132 views

Highlight the selected feature with different colors [duplicate]

Is it possible to change the color of a selected feature in qgis 2.2.0 Valmiera? To highlight a feature I use: aLayer.Select(feat.id()) box = vlayer.boundingBoxOfSelected() qgis.utils.iface.mapCanvas(...
4
votes
2answers
201 views

Geopackage - select on geometry column returns null

In DB Manager in QGIS 2.18.26 I want to select geometries in geopackage table. The returned geometry column is null but the source layer can be loaded as a geometry table in Qgis and i can read the ...
3
votes
2answers
604 views

How to join attributes by location for more than one located feature in QGIS?

In the standard join attributes by locationfeature in QGIS 2.0/2.18, there are two options: Take attributes first located feature Take summary of intersecting features Is there a function in QGIS ...
0
votes
0answers
23 views

Looping group of layers and keeping another layer on in QGIS?

While using loop visible layer plugin, it simply makes a loop of a predefined group of layers, rest of the layers are turned off. What I want is to keep a vector layer on and visible all the time ...
0
votes
0answers
18 views

Uninstall QGIS 2.18 from mac and reinstall. Remembers settings

Relates to Mac OS 10.14. I have problems with QGIS 2.18. Plugins not working etc. (latest problem is not being able to make a virtual raster catalogue of landsat 8 tiles. Error message : "The ...
0
votes
0answers
25 views

QGIS 2.18 GDAL tool path wrong. gdalbuildvrt: command not found

Can't seem to get any GDAL operation working. For example QGIS 2.18 crashes when doing a raster calculation. Also it fails to build VRT catalogue. I looked in the Plugins manager and installer what ...
0
votes
0answers
9 views

configuration file not found

Every time at startup this message shows (and reappears a second time after clicking it away). And everytime I quit QGIS 2.18 the same message shows. How do I get rid of it ? I imagine it has to do ...
4
votes
1answer
156 views

QGIS how to handle circular but non-closed lines

I use QGIS 2.18.3 and I have a shapefile with around 30,000 lines and a lot of invalid geometries. It is imported from a CAD project. I managed to solve most of the invalidities with the break ...
1
vote
0answers
10 views

Cannot find Grass7 folder in QGIS 2.18 content folder

I have freshly re-installed QGIS 2.18.28 in the prescribed order. I was under the impression Grass7 in included in one of the install packages. But when trying to point QGIS to the grass7 folder under ...
1
vote
0answers
11 views

QGIS quit unexpectedly

Running QGIS 2.18 on Mac OS 10.14. Python 2.7 and GDAL 2.1 installed. Trying to clip raster by polygon. (raster--> extraction --> clipper) Get error message. ("qgis 2.18 clipper The process failed ...
3
votes
1answer
6k views

Intersection error QGIS - invalid geometries that are actually valid

I'm trying to intersect two vector layers (having the same CRS EPSG:4326 WGS 84, in QGIS 2.18.10) but I get this error in the log: Input layer A contains invalid geometries (feature 52). Unable to ...
1
vote
0answers
43 views

Copying features certain number of times between layers in QGIS

On the image below, there are two layers showing the transportation network Red | current | only important objects | geometry repeats/overlaps Blue | new | required and other objects | ...
3
votes
0answers
31 views

QGIS tile cache not working

I'm new to QGIS and work on an air-gapped system where I have access only to QGIS 2.14.9-Essen. I create a WMS layer, which "works" but performance is abysmal. So I enable caching (Settings > Network) ...
1
vote
1answer
55 views

Analytical hierarchy process tool - SAGA. How to configure Pairwise comparisons table?

What is the configuration and extension (.txt, .csv ...) of the Pairwise comparisons table file requested by the SAGA AHP tool- Analytical Hierarchy Process - in QGIS? Are there examples of ...
9
votes
2answers
9k views

Is there a way in qgis 2.0 to prevent overlapping labels?

Is there a way in qgis 2.0 to prevent overlapping labels? I have a layer with a large geographical extent, which means a hell of a lot of labels. Many of them collide and it looks really bad. Is ...
1
vote
0answers
402 views

Colliding labels for point features in QGIS

I have a layer (point features) containing various points of interest (POIs), some of them have the exact same location. I would like to map these POIs and add a label showing their names. However, ...
7
votes
2answers
8k views

Error message: qgis_core.dll missing

I have a fresh install of QGIS 2.4. When trying to open a .shp file I get the error message below. I've followed their advice and have done several re-installs and also cleared all qgis files from my ...
1
vote
1answer
33 views

How are the joined results different between choosing “Only keep matching records” and “Keep all records”?

I don't really understand the main difference between these two functions? What are the key differences between these two options and why are they different? Like what makes these two so different ...
-1
votes
1answer
63 views

Importing animated GIFs in QGIS

Is it possible to import a animated GIF into QGIS? And is it also possible to georeference it, to have it on the right place?
3
votes
1answer
1k views

QGIS 2.10.1 Copy and Paste Problem - Attributes not showing

I have two shp layers with different numbers of fields and slightly different attributes of those field, like the column name or field length. I arranged them so they are in the same order and now ...
1
vote
2answers
745 views

Calculating drive time in QGIS

I have more than 3000 points that spread in in a very big area. I need to find all the points (blue) that are in distance of 50 minute drive time, from the stores (green stars). I want to calculate it ...
0
votes
2answers
696 views

GRASS New/Open Mapset not available ( QGIS 2.18.7) on Mac OS

I have QGIS 2.18 and the option to create a New Mapset is unavailable to me. GRASS is installed but when I go to the Plug-Ins>GRASS only Open GRASS Tools and GRASS Options are available to me. These ...
2
votes
1answer
63 views

UNION two LEFT JOINs as Virtual Layer in QGIS

In QGIS 2.18, there are two layers, e.g. "Locations" and "Connections" "Locations" has values Id | Dimension --------------- 1 | 4 2 | 8 3 | 2 "Connections" maintains attributes ...
9
votes
2answers
1k views

Starting QGIS with virtualenv Python?

is there any means of telling QGIS to use a different Python installation than the default, system-wide one? E.g. use some virtualenv Python /myvirtualenv/bin/python instead of /usr/bin/python? ...
0
votes
0answers
4 views

QGIS froze while downloading landsat data with semi-automatic classifications plugin

Landsat data download in Semi automatic classifications plugin was interrupted because QGIS froze. Is it possible to resume download or must I start all over again ? How do I reconnect to the ...