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
votes
0answers
22 views

Trying to replicate the racial dot map in QGIS 2.18.14 [on hold]

I am trying to use QGIS 2.18.14 to recreate this map, which is supposed to depict 2010 Census Block Data, using one dot per person. I am not overly concerned with what ethnicity these people are, and ...
3
votes
2answers
1k views

Importing DXF to QGIS results in all lines being same colour?

I am using QGIS 2.4. I need to import a map I have been given into QGIS to add some ecological survey data. I was sent a DWG file, which consists of a base map and some overlay data, like land ...
-1
votes
0answers
37 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 ...
2
votes
1answer
64 views

QGIS very slow and stops when increasing points size / number

I used the "graduated" style option to represent data by year. Then for each year I used this method with a custom function to increase point size according to the number of points at the same ...
3
votes
0answers
22 views

Calculating direction of polygon using other features? (QGIS)

In QGIS 2 or 3 I have some DEM rasters, on top of that vector layers with plots and buildings + pin (blue one) with coordinates of building. How to calculate position of garden? Is it n, ne, e, se, s,...
9
votes
1answer
751 views

Clearing Recently used coordinate reference systems using QGIS?

After using some non usual SRC for demonstration purpose, I wish to clear my "Recently used coordinate reference systems" list for the sake of praticity. Is it possible? I am using QGIS 2.10.1.
2
votes
1answer
33 views

Getting coordinates on click and pass it to dialog using PyQGIS?

I am creating a plugin in which i need to get coordinates by clicking on QGIS canvas so i tried the solution mentionned at Getting coordinates by clicking on QGIS Canvas with PyQGIS? but it didn't ...
2
votes
1answer
76 views

Calculating volume of buildings using QGIS?

I am working with QGIS 2 or 3 I have DSM and DTM already so I can calculate DSM - DTM: Plus, I have shapefile with buildings' footprints. How to calculate volume of every single building using DSM-...
0
votes
1answer
18 views

Extract one specific value by resampling via rastercalc

I am trying to extract specific areas from the following image: The grey areas are those of interest, they have a distinct RGB-value of 220-220-220. Thus, in my logic, the following code should ...
5
votes
1answer
404 views

Postgis sequence in QGIS not working

I have a Multipolygon-Layer stored in a PostgreSQL/PostGIS database. The primary key field 'gid' is SERIAL. When trying to add a new polygon in QGIS (LYON 2.12.1 on OSX El Capitan), the attributes ...
1
vote
1answer
32 views

Moving points by multiple attributes automatically

I have a shapefile including sightings of birds (points), but the gps points are taken from where the sighting have been made, not where the bird actually are. And in the map I need to show the real ...
1
vote
1answer
922 views

UBUNTU 16.04, QGIS 3.4 above Installation problem

I want to install QGIS 3.4 above and did exactly the same as this page: QGIS Installers and tried the codes below having no error at all: (1) add the following lines to /etc/apt/sources.list deb ...
0
votes
1answer
28 views

Invalid syntax when trying to define a dictionary in pyQGIS code [closed]

I'm trying to run a code in which I need to use a dictionary, but the terminal acuses 'Invalid Syntax' when I try to define that dictionary. Outside of QGIS the code runs without any problems.
1
vote
1answer
38 views

Loading shapefiles in standalone PyQGIS application without GUI

One of the related questions mentions an issue with import order, but I don't think that applies here because this is a command-line script: I'm not using Qt, only QGIS libraries. I'm trying to run ...
5
votes
2answers
225 views

Adjusting flow map styles in QGIS 2

In one project, I am trying to adopt marvellous styles for flow maps created by @underdark a.k.a. Anita Graser. At this moment I have the following output Shapefile was created with the usage of ...
1
vote
1answer
28 views

Show differenet SVG icons on one layer at runtime

I need to show several SVG icons (more than 388 icons) with different name on a single layer(if possible on memory layer). I am using QGis 2.8 and qt4.8.6 The icons represent different kind of ...
0
votes
0answers
24 views

Rectangular (not square) pyramid with QuickMapServices

I’m using QGIS 2.14.9 (upgrading is not an option), and QuickMapServices. I have two tile servers (one for images and one for OSM). Images work, OSM does not. I'm sure the problem is related to ...
3
votes
1answer
39 views

Using expressions to relate 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) ...
1
vote
1answer
46 views

Use previous entry as default in attribute table

I have a vector layer that I add observations to by identifying features in georeferenced rasters (images). One of the attributes I want to assign to the feature is the image name (which I currently ...
1
vote
1answer
517 views

Moving QGIS basemap by hand in order to achieve overlaying with point layer?

I am an environmental engineer and the aim of my QGIS 2.0 project is to visualize the results of a sewage water system inspection. In a first step I included the hoppers from a csv file and added a ...
2
votes
1answer
479 views

QGIS graphical modeler add field: error executing algorithm?

I have to add more than 20 fields to a lot of shapefiles using QGIS 2.4. I used to do it with the tablemanager plugin. Beside it is time consuming, misstakes can be made. So I want to automate that ...
0
votes
1answer
46 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
21 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
56 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.
2
votes
2answers
128 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
79 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
79 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
32 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
75 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
740 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
39 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
1k 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
745 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
65 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
622 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
12 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
20 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
230 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
121 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
485 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
67 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
134 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
210 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
626 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
24 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
23 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 ...