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

learn more… | top users | synonyms

2
votes
1answer
1k views

QGIS identify features button issue

Is there anyway to get the Identify Features button in QGIS to automatically select a layer and provide the information without having to highlight it first in the layers TOC? MapInfo and ArcGIS ...
2
votes
1answer
106 views

How to define map extents based on a feature's geometry?

There is a polygon geometry in my QGIS project which represents the extents of my map. Does anybody know how to use the data defined override to get the X/Y min and X/Y max coordinates of the polygon ...
1
vote
1answer
462 views

Find closest point from origin in QGIS and display measure line in composer

I have a location point. there are several constraints areas surrounding the point. Is there a way to calculate the closest point of this constraint from my point and to display the distances as a ...
1
vote
1answer
1k views

How to add the attributes of selected features to my new layer in pyqgis

I am trying to create a layer from the selected points coordinates. I am drawing a circle to the coordinate of selected points. I also need to add initial attributes of my selected features to my new ...
1
vote
3answers
963 views

How to access user credentials in database connection?

I am trying to automate a couple of things when a QGIS plugin is activated: If Layer A is not in the TOC, add it. This requests username and password to access a PostGIS table using the inbuilt ...
1
vote
1answer
239 views

How to set the path to shapely?

I am using QGIS 1.8.0 on Mac OS 10.8.3 with python 2.7. Thanks to other threads in the forum, I have successfully installed shapely here: /Library/Frameworks/Python.framework/Versions/2.7/lib/...
1
vote
1answer
10k views

Opening TIFF DEMs in QGIS

I have files, in Tiff format, downloaded from ASTER-GDEM. Can I open this file with QGIS? If yes, how?
1
vote
0answers
850 views

Why is my .csvt not recognized? [closed]

I am trying to associate a .csvt file with a .csv file, so QGIS doesn't insist on calling all the fields text strings (thereby preventing the use of graduated symbols). I used the syntax described by ...
1
vote
2answers
275 views

Open mail client when clicking feature in Attribute Table

One of the attributes/features of my layer contains an email address. I'd like to be able to open the default mail client by clicking on the mail address from the Attribute Table. After some initial ...
18
votes
0answers
198 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 ...
13
votes
4answers
317 views

How to create lines to visualize differences between polygon features in PostGIS?

I've a PostGIS table polygon_b with some polygon features. There is also a table polygon_a which contains the same polygons as polygon_b but with minor changes. Now I want to create lines to visualize ...
12
votes
1answer
16k views

How to enable “snapping” in Quantum-GIS while drawing polygons?

I tried to draw polygons in qgis-1.7.0 and I somehow can't find or failed to find the "snapping" option. I'm used to ArcGIS-10.0 where you have some snapping options, like placing points of polygons ...
12
votes
2answers
604 views

How to clean such a bad shapefile for routing ?

I am trying to clean a shapefile to make it usable for routing with pgrouting, postgis, postgresql. Here an intersection, it seems to be connected but when we zoom …. It is not: Same here : ...
11
votes
4answers
481 views

How to avoid labeling features if overlapped by another layer?

With QGIS 2.12.2, how can I set up layer labeling to avoid placing labels where features from another layer already exist? For example, if I have a stream/river polyline layer that contains lake "...
10
votes
1answer
11k views

Draw lines from points in QGIS

(I found here similar questions but they all reffer to ESRI's programs, and I use QGIS) I have a point layer and need to draw a line passing through or in the vicinity of the points (up to 0.5m ...
9
votes
5answers
5k views

How to modify single Pixel values in QGIS?

I would like to modify a raster (pixel values) in QGIS. The plugins "value tools" can easily provide me with the value of the pixel of my raster. However I don't know how to modify it. I have found ...
9
votes
1answer
539 views

Calculating spatial correlation between features from two separate layers in QGIS

I am trying to determine whether the presence of large numbers of active duty military troops in an area is spatially correlated with higher/lower levels of violent crime. That is, are the areas ...
9
votes
2answers
352 views

How to make Great Circle Arcs which look good on a Web Mercator map?

I'm trying to create a map, with data indicating some flights, and want to use Great Circle Arcs, to connect the source and destinations. Basically, I want to do something similar to the famous ...
9
votes
1answer
1k views

How to create a customizabe table in QGIS Print Composer?

I would like to add a custom table to a map layout created in QGIS. I would like a fair bit of control over the look of the table (borders, background colours of the cells, etc.), and it appears that ...
9
votes
3answers
14k views

How to give multiple colors to features within a single shapefile?

I want to give multiple colors to different features within a shapefile based on attribute values , is this possible in QGIS ? If yes what is the procedure ? Is there a way to provide color by means ...
9
votes
2answers
4k views

How to remove the border of a symbol?

I have a point layer in QGIS. I have created a graduated color scheme, but it doesn't look good because the border of all the symbols is showing and are overlapping (so you hardly see the color of the ...
8
votes
4answers
5k views

How to create different diameter circles round points?

I want to map a tree survey. I am thinking that I will plot positional points of the trees and then add other data like tree type etc. to the attribute table later. Is there a way I can have an ...
8
votes
1answer
475 views

What version of SVG should I be saving my images with for QGIS? Any particular options I should use/avoid?

I have a illustration in Adobe Illustrator that I'm trying to export as an SVG file and add to my map layout using the Print Composer of QGIS 1.7.3. When I add the image, I get strange artifacts that ...
8
votes
1answer
1k views

Is the use of Google Earth imagery via the OpenLayers Plugin in QGIS legal?

I understand the terms and conditions WRT use of Google Earth imagery in external applications are strict. Years ago ArcBruTile offered such service in ArcGIS the legallity of which was ...
8
votes
1answer
473 views

Where is this raster offset being introduced in the QGIS processing toolbox?

I'm using the (awesome!) processing toolbox in QGIS 2.0 to reclassify some NoData values in a raster from -9999 to 0, but at some point in the process there's an offset of about 0.2 degrees being ...
8
votes
4answers
1k views

Can QGIS Read Spatialite Views?

I have a spatialite database I created that spans several years of crime data. To facilitate a real-world scenario where I may simplify the interaction for a user by introducing a View that simply ...
8
votes
2answers
1k views

How to split lines into equal segments with QGIS?

I'm attempting to split a curved (wiggle) line into equal length segments. Have used Grass's v.split which works to a degree but does not provide the output I'm after. v.split will extract segmented ...
7
votes
2answers
2k views

How do I use QGIS python console to iterate through simple layer queries and png outputs?

I'm really new to QGIS coding and I'm having a hard time finding (especially) the api classes/functions to carry out actions of the Query Builder window. I'm basically trying to do this: Iterate ...
7
votes
2answers
1k views

How to get correct area calculation using Google Mercator?

i use QGIS with openlayers-plugin and i´ve loaded google satellite as a layer. what i want to do is making a shape-layer (polygon) with the goal to get the area values of the polygons. i´ve activated ...
7
votes
3answers
1k views

How to extract mountain peak points from a given digital elevation model?

For past couple of days, i m trying to determine how many mountain peaks are visible (line of sight) from a given location using POSTGIS. The data i have is DEM for Swiss and address locations from ...
7
votes
5answers
17k views

How to install Openlayers plugin on Qgis 1.8?

After having installed Qgis 1.8 i am not able to find the Openlayer Plugin. In "the old days" I know I was supposed to check "add 3rd party repositories", but that button has disappeared? I tried ...
7
votes
2answers
4k views

How to split an irregular polygon into equal areas?

I am a surveyor and use QGIS for maintaining soil test records on civil projects and am constantly provided with test lot area or number of lots required. These are more often than not irregular in ...
7
votes
2answers
4k views

How to compare two DEMs and show their difference?

I want to compare my DEMs (ASTER GDEM2 and SRTM4.1). I know, that the GDEM has some extreme "holes" with totaly wrong elevations (I found 3 of them in my working area). Now I need to know, if there ...
7
votes
1answer
5k views

qgis to local postgis connection - fails

It seems pretty clear I cannot connect to a local postgresql installation out of QGIS. This is my first experience with PostGIS. I am using PostgreSQL 9.0 on a win7 machine. I can see the successful ...
7
votes
1answer
8k views

Import polylines and polygons into QGIS from CSV

I'm assuming this is a simple question, though my efforts have not yet found the answer! I want to import a large number of polylines and/ or polygons into one one or more QGIS layers in order to ...
7
votes
3answers
237 views

mapping over a million points using QGIS

I'm trying to map a CSV with over a million lat/lon points in the US with no metadata. I've never tried to map this much data and want to know what steps I should take. I know it's too much data for ...
7
votes
3answers
3k views

How to create a user map from CSV?

I dont even know if QGIS is the right program for what I need.. What I need: I need a program with maps(Denmark to be specific), that I could feed with a database of users through a CSV file.. e.g. ...
7
votes
1answer
5k views

Distinction between Difference and Clip tools in QGIS?

What is the primary distinction between the Difference and Clip geoprocessing tools in QGIS?
7
votes
2answers
12k views

How to draw a Circle with a set radius?

I have a site and want to draw an indicative line in a 5km buffer around the centre of the site. So I want to draw a circle with a radius of 5km. I have a tool for drawing circles and ellipses and ...
7
votes
2answers
3k views

Can QGIS preserve layers when exporting a PDF? [duplicate]

I saw this posted about a year ago (Can QGIS preserve layers when exporting to PDF?) but figured it was worth asking again -- is this possible? My usual workflow with ArcGIS is to export to AI then ...
7
votes
3answers
9k views

How to add Raster legends in QGIS map composer?

Is there a plugin or method to add legends for raster layers (with a custom colourmap) as an item in the print composer?
7
votes
2answers
10k views

How to create a lat/lon grid in QGIS?

I'm using QGIS. How can I create a shapefile consisting of a grid 0.5° latitude and 1° longitude in size?
6
votes
2answers
574 views

How to generate discrete areas from multiple, overlapping features?

I have a point dataset that I want to append some information from a polygon to. My polygon shapefile contains over 500 features. Whilst each of these features represents individual areas they are ...
6
votes
1answer
1k views

Altering composer label items in QGIS with Python

I'm only new to QGIS and Python so this may exists already, and hopefully be easy to do. What I'm hoping to do sometime in the future is build a map book generator using QGIS as the base. In order ...
6
votes
4answers
18k views

QGis: Merge intersecting polygons into one which are part of the same feature

I'm not a GIS professional so I hope I use the correct wording, at least I hope you understand my question. Let's say there are 5 polygons in the feature A. In the shape file there are more features....
6
votes
1answer
3k 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 ...
6
votes
2answers
157 views

Is there a way to assign row number for sorted table by column in QGIS?

Field calculator has a great function under "Records" called "$rownum" which returns (assigns) the number of the current row. Is there a way to make it work together with sorting? Lets say I want to ...
6
votes
3answers
5k views

What is XYZ format in QGIS?

Basic question, but I have been asked to export data to an XYZ format. Is this the same as CSV files. I am using QGIS 1.8.0. So i am presuming i select the data I want to export, right click its ...
6
votes
2answers
1k views

How to digitize building footprints with orthogonal edges?

Using QGIS, I am trying to digitize an old raster map, and because I ultimately want to load these 2d layers into sketch-up to turn into 3D models, I need everything to be square. Here's a sample of ...
6
votes
1answer
548 views

Simulate (Mock) GPS Tracks

I have the following scenario: 1) I need to create GPX files for use in testing of a mobile device. 2) The tracks to be described within will span large distances over long time periods (i.e. it's ...