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.
1
vote
Prefixing multiple values within QGIS using the Field Calculator?
The expression would be, for example:
'A' || "someField"
someField would be your field that you want to use when updating and || is used to concatenate strings in QGIS. …
2
votes
Clipping polygons within a certain range
OK, this might not be the most elegant way to solve this, but it will work, and if you will only do it once you might as well go with this approach.
First of all, create a polygon (the button should …
10
votes
Accepted
Connect to PostgreSQL localhost in QGIS
And here a screenshot of the actual database I am connecting to:
In QGIS your connection would show up like this:
Hit the Connect button, and if it worked, the Schema area will be populated, where …
1
vote
1
answer
185
views
Opening the PyQGIS editor programmatically
I can open the console programmatically, using:
qgis.utils.iface.actionShowPythonDialog().trigger()
Is there a way to additionally open the console's editor (the window where you can enter multiple …
1
vote
1
answer
650
views
Creating a memory layer without the CRS dialog in PyQGIS 3
I am trying to create a memory layer:
tempLayer = QgsVectorLayer('LineString', 'my_temp_layer', 'memory')
But as soon as this line is excecuted (not when I add it to the map!) the CRS dialog pops u …
9
votes
2
answers
2k
views
Using memory layer as input and/or output with runalg?
Can a memory layer be used as an input and/or output with runalg?
With runandload I get this to work:
processing.runandload("qgis:mergevectorlayers","memory:bufferOne", "memory:bufferTwo", r"memory …
4
votes
2
answers
3k
views
Why use QgsFeatureRequest() when iterating?
I am unclear on why one should use QgsFeatureRequest() when iterating over a file’s features.
Let’s say I would like to print out all IDs in my currently active dataset.
Now, most examples will provi …
7
votes
Accepted
How to snap lines to nearest point?
You have to allow snapping and then play around with the options until you configure settings that suit your needs best. You can open the snapping options as shown here:
And then configure your set …
2
votes
Accepted
How to snap polygons to lines?
You'd go about it like you did when you snapped to points in this post
All you have to change is that instead of choosing to snap to vertexes you would snap to segments (or both, depending on your go …
2
votes
Calculating file name with field calculator
From your comment I would assume that you just want to add a new field?
Open the attribute table of the file, start an edit session, and then use this button:
In your case you would have to opt fo …
4
votes
Accepted
Is there a way to give the drawing red polygon a higher alpha channel
Alpha and color! Enjoy digitizing :-)
6
votes
Why do I get green crossed circles instead when I try to move a point?
OK now:
Step 2: Now you are about to create an error:
Step 3: And, whoops, there the error is, and it is marked in green:
You most likely did not mean to create that that gap, and therefore QGIS …
2
votes
Accepted
How does fTools' Distance Matrix compute the distance and in what units?
As a general rule QGIS always uses the dataset's coordinate system's units (the coordinate system is also referred to as CRS). … You could for example find all of the source code on the QGIS GitHub page. …
14
votes
Is there a way of auto_increment for the ID column in QGIS
I would like to add to vinayan's post and briefly mention the rownum function, as it is very similar and in some cases might be a little more convenient.
id returns the Feature ID, meaning that it …
2
votes
0
answers
1k
views
Changing the background color of the Georeferencer in QGIS
Is there a way to change the background color of the Georeferencer in QGIS? What I mean is, can I somewhere change the color that does not belong to the image that is about to be georeferenced? …