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

learn more… | top users | synonyms

3
votes
2answers
161 views

Raster Caculator Qgis 2.6 v/s Gdal_calc.py by Terminal

I need calculated monthly mean of Snowcover data by MODIS product, and then modify this script gdal_calc.py in this section # create alphabetic list for storing input layers ...
1
vote
1answer
333 views

gHydraulic plugin for QGIS 2.8 make EPANET Model Type Error

I've set up my water network layers to create an EPANET model using the gHydraulics plugin for QGIS 2.8: pipes, junctions, and a reservoir. The pipes have unique IDs, with their corresponding ...
2
votes
1answer
475 views

Why does “Join attributes by location” fail to compute sums when used in a model?

If I use "Join attributes by location" from the menu it works fine but if I'm using it within the Processing modeler it's not working. I want to sum up previously selected records having a field area ...
2
votes
2answers
606 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
vote
1answer
109 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 = [] ...
0
votes
1answer
84 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
384 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
56 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
45 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 ...
3
votes
0answers
145 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 ...
1
vote
1answer
203 views

How to convert 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, ...
1
vote
1answer
398 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
25 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 ...
3
votes
2answers
208 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
67 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
90 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
339 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 ...
1
vote
0answers
151 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
219 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
57 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
47 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
110 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
92 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
1answer
176 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 ...
1
vote
1answer
66 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
804 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
346 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
52 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
144 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: ...
1
vote
2answers
921 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?
6
votes
2answers
145 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
89 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?
2
votes
0answers
101 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
121 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
147 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 ...
2
votes
2answers
1k 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
181 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
192 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
149 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 ...
1
vote
1answer
54 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
202 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 ...
2
votes
0answers
66 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 ...
4
votes
1answer
208 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
146 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
131 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
139 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 ...
2
votes
1answer
61 views

Extracting area from DEM Raster?

After applying constraints to the DEM I polygonised the raster (using GRASS r.to.vect.area) The result is shown below with a lot of vector with resolution = [30 * 30] Is there any solution to make ...
3
votes
0answers
36 views

Programatically export map clusters in QGIS

I'm trying to export each microcluster of a large map into a composed map that shows the ff on an A4 sheet: 1) Cluster/grid box of the map 2) Larger index map with the pertinent region highlighted ...
0
votes
1answer
81 views

GPX-Tracks are not displayed correctly by many applications/web applications

I have a problem regarding GPX tracks that were created from Shapefiles using QGIS. The shapefiles were created by selecting all parts of a route from a PostGIS database. The polylines were merged ...
0
votes
1answer
107 views

Problem to create composer with open layer plugin in QGIS

Creating layout in composer I am facing a problem of dislocation of shp file and google earth image ( which I am using from "open layer plugin") Version 2.4.0 Chugiak (Mac) In the first image shows ...