Software plugins that add functionality to the QGIS package

learn more… | top users | synonyms

2
votes
1answer
54 views

How to see print commands through Python Script while programming plugin for QGIS?

This might sound like a silly question. Is there a way that from running a custom plugin made for QGIS that a Python Shell can appear along when the plugin is run, like a debug screen. I'm asking ...
2
votes
1answer
31 views

QGis Plugin Licence

I would like to create a plugin using commercial software. Does the QGis licence permit this? Are there any restrictions on the licence I can choose to apply to my plugin?
3
votes
1answer
71 views

How can I programatically create and add features to a memory layer in QGIS 1.9?

I had a working plugin in QGIS 1.8 which read data from an MSAccess database and added it to a series of memory layers. There is some processing involved in the interim so I don't think simply using ...
1
vote
1answer
80 views

QgsVectorDataProvider.createAttributeIndex() fails in QGis 1.8

Adding an Attribute Index to a Shapefile fails for a Python Plugin in QGIS: For example - the following python Code in a Plugin ly = QgsVectorLayer(data_source, layer_name,"ogr") prov = ...
0
votes
0answers
6 views

Cut lines on each node and give them new start/end points for using shortest path tool accurate [duplicate]

I have to shapefile layers for a city. First contains the road network as lines the other one has point features for the nodes. Unfortunatley the single lines don't stop at each node, they often cross ...
-3
votes
1answer
54 views

how to call a function when I press the button? [closed]

def function(self): QMessageBox.information(self.iface.mainWindow(), QCoreApplication.translate('HelloWorld', "HelloWorld"), QCoreApplication.translate('HelloWorld', ...
0
votes
1answer
50 views

How to access the button on the form?

I have a form that appears when you start the plugin.How do I properly apply to the button on the form, so that when you click on the button performed "function". import sys,os import win32api from ...
0
votes
1answer
42 views

How to reopen a plugin-window in QGIS?

I am currently taking my first steps in playing around with programming a plugin in python 2.7 for QGIS 1.8. While my plugin does what it should, I would like to make it more userfriendly. At the ...
0
votes
1answer
25 views

Check if layer is a QGSVectorLayer from Python Plugin within QGIS

I am trying to extend some concepts in the QGIS Workshop tutorial. Basically, I would like to check if the layer is of type "QGSVectorLayer". In the QGIS Python console, I am able to type canvas = ...
0
votes
1answer
125 views

How to properly add a Python Module to a Plugin?

I've been trying to use a module that is installed in my local version of python, but whenever I open the plugin itself, it does not manage to locate said module. The module in this case is Noise ...
3
votes
1answer
94 views

How to measure the distance of multiple points to a line

I have two shapfile in QGIS to which I am trying to find the distances between. I have a shoreline which is a vector line and then I have hundreds of data points in the ocean. What I am trying to find ...
1
vote
1answer
97 views

How to Georeference a tiff with correct coordinate system

I am having difficulty in georeferencing an existing tiff (already has georeference information - but is out of alignment). Using the georeference plug-in I can create the map's GCP in the 4 corners ...
2
votes
1answer
61 views

How to access the road graph plugin in python?

I am developing a few scripts in Python for QGIS 1.8 to automate some geo-tasks and one of them would be to calculate the shortest distance from a hospital to each building in a town. I would like to ...
4
votes
5answers
7k 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 ...
0
votes
0answers
30 views

Is QGIS OGR plug-in data provider (based on Postgres) limited to 500 features in layer?

I developed a plug-in based on OGR. It works fine but when I want to add a vector data (using my plug-in) I get 1449 features (with 76 columns) in my layer. Then I select this layer and load it. ...
0
votes
1answer
33 views

How can I avoid UnicodeEncodeError when using geoprocessing tools in QGIS?

I have a shapefile, that I want to split with the "Split Layers by Field"-tool. Due to some umlauts (ä,ü,ö) there will be a python error as soon, as the tool reaches a feature with an umlaut. The ...
1
vote
0answers
82 views

'File is too big' error when uploading QGIS Plugin

I have written a simple QGIS plugin which zooms the map canvas to a user specified UK postcode. I would like to share the plugin but the csv file, which contains stripped down OS Code-Point open data ...
5
votes
1answer
100 views

How to create a dropdown menu in QGIS Toolbar with Python

I Have a set of some QAction in my QGIS-Plugin and they are created and added to the toolbar like this icon = QIcon(":/action1.png") self.action1 = QAction(icon, u"Action 1", self.iface.mainWindow()) ...
6
votes
1answer
436 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 ...
0
votes
1answer
62 views

Cadtools getting the distance in meters

While doing the parallel line method by using the cadtools its asking the distance in meters but i need the parallel in feet values(I need to enter the distance in feet values). currently we are using ...
1
vote
1answer
116 views

QGIS Plugin Windows

I have written a QGIS plugin (RTools) which acts mostly like a independent plugin (minimal interaction with QGIS core functions). On Linux both QGIS and RTools were build using QT 4.8 on Qt creator. ...
0
votes
0answers
16 views

'module' object has no attribute 'NullFID' issues installing QGIS Sextante

I have a problem installing the sextante plugin on linux debian. I get the following error: The plugin is broken. Python said: 'module' object has no attribute 'NullFID' I am new to qgis. Your help ...
1
vote
1answer
58 views

open QGIS project with parameters

I am looking at a piece of work to deploy QGIS as the standard within an organisation. There is an existing piece of software that I need to link to QGIS so that when a button is pressed within the ...
4
votes
4answers
110 views

How to display a “Save As” dialog for raster files?

I'm writing a QGIS plugin in python. I need to show a "Save as" dialog window in order to allow the user to select the path of the output raster file. Do I need to create a QFileDialog and manually ...
4
votes
1answer
54 views

Can I add entries to the layerlist context menu?

I am implementing a python based plugin for use with QGIS 1.8. Most of it's user interface is contained within a QDockWidget but there are some layer specific controls I would like to append to the ...
0
votes
0answers
19 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 ...
3
votes
1answer
245 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 ...
7
votes
2answers
193 views

How to run a spatial query with a raster and vector layer in QGIS?

I have a soil map (vector-polygon layer) and a map of the crops farmed in the same area (raster layer, from the US Cropland Data Layer). I would like to calculate for a given soil type, the surface ...
0
votes
0answers
15 views

how to reinstall QGIS contour plugin via OSGEO4W

recently reinstalled qGIS 1.8 and Grass 7 via OSGEO4W to fix problems with spaces in command modules for other features i want to use - recc'd on here and all went great. amidst the final steps of ...
2
votes
3answers
69 views

How to minimize the number of points in a polygon?

I'm building a web application that will be transferring polygons from server to client. Initially, the shapefile is coming from an external source that I have no control over. Often, I find polygons ...
5
votes
1answer
146 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 ...
7
votes
3answers
199 views

Howto setup and use a remote GIS workstation (QGIS,GRASS,PostGIS)?

I'm using QGIS (and sometimes GRASS and PostGIS) on my 2009 MacBookPro for my thesis project. I was wondering (during an endless batch generalizing in QGIS) if I can set up a server so I can work from ...
2
votes
0answers
48 views

Python Script that calls the Voronoi Polygons Function?

I've been looking to see if there was a way to call Voronoi Polygons function found in Vector/Geometry Tools, directly from the code but I have not found one. Does this currently exist? Is there a way ...
1
vote
0answers
69 views

Line to Polygon via Polygonizer in QGIS

My question is in the same vein as this one. I'm attempting to convert precipitation lines (Precipitación Media Anual) to a polygon for Mexico in QGIS using the Polygonizer plugin. After running the ...
0
votes
1answer
54 views

How to handle adding a PostGIS layer in pyQgis without saving password?

I'm writing python plugin and trying to find the right way to add PostGIS layer on the map without storing user password. After adding layer on the map, I strip out the password from uri like this: ...
0
votes
0answers
39 views

Command-line exporting QGIS layers to MapServer map file

I know about the QGIS plugin for exporting loaded layers as a MapServer map file, and I would like to know if there is a way to achieve this via terminal. I cannot find useful info on the web.. ...
1
vote
1answer
29 views

Is there any “proper” way of setting the viewport for QGis Time Manager?

I'm working on video visualisation for some geo data. Everything works fine for me except the viewport that the time manager plugin is using for image frames. It makes image frames size of actual map ...
1
vote
1answer
38 views

Removing Plugin Repository sites that fail to load

New here & to QGIS. Loading several plugins I noted that several sites seem to not load ( example "catais.org" or "GIS-LAB.info". Cannot actually find this site(s), I assume they are defunct, ...
1
vote
0answers
56 views

GRASS Plugin to QGIS error

I am installing QGIS and GRASS as part of an FOSS GIS class I'll be teaching this summer. I used the OsGeo4W installer. This installer has always worked flawlessly for me except on the machines at the ...
0
votes
0answers
101 views

How to fix Geocode plugin Google API Key errors in QGIS 1.8?

within QGIS 1.8 I am tring to use the "GeoCoding Plugin" (Author: Dr. Alessandro Pasotti) but it gives this error message: Traceback (most recent call last): File "C:/Documents and ...
1
vote
1answer
60 views

How to get vector feature by mouse location?

I'm writing a photo grouping plugin. My current problem can be broken up into "end goal" and "baby steps", because I think that's what I want. But if there's a way to get to the end by a different ...
2
votes
1answer
75 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 ...
2
votes
2answers
330 views

How to install DTclassifier for QGIS?

I want to install a dt-classifier plugin I have downloaded from a web page (http://gis-lab.info/qa/dtclassifier-eng.html). I unzipped it to the qgis plugin directory but it won`t show up in my plugin ...
0
votes
1answer
50 views

How to add the Delimited Text Plugin for QGIS 1.8?

I can't find the Delimited text Plugin- everything keeps telling me it's in the core build, but which core build? the Mac OS variant comes in multiple installers so without programatically unpacking ...
0
votes
0answers
30 views

How do I get XYtools to work in OS X 10.8

This is the first question I have asked here so I hope I am not asking in the wrong place. I have an installation of qgis (1.8 lisboa) and I want to use the XYTools python plugin. I have installed ...
1
vote
0answers
212 views

What do I need to build a C++ plugin on windows 7?

I want to make a plugin in C++ and I need to write and build it in windows (Im better with *nix systems). While I have skimmed the various updated C++Plugin docs I can understand if I need to build ...
0
votes
1answer
89 views

Is there a simple automated way (plugin preferred) to split all lines in a layer at their vertices?

Like the title said, 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 ...
3
votes
3answers
2k 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
0answers
19 views

EVent on a button - plugin qgis

Good evening everybody, I made a plugin on QGIS by using "Plugin builder". WHen i finished, i edited the ui file on Qt4Designer in order to modify the form, and puted a button. After that, i ...
0
votes
0answers
23 views

How to patch a revision from the repository to fix a bug [closed]

firstly: Apologies if this is simple and has been done to death, BUT i've been searching for ages and haven't found anything which explains how to do what should be quite easy. So! QGis gets into ...

1 2 3 4 5