Version 2.0 of QGIS (previously Quantum GIS)

learn more… | top users | synonyms

1
vote
1answer
49 views

Loading Natural Earth *.prj file into QGIS 2.10.1?

I have found solutions for this problem in other versions of QGIS, but none that apply to the newest version 2.10.1. Whenever I try to import a Natural Earth Raster projection that is a prj file I get ...
1
vote
0answers
25 views

Join tables in QGis 2.01. Dufour

I performed a "join" going to the properties option in a shapefile (in this case is just a table), in order to join the attributes from another shapefile that has a field in common, specifically ...
0
votes
0answers
18 views

Vector layers don't seem to be exhibited properly [duplicate]

I'm a veterinarian that uses qGIS for making basic outbreaks maps, and am trying to branch out and expand what I'm doing. When I first started using qGIS 3 years (I believe it was 1.7), ago, when I ...
1
vote
0answers
10 views

QGIS 2.0.1 Translate Feature

I have a layer containing linestrings and want to move those that are too close to each other. I seem to be missing something in the moving part though: layer = iface.activeLayer() def moveFeature ...
1
vote
1answer
27 views

How to style a vector layer in QGIS using hexadecimal color code stored in attribute?

I have a polygon shapefile storing hexadecimal color codes in a specific attribute. gid | label | color ---------+-----------+------------ 1 | Crops | #FF5F2C 2 | Forest ...
0
votes
0answers
14 views

Attribute Table Column to Python List (QGIS 2.0)

I have a column of strings in my attribute table and I want to create a list out of this column. How can I do this? my attribute column of interest (CompanyNam) looks like this: Eva Ela REW Scot ...
1
vote
1answer
58 views

Finding and deleting duplicate records in attribute table in QGIS

I have around 1 Lakh+ (100,000+) point features in my shapefile, which has some duplicate records in it. I had found the duplicate records present in the attribute table and print those in python ...
0
votes
0answers
40 views

How to link service areas to the original point data in Arcmap 10.2?

Using the network analyst tool in Arcmap 10.2, I want to link service area polygons to the original point data that inspired them. So I have data on the locations of several thousand retail sites and ...
1
vote
0answers
31 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
15 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
43 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
43 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
22 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
43 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
29 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
15 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
32 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
214 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
33 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
38 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
56 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
105 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
48 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
167 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
106 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
50 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
89 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
1answer
110 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
121 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
163 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
37 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
50 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
82 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
63 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
22 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
36 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
232 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
122 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
236 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
63 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
63 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
39 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
125 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
39 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
80 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
42 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 ...