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

learn more… | top users | synonyms (1)

0
votes
2answers
66 views

Create a script to add delimited text layer in QGIS

I'm trying to use QgsVectorLayer() function to add delimited text layer in QGIS. So I have a txt file (T_1999_1_2.txt) in path: "D:\PATRICIA\DOCUMENTOS\ESTACOES METEOROLOGICAS\DADOS METEOROLOGICOS\T" ...
-1
votes
1answer
13 views

QgsComposerMap does not fit extent

Please help me to fit the map extent into de qgscomposermap size. printable_layers = QgsMapLayerRegistry.instance().mapLayers().values() printable_layers_ids = [] ...
-2
votes
0answers
15 views

R6034 - Runtime error while installing QGIS 2.8.2 [duplicate]

Please help me install version 2.8.2. I have the previous 2 versions also installed in my system and am working on it.
0
votes
1answer
27 views

QGIS how to delete virtual fields?

I can't find the option to delete a virtual field on a layer, not even in the table manager plugin. Where is that option?
2
votes
1answer
39 views

Qt/C++ Hello World application with QGIS not compiled: qgsconfig.h not found

I am a Qt/C++ developer. I have to create a GUI application (Qt/C++) with GIS maps. I'm trying to do that using QGIS. I'm working in Linux Ubuntu with Qt Creator 2.4.1 (based on Qt 4.8.0). I did the ...
1
vote
0answers
37 views

Creating a single layer of polygons from a point layer

I have a csv file of lats and lons for points that represent the vertices of parcels of land. I want to create a polygon for each set of specific points within the csv and then create one unified ...
0
votes
0answers
21 views

Merging data into borders using QGIS? [closed]

I have collected data into a spatial grid from an entire city what I have to do now is to cut this grid in a smaller borders, how can I do this?
0
votes
0answers
28 views

Can I style basemaps provided by OpenLayers in QGIS?

I absolutely love openlayers plugin, and it's been great help. It'd be greater if I can style the base maps such as disabling labels, changing opacity etc, which are all possible when working with ...
1
vote
0answers
18 views

Enable LWGEOM for OGR tools (QGIS 2.8)

I am doing some scripted operations on a Spatialite DB using OGRINFO, OGR2OGR etc. in the QGIS 2.8 OSGEO4W shell. Unfortunately, LWGEOM functions such as ST_Split() are unavailable and ...
0
votes
1answer
29 views

Converting multiple vector layers to georeferenced rasters using QGIS?

I have Openstreetmap background loaded in QGIS - currently from Spatialite, but no problem to get shapefiles. I need to convert the loaded map to one big raster or could also by more smaller ones, ...
0
votes
0answers
20 views

Mean values of data with the same coordinates within a single layer

I'm a new user of QGIS so this is probably and hopefully an easy problem to solve ;) I added a point layer by importing data from excel and want to get mean values of all data with the same ...
0
votes
1answer
30 views

QGIS / Python: Fill new field with values based on other fields and lookup table

I am trying to use Python for QGIS to add values to new fields in an attribute table based on existing fields and values in a lookup table. Attribute table I wish to modify (with example rows): farm ...
1
vote
1answer
12 views

qgis script in external IDE fails [closed]

I'm new to Qgis. I have a script that runs successfully inside the Qgis editor, but it fails outside. It returns the alghelp, but fails on running the actual tool so it seems I have the external IDE ...
0
votes
0answers
31 views

Merging linestrings in QGIS using PostgreSQL and PostGIS

I've to merge all linestrings from a PostgreSQL table "river" where not more than two start/-endpoints are overlapping. In the illustration below I use a "M" to mark all linestrings that needs to be ...
0
votes
0answers
22 views

Is it possible to use d.nviz in QGIS 2.8.2?

I read that this algorithm belongs to GRASS 7 only but GRASS 7 doesn't work in QGIS (Missing dependencies). How do I do that? By the way I want a raster animation with time. And d.nviz can help with, ...
2
votes
2answers
43 views

How can I check if all boundaries of a polygon coincides with one or more of a set of lines

I have a polygon shapefile, and theoretically, all features in the shape are bounded by the union of some lines in another shapefile. Is there any way to confirm if this is true? I'm using QGis, FME ...
1
vote
2answers
65 views

Shortest Path Matrix with QGIS/GRASS

I signed up just a minute ago, because I am working on my Master's thesis and could not find a working solution for the following problem: I am analyzing Germany's high voltage electricity grid. I ...
0
votes
0answers
18 views

How to remove a QgsMapCanvasLayer from QgsMapCanvas with PyQGIS || C++?

I try to find a way to remove a QgsMapCanvasLayer from the QgsMapCanvas. At the moment I only can delete the MapLayer from the QgsMapLayerRegistry with: ...
2
votes
2answers
55 views

How to display multiple attributes in a QGIS Composer legend?

I have a polygon layer which has a number attribute and a text attribute. When I make a legend in the composer, it automatically chooses the number to display while I would like to have both the ...
0
votes
1answer
25 views

How to get unique feature count from a field w.r.t another field using ogrinfo?

We have some 40 folders which has two - three tab files in each folder. Table structure will be the same for all the tab files. What i would like to extract is Feature Count, LineNo (will be ...
2
votes
0answers
22 views

Expand data set by interpolation

I have a data set that is classified into 7 landcover classes. I've been asked to expand this data set to a new boundary. My question is How can I interpolate my existing data out to meet the new ...
0
votes
0answers
24 views

Calculating driving distances from a number of post codes to a number of services using QGIS

I am hoping to calculate the driving distance from a large number of post codes to their nearest service. I have used the RoadGraph plugin but this only calculates the distance and time from one ...
0
votes
1answer
21 views

.mdb is not a valid layer and can not be added to the map

I know this question has been asked quite a few times before but I couldn't find an answer that suited my situation at all. So this is what happens. Currently, I am using ArcGIS to map the sewer ...
0
votes
0answers
39 views

Printing layers with Python script and QGIS - refresh problem

I have got a series of layers to be printed (grouped by pair). I am using QgsComposerMap. I iterate over the groups to just show the layers of the current group, zoom to its extent et print it. ...
0
votes
1answer
24 views

GeoServer namespace URI causing invalid WFS transaction requests

Is there any naming conventions with GeoServer's namespace URI/settings that need to be changed to allow their proper use? I have a WFS-T that is being edited in QGIS - after a lot of issues getting ...
0
votes
0answers
23 views

Google Maps mangling KML

I've created KML files of some world regions for display using the Google Maps API. This has been working fine, but one region has recently started displaying as if the data's corrupt. You can see ...
0
votes
0answers
23 views

How to use multivalue table for label in QGIS

I have a table results from a join of a shapefile with plots and csv with cultivates. The thing is that many plots have more than one cultivate, and so, I get a multivalue table with two columns like ...
1
vote
1answer
22 views

How to calculate the area of a raster within a polygon which is greater than a specified value?

I'm using QGIS (2.8.1-Wien) and I have a raster layer showing chlorophyll concentrations in the ocean. I have also defined number of regions of the ocean using polygons. What I'd like to calculate for ...
1
vote
1answer
48 views

Area is calculating wrong using $area in field calculator (QGIS 2.8.1-Wien)

There is a similar question posted, but the solution to it seems to be that polygons were multipart: Wrong $area from field calculator (QGIS) In my case, all polygons are singlepart. I have several ...
2
votes
1answer
25 views

NULL to 0 values in vactor attribute table in QGIS [duplicate]

I need to converte NULL values to 0 values with the overall goal of sum up two columns in attribute table in QGIS. Since one of these colums has NULL values, the new column with the sum also appears ...
1
vote
0answers
27 views

How to create a map series of different rasters (same location, same legend)?

We have hundreds of raster images at the same location (same dimensions, pixel size, projection, etc.). We would like to display each one in its own map using the same legend with the same vector ...
1
vote
2answers
31 views

How to add an image to canvas?

I am trying to make a QGIS plugin using Python. Right now I need way add an image to canvas but I don't want that image to be a new layer in qgis project. Is there a way to do it? Now I have: ...
0
votes
1answer
39 views

How to convert features of layer from POLYGON to MULTIPOLYGON?

How can I convert features of a layer from POLYGON to MULTIPOLYGON? I know how to do that using the postgis function ST_Multi but how could I do to same thing for a layer in QGIS?
5
votes
2answers
73 views

Complex Shapefile Compression Advice

I'm looking for some advice on how I can simplify this very detailed shapefile to ultimately be used for the web (as topojson) as a interactive heatmap. It was originally created from a raster file ...
0
votes
1answer
28 views

Snapping points to Polygon using QGIS?

Can QGIS automatically snap points to a polygon in a layer? From that can the points then be put into a text delimited file in sequencial order?
1
vote
0answers
54 views

Digitizing complex archaeological scenarios in various levels

I don't know if this issue has already been answered, but I can't get my head around it. I used to do this in Illustrator, and there it was simply a matter of clicking "bring forward/bring back" etc. ...
1
vote
2answers
63 views

How to remove outlying islands from a DEM raster?

I have a raster image that looks like this (see below) How do I remove the outlying islands and keep only the central main island in the image. Is it a geoprocessing clip function? I am using QGIS ...
0
votes
1answer
36 views

Getting the nearest point and applying attribute filter using Distance Matrix in QGIS

I have two point layers, one with 233 row, other with 1531. For every point in layer 1, I would like to get the closest point from layer 2, (ok simple enough, but here's a trick) that has the value of ...
1
vote
2answers
53 views

How do I embed the a Leaflet map into my web page, using QGIS2Leaf?

I am generally new to web developement, and web gis for that matter, but I want to embed a leaflet map that I made in QGIS using the QGIS2leaf pluggin, into the html of my webpage, but am having ...
1
vote
3answers
80 views

Spatial distribution of an invasive specie across a landscape : what analysis?

I'm studying the spatial distribution of an invasive specie introduced in a natural area. This plant, that thrives in sunlight, grows in thickets (patches). The population of my study site (10x10 km) ...
2
votes
1answer
44 views

How to interpolate line Z from sparse attribute values

I have a series of end-to-end connected 3d lines which I'd like to add elevation values for all vertices on the lines which are currently null or 0. How to accomplish this? In the following image ...
0
votes
1answer
42 views

How to create loops using processing algorithm in python console from QGIS

I'm new with python programming and I need some help for my case. I want to use inverse distance weighted function to interpolate precipitation values using values from 78 weather stations. so I ...
0
votes
1answer
18 views

Is it possible to run Points2one in batch mode?

Is it possible to run Points2one in batch mode (using Qgis 2.8.1 on Unbuntu 12.04)? Basically I have 85 separate point layers and I want to create polygons using Points2one for each layer.
0
votes
1answer
33 views

How to suppress advanced digitizing tool window

I'm using QGis for years but suddenly I stuck with something that I'm sure it's an easy fix. Every time I start to create a new feature, the Advanced Digitizing tool window pops up. Do you know how to ...
1
vote
0answers
54 views

Sophisticated generation and calculation of Vector entities from Raster Data?

The first image below is shown a raster wish represents the altitude value. I created this raster by applying this process, bu using this process we can manually select an upper and lower area (so 2 ...
0
votes
0answers
11 views

Exporting MaxEnt CSV file from QGIS using BioClim txt files

noob alert. I am using the txt files from BioClim (eg. CM10_1975H_Bio_V1.2 - 19 layers). I need to have CSV files to use in MaxEnt. Can someone explain how I: 1) Limit the area (e.g. Australia)? ...
3
votes
1answer
45 views

When saving a .qgs file in QGIS, another appears. Is this a backup?

When saving a project file (.qgs), which when executed is automatically loaded with qgis.bat, there's another .qgs file which appears in the same directory of the original project file, although this ...
0
votes
1answer
30 views

Debug QGIS crash on Windows 7 - how?

I'm developing a QGIS plugin, and under certain circumstances, it causes QGIS itself to crash. How can I debug this, given that I am on Windows 7? I've tried using the QGIS nightly dev build (which ...
1
vote
0answers
17 views

QGIS 2.8 (openSuse 13.1) pdf export with print composer not working

I'm using QGIS 2.8 with a openSuse 13.1 system. If I try to export a map (with openlayers-plugin active) with 120 dpi it works fine, but if I change the dpi setting to something higher (like 130 dpi) ...
1
vote
0answers
32 views

Joining shapefiles based on FID in QGIS [closed]

I want to join shapefiles (or a shapefile and a data file) based on their mutual FIDs and can't see the FID in the "Target Field" dropdown on the join form. I believe this is a basic need to have ...