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

learn more… | top users | synonyms

2
votes
2answers
85 views

Extending line by adding point at end of it using QGIS?

I'm using QGIS 2.8 to modify a line. I need to add a point on one end of this line, and then move this new point further away, leaving the original end point in the same place. I can manage to create ...
0
votes
0answers
139 views

Create table that assigns node id of linked node to line endpoints in QGIS 2.8?

I am using Quantum GIS 2.8.1. I have two vector files - 1 line, 1 node (vertex). All lines are connected to a node on either end. I want to create a table of every line with a start node and end node ...
0
votes
0answers
170 views

QGIS interpolation gives same value across the grid, what am I doing wrong?

Following this question, I've tried to use interpolation in QGIS to get a sense of the topography of a map based on about 3500 track points with elevation. The elevation ranges between 213 and 353 ...
1
vote
1answer
90 views

Logging layers openings?

i would like to log every layers openings in PyQGIS, regardless of the opened project. Is there a way to achieve that ? Where should be the Python code be located in that case ? Thanks for your help ! ...
3
votes
3answers
361 views

How to make a local copy of a large WFS dataset?

We are writing a application in which a part of the job is to fetch a relatively large (>10000 features) and often updated dataset from a WFS server, store a local copy, and do geospatial analyses on ...
1
vote
1answer
1k views

How to compute distances between points and polygon borders?

I have point data and polygon in vector format. For each point, I want the distance from the point to the border of the polygon. However, if the point is inside the polygon, I want negative distance ...
0
votes
0answers
41 views

Georeference a computed tomography image without changing its proportions in QGIS

I have several images obtained from a Micro computed tomography (mCT). The scanned elements are human teeth. In a particular mCT slice, I have introduced a cartesian plot with its X and Y axis. The ...
2
votes
1answer
152 views

How to get mean geographic direction of a polygon in QGIS?

I have a raster height model and would like to calculate the horizontal geographic direction (north, east, etc. - orientation) of each cell, then calculate then the mean value of all these cells in ...
3
votes
4answers
142 views

Calculate minimum area where x% of raster value total is concentrated within polygons

I have a raster layer (chlorophyll concentration) and a layer of non-overlapping polygons (regions of the ocean). For each polygon, I'd like to calculate the area where the majority of chlorophyll is ...
3
votes
2answers
154 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
319 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
469 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
559 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
102 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
79 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
352 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
43 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 ...
2
votes
0answers
138 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
189 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, ...
0
votes
0answers
23 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 ...
1
vote
1answer
357 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
24 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 ...
2
votes
2answers
192 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
66 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
82 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
317 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
146 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
201 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
55 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
46 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
105 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
83 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
182 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
161 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
44 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
36 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
65 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
715 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
310 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
48 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
134 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
810 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
137 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
83 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
98 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
143 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
174 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) ...