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

learn more… | top users | synonyms (1)

7
votes
1answer
10k 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 ...
6
votes
2answers
2k 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
660 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 ...
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 ...
5
votes
2answers
809 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
975 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
2answers
2k 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 ...
2
votes
2answers
4k 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
1k 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 ...
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 ...
10
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
898 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
596 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
1k 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
416 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
1answer
1k views

How do I clip OSM basemap with a polygon?

I've created a map in qgis 2.0. The map uses the OpenLayers plug-in to add the OSM layer as a basemap. I would like to restrict the basemap to be visible only inside a given polygon defined in a ...
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
2k views

Cannot see OpenLayers under Plugin in QGIS 2.4

Although I have installed the OpenLayers plugin, I cannot see it in the list when I click on Plugins. Does anyone else have this issue?
4
votes
2answers
499 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
2answers
107 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
1answer
629 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
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
1answer
2k 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
106 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
2k 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 ...
1
vote
2answers
180 views

Problems with plugin/installer manager in QGIS 2.6.1 Debian

An error has occured while executing Python code: Traceback (most recent call last): File "/usr/share/qgis/python/pyplugin_installer/installer_data.py", line 460, in xmlDownloaded if ...
1
vote
1answer
960 views

Delineate polygonal catchment areas from a raster using open-source GIS

I'm 90% sure this basic question has been asked before but looking through the other posts I simply do not see a useful answer. I need to calculate polygonal(vector) catchment areas from a raster ...
0
votes
2answers
1k views

Make a polygon from intersecting lines in QGIS, using Polygonize or similar?

In QGIS, I want to make polygons from a set of intersecting lines. Looking at the screenshot here, I want chop the purple line (it's a closed line, not a polygon) where it crosses the green and blue ...
36
votes
8answers
14k views

QGIS and gvSIG comparison

Many debutant GIS users are asking me which one is better QGIS or gvSIG. Since I use Qgis and I don't have any experience in gvSIG, I aways say that both are very nice softwares and the chose is a ...
25
votes
2answers
9k views

How to style beautiful road maps with QGIS?

I am trying to design a beautiful map using Qgis. As I'm a software developer not a designer, I was hoping that this will be easy, but it isn't! There is a similar question here Qgis tutorials and ...
30
votes
3answers
43k views

How to add Basemaps from Google or Bing in QGIS?

Like ArcGIS Desktop has the option of using basemaps from ArcGIS online, does QGIS have any such options?
23
votes
5answers
6k views

How to identify clusters in vector point data?

I have a vector dataset of rural broadband data-points (how fast, etc.) and I'd like to explore if there are clusters of points with similar characteristics, and to plot polygons encompassing them. ...
5
votes
2answers
6k views

How to connect to Postgres with QGIS?

Oddly, it should be simple, but I can't connect to a local PostGIS database. My installation is with Mac OS X (10.8), Postgres.app (in doc it's said to have PostGIS included) and Quantum GIS 1.8. ...
15
votes
5answers
5k views

A SQL console in QGIS

I know QGIS comes with its field calculator, which is not bad. It also comes with ftools which permits several operations on geometry and attributes. But we often need more control and I haven't seen ...
12
votes
4answers
12k views

Feature comparison between QGIS and ArcGIS for Desktop [closed]

I am learning to use QGIS and ArcGIS for Desktop but I cannot find the differences between them. What are the differences between the capabilities of QGIS and ArcGIS for Desktop?
12
votes
2answers
5k views

How to create a new empty vector layer programmatically?

I am new to python and QGIS. I have looked at a few tutorials of python scripts for QGIS. All of them create new vector and raster layers with some existing data source. eg. shapefile or geotiff or ...
4
votes
1answer
2k views

QGIS on Mavericks

I have been trying to install QGIS on Mavericks and I have failed. Prior to installing QGIS, I installed GDAL using homebrew. I also installed Numpy, SciPy and pyqt using the detailed instructions ...
11
votes
1answer
2k views

How do I build a custom form for entering attributes in QGIS

I've done this many times in ArcGIS and ArcPad but I don't even know where to start building a custom form for data entry in QGIS. I would like to do this for field operations--QGIS would make a good ...
8
votes
1answer
6k views

Create a csv with geometry as WKT in QGIS (and choosing the field delimiter)

Is there a way to choose the field delimiter when exporting to CSV with geometry as wkt in QGIS? I have a shapefile with donut holes and I'd like to export it as a CSV. It's for a partner whose DB ...
7
votes
3answers
14k views

How to export Polygons to CSV with coordinates?

I am very new to QGIS, so please bear with me. I have a ".shp" file, which is contains a set of boundaries for suburbs of Australia. I opened it to QGIS and I would like to export it into a CSV file ...
15
votes
6answers
6k views

Generate points that lie inside polygon

I have polygon feature and want to be able to generate points inside it. I need this for one classification task. Generating random points until one is inside the polygon wouldn't work because it's ...
10
votes
7answers
10k views

How to merge lines with slightly different endpoints in QGIS?

In QGIS, I have two lines. The endpoints are near each other, but not quite aligned. I'd like to turn the two lines into one, with the two endpoints merged into midpoints. The closest I've been able ...
7
votes
1answer
6k views

How to select features within a polygon from another layer?

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 ...
6
votes
4answers
2k views

Is it possible to create 3D dxf with OGR?

Does anyone know if it's possible to create a 3D dxf with OGR. I would like to assign our contour lines a z value and export them to dxf for some cad work. PS I know FME can do this, however I would ...