Selecting points with MINIMUM distance of 10 km from vector line in country?Distance between a line layer and...
Who has more? Ireland or Iceland?
How can I have x-axis ticks that show ticks scaled in powers of ten?
Help! My Character is too much for her story!
Why does this boat have a landing pad? (SpaceX's GO Searcher) Any plans for propulsive capsule landings?
Will the concrete slab in a partially heated shed conduct a lot of heat to the unconditioned area?
How to recover against Snake as a heavyweight character?
I've given my players a lot of magic items. Is it reasonable for me to give them harder encounters?
Why would /etc/passwd be used every time someone executes `ls -l` command?
How does learning spells work when leveling a multiclass character?
Has a sovereign Communist government ever run, and conceded loss, on a fair election?
Why restrict private health insurance?
Should we avoid writing fiction about historical events without extensive research?
Sort array by month and year
School performs periodic password audits. Is my password compromised?
Tabular environment - text vertically positions itself by bottom of tikz picture in adjacent cell
How to make sure I'm assertive enough in contact with subordinates?
Was this cameo in Captain Marvel computer generated?
What does it take to become a wilderness skills guide as a business?
Does the US political system, in principle, allow for a no-party system?
Where is the License file location for Identity Server in Sitecore 9.1?
How to distinguish easily different soldier of ww2?
How to install "rounded" brake pads
Can Witch Sight see through Mirror Image?
How can I portion out frozen cookie dough?
Selecting points with MINIMUM distance of 10 km from vector line in country?
Distance between a line layer and several other line features (arcGIS 9.3 Arcview Licence)Calculating shortest distance from point to line using QGIS?How to merge overlapping and duplicate lines from vector layer to one single line?Node-line minimum distance: draw the minimum distance point locationMinimum distance from points to nearest line among multiple lines shapefileCalculating shortest distance between raster pixels and line feature in QGIS?Get minimum distance direction from point to lineAdding Points to line at certain distance using QGIS?What is the unit of measurement of the distance between two points using geopandas distance function?Creating points along line at ellipsoidal distance
I have a huge amount of points and some lines in my QGIS map.
I want to do a selection just of those points that are minimum 10 km far from the line.
Any idea?
I have no problem doing the opposite (points within 10 km of the line) using buffers - but that's not what i need.
qgis distance
add a comment |
I have a huge amount of points and some lines in my QGIS map.
I want to do a selection just of those points that are minimum 10 km far from the line.
Any idea?
I have no problem doing the opposite (points within 10 km of the line) using buffers - but that's not what i need.
qgis distance
5
Select the points within 10km (a buffer) then switch selection.
– Michael Stimson
Jun 9 '16 at 23:25
add a comment |
I have a huge amount of points and some lines in my QGIS map.
I want to do a selection just of those points that are minimum 10 km far from the line.
Any idea?
I have no problem doing the opposite (points within 10 km of the line) using buffers - but that's not what i need.
qgis distance
I have a huge amount of points and some lines in my QGIS map.
I want to do a selection just of those points that are minimum 10 km far from the line.
Any idea?
I have no problem doing the opposite (points within 10 km of the line) using buffers - but that's not what i need.
qgis distance
qgis distance
edited 20 mins ago
PolyGeo♦
53.6k1781243
53.6k1781243
asked Jun 9 '16 at 21:41
JanitaJanita
17011
17011
5
Select the points within 10km (a buffer) then switch selection.
– Michael Stimson
Jun 9 '16 at 23:25
add a comment |
5
Select the points within 10km (a buffer) then switch selection.
– Michael Stimson
Jun 9 '16 at 23:25
5
5
Select the points within 10km (a buffer) then switch selection.
– Michael Stimson
Jun 9 '16 at 23:25
Select the points within 10km (a buffer) then switch selection.
– Michael Stimson
Jun 9 '16 at 23:25
add a comment |
1 Answer
1
active
oldest
votes
First create a buffer 10km from your lines, then either as @Micheal suggests select all the points that intersect the buffer (using the spatial query plugin) and then invert the selection. Or more directly select using isDisjoint (which is not intersects really).
I created a Buffer of 10 km around the line. Then I used the Spatial Query to create a new selection of villages inside of the buffer (Points -> Within> buffer). It works and now I have a new layer with villages within 10km from the line. The question is: How to switch the selection, I didn't really get it @Michael
– Janita
Jun 10 '16 at 9:19
1
look on the select by expression menu (little E/yellow square) and there is an operation - invert selection or if you open attribute table there is a half yellow/half white icon there too.
– Ian Turton♦
Jun 10 '16 at 9:23
it will work on the "selected layer" ie the one that is highlighted in the layer list
– Ian Turton♦
Jun 10 '16 at 10:15
I found the operation BUT the thing is that I have two layers: the original one with all the points (12 566 points) and the second one with just points within 10km distance from lines (962 points). When I click on the second layer and then invert selection, these points (962 points) dissapear, which is obvious I suppose. In any case I cannot see the points outside of 10km area from lines. A way to do could be: show me all the points (layer 1) minus villages within 10km from lines (layer 2). Is this possible somehow? @Michael
– Janita
Jun 10 '16 at 10:24
Finally I was successful :) I created a new Spatial Query where I put as Source features: All points layer; where the feature: is disjoint, reference features of: points within the 10km buffer.Then I right click on the layer All points -> Save as: Save only selected features. Thanx a lot for your help
– Janita
Jun 10 '16 at 13:55
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "79"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f197831%2fselecting-points-with-minimum-distance-of-10-km-from-vector-line-in-country%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
First create a buffer 10km from your lines, then either as @Micheal suggests select all the points that intersect the buffer (using the spatial query plugin) and then invert the selection. Or more directly select using isDisjoint (which is not intersects really).
I created a Buffer of 10 km around the line. Then I used the Spatial Query to create a new selection of villages inside of the buffer (Points -> Within> buffer). It works and now I have a new layer with villages within 10km from the line. The question is: How to switch the selection, I didn't really get it @Michael
– Janita
Jun 10 '16 at 9:19
1
look on the select by expression menu (little E/yellow square) and there is an operation - invert selection or if you open attribute table there is a half yellow/half white icon there too.
– Ian Turton♦
Jun 10 '16 at 9:23
it will work on the "selected layer" ie the one that is highlighted in the layer list
– Ian Turton♦
Jun 10 '16 at 10:15
I found the operation BUT the thing is that I have two layers: the original one with all the points (12 566 points) and the second one with just points within 10km distance from lines (962 points). When I click on the second layer and then invert selection, these points (962 points) dissapear, which is obvious I suppose. In any case I cannot see the points outside of 10km area from lines. A way to do could be: show me all the points (layer 1) minus villages within 10km from lines (layer 2). Is this possible somehow? @Michael
– Janita
Jun 10 '16 at 10:24
Finally I was successful :) I created a new Spatial Query where I put as Source features: All points layer; where the feature: is disjoint, reference features of: points within the 10km buffer.Then I right click on the layer All points -> Save as: Save only selected features. Thanx a lot for your help
– Janita
Jun 10 '16 at 13:55
add a comment |
First create a buffer 10km from your lines, then either as @Micheal suggests select all the points that intersect the buffer (using the spatial query plugin) and then invert the selection. Or more directly select using isDisjoint (which is not intersects really).
I created a Buffer of 10 km around the line. Then I used the Spatial Query to create a new selection of villages inside of the buffer (Points -> Within> buffer). It works and now I have a new layer with villages within 10km from the line. The question is: How to switch the selection, I didn't really get it @Michael
– Janita
Jun 10 '16 at 9:19
1
look on the select by expression menu (little E/yellow square) and there is an operation - invert selection or if you open attribute table there is a half yellow/half white icon there too.
– Ian Turton♦
Jun 10 '16 at 9:23
it will work on the "selected layer" ie the one that is highlighted in the layer list
– Ian Turton♦
Jun 10 '16 at 10:15
I found the operation BUT the thing is that I have two layers: the original one with all the points (12 566 points) and the second one with just points within 10km distance from lines (962 points). When I click on the second layer and then invert selection, these points (962 points) dissapear, which is obvious I suppose. In any case I cannot see the points outside of 10km area from lines. A way to do could be: show me all the points (layer 1) minus villages within 10km from lines (layer 2). Is this possible somehow? @Michael
– Janita
Jun 10 '16 at 10:24
Finally I was successful :) I created a new Spatial Query where I put as Source features: All points layer; where the feature: is disjoint, reference features of: points within the 10km buffer.Then I right click on the layer All points -> Save as: Save only selected features. Thanx a lot for your help
– Janita
Jun 10 '16 at 13:55
add a comment |
First create a buffer 10km from your lines, then either as @Micheal suggests select all the points that intersect the buffer (using the spatial query plugin) and then invert the selection. Or more directly select using isDisjoint (which is not intersects really).
First create a buffer 10km from your lines, then either as @Micheal suggests select all the points that intersect the buffer (using the spatial query plugin) and then invert the selection. Or more directly select using isDisjoint (which is not intersects really).
answered Jun 10 '16 at 8:34
Ian Turton♦Ian Turton
49.5k547114
49.5k547114
I created a Buffer of 10 km around the line. Then I used the Spatial Query to create a new selection of villages inside of the buffer (Points -> Within> buffer). It works and now I have a new layer with villages within 10km from the line. The question is: How to switch the selection, I didn't really get it @Michael
– Janita
Jun 10 '16 at 9:19
1
look on the select by expression menu (little E/yellow square) and there is an operation - invert selection or if you open attribute table there is a half yellow/half white icon there too.
– Ian Turton♦
Jun 10 '16 at 9:23
it will work on the "selected layer" ie the one that is highlighted in the layer list
– Ian Turton♦
Jun 10 '16 at 10:15
I found the operation BUT the thing is that I have two layers: the original one with all the points (12 566 points) and the second one with just points within 10km distance from lines (962 points). When I click on the second layer and then invert selection, these points (962 points) dissapear, which is obvious I suppose. In any case I cannot see the points outside of 10km area from lines. A way to do could be: show me all the points (layer 1) minus villages within 10km from lines (layer 2). Is this possible somehow? @Michael
– Janita
Jun 10 '16 at 10:24
Finally I was successful :) I created a new Spatial Query where I put as Source features: All points layer; where the feature: is disjoint, reference features of: points within the 10km buffer.Then I right click on the layer All points -> Save as: Save only selected features. Thanx a lot for your help
– Janita
Jun 10 '16 at 13:55
add a comment |
I created a Buffer of 10 km around the line. Then I used the Spatial Query to create a new selection of villages inside of the buffer (Points -> Within> buffer). It works and now I have a new layer with villages within 10km from the line. The question is: How to switch the selection, I didn't really get it @Michael
– Janita
Jun 10 '16 at 9:19
1
look on the select by expression menu (little E/yellow square) and there is an operation - invert selection or if you open attribute table there is a half yellow/half white icon there too.
– Ian Turton♦
Jun 10 '16 at 9:23
it will work on the "selected layer" ie the one that is highlighted in the layer list
– Ian Turton♦
Jun 10 '16 at 10:15
I found the operation BUT the thing is that I have two layers: the original one with all the points (12 566 points) and the second one with just points within 10km distance from lines (962 points). When I click on the second layer and then invert selection, these points (962 points) dissapear, which is obvious I suppose. In any case I cannot see the points outside of 10km area from lines. A way to do could be: show me all the points (layer 1) minus villages within 10km from lines (layer 2). Is this possible somehow? @Michael
– Janita
Jun 10 '16 at 10:24
Finally I was successful :) I created a new Spatial Query where I put as Source features: All points layer; where the feature: is disjoint, reference features of: points within the 10km buffer.Then I right click on the layer All points -> Save as: Save only selected features. Thanx a lot for your help
– Janita
Jun 10 '16 at 13:55
I created a Buffer of 10 km around the line. Then I used the Spatial Query to create a new selection of villages inside of the buffer (Points -> Within> buffer). It works and now I have a new layer with villages within 10km from the line. The question is: How to switch the selection, I didn't really get it @Michael
– Janita
Jun 10 '16 at 9:19
I created a Buffer of 10 km around the line. Then I used the Spatial Query to create a new selection of villages inside of the buffer (Points -> Within> buffer). It works and now I have a new layer with villages within 10km from the line. The question is: How to switch the selection, I didn't really get it @Michael
– Janita
Jun 10 '16 at 9:19
1
1
look on the select by expression menu (little E/yellow square) and there is an operation - invert selection or if you open attribute table there is a half yellow/half white icon there too.
– Ian Turton♦
Jun 10 '16 at 9:23
look on the select by expression menu (little E/yellow square) and there is an operation - invert selection or if you open attribute table there is a half yellow/half white icon there too.
– Ian Turton♦
Jun 10 '16 at 9:23
it will work on the "selected layer" ie the one that is highlighted in the layer list
– Ian Turton♦
Jun 10 '16 at 10:15
it will work on the "selected layer" ie the one that is highlighted in the layer list
– Ian Turton♦
Jun 10 '16 at 10:15
I found the operation BUT the thing is that I have two layers: the original one with all the points (12 566 points) and the second one with just points within 10km distance from lines (962 points). When I click on the second layer and then invert selection, these points (962 points) dissapear, which is obvious I suppose. In any case I cannot see the points outside of 10km area from lines. A way to do could be: show me all the points (layer 1) minus villages within 10km from lines (layer 2). Is this possible somehow? @Michael
– Janita
Jun 10 '16 at 10:24
I found the operation BUT the thing is that I have two layers: the original one with all the points (12 566 points) and the second one with just points within 10km distance from lines (962 points). When I click on the second layer and then invert selection, these points (962 points) dissapear, which is obvious I suppose. In any case I cannot see the points outside of 10km area from lines. A way to do could be: show me all the points (layer 1) minus villages within 10km from lines (layer 2). Is this possible somehow? @Michael
– Janita
Jun 10 '16 at 10:24
Finally I was successful :) I created a new Spatial Query where I put as Source features: All points layer; where the feature: is disjoint, reference features of: points within the 10km buffer.Then I right click on the layer All points -> Save as: Save only selected features. Thanx a lot for your help
– Janita
Jun 10 '16 at 13:55
Finally I was successful :) I created a new Spatial Query where I put as Source features: All points layer; where the feature: is disjoint, reference features of: points within the 10km buffer.Then I right click on the layer All points -> Save as: Save only selected features. Thanx a lot for your help
– Janita
Jun 10 '16 at 13:55
add a comment |
Thanks for contributing an answer to Geographic Information Systems Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f197831%2fselecting-points-with-minimum-distance-of-10-km-from-vector-line-in-country%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
5
Select the points within 10km (a buffer) then switch selection.
– Michael Stimson
Jun 9 '16 at 23:25