Skip to main content
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
Results tagged with
Search options not deleted user 91716

QGIS is a cross-platform GIS application licensed under the GNU General Public License.

0 votes
1 answer
628 views

QGIS select by location and use field calculator python

Is there a simple way to do this with qgis python? … is my code: import processing moment_all = iface.activeLayer() moment_all.startEditing() processing.runalg("qgis:addfieldtoattributestable","filepath.shp","blast",2,2,0,"/Users/pgcseismolab/Desktop/qgis
jrowley's user avatar
  • 247
0 votes
1 answer
551 views

Adding field in PyQGIS?

Here is my code: import processing processing.runalg("qgis:selectbylocation", "/Users/pgcseismolab/Desktop/qgis/moment_all.shp", "/Users/pgcseismolab/Desktop/qgis/all_buffers.shp", ['within'], 0,0 … QGIS API interface or Type help(iface) for more info execfile(r'/Users/pgcseismolab/Desktop/qgis/blast.py') Traceback (most recent call last): File "<input>", line 1, in <module> File "/Users/pgcseismolab …
jrowley's user avatar
  • 247
3 votes
0 answers
193 views

QGIS clip grid frame to shape?

I am working in QGIS and would like the grid frame to align with the edges of my conic projection region. Is there a way to do this? …
jrowley's user avatar
  • 247
3 votes
0 answers
84 views

Running vector percentile breaks is very slow QGIS

I solved my own question a couple weeks ago on how to create percentile breaks in QGIS. … Creating percentile class breaks in vector data QGIS using numpy.percentile However, this code is unbelievably slow. Does anyone have any recommendations for speeding things up? …
jrowley's user avatar
  • 247