Software plugins that add functionality to the QGIS package

learn more… | top users | synonyms

2
votes
0answers
162 views

QGIS Plugin QuickMapServices error

The plugin installs fine but fails to load with the following Python error cannot import name QgsImageOperation
6
votes
1answer
171 views

How to use third-party package in a QGIS plugin?

I'm developing a QGIS plugin and I would like to use arrow or requests packages as I'm used to manipulate dates and REST APIs. QGIS does not come with these packages (at less arrow), so when I try to ...
1
vote
0answers
62 views

Call dot net library function from python in QGis

I have created one custom library (.dll) in Dot net. Now, i want to use that dll in my QGis plugin. How i can integrate that? For an example i have one function in library which is used to read excel ...
-2
votes
3answers
219 views

Traffic Simulation in QGIS

I have several line layers in QGIS 2.8.3. I want to simulate traffic flow in this. Is there a plugin or any possibilty to run a traffic simulation on it.
1
vote
0answers
35 views

How to use itemChanged signal to update data?

I'm trying to understand the itemChanged signal to be able to update some information. An example of what I'm trying to achieve could be: def setCoordText(): label1.setText(str(label1.x()) + "," +...
2
votes
1answer
73 views

Populate combobox with postgis layers

I'm new to pyqgis/python and programming in general.. and i am working on my first small project. I want to create plugin so that I can add layers from my PostGIS database to a QGIS project. I ...
1
vote
0answers
62 views

How can i set layer polygon in center in QGIS using python?

I am trying to set a fixed zoom level whenever I layer is shifting on different polygon. I have coordinates for all the polygons , I need each polygon to be on center with certain zoom level so that ...
1
vote
0answers
38 views

How to change a point of an arrow on Print Composer?

To create an arrow on the Print Composer I've used this: qC = QgsComposition(iface.mapCanvas().mapRenderer()) arw = QgsComposerArrow(QPointF(0, 0),QPointF(10,10),qC) However, I can't find an ...
2
votes
1answer
213 views

Should the QGIS “DB Manager” have Microsoft SQL Server as an option?

I was looking for interactive query options for SQL Server (similar to SQL Server Management Studio). The "DB Manager" works great for Postgres and I'm primarily using the Load as new layer as I build ...
3
votes
1answer
78 views

Is it possible to create points that represent lines in QGIS 2.8.Wien?

I want to create points to represent lines from a line layer. This is similar to creating points to represent polygons. Does anyone have an idea on any useful plugin or the best way to do this?
3
votes
0answers
89 views

How to show only selected features from a a layer in the QgsComposerLegend?

I have developed a custom qgis plugin. I have a button to export the map canvas in the form of image along with the legend. I came up with the following code for the legend: legend = ...
1
vote
1answer
47 views

Qgis layer renaming stays the same

I've been developing a plugin for Qgis, but something weird happend while renaming a layer, now whenever i add a layer using a button in my plugin, the layer is renamed with the last name I gave it. I'...
1
vote
0answers
44 views

TimeManager - scale up PNG?

Whilst I think 'TimeManager' works very well, is it possible to define the output scale, so that the output provides better quality data when exporting? There are no options in its interface where I ...
3
votes
1answer
122 views

Updating feature attribute in QGIS plugin?

I am writing a plugin for QGIS (v2.12). There have been quite a few similar questions on this forum, but they don't seem to work for me. my plugin does the following: get the vector layer check ...
3
votes
1answer
77 views

How to fix Quickfinder OperationalError: table quickfinder_info already exists?

This is what I am getting when I try to search in project layers and create a .qfts file to use quickfinder on a local shapefile. An error has occured while executing Python code: Traceback (...
1
vote
0answers
32 views

Fetching qgis plugins on 2.12.0 Lyon is taking a very long time

Opening plugins for the first time on QGIS 2.12.0 Lyon there is a window popping up saying "fetching repositories". You can't do anything until it's finished. It then takes it ages to fetch. Any ...
1
vote
0answers
22 views

Creating menu item and adding more than 1 plugin in QGIS?

Because if I execute these lines for each plugin, I created a menu item for each plugin. I created many plugins and wish to place them in a new menu item (not traditionals)
2
votes
0answers
148 views

QGIS: SPIT plugin not loading

Using QGIS 2.12 Lyon on a Mac (Intel, 2013). I check the SPIT line in plug-ins, but the plugin does not appear in the menu bar as promised. Log out, restart, nothing helps. Other plug-ins work fine ...
4
votes
1answer
98 views

QGIS and python: Keep a layer always on top of the others

I am working on a python plugin for QGIS using a layer containing linestrings, which I would like to have on top at all times. I have added the layer like the following: QgsMapLayerRegistry.instance()...
1
vote
0answers
20 views

python - Composer plugin menu catch-22

a plugin for the Print Composer checks if the current project has at least one Composer when loading to avoid the error when creating the menu on a Composer that doesn't exist. However, once the ...
3
votes
1answer
60 views

Check QGIS processing Saga version from a plugin

I am writing a QGIS plugin using SAGA by Processing. Is is possible to test whether SAGA is installed and which version is on? For GDAL, it's OK with: processing.tools.raster.gdal.__version__
2
votes
1answer
55 views

scripted new items don't show up in the “items” panel on Print Composer

I'm working on a plugin to put items (pictures, arrows, labels) on the Print Composer layout. Everything is fine with the exception that once they are drawn, none of these show up in the "items" panel ...
2
votes
2answers
73 views

PyGIS remove QgisVertexMarker from scene

I am writing a plugin that includes interaction with the map. Therefore I use a QgsMapTool. It is possible for a user to mark a point on the map. When the user clicks a red X is drawn on the mapCanvas ...
2
votes
1answer
43 views

How do I prevent my QGIS Plugin from opening twice?

I have made a new QGIS Plugin, almost everything is working fine, but I can click on my Plugin-Button several times and it starts several times. So I see my Plugin 4 or 5 times. How can I prevent that?...
1
vote
1answer
39 views

python plugin menu action in Composer menu

I'm new developing plugins for QGIS and am working on a plugin to add some pictures on the Composer layout. I think the appropriate place to have the plugin menu action is in the Composer menu where ...
2
votes
0answers
28 views

QGIS plugin window qt creator formatting ineffictive

I am developing a QGIS plugin. I have assigned the QGIS main window as the parent window of custom plugin using: QtGui.QDialog.__init__(self,iface.mainWindow()) But after doing so the problem ...
1
vote
0answers
88 views

ECW support Mac OS X 10.11

I'm not seeing any support for the ECW format in Mac OS X 10.11. Nothing recent in searches here and the latest on kyngchaos is for 10.9 and doesn't do anything for QGIS 2.12.
2
votes
1answer
108 views

I don't really understand how .xml files interact with QGIS

I just saw Why are the Google basemaps no longer appearing in QGIS? and I don't understand the answer from user Thomas Horner. Could someone explain why a .xml can be loaded as a raster?
0
votes
0answers
26 views

QGIS dxf2shp and the unit of text rotation angle

My problem is the following When Importing dxf with dxf2shp the rotation value for the text isent there Here is part of my DXF file : _______________ TEXT 5 6881 330 6970 100 AcDbEntity ...
2
votes
2answers
591 views

Return list of selected items of QListWidget PyQt QGIS

I'm a little bit confused (I'm a newbie) on how to get a list of just the selected Items of a QListWidget (in a QGIS plugin). I set up the manageGui function in this way: def manageGui(self): ...
1
vote
0answers
104 views

Install photo2shape

I tried to use the photo2Shape plugin in QGIS ver. 2.12 . To be able to carry out photo2Shape plugin I must install ExifRead. How do I install ExifRead, so that the photoshape plugin can be active. I ...
5
votes
1answer
251 views

Do I have to publish own QGIS plugins?

If I develop QGIS plugins for my company do I have to make them available to others? I use QT-Designer and think that it also depends on the question how you develop your plugins, right? For example: ...
0
votes
0answers
34 views

CMYK colors in QGIS [duplicate]

Is it possible to deal with CMYK colors in QGIS (or in a QGIS plugin) ? It would be a good thing to choose directly the colors in CMYK and generate PDF with CMYK colors for the publishing compagnies. ...
1
vote
2answers
58 views

Transparency parameter of colors (vector, legend,…) not working in QGIS?

It's a pity that QGIS offers to set transparency in the selecting color tool, but doesn't save it... Explanation : I guess that the AA (in French, sorry) in #RRVVBBAA would enable to set transparency ...
1
vote
0answers
28 views

Which cell size should I use in the LecoS plugin?

LecoS asks for the cellsize when calculating landscape statistics. However, there is no such information in the metadata of my input raster layer. Pixel size is 0.00126545,-0.00126497, but that can't ...
0
votes
0answers
35 views

Cartogram Cancelled by User - No Null Data

I'm very new to QGIS and I'm trying to create a cartogram for my final project. However, while I have my data that I'm going to use and the shape files (provided by the US census) for the US, I can't ...
1
vote
1answer
56 views

store function attribute of class in QGIS plugin

I'm pretty new to python and pyqgis so the question will be pretty trivial.. I'm writing a plugin and in one script I have a class and some internal functions.. .... class CreateModelDialog(QDialog,...
1
vote
0answers
37 views

create own plugin

With the QGIS plugin 'plugin builder' I create a new plugin. Then I followed the steps described on this website : http://www.qgistutorials.com/en/docs/building_a_python_plugin.html It works perfect ...
1
vote
1answer
77 views

DLL that uses QGIS

I want to create DLL which opens a dialog do some processing with QGIS and returns some data. I have searched many places but have not found the help I needed. I just want to read shapefiles and then ...
2
votes
0answers
13 views

It is possible to use a GDAL in plugin qgis? [duplicate]

I work on qgis plugin, and I say why not not work with GDAL, it'll be too useful. it is possible to integrate the GDAL library to develop QGIS plugin?
2
votes
1answer
86 views

pyQGIS Plugin Window Behavior?

I have made the UI of a qgis plugin using qt creator. What I want is that the plugin window should stay on top of the qgis main window only but not other other applications. I have got this code: ...
2
votes
3answers
194 views

All layers disappear after using OpenLayers

Not trying to do anything complicated here... I have a .csv with date/time and lat/long data. When I load it into QGis as a delimited text layer, everything appears fine at first: But, when I try ...
1
vote
1answer
58 views

How can a gui be visible till all the work is done? (QGIS plugin, python)

I have made a gui in QTDesigner for QGIS2.10 (as a dialog). When I press the ok button (if result == QtGui.QFileDialog.Accepted:) everything works just fine but the gui is disappeared. How can the gui ...
2
votes
1answer
187 views

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

I'm trying to compile a cython plugin for QGIS. The plugin is working on windows (32/64) machines but was never used on Mac before. I compiled the cython for python as described here but there are ...
1
vote
0answers
52 views

Is it possible to remove the QGIS icon from dialogs windows using pyqt?

I am developing a QGIS plugin using PyQt 4.x and the QGIS API. The plugin uses several dialog windows (QDialog Class). Some of them (I don't know why some do and others don't) show the Qgis icon on ...
0
votes
0answers
32 views

Arrows plugin returning Python error

I'm trying to run the Arrows plugin on QGIS 2.10 (Win 8.1), but I'm getting an error message: Traceback (most recent call last): File "C:/.../.qgis2/python/plugins\arrows\arrows.py", line 79, ...
2
votes
2answers
178 views

Insert image in QGIS Plugin using qt creator [closed]

I'm building qgis plugin and i use Qt creator to creat a form. I want insert a image and i use a label to do this. In the field pixmap i choose a file image.png. I save and in QGIS i reload a plugin ...
2
votes
2answers
123 views

Missing v.in.ogr module of GRASS in QGIS Processing toolbox?

I am a new user to QGIS/GRASS and I am having a problem utilizing GRASS. I have several files that I generated in QGIS that I want to import into GRASS so I can use some of the Grass modules. ...
2
votes
1answer
132 views

Adding multiple plugins to custom menu in QGIS

I am new to Python and QGIS and attempting to create some plugins to replicate in-house tools used in other GIS programs. I have added a custom menu using Python and added the plugin to the menu using ...
0
votes
0answers
21 views

ETRS89-LCC true scale

With QGis 2.12.0 I made a map with the "EPSG 3034 ETRS89-LCC" I then modified the parallels of latitude with custom ones by the rule of 2:6, so from: +proj=lcc +lat_1=35 +lat_2=65 +lat_0=52 +lon_0=10 ...