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

learn more… | top users | synonyms (1)

6
votes
2answers
3k views

Using Field Calculator in QGIS to update columns with centroid coordinates

In QGIS I would like to update two columns with the centroid easting and northing of my polygons. I am using the field calculator. I have tried using $x and $y but this only seems to work for points. ...
5
votes
2answers
1k views

Exporting DEM-derived rasters to CSV from QGIS?

I have been able to import into QGIS a set of raster topographic maps and the associated DEM raster maps. It registered the two for me. From there I have calculated the associated slope raster map. ...
5
votes
2answers
815 views

How to automatically add vertices to lines every x meters?

I've made a vector grid using lines; the grid coverage is 100 km x 100 km and the lines are at vertical and horizontal intervals of 1000 metres. Each line in the grid is defined by two vertices, one ...
5
votes
3answers
10k views

How to get the coordinates in Lat/long from a point layer?

Sorry for asking this basic question, but I couldn't get the solution from the previous answers. I need to extract the Lat/long coordinates of the centroids of districts. My QGIS project SCR and the ...
4
votes
2answers
903 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:
4
votes
2answers
607 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 ...
3
votes
1answer
347 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 ...
3
votes
1answer
1k views

How to create multiline labels in QGIS?

How can I apply Multiline label option in the label property.Name field contains a lengthy name. I want to wrap it. How can I do it? please help me. My QGIS version is 1.8
2
votes
3answers
570 views

How to add QGIS Python API Intellisense support in Aptana Studio3/Pydev

I'm developing QGIS plugins using PyDev in Aptana Studio 3 and I would like to know if it's possible to make it aware of the QGIS API and add some "intellisense" functionnalities when programming. For ...
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 ...
1
vote
1answer
3k views

'Couldn't load PyQGIS' after upgrade to Raring Ringtail?

I upgraded my Ubuntu to Raring Ringtail. After that, when starting QGIS I receive a message: Couldn't load PyQGIS. Python support will be disabled. Traceback (most recent call last): File "", ...
1
vote
1answer
819 views

psycopg2 error with QGIS 1.5

So I just installed QGIS 1.5 using the windows installer not the osgeo4w one and now any plugins that need access to PostgreSQL databases don't seem to work, they all throw a: "Couldn't import Python ...
14
votes
3answers
1k views

Rubber sheeting in GRASS or QGIS

We are in the process of getting our property boundaries corrected and a side effect of this is that we need to move any assets that have been drawn relative to the property boundaries, so they are ...
7
votes
1answer
373 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".
6
votes
8answers
5k views

Splitting shapefile into separate shapefiles for each feature?

I have a polyline shapefile with about 20 kinds of roads. I would like to know how can I create automatically a vector file for each one. I can use ArcGIS for Desktop, QGIS (or GDAL separately).
6
votes
2answers
974 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
1answer
7k 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 ...
4
votes
2answers
653 views

How to automatically reloaded raster layer if source is changed in QGIS?

How to automatically reloaded raster layer if source is changed? (The path is the same but inside source file are changes) I use: qgis.utils.iface.mapCanvas().refresh() but layer not refresh. # ...
4
votes
3answers
1k views

Convert an arbitrary meta-data-free map image into QGIS project

My background: experienced programmer, amateur historian, complete beginner to GIS (so I'm using QGIS). I did learn to use the QGIS georeferencer tool though. The input: suppose I have an image like ...
4
votes
2answers
4k views

How to use Distance Matrix tool in QGIS?

I have a point data set. Now there are cluster of points based on a field. So I take out one such cluster which has points with same field.I want to find distance between all the points in cluster and ...
3
votes
2answers
418 views

QGIS GISBASE specify location

I am just a beginner at this QGIS and GRASS and I am using this QGIS 2.0.1 Dufour which throws a error at the startup that "QGIS couldn't find your GRASS installation. Would you like to ...
3
votes
3answers
1k 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
2answers
704 views

How to calculate the area of rasters in QGIS?

I have been working with some rasters and would like to know how to calculate the area occupied by one element of a raster in Qgis.
3
votes
1answer
599 views

How can I save the label style as SLD in QGIS?

In QGIS there are 2 options to style labels. Using the style properties. Using the label in the toolbox When I dbl click layer -> styles -> save as SLD , the style of the label isn't saved in ...
3
votes
2answers
240 views

Is there a Legend Limiter in QGIS?

Is there in QGIS a function or a plugin that works similar to Legend Limiter in ArcGIS? The attribute I want to show in my legend has many possible values, I want my legend to only show those values ...
3
votes
3answers
4k 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
2answers
1k views

Why is QGIS not launching?

I've got a problem using qGIS. Always when I try to launch the programme with the desktop icon, nothing happens. I also checked the Task Manager and it doesn't show any process running regarding qGIS. ...
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
3k 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
1answer
125 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 ...
2
votes
2answers
2k 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 ...
2
votes
1answer
326 views

QGIS rounds up the coordinates to six decimals when saving layer changes

I have the problem that when I create a new point (in a point layer) or a new line (in a line layer of course) and I save the changes to the layer (so NOT the project save) then QGIS rounds up the ...
2
votes
1answer
1k views

find polygon corner coordinates

I am trying to get the coordinates of each node of the polygon I create. I would like the attribute table to display the name of the polygon (ex. address) and then the coordinates of the nodes (ex. ...
2
votes
1answer
302 views

Flattening JP2 files to single band (i.e. averaging bands)?

I have created thousands of png tiles using ArcGIS and have merged groups of them into large jp2 files for serving via GeoServer. I need to flatten these to a single band so that I can apply a colour ...
2
votes
1answer
1k views

Convert area from square meters to degrees globally

I have a global raster file with 3600x1800 pixels. I don't have any information about the projection used. The raster contains one band with a quantity with the unit "per square meter". How can I ...
2
votes
0answers
695 views

OSGB36 to WGS84 reprojection 'error'

First off, I am a recent convert to QGIS and am greatly impressed with its ease of use and speed compared with the ESRI products with which I am more familiar - my congratulations and thanks to its ...
2
votes
1answer
3k views

Import MySQL Spatial vector layer in QGIS

I have a spatial table called 'places' in MySQL, with a spatial column 'pt' (point). I tried to import it in QGIS and no points appear. I created a view 'places_as_text' which reproduces the table but ...
1
vote
5answers
483 views

Unable to install ECW support on lubuntu 14.04

I try unsuccessfully to install the ECW support (mainly to use ECW file in QGIS 2.2). We attempt to follow and adapt the howto provided by makina-corpus. My first supprise was the repository ...
1
vote
1answer
100 views

pgrouting unexpected output

Thats my ways.shp file. I loaded this to PostgreSQL DB using PostGIS shape file loader. I ran pgr_anlayzeGraph() on it and found it had a lot of isolated segments. Next I ran pgr_nodeNetwork() to ...
1
vote
1answer
331 views

keep the same field headers after joining a table to a shape file in QGIS

I noticed that after joining a table to a shape file the headers of each fields in the table used for the join are changed by QGIS and they are attributed to a different name. For instance, i had a ...
1
vote
2answers
369 views

Any QGIS 2.0 updated RPM for Fedora?

I'm very excited about the new release of QGIS (2.0), and would like to install it on my Fedora 18 machine. I couldn't find any relevant RPMs, and the documentation on the QGIS main site for Fedora is ...
1
vote
2answers
586 views

Can I use QGIS with Qt5?

I want to use QGIS with Qt 5.But i don't know the exact relationship between Qt and QGIS.Will there some problems if i use qgis with qt5 or it will not depand on it...
1
vote
1answer
165 views

QGIS Crashes when writing to PDF

8 Lisboa. I have a very large mapper. Formatted to A1 size with a large area and constraints laid across it. Everytime i try to write to pdf it crashes. It is just due to the size of the file. I ...
1
vote
3answers
2k views

Using QGIS with a pre-existing installation of Python 3.2 and matching GDAL

I need to have GDAL/OGR working with Python 3.2 because of another dependency. However, I also want to have QGIS for convenience. However, QGIS - FWTools in particular is built against Python 2.5, ...
0
votes
1answer
350 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, ...
0
votes
2answers
419 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 ...
25
votes
3answers
26k 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?
18
votes
3answers
3k views

How to easily edit attribute data using Regular Expressions?

I am writing a tutorial for MSc students that uses QGIS. One of the tasks requires the attribute data to be modified (see pdf draft of tutorial here if interested ). The question is how to get them ...
13
votes
6answers
847 views

Which topics are essential for a crash course in QGIS?

What topics do you think are essential in a 25-hour "crash course" introduction for Quantum GIS? What topics do you think are nice extras to be included in such a course? Target audience: Zero or ...
10
votes
2answers
9k views

How to Add OSM Layer to QGIS

How can i add OSM layer in QGIS? The help says there is an OSM plugin i can use. But i don't see it the list of plugins. Or maybe there is a WMS URL for OSM i can use? QGIS version ...