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

learn more… | top users | synonyms

2
votes
0answers
100 views

Zonal statistics error: 0-d arrays can't be indexed

How can I fix the error 0-d arrays can't be indexed? This message appears after the tentative to use the algorithm Qgis Zonal Statistics. Detail: the algorithm worked very well several times and then ...
2
votes
1answer
68 views

how can I get the majority (dominant) class of a raster to an area (polygon) using qgis?

I have a vector layer with many basic units of planning (zones), a raster layer with three classes of geology and other raster layer of geomorphology with five classes. How can I update the ...
2
votes
1answer
145 views

QGIS crashing/failing when dissolving multiple shapefiles in a Python loop

I am using QGIS 2.10 (but I've also tried 2.8) to loop through all the shapefiles in a folder (those ending in .shp) and perform a dissolve function on each of them. However, when I run the following ...
1
vote
0answers
46 views

How does NULL data effect weighted mean calculations?

I am using QGIS. I've been calculating weighted means based off a database. The database was created by combining two different sets of Data together. The Attribute Table then shows Null values for ...
1
vote
0answers
43 views

Geometry Calculation in QGIS [duplicate]

I'm trying to calculate the area of some census tracts in qgis I go to vector -> geometry tools -> export/add geometry columns in the resulting dialog, I calculate using project CRS. What comes out ...
2
votes
0answers
419 views

Why does every raster calcuation I try return with NAN values?

I am trying to work with DEM rasters from the USGS using the raster calculator. I have tried to change the units from meters to feet using an expression such as: "ned10m45111h8@1" * 3.28 However ...
1
vote
0answers
158 views

How to define a custom function that returns value of a field in an unsaved form

Filter expression builder in QGIS 2.8 allows us to define custom functions using python. I'm intrested would it be possible to define a function which returns a value of a field in an unsaved form ...
2
votes
0answers
67 views

QGIS empty date field shows value in custom form

I'm trying to define custom form. Problem is with date field- form shows value even if it's empty. Is there a way to set it to show only the existing values?
0
votes
2answers
343 views

Does Processing plugin v2.10.1 not recognise SAGA?

Version 2.9.3 of the Processing plugin works fine, I can run the SAGA tools successfully. Updating the Processing plugin to version 2.10.1 results in SAGA disappearing entirely from the toolbox. The ...
0
votes
0answers
82 views

unable to use matplotlib in qgis using python

I have tried to draw graph using matplotlib i used this library in my qgis application but i got the error ImportError: No module named backend_qt4agg i used following code in my qgis python ...
3
votes
1answer
410 views

SAGA tool 'Relative Heights and Slope Positions' - What do results tell me?

I am currently trying to get in morphometry, using the SRTM 30m DEM. I was recommended to test the SAGA mudule 'Relative Heights and Slope Positions' (http://www.saga-gis.org/saga_module_doc/2.1.3/...
1
vote
1answer
145 views

Ranking Elevation using QGIS?

Can QGIS automatically find the lowest land-point in a country and when you would like to, find the second lowest, third lowest land-point and so on? And on that same coin, a software that could find ...
1
vote
1answer
202 views

How to link a pdf file to a specific feature with QGIS? [duplicate]

I'm trying to link a pdf to a parcel (see image: http://imgur.com/RbauB3v) where you click on one parcel and a specific pdf comes up and if you click on another then a different pdf comes up. I've ...
2
votes
0answers
59 views

What does “Information [18]: Select at least one signature” in the semi automatic classification plugin mean?

I am using the semi automatic classification plug in to classify vegetation and water in a satellite image. I create training shp and signature list. When i hit "classification preview" it gives me ...
0
votes
2answers
80 views

Spatial join geotagged images to preexisting point shapefile?

I have a layer of geotagged images (points with jpg thumbnail attachment), and another layer of different points (shapefile with various attributes). I would like to perform a spatial operation in ...
0
votes
1answer
29 views

Error during building an application c++ using api qgis 2.8

I have an apllication that need an object the object type is QgsSymbolV2 but i cannot do that : QgsSymbolV2 * lSymbol = new QgsSymbolV2(); because in the class qgssymbolv2 there is no constructor ...
2
votes
0answers
70 views

QGIS: distance matrix different outputs

In one of my plugins I would like to use the distance geoprocessing algorithm. When running this algorithm from the menu Vector->Analysis Tools->Distance Matrix I get a different output than running ...
2
votes
0answers
109 views

Data Upload Error for QGIS Cloud

I'm just taking a stab at QGIS Cloud to investigate it for a potential client, and I am pleased with the functionality of the web-viewer based on the sample maps. Although I cannot upload my own data. ...
1
vote
1answer
92 views

Efficiently Calculating Farthest Point from Origin

I'm trying to find a clever/efficient way to calculate the the farthest point from an origin, given a list of lat,lng points. For example, if trying to find the closest point from an origin I could ...
2
votes
2answers
403 views

How to create a zoomed in portion of a map in print composer?

I posted a question yesterday about troubles I was having with labeling (which are still plaguing me), but it hit me today that it would probably be easier for me to just create zoomed in sections of ...
4
votes
1answer
127 views

Point Coordinates Conversion with unknown system

I've been using QGis for few weeks now. Although this site always came very helpful, I can't find solution to my recent problem: I have few points, and know their coordinates in "WGS-84" and "ISN-93" ...
1
vote
0answers
58 views

Replacing white or black by alpha channel in raster in QGIS 2.8

I'd like to replace black or white in black and white raster in QGIS 2.8. I perceived that in some other raster where "nan" value automatically occurred and only white or black is being displayed.
3
votes
1answer
118 views

OpenLayers Plugin - Opencyclemap does not display correctly

It happened on version 2.6 and I was told it was my version that was the trouble, so I reverted to 2.2. The odd thing is, that it will usually work fine the first time I open the map, but it seems ...
1
vote
0answers
16 views

where are old function of qgssymbol

in the new version of qgis 2.8, in the c++ API and in the class QgsSymbolV2, a lot of function has been deleted, by exemple setfillcolor, setcustomtexture, setnamedpoint, setpointsize i would like to ...
2
votes
0answers
56 views

Setting constant input layer in QGIS modeler?

I have a model in QGIS where there are two vector layers that remain the same everytime I execute a model. Is there a way that I can configure my model so that these layers don't require the user to ...
1
vote
1answer
371 views

QGIS forms: How to limit available values in a dropdown field according to value selected in a previous field

I'm building a rather complex entry form for the layer stored in a PostGIS database. I have a following usage scenario: On several occasions i have dropdown fields which let user select a type of ...
3
votes
1answer
137 views

Problem with distance in QGIS

I start a new project with base on OpenLayers plugin but if I check the distance on QGIS with distance tool (I choose a straight road) I view 5.466m on QGIS and 4.300m on google (by walking). How is ...
2
votes
0answers
187 views

How to change the symbology of selected features in QGIS

In QGIS selected features are normally highlighted in a different color to draw user’s attention on the selection. The default color can be changed programmatically. As a nice to have my standalone ...
1
vote
0answers
62 views

calculate Z~F from polygon and raster

I have a polygon shapefile and raster layer. How I can calculate the elevation and area (Z~F) relationship for each polygon by using QGIS or ArcMap?
1
vote
0answers
24 views

Creating an Action using the Value column in Value Relation widget

I want to create an Action that would use the attributes (such as report_id and county) of a site_investigation_report feature to generate a file path to a PDF report. The county attribute uses the ...
0
votes
0answers
47 views

I am clipping my data points but the clipped layer is empty

I am new to QGIS and using QGIS 2.8.2. I have some points data of a whole town and I want to clip a specific region of data from it using a polygon layer. I am clipping my data points but the ...
4
votes
1answer
236 views

Raster to vector (polygons) with generalisation

I have created rasters showing different types of vegetation (bushes, trees, open land) with help from lidar data. Now I'm looking for a method to turn these images into polygons. I'm using a Mac ...
1
vote
0answers
55 views

New Issue with Open Layers Plugin Google Satellite - low res?

Recently I've noticed this issue with the open layers plugin google satellite layer where the imagery is dark and of a lower-resolution than it used to be. I frequently use this imagery with ...
10
votes
2answers
319 views

How to create dynamic leader lines?

I'm trying to create dynamic leader lines by using a PostGIS view in addition to the QGIS „Move Label“ tool. CREATE VIEW leader_line AS SELECT gid, ST_MakeLine(geom, ST_SetSRID(ST_MakePoint(...
2
votes
1answer
68 views

Get nearest node following segment

I am trying to get the nearest node from a point(Id 1) . The coordinates (lat/long) are input by an user . I am using some functions like pgr_nearest_node() or get_nearest_node() from get_nearest_node ...
2
votes
1answer
76 views

Labels shifting to different locations after I save from the attribute table

I just started working with QGIS, and I'm having a problem with my labels. I have figured out how to manually move labels for the points on my map (thanks to this forum!)--I have edited the attribute ...
1
vote
0answers
265 views

Removing pseudo-nodes using QGIS Sextante plugin?

I have a road network (vector) that i'm interested in carrying out some space syntax analysis on. Predictably my GIS data is in a pretty terrible state. For example, there are a bunch of roads on the ...
2
votes
1answer
350 views

QGIS: raster image georeference and overlay

I've created a grid and points in QGIS which I used to survey. Using a test image at the moment and I'm trying to fit this image as an overlay within a boundary. When I insert the image it has a white ...
2
votes
2answers
174 views

Can the QuickOSM QGIS plugin be used with Overpass QL (rather than xml)?

The QuickOSM plugin for QGIS can support users with the generation of new Overpass queries (for beginners on Overpass like me). It does this using the xml query language. I'd like to also be able to ...
1
vote
1answer
61 views

Extracting regional data from vector file in QGIS

In QGIS, I have a random points data (coordinates) with assign values I have plotted it in QGIS with CSV file and now I want to extract the specific region data. How would I do this? Please guide me.
2
votes
1answer
69 views

QGIS: regular points tool numbering

I've made a regular grid and regular points for a grid, I want to set this inside of a boundary so I have deleted the points outside the boundary. However, when I do this the ID still shows up ...
1
vote
0answers
31 views

problem when building a code under qgis 2.8 c++ api

i have this code QgsUniqueValueRenderer *lRenderer = (QgsUniqueValueRenderer *)pLayer->renderer(); QMap<QString, QgsSymbol*> lSymbolMap = lRenderer->symbolMap(); QgsSymbol *lSymbol = ...
1
vote
0answers
150 views

Cannot select linesegment in QGIS

Drawing a baseline in an attempt to make a grid. Have managed to draw baseline but cannot select using cad tools "select one linesegment" tool. Worked previously and I'm not aware that I'm doing ...
2
votes
2answers
108 views

Rotation field is missing in rule-based renderer in QGIS 2.6

I am trying to do rotation of point symbols in QGIS. I am working with rule-based renderer. In other types of classification there is a button advanced (for example in categorized renderer), where I ...
1
vote
1answer
66 views

How to convert/export a large number of attribute's information shapefiles to txt/csv format using a python script

I'm using the 2.8.1 Wien QGIS version. I have a large number (more than 5000) of shapefiles that I want to convert to a csv or txt files to extract, to tables, the atributte information. The ...
1
vote
3answers
157 views

What's the parameters of heatmap formula on QGIS?

I want to calculate the values by hand to know which parameters effect the result in the image, but i couldn't able to do that because i didn't understand it. I tried with 500 mt and 1000 mt radius ...
1
vote
0answers
37 views

Clip only works on some areas, and not on others, despite being from the same dataset

I have a shapefile of provinces (nxprovincias), and another shapefile of small, disconnected areas ("protected areas") that overlaps with the provinces. I want to easily calculate the total area of ...
3
votes
0answers
75 views

Printing a 1" scale from 2.8.2 Print Composer

I'm working on a small-scale site survey in qGIS, and for engineering purposes I need to print physical copies of the map that can be used with an engineering ruler. Basically, I need a way to print ...
3
votes
2answers
431 views

Inverted shading with polygons in QGIS 2.8

Is there a way to modify the style of a poygon .shp file so that everything except the polygon is rendered as shaded? EDIT: see these images if you have trouble understanding. I am going for the ...
1
vote
0answers
67 views

Problem running intersect vector processing with line shp file and polygon shape file

I have been trying to run intersect on two shp files, one is line, the other is polygon. Although processing appears to take place and a new shp file is created and added, nothing is visible. I have ...