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

learn more… | top users | synonyms (1)

11
votes
1answer
6k views

How to write standalone Python scripts using QGIS?

I've been learning how to use the Python Console in QGIS using references from qgisworkshop.org. I'm familiar with writing standalone scripts in ArcGIS and want to learn how to do the same with QGIS. ...
7
votes
1answer
13k views

Selecting features within polygon from another layer using QGIS?

I'm using QGIS 1.8 with a PostGIS database and I have three postgis-layer in qgis a lines layer, a points layer and a polygon layer. What I'm trying to do is to select a polygon in the polygon layer ...
17
votes
1answer
2k views

Voronoi polygons that run out to infinity

I have been working on implementing the voronoi.py script (Bill Simon's translation of Steve Fortune's code). According to the QGIS link it is basically the same code that I am working with, but the ...
16
votes
8answers
13k views

How do I create a shapefile showing footprints of Rasters?

I have around 1,000 satellite images in tiff format, and I want to create a shapefile which will serve as an index to the rasters. This is something similar to a raster catalog, but I do not want to ...
10
votes
1answer
2k views

Sort layers in QGIS table of contents?

When I load a bunch of layers into QGIS from PostGIS, they seem to load in reverse alphabetical order. Is there any tools or plugins that allow you to quickly sort the QGIS TOC in a different order? ...
6
votes
1answer
5k views

Shortest distance from point to line (big dataset)

What is the best method to calculate the distance from the nearest road for a series of address points in QGIS, having a very big dataset? (QGIS 2.0.1, Win XP) I read the answers to previous similar ...
5
votes
1answer
1k views

Manipulating Azimuthal Equidistant Projections in QGIS

I have a shapefile of world countries that is projected as Azimuthal Equidistant with Chicago, USA as the center. I would like to change the projection such that Edinburgh, UK is the center. One would ...
5
votes
1answer
3k views

Performing Ordinary Kriging in SAGA via QGIS SEXTANTE Plug-in?

I'm trying to learn how to apply the kriging analysis in QGIS using the SEXTANTE plug-in and SAGA tools. It appears that I have my SEXTANTE and SAGA folders configured properly according to the user ...
16
votes
5answers
15k views

How to determine the centroid of polygons?

I have a polygon vector and I want to quickly attain the centroid of this polygon for insertion in a text document. I am working with QGIS. I searched through other questions and although some are ...
10
votes
1answer
9k views

Understanding QGIS buffer tool units?

I have been trying to figure this out for a couple weeks now and have had no luck getting the buffer tool to accept anything but degrees as units of measure. I have found lots of stuff saying the ...
10
votes
2answers
907 views

Where did the polygons go after projecting a map in QGIS?

I'm fairly new at GIS know-how, but I've run into a problem with a projection of a world map. I have a shapefile of all countries I downloaded from Natural Earth. After projecting it into a ...
6
votes
4answers
595 views

How to Unsplit/Dissolve multiple touching lines in Stream Network?

I am trying to dissolve multiple lines for stream networks into individual features. The dataset contains many stream networks so a complete dissolve of the whole dataset wont do as I would like to ...
6
votes
2answers
1k views

Python error with open layers plugin QGIS 2

I've been using QGIS for a while but since using QGIS 2 the OpenLayers plugin doesn't work for me on my home pc. (However, I have installed the same version at my workplace with success.) I have ...
4
votes
1answer
1k views

How to style a layer from console?

I am new to the QGIS python console. I am trying to load a raster layer from the console, set the crs and a specific style from a qml file. layerPath = os.path.join(raster_dir,raster_name) fileInfo = ...
2
votes
3answers
6k views

How to create points based on the distance and bearing from a survey point?

I am plotting witness tree data to calculate pre-settlement tree density. I have a shapefile with points along section lines (square miles) at each half mile. I am making another table that contains ...
23
votes
3answers
6k views

How can I calculate the average width of a polygon?

I'm interested in examining the average width of a polygon that represents the road surface. I also have the road centerline as a vector (which is sometimes not exactly in the center). In this example ...
20
votes
10answers
29k views

How to install QGIS on Ubuntu 12.04?

Has anyone had any luck with getting QGIS working on Ubuntu 12.04? I have tried the stable and unstable versions and with not luck. I also get the following: "Some packages could not be installed. ...
10
votes
3answers
872 views

How can I parallelise embarrassingly parallel GIS operations in QGIS python?

A common requirement in GIS is to apply a processing tool to a number of files or apply a process for a number of features in one file to another file. Much of these operations are embarrassingly ...
23
votes
5answers
5k views

Is there any model builder in QGIS or other open source GIS?

Like the ModelBuilder of ArcGIS for Desktop to run simultaneous geoprocessing tools, is there any model builder available in QGIS or any other open source GIS software?
21
votes
2answers
27k views

How to access file geodatabase in Qgis? [duplicate]

How does one access data from an Esri file geodatabase in Quantum GIS? I've seen snippets of conversation that indicate it's possible with qgis 1.7+ and gdal 1.9+ but no clear recipe. I recognize ...
11
votes
3answers
1k views

Ortho Projection produces artifacts

I`m trying to create a sphere-like view using qgis and the "world from space"-projection http://spatialreference.org/ref/sr-org/6980/ (essentialy an ortho-projection). ArcGIS wraps the shapes ...
10
votes
2answers
4k views

How to compute parameters for QGIS Affine transformation?

I have a vector floorplan (DXF) that I've added to a blank project in QGIS using the Dxf2Shp plugin. I've been reading tutorials and StackExchange threads, but I can't seem to find out how to ...
9
votes
1answer
520 views

How to automatically populate fields instantly?

I am looking to create an attribute table where the first field is a drop-down menu (I have achieved this by using the 'value map' edit widget), but I'm struggling to find a method for the next part; ...
11
votes
1answer
795 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 ...
9
votes
1answer
5k views

How to reproject a raster file in QGIS with datum transformation?

I want to reproject a tiff raster file from projection A (ETRS89/UTM Zone 32) to projection B (DHDN/Gauss-Kruger zone 2). The two projections have a different datum so I have to use a datum ...
9
votes
5answers
10k 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 ...
9
votes
1answer
3k views

Using PostgreSQL with QGIS and ArcGIS?

Is it possible to use PostgreSQL with QGIS and ArcGIS? i.e. one database for different clients. Is it anything that I have worry or any problems to use the DBMS from two different software? I know ...
7
votes
1answer
4k views

Getting tabular statistics from table using QGIS?

Are there QGIS tools that will allow users to get tabular statistics from their table? I kind of expected I would be able to just open the table, select the field I was interested in, right-click on ...
7
votes
4answers
15k views

How do I load a .dbf file into QGIS?

I want to use QGIS to extract lat/lng data from the vertices of polygons. There are about 400 polygons, each with maybe 200 vertices. I am having trouble with step one, getting the data into QGIS. ...
7
votes
3answers
5k views

Why don't my Shapefiles and OSM data overlap in Quantum GIS?

So I'm pretty new to GIS, and I'm working on a mapping project using data for Vancouver, Canada. I want to combine Open Street Map data along with data provided by the City of Vancouver. But the City ...
6
votes
4answers
16k 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 ...
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 ...
5
votes
1answer
929 views

Is there a purge function to remove layers from a qgs file which are not present in the Layers pane?

I have some QGIS projects that I've been using for long time, adding and removing layers, updating reference to deleted or moved files etc. Opening with a text editor the qgs file I see that it ...
4
votes
4answers
7k views

Is there a Rotate Tool in QGIS?

I can see the move tool. But coming across versions, i did not see any Rotate tool in Quantum GIS. As a hardcore feature editor myself, i have found it rather difficult. Am i missing something ...
3
votes
1answer
303 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 ...
8
votes
3answers
1k views

How to create an OD road distance matrix in QGIS?

I'm looking for the steps required to produce an origin-destination (OD) cost matrix. What I'm looking for is a matrix of road distances. The distance matrix tool only produces euclidian distances. ...
7
votes
3answers
22k views

How to add Lat/long columns to a point layer which is not in WGS84?

I need to extract the Lat/long coordinates of the centroids of districts. My QGIS project SCR and the different layers have all been set on "WGS 84 / UTM zone 18N". I've created the centroids using ...
5
votes
1answer
342 views

Where to report QGIS and QGIS-Plugin bugs?

I often find bugs in QGIS and its Plugins. I would like to ask about this on the internet but I do not seem to find the proper place to address this issue. Are there any instructions?
3
votes
4answers
4k views

How to display special characters German “ÄÜÖß” in a map?

I have a shape file with names for Regions. These don't seem to contain special characters but ugly hyroglyphes. What can I do do display them correctly. If I import the shape as UTF-8 it doesn't ...
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
4answers
3k views

QGIS File Read Error when opening an existing project

My computer will not open a project i have been working on for weeks! it is coming up with an error of Project file read error: unexpected end of file at line 1 column 1 for file ...
14
votes
3answers
9k 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
1answer
15k views

Adding Layerfiles (.lyr) to QGIS?

At college we use ArcGIS Desktop 10, but that does not function on my Mac so I have QGIS there instead. I want to do my exercises with QGIS, but we use .lyr files with ArcGIS Desktop, and they are ...
5
votes
1answer
869 views
4
votes
1answer
336 views

How to horizontally align irregularly shaped point symbol to vector layer in QGIS?

Fairly new to QGIS and searching a method to graphically align my point symbols in the direction of the vector. The symbol represents a water valve in an irregular shape in close proximity to a vector ...
4
votes
2answers
3k views

Workflow for creating line features between two coordinate pairs in QGIS

I have a table of stream reaches with xy coordinates for their respective tops and bottoms. I'd like to convert the table to a feature, using the xy coordinates as the endpoints of the line. Any ...
16
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 ...
8
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
2answers
159 views

How can I modify the width and the precision of my database?

I have a database in txt format made of several columns of real numbers. Two column are integer, 17 are real (rounded to the first decimal) and 17 are real rounded to the second decimal. If I import ...