Questions tagged [qgis-2]

Version 2.x of QGIS (previously Quantum GIS)

Filter by
Sorted by
Tagged with
41 votes
4 answers
65k views

Loading OpenStreetMap data in QGIS?

In QGIS 1.8 I used the openstreetmap plugin to request data from the server, or open a .osm XML file, which produced 3 layers (polygons, polylines and points) in QGIS. This was great (give or take ...
Laurent S's user avatar
  • 533
37 votes
7 answers
46k views

Fixing geometry validity errors in QGIS 2

I am working on ownership data at a US county level. I have one shapefile per county that contains thousands of tax parcels. I need to dissolve the polygons representing parcels owned by the same ...
Bap's user avatar
  • 983
34 votes
2 answers
19k views

Does QGIS have the equivalent of ArcGIS's Layer (*.LYR) file?

Using ArcMap, it is possible to add a dataset (eg a shapefile) to the map, and configure the layer's properties (such as the symbology, table joins, switching some attributes off in the Identify ...
Stephen Lead's user avatar
  • 21.1k
32 votes
2 answers
25k views

Where is the Merge selected features button in QGIS 2.2?

I can't seem to find the "Merge selected features" button. I need to merge several polygons inside a shapefile and can't find how to do it in this version. (I was running on Wroclaw until 2.2). Is ...
TTome's user avatar
  • 951
24 votes
1 answer
5k views

Can PostGIS and QGIS provide dependable multi-user editing?

After considering a few options, I'm trying to give my 15-20 QGIS 2.2 users the ability to concurrently view/edit one or two basic point PostGIS layers, largest one has just 16,000 records. I've ...
mike's user avatar
  • 981
23 votes
2 answers
42k views

QGIS Filtering Multiple Values using Query Builder

In the "Query Builder" I can currently filter on value from the "Values List", but I'd like to be able to filter for multiple values at once. How can I go about doing this using the SQL and "Operator'...
DCourt's user avatar
  • 325
22 votes
3 answers
23k views

Is it possible to rotate the canvas in QGIS

Can the canvas be rotated so north is pointing in some other direction than defined by the projection? This question answers with respect to the composer, but not the canvas. There is a related 5 year ...
Llaves's user avatar
  • 5,951
21 votes
2 answers
6k views

Creating temporary layer out of selection in QGIS

I want to create a temporary layer out of an existing layer and only get those features from the existing layer, which are selected. I know that ArcGIS has this functionality that you can create a ...
LaughU's user avatar
  • 4,166
21 votes
2 answers
17k 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 ...
user25976's user avatar
  • 2,115
20 votes
1 answer
615 views

Performing QGIS modeler multiple raster calculations with data from external CSV?

I need to perform multiple calculations on a set of rasters based on values in a CSV metadata file. I'm using the QGIS graphical modeler and can call a specific field in a CSV with the Table and ...
HDunn's user avatar
  • 8,616
19 votes
0 answers
201 views

Output formats for QGIS Heatmap plugin not appearing in drop-drown in Ubuntu [duplicate]

I've been trying to use the heatmap plugin on QGIS (2.8.2) on Ubuntu(14.04) but the drop down for the output formats doesn't get populated. Selecting the drop-down allows me to press OK on the ...
Danaja's user avatar
  • 291
18 votes
2 answers
2k views

Is it possible to write a label expression in qgis that displays the label at a given coordinate?

I am using the QGIS expression builder for the label properties of my data. Is it possible to put different parts of the label in different coordinates on the map? For instance I have a linestring ...
benoitespinola's user avatar
18 votes
2 answers
9k views

Save and load user profiles in QGIS

Is there a way use a configuration file, maybe .ini to load in the relevant settings for QGIS when it is setup, maybe to share with various people? Plugins installed and plugin repositories filled in ...
maskin's user avatar
  • 611
15 votes
2 answers
22k views

Completely uninstalling and removing QGIS 2.8.1 on Windows Vista

I want to uninstall and completely remove QGIS installation from my computer (Windows Vista). I have uninstalled it and when i try to reinstall it says it is already installed on the system.
mapperx's user avatar
  • 1,407
15 votes
1 answer
1k views

Showing only uppercase text as labels in QGIS?

Using QGIS 2.14 and see there is now rule based labelling. I wish to show labels of towns that have capital letters (eg CRAWLEY) and not show the labels of towns with lowercase letters (eg Faygate) ...
Paul G's user avatar
  • 281
15 votes
1 answer
4k views

Wait for canvas to finish rendering before saving image

I am attempting to write a script that will save a rendering of several layers using the map composer. The problem I am encountering is that the script saves before qgis has finished rendering all ...
EastWest's user avatar
  • 253
14 votes
1 answer
36k views

How to change the type of a column of an attribute table in QGIS? [duplicate]

So I want to change one of the columns in my table from string to real. How am I supposed to do that?
Shuryu Kisuke's user avatar
14 votes
2 answers
17k views

Getting field names in PyQGIS

I am trying to change an plugin from QGIS 1.8 to 2.0. In the 1.8 version I create a table of the field names like this: layer = vlayer provider = layer.dataProvider() feat = QGSFeatrue() allAttrs = ...
Martin's user avatar
  • 2,908
14 votes
1 answer
10k views

How to change attributes with QGIS Python?

I have this piece of code which I would like to use for inserting values into a column. It does not throw an error, the changes are not written to the source (shapefile). from qgis.utils import iface ...
Michal Zimmermann's user avatar
14 votes
2 answers
15k 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 ...
Daníel Örn's user avatar
14 votes
1 answer
5k views

Exporting a 16-bit image from QGIS

Could someone explain how to export a 16-bit image from QGIS ? I have imported data and coloured it as I want, but need to export it as a 16-bit image, as 8-bit is giving a terracing effect. I believe,...
Robert's user avatar
  • 141
13 votes
4 answers
29k views

Fixing polygon self-intersection in QGIS?

I am attempting to mask a raster to US Forest Service boundaries in QGIS. It fails due to self - intersections of polygons. Warning 1: Ring Self-intersection at or near point -109.90112962000001 43....
apetbrown's user avatar
  • 131
13 votes
4 answers
7k views

Styling border to match fill in QGIS?

In the past I have just manually matched the color of the border to the color of the fill, but this can be time consuming. I am wondering, is there any way to have the program automatically match ...
Kingfisher's user avatar
  • 2,314
13 votes
3 answers
21k views

Missing processing menu in QGIS

I'm sure there is a really simple explanation to this but haven't found any pointers on this forum or elsewhere. I seem to have lost the 'Processing' menu from QGIS and can't figure out how/why!? Any ...
marty_c's user avatar
  • 549
13 votes
4 answers
4k views

Is it possible to set up a local QGIS Plugin repository?

I've developed a couple of custom QGIS Plugins for use by our office. I can't post them to the official QGIS Plugins repository as they reference/utilize sensitive data on our own servers. For ...
mike's user avatar
  • 981
13 votes
2 answers
911 views

Setting width of layers panel in QGIS?

When I open QGIS, the Layers Panel defaults to a width that doesn't show the "Remove Layer/Group" button. So I have to resize the panel to show the button every time I open QGIS. Is it possible to ...
balex's user avatar
  • 133
13 votes
3 answers
4k views

Setting default value in QGIS field

I would like to add in a layer's field a default value. I mean, every time a new feature is created, that field would be automatically filled with the default value. In my case the default value would ...
Egidi's user avatar
  • 3,728
13 votes
6 answers
7k views

Impossible to sum rasters because of nodata pixels

I have a set of rasters (.vrt) with daily soil moisture data. I want to sum the pixels of all rasters in order to have a measure by month. However, the whole world is not covered each day, which ...
Damien's user avatar
  • 905
13 votes
7 answers
54k views

Shapefile layer no longer editable (toggle edit option greyed out) in QGIS

I am using QGIS 2.16 / Windows 10. I have a point shapefile which I have been using for a little while that has always been editable. Today I was editing the layer, saved my edits and left my ...
Ben's user avatar
  • 889
13 votes
1 answer
10k views

Creating several maps showing different layers but same area using QGIS?

I know about the print composer's atlas generation tool, which allows users to create multiple maps that show the same layers/features but different geographical areas. What I am looking for is a ...
Balala's user avatar
  • 341
13 votes
3 answers
3k views

Is it possible to use memory layers in QGIS processing algorithms?

I am building a QGIS plugin that connects to a MySQL database in the local network, and then adds a subset of one of the tables to an in-memory layer; the subset is based on data currency (only taking ...
alphabetasoup's user avatar
12 votes
2 answers
9k views

How to format labels with leading zeroes?

I'm trying to display a number next to a symbol in QGIS 2.0.1 - The numbers are from an integer-field in a PostgreSQL database. The goal is that single digit numbers get a leading 0 (zeros). Examples: ...
tobias47n9e's user avatar
  • 1,231
12 votes
5 answers
24k 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.
tobias47n9e's user avatar
  • 1,231
12 votes
3 answers
5k views

Getting points-touching-a-line attributes back to lines layer using QGIS?

I'm using QGIS 2.14.4-Essen. I have two layers: points.shp that contains points with a YEAR column lines.shp that contains lines that exactly connect the points from points.shp I would like to get ...
wiltomap's user avatar
  • 2,690
12 votes
3 answers
13k views

QGIS 2.14 standalone GRASS provider missing Msys folder, can't execute tools

In QGIS 2.12 and down, when one went about manually setting the GRASS provider folder paths, this was the way to do it In GIS 2.14 there is no Msys folder in the same path (...\apps\msys) or any ...
HDunn's user avatar
  • 8,616
12 votes
1 answer
50k views

How to put North Arrow and Scale on map in COMPOSER in QGIS 2.2.0

I am new to QGIS and the questions asked and answered here about the North Arrow do not seem to help me solve my problem below. In the main mapping pane of QGIS 2.2.0 Valmiera, I can add the scale ...
user30413's user avatar
  • 121
12 votes
2 answers
4k 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? ...
Matthias Loeks's user avatar
12 votes
2 answers
3k views

Label Blocking in QGIS?

Does anyone know how the 'Blocking' label style in QGIS 2.16 works? I've got a polygon boundary layer and would like to keep any labels from overlapping the outline. I've turned blocking on for the ...
Galen's user avatar
  • 171
11 votes
1 answer
13k views

Displaying azimuth of line in QGIS [closed]

I have drawn a series of straight lines on a map joining different locations. The lines have a single vertex at each end. I am using the Ordnance Survey of Great Britain 1936 projection. I now want ...
Irvine's user avatar
  • 113
11 votes
2 answers
7k views

Loading composer from template and generating atlas using PyQGIS

I am trying to build a plugin to load a print composer from file, generate an atlas and export to image. So far I have been successful in loading the template and exporting it to image. I have been ...
Matt's user avatar
  • 2,706
11 votes
5 answers
16k views

Creating compressed GeoTIFF with QGIS Clipper tool?

I have a geo-tiff created by Pix4D which is about 375 Mb in file size. I have clipped it to a smaller area using Qgis 2.8(using Raster ‣ Extraction ‣ Clipper), and the output file is about 900 MB in ...
Devdatta Tengshe's user avatar
11 votes
1 answer
8k views

Calculating the length of the network lines inside polygon in QGIS 2.10.1

I am working with 2 datasets: delineations of the neighbourhoods traffic network. This is how they look: I would like to calculate the length of the roads per neighbourhood (polygon). As you may ...
B Sienkiewicz's user avatar
11 votes
1 answer
29k 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 ...
Lukas's user avatar
  • 111
11 votes
2 answers
9k views

Opening Raster stored in Esri Geodatabase using QGIS

Is there a way to open a raster that is stored in ESRI V10.0 Geodatabase in QGIS V2.4? I can open the vector layer, but there does not seems to be a way to open a raster.
Dan K's user avatar
  • 111
11 votes
3 answers
3k views

Connecting points (bus stops), which don't lie on lines (LINESTRING), to network?

I need to connect bus stops (points) to a network layer (OSM data). These bus stops do not lie directly on the lines (see screenshot) nor should their location be moved. I use PostGIS, pgrouting and ...
Setraworks's user avatar
11 votes
5 answers
5k views

How to place labels under a vector layer? [duplicate]

I want to place the labeling under a layer. In QGIS 2.2 apparently the label appears automatically at the top. Can someone help me. (see attachment) example:
user8839's user avatar
  • 603
11 votes
2 answers
2k views

Couldn't load plugin 'processing' on Windows 7 64bit

I installed QGIS (2.0.1-Dufour Dufour, d94c044) using both the stand alone installer and the OSgeo4w installer and seem to have an issue with the processing plugin. At first I thought that there was a ...
GuidoS's user avatar
  • 1,174
11 votes
0 answers
451 views

Multithreaded DB connection for QGIS plugin

I am using QGIS 2.18.21 and PostgreSQL 9.6. on a Windows 8 machine. I am trying to do processing of a certain database task in the background, and I want the user to be able to continue to work in ...
Lennert De Feyter's user avatar

1
2 3 4 5
33