Questions tagged [qgis-plugins]

Software plugins that add functionality to the QGIS package

Filter by
Sorted by
Tagged with
5
votes
2answers
1k views

How to populate QTableWidget via plugin?

I am attempting to populate a QTableWidget by adding rows, this is done by the user clicking on the add button: I have the following code to try and insert rows but nothing is happening: def ...
5
votes
1answer
3k views

Linear Referencing in QGIS?

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: materials used, skew numbers of equipment ...
5
votes
4answers
9k 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 ...
5
votes
2answers
826 views

Adding textbox to QGIS plugin toolbar?

I am trying to write a plugin with a input control such as textbox on it. I looked around quite a bit for building plugins. But I can only find examples of how to build a plugin with buttons/icons in ...
5
votes
2answers
363 views

How to change visibility when button is clicked again in PyQGIS?

I am trying to create button that change visibility of grouped layers. When person click button all layers inside group is hidden when is clicked again all layers are visible. So far i know how to ...
5
votes
3answers
8k views

OSM Place Search in QGIS not working anymore?

We've used OSM Place Search plugin daily with QGIS 2.2, 2.6 and 2.8 and it's been great. However, it stopped working last week for myself and several other inter-office users. We enter search text, ...
5
votes
2answers
3k 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 ...
5
votes
1answer
68 views

Customizing QGIS plugins

Is a user legally allowed to make changes to available plugins according to his needs? e.g. changing UI, code etc but not the licenses and other info.
5
votes
1answer
2k views

QGIS 3.0 - qConsolidate or similar plugin

It appears that the qConsolidate has not been updated for Qgis 3.0. Are there any alternative plugins/functions available for exporting all layers and saving the project to a new folder?
5
votes
1answer
1k views

Merging multiple vector layers to one layer with multiple geom types with QGIS

I have a situation where I need to merge a large number of spatial files into a single output with a free tool like QGIS, rather than FME or Alteryx. Along the lines of this post: Merging multiple ...
5
votes
2answers
329 views

Why can't I multiply values from column named 'length' using field calculator via PyQGIS?

I want part of my plugin to multiple value of length and add it to table.Basing on this question: How to use QGIS field calculator in python? , I made script that works fine for some filed: I can ...
5
votes
6answers
1k views

Qgis2Threejs returns empty page

When I try to make 3D scene from DEM with Qgis2threejs it creates an empty HTML page. I also try to make 3D thematic map from shapefile with the same result. I have also check my browser and it ...
5
votes
1answer
1k views

Finding GRASS module after upgrading QGIS (Mac)?

I upgraded from QGIS 2.10.1 PISA to QGIS 2.18 last week (via KyngChaos), and since then have not been able to run GRASS within QGIS - it appears not to be able to find the module. I had a look at ...
5
votes
2answers
792 views

QGIS: Jump to next feature (like in Atlas) [duplicate]

I would like to jump to next feature in my attribute table. I know this is possible with the "print composer" using "atlas". Is there any possibility to jump to the next feature in my attribute ...
5
votes
1answer
524 views

Keep UI Settings for a QGIS plugin

I'm writing a plugin that interacts with external software (hydrological models). One of the dialogs has a lot of entries (parameters to pass to the hydrological software). Once the user has set up ...
5
votes
1answer
4k views

Question about ArcGIS vs. QGIS for kernel density estimations

It appears from the QGIS documentation that the Heatmap Plugin can generate a kernel density surface from a point map and make use of the attributes of the original points to influence this surface ...
5
votes
1answer
2k views

Converting models from QGIS to Python scripts?

I want to automate some tools for QGIS 2.0.2 using Python. Previously I have used ArcMap for automating tools and now i want to use QGIS. In ArcMap I used the ModelBuilder, and more specifically the ...
5
votes
1answer
91 views

Contacting developer of QGIS plugin?

I want to give feedback to the developer of a non-core QGIS plugin. (Numerical Vertex Edit by Cedric Moeri, who seems to have no webpage for his plugins) I joined OSGeo Wiki but hardly know my way ...
5
votes
3answers
659 views

Exporting Vector Layer with OGR2Layers Plugin?

I'm using QGIS 2.0 Dufour on my Linux (Ubuntu 12.10).I'm download shapefile of Croatia country from this site (http://www.gadm.org/country) and i added a new vector layer where i created some polygons....
5
votes
1answer
697 views

How do I convert a QGIS 1.8 plugin to QGIS2.0?

I have developed a plugin under QGIS1.8 and now I want to make it work on QGIS2.0 I have chage qgisMinimumVersion into 2.0(originally 1.8) but QGIS2.0 still give me the error say This plugin is ...
5
votes
3answers
2k 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
169 views

What happened to the changelog on QGIS 3 plugin info page?

In QGIS 2.X the changelog from the metadata.txt was/is displayed on the plugins info page (and besides, the info whether a plugin is trusted or not): In QGIS 3 I miss both informations: Users are ...
5
votes
1answer
425 views

(X,Y,Z) Coordinate tracking in QGIS

I am working on a Python script which will give me the x,y and depth coordinates in QGIS. I have depth as an attribute of the raster layer. My objective is to get a status bar which shows x,y and the ...
5
votes
1answer
799 views

Clipping raster with mask in QGIS gives AAIGrid error?

I am using QGIS 2.18.4 Las Palmas on Windows 10 (32 bits). I need to clip raster (TIF) 1 km resolution imagery files downloaded from MODIS using a shapefile mask of Argentina. To do so I tried to use ...
5
votes
2answers
603 views

Building custom form for QGIS in Python plugin?

I want a custom "QGIS 2.14.6 Essen" layer edit form in my own python plugin. I use layer.setEditForm( NODE_ui_path ) and layer.setEditFormInit('NODE.formOpen') Function NODE.formOpen does not work! ...
5
votes
1answer
534 views

QGIS Finding valves to turn off for water lines

I am wondering if there is a tool for QGIS that can do what I am about to describe. It might be in network analysis but I am not sure. I have used water gems but it does not do what I want it to do. ...
5
votes
2answers
2k views

Where is the “Add vector layer”-button in GRASS 6.4.4. plug-in QGIS 2.10.1?

I've just downloaded and installed the new version of QGIS 2.10.1 with GRASS 6.4.4. When opening a new GRASS mapset and importing layers, I missed the button "Add a new vector layer". I've updated ...
5
votes
3answers
2k views

QGIS Plugin for PostGIS versioning

Does anyone of you know a QGIS-Plugin for Versioning PostGIS-Data? I know there was pgVersion of Horst Düster but as far as I know this was not updated for QGIS 2.x (at least not for the "normal" QGIS ...
5
votes
2answers
481 views

Starting to write QGIS Plugin? [duplicate]

I'm taking my first steps in writing a plugin for QGIS by following this tutorial: http://www.qgisworkshop.org/html/workshop/plugins_tutorial.html There is not even any functionality in this code, ...
5
votes
1answer
7k 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 categories ...
5
votes
1answer
2k views

Loading older google satellite image with OpenLayers plugin in QGIS?

I am using the OpenLayers plugin in QGIS. I want to use the google satellite layer, but there is a cloud on the specific image. Is it possible to load one of the older google satellite images? ...
5
votes
1answer
69 views

Do I need to have QGIS installed on a machine to make use of it's python libraries?

I'm trying to make a simple stand-alone app to expedite the production of some site plan maps for my work. The maps are very formulaic, and follow a set template every time. With the QGIS libraries, I ...
5
votes
1answer
78 views

“Cannot find folder” error uploading QGis plug-in to official repository

I am trying to upload a QGis plug-in to the official repository. When uploading the .zip file I always get back this error message: There were errors reading plugin package (please check also your ...
5
votes
1answer
314 views

How to directly copy value from attribute table associated with a selected feature?

I need to copy the attribute value (only one particular attribute) of a selected point and save it in a text file. Is there any Python script or plugin which can do this for me? I need to save a lot ...
5
votes
1answer
223 views

PyQGIS SIGNAL call weirdness

I made a little plugin in QGIS, and I got some strange results. The program now mirrors the "Layers Panel". When I add or delete layers from the Panel the QListWidget module get the names of layers. I ...
5
votes
1answer
450 views

Plugin not available : point sampling tool

I installed the QGIS Standalone Installer Version 2.14 (64bit). I created a map in the program called QGIS Desktop 2.14.3 with GRASS 7.0.4. I need one tool from Plugin : Point sampling tool. The ...
5
votes
1answer
27k views

Installing python xlw and xlrd libraries for QGIS on Mac OSX with Python 2.6

I am trying to use the XYtools plugin for QGIS (because copy-paste is not working with just one of my files?!), and I'm concerned that I actually just need to update my Python but not sure if doing so ...
5
votes
1answer
5k views

How to use QGIS plugin “Rectangles, ovals digitizing tools”

I installed the Rectangles, ovals digitizing tools-plugin, found it on the toolbar, but it's inactive. I made a layer to which I want to add rectangles, it's visible and editable... The plugin bar is ...
5
votes
2answers
7k views

Generating random points in selected areas?

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
489 views

Move plugin icon in QGIS version 2.19.0

Once a new QGIS plugin is selected and loaded from the "manage and install plugins" toolbar selection, the plugin automatically appears somewhere on QGIS' toolbar panels. Often, the new plugin icon ...
5
votes
1answer
927 views

How to fix QGIS Plugins crashing with “NameError: name 'pyplugin_installer' is not defined”?

I recently switched to Windows 10 and therefor did a clean Windows and QGIS 2.10.1 Install. QGIS worked fine, I reinstalled all Plugins, that I used to have. No Problems. Today I switched on the PC ...
5
votes
1answer
1k 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 = ...
5
votes
4answers
6k views

Making 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 ...
5
votes
3answers
3k views

How to setup a debugger for QGIS Plugin development?

As the title of the question implies, I wish to know how to set up a QGIS Python Plugin Debugger so that I can develop plugins more efficiently. Any information regarding this would be much ...
5
votes
3answers
1k views

How to measure the distance of multiple points to a line

I have two shapefiles 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 ...
5
votes
1answer
2k 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.
5
votes
1answer
203 views

Is it possible show the feature attributes dialog when I add a feature in code?

I want to know if it is possible to make the feature attributes dialog in Qgis show up when I add a feature by code using: QgsVectorLayer::addFeature( tFeature ) This is available when I add ...
5
votes
1answer
1k views

Processing R Provider plugin for QGIS 3.4

I downloaded Processing R Provider plugin (v.1.0.1) which allows us to use R in QGIS 3.4. Installation and settings were really smooth. This plugin automatically recognizes R installation folder and ...
5
votes
2answers
629 views

QGIS plugin, GeoSearch: Doesn't Search

I am trying to use the QGIS plugin GeoSearch. Every time I type in an address and hit search, nothing happens. When I first installed it a few months back, it worked like a charm, I dont know why one ...
5
votes
1answer
84 views

Is there still a qgis plugin wishlist?

I was wondering if there is something like a wishlist for QGIS plugins? The link on this page does not work anymore. It would be quite useful to know what people need.