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

learn more… | top users | synonyms (1)

9
votes
4answers
8k views

How to calculate raster statistics for polygons?

how can I calculate sums, averages etc of raster-points (multi-band) per polygon of a vector-layer. I was told that this is called "zonal statistics". I tried that with QGIS first. There is a way to ...
6
votes
2answers
3k views

Adding a hotlink to an attribute field in QGIS

How to add hotlink to QGIS? I saw this but had some problem. I want to open network location like \\fileserver\filefolder\file1.excel but it ends with error. Edit: The network location is stored ...
2
votes
1answer
1k views

How to produce multiple maps with same layout for different layers' extents?

I have an area which is divided into several zones the borders of which I have defined as separate layers. The layers are defined by sql queries on a postgis table of line segments joined with a ...
10
votes
2answers
3k views

How to get FGDB support in GDAL 1.9 without compiling?

I was hoping that I could use the 'master' (nightly-build) version of QGIS to get fgdb support without compiliing (I'm not a developer and frankly have wasted days of productive time trying to get ...
8
votes
3answers
428 views

Calculating all distances from single points to multiple polygons

I have two layers: a point layer defining properties (95 objects), and a polygon layer defining plots of land associated with the properties (211 objects). Each point relates to one or more polygons. ...
8
votes
2answers
1k views

Are there any tools / plugins to develop mapbooks using QGIS?

Are there any tools / plugins to develop mapbooks using QGIS?
5
votes
3answers
11k views

How to Merge/Dissolve Polygons By Common Attribute Field in QGIS?

I have joined corresponding Local Enterprise Partnerships table data into a polygon shape file containing UK Local Authorities. How do I Dissolve or Merge the the Local Authorities polygons by ...
5
votes
2answers
894 views

QGIS affine - form of equation

I am at the mercy of a govt authority who have provided utility information in a cad format with a 0,0 origin and a nonsense grid. About a dozen files, the grid and origin are entirely arbitrary. To ...
4
votes
1answer
2k views

Using in-memory vector layer with QGIS processing / SEXTANTE

I'm trying to run the qgis:clip algorithm from console, but am getting an error when using an in-memory layer as the overlay parameter. Is this to be expected, or am I doing something wrong? Code: ...
4
votes
1answer
611 views

Is it possible to programmatically add calculated fields?

In the Memory provider described in PyQGIS Cookbook or in question How to create a new empty vector layer programmatically? I can see how to create a vector layer programmatically using standard ...
4
votes
1answer
1k views

Get a pixel value

How can i do this operation: I want to get a pixel value fro the satellite image (Landat, GeoTIFF, 7 bands) using qgis-python. What operators should i use? (for example in qgis's Python Console) ...
3
votes
1answer
1k views

Joining table to shapefile with pyQGIS

Joining shapefiles is a relatively straightforward proess in QGIS using 'add vector join' in the layer properties menu. I can add a csv file as a vector layer, as well as a shapefile, and join the two ...
3
votes
2answers
2k views

Batch Dissolve Polygons based on Attributes in QGIS or FWTools

I was wondering if anyone can help with batching a dissolve. I have a few hundred polygon shapefiles that I want to dissolve based on an attribute. I would like to do this in QGIS or FWTools. Any ...
2
votes
1answer
166 views

Export several files at the same time in QGIS

I have a lot of .TAB files open in QGIS and I want to save them to .SHP so I can work with them in ArcMap. Is there a way to save/export all these files at the same time or do I really have to "save ...
12
votes
5answers
4k views

Get Raster Values from a Polygon Overlay in Opensource GIS Solutions

I have two layers. A polygon-shape-layer with many tiles and a raster-layer containing CORINE 2006 land cover with many categories in a colourmap. I want to obtain for each polygon in the shapelayer a ...
12
votes
3answers
8k views

How to move vectors to specified coordinates in QGIS?

I have a layer of vectors located around, say, (100, 100), and I want to move them to new coordinate like (1000, 1000). How should I do it? Preferably using QGIS.
11
votes
2answers
5k views

Is it possible to create Thiessen polygons around nodes in QGIS?

Is it possible to create Thiessen polygons around nodes in QGIS? e.g. http://en.wikipedia.org/wiki/Voronoi_diagram
8
votes
3answers
7k views

How to access QGIS Plugin Repositories from behind a proxy?

I have been trying to teach myself QGIS by using this forum and others to help. Most of my questions can be answered by downloading plugins that are available through 3rd party repositories but for ...
6
votes
2answers
3k views

How to get point attribute from polygon layer?

I have two layer, one (A) has point features and the other (B) has polygons. I need to produce a new table with some (the ID) or all the fields from the A table and some (the area code) or all from ...
6
votes
1answer
1k views

How to create a style file for QGIS from a plain text file?

Using QGIS 1.7. I have a plain text file, which lists 115 rgb values against a map code for a geological map. Viz.: $ head gsv1Msymbology.txt MAPCODE RED GREEN BLUE Oc 143 255 255 WAT 255 255 255 ...
5
votes
2answers
2k views

How to link to external files with relative path in QGIS actions?

Objective: I have point layers with attributes contain paths to external files (visio, autocad dwg...). I want to put them all in one folder together with the project file, compress the folder into a ...
4
votes
2answers
2k views

How do I split polygons into line segments?

How can I split my polygon file into "segements"? The lines should be broken up like this picture shows:
2
votes
2answers
5k views

How to add csv file in QGIS 2.0 using Delimited Text Layer Plugin?

I used to import csv files in previous versions of QGIS using the format below, but when I upgraded to QGIS 2.0 the delimited text layer plugin was changed and I can't import the file anymore. The ...
2
votes
1answer
2k views

QGIS Python version

I have brewed python 2.7.3 onto my Mac (Lion), and installed shapely via pip install shapely. The Polygonizer plugin, however, does not find the shapely library. I see when QGIS loads a Python ...
1
vote
1answer
270 views

How to activate GRASS GIS 7 plugin in QGIS 2.8?

Apparently, my linux ubuntu setup of QGIS doesn't contain grass gis, although when I initially installed it last week I added grass gis to the command line. Anyway, I typed in once again and installed ...
0
votes
1answer
2k views

Create a hyperlink to a pdf file in the attribute table [duplicate]

I want to add a hyperlink to a pdf file into the attribute table of a vector layer. I already read the documentation about evis and the answered questions about this here. It didn't seem difficult, ...
15
votes
1answer
2k views

Can QGIS preserve layers when exporting to PDF?

In ArcMap, when you export data to PDF it preserves the layering within the PDF so that you can turn on/off individual map layers (within the PDF itself). When I export from QGIS to PDF, I don't ...
11
votes
5answers
3k views

How to identify duplicate attributes in a field?

I have a point shapefile with thousand of points. It has an ID code field that supposed to be unique. Every now and then the data entry clerk wrongly type the id creating duplicates.Right now I'm ...
7
votes
2answers
5k views

How to move labels in QGIS?

I'm trying to manually move labels but having some trouble. I'm trying to move the labels while in edit mode. I've added fields for x coordinate (all null), y coordinate (all null), rotation (all =0), ...
6
votes
1answer
961 views

How to calculate te area between contour lines on a DEM with QGIS 1.8?

Does anyone know how to calculate the area in km² for each altitudinal band (between 100 and 200, 200 and 300...) based on a DEM? I added the contour lines with a distance of 100 metres but could not ...
6
votes
1answer
635 views

Where are the Expression-based Labeling options in QGIS?

I have imported a layer into my map to show the location of towns/cities. However I had to set graduated styling so that only cities over a certain population show. I now want to label the ones that ...
6
votes
2answers
2k views

Raster generalization - buffers in rasters, expand pixels?

Is it possible to create buffers for pixels of raster files? Actually I need to expand the pixels classified as 1 (in white in the figure) with a spatial range of 1 or 2 pixels, in order to perform ...
5
votes
3answers
519 views

How to visually sort the order of Points with QGIS, GDAL, …?

The following Points layer is the basis of a rendering in a Android application. Android allows to draw a shape from the provided points. I cannot use LineStrings. However, the order of points ...
5
votes
4answers
3k views

Quantum GIS and ECW images?

How might I enable Quantum GIS to read ECW imagery? At the moment I'm mostly concerned about this on Ubuntu 10.4 amd64, but I also use WinXP & Win7.
4
votes
2answers
576 views

Setting rendering order of line layers in QGIS

I have a dataset where different road types are in separate layers, i.e. motorways, primary roads and secondary roads. In turn, each layer is subdivided by embedded codes into different sub-types - 4 ...
3
votes
1answer
63 views

Exploding features based on numerical field in QGIS?

I have a set of data as polygons, each with a Number field with value X. Is there then a way to copy this into X number of polys at the same location? (ideally points distributed across the poly but ...
3
votes
2answers
122 views

CRS reprojection

I am trying to change the CRS of one shapefile that is originally in NAD27 to WGS84 in Qgis 2.6. When I proceed to make the change, I still continue to see the file in UTM coordinates... I've tried to ...
3
votes
3answers
164 views

Spatial join without operation on the variable of interest

I have a simple problem: I've got to spatially join records of an epidemic in forests to some plot coordinates I have gathered. Problem is, I cannot obtain the records for each year on each plot, I ...
3
votes
2answers
216 views

How to Make an Outside Buffer in QGIS?

I have a layer of street segments that are within a given distance of a fire station. Now I want to make a border around these street segments. If I use Buffer, it puts a buffer around each segment. ...
3
votes
1answer
800 views

QGIS says “osgeo [python-gdal]” isn't installed on Mac

I know similar questions have been asked (like this one) -- but I'm encountering a unique problem. I installed GDAL complete 1.11 from KyngChaos, but when I open QGIS, I get the following error ...
3
votes
3answers
2k views

QGIS 2 Python error on Mac OSX

Have just installed newly released QGIS 2.0. I installed the gdal package available at the official kyngchaos site. It seems to run ok, but when the program loads up I get a lengthy error message ...
3
votes
1answer
1k views

QGIS 2.0.1 Runtime error and crash at Add Delimited Text Layer plugin

I just installed Dufour on my Windows 7 Lenovo ThinkCentre desktop. When I open 2.0.1 I get this error window: And when I try to add the 'Add Delimited Text Layer' plugin I get this message: ...
3
votes
2answers
3k views

How to install the Python module shapely for QGIS use?

I'm using QGIS 1.8.0 on a Mac with OSX 10.6.8 (Snow Leopard). I've installed QGIS including GDAL, GSL, UNIXImageIO, Freetype, and Matplotlib all from www.kyngchaos.com. When installing the plugin ...
3
votes
2answers
1k views

How to install shapely for python 2.6 (Mac) NOT 2.7?

I'm trying to use Polygonizer plugin inside QGIS, but it needs Shapely to work. I've installed Shapely (pip install Shapely) but that's for python 2.7. QGIS works with python 2.6 (on Snow Leopard) and ...
3
votes
3answers
6k views

How to install Python libs for XYtools to read Excel files

I need to use the XYtools plugin to read an Excel file. After choosing the XYtools incon and indicating an Excel file to read in, a message appears "there is a problem with loading a python module ...
3
votes
1answer
3k views

How to install SDA4PP plugin for Kriging in QGIS?

I am trying to do kriging in QGIS. I have loaded the SDA4PP plug in. Almost all of the items in the SDA4PP dropdown menu are not highlighted and are unresponsive when clicked on - including the ...
3
votes
2answers
4k views

Why does QGIS scalebar show a wrong scale?

I'm using QGIS 1.7.1 and have added a scalebar. The scalebar usually displays in degrees, unless I switch the map's projection to meters, in which case the units are display in cm. This is not ...
2
votes
2answers
143 views

Creating sub sections (groups) of layers in QGIS?

I am working on a project regarding Fish species and fishing methods with many layers. This creates confusion. I would like to create layer sub sections (groups) like the following: Fish Species ...
2
votes
2answers
577 views

How to determine which polygons, if any, points fall within?

I am a amateur at GIS and need some help. I have a group of shapefiles of various areas and an Excel spreadsheet of addresses I have geocoded to points. I want to determine whether each point falls ...
2
votes
2answers
3k views

Problems with scale bar units in qgis composer

I apologize in advance for again bringing the topic up, I've searched for answers in other posts but couldn't find anything helpful. I fight a personal little war with the scale bar of the QGIS ...