Software plugins that add functionality to the QGIS package

learn more… | top users | synonyms

2
votes
1answer
399 views

How to fix “Couldn't load plugin …” and “ImportError: No module named …” in QGIS plugins?

After installation of Quantum GIS I tried to use Table Manager Module, but I can't do it. Here is the message: Nem tudom betölteni a 'tablemanager' modult innen: ['C:/PROGRA~1/Quantum GIS ...
1
vote
1answer
150 views

How to call default tool in QGIS inside plugin using python script?

I want to create a plugin which can draw irregular polygons in QGIS. For that, I want to call the Select features by freehand default tool inside my plugin. How can I do this within a python script?
1
vote
1answer
201 views

Plugin of Multiple buffers in QGIS

I hope to create a plugin to do multiple buffers in QGIS. This is my script: """/*************************************************************************** izisse_test ...
1
vote
3answers
269 views

What is the math behind rasterization?

I'm taking the first steps in QGIS (version 2.2 Valmiera) and I am having some difficulties in knowing what mathematical criterion that QGIS uses when converting polygons (shapefile) to raster. I'm ...
1
vote
1answer
654 views

How to make GRASS and SAGA tools capable to use in QGIS?

I installed QGIS, GRASS and GDAL by OSGeo4w package, and as I finish the installation, I want to use GRASS tool, I face this problem: But I already installed GRASS and SAGA, how to make those tools ...
1
vote
2answers
1k views

How to avoid “Handle bad layers” message when using QGIS Flowmapper plugin?

In QGIS, if I close a project and try to open it a few days later I often get a message that says "Handle bad layers". This is very frustrating because when I open the project various layers will have ...
0
votes
1answer
97 views

Halt QGIS on startup

I have a custom made login form in Python, which launches on QGIS startup. But before the user has a chance to enter the credentials, the program starts normally, bypassing the form. From then on the ...
0
votes
1answer
663 views

GRASS in QGIS not working (windows XP)

I am unable to use GRASS algorithms in QGIS 2.0.1 (on windows xp). I've already configured the GRASS path. The algorithms seems to work correctly (I cannot see errors in the log), however in the end ...
0
votes
1answer
642 views

get wkt from geometry in lat lon format

Using the plane geometry editor plugin in qgis 2.0, WKT representation of a feature is shown. The result is in the lon1 lat1,lon2 lat2 format. e.g. POLYGON((85.43523762804622379 ...
-1
votes
1answer
127 views

why Semi-Automatic Classification plugin installation failled repeatedly?

I successfully downloaded Semi-Automatic Classification plugin installer OSGEO from http://download.osgeo.org/osgeo4w/osgeo4w-setup.exe. But it respond that it couldn't the installation. Again I ...
4
votes
1answer
192 views

how to open second window in my plugin for QGIS?

I create a Mainwindow for my plugin, but if I want to open a second window from this Mainwindow, with click on push button. How can I do? I tried the following function in my Main Class: dialog = ...
4
votes
1answer
792 views

Snap points to line and calculate chainage using Open source GIS

I have a line layer (representing a pipeline) and a points layer (representing valves) and I would like to calculate the chainage of the valves along the pipeline. I assume that I would first need ...
3
votes
1answer
767 views

How to get a layer by name in PyQGIS?

I have a plugin which finds buffer for list of cities, provided the distance. The state and city names are taken from the attribute table and gets filtered accordingly. What I want is My plugin should ...
3
votes
2answers
360 views

How to handle PostgreSql 1:m relationship data by using “Data-Driven Input Mask” QGIS plugin?

I have 1:m relationship tables in my PostgreSql. I like to show the main table attributes as well as the relational table attributes (like grid rows) in QGIS attribute-edit-form. What are the entries ...
9
votes
1answer
6k views

How do I maintain a resposive GUI using QThread with PyQGIS

I have been developing some batch processing tools as python plugins for QGIS 1.8. I have found that while my tools are running the GUI becomes non-responsive. The general wisdom is that the work ...
8
votes
3answers
3k views

How to extract slope from topographic raster map?

I am working on a project for a machine learning class wherein I extract features from a topographic raster map and then classify the traversability of the terrain. One of the features I need to ...
7
votes
1answer
3k views

How to transform a selected multipart feature into singlepart features while editing in QGIS?

There are several questions and respective answers for how to make a multipart features Layer into a singlepart features one using QGIS: How to break a single polygon into multiple polys? How to ...
4
votes
1answer
76 views

Is there a way to locate plugins in the QGIS gui programatically from pyqgis?

I've let my love of shiny new QGIS plugins get the better of me, and I'm finding it difficult to remember which menu / submenu / panel that a given plugin is in. I'm using well over 100 now, and going ...
4
votes
1answer
3k views

QGIS: How to load feature (.qml) styles from python? [duplicate]

Possible Duplicate: How to style a layer from console? I'm trying to set the styles for a vector layer by loading the .qml file in the python console. The qml-style file contains all ...
3
votes
2answers
114 views

Measure distances between specific features in QGIS for Desktop

I'm completely new using PyQGIS and developing plugins, and I would appreciate some orientation. Currently I have a layer with the X and Y coordinates of electric distribution poles, where each pole ...
3
votes
1answer
1k views

Handle add new feature event and/or access feature before commit?

Is it possible with PyQGIS to catch "add new feature" event before commiting changes on the layer? or at least to access new features before commit.
1
vote
1answer
888 views

How to add the attributes of selected features to my new layer in pyqgis

I am trying to create a layer from the selected points coordinates. I am drawing a circle to the coordinate of selected points. I also need to add initial attributes of my selected features to my new ...
8
votes
1answer
1k views

Is the use of Google Earth imagery via the OpenLayers Plugin in QGIS legal?

I understand the terms and conditions WRT use of Google Earth imagery in external applications are strict. Years ago ArcBruTile offered such service in ArcGIS the legallity of which was ...
7
votes
2answers
3k views

How to split an irregular polygon into equal areas?

I am a surveyor and use QGIS for maintaining soil test records on civil projects and am constantly provided with test lot area or number of lots required. These are more often than not irregular in ...
7
votes
5answers
16k views

How to install Openlayers plugin on Qgis 1.8?

After having installed Qgis 1.8 i am not able to find the Openlayer Plugin. In "the old days" I know I was supposed to check "add 3rd party repositories", but that button has disappeared? I tried ...
6
votes
1answer
465 views

Simulate (Mock) GPS Tracks

I have the following scenario: 1) I need to create GPX files for use in testing of a mobile device. 2) The tracks to be described within will span large distances over long time periods (i.e. it's ...
5
votes
0answers
73 views

Output formats for QGIS Heatmap plugin not appearing in drop-drown in Ubuntu

I've been trying to use the heatmap plugin on QGIS (2.8.2) on Ubuntu(14.04) but the drop down for the output formats doesn't get populated. Selecting the drop-down allows me to press OK on the plugin ...
5
votes
1answer
2k views

Save Visible WMS layer to file

Is there tool to save currently visible WMS layer to file in QGIS, or some place in QGIS where you can get needed xml to fetch it using gdal ?
3
votes
2answers
1k views

How to customize the QGIS GUI using Python?

Is it possible to hide/remove/customize the default UI of QGIS from a Python plugin? I want to add my own menus and toolbars and remove some included by default in QGIS. If it's possible, which ...
3
votes
1answer
191 views

Button to add a new line in a non-spatial table without opening the table itself using QGIS?

While using QGIS and having loaded a non spatial table (from PostGIS), is it possible to add a new row to its table attributes without having to open the attribute table first as in here Is it ...
2
votes
1answer
56 views

Adding multiple plugins to custom menu in QGIS

I am new to Python and QGIS and attempting to create some plugins to replicate in-house tools used in other GIS programs. I have added a custom menu using Python and added the plugin to the menu using ...
2
votes
1answer
45 views

Multi Language support for QGIS python plugin

Is there any method for python plugin in QGIS 2.8 to support multiple languages.(including .ui files that is call from this python).Please anyone can help i am new to this environment
2
votes
1answer
168 views

Viewer not displaying the data in my standalone PyQGIS Application

I tried creating a standalone external application of QGIS using python and I followed the tutorial mentioned in the link ...
2
votes
1answer
164 views

How to randomly select from existing points within each polygon?

I have a polygon layer (where each feature has a class attribute), and a point layer, and there are at least 10 points within each feature of the polygon. Is there a way to randomly select only "k" ...
2
votes
1answer
800 views

QGIS 2.0 Plugin: Select and Identify a Single Feature

given is a layer with some nodes on it and every node has some attributes(name, id, etc...). For showing up the informations of a single node I can use the "Identify Feature Tool". Choose the tool, ...
2
votes
1answer
194 views

Why does writing large shapefiles crash QGIS?

I'm trying to write large shapefiles with QGIS 2.0 API, using Python, which crashes QGIS. The data is composed of simple two point lines and a data table of five columns. A thousand features or so ...
2
votes
1answer
133 views

Keeping a vector layer always on top

I want to know how to keep a layer always on top of other layers! After adding a vector layer ( QgisInterface->addVectorLayer ), I want that layer to always be displayed on top of layers added later. ...
1
vote
2answers
903 views

How to copy attribute values of fields in selected features of one layer to another Qgis programmatically?

I am trying to get the values of attributes of the selected features of a layer field by field and copy to another layer that I created in qgis with pyqgis. Is here a example for this. Every example ...
1
vote
1answer
253 views

QGIS plugin WORKS under Windows but NOT under Linux. How to get fîle path properly under Linux?

I am currently working on a QGIS plugin which depits node to node discreet flows. Let' say adaption of Tobler's Flow Mapper to QGIS. Plugin currently tested and working under Windows. But not under ...
1
vote
2answers
333 views

Changing font size, when using the Easy Custom Labeling plugin?

I’m using the Easy Custom Labeling plugin. Useful plugin, but when I want to change the font size with the Layer Labeling Settings. Nothing changes, I can only change font size manually for each ...
0
votes
1answer
267 views

How to trigger a QGIS action when a plugin button is clicked?

I tried calling the select free hand tool by below snippet of code. iface.actionSelectFreehand().trigger() I dnt have any idea how to call this when i am pressing a button in GUI. my gui is ...
6
votes
1answer
2k views

How does Flow Mapper Plugin work?

I downloaded the Flowmapper plugin for Qgis and I can't seem to find any information on how it is supposed to work... Also the text seems to cut-off and not fully showing for the input fields so I'm ...
5
votes
3answers
2k views

Error when creating a new mapset with GRASS in QGIS

When I try to create a New Mapset with the GRASS plugin in QGIS I get an error or the program crashes. QGIS 2.6.1 (32-bit install, Win7). QGIS crashes completely when clicking "Finish" in the New ...
5
votes
1answer
91 views

How to add documentation for QGIS Processing algorithms?

In the Processing modeler, many of the algorithm help tabs say: Sorry, no help is available for this algorithm. In the QGIS sourcecode, the processing algorithms seem to reside in: ...
5
votes
2answers
600 views

How to run two versions of QGIS simultaneously

I really enjoy seeing the new features and icons of QGIS 1.9 nightly versions. It's looking fantastic, and some features are already very useful for my work. However, it is inherently less stable ...
5
votes
1answer
3k views

Is there a way to export QGIS layers to KML?

has had anyone had any luck with the new experimental plugin qgis2kml? I keep getting the error msg layer : format not yet supported I had a look but the author has not provided any documentation, ...
4
votes
2answers
135 views

How to build QgsExpressions in python?

How can I build a feature request expression using variable inside expression? For example values = [1, 2, 3] for j in range( y ): it = vl.getFeatures( QgsFeatureRequest().setFilterExpression ( ...
4
votes
1answer
327 views

getting a plugin path using Python in QGIS

How to get a plugin path using Python? I tried QgsApplication.pluginPath() I got u'/Applications/QGIS.app/Contents/MacOS/../PlugIns/qgis' But I actually store the plugin in ...
4
votes
1answer
228 views

Making QGIS buttons and my Plugin button mutually exclusive

I've added a toolbar to the QGIS main window and I've added some checkable buttons to the toolbar. How can I make my checkable buttons untoggle QGIS default toolbars' checkable buttons? That is, ...
4
votes
1answer
900 views

How to remove all selection from all registered layers using QGIS plugin?

I want to remove all selection from registered layer in QGIS using Python. I tried to clear the map canvas using: self.iface.mapCanvas().clear() self.iface.mapCanvas().refresh() but the ...