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

learn more… | top users | synonyms (1)

3
votes
2answers
150 views

How to add a legend to a canvas in a standalone PyQGIS application?

I am trying to develop a standalone PyQGIS application. The map display does not pose any problems, but I do not know how to add a legend to the canvas.
3
votes
1answer
127 views

How to clip a single layer of overlapping polygons in QGIS

I have a single layer of polygons. Some of the polygons overlap. I wish to make a new layer of just the parts of the polygons that overlap. What is the best way to do this in QGIS seeing it's ...
3
votes
1answer
1k views

How to install LAS tools in Processing for QGIS 2.4?

Does anyone know were the processing menu moved in QGIS 2.4? Specifically I am trying to install the Lastools box for QGIS following these instructions. ...
3
votes
2answers
852 views

Is it possible to give 2d contours a Z-height from their attribute table in QGIS? (Or ArcGIS?)

I have a contour data file downloaded from UK Ordnance Survey, which gives 2d contours of an area in gml format (also supplied in .shp format) with the heights of each contour attached to the ...
3
votes
2answers
519 views

Georeference vector linework

I'm new to GIS and a lot of searching didn't answer my specific question so far, so I hope someone can help me here. What I want to do is creating a small web application to visualize election ...
3
votes
0answers
269 views

PyQGIS joining a dbf to a shapefile [duplicate]

I am trying to join a shp and dbf file using the PyQGIS API. The code I'll use is below: from PyQt4.QtCore import * vector1 = QgsVectorLayer("path to dbf file", "test1", "ogr") id1 = vector1.id() ...
3
votes
2answers
436 views

How can I turn islands into individual features in QGIS?

I have what seems like a pretty straightforward task in QGIS: I have a shapefile that, in some cases, groups multiple separate landmasses into a single feature. For example, the Hawaiian islands are ...
3
votes
3answers
16k views

How to convert x y coordinates to longitude latitude using QuantumGIS?

I'm working with this downloadable shapefile that has X Y coordinates. They are akin to '3672187.92698000, 534175.72095400'. I would like to convert them to longitude latitude so they are more like ...
3
votes
1answer
3k views

How to manually edit point coordinates in QGIS?

Is there a tool for shapefiles or a QGIS plugin available, which will enable me to edit the coords of a point manually ? ("tool" -f1 "Tsunami Gauge"-move x1.abcdef -to x2.ghijkl) I do have ...
3
votes
1answer
795 views

Handle add new feature event and/or access feature before commit?

Is it possible with PyQGIS to catch "add new feature" event before commiting changes on the layer? or at least to access new features before commit.
2
votes
2answers
178 views

Do I need to remove older versions of QGIS?

I have installed up to 2.6.1 of QGIS on my computer. Is it recommended that i remove all older versions? Will it cause conflict if they remain?
2
votes
3answers
476 views

Draw line between points from multiple datasets

I have 2 point datasets and want a tool or script to draw a line between all points in one dataset to all the points in the 2nd dataset. Is it possible? I have tried ESRI "Point Distance" and ...
2
votes
1answer
247 views

How do I access QGIS program settings programmatically?

I am trying to temporarily enable the option in QGIS using PyQt4 to suppress the attribute dialog popup after a feature is added. I found an example in the cookbook but it doesn't indicate how to get ...
2
votes
1answer
181 views

Split polygon into lines

I have a polygon layer which looks like this . I used the QGIS multiparts to singleparts tool and also polygon to lines. In both cases i got this type of result . I want to extract polygon into ...
2
votes
2answers
3k views

How to draw bar diagrams on the map?

I need to draw simple histograms in QGIS version 1.8 linked to data from an imported DB. I need a double bar diagrams (eg: male/female - in/out) but I only find the possibility to set pie charts. Is ...
2
votes
1answer
2k views

How to find the watershed area for each point in the river network using DEM?

Update#1: Thanks, Micha, I have followed your instruction and successfully use the modules in GRASS. I use r.watershed to get the basin raster and the drainage line: and I use r.water.outlet to get ...
2
votes
1answer
1k views

How to apply a graduated renderer in pyQGIS?

Just trying to run the following code already given in the pyqgis cookbook to create graduated colors symbology (as in example with 2 classes) I define the source info for the shapefile but when I ...
2
votes
1answer
2k views

Is it possible to place a point at a coordinate in QGIS?

Is it possible to place a point at a coordinate in qgis? I have a map, using irish grid reference and wish to place a point at an exact 6 digit coordinate. Is it possible to do it. Previous to this ...
2
votes
1answer
741 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
1k views

encoding problem with QGIS 1.8 and CSV import

I have following problem with QGIS 1.8. Lisboa (standalone installer, Win 7 Pro 64bit) - I import CSV - text in CP1250 separated with ";" and using "," as decimal separator. I correctly set the ...
2
votes
1answer
1k views

How to create a grid constrained within a polygon in QGIS?

In QGIS I have created an irregularly shaped polygon. I can create a grid based on the maximum extents of the polygon via Vector>Research Tools>Vector Grid. However, what if I need the grid to ...
2
votes
2answers
493 views

Which labelling tool/engine in QGIS will be supported in the long term?

Why does QGIS appear to have two labelling tools? (Note this is not new and old symbology, but that...) there are two different GUIs, one in the toolbar (which gives the Data Defined Settings option) ...
1
vote
1answer
159 views

What is the purpose of some functions and files in QGIS Python plugins?

I'm just trying to understand the architecture of a QGIS Plugin created with the QGIS Plugin Builder, as well as the workflow and the linkage among generated files. If possible, I'd prefer a diagram. ...
1
vote
1answer
156 views

How to use the MMQGIS plugin through the Python console?

I know how to make Hub Lines using the GUI, I want to know how to do the same using the Python Console, a tutorial would be great. Thank you
1
vote
1answer
439 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
2answers
675 views

Does QGIS attribute edit form support “relationship” data?

Consider I have a geometry table having one-to-many relationship with a no-geometry table. When I create a feature (geometry), I would like to be able to add the relative no-geometry table data in the ...
1
vote
1answer
199 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: ...
1
vote
3answers
1k views

export 3D data dxf file

I'm trying to export a DXF file from Qgis1.8.0 Lisboa and can not have a 3Dfile in Autocad! Or micristation. It results always in 2D file. How can I export height data from a shape file in Qgis? ...
1
vote
1answer
406 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
0answers
567 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
1answer
5k 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? Thanks in advance
19
votes
3answers
6k views

Optimal video cards for GIS programs

I recently purchased a Dell XPS-8300 (i7-2600|16 GB DDR3 RAM|64-bit Windows7) which I intend to use primarily for GIS programs. I bought a refurbished model because it was much cheaper and because I ...
12
votes
2answers
543 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 : ...
9
votes
1answer
408 views

How to auto-generate map images with different styles in QGIS?

I have got a simple map in QGIS, containing only 1 layer which consists of 10+ features. Now I need to (programmatically) generate about 200 different JPEG map images of the same area. Each map should ...
8
votes
1answer
351 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
2answers
330 views

How to create vertical labels in QGIS?

How to create vertical labels (each label in new line) like: 1998 150 pipe name and not horizontal: 1998 150 pipe name
8
votes
3answers
1k views

calculate area of vegetations in a raster file

How do I calculate area of several vegetation types in a raster (.img file type) image. They are color coded. Am using QGIS (1.8.0) and ERDAS 9.2.
8
votes
2answers
873 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
1answer
440 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 ...
7
votes
2answers
687 views

Using ArcGIS and QGIS together in multi-user editing environment?

We have a GIS staff of 7, and another group of about 14 who "use GIS" from time to time. We really, really want multi-user editing. Mostly of a large point file, and we're almost never in the same ...
7
votes
2answers
735 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
421 views

Is there an open source alternative to ArcGIS for Desktop's Integrate tool?

I need to snap about 1000 lines in one layer to the lines in another layer (there are about 5000 lines in the second layer). The lines to be snapped are about 15 map units away from the base layer ...
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
868 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
2answers
4k views

Calculate area of intersecting polygons in QGIS

I have two collections of shapefiles: 1 - postal codes, administrative and political areas 2 - various land use categories like parks & allotments, and points like trees I want to produce ...
7
votes
5answers
16k 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
1answer
5k 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
2answers
7k 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
5answers
16k views

How to break single polygon into multiple polygons using ArcGIS Desktop or QGIS?

I created voronoi polygons after which I dissolved them on the basis of one attribute. Now there are cases where in for one single attribute "abc" I have3 polygons at different places with same object ...
7
votes
3answers
6k 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?