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
2k 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 ...
14
votes
3answers
21k views

How to merge multiple layers to one layer using QGIS?

I've imported several shapefiles which where exported from an Mapinfo .tab. Several tab files are imported resulting in 20+ layers. Afterwards I want to export it to geoJSON; but I'm reluctant for ...
6
votes
3answers
2k views

How to read Greek fonts (ISO-8859-7) in shapefile attributes within QGIS 1.8.0?

I'd like to ask whether there is a way to read greek fonts in a shapefile's attribute table within QGIS 1.8.0.
6
votes
3answers
3k 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 ...
4
votes
1answer
1k views

OpenLayers Plugin Error: latitude or longitude exceeded limits

I'm aware the 'traceback' OpenLayers plugin error has been dealt with before, so apologies for raising the issue once again. Unfortunately for me, the solutions posted were way over my head, e.g. ...
3
votes
1answer
3k views

Elseif Conditional Statement in QGIS Field Calculator

I am trying to write an ELSEIF conditional statement in QGIS Field Calculator (version 1.8.0). I have used an example I found online: CASE WHEN val < 0 THEN 'negative' WHEN val = 0 THEN ...
5
votes
1answer
559 views
5
votes
2answers
5k views

How to calculate polygon areas and perimeters?

If I load a polygon layer and make a new column, how do I fill that column with the 1) area of each polygon and another column with 2) the length of the perimeter of each polygon?
3
votes
2answers
6k views

Create polygon layer from polyline layer

Our systems expect polygon shapefiles, representing a collection of non-intersecting and geometrically valid (multi)polygons. Specifically, farm fields. We often receive our representations of farms ...
5
votes
1answer
585 views

Identify Polygons on raster image

I have OS street view mapping as raster images. Is it possible (without the obvious of tracing each dwelling) to identify all polygons on each tile. To clarify, My ultimate aim is to produce a ...
4
votes
2answers
2k views

How to display both scalebar in kilometers and grid in lat/long degrees in Quantum GIS 1.8 Composer?

Also, how to display both scalebar in kilometers and both lat/long degrees and northings/eastings in QGIS 1.8 Composer? Layer is projected to UTM. Thank you.
3
votes
1answer
135 views

QGIS display does not reflect projection

I have slight experience with ArcGIS, but am new to QGIS. I'm trying to set the projection of my map, and I understand that this is done by altering the CRS (coordinate reference system) of each ...
1
vote
1answer
725 views

How to evaluate raster calculator expressions from the console?

How can I execute from the console an expression that should be used with the raster calculator? I'm searching for something like this: qgis.someRasterCalcClass.evaluate("boh@1 + boh@2", ...
10
votes
1answer
5k views

How do I calculate the latitude and longitude of points using QGIS?

I'm trying to figure out how to calculate the lat/long of points using the QGIS field calculator. Is there an easy way to do this? I saw a previous related question, but it deals with a more advanced ...
20
votes
3answers
3k 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 ...
24
votes
3answers
5k views

Visualising WKT geometry string in QGIS

A very simple question: Is there a simple tool in QGIS to graphically visualise geometry formatted as text? Example geometry: "POLYGON((571178 6337246,571178 6402217,598061 6402217,598061 ...
20
votes
4answers
3k 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?
17
votes
4answers
8k views

How do I load OSM vector data in QGIS 2.x?

In QGIS 1.8 I used the openstreetmap plugin to request data from the server, or open a .osm XML file, which produced 3 layers (polygons, polylines and points) in QGIS. This was great (give or take the ...
15
votes
3answers
3k views

Visual Impact Assessment in QGIS or GRASS

Is it possible using QGIS or GRASS to perform a Zone of Visual Impact assessment? E.g. where can a 100m high structure be seen at a viewing height of 1.8m within 30km, taking into account elevation ...
17
votes
3answers
3k views

How can I switch line direction in QGIS?

Something that is hopefully pretty easy. I would like to be able to swap the direction of a polyline/line in QGIS. I made a custom tool to do this in MapInfo a couple of years ago, however I can't ...
15
votes
9answers
21k 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. ...
6
votes
2answers
2k views

What are valid values for “data defined” labeling settings?

I'm using QGIS 1.8. I'd like to customize label features on an existing shapefile using the new label engine and it's "data defined settings" option. I'd like to know what the attribute table field ...
7
votes
1answer
4k views

Is there are QGIS plugin to allow the 3d visualisation of geological borehole data similar to the functionality of Target for ArcGIS?

I'm very new to QGIS, I have started using it as my new company is not willing to pay for ArcGIS and Target at this stage so I'm hoping QGIS can substitute not just in the interim but for good. What ...
7
votes
1answer
2k views

How to fill gaps in SLC-Off Landsat 7 ETM+ Images with QGIS?

Explanation of the problem: On 31 May 2003 the Landsat 7 Enhanced Thematic Mapper (ETM+) sensor had a failure of the Scan Line Corrector (SLC). Since that time all Landsat ETM+ images have had ...
7
votes
3answers
3k views

How to create polygons with straight lines and right angles in QGIS?

I am running QGIS 1.7.0 on Mac OS X 10.6.8. When creating a polygon, how do I do it so that the lines are straight (90, 0 degrees, etc.) and when I create corners they can be right angles? For ...
11
votes
5answers
7k views

Is it possible to make a DEM from contours in QGIS?

Is it possible to make a DEM from contours in QGIS? I have a shp file (contours) and their heights, can I use QGIS for produce a DEM without using GRASS? I find this creating a dem from contours but ...
10
votes
1answer
824 views

Is there a way to access QGIS plugins in Python?

Is there a way to access QGIS plugins in Python? I'd like to write a script to do some geoprocessing, and I'd like to use the clip, regular points and convex hull tools in fTools, as well as the Road ...
14
votes
8answers
11k views

Can QGIS open KMZ files?

I know I can add KML files once I have unzipped the KMZ files, but is there a way to open KMZ files directly? When I try to open a kmz file on QGIS 1.8.0 on Windows XP, through the all files filter, ...
10
votes
2answers
2k 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 ...
9
votes
3answers
2k views

How to programatically check for a mouse click in QGIS

I want to know how to check for a mouse click in QGIS. I am trying to write a python plugin and want to provide functionality similar to the "Select Single Feature" tool that already exists in QGIS. ...
8
votes
2answers
887 views

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

Are there any tools / plugins to develop mapbooks using QGIS?
3
votes
2answers
1k 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 ...
12
votes
6answers
6k 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 ...
8
votes
2answers
3k 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
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
1answer
2k views

Calculating distance to points in QGIS

Is there a way of calculating the distance to the nearest points in QGIS? In ArcGIS there is a function called Euclidean Distance, which can take an input vector or raster, and generate a raster of ...
3
votes
1answer
102 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 ...
3
votes
2answers
811 views

Is it possible to colour areas between (vector) contours?

...without making it a DEM first? Joshdoe seems to have done so ("Styled in QGis") here but doesn't say how. Thanks!
3
votes
2answers
2k views

How to generate a DEM from a contour Shapefile?

I want to create a DEM from depth contours (shapefile) in QGIS. I've been trying to work out how to do this based on this previous question, notably from this link from that page, however I'm stuck, ...
3
votes
1answer
1k views

How do I find vector line bearing in QGIS or GRASS?

How can one extract the bearings from a set of lines in a vector file? I'm trying to find the bearings of several straight vector line segments (simplified contour lines, actually) and can't figure ...
3
votes
1answer
720 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) ...
2
votes
3answers
581 views

Data-defined Styles in QGIS

I have downloaded a shapefile of bedrock geology. I need it to be displayed as it should be with the style applied. The supplier will no give me a qml. but i have noticed in the .dbf file the Cyan ...
2
votes
2answers
668 views

Simple automated way to split all lines in layer at vertices using QGIS?

I want to automatically split all lines in a QGIS layer at their vertices (like this). I've done a google search and found this article, which is quite close but the workflow is complicated. Because ...
14
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 ...
7
votes
2answers
318 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 ...
7
votes
3answers
4k 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 ...
6
votes
1answer
506 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
3k 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), ...
5
votes
3answers
256 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
494 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 ...