Tagged Questions

Software plugins that add functionality to the QGIS package

learn more… | top users | synonyms

1
vote
1answer
38 views

Error in LineEdit when show parsing value as string

I m trying to make QGIS plugin to open xml, parse it and then show value i parse from xml to line edit, i use this code : from PyQt4 import QtCore, QtGui from ui_testparse import Ui_testparse import ...
0
votes
0answers
34 views

MMqgis geocode addresses as intersections

I'm using the plugin mmqgis to geocode some addresses. But in my database has some registered addresses as intersections, eg Av Av Test 1 & Test 2 Tested directly in Google Maps and did not ...
1
vote
1answer
143 views

models from QGIS 2.0.2 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 ...
1
vote
1answer
155 views

How to use Threads in PyQgis, mainly to keep UI active?

I'm trying to develop a plugin, which does heavy computations and as a result, user interface becomes inactive. I know that I should use threads to keep the UI alive (specifically, I have a progress ...
1
vote
1answer
155 views

How can i use python QGis network analysis library to calculate short path based on speed and distance?

I want to calculate and show short path from starting point to an end point in a qgis python plugin. in my research i stopped by an article about QGis network analysis library; ...
2
votes
1answer
79 views

How to edit a QGIS plugin GUI?

I have inherited a QGIS system from a former employee and my predecessor built a custom plugin for it. I now need to remove a single checkbox option completely from the UI for this plugin. Is there a ...
1
vote
0answers
42 views

How to include external libraries with my QGIS plugin?

I'm developing a plugin which makes use of "networkx" library extensively. However, networkx is not part of Python libraries pre-installed in QGIS. Is there a way to include this library with my ...
1
vote
0answers
41 views

Spatialite database creation problem (QGIS DB manager)

I am trying to create a Spatialite database in QGIS 1.8.0. Step one of instructions is: Right click on the Spatialite entry in the Browser tree and select Create Database. The Spatialite icon is ...
0
votes
0answers
16 views

Select Single Feature

I'm making a plugin in quantum gis 1.8 Lisbon. And I intend to select the value of fields in a table, when I click the mouse over a point. (Ie something similar to Single Feature Select tool). Does ...
1
vote
0answers
71 views

Programmatically modify layer datasource on project save event (QGIS)

I have a QGIS plugin which allows users to add WFS/WMS layers to the map. I would like to be able to scramble the user ID part (token) of the uri when the project is saved/closed and then use my own ...
2
votes
0answers
98 views

Programmatically change layer position in the table of contents (QGIS)

I am trying move/position a layer to the bottom of the TOC by using addTopLevelItem on all other layers. I unsure how to reference the layers as QTreeWidgetItem's. def bg_bottom_level_item(self): ...
0
votes
0answers
47 views

I'm looking for an idea to calculate shortest path in a line Vector layer using a starting point

I'm looking for an idea to calculate shortest path time in a line Vector layer using a starting point in a qgis python plugin based on distance and speed. is there a solution where i can get ideas? ...
1
vote
1answer
85 views

Unknown error concurring when developing QGIS 2.0.1 plugin in Windows 7

I am following the tutorial found here for developing a simple QGIS plugin within QGIS 2.0.1 installed on Windows 7. However, as I have began to try developing a link between the GUI and each the ...
0
votes
2answers
188 views

How to copy attribute values of fields in selected features of one layer to another Qgis programmatically?

I am trying to get the values of attributes of the selected features of a layer field by field and copy to another layer that I created in qgis with pyqgis. Is here a example for this. Every example ...
1
vote
1answer
46 views

In what ways has QGIS 2.x API changed making Plugin Builder Tutorial invalid?

I am working on the QGIS workshop Tutorial for QGIS Plugin Builder and notice that it is for QGIS 1.1. As this seems like a popular tutorial, in general, what are some areas of this tutorial that need ...
1
vote
1answer
197 views

How to add the attributes of selected features to my new layer in pyqgis

I am trying to create a layer from the selected points coordinates. I am drawing a circle to the coordinate of selected points. I also need to add initial attributes of my selected features to my new ...
0
votes
0answers
43 views

insertVertex giving false in pyQGIS

I have this code from my plugin which work in Qgis 1.8 and I am trying to make it work in 2.0. I want to insert a coordinate x and y into a polyline after the last entry. points = geom.asPolyline() ...
1
vote
0answers
23 views

Why is node tool deleting unselected points in lines?

I am freehand editing lines to a shapefile on Mac QGIS 2.2.0, and have my snap settings at vertex and segment @ 20 pixels. The lines are roadways and I have merged them all into one feature and merged ...
1
vote
1answer
191 views

PGRouting Layer plugin error in QGIS 2.2

I am trying to do some basic computations using the PGRouting plugin for QGIS, but I am getting this error all time: An error has occured while executing Python code: Traceback (most recent call ...
0
votes
0answers
38 views

Error openlayers plugin in qgis [duplicate]

I did the following steps: I put the projection in 3857 and I enabled the project on the fly Open a vector shape layer in the projection 4326 I enabled the openlayers plugin Clicked enabled ...
0
votes
0answers
17 views

Query from plugin that shows result on Map and in Attribute Table

I'd like to create a plugin that performs a static (no user input required) query that, based on a condition, selects all the features on the map and displays these in the attribute table. I have the ...
0
votes
0answers
25 views

What does this python error in terrain profile plugin mean?

I get this message when trying to create cross sections from a raster layer. It happens only when I try to plot from a selected polyline. When I choose temporary polyline, the plugin works fine.
0
votes
1answer
201 views

Replacement of QVariant and setAttributeMap in PyQGIS

I am updating a plugin for QGIS 1.8 to QGIS 2.x. I have the code below. The setAttributeMap does not exist anymore. I have replaced it with fet.setAttributes and it seems to work. When using ...
1
vote
0answers
34 views

Using QGIS ComboBoxManager: adapting for QGIS plugin

I'm looking for more guidance using the QGIS ComboBoxManager module (http://3nids.github.io/qgiscombomanager/). After finally getting the imports correct, I'm trudging my way through learning how to ...
0
votes
0answers
44 views

Check if Openlayer Layer is empty, caused by nonexistence of internet connection?

I use Openlayer Google street map as a base-map in my QGIS plugin projects. i want to check programatically if the layer is loaded or is empty and decide if i load my offline base-map instead of ...
3
votes
2answers
54 views

What is the closest CRS to “Meridiano de Greenwich”

I have a 1906 scanned map that I am trying to georeference in QGIS for Mac. The map has French and English lat-long, indicating them as either "Meridiano de Greenwich" or "Meridiano de Paris." I would ...
1
vote
1answer
448 views

How to create a dock widget correctly in QGIS plugin?

I am building a QGIS plugin and would like to use a dock widget. I have used QT creator to design the UI, with the object type being a QDockWidget. When the plugin is enabled in QGIS the dockwidget ...
0
votes
0answers
11 views

GarminCustomMap: crash without error

My GarminCustomMap crashes without an error. Im using qgis 2.2 on Xubuntu Precise. I tryed with different settings but after 2 - 6 seconds QGIS crashes without any error. What could be the problem? ...
0
votes
0answers
14 views

Every time I use the Distance Matrix my program stops responding

I get to the point of having all of my information in QGIS, and am attempting to save a .csv file in the Distance Matrix. I browse to an output distance matrix, click ok, the bar fills up to 100% and ...
0
votes
0answers
34 views

How to select Qgis features through Python Plugin

Hi I am very new to Python so this may be a bit basic. I am trying to find a way to select and zoom to the features in a QGIS layer. I have created a plug in and built a custom form. I have 3 ...
1
vote
2answers
90 views

How to number points along a line consecutively

I have a line and along this line I have different points which are max. 20m away from that line. Now I would like to number the points along the line, like shown in the grafic. Any suggestions how to ...
0
votes
1answer
36 views

Changing band for greyscale in plugin

I am trying to make a qgis plugin to change which band in a multiband data set (netCDF where the band represents time steps) is used for a grey scale rendering. The file works fine with manual ...
1
vote
2answers
407 views

How to set Eclipse and PyDev for QGIS when ArcGIS is installed?

I have got a lot problems with the configuration of Eclipse with PyDev in order to develop QGIS plugins. The situation is very weird and frustrating. I can import qgis module using Pyscripter without ...
1
vote
1answer
237 views

How to update a QGIS plugin for new version (2.2)?

The updates to QGIS 2.2 have been fantastic and I'm really liking the improvements to the interface, features and performance. However, it seems that some plugins have not survived the upgrade. ...
0
votes
0answers
14 views

location and mapset at Grass-QGIS

how can I indicate my drawings (unknown) location(coordinate) to GRASS at QGIS. because some time after importing the other vector or raster layers I hit an error regaring to coordinate issues. Thanks ...
0
votes
1answer
34 views

How to do a search in a line to a specific point

I'm using QGIS 2.0.1 Dufour. I'm working with a shape file made by a single line that represents a road with 30km. In that line I want to attach pdf files containing information about some points in ...
0
votes
0answers
38 views

QGIS plugin, extending plugin stub, instance has no attribute error

Update This is not an answer to why it does not work when the method is defined inside the class, but a workaround. Simply defining the method outside, prior to, the class (something that Evil ...
1
vote
2answers
71 views

How to use eVis to launch AutoCAD with a relative path?

I found this post, which leads me towards what I need: How to link to external files with relative path in QGIS actions? Now, I'm trying to use the eVis plugin to open .DWG and .DXF by launching ...
2
votes
1answer
326 views

Installing LASTools to QGIS on a Mac (or other LAS processing plugins)

I recently saw this link how to install LAStools toolbox to QGIS. The problem is that the instructions are only for Windows users. Now I wonder if it's possible to install LAStools on a Mac with QGIS ...
0
votes
0answers
84 views

OpenGeo Explorer connect to geoserver

Just a quick and easy question. I have installed OpenGeo Explorer as a plugin to QGis for publishing seamlessly to a web based geoserver (hosted through AcuGIS). I have pointed to the server through ...
0
votes
0answers
84 views

QGIS - Loading data by SQL-window in the DB-Manager is not working?

I have problems to add a subset from a PostGIS-table to QGIS by using 'load as new layer' in the SQL-window of the DB-Manager (QGIS-Version 2.2.0-Valmiera). I defined both the 'column with integer ...
0
votes
1answer
69 views

Purpose of “myPlugin_dialog.py” file created by QGIS Plugin Builder

I usually use QGIS Plugin Builder to create working templates for QGIS plugins. While a generic Python plugin needs the files below; __init__.py metadata.txt resources.py (translated from ...
0
votes
1answer
107 views

Threejs “Failed to generate a dem file using gdalwarp. gdalwarp is not installed.”

I am trying to test out the new threejs plugin for QGis and have come across this error. Failed to generate a dem file using gdalwarp. gdalwarp is not installed. I have installed the latest ...
0
votes
1answer
62 views

How to use ArcView GIS extension in QGIS or how to convert one to do so?

I really would like to know whether is a way to can work with ArcView GIS extensions at QGIS? or at least a way to be converted to plugins at QGIS?
0
votes
1answer
665 views

AttributeError: 'module' object has no attribute 'Open'

Hy, I am running the following code which I found on: GDAL - Perform Simple Least Cost Path Analysis which I adapted to my case, but I get the following error when running the code in the python ...
0
votes
1answer
206 views

visualize bounding box to a polygon

I try to make plugin in QGIS that compare 2 bounding box data, ex: (-32.61442167739459, -32.017601026186576, 13.015663782506067, 13.428145228091406) and (-38.6102467739459, -38.017601026186576, ...
1
vote
1answer
43 views

Tick boxes for a qgis plugin written in python

in a python plugin for qgis I want the user to be able to select one or more of several options via tick boxes. I imagine it to look like e.g. Qgis 2.2 tool "Vector" -> "Data Management Tools" -> ...
0
votes
0answers
76 views

QGIS Plugin to open metadata and show metadata information

I try make plugin to open and read metadata (.xml) and show information inside metadata like map scale, map fiture and bounding box and auto fill it to QLineEdit This code i use to open metadata ...
2
votes
1answer
161 views

QGIS 2.2 documentation

I thought I would try to write a plugin for QGIS (some Python code that I hoped I could easily port) I started following http://www.qgisworkshop.org/html/workshop/plugins_tutorial.html but that turned ...
0
votes
1answer
121 views

How to create a slope map with different colors according to slope percentage or degrees

I have converted a dxf file with contour lines into a polyline shapefile, and I have used the Raster Analysis plugin to create a grayscale slope map from this shapefile. I would now like to have ...