0
votes
0answers
30 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
38 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
43 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
28 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
6 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
55 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
53 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 ...
3
votes
1answer
74 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
28 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
30 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
64 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
116 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
59 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
124 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
56 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
70 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
42 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
75 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
39 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
201 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
29 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
38 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
59 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
56 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
114 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
80 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
65 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
53 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
30 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
93 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
23 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
57 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
113 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
63 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
77 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
84 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
98 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
54 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
227 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
30 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 ...
0
votes
0answers
11 views

QGIS clipping points [duplicate]

I'm attempting to do collect points within a buffer polygon layer, very simple. I started getting this error message. I have no idea what it means. The polygon layer was constructed in QGIS 1.8. I ...
1
vote
1answer
101 views

How to Georeference a tiff with correct coordinate system

I am having difficulty in georeferencing an existing tiff (already has georeference information - but is out of alignment). Using the georeference plug-in I can create the map's GCP in the 4 corners ...
2
votes
1answer
110 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.
1
vote
1answer
67 views

Get feature while editing

I have created my custom form for features editing, using layer.setEditForm("form.ui") and layer.setEditFormInit("init") properties. init method receives dialog, layerId and featId as arguments. ...
3
votes
1answer
103 views

Save Visible WMS layer to file

Is there tool to save currently visible WMS layer to file in QGIS, or some place in QGIS where you can get needed xml to fetch it using gdal ?
3
votes
2answers
289 views

Qgis OpenStreetMap plugin misbehaviour

I used the plugin successfully. But yesterday, after changing several buildings in JOSM. Import under qgis with the plugin does not work anymore. The buildings are in the layer point! Do you have any ...
0
votes
1answer
126 views

How to properly add a Python Module to a Plugin?

I've been trying to use a module that is installed in my local version of python, but whenever I open the plugin itself, it does not manage to locate said module. The module in this case is Noise ...
1
vote
0answers
84 views

'File is too big' error when uploading QGIS Plugin

I have written a simple QGIS plugin which zooms the map canvas to a user specified UK postcode. I would like to share the plugin but the csv file, which contains stripped down OS Code-Point open data ...
1
vote
1answer
38 views

How to use QgsVertexMarker in a python plugin?

I am trying to display a vertex marker for a QGIS python plugin I am writing. I am getting a the following error... 'NameError: global name 'QgsVertexMarker' is not defined' canv = ...
1
vote
2answers
57 views

Missing GPS Tools button

Following the guidance at, http://docs.qgis.org/html/en/docs/user_manual/working_with_gps/plugins_gps.html I checked my Plugins Manager and verified that GPS Tools is enabled. However, unlike what ...

1 2 3 4 5