2
votes
1answer
28 views

How to store a password during one QGIS work session?

I'd like to get into qgis-plugin development, but am rather new to both python and QGIS development. I intend to write a plugin which connects data from a mysql database to shapefiles. As the data is ...
1
vote
0answers
37 views

Join/append multiple, identical polygon layers into a single layer whilst retaining all attributes?

I have run some analysis (zonalstats) on different raster layers using the same analysis polygons. I want to concatenate all these different layers together, i.e. retain a single polygon and have a ...
0
votes
0answers
34 views

How to set image size with Image Map Plugin on QGIS 2.4?

I use QGIS 2.4, but I have noticed that the "Set Map/Image Size" feature on the HTML Image Map Plugin no longer seems to work. No matter what you set the "Set Map/Image Size" for, your image will ...
1
vote
1answer
28 views

gdaltools in qgis v2.4?

Where's the GDALTools plugin for QGIS 2.4? It's not listed in list of available plugins, and it's seemingly not installed out of the box. Is it just that it's not yet compatible?
1
vote
0answers
14 views

How to install the QGIS Raster Lang plugin?

I´m trying to install the rasterlang plugin for QGIS. I tried several things on this website but it seems to be quite complicated because I need to install binary files and other files. The idea ...
2
votes
1answer
19 views

QGIS Processing - Additional Creation Parameter for GdalWarp

I am having a hard time getting the "Additional Creation Parameters" to work when using GdalWarp through the processing toolbox. I am trying to set the nodata value to 0 for the output raster. ...
4
votes
1answer
69 views

How do you set the position of a plugin window when you start the plugin?

I'd like to set the position of a plugin's window or dialog relative to the map canvas frame. For example, if I start a plugin, I want it to appear somewhere in the left upper corner of the map ...
2
votes
1answer
26 views

Sorting layers in legend using python in QGIS 2.4

In QGIS 2.2 , I was able to sort in alphabetical order the layers simply using this: self.maplegendtree = iface.mainWindow().findChild(QTreeWidget, "theMapLegend") self.maplegendtree.sortItems(0, ...
1
vote
0answers
20 views

Export polygon to points (vertices) [duplicate]

This is the first time that I have worked with geospatial data and QGIS, so please be kind. I was given a shape file that contains house districts for the state of FL. This link provides ...
1
vote
0answers
40 views

QGIS Grass Processing toolbox

I'm trying to use some of the GRASS tools from the processing toolbox in QGIS. I get the following Python error: An error has occured while executing Python code: Traceback (most recent call last): ...
1
vote
1answer
47 views

Show a single value related to a whole layer in QGIS

I'm developing a maximum flow plugin for QGIS. I would like to show a calculation result (i.e., the maximum flow) on the map. The result is not a property of a single feature. It is a property of a ...
3
votes
0answers
41 views

IS it possible to run GRASS commands in the QGIS graphical modeler?

I have a geoalgorithm set up in the graphical modeler and everything runs except for the GRASS commands. It is really frustrating because when I execute these commands on their own they work just fine ...
1
vote
1answer
22 views

Problem with batch mode Saga Raster Calculator

I have to do a couple of raster multiplications for which the batch mode would save me a lot of time. But the only thing I get are rasters that contain nothing but nan values. If I multiply the ...
1
vote
0answers
18 views

Easy way to extract raster cells OUTSIDE a vector (Mask) layer in QGIS?

I have a raster file but am only interested in the cells outside a certain polygon. This polygon is very iregular and scattered across the raster. Is there any easy way to extract only the cells ...
1
vote
0answers
30 views

Retrieve a point coordinates from map canvas using QGIS API

I'm trying to build a plugin that firstly captures the map coordinates. I have tried to adapt the map tool explained in this post: How to programatically check for a mouse click in QGIS The code I ...
1
vote
1answer
23 views

How to test for multiple map items in Composer using python?

I am building a QGIS plugin and I need to check for multiple maps items in Composer that works on all platforms. Currently I am getting the first map in the composition using the code below, but ...
1
vote
0answers
27 views

How to export data from sql database in the decimal format in QGIS?

Currently I am working with QGIS and fetching data from SQL server and export it in the format of shapefile in QGIS. While importing the data from sql server attribute table showing data with ...
1
vote
0answers
34 views

How to programmatically interrupt QGIS initialization and startup

I'm wondering how to interrupt the initialization of QGIS 2.0 on Windows XP before start up. I've put a dialog in one of my plugins that shows up on start up. However, I'd like to make a quit button ...
1
vote
0answers
34 views

Modifying properties of Attributes Table in QGIS?

In my QGIS project I'm using vector layers that require a lot of data inputting/editing. The problem is that some of the data I'm inputting varies greatly in matter of length and structure (various ...
0
votes
0answers
27 views

Are there reference manual pages anywhere for QGIS built-in “buffer” and plugin “points2one”?

Perhaps I am missing some quick pop-up help mechanism, but as a relative newcomer to QGIS (having cut my teeth on ArcGIS 10.1), I am struggling to find reference manuals (i.e. explanations of all ...
1
vote
1answer
33 views

What causes this error when loading plugin

After installing pyspatialite on my Mac two plugins fail to load with this error:: This plugin is broken invalid literal for int() with base 10: '2-spatialite' I am fairly sure that the offending ...
0
votes
1answer
39 views

How to split Polygons by line grid?

I want to split a polygon by a intersecting line into different parts, exactly like in this post(Qgis - Is there a way to split a polygon layer with a line layer?). I have a vector grid to cut the ...
1
vote
0answers
28 views

How to write a custom map canvas item by subclassing QObject and QgsMapCanvasItem?

I'm writing a QGIS python plugin where I place some QgsVertexMarkers on the canvas like this: marker = QgsVertexMarker(self.canvas) marker.setCenter(QgsPoint(point[0],point[1])) Now i would like ...
3
votes
1answer
44 views

Can QGIS table editor achieve similar results to Pivot tables in Excel?

Is it possible to achieve similar results to Pivot Tables in QGIS table editor so as to use just QGIS instead of several software solutions? Or are there maybe some plugins capable of achieving those ...
1
vote
0answers
38 views

Connecting ArcSDE to Quantum GIS for dummies?

I really have a need to be able to connect to and edit ArcSDE data in Quantum GIS. This question has been asked before and apparently is possible, but the instructions are just not specific enough ...
0
votes
2answers
167 views

QGIS 2.4: plugin changes map tool canvas click behavior from 2.0

I had created a plugin for QGIS 2.0 to add new features more easily. It involves changing extents and updating snapping options along with triggering the default actionAddFeature(). However, I've ...
0
votes
0answers
15 views

Problem with Gpstools Plugin

I installed QGis 2.4 either with the standalone and Osgeo installers on a win7 Pro 64 laptop with 4 gb of RAM and I have the following problem When I invoke GpsTool either by the icon or the vector ...
1
vote
0answers
66 views

offline editing not working on qgis mobile

I would like to work with offline editing using Qgis desktop and Qgis Mobile, in the first essay i tried to use Qgis 2.2 and its offline editing plugin , it has worked fine then i moved the qgis ...
1
vote
1answer
46 views

How to interact with other layers in a QGis Python init function?

I am using QGis and making a Python script that sets the Python Init function to a custom UI file. I have a function with the following signature: def formOpen(dialog, layer, feature): ... I ...
0
votes
1answer
27 views

Count points in a polygon that changes form (“on the fly calculation”)

I have tried to find a plugin for this, with no luck. Perhaps someone knows of a plugin that can do the following: In this project I create a lot of polygons that contain points, and the size of the ...
0
votes
1answer
21 views

Zoom to Postcode QGIS Plugin - “Postcode not Found”

I'm trying to get the Zoom to Postcode plugin for QGIS to work on my machine (Mavericks, QGIS 2.2.0) The plugin downloads fine, and when I first try to search for a postcode it alerts me that it ...
0
votes
0answers
44 views

gdal_translate from within pyqgis [duplicate]

I want to use gdal_translate from within a python script in my plugin qgis2leaf. I've tried with ...
1
vote
1answer
69 views

How to use the MMQGIS plugin through the Python console?

I know how to make Hub Lines using the GUI, I want to know how to do the same using the Python Console, a tutorial would be great. Thank you
5
votes
0answers
3k views

Open Layers Plugin and QGis 2.4 [closed]

I have installed Qgis 2.4 with the stand alone installer and the OSgeo4w too on three different computers. Two have win7 64 and one vista 64. It seems that the Open Layers plugin does not work ...
0
votes
0answers
34 views

How to extend lines from “station line” plugin in QGIS

I'm trying to create cross sections using the station line plugin (and then import them to HEC RAS). But I can't seem to create lines longer than 99.99 meters from each side of my river line. Is this ...
1
vote
0answers
32 views

QGIS - Calling interpolation extension from python console

I would like to call the QGIS interpolation extension function (TIN method) (Raster->Interpolate) from python console. I can't find the corresponding function within QGIS API or within the ...
2
votes
1answer
73 views

QGIS contour plugin exception struck help

I am a fisheries biologist and I am just getting started with QGIS. I took a few GIS classes in college so my GIS knowledge is not extremely high. On to my question. I am trying to make a depth map ...
0
votes
0answers
12 views

Create shapes using google streets layer of openlayers plugin [duplicate]

I am using openlayers plugin to use as the base layer of streets google. I have attached the picture that you can see that the more I give to zoom overlay layer moves. When I used another shape as I ...
-1
votes
2answers
47 views

How can I project a power line net in QGIS?

I am working with power lines net using the software QGIS. I would like to know which plugins or tools do I need to be able drawing (projecting) them.
0
votes
1answer
73 views

Possible to run “Merge shapefiles to one” algorithm from Python script?

Developing a python script in QGIS 2.2, I can run algorithms from the Processing plugin fine such as those from QGIS geoalgorithms and SAGA. Can you do the same for the algorithm "Merge shapefiles to ...
0
votes
0answers
38 views

Couldn't load PyQGIS in QGIS 2.2 on Ubuntu 14.04 [duplicate]

This issue appears to be occurring with some frequency to folks in some shape or form. I upgraded from ubuntu 12.04 to 14.04, with loss of python functionality. My QGIS version is 2.2 from the ...
0
votes
1answer
34 views

QGIS API documentation in French?

I am looking for a document which explains what the API of QGIS is, with examples of this API but in French.
0
votes
2answers
43 views

Is there a way to run spatial join within tolerance?

I have some data that should be spatially joined, but from small precision differences (less than 1 in) they aren't joined. I've found no way to add tolerance to qgis spatial join operation. Is there ...
0
votes
0answers
24 views

Is it possible to customize openFeatureForm of pyqgis?

I am a beginner in PyQgis. I am trying create a plugin, which will be used to AddFeatue,Delete Feature, and Edit the Feature. It is more customized than which is provided by Qgis (2.2). I am capturing ...
7
votes
1answer
354 views

Is the use of Google Earth imagery via the OpenLayers Plugin in QGIS legal?

I understand the terms and conditions WRT use of Google Earth imagery in external applications are strict. Years ago ArcBruTile offered such service in ArcGIS the legallity of which was ...
1
vote
1answer
43 views

How to display information when a certain dataset is loaded into QGIS?

I need to show the quality information of a dataset that was manually created by me, that is saved as a text file. The text file will "pop up" when the dataset is added into QGIS. I have no experience ...
1
vote
1answer
88 views

Plugin of Multiple buffers in QGIS

I hope to create a plugin to do multiple buffers in QGIS. This is my script: """/*************************************************************************** izisse_test ...
0
votes
0answers
21 views

Plugin Ui interation with user and Qgis

A downsized hydrogeology plugin ( GraphicGroundwater = GGW ), instilled the need of a reduced combination of Carson's 'fTools doVectorGrid' and Pryet's 'Qgridder' plugin(s). The GGW Ui is displayed ...
0
votes
0answers
19 views

Why does the “calculate” button remain gray in Group Stats Plugin?

I'm trying to use the Group Stats Plugin. I found your tutorial and I wanted to post a comment but I have seen that it is not possible then I thought to write here. Unfortunately I can not use the ...
1
vote
1answer
20 views

Why are some QGIS 2.2 bar graphs not displayed?

I created a vector layer containing all European countries and some double information about them. I'd like to show this information for every object in a bar graph. My problem is that the bar graphs ...