Software plugins that add functionality to the QGIS package

learn more… | top users | synonyms

1
vote
1answer
129 views

qgis refresh button for attributeactions

QgsVectorLayer* vLyr=static_cast<QgsVectorLayer*>(aktLayer->qgsLayer); vLyr->actions()->addAction(QgsAction::ActionType::OpenUrl, "Link im Webbrowser öffnen", "[% "+sAttribute+" %]" , ...
2
votes
1answer
81 views

Tool Bar visibility in PyQGIS

I am creating a plugin for Qgis 2.6 and when my plugin loads up i want to disable the visibility of some of the tool bar. I was able to set the visibility for various tool bars like ...
3
votes
1answer
68 views

QGIS Select overlapped feature

I have points that are not equal but the distance between them is so small that it can't be seen even at scale 200k:1. I calculated the distance between these points and add it as attribute. Now I ...
2
votes
1answer
106 views

QGIS 2.6 Diagram Overlay plugin

I'm not able to find the "Diagram Overlay" plugin in QGIS 2.6 (OS X) from the Manage plugin list. Could anyone help me to download it?
1
vote
1answer
76 views

How to make a Standalone QGIS application run as an exe file

I had made a simple standalone application and that works fine. But the user have to execute a batch file(inside in which I had set the QGISHOME path, Python path and call my main python file) to run ...
1
vote
1answer
24 views

How to make the toolbar icon visible in the target machine without changing the path

I had done a simple standalone application that loads a shape file and does some basic actions like zoom in, zoom out, pan etc in the viewer. In my python file, I had set the icon path for all these ...
1
vote
0answers
110 views

QGIS Plugin Import Error on QGIS start

I have been getting a bit of an odd error when starting QGIS concerning the loading of one of my own plugins Traceback (most recent call last): File "G:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", ...
2
votes
1answer
81 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 ...
1
vote
1answer
67 views

How to export georeferenced Raster layer using QGIS2Leaf Plugin?

I got excellent results while exporting vector layer with styling through qgis2leaf plugin. Whereas when I try to do the same with a geo-referenced raster file (geotiff) which has a projection of ...
1
vote
0answers
48 views

PyQgis: Load qlr files

I have a plugin that loads a Raster image and selects the correct base maps to use. The Raster image load with no problem, but my base maps will not load. I have create a qlr, which has 5 references. ...
0
votes
1answer
98 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 ...
1
vote
1answer
135 views

QGIS Azimuth and Distance plugin length issue

Relative newbie to QGIS and trying to figure out exactly what I'm doing wrong. A couple days ago I had azimuth and distance working perfectly. I was using it in a different project with different ...
2
votes
2answers
71 views

What exactly to write inside legend_exp column so that color Legend is seen in Qgis2Leaf?

I am new to qgis2leaf. I am getting the through qgis2leaf plugin. But as one can see i am not getting a color legend. I need to get the colors of bldg_use so that the map becomes readable. I needed ...
1
vote
1answer
253 views

Easy Custom Labeling plugin - Cannot find leader lines/arrow button

I have installed the Easy Custom Labeling plugin but the toolbar is nowhere to be found. I have checked the box "Activate experimental plugins" in the Plugins' "Settings" menu. Does anyone know what I ...
3
votes
1answer
155 views

How to prevent users from removing QGIS layers?

I need to prevent users from removing layers. In my plugin code I use the following to achieve that: QgsMapLayerRegistry.instance().layersWillBeRemoved.connect(self.dontremovefunc) def ...
5
votes
3answers
1k 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 ...
1
vote
0answers
106 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
1answer
108 views

How can I get features that satisfy a QgsExpression using PyQGIS?

I have two fields say "State" and "name" which would be get from the two comboboxes. After which, based on the current text in the combo box, I want to make QgsExpression and feature that satisfies ...
1
vote
0answers
43 views

QGis plugin to django. (APP to webAPP)

My question is what is the best aproach to make a qgis plugin using qt(python) and use that same app and integrate with a django project so it could be possible to put that app on the web with the ...
0
votes
0answers
76 views

Is PyQt4 'drag and drop' functionality available in Qgis Plugins?

In Qgis 2.8, is it possible to use the PyQt4 drag and drop classes (dragEnterEvent, dropEvent) to interact with items from a qtreeview, in a Python Plugin? Is it possible to hook into the ...
1
vote
0answers
18 views

QGIS WPS plugin misses one parameter

I set up a Web Processing Service with 52°North and GRASS (using the wps-grass-bridge). All went smooth and I get a proper DescribeProcess for i.cluster. As you can see, I need to give the parameter ...
1
vote
2answers
203 views

How to manage the CRS of Open-Layers plugin in QGIS?

I am working with OpenLayers plugin in QGIS 1.8 but I am not sure on how should I manage thc CRS. The defaul CRS for Googles/Bing layers is WGS84/Pseudo Mercator (EPGS:3857) but I am not sure on the ...
0
votes
0answers
28 views

Georeferencer does not open when clicked

Since a week my raster georeferencer is not opening when I click it. I have made sure it is checked in the plugins collection and have tried re-installing the newest version of QGIS, yet also in this ...
0
votes
3answers
702 views

Calculating MCP in QGIS

QGIS 1.8.0. Scipy installed. Statsmodels installed. Using Sextante to try to calculate MCP. When I run the MCP calculation from the Toolbox, a layer is added to the file, but the layer doesn't ...
2
votes
1answer
55 views

View feature space for multi-band files

I am trying to plot a feature space (scatter plot) for some SPOT images in QGIS 2.8.1. I know a histogram is available in the file properties, but I want to plot eg. Band 1 vs Band 2 to see the ...
1
vote
0answers
30 views

QGIS plugin saving layerstyle

I tried to use: Error = "" vLayer.saveStyleToDatabase ("styleName", "description", True, "", Error) in a python-plugin for QGIS 2.6 to save the data but no success. No error is written. First of ...
3
votes
2answers
88 views

Loading Grass 7.0 vectors in QGIS broken?

Running QGis 2.8.1 in Win7 (64bits), installed through OSGEO4W. When trying to load a Grass 7.0 vector file in QGis, the program will simply crash without any notice. I can load old Grass vectors ...
1
vote
0answers
156 views

Qgis 2.6 and 2.8. Custom form and Init function

I try to apply the good tutorial written by Nathan "Custom feature forms with Python logic". I try his sample on qgis 2.6 and 2.8. I altered the sample to allow field initialization by setting ...
0
votes
0answers
162 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 ...
1
vote
1answer
53 views

how to generate metadata file for semi automatic classification plug in?

I am working on satellite images. The region I am interested in is only a fraction of the whole satellite images. My laptop slows down tremendously when working on the whole image. So I clipped the ...
2
votes
1answer
1k views

Opening Esri Personal Geodatabase (*.mdb) using QGIS 2.6?

Is it possible to open an Esri Personal Geodatabase (*.mdb; ArcGIS 10.2) in QGIS 2.6? Previous versions were right.
1
vote
1answer
47 views

No expected output when accessing variable from one function and using in another fucntion

I have a function say selectedfeatures this function would be called when a selection changed event happens in mapcanvas. self.canvas.selectionChanged.connect(self.selectedfeatures) ...
0
votes
1answer
36 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 , ...
2
votes
1answer
88 views

How to define an event for features selected in mapcanvas in qgis using python

I have created a push button, when it is clicked it calls the function 'selectfeatures'. This function will call the Select feature by free hand tool of QGIS and allows the user to select features in ...
1
vote
0answers
26 views

Problem with QGIS Heatmap Plugin [duplicate]

I am experiencing some issues with the Heatmap Plugin (0.2) on QGIS 2.8.1, and I wanted to double-check if I am doing something wrong, or if there is some sort of bug lying around. As a background, I ...
0
votes
0answers
60 views

QGIS 2 leaf plugin - How can I receive legend in Czech language - letters with diacritics missing

I am using QGIS 2 leaf plugin and on the web my index.html don't show in the legend letters with diacritics. When I see the html code there is . It doesn't enable languages like the Czech language? ...
3
votes
1answer
66 views

Need to Quickly Add Multiple Layers From Multiple Folders To QGIS Project

I have downloaded several imagery Zip files (content of each is jp2, jpg, jpw, xml, htm, and .dbf, .prj, .sbn, .sbx, .shp, .shx) and would like to quickly add this imagery to my working project in ...
1
vote
0answers
27 views

QGIS plugin : connect to polygonselect Maptool signals

Working on a new plugin I am trying to connect a custom function to the mouse right-clic signal while using the polygon selecting maptool. I have activated the maptool through : def run(self): ...
3
votes
1answer
117 views

Error writing memory layer to shapefile in QGIS

I have created a memory polygon layer in my QGIS plugin. Then I added a buffer based on a point. I can see the ploygon memory layer in the map canvas and I can save it to a shapefile from the main ...
0
votes
0answers
50 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 ...
0
votes
0answers
26 views

Change programmatically to RuleBasedRenderer

After loading a shape as layer in qgis i want to use a rulebased renderer instead of the categorized one. i've tried this code: QgsVectorLayer* ...
1
vote
1answer
40 views

Initalize plugin with current working directory?

Upon starting Qgis, a (currently under construction) plugin needs a means of checking the current project/legend/registry. This checksum would ideally occur upon startup automatically. As the plugin ...
2
votes
1answer
83 views

PyQGIS: Is it possible to replace an action triggered script by one supplied through a plugin?

In ArcView 3 all controls (menu choices, buttons, tools) had scripts associated with them that could be changed simply by supplying a script with the same name through an extension (plugin). That way ...
1
vote
1answer
31 views

Openlayers plugin not displaying any source

I was previously using QGIS 2.2 and using the openlayers plugin to display google streetmaps on an area. Reopening the project several months later I found that this layer no longer displays. In fact ...
1
vote
1answer
63 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 ...
5
votes
3answers
264 views

Alternative to OpenLayers plugin for QGIS?

Are there any alternatives to OpenLayers plugin to have Google / Bing maps for QGIS projects? I need an high quality cartography (both aerial and street view) but OpenLayer plugin do not allow to ...
1
vote
1answer
122 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
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 ...
0
votes
0answers
41 views

How to create custom input widget using Plugin builder?

I am trying to develop a plugin that takes in user input for the time, using the QGIS plugin builder. However, I want to specify the different times the user is allowed to select from when the plugin ...
1
vote
1answer
147 views

Save Vector layer and update .qgs project file (pyQGIS)

need help to solve the following use case: QGIS started with new project (no layers) New layer is created programmaticaly and data is populated: vl = QgsVectorLayer("Point", "temporary_points", ...