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

learn more… | top users | synonyms (1)

11
votes
1answer
603 views

How to associate polygons with the nearest point on a point layer? (Or … how do I assign a postal area to a salesman?)

I have a polygon layer of postal code areas and I want to use them to create sales territories based on where our sales people are based. So I assume that I need to work out for each of the polygons ...
11
votes
4answers
3k views

How to connect lines in a network?

I have a shapefile of lines and another of polygons. When two or more lines intersect a polygon they should be connected (snapped), but sometimes during manual digitization this doesn't occur. I need ...
11
votes
2answers
744 views

How to build a minimum convex hull crossing the 180 degrees line?

I've been building convex hulls for species that inhabit the Indo-Pacific (~ from 20 to -65 degrees of longitude). The problem I've encountered is that for the species that can be found on both sides ...
11
votes
1answer
498 views

Is there a simple way to sort layers alphabetically in QGIS?

I am working on a big GIS project and not being able to sort the items in the Layers panel is giving me hard time. I can have up to 250 layers in the Layers panel. I have a special naming scheme for ...
11
votes
1answer
859 views

Snap line layer to network in QGIS or PostGIS

I have GPS data I've taken of bus routes, and now I'd like to snap it to my road network. Both layers are line layers in a PostGIS DB. I'd like to use either QGIS or PostGIS, but if I have to go with ...
11
votes
1answer
761 views

PyQGIS file lock release

I was wondering what triggers the release of file locks in pyQGIS? I am trying to delete a few data sources (used temporarily) by calling QgsVectorFileWriter.deleteShapeFile, but I have to quit QGIS ...
11
votes
1answer
461 views

Is it possible to edit layers from a FGDB - File Geodatabse in QGIS?

I think I've found the answer (you can't edit FGDB's) but there seem to be few reports around that it is possible to edit FGDB files in QGIS. Can anyone advise if it's possible to setup QGIS ...
11
votes
2answers
2k views

How can I improve my Georeferencing results?

Background This is my second question related to georeferencing naked raster maps in order to re-visualize them on different coordinate systems and in conjunction with other data layers. The previous ...
11
votes
1answer
924 views

How to create text labels with background boxes?

I'm trying to create some custom labels for point features in a QGIS point vector layer, and I want to write a python plugin to do it. We need our labels to be presented with color tinted rectangles ...
10
votes
6answers
6k views

How to get “.GDB” Esri File Geodatabase in QGIS for MAC OSX 10.6?

I understand there are programs like OSGeo4W that allow windows users to work with File Geodatabases, but is there something similar for Mac OSX?
10
votes
5answers
598 views

Database versus Files for Solo Developer

I'm just getting started in GIS and am interested in using it to create maps of mountain biking trails in my area and nearby. I've been learning QGIS and have made enough progress to generate a decent ...
10
votes
3answers
296 views

How to set transparency per polygon in a shapfile in QGIS?

How to set transparency per polygon in a shapfile in QGIS? For example: a polygon with field "value" = 1 should be fully transparent whereas field with field "value" = 0.4 should have a 40% ...
10
votes
1answer
2k views

Is it possible to show our custom message in QGIS Status bar using python?

Is there any way to show our custom message in Qgis Status bar using python? Just like in arcgis IApplication.statusbar.message(0) = "Please wait..." like that is there any option to show progressbar ...
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
5k views

Resources on using R in QGIS for R users?

This is a very basic question, but I'm having a heck of a time figuring it out because so much of the QGIS documentation is oriented toward use of the GUI. I want to be able to run R scripts in QGIS, ...
10
votes
3answers
19k views

How to import coordinate data from excel into QGIS?

I have an excel file containing data collected over many years as latitude and longitude coordinates for archaeological sites - how can I import it into QGIS as a new layer?
10
votes
5answers
2k views

Multicriteria Analysis : how to?

I have to do a multi-criteria analysis to answer the question : "which is the best lot to develop". A few of the criterias are : distance of the nearest bus stop (point layer with bus stops) ...
10
votes
6answers
2k views

QGIS users - What plugins do you consider to be essential?

The title says it all - vector, raster, geoprocessing plugins?
10
votes
2answers
755 views

Can I add an ArcToolbox tool to QGIS?

I have been using a publicly available tool in ArcGIS called SPreAD-GIS. It is a series of python scripts that are "implemented as an ArcGIS toolbox" (with tbx file). I am new to QGIS. Is there a ...
10
votes
2answers
15k views

How to enable projection transformation in QGIS

My QGIS project has two layers, one layer is retrieved by Google layer plugin which fetches the static Google map image whose CRS is +proj=merc +lon_0=0 +lat_ts=0 +x_0=0 +y_0=0 +a=6378137 +b=6378137 ...
10
votes
5answers
13k views

Can QGIS read an ODBC connection?

I have a co-worker who manages a large MS Access database that contains X & Y fields for various locations he tracks. We have previously exported the data to CSV and used the QGIS Delimited Text ...
10
votes
2answers
4k views

Derive WGS84 Longitude & Latitude from British Northings & Eastings

I'm looking for a fairly simple way to append columns with WGS84 longitude and latitude to a table containing northings and eastings. The source data is Ordnance Survey's CodePoint Open, which I is ...
10
votes
4answers
3k views

How to avoid creating corrupt Shapefiles during Editing?

I have one of my GIS technicians digitizing some lines in QGIS in shapefile format. I don't know how he did it (and neither does he), but somehow the shapefile became corrupt. It was creating random ...
10
votes
3answers
8k views

How to control Image Output Settings in QGIS?

I am exporting a QGIS map to an image format. I would like to have control over the output settings of the image (dpi), as currently it is only exporting the images at 96 dpi. Does anyone know if this ...
10
votes
2answers
2k views

Why are heatmaps on qgis 2.8.1 produced in the wrong CRS?

I noticed that the heatmap calculation on the new upgrade version of qgis is given the raster map without any coordinate system. Have you got the same problem?
10
votes
3answers
892 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 ...
10
votes
1answer
189 views

How to save python session in QGIS?

After running a lot of scripts in QGIS' python console, I have more than 10 dictionaries and lists, and I need these for further analysis. Is there a way to save python session, with all these ...
10
votes
1answer
881 views

How to address the new “Task-Completed” QgsMessageBar in Python?

I am really amazed what huge steps the QGIS development has taken in the last months. The new iconset, the improved Print composer and many more changes to be seen in QGIS 2.0 are really awesome! ...
10
votes
1answer
12k 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 ...
10
votes
1answer
908 views

How to render a table with mixed geometry types in QGIS?

I created a table with geometry type "GEOMETRY" AND inserted data of point, line and polygon type. My question is how to show this spatial data Qgis not supporting for geometry type "GEOMETRY".
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 ...
10
votes
3answers
420 views

From polygon to continuous measure of diversity?

First of all; I have tried to find a similar question, without success. Maybe it's because I'm quite new to GIS and I don't really know what exactly I'm looking for. If someone points me to a similar ...
10
votes
3answers
2k views

How to create a Hillshade model with multicolor “alà Imhof”?

I would like to make a Hillshade-Model with multicolor "alà Imhof". That means, I dont want a "usual" gray hillshade, I would like to use grey-blue and grey-violett from different sun directions. ...
10
votes
2answers
264 views

How to create dynamic leader lines?

I'm trying to create dynamic leader lines by using a PostGIS view in addition to the QGIS „Move Label“ tool. CREATE VIEW leader_line AS SELECT gid, ST_MakeLine(geom, ...
10
votes
2answers
919 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 ...
10
votes
1answer
5k views

How to copy a geometry from one feature to another without attributes?

With QGIS it's easy to add a new part to an existing feature/geometry but I can't see how to copy/paste this part from another existing feature/geometry. Is it possible? Thanks
10
votes
2answers
2k views

What is the standard Mercator projection?

I'm using QGIS in order to re-project a shapefile I have into "Mercator" so that something like protoviz understands my co-ordinates. Protoviz tells me "Mercator" ...
10
votes
1answer
3k views

When iterating over a vector layer with pyqgis, how do I check whether a feature is selected?

While iterating over a vector layer using the following code (summerized from the example in the pyqgis cookbook), is there a way to check whether a feature is selected? provider = ...
10
votes
2answers
3k views

How to smooth large vector polygons from Raster

I have a landuse classification raster file (6 classes) of a large area. But I need it in vector polygons so I vectorised it. No problem so far, but the result is - of course - that every pixel is ...
10
votes
1answer
395 views

How to find the buildings (polygons) a user can see from a given location (point) and orientation (angle range)?

I would like to retrieve the set of buildings I can see from a given location (point -lat,lng) and orientation (interval of angles) + certainly with a given depth (e.g. 100 meters). Ideally I would ...
10
votes
2answers
525 views

How do I generate a large number of maps?

I have to make a large number (hundreds) of distribution maps of species. I have a shapefile that contain the distributions for each species, and for each one, I would like to get a map as an image ...
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? ...
10
votes
1answer
581 views

What is the best way to represent bridges using a point vector layer in QGIS?

I'm working on a hiking/biking maps of trails in the woods which sometimes have bridges that need to be shown on the map. I'm trying to figure out the best way to capture and represent them using QGIS ...
10
votes
2answers
13k views

How to create a new layer from overlap between two layers?

I'm new to desktop GIS, and will try to ask while lacking the proper terms from the GIS lingo: If QGIS was like Photoshop I would like to make a selection from one layer, and then match that ...
10
votes
2answers
2k views

How do you display related records in QGIS?

Coming from an esri background I have always used relationship classes in a gdb to display records related to a feature. Eg. Relate 1 survey point to many documents, photos etc. Does any one know how ...
10
votes
1answer
218 views

Automated detection of tracks

Given an area with depressions in open area from; say all terrain vehicles driving on soft surface. The vehicles will cause parallel depressions (paths) of about 10-20 centimeters in depth and around ...
10
votes
1answer
858 views

How to automatically format the legend labels? in QGIS

I have to do 10 maps (for a start) with "style" -> "graduate" with quantile mode. I need to format the label of the different ranges so that the legend looks comprehensible: Instead of having 1.0000 ...
10
votes
3answers
2k views

How to prevent text labels from overlapping other markers?

Is their a way within QGIS to prevent text labels from overlapping icons used to label a point layer? In the example map shown below, there are two layers: Roads layer which is labeled using the ...
10
votes
1answer
444 views

How to do Manhattan Voronoi on QGIS?

I've spending last two weeks trying to discover how to do a Manhattan Voronoi on QGIS. For the difference between Manhattan Voronoi and "normal" Euclidean Voronoi, please check this link Can someone ...
9
votes
4answers
8k views

How to fix QGIS error “Entry Point could not be located”?

Today, after returning from vacations, I started my QGIS 1.7 and got this terrible message: Help, anyone?