Questions tagged [qgis-2]

Version 2.x of QGIS (previously Quantum GIS)

Filter by
Sorted by
Tagged with
1
vote
0answers
7 views

Saving a form .ui file with relative path?

My company uses QGIS 2.18 (soon to upgrade to 3.4) and I've designed a form to make data entry for our survey field staff a little less hateful. The .ui file is saved on a network drive, and as long ...
0
votes
1answer
92 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?
6
votes
2answers
940 views

Is it possible in QGIS print composer to include a numeric scale in an html box?

For work I always have to create a table with my name, project name, date etc. into my map layouts. I also need to include the scale like "1:150000" in that table. So far I am solving that by ...
1
vote
0answers
17 views

Find Topology error in polygon layer

I try to find topology error in this polygon layer using QGIS 2.18 with topology rule of "must not overlap": but i don't understand why with the Topology checker, only several areas marked in red, ...
4
votes
1answer
168 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 ...
2
votes
0answers
45 views

Saving what is inside a polygon coordinates as an image?

I am trying to get an image from inside a polygon. TLDR; What I am trying to do: save what's inside a polygon as an image. What is happening now: I am only able to save the canvas as an image. ...
0
votes
0answers
49 views

Login as another user in PostGIS using QGIS 2.18 without restart

I have a PostGIS DB with three roles: admin, user and readonly. When I set up a connection to this database via "Add PostGIS layer" this connection is saved as it should be. So I login as admin to ...
1
vote
1answer
26 views

Turn string data (of GPS coordinates) into a GPS tracker = frozen map. QGIS2.14/Py2.7/Win7/LAN

I am currently involved in a student project which is to turn string GPS coordinates into a GPS tracker. This is my current work: First, the UDP data is shared through a LAN (No internet available) ...
2
votes
0answers
38 views

Adding raster in external Python API using QGIS?

I try to build mapping and navigation app using QGIS 2.18 and I start by doing the same thing in this book "building-mapping-applications-with-qgis" chapters 8 but I face problem in add the basemap ...
8
votes
1answer
15k views

Creating DEM from Point Data using QGIS?

My boss gave me a small 3D-point-shapefile and asked me to make an DEM from it, which I should put together with an older DEM of the same site, which was made with Surfer. I created a raster-layer ...
1
vote
1answer
44 views

Where is config file for QGIS 2.18?

I search the config (.ini) file for QGIS 2.18 on my pc. For QGIS 3.4.8 the file is stored under this path C:\Users\AppData\Roaming\QGIS\QGIS3\profiles\default\QGIS\QGIS3 I can´t find this file for ...
5
votes
2answers
5k views

Travel time calculator QGIS

I will try explain this as best I can. I have a point on a map and I want to create buffers surrounding the site; for example, 10Km, 20Km 50Km. This is easy. But I also need to show buffers for ...
8
votes
4answers
13k views

Resizing the map item in QGIS print composer without changing scale?

Is it possible to lock the scale in the QGIS 2.0.1 print composer? Every time I resize the map, the scale is adjusted. This makes trying out different map layouts really annoying.
5
votes
3answers
653 views

Exporting Vector Layer with OGR2Layers Plugin?

I'm using QGIS 2.0 Dufour on my Linux (Ubuntu 12.10).I'm download shapefile of Croatia country from this site (http://www.gadm.org/country) and i added a new vector layer where i created some polygons....
0
votes
1answer
63 views

Error Updating the Attributes value [closed]

The code below is not working: This code doesn't affect the table at all layer = point_layer3 selected_feature = layer.selectedFeatures() print(len(selected_feature)) layer.startEditing() for ...
0
votes
0answers
26 views

Labelling only the selected features with custom text using pyqgis

I want some alternate to this code as this code just labels only the current feature in the loop . FEATURES = point_layer3.selectedFeatures() for f in FEATURES: total = f['parkeer_approx'...
2
votes
2answers
157 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 ...
2
votes
0answers
52 views

Changing color of each selected feature based on expression using PyQGIS?

Code below changes the color of all the selected features based on the last condition it satisfied instead of changing the color of the feature which satisfied the condition. for f in FEATURES: ...
2
votes
1answer
50 views

Layers render very slowly when importing from sql

I am trying to get a handle on importing layers into qgis 2.6 using the "Add MSSQL Spatial Layer" option. I was able to import a layer successfully, but it seems to take a long time to render. Is ...
3
votes
2answers
1k views

I can't find geotag and import photos plugin (QGIS plugin)

I am doing a project on mapping tourist attractions and would like to attach photos and videos to point locations. I have read about the Geotag and Import Photos plugin but I can't find it in my ...
1
vote
1answer
94 views

Preserving geometry of Union output with Virtual Layer in QGIS 2

There is a polygon layer "Union23" that was created with 'Union' tool. Layer's attribute table includes the following values. My effort is simply to aggregate those polygons by "FLAECHEID" field ...
1
vote
1answer
490 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, ...
6
votes
2answers
5k views

Activating layer by its name in PyQGIS?

I'm writing a script that requires the attributes of different layers to work, and I would like to know how to call a layer that is not the currently active one and get its features. For example, I ...
2
votes
1answer
75 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 ...
2
votes
0answers
32 views

Print composer forgets layers and puts them in wrong order

I have a project that mainly consist of PostGIS tables, but also some shapefiles. All in all I have some 50 layers in use in the project. The last days, I have had problems with the print composer. ...
3
votes
2answers
1k views

Where are QGIS application setting file(s) stored?

I have some application settings (Windows/QGIS v2.0) that I would like to pass to other users (such as those settings defined under Settings menu>Options>Rendering tab). In ArcGIS they are stored in ...
4
votes
3answers
8k views

Showing only selected features from attribute table on layer using QGIS?

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
1answer
37 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,...
1
vote
2answers
51 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
80 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
391 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
50 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
436 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
81 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
17 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 ...
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
56 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 ...
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
29 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
8 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
20 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
39 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
30 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
525 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 ...