QGIS is a cross-platform GIS application licensed under the GNU General Public License.

learn more… | top users | synonyms (1)

1
vote
1answer
20 views

QGIS Way to join based on different length keys fields?

In QGIS is there a way to join a .shp file to a table when the keys are different length (by ignoring part of one set of keys?) For example .shp file key col like this 1500000US120730002001 ...
1
vote
0answers
13 views

QGIS .shp joined to xlsx.vrt; Classify works, Rule-based does not

Very simple set up. Tiger .shp file as a layer. Has a join to an xlsx non geo attribute table as a .vrt .shp has join on MTFCC to MTFCC in xlsx.vrt. xlsx.vrt, has a string field with a brief label ...
1
vote
0answers
11 views

qgis 2.8.1 date filter gives incorrect selection results

I am running QGIS 2.8.1 on ubuntu 14.04 x64. I applied a date filter to a shapefile using the layer Properties_General "Query Builder" button. So the query was "LOCATION START DATE" >= ...
4
votes
0answers
30 views

QGIS Color text labels the same color as the feature [duplicate]

Using QGIS 2.12.1 on Ubuntu 14.04 Desktop. What I have is a layer where each feature is a different color. I also want to label each feature but I want the label colors to match the feature colors. I ...
2
votes
1answer
79 views

How to create automatic parking bays

I have to draw all the car park spaces for several streets, I am asking for some advise, how is the best way to draw all those car park spaces? and (of 5 meters) applying some restrictions (Ej. like ...
1
vote
1answer
50 views

Hide only certain borders in QGIS?

I have shapefile (the 48MB just below the table here) showing borders of different levels in administrative hierarchies (e.g. borders within communities, between communities, and between federal ...
2
votes
1answer
25 views

How to use a SLD file from the QGIS console?

How to apply a SLD file to a layer in QGIS from the QGIS console? I tried this but it didn't work: # selecting the layer layer = iface.activeLayer() # Apply SLD on the layer ...
4
votes
1answer
67 views

WMTS not loading in QGIS

I'm using QGIS 2.12 and trying to load the following WMTS layer http://geoappext.nrcan.gc.ca/arcgis/rest/services/BaseMaps/CBME_CBCE_HS_RO_3978/MapServer/WMTS/1.0.0/WMTSCapabilities.xml from ...
3
votes
2answers
70 views

Trying to use LIKE in an expression in pyQgis

I want to select elements from a layer. The field I use is a string/character field. My code is as follows: expr = QgsExpression(ur'"myField" = \'valueILookFor\'') it = ...
1
vote
0answers
22 views

Problem with OpenLayers plugin [duplicate]

I use QGIS in my daily work, but since a few months back I'm unable to do this due the OpenLayers plugin no longer being functional. When I try to load a background map nothing happen - the canvas ...
2
votes
0answers
31 views

QGIS 2.12.3 Crashes on buffering line vectors

I'm using QGIS 2.12.3 and I'm trying to create a buffer of 100 mt around a line vector using the Vector - Geoprocessing Buffer tool, but qgis crashes at every try. I've already checked that the RS of ...
2
votes
1answer
29 views

pyqgis - Editing a feature - Is it possible to set a listener?

is it possible to set a listener that is fired when a feature is edited? What I imagine is this: A geometry is edited (e.g. cut operation) then a listener is fired. This event gives me back the ...
2
votes
1answer
41 views

Why is QgsFeatureIterator returning bad data?

This is a spin-off of another question I asked previously, but it has grown in scope and deserves its own thread. While iterating over a vector layer (shapefile) I included the following ...
1
vote
0answers
28 views

Choosing CRS to use for South Africa that will give map scale in meters in QGIS?

This has been a constant source of frustration for me. I can't seem to always get my map scale in meters in QGIS, even if I use a CRS that has map units of meters, e.g. Alberts Equal Area and others. ...
2
votes
1answer
32 views

Plotting points conditionally using cluster number in qgis

I have a set of locations such that there are partitioned into five clusters, I used the categorized property under styles to differentiate points belonging to different clusters using different ...
5
votes
1answer
49 views

Shapefile projections not matching up in QGIS?

To start off with, I'm very new to QGIS. I'm attempting to place a shapefile with locations for 3 substations on a map of Peniche, Portugal. The locations for the substations are given in latitude and ...
1
vote
1answer
20 views

QGIS - Have spreadsheet with col from 0% to 100% plus null want 100 bin gradient plus one more for null

Newbie alert. Have a spreadsheet with no geo; has a col with values in there from 0% to 100%, plus several blanks/nulls. Ideally would like a 100 step (bin) gradient fill from 0 (100% black) to 100 ...
2
votes
1answer
46 views

Adding new columns from other shapefiles - Land use density

New here but I've been following the stack exchange for a while to get many answers on my newbie journey in GIS. I'm trying to find out how to merge different point in polygon classes by column. ...
2
votes
1answer
30 views

Is it possible to change the default “symbol template” for layers added to QGIS?

Can QGIS be configured so that the fill symbols of layers added to the map automatically have a transparent border? I'm calling it a "symbol template" because I don't know what that's called in ...
1
vote
1answer
28 views

How to make colour tables in QGIS to use in multiple projects?

I would like to know how to make a colour table that can be saved and used across many projects. I am using this to colour rock types, for example: Rock one=blue Rock two= yellow Rock three= red etc. ...
1
vote
1answer
48 views

QGIS Processing Script will not Validate

I am writing a script for QGIS that will identify the perimeter of only external facing walls. The script is probably a little long to post directly into this post, but it is accessible here. The ...
2
votes
2answers
47 views

Split Vector Points/Polygons by Vector Grid and assign to relevant grid

I have 3 vector shapefiles (1: Point, 2: polygon, 3: vector grid) that I would like to combine so that the points and polygons are 'assigned' to the relevant grid cell within which they are contained, ...
1
vote
0answers
32 views

How to automate the QGIS Raster Interpolation Plugin using python console?

I have a rainfall data from 1961 to 2015 for each day of this years. I need to create a raster for each day with this configuration. Do you know how to automate this using this plugin and python?
4
votes
1answer
62 views

How to get r.drain to run in QGIS/GRASS?

I use the GRASS GIS extensions for QGIS (QGIS version 2.12.3 with GRASS 6.4) and I have a problem with the r.drain algorithm: I simply cannot make it work with a given starting point as a vector ...
3
votes
2answers
138 views

latitude/longitude to linestring or points

I have a gps file that I have converted to csv, I would like to convert a longitude/latitude to linestring if the next row have a diferent longitude/latitude (if the car mooved) and if not convert it ...
5
votes
1answer
85 views

Merging .asc files = “The command line is too long”

Having problems merging LiDAR .asc folder files to produce a single GeoTiff file. I have followed various instructions e.g. the 2 methods of selecting input files for merging .asc files using ...
1
vote
1answer
39 views

How to write a string based rule, e.g. If “Name” contains 'NRG'

I have created a field called 'Name' in QGIS and I wish to create a rule-based style for a gridded vector. The grids are either 'NEP1' or 'NEP1NRG' etc. with values to 5000+. I want a rule to colour ...
1
vote
0answers
31 views

How to iterate through attribute visibility with PyQGIS?

I have a point shapefile with a timestamp that I would like to turn off and turn back on 1 by 1 with a new element of the attribute table appearing every second
1
vote
1answer
61 views

What's the best linux distro for QGIS? [closed]

What is the best linux distro for using QGIS? By best I mean: Easy to install latest version with all plugins. Includes QGIS map server and instructions for getting it running. Is easily updated to ...
4
votes
1answer
71 views

What is XYR in QGIS?

I am familiar with XY, XYZ, and XYZM, features but I created a spatial layer in PostgreSQL and added it to my QGIS. When I opened the Vertex Editor it showed me values for XYR and I am not familiar ...
4
votes
2answers
70 views

SLD styling in QGIS, elsefilter not working

I need to figure out how to make elsefilter work when imported into QGIS (2.8.3) via sld. <?xml version="1.0" encoding="UTF-8"?> <StyledLayerDescriptor xmlns="http://www.opengis.net/sld" ...
1
vote
0answers
52 views

QGIS not showing attribute updates

I have a feeling I know the answer to this but want to make sure before I start redoing all the work. I've recently started using QGIS to help with mapping of an estate. Last week a created a new ...
4
votes
0answers
51 views

QGIS Profile Tool shows no profile

I have installed and followed the process to produce an elevation profile from the Route Profile plug-in in QGIS, but for some reason I am getting no profile to appear. The grids are from OS ...
2
votes
1answer
44 views

IPython plugin not loading in QGIS 2.12

I am trying to run the IPython console plugin in QGIS 2.12 After installing the plugin there is this error: You need to install IPython 3.1.0 (and then restart QGIS) before running this ...
5
votes
2answers
118 views

Upgrading from Qgis 2.4 to 2.12 on Ubuntu 15.04

This should be a simple question. On Ubuntu 15.04 how can I get Qgis upgraded from 2.4 to 2.12?
3
votes
1answer
45 views

in QGIS how to add (join?) another table to a layer

Very new so bear with me. I have QGIS loaded with a TIGER/Line Shapefile at the Block level for a County, and need to join other detailed CENSUS data various tables (which also have a Block ID to ...
1
vote
1answer
31 views

rendering a single band raster - new maxvalue

I have a downloaded raster file, singlebandgray, and want to redefine it's maximum value to a higher integer value. Via the QGIS desktop it works smoothly by hand via the Properties. Via Python I was ...
2
votes
0answers
33 views

How can I convert a shapefile from a single line segment to separate side segments using PostGIS?

I have a shapefile (STC) which is a single line segment per street with information for both the odd and even sides of the street. This .shp file has to be converted to separate side segments. To do ...
2
votes
1answer
39 views

Actions undertaken in QGIS somewhere stored as Python code in a history file?

For practioners that are not willing to study all the methods for each class, it would be helpful if every action that was made within the QGIS interface can be looked up afterwards in a history file ...
2
votes
0answers
46 views

How to Georeference in QGIS 2.12.1 Lyon

I used to be able to Georeference in QGIS but now I can't. These are the steps I go through. At the end of it nothing happens. No layer is added to my Layers Panel and no document is created in the ...
1
vote
0answers
35 views

Is there any official OSM WMTS service?

The Geospatial Information Authority of Japan (GSI) started to provide national tiled maps in 2012. Initially we could not use the tiled maps with GDAL TMS minidriver because the tile URL naming ...
1
vote
0answers
18 views

Sampling within an area and creating table Qgis [closed]

What I am wanting to do is import two point files, one harvest data, another soil sample results. Once I have them I want to create a buffer area around the sample point (75ft) and determine the ...
6
votes
2answers
157 views

How to speed up this script in QGIS?

I am a new in PyQGIS, I want to create a Point layer from a raster layer. In table of point layer created, there is 3 fields by name of "X_coord", "Y_coord" and "Azimuth", each point in Point layer ...
3
votes
1answer
32 views

How to combine 2 vector shapes created from raster files

In Qgis 2.12 Lyon, using windows 10 I downloaded 2 raster files from an area of my interest. The rasters were on information about precipitation and evapotranspiration. Each cell had a value. I ...
3
votes
0answers
56 views

Python script to automate saving satellite images for different combinations of lat longs

PS. : This is my first try at a GIS application. Please forgive if my question is pedantic. I would like to get a series of satellite images all at the same scale centered around different points on ...
1
vote
0answers
31 views

QGIS polygonize tool not working [closed]

I am having a problem using QGIS ver 2.10.1 Pisa. I am trying to use the polygonize function on a raster .tif image, and it runs, but only produces a thin sliver of polygons at the top, then stops ...
1
vote
0answers
33 views

Generating continuous aspect surfaces from DEM with QGIS

I'm trying to extract aspect surfaces from different DEM sources at different resolutions in QGIS. I've had success working with SRTM-derived grids (3-arcseconds) and am trying to perform the same ...
1
vote
0answers
56 views

Discovering highest point in area using QGIS?

I'll preface by saying I've never used or even heard of GIS software previously, so I'm sorry for being very clueless. My goal is to find the highest point in Highgate (in London, England). I have ...
2
votes
1answer
67 views

Image in wrong location in qgis2web

I'm using the qgis2web plugin to display a Landsat image and some agricultural fields. Both raster and vector data are in EPSG:4326. In the QGIS canvas, the vector and raster line up (left side of the ...
4
votes
0answers
31 views

Custom forms feature in QGIS: QMessageBox.warning closes QDialog as well

I am attempting to work with custom forms in QGIS. I have included a validate function in my code that will pop a QMessageBox() if the validation fails. My problem is that when I close the QMessageBox ...