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

Questions tagged [qgis-2.18]

Version 2.18 of QGIS, also referred to as 'Las Palmas'

0
votes
1answer
26 views

The new version of qgis (2.18.20) no longer scales maps in the print composer

I've used various versions of qgis to make maps and never had a problem scaling them until now. My system updated, including my version of qgis which has the scale option but doesn't apply it to the ...
1
vote
1answer
43 views

Merging TIFF files using QGIS?

I have around 1200 tiff files (example below), and corresponding .tfw files and .aux files with sonar data that I'd need to merge into one file and I'm struggling to do so. I browsed some topics ...
3
votes
2answers
188 views

Creating polygon from hole in QGIS?

I work with this polygon and try to find a way to create a new polygon from the empty gap (not distinguish it) in the middle of the polygon. I succeed to do it with a "difference" tool- but used with ...
1
vote
1answer
40 views

Creating label coordinates in a virtual columns in QGIS 2.18

I'm working from a database (PostgreSQL/ PostGIS). I created a view in QGIS of joined polylines from one table with the ST_union function. I want to label this polylines in QGIS. So, I created 2 ...
1
vote
1answer
32 views

Line first,last node distance along another line QGIS

I am using QGIS 2.18.6 . I have created two line layers. First layer "testroad" with long line (road). Second with short lines along,near road. I would like to know distance of first and last point of ...
2
votes
1answer
42 views

Assigning function to a key in QGIS Plugin

I have trouble assigning function to a hotkey in my plugin. I have a class that does things with a mouse click. I'd like to assign another function to a keyboard key or sequence. I've tried two ...
2
votes
1answer
40 views

Cleaning topology errors in PostgreSQL (vector data) using QGIS?

I need to append the shapefiles to a PostgreSQL database. Once the data gets appended to PostgreSQL, some topology errors like gaps & overlaps can be seen. By using the v.clean tools the topology ...
0
votes
1answer
32 views

QGIS Print composer using margin and scale

When using the Atlas feature in the print composer is there any way of using both the Margin around feature and a defined scale?
1
vote
1answer
25 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 ...
2
votes
0answers
27 views

How to create a valid QgsVectorLayer from a PostgreSQL view?

I am attempting to create a QgsVectorLayer with the same code as I am using for a PostgreSQL table, which works correctly and the isValid() method on the layer returns true. uri=QgsDataSourceUri() ...
2
votes
1answer
21 views

Measuring distace between two points with PyQGIS 2.18

Can someone help me understand what I am doing wrong in my calculation of the distance between two points? My code is as follows: import qgis crs = qgis.core.QgsCoordinateReferenceSystem() crs....
0
votes
1answer
24 views

Change suffix label on decimal grid in print composer

I want to change my suffix label on decimal grid/measured grid coordinates for a map canvas in the print composer from "N" or "E" to "m.N" and "m.E". How can I achieve this?
1
vote
1answer
73 views

Clean install of QGIS version 2.18.27 from OSGEO4W Network Installer fails

I simply cannot get a clean install of QGIS version 2.18.27. I seem unable to access any working SAGA tools. I used to have access to these tools in version 2.18.23, Standalone Installer The Log ...
0
votes
1answer
16 views

QMS basemap opening up in wrong CRS and GPS points (maybe?) showing in wrong place

Im having problems with the CRS of my QMS basemap in Qgis (2.18). As a basemap im using the ESRI satellite provided by the QMS plugin. I have set my default and project CRS to WGS 84/UTM zone 19S (...
0
votes
0answers
25 views

QGIS spatial sampling tool for existing points within a polygon ensuring even spread

I would like to spatially sample 10 existing points from within a polygon. I have read the answers from "QGIS point sampling tool really slow for polygons?"; "points within a polygon" as well as "How ...
0
votes
0answers
42 views

Slope rasters - different results from different tools

I'm calculating Least Cost Path (LCP) within QGIS 2.18. The first step is to produce the slope raster from the DEM. Using r.slope in GRASS produces excellent results where I can go on and finally ...
1
vote
1answer
54 views

Installation of Whitebox plugin in QGIS 2.18

I want to install the plugin Whitebox (https://plugins.bruy.me/processing-whitebox.html) into QGIS 2.18 but it is not listed in the Plugin Repository. I have the zip file. Is it possible? I have ...
1
vote
1answer
32 views

Excluding points from polygon QGIS

I have population points for Germany and a polygon of an urban area. I've joined population data with the polygon to obtain the population of that urban area. Now my aim is to obtain a layer with ...
2
votes
1answer
35 views

Number each value in each section due to other value

I'm working with map of plants in garden. This garden is divided into about 40 sections. Plants of one species have their number for example every Scots pine is 12 and every Common oak is 15 in field "...
0
votes
1answer
21 views

Choropleth boundary colour change in QGIS?

How do you change the colour of the boundaries between areas on a choropleth map in QGIS 2.18 Mac version?
1
vote
0answers
31 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 ...
1
vote
0answers
13 views

Expected traceback not shown on QgsRunProcess

On QGIS 2.18 python console (windows 10) I execute: from qgis.core import QgsRunProcess myRun = "C:\Python27\python.exe C:\Users\MyUser\Desktop\hw.py" QgsRunProcess.create(myRun,True) where hw.py is ...
1
vote
0answers
33 views

Losing data when offline editing in QGIS?

I am working with QGIS 2.18.15 and I have a problem. I made an offline project, then a sent to my colleague, also the .sqlite file too. He edited it, made new objects and changed some attributes. Then ...
-1
votes
1answer
77 views

LIDAR scans of the same location give very different values [closed]

In QGIS, I have a number of LIDAR scans of the same geographic location over a number of years. The actual values in the .asc files differ markedly (see image). Do the different value ranges for the ...
0
votes
1answer
33 views

QGIS - how to move layer files while project is open

I want to move layer files (within browser directory structure) while my QGIS project is still open - therefore allowing the project to update its relative link to that file. ARCGIS does this, but not ...
1
vote
1answer
29 views

Charts and Graphs that only display features in current extent

Using QGIS, QGIS Server, and Lizmap3/3Liz I am trying to make a pie chart that compares attributes but only of the features in the current extent. So when you pan around the webmap the graph changes ...
0
votes
1answer
298 views

Opening Google Earth kmz files in QGIS?

I've build an image overlay in Google Earth, but I want to add some other layers via QGIS. In QGIS 2.18.15 on Windows 10, the kmz files just open by adding a raster layer. But...they're clearly wrong. ...
2
votes
1answer
24 views

QGIS 2.18 Make population point proportional

I am mapping population abundance and distribution of a bird species in a one area. I am using several years worth of data to show how population and distribution vary by year. The years are marked ...
0
votes
0answers
29 views

Converting ASC file to LAS file in QGIS? [duplicate]

I have a lot of downloaded LIDAR data as .asc files. I am trying to use Lastools within QGIS 2.18. I need to convert to .las files first? If so, how do I do that?
1
vote
1answer
65 views

Trouble with creating new attributes on large shapefile?

I have a point shapefile with ~2.5 million points. I am creating a new attribute converting ft to m, and QGIS (2.18.15) is having trouble working with the datasets. I have seen suggestions to only ...
0
votes
1answer
22 views

Organisation of folders on NEXTGIS

I am trying to set up a folder called 'November' on NEXTGIS such that I can add multiple web maps into subfolders called 1,2,3,etc over time. I want to give a web address to a coworker for the folder '...
2
votes
1answer
56 views

Process for resolving error messages in NEXTGIS

I'm uplifting a map to NEXTGIS and I get the errors: Response status code is 502 {"exception": "ValidationError", "message": "GDAL library was unable to open the file.", "attr": "source", "serializer"...
1
vote
0answers
31 views

Saving MapCanvas with RubberBand items as image

I want to save map canvas as image (Project > Save as Image..) together with rubber band items(colored areas in the image). But QGIS 2.18 just saves features of shown layers on map canvas. I get the ...
0
votes
0answers
59 views

How to add row number based on distinct attribute value in QGIS (version 2.18.13)? [duplicate]

I have several layers (shapefiles) that have data in groups. Each group has a distinct group name. I am trying to number each item in the layer based on its distinct group name. So, for each group ...
1
vote
1answer
52 views

Exporting from QGIS to NEXTGIS gives errors?

Exporting a project from QGIS 2,18 into my new Mini Plan account at NEXTGIS and some of the jpeg files are not successful. I get the error: {"exception": "ValidationError", "message": "Raster ...
2
votes
1answer
28 views

Unable to delete certain elements from my map

Can anyone help me get rid of these 2 boxes ? I can't figure out how they showed up in the first place... I've remove the check marks next to all my layers and the boxes won't go away. I'm getting ...
1
vote
0answers
42 views

Invalid data source in QGIS 2.18 [closed]

I am trying to run the raster process in QGIS 2.18. and every time I am getting an error as "Data source is invalid". What should I do? Python error that I am getting: 2018-09-24T13:56:09 1 ...
1
vote
2answers
123 views

Cannot install plugin due to Bad Gateway error

While attempting to install a plugin via the Manage and Install Plugins window I receive the following error: > Plugin installation failed:Error downloading > https://plugins.qgis.org/plugins/...
2
votes
0answers
63 views

Save output from runalg in PyQGIS

I try to use the build-in Python-console of QGIS to create voronoi skeleton lines from a set of polygons. Therefore I iterate over the features of my input layer (the polygons) and then I use the ...
0
votes
1answer
40 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?
1
vote
0answers
42 views

Get error when QgsVectorLayer is not valid

In QGIS 2.18.16, with a custom plugin, I tried this code to create a new vector layer for WFS: v_layer = QgsVectorLayer(uri.uri(), "my WFS layer", "WFS", False) if not v_layer.isValid(): print ...
1
vote
1answer
37 views

Suggestions on how I can depict numerous cell towers with different ranges?

I am trying to make buffers dependent on cell tower ranges. Does anyone have any suggestion on how to insert distance buffers of various that are dependent on attribute values in one layer? I am ...
6
votes
1answer
89 views

The longest straight line (L) within a polygon and the longest perpendicular line (T) to L

I'm mapping elongated glaciological features within QGIS 2.18.22 and I need to measure the longest straight line (L) and the longest perpendicular line (T) to L (as illustrated in the picture) within ...
0
votes
3answers
144 views

SSL certificate problem when trying to open GeoJSON file

I'm getting the following error when trying to open a GeoJSON file in QGIS: Data source is invalid (SSL certificate problem: self signed certificate in certificate chain) Is this related to the ...
1
vote
0answers
17 views

Changing URI source of WMS Raster Layer in place PyQGIS

In my Qgis Plugin, I manage a set of WMS layers that are secured by Api key. As I develop this plugin for differents clients who have different Api Key, I need to set the right Key when a specific ...
4
votes
1answer
256 views

Make legend in QGIS only show features in the view extent?

I am trying to create a legend in QGIS 2.18.22 so that it only shows the features that are in the current map extent in the print composer. I have been selecting the 'only show items inside current ...
1
vote
0answers
41 views

Installing httplib2 through the Python console in QGIS 2.18.0 on Windows OS

I want to install httplib2 through the Python console in QGIS 2.18.0 on Windows OS, in order to use another plug-in instagram2qgis. I downloaded and unzipped the folder of httplib2 but I don't know ...
1
vote
2answers
192 views

OSM download data

I am using QGIS 2.18. I have OSM raster map opened. I go to Vector/OpenStreetMaps/download data. I have tried all three options in the dialog box. My answer is always the same no data downloaded ...
2
votes
1answer
48 views

How can I check the intersection from a line layer?

I have a line layer which represent streets and I would like to know where a line is not connected to other in their nodes. I would like to find where the lines are like the two first images ...
0
votes
1answer
29 views

Join by attribute KeyError

I'm trying to join a shp and a CSV, by joinbyattibutes, by the Column "KOMNAVN" in QGIS 2.18. However, I get this log message error and I can't figure out what I'm doing wrong.