Questions tagged [qgis-2]

Version 2.x of QGIS (previously Quantum GIS)

Filter by
Sorted by
Tagged with
1
vote
2answers
40 views

Customize symbols in QGIS

I am using QGIS 2.18 and I am trying to add symbols to my map but I cant find the kind of symbols I need. Is there a way I can get symbols depicting security threats, flooding, violence?
0
votes
1answer
65 views

KML polygon rainbow filled colors is showing only as simple color?

I draw filled color contour in Surfer application I imported this file to Google Earth as .kml file There is no problem so far I tried to import the same file to QGIS 2.18.28 But the colors is not ...
0
votes
1answer
383 views

Missing layer tools in QGIS?

I just installed QGis 2.0.1 and wanted to move the layer tools that were located on the very left hand side by default. I tried to move them to the top, next to all the other tools. Now, they just ...
2
votes
1answer
44 views

Saving data of original layer while buffering in QGIS?

I'm using QGIS 2.18.27. I have the following problem: I am trying to create some buffers in the city center, as you can see. And I need to calculate some statistical parameter on every buffer. As ...
5
votes
1answer
417 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 ...
3
votes
1answer
135 views

Can QGIS follow symbolic links to load data on Linux?

Can QGIS 2.4 follow Linux soft links? I want to add a number of raster layers from a store of NED30m elevation data, and thought I'd do it by creating a collection of softlinks in one directory to ...
6
votes
3answers
13k views

Cleaning topological errors using QGIS? [closed]

I am a new QGIS 2.0 user. I was so impressed the new default tool, Topology Checker, in this new version. But, hundreds errors are bothering me for cleaning up features. Is it possible to clean ...
3
votes
1answer
73 views

Multiple layers auto-updated when one of them is modified

I just discovered this post and I found what I searched here. But I was wondering if there was a way to have multiple layers (let's say l1, l2, l3, l4) being updated automatically when you change ...
3
votes
3answers
1k views

Added columns in SpatiaLite won't appear in QGIS (attribute table)

I have a SpatiaLite Database with OSM-Data from planet OSM (imported with the OSM import tool from QGIS 2.0) Everything is fine so far. I can create, export, delete tables and draw them in QGIS... ...
1
vote
0answers
16 views

Keeping ids and attributes of source features when creating QgsGraph?

I followed the example in QGIS documentation for Network Analysis library to create a graph from a vector layer. When building the graph, the features of the line layer are added as arcs (edges) to ...
2
votes
1answer
31 views

GRASS 7.6 v.net.iso not providing output in QGIS 2.18

There are simply two layers in EPSG:31469 both are located on the Server side, see image below: points 'HST_Bestand_GK5' polylines 'vwESKN_1_25000_Teil' On my Windows 10 with QGIS 2.18 and GRASS 7.6,...
7
votes
2answers
3k views

Getting file paths of loaded layers in QGIS plugin? [closed]

I am very new to GIS, QGIS and Python. I am using QGIS 2.0 and I would like to develop a QGIS plugin that would display the raster layers of the main window in order to allow for some specific ...
2
votes
2answers
50 views

Selecting lines where start and end points within polygon using Virtual Layer

In QGIS 2.18 project there are several layers, lines and polygons respectively My task is to select all lines when their start and end points are laying within polygons using Virtual Layer, see image ...
4
votes
2answers
8k views

How do I show only the selected features from an attribute table on a layer?

One of the layers has around 5000 attribute entries, based on a CSV file of species records. All the features are of course shown on the map layer. How can I select a specific class of features so ...
2
votes
2answers
1k views

Editing lock layer?

I want to make a protected processing imported layers from the sqlite database. Is there in QGIS 2.0 a function or a plugin or do I have to insert directly into the data?
0
votes
1answer
23 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... ****************...
1
vote
0answers
7 views

Batch Saving Raster DTm and choosing type in QGIS 2.18

Follow on question from the following Previous question batch saving 10m DTM layers using python console I would now like to set the output of my Raster .tif files to Float32 as by default the .asc ...
3
votes
0answers
17 views

Topology checker - whole polygon highlighted rather than polygon segment

When I check for overlaps, topology checker is only identifying errors at the polygon level but not the polygon segment where the errors exist (the whole polygon is highlighted in blue). I believe ...
0
votes
0answers
22 views

QGIS 2.18.28 Dissolve Error: “-2147483645 See log for more details”

I am doing property research on a county in Texas. I have all the parcel data and am trying to dissolve by Owner Name so that I can use the info tool to quickly see all the properties a given person ...
2
votes
1answer
26 views

QGIS - Create buffer circle around particular point using its geometry

Can I create a buffer circle around a particular point using its geometry in pyQGIS? I have my code as below: myVariable = '123456' expr = QgsExpression( "\"identificatie\"={}".format(str(myVariable))...
1
vote
0answers
521 views

Creating clusters of nearby points using QGIS? [closed]

I m trying to create clusters of nearby points (which would be the adresses of my customers around a store). Buffer is not an option cauz i need the zone to be limited by customers, so a polygone ...
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 ...
2
votes
1answer
66 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
766 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
45 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
83 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
19 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 ...
1
vote
1answer
33 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
988 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
29 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
39 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
240 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
26 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
51 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
52 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
518 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
485 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
54 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
0answers
23 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 ...
2
votes
2answers
138 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
84 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
83 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
33 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
77 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
799 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
41 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 ...