Software plugins that add functionality to the QGIS package

learn more… | top users | synonyms

13
votes
3answers
6k views

How to programatically check for a mouse click in QGIS

I want to know how to check for a mouse click in QGIS. I am trying to write a python plugin and want to provide functionality similar to the "Select Single Feature" tool that already exists in QGIS. ...
12
votes
2answers
8k views

How to check Topology in QGIS?

I have two Shapefiles with Polygons ( City and Forerst) Is there a Plugin who is able check the topology (QGIS)? Like "Knots do not overlap" or something like that? I dont want that they overlap. ...
14
votes
1answer
2k views

Is there a way to access QGIS plugins in Python?

Is there a way to access QGIS plugins in Python? I'd like to write a script to do some geoprocessing, and I'd like to use the clip, regular points and convex hull tools in fTools, as well as the Road ...
4
votes
4answers
5k views

How to display special characters German “ÄÜÖß” in a map?

I have a shape file with names for Regions. These don't seem to contain special characters but ugly hyroglyphes. What can I do do display them correctly. If I import the shape as UTF-8 it doesn't work....
29
votes
1answer
28k views

How to install a QGIS plugin when offline?

Due to various IT policies at my workplace, QGIS is installed on a machine that is not connected to the internet. I wish to install a couple of QGIS plugins on this system. I have downloaded the ...
4
votes
2answers
4k views

Simple automated way to split all lines in layer at vertices using QGIS?

I want to automatically split all lines in a QGIS layer at their vertices (like this). I've done a google search and found this article, which is quite close but the workflow is complicated. Because ...
9
votes
2answers
447 views

Where to report QGIS and QGIS-Plugin bugs?

I often find bugs in QGIS and its Plugins. I would like to ask about this on the internet but I do not seem to find the proper place to address this issue. Are there any instructions?
16
votes
3answers
5k views

Visual Impact Assessment in QGIS or GRASS

Is it possible using QGIS or GRASS to perform a Zone of Visual Impact assessment? E.g. where can a 100m high structure be seen at a viewing height of 1.8m within 30km, taking into account elevation (...
5
votes
1answer
1k views

Is there a purge function to remove layers from a qgs file which are not present in the Layers pane?

I have some QGIS projects that I've been using for long time, adding and removing layers, updating reference to deleted or moved files etc. Opening with a text editor the qgs file I see that it ...
1
vote
2answers
3k views

Make a polygon from intersecting lines in QGIS, using Polygonize or similar?

In QGIS, I want to make polygons from a set of intersecting lines. Looking at the screenshot here, I want chop the purple line (it's a closed line, not a polygon) where it crosses the green and blue ...
4
votes
2answers
2k views

Programmatically load composer from template and generate atlas using pyQgis

I Am trying to build a plugin to load a print composer from file, generate an atlas and export to image. So far I have been successful in loading the template and exporting it to image. I have been ...
10
votes
1answer
736 views

How to call the interpolation plugin from the python console?

I would like to call the QGIS interpolation plugin function (TIN method) (Raster->Interpolate) from python console. I can't find the corresponding function within QGIS API or within the ...
4
votes
2answers
1k views

Get a pixel value

How can i do this operation: I want to get a pixel value fro the satellite image (Landat, GeoTIFF, 7 bands) using qgis-python. What operators should i use? (for example in qgis's Python Console)
6
votes
1answer
3k views

QGIS - export a project with dependencies

I was wandering if there was a way to save a specific project with all layers as dependent files to make it easy to share with collaborators. for example, create a zipped or non-zipped folder ...
9
votes
3answers
10k views

How to access QGIS Plugin Repositories from behind a proxy?

I have been trying to teach myself QGIS by using this forum and others to help. Most of my questions can be answered by downloading plugins that are available through 3rd party repositories but for ...
4
votes
2answers
2k views

How to install shapely for python 2.6 (Mac) NOT 2.7?

I'm trying to use Polygonizer plugin inside QGIS, but it needs Shapely to work. I've installed Shapely (pip install Shapely) but that's for python 2.7. QGIS works with python 2.6 (on Snow Leopard) and ...
2
votes
1answer
268 views

Plugins crashing with “No module named qgsprojectionselectionwidget” in Windows?

My Python QGIS plugin works on Ubuntu (at least for me, and all fatal bugs reported so far are solved), but when I run it on QGIS installed from the official 2.10.1 64-bit installer for Windows (on ...
7
votes
3answers
2k views

How to close watermarks window in QGIS Openlayers plugin?

I'm using Quantum GIS Ver. 1.7.4. I have upgraded openlayers plugin 0.7 to 0.9. However when I open google satellite, a watermarks/copyright dialog box "Data Peta@2012 ..." appear in the middle of the ...
2
votes
1answer
416 views

What is the purpose of some functions and files in QGIS Python plugins?

I'm just trying to understand the architecture of a QGIS Plugin created with the QGIS Plugin Builder, as well as the workflow and the linkage among generated files. If possible, I'd prefer a diagram. ...
8
votes
3answers
2k views

Where has the cartogram plugin for QGIS gone?

This plugin used to be downloadable from Carson Farmer's plugin repository page. However, the repository is broken. An old version of the plugin source code is still available at https://code.google....
3
votes
3answers
1k views

How to add QGIS Python API Intellisense support in Aptana Studio3/Pydev

I'm developing QGIS plugins using PyDev in Aptana Studio 3 and I would like to know if it's possible to make it aware of the QGIS API and add some "intellisense" functionnalities when programming. For ...
2
votes
1answer
625 views

QGIS Linear Referencing

I'm not sure how to ask this. Essentially; I work for a survey company doing gas lines GIS. We use QGIS. We create hand drawn sketches of pipelines containing all sorts of information including: ...
7
votes
1answer
3k views

How to remove a vector QgsVectorLayer from QGis python plugin

I managed to add QgsVectorLayer in QGIS through a python plugin, for example: vl = self.iface.addVectorLayer(uri.uri(), layerName, self.dbConn.getProviderName()) But how can I remove it?
6
votes
3answers
1k views

How do I set layer transparency in QGIS 2.0 with Python?

I have a raster layer loaded in QGIS and I'd like to be able to set its transparency via the Python console. I'm new to the API and have not been able to find out how to do this. Any help would be ...
3
votes
3answers
7k views

How to install Python libs for XYtools to read Excel files

I need to use the XYtools plugin to read an Excel file. After choosing the XYtools incon and indicating an Excel file to read in, a message appears "there is a problem with loading a python module ...
0
votes
3answers
733 views

Georeferencing window won't open QGIS 2.4

I had the georeferencer window open in QGIS 2.4 while project was running, I accidentally closed the Qgs document with the georeferencing window open (worked absolutely fine till then). When I opened ...
4
votes
2answers
5k views

Generate random points in selected areas for

I think my question is answered in different posts but I can't really make sense of them. Background: We are designing a survey of a sample population of farmers to identify the seeds they use. I ...
5
votes
1answer
1k views

How to programmatically associate a layer with a custom UI?

I know it is possible to associate a layer with a custom UI for editing feature attributes using the QGIS interface. But is this possible with Python? This link shows how to achieve the result ...
4
votes
1answer
619 views

When I change a QGIS plugin's icon, why doesn't it change in the menu/toolbar?

I've been writing a QGIS plugin (using the "Plugin Builder" plugin), and decided I wanted to change the icon (icon.png). After running make deploy to rebuild the plugin locally, the new icon appears ...
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.
2
votes
1answer
414 views

How to use the MMQGIS plugin through the Python console?

I know how to make Hub Lines using the GUI, I want to know how to do the same using the Python Console, a tutorial would be great. Thank you
12
votes
3answers
7k views

Is there a way to use “Select by Attribute” in QGIS using a python command?

is there a way to use the function "Select by Attribute" in QGIS using a python command? In my plugin the user should enter a value via a GUI and this value should be used in a function which selects ...
6
votes
1answer
6k views

What's the proper format for WKT linestrings when importing into QGIS?

I'm trying to run the following test CSV through the Delimited Text plugin as WKT data: oid,Line 1,LINESTRING((45.554194 -122.686101, 45.433001 -122.762632)) 2,LINESTRING((45.432505 -122.598327, 45....
4
votes
2answers
2k 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 ...
4
votes
1answer
2k views

Attribute editing in QGIS on geoJson file

We have vector files in the format of geoJson files. We need to keep it in geoJson format as it is picked up by mobile devices via Restful services. The problem is we want to change the attributes of ...
3
votes
2answers
1k views

How to connect a PyQGIS plugin with Postgres?

I have some questions for you: I created a python-plugin in QGIS, then I created a Qt gui fom my plugin and at last I created a Postgres DB now I need to make a connection between Qt-gui and ...
2
votes
1answer
132 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 ...
1
vote
2answers
116 views

Halting QGIS on startup until user is authenticated?

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 ...
1
vote
1answer
148 views

Using GDAL library in QGIS plugin?

i've been working on my project to create QGIS plugin for raster analysis purpose. It will be easier if we use gdal library. Are we able to use gdal library to develop QGIS plugin? If so, how do ...
0
votes
1answer
72 views

Exporting Raster from SAGA and importing it to QGIS - error CRS was unidentified

I make raster files from LiDAR las files in SAGA - CRS of .las is Slovenian national Grid. Then i export it as GeoTiff (Import/Export - GDAL/OGR - Export GeoTiff). When i import it into Qgis (Project ...
8
votes
3answers
1k views

no Get More in Plugin Manager in qgis 2 + ubuntu 13.04

After upgrade of qgis 1.8 to qgis 2.0 I couldn't find the choice "Get more" in Plugin Manager and I can't install plugins.
8
votes
4answers
15k views

How to export attribute table to Excel from QGIS?

I have seen all the questions for this question, and I try all the answer like copy paste, csv (in fact this I don't know where to find) but none of all is not the right answer. Can anyone help me?
5
votes
2answers
722 views

How to filter the MouseWheel event in a QGIS C++ plugin?

I’m developing a C++ plugin for Qgis and I want to filter/override the mouse-wheel event. I created a “maptool” to select a polygon feature on a vector layer, the feature has two attributes : an id &...
4
votes
7answers
2k views

QGIS plugin: Problems importing resources (resources_rc) file - plugin doasn't load - PATH problems?

I'm building qgis plugin and I can't find solution for this error. File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 478, in _import mod = _builtin_import(name, globals, locals, ...
3
votes
4answers
362 views

Plugin causes QGIS to crash on startup

I get the message "the plugin will be disabled because it crashed QGIS during last startup." Which plugin? None is identified. I'm a bit of a rookie so not sure where to look to solve this. Running on ...
3
votes
3answers
615 views

How to install the QGIS Statist plugin in Mac OS X?

I'm trying to install the Statist plugin. I'm running MacOSX 10.7.5. with Python 2.7.3. and Numpy 1.5.1. I have also installed matplotlib 1.1.0 (for python 2.7). When I try to install the Statist 1....
3
votes
2answers
947 views

”No module named ogr” when installing QGIS plugins

In QGIS 2.6.1, when I try to install the FlowMapper and QGIS Cloud plugins, I get an error - "The plugin is broken. Python said: no module named ogr" - giving me the only option of removing them. ...
3
votes
2answers
1k views

QGIS 2.0 Plugins missing [duplicate]

At the risk of a series of downvotes but I have just installed QGIS 2.0 after using 1.7.4 and 1.8 previous. It looks great but there are a lot of plugins missing. I understand from the install that ...
2
votes
1answer
1k 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 ...
2
votes
0answers
44 views

Set Snap Mode with PyQGIS

I am trying to set snap mode within QGIS plugin. So far, I have tried: QgsSnappingUtils().setSnapToMapMode(QgsSnappingUtils.SnapAdvanced) and QgsSnappingUtils().setSnapToMapMode(2) without ...