Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
QGIS is a cross-platform GIS application licensed under the GNU General Public License.
2
votes
1
answer
307
views
Connecting QGIS to table hosted on ArcGIS Server?
I have some aspatial tables hosted on ArcGIS Server (10.3.1 with Oracle 11g for the database) that I would like to load into QGIS (2.18). … Is there any functionality built-in to QGIS or available via a common plugin that allows me to load these tables? …
6
votes
How do you obtain the execution times of processes in qgis?
What kind of tasks are you referring to?
I use the following static class to benchmark my code.
I designed it to be static so that I can call the start/stop/show methods wherever is needed without w …
1
vote
QGIS Python error on OS X while trying to simplify shapefile geometries
I was dealing with the same problem today.
Try replacing shapeFields with: {}
At the very least confirm shapeFields is a dict-of-int-QgsField
Somehow this causes errors with the other parameters, …
4
votes
How to show a message box in QGIS?
Another good option is the message log.
from qgis.core import QgsMessageLog
QgsMessageLog.logMessage("message")
5
votes
Accepted
Handle add new feature event and/or access feature before commit?
The QgsVectorLayer has quite a number of signals that will may suite your needs. Documentation for 1.8 and master on these links.
Note there are minor changes to the API between 1.8 and master, and i …
5
votes
1
answer
2k
views
Download file from network using PyQGIS 2.x
I have a python plugin targeting QGIS 1.8 that uses QgsNetworkAccessManager and QNetworkRequest to issue a GetCapabilities request to WMS servers.
With 1.8 everything was working fine. … Now we are porting this plugin to QGIS 2.x (tested on 2.6 and 2.7 of 16/02/2015) and have found that some errors are being displayed. …
9
votes
Accepted
Set layer in edit mode in QGIS processing
You can use QgsVectorLayer.startEditing().
Then once your edits are complete you can either commitChanges() or rollBack() as approriate
##Input_layer=vector
# ...
inlayer = processing.getObject(Input …