Tagged Questions
3
votes
2answers
46 views
How to run two versions of QGIS simultaneously
I really enjoy seeing the new features and icons of QGIS 1.9 nightly versions.
It's looking fantastic, and some features are already very useful for my work.
However, it is inherently less stable ...
2
votes
1answer
16 views
Getting polygon shapefile node coordinates and point order
I am trying to get the coordinates of each node of a polygon in QGIS. What I basically did is use the following tools:
Vector -> Geometry tools -> Extract nodes
Vector -> Geometry tools -> Export ...
3
votes
0answers
51 views
How to write an address search plugin?
I am migrating some users from MapInfo to QGIS, and before they sign off on it, they want a very simple address search in the same way that we currently have one working in MapBasic. I;ve been having ...
0
votes
1answer
35 views
Is it possible to install qgis plugin in a specific non default directory?
Is it possible to install a plugin to a specific directory e.g. D:\folder instead of the default one .qgis\python\plugin?
Furthermore, can QGIS access plugins from different directories and folders?
1
vote
1answer
46 views
How to create histograms
I am very new at using GIS data and in particular QGIS (1.7.3) and I need some help to produce histograms regarding my data. I have a great number of data about an algae density collected in 8 ...
1
vote
3answers
49 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 ...
0
votes
1answer
38 views
QGIS plugin WORKS under Windows but NOT under Linux. How to get fîle path properly under Linux?
I am currently working on a QGIS plugin which depits node to node discreet flows. Let' say adaption of Tobler's Flow Mapper to QGIS.
Plugin currently tested and working under Windows. But not under ...
0
votes
2answers
53 views
How to add QGIS Python API Intellisense support in Aptana Studio3/Pydev
I'm developing QGIS plugins using PyDev in Aptana Studio 3 and I would like to know if it's possible to make it aware of the QGIS API and add some "intellisense" functionnalities when programming. For ...
0
votes
1answer
49 views
Grass algorithms doesn't appear in the sextante toolbar in QGIS
I was having problems with some sextante algorithms in my QGIS 1.8, something related with wrong "os" name, I found a post in which reccomend to install the 1.9 master version.
I clean uninstalled ...
-2
votes
1answer
35 views
Qgis: Select multiple layers in sql-Filter [closed]
I have a Shape-File with lines of streets. Now I want qgis only to show the categories: Type: primary and Type: secondary and Type: motorway.
How do I do this?
This doesn't work:
"type" = 'primary' ...
0
votes
0answers
35 views
Use QuantumGIS to bulk-import csv files
I have a large set of .csv-files containing geographic information. Every dataset consists out of 2 .csv-files! This is my folder-structure. All files in Tracks are formatted equally and all in Routes ...
0
votes
1answer
55 views
How to calculate Image boundary / footprint of satellite images using open source tools?
I'm referring to this question&discussion: How do I create a shapefile showing footprints of Rasters?
I need to create the polygon outlines of several single layer raster images, not the ...
0
votes
0answers
61 views
QGIS Plugin Development - Displaying Data from a feature
I want to display data based on the feature currently selected/clicked on.
I am following a tutorial from http://www.qgisworkshop.org/html/workshop/plugins_tutorial.html.
It initially shows you how ...
0
votes
1answer
33 views
How to use expression in QgsVectorlayer label by using python?
how to show the two field values as a label on features. I have done it for a field called "ErrorDescr" with this i need to show another field values. Other field is "MarkerId"
...
0
votes
0answers
7 views
Cut lines on each node and give them new start/end points for using shortest path tool accurate [duplicate]
I have to shapefile layers for a city. First contains the road network as lines the other one has point features for the nodes. Unfortunatley the single lines don't stop at each node, they often cross ...
-3
votes
1answer
58 views
how to call a function when I press the button? [closed]
def function(self):
QMessageBox.information(self.iface.mainWindow(),
QCoreApplication.translate('HelloWorld', "HelloWorld"),
QCoreApplication.translate('HelloWorld', ...
0
votes
1answer
57 views
How to access the button on the form?
I have a form that appears when you start the plugin.How do I properly apply to the button on the form, so that when you click on the button performed "function".
import sys,os
import win32api
from ...
4
votes
1answer
108 views
How can I programatically create and add features to a memory layer in QGIS 1.9?
I had a working plugin in QGIS 1.8 which read data from an MSAccess database and added it to a series of memory layers. There is some processing involved in the interim so I don't think simply using ...
0
votes
1answer
38 views
Check if layer is a QGSVectorLayer from Python Plugin within QGIS
I am trying to extend some concepts in the QGIS Workshop tutorial. Basically, I would like to check if the layer is of type "QGSVectorLayer". In the QGIS Python console, I am able to type
canvas = ...
0
votes
0answers
34 views
Is QGIS OGR plug-in data provider (based on Postgres) limited to 500 features in layer?
I developed a plug-in based on OGR. It works fine but when I want to add a vector data (using my plug-in) I get 1449 features (with 76 columns) in my layer. Then I select this layer and load it.
...
2
votes
1answer
84 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
138 views
How to create a dropdown menu in QGIS Toolbar with Python
I Have a set of some QAction in my QGIS-Plugin and they are created and added to the toolbar like this
icon = QIcon(":/action1.png")
self.action1 = QAction(icon, u"Action 1", self.iface.mainWindow())
...
1
vote
1answer
68 views
open QGIS project with parameters
I am looking at a piece of work to deploy QGIS as the standard within an organisation. There is an existing piece of software that I need to link to QGIS so that when a button is pressed within the ...
1
vote
1answer
173 views
QGIS Plugin Windows
I have written a QGIS plugin (RTools) which acts mostly like a independent plugin (minimal interaction with QGIS core functions). On Linux both QGIS and RTools were build using QT 4.8 on Qt creator. ...
2
votes
1answer
64 views
How to see print commands through Python Script while programming plugin for QGIS?
This might sound like a silly question.
Is there a way that from running a custom plugin made for QGIS that a Python Shell can appear along when the plugin is run, like a debug screen. I'm asking ...
2
votes
3answers
71 views
How to minimize the number of points in a polygon?
I'm building a web application that will be transferring polygons from server to client. Initially, the shapefile is coming from an external source that I have no control over.
Often, I find polygons ...
0
votes
1answer
45 views
How to reopen a plugin-window in QGIS?
I am currently taking my first steps in playing around with programming a plugin in python 2.7 for QGIS 1.8. While my plugin does what it should, I would like to make it more userfriendly. At the ...
1
vote
0answers
88 views
Line to Polygon via Polygonizer in QGIS
My question is in the same vein as this one.
I'm attempting to convert precipitation lines (Precipitación Media Anual) to a polygon for Mexico in QGIS using the Polygonizer plugin.
After running the ...
0
votes
0answers
46 views
Command-line exporting QGIS layers to MapServer map file
I know about the QGIS plugin for exporting loaded layers as a MapServer map file, and I would like to know if there is a way to achieve this via terminal.
I cannot find useful info on the web..
...
7
votes
3answers
233 views
Howto setup and use a remote GIS workstation (QGIS,GRASS,PostGIS)?
I'm using QGIS (and sometimes GRASS and PostGIS) on my 2009 MacBookPro for my thesis project.
I was wondering (during an endless batch generalizing in QGIS) if I can set up a server so I can work from ...
1
vote
1answer
32 views
Is there any “proper” way of setting the viewport for QGis Time Manager?
I'm working on video visualisation for some geo data. Everything works fine for me except the viewport that the time manager plugin is using for image frames. It makes image frames size of actual map ...
1
vote
1answer
40 views
Removing Plugin Repository sites that fail to load
New here & to QGIS. Loading several plugins I noted that several sites seem to not load ( example "catais.org" or "GIS-LAB.info". Cannot actually find this site(s), I assume they are defunct, ...
1
vote
0answers
66 views
GRASS Plugin to QGIS error
I am installing QGIS and GRASS as part of an FOSS GIS class I'll be teaching this summer. I used the OsGeo4W installer. This installer has always worked flawlessly for me except on the machines at the ...
0
votes
1answer
58 views
How to handle adding a PostGIS layer in pyQgis without saving password?
I'm writing python plugin and trying to find the right way to add PostGIS layer on the map without storing user password.
After adding layer on the map, I strip out the password from uri like this:
...
0
votes
0answers
151 views
How to fix Geocode plugin Google API Key errors in QGIS 1.8?
within QGIS 1.8 I am tring to use the "GeoCoding Plugin" (Author: Dr. Alessandro Pasotti) but it gives this error message:
Traceback (most recent call last): File "C:/Documents and
...
2
votes
1answer
96 views
How does Flow Mapper Plugin work?
I downloaded the Flowmapper plugin for Qgis and I can't seem to find any information on how it is supposed to work...
Also the text seems to cut-off and not fully showing for the input fields so I'm ...
1
vote
1answer
79 views
How to get vector feature by mouse location?
I'm writing a photo grouping plugin. My current problem can be broken up into "end goal" and "baby steps", because I think that's what I want. But if there's a way to get to the end by a different ...
0
votes
1answer
70 views
How to add the Delimited Text Plugin for QGIS 1.8?
I can't find the Delimited text Plugin- everything keeps telling me it's in the core build, but which core build? the Mac OS variant comes in multiple installers so without programatically unpacking ...
0
votes
0answers
35 views
How do I get XYtools to work in OS X 10.8
This is the first question I have asked here so I hope I am not asking in the wrong place. I have an installation of qgis (1.8 lisboa) and I want to use the XYTools python plugin.
I have installed ...
0
votes
1answer
110 views
Is there a simple automated way (plugin preferred) to split all lines in a layer at their vertices?
Like the title said, I want to automatically split all lines in a qgis layer at their vertices (like this).
I've done a google search and found this article, which is quite close but the workflow is ...
0
votes
0answers
26 views
How to patch a revision from the repository to fix a bug [closed]
firstly:
Apologies if this is simple and has been done to death, BUT i've been searching for ages and haven't found anything which explains how to do what should be quite easy.
So! QGis gets into ...
0
votes
1answer
60 views
What could I do to make QGIS find all the plugins?
I'm starting to use Ubuntu 12.10 and would like to get my QGIS running on it. Installation was fine but when I tried to add a package called Points to Paths the Plugin Manager was unabled to find it. ...
4
votes
4answers
120 views
How to display a “Save As” dialog for raster files?
I'm writing a QGIS plugin in python. I need to show a "Save as" dialog window in order to allow the user to select the path of the output raster file. Do I need to create a QFileDialog and manually ...
0
votes
1answer
71 views
Cadtools getting the distance in meters
While doing the parallel line method by using the cadtools its asking the distance in meters but i need the parallel in feet values(I need to enter the distance in feet values). currently we are using ...
3
votes
3answers
82 views
How to match air photo to existing vector layers on Mac OS?
I'm trying to add an air photo to a project and match it to existing data. CanVec data is mostly based on the old CIA dataset of the 60's and is hopelessly out of date, but the roads are up to date - ...
1
vote
1answer
112 views
Rpy2 Unable to Load in Fresh QGIS Install
after installing qgis the a message given below is shown
Unable to load the plugin: Unable to load required package rpy2.
Please ensure that both R, and the corresponding version of Rpy2 are ...
3
votes
1answer
113 views
How to measure the distance of multiple points to a line
I have two shapfile 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 find ...
1
vote
1answer
56 views
How do you Select an existing vector Layer and Edit it, using python?
I'm developing a small plugin that needs to be able to select a vector layer programatically based on what layer the user has selected. However I'm not sure how to do so.
I believe I found the two ...
8
votes
1answer
248 views
How to create a Human Trafficking Heatmap in QGIS?
I'm trying to create a heatmap with about 325 points distributed around the city of Houston. (FYI Houston is a major human trafficking in the US: a title shared with LA and Atlanta depending upon ...
1
vote
0answers
31 views
QSpatiaLite: Cannot create table
I am running QGIS 1.8 (SpatiaLite 3.0.1) and QSpatiaLite 6.0.1.
I have a spatial table EventPrecise (with geometry column p in EPSG:4326). I want to join this table with another, non-spatial table ...



