Version 2.0 of QGIS (previously Quantum GIS)

learn more… | top users | synonyms

1
vote
0answers
22 views

Remove inner rings from QgsGeometry polygon in QGIS Python

I am a QGIS python user. I want to iterate over the rings of a polygon to remove holes in the polygon, so: I need to iterate over the rings in a QgsGeometry polygon I need to detect the main ring ...
5
votes
2answers
80 views

QGIS Filtering Multiple Values using Query Builder

I am a complete beginner in QGIS, so I'm sorry if I don't use the right terminology. In the "Query Builder" I can currently filter on value from the "Values List", but I'd like to be able to filter ...
0
votes
1answer
19 views

How to do segmentation of full raster image using OrfeoToolBox

I want to do segmentation of raster image using OTB segmentation(mean-shift). But it is generating the ouput for only selected region or part of the raster image. So if i want to do the segmentation ...
2
votes
1answer
24 views

Reducing data on vector layer in QGIS

I use QGIS for GIS. Lately I had just too many points appearing on my vector layer and I will want to reduce them (100 for a given scale : min-1 and max 9000). With labels it works quite well but how ...
1
vote
2answers
18 views

Project file read error: Unexpected end of file at line 9957 column 1

On reading the answers from a similar question earlier i still cannot retrieve my project. I last used this project in June and obviously something went wrong when saving or creating the new layer ...
0
votes
0answers
28 views

GIS route creation from street names

I have a list of streets comprising 300+ routes. Each route (in text) lists 4-5 street names where the route should take place. I would like to create each route, that is, plot the street names and ...
3
votes
2answers
51 views

QGIS: Creating Circles Around Points Imported from a Excel File (Lat, Long)

I am new to the QGIS platform and have been experimenting with the tool. I currently have a Basemap layer and a Shapefile layer on top of it. Now, I want to import a .csv file containing (lat, ...
0
votes
0answers
30 views

How to get the polygon vs. Polygon Intersection Coordinates using python

I want to find the intersection coordinates between two polygons. aLayer = canvas.currentLayer() selection = aLayer.selectedFeatures() for geom1,geom2 in itertools.permutations(selection,r=2): ...
0
votes
0answers
32 views

Cant able to delete features of a table inside a public schema of postgre database

I have table inside a public schema of postgre database. And i did a connection to that database and load the table inside the public schema in QGIS 2.10.1. I changed the table to edit mode and tried ...
1
vote
1answer
56 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
26 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
33 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
16 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
72 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
43 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
40 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
19 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
24 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
57 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
44 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
50 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
17 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
34 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
277 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
41 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
59 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
120 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
53 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
201 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
107 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
59 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
95 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
120 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
138 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
168 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
52 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
95 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
67 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
236 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
132 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
288 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
72 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 ...