Software plugins that add functionality to the QGIS package
0
votes
0answers
15 views
QGIS Plugin Development - Displaying Data from a feature
I want to display data based on the feature currently selected/clicked on.
I am following a tutorial from http://www.qgisworkshop.org/html/workshop/plugins_tutorial.html.
It initially shows you how ...
0
votes
1answer
15 views
How to use expression in QgsVectorlayer label by using python?
how to show the two field values as a label on features. I have done it for a field called "ErrorDescr" with this i need to show another field values. Other field is "MarkerId"
...
2
votes
1answer
32 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?
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 ...
3
votes
1answer
73 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 ...
0
votes
1answer
26 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
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 ...
2
votes
1answer
63 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 ...
5
votes
1answer
102 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())
...
0
votes
0answers
17 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 ...
1
vote
1answer
118 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
1answer
21 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 ...
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 ...
0
votes
0answers
16 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 ...
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 ...
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
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..
...
7
votes
3answers
200 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 ...
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
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
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
...
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 ...
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 ...
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 ...
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 ...
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 ...
0
votes
1answer
55 views
What could I do to make QGIS find all the plugins?
I'm starting to use Ubuntu 12.10 and would like to get my QGIS running on it. Installation was fine but when I tried to add a package called Points to Paths the Plugin Manager was unabled to find it. ...
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 ...
0
votes
0answers
58 views
question on terrain analysis in qgis particularly slope from .5 m dem
Trying to create representative slopes from .5 dem. It seems to do a wonderful job with the stream bottoms and also with the general trends. It shows it to be steep where steep and flat where flat. ...
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 ...
3
votes
3answers
76 views
How to match air photo to existing vector layers on Mac OS?
I'm trying to add an air photo to a project and match it to existing data. CanVec data is mostly based on the old CIA dataset of the 60's and is hopelessly out of date, but the roads are up to date - ...
1
vote
1answer
83 views
Rpy2 Unable to Load in Fresh QGIS Install
after installing qgis the a message given below is shown
Unable to load the plugin: Unable to load required package rpy2.
Please ensure that both R, and the corresponding version of Rpy2 are ...
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
54 views
How do you Select an existing vector Layer and Edit it, using python?
I'm developing a small plugin that needs to be able to select a vector layer programatically based on what layer the user has selected. However I'm not sure how to do so.
I believe I found the two ...
8
votes
1answer
223 views
How to create a Human Trafficking Heatmap in QGIS?
I'm trying to create a heatmap with about 325 points distributed around the city of Houston. (FYI Houston is a major human trafficking in the US: a title shared with LA and Atlanta depending upon ...
1
vote
0answers
29 views
QSpatiaLite: Cannot create table
I am running QGIS 1.8 (SpatiaLite 3.0.1) and QSpatiaLite 6.0.1.
I have a spatial table EventPrecise (with geometry column p in EPSG:4326). I want to join this table with another, non-spatial table ...
0
votes
0answers
11 views
QGIS clipping points [duplicate]
I'm attempting to do collect points within a buffer polygon layer, very simple. I started getting this error message. I have no idea what it means. The polygon layer was constructed in QGIS 1.8. I ...
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
108 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
65 views
Get feature while editing
I have created my custom form for features editing, using layer.setEditForm("form.ui") and layer.setEditFormInit("init") properties. init method receives dialog, layerId and featId as arguments. ...



