Version 2.0 of QGIS (previously Quantum GIS)

learn more… | top users | synonyms

1
vote
0answers
13 views

Converting *.adf files to *.xyz for XPSWMM?

i am trying to convert adf files to xyz files in order to import them to XPSWMM. i also need the elevation values. however, when i use QGIS to translate the raster files (adf files) to xyz these ...
1
vote
0answers
10 views

Plugin SWAP vector direction doesn't work in QGIS

I've installed plugin Swap vector direction in QGIS. But it doesn't work. I click and nothing. I need to flip lines (22 000 000 lines). In ArcGIS takes many hours and still flipping. I thought ...
1
vote
2answers
23 views

Pacific NW Projection Issues

The basic issue is that I have shapefiles saved in WGS84/Pseudo Mercator (EPSG: 3857) and some DEM data saved in NAD83/UTM Zone 10N (ESPG: 26910), but can't get them to line up. I'm using QGIS and ...
1
vote
0answers
31 views

Quickest method to show/hide labels in QGIS 2.8

In order to show or hide labels in QGIS 2.8, I currently right click a layer, select Properties, then Labels, then click the checkbox to show/hide, then click OK. This seems like quite a long-winded ...
1
vote
0answers
42 views

How to add a value to a raster in QGIS 2.2 modeler?

I want to add a plain floating point value as a user input (model input) to a raster. For example, I want to calculate +4.3 to each cell of the raster. I remember this can easily be done in ArcGIS ...
1
vote
1answer
20 views

Dragging Vertices in QGIS Edit

I am attempting to edit a linear feature layer and need to drag vertices at node endpoints to connect across slight gaps. In ArcMAp, it was possible to lock onto a vertex and drag it to a new ...
1
vote
1answer
37 views

In QGIS plugin, How do I determine when layer visibility is turned ON or OFF (changed)

I need to update a vector layer's data when the visibility is turned back on. My update does not occur when the visibility is off. To what signal do I need to connect to catch the visibility change? ...
1
vote
0answers
28 views

Distribute the points randomly within a polygon in QGIS

Say i have 20 points within a polygon. Each point represents a feature. out of which 15 were distributed and 5 points were one above the other in same location. Is there any way to randomly distribute ...
0
votes
0answers
14 views

Error in executing the command to integrate the antennas

Can somebody tell me why the program shows me this error: "ERROR:Error(s) while processing 'model' commands, exiting" when I execute the command to integrate 3 antennas into the map. I have integrated ...
2
votes
0answers
27 views

Researching into the nuts and bolts of displaying ESRI Grids in QGIS

I am trying to load an Arc/Info Binary Grid into QGIS 2.2.0 Valmiera installed in OS Windows 8.0. As far as I know, I only need to load the "w001001.adf" file contained in the "altitud" folder while ...
1
vote
3answers
156 views

How to create a compressed GeoTIFF with the QGIS Clipper tool?

I have a geo-tiff created by Pix4D which is about 375 Mb in file size. I have clipped it to a smaller area using Qgis 2.8(using Raster ‣ Extraction ‣ Clipper), and the output file is about 900 MB in ...
0
votes
0answers
29 views

How to extract the raster files from .prj?

I am interested in using Raster Calculator tool for which i need the desired raster files. But i came across a problem i.e. when i converted my vector files to raster and saved them they were saved ...
1
vote
0answers
33 views

Create a checkbox per loaded layer in a QGIS plugin

I want to create check boxes inside a listview in my plugin dynamically based on the number of layers loaded in QGIS. I would like to know is there any similar existing plugin in QGIS so that I may ...
1
vote
1answer
54 views

How do I create a spatial filter on a layer?

I have a layer that draws points in a PostgreSQL (PostGIS) database. The problem is, all points in the table are being drawn. I want to limit the points drawn to a spatial query. How do I limit the ...
0
votes
1answer
75 views

Standalone External QGIS Application using python [closed]

I am creating a standalone external Application of QGIS using python and i am following the tutorial mentioned in the link ...
2
votes
1answer
39 views

How to update a column in a layer with NULL currently to nearby value in QGIS?

Currently I have a layer with construction year attributes in it. Not all of these are filled out and I figure it is reasonable to update them with the construction year of the nearby elements as they ...
3
votes
3answers
141 views

Is it possible to perform automatic snapping of polygons in QGIS or ArcGIS?

Note: in the picture below white space between the polygons is blank space – it does not contain any polygons as a result of Intersect or Union functions.
1
vote
0answers
105 views

Buffer Csv gets repeated when more than one feature is selected in mapcanvas in PYQGIS

I have a function which will allow the user to select a feature or more features in map canvas and performs buffer for the selected feature(s) and writes the output to a csv file. I dont have any ...
1
vote
0answers
42 views

Closing QGIS custom form programmatically?

I have a custom form for entering and editing attribute values of a point shape file. I also added a button for deleting the actual feature. Deletion of the feature works fine and then I want to close ...
0
votes
2answers
84 views

Ls factor, flow accumulation, watershade, relief in Quantum GIS 2.2

I'm a beginner quantum gis. I want to make the LS factor of 30m DEM that I have merge and set the projection in wgs 84/UTM zone 49S (EPSG ; 37249). I'm having a problem when trying to create relief ...
1
vote
0answers
88 views

Unable to start modules in QGIS GRASS plugin (GNU/Linux Debian)

Recently, the Toolbox of QGIS GRASS plugin can't find modules in my GNU/Linux Debian. When I click on any module, the toolbox reports the message: Cannot find module x.xxx and, after, I have the ...
2
votes
1answer
111 views

How to create several maps showing different layers but the same area?

I know about the print composer's atlas generation tool, which allows users to create multiple maps that show the same layers/features but different geographical areas. What I am looking for is a ...
0
votes
0answers
149 views

Python Plugin not Working when I degrade the QGIS version from 2.8.1 to 2.0.1

I removed QGIS 2.8.1 from my system with Ubuntu 14.04 OS, as I was not satisfied with this version because it was crashing when I loaded data from my local server. Now I again installed QGIS 2.0.1 but ...
0
votes
1answer
35 views

Behaviour of Select Feature by Freehand tool in my own plugin

I am calling QGIS "Select Feature by Freehand tool" in my plugin. what it will does is it allows the user to select features in mapcanvas and i made a signal like if selection changed in mapcanvas , ...
0
votes
0answers
48 views

How to store a triggering action and events and call them when needed using python in qgis

Can anyone explain in detail how to store the triggering action or an event that take place in the mapcanvas in a variable and call the same when needed in python. Say for example,say i have ...
2
votes
0answers
77 views

QGIS-GRASS firespread simulation module [closed]

I'm trying to do some fire spread simulations in QGIS with GRASS fire spreading simulation module. QGIS ('Processing Toolbox' > 'Geoalgorithms' > 'Misc' > 'Fire spreading simulation') GUI. Already ...
1
vote
1answer
60 views

Plugin to run one function when run button is clicked

My plugin gui is attached below which has two functions one is selecting state, cities from the combo box and distance to be entered in the lineedit and the other is if we click a pushbutton it will ...
0
votes
0answers
21 views

Refreshing QGIS view [duplicate]

I've written a short python script for use in QGIS (currently using 2.8.1) to set the CRS for all loaded layers to OSGB 1936 / BNG. The script correctly sets the CRS but I have to manually scroll ...
-1
votes
1answer
34 views

List printing same values as a buffer output instead printing unique values

I have a list of features selected in the mapcanvas and for that selected features i am doing buffer and printing the feature names that are inside the buffer. While printing,all values in the list ...
4
votes
2answers
223 views

Difference between Feature and Geometry

This may be trivial question. I am new to GIS. Could any of you can brief me the difference between the feature and Geometry.
1
vote
1answer
99 views

Convexhull for selected features and performing buffer for the resultant convexhull using python

I have features selected on the mapcanvas. I want to perform convex hull for those selected features and save those in a memory or store it in a variable preferably and then want to do buffer for the ...
1
vote
1answer
169 views

QGIS-->rotate polygon by a numeric value

Is there any way to rotate a polygon or a feature by entering a numeric value in QGIS thx
0
votes
1answer
52 views

Set Relative Hyperlink to open windows explorer using Actions in QGIS

I am wondering how to solve this problem I am having. I am trying to make an action in QGIS when I click on my feature, windows explorer will display the folder for that feature. I have the folder ...
1
vote
1answer
47 views

Buffer for features selected in the mapcanvas and writing to csv file

I have some features selected by using "Select Features by Freehand" tool in QGIS and try to find the buffer for those selected features alone and write the city and state names within in the buffer ...
1
vote
1answer
59 views

How to do a buffer operation for a polygon drawn by the user using python in QGIS

I have a polygon drawn on the map canvas.Say the polygon would be drawn by using "Measure Area" tool in qgis.Now, I want to do buffer for certain distance around that polygon.I can see the below ...
-3
votes
1answer
35 views

Warning message needed when there is no specific layer instead of python error

In my plugin, when I click a button it will call the findTheCityNames function which is attached below and get features if there is a particular layer. What I want is if there is no specific layer in ...
-1
votes
1answer
98 views

Global name canvas is not defined

I am just trying to print the layer name using python in my QGIS plugin by following code. allLayers = canvas.layers() for i in allLayers: print i.name() It is saying an error: Global name canvas ...
0
votes
0answers
38 views

How to select the buffer region in map canvas in my plugin using python

I am developing a plugin which finds buffer by getting state name, city name and distance given by the user. The plugin works fine and writes the cities that matches the distance in a CSV file. What i ...
1
vote
1answer
28 views

Error while trying to replace a opened csv file with the newone in my plugin

My plugin does some basic geoprocessing functionalities and write the output as csv file. What i want is when i open some already writed output csv file in a writable mode and try to replace the same ...
3
votes
1answer
72 views

USA Contiguous Albers Equal Area Conic to miles

My data is in USA Contiguous Albers Equal Area Conic projection. How can I convert the USA Contiguous Albers Equal Area Conic projection to miles?
0
votes
0answers
26 views

Error in finding buffer

I am trying to find a buffer for city provided a state, distance and filepath to write as csv. What i am facing is that the name which i selected in the city combo box alone gets writed in the csv ...
1
vote
1answer
41 views

Removing the duplicate values in QCombo Box

In my plugin, there is a combo box which lists city names for a particular state. FOr example, if i chose a particular state and city will be some 20 names in the dropdown. But the first name alone ...
1
vote
1answer
47 views

How to compute buffers for certain features?

I used the following snippet of codes for finding buffer. def buffer(self): layer = self.iface.activeLayer() distance = float( self.dlg.DistancelineEdit.text() ) city = ...
3
votes
1answer
85 views

How to import fromUtf8 in QGIS?

# Declare instance attributes self.actions = [] self.menu = self.tr(u'&City_searcher_plugin') # TODO: We are going to let the user set this up in a future iteration self.toolbar = ...
0
votes
1answer
55 views

How to find length attribute form my all lines in my layer

I am a begginer for QGIS I have a column for the length of the lines, but don't know how to find it. Can anyone help me?
2
votes
1answer
94 views

How to delete a double feature in QGIS?

I am working with QGis, and I have a layer that has some double features. I want to delete one of them, but not both of them. How can I do that easily?
1
vote
1answer
33 views

if condition is false but output is true . what is the exact expression of greater than to bands value ('mjune@1'> 99.6:)

from qgis.core import * from qgis.gui import * from qgis.analysis import QgsRasterCalculator, QgsRasterCalculatorEntry from math import * from PyQt4.QtCore import QFileInfo import os from osgeo ...
0
votes
0answers
21 views

Newline appears after when converting shapefile to spatialite

I converted a layer from a shapefile format to spatialite. A line is added in the spatialite layer but record is not created in the attribute table (similar to multipart geometry). Shape file to ...
0
votes
1answer
89 views

Creating many-to-many table from intersection between two polygon layers in QGIS?

I have created a buffer around several points. I want to intersect this layer with a Census Tract layer. My end goal is to create a table that would list all the census tracts that intersect with the ...
0
votes
1answer
65 views

Loading all the vector layers in plugin

I have a list of vector layers loaded in the canvas of qgis. `layers = self.iface.mapCanvas().layers() for layer in layers: if layer.type() == QgsMapLayer.VectorLayer: ...