QGIS - filter by polygon size
I'm very new to this so bear with me.
Hopefully a relatively simple query.
I have a city map with property boundaries and I am wanting to filter the boundaries by lot size. i.e just show lots (or polygons) of a certain size, or between two sizes. i.e. lots over 700m2, or lots between 800 and 900m2.
The information I have pulled in doesn't have an area column associated with it so thinking I will need to add my own expression?
Any help would be greatly apprecaited.
qgis
New contributor
add a comment |
I'm very new to this so bear with me.
Hopefully a relatively simple query.
I have a city map with property boundaries and I am wanting to filter the boundaries by lot size. i.e just show lots (or polygons) of a certain size, or between two sizes. i.e. lots over 700m2, or lots between 800 and 900m2.
The information I have pulled in doesn't have an area column associated with it so thinking I will need to add my own expression?
Any help would be greatly apprecaited.
qgis
New contributor
add a comment |
I'm very new to this so bear with me.
Hopefully a relatively simple query.
I have a city map with property boundaries and I am wanting to filter the boundaries by lot size. i.e just show lots (or polygons) of a certain size, or between two sizes. i.e. lots over 700m2, or lots between 800 and 900m2.
The information I have pulled in doesn't have an area column associated with it so thinking I will need to add my own expression?
Any help would be greatly apprecaited.
qgis
New contributor
I'm very new to this so bear with me.
Hopefully a relatively simple query.
I have a city map with property boundaries and I am wanting to filter the boundaries by lot size. i.e just show lots (or polygons) of a certain size, or between two sizes. i.e. lots over 700m2, or lots between 800 and 900m2.
The information I have pulled in doesn't have an area column associated with it so thinking I will need to add my own expression?
Any help would be greatly apprecaited.
qgis
qgis
New contributor
New contributor
New contributor
asked 6 hours ago
ThomasThomas
83
83
New contributor
New contributor
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Just dig into the field calculator, the hints on each function are rather helpful. What you're looking for is $area
, which gives you the area of a polygon in square meters - provided your CRS is a projected one (e.g. UTM).
Either you run the field calculator and then categorise your layer by the column containing the polygon size, or you directly tell the symbology to categorise based on $area
(see screenshot).
Thanks Erik! I've had a play around there and managed to get it to filter as I was after. My next question then: I am looking to filter data by information from two separate layers. i.e. by area from my boundaries layer, then by suburb location from my street address layer. Can this be done without combining them into one set of data?
– Thomas
5 hours ago
It would be better if you asked this in a separate question, though I think there have been similar questions already.
– Erik
5 hours ago
1
Ok will have a look around and repost if can't work it out. Thanks.
– Thomas
5 hours ago
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
});
}
});
Thomas is a new contributor. Be nice, and check out our Code of Conduct.
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%2f316807%2fqgis-filter-by-polygon-size%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
Just dig into the field calculator, the hints on each function are rather helpful. What you're looking for is $area
, which gives you the area of a polygon in square meters - provided your CRS is a projected one (e.g. UTM).
Either you run the field calculator and then categorise your layer by the column containing the polygon size, or you directly tell the symbology to categorise based on $area
(see screenshot).
Thanks Erik! I've had a play around there and managed to get it to filter as I was after. My next question then: I am looking to filter data by information from two separate layers. i.e. by area from my boundaries layer, then by suburb location from my street address layer. Can this be done without combining them into one set of data?
– Thomas
5 hours ago
It would be better if you asked this in a separate question, though I think there have been similar questions already.
– Erik
5 hours ago
1
Ok will have a look around and repost if can't work it out. Thanks.
– Thomas
5 hours ago
add a comment |
Just dig into the field calculator, the hints on each function are rather helpful. What you're looking for is $area
, which gives you the area of a polygon in square meters - provided your CRS is a projected one (e.g. UTM).
Either you run the field calculator and then categorise your layer by the column containing the polygon size, or you directly tell the symbology to categorise based on $area
(see screenshot).
Thanks Erik! I've had a play around there and managed to get it to filter as I was after. My next question then: I am looking to filter data by information from two separate layers. i.e. by area from my boundaries layer, then by suburb location from my street address layer. Can this be done without combining them into one set of data?
– Thomas
5 hours ago
It would be better if you asked this in a separate question, though I think there have been similar questions already.
– Erik
5 hours ago
1
Ok will have a look around and repost if can't work it out. Thanks.
– Thomas
5 hours ago
add a comment |
Just dig into the field calculator, the hints on each function are rather helpful. What you're looking for is $area
, which gives you the area of a polygon in square meters - provided your CRS is a projected one (e.g. UTM).
Either you run the field calculator and then categorise your layer by the column containing the polygon size, or you directly tell the symbology to categorise based on $area
(see screenshot).
Just dig into the field calculator, the hints on each function are rather helpful. What you're looking for is $area
, which gives you the area of a polygon in square meters - provided your CRS is a projected one (e.g. UTM).
Either you run the field calculator and then categorise your layer by the column containing the polygon size, or you directly tell the symbology to categorise based on $area
(see screenshot).
answered 6 hours ago
ErikErik
3,354322
3,354322
Thanks Erik! I've had a play around there and managed to get it to filter as I was after. My next question then: I am looking to filter data by information from two separate layers. i.e. by area from my boundaries layer, then by suburb location from my street address layer. Can this be done without combining them into one set of data?
– Thomas
5 hours ago
It would be better if you asked this in a separate question, though I think there have been similar questions already.
– Erik
5 hours ago
1
Ok will have a look around and repost if can't work it out. Thanks.
– Thomas
5 hours ago
add a comment |
Thanks Erik! I've had a play around there and managed to get it to filter as I was after. My next question then: I am looking to filter data by information from two separate layers. i.e. by area from my boundaries layer, then by suburb location from my street address layer. Can this be done without combining them into one set of data?
– Thomas
5 hours ago
It would be better if you asked this in a separate question, though I think there have been similar questions already.
– Erik
5 hours ago
1
Ok will have a look around and repost if can't work it out. Thanks.
– Thomas
5 hours ago
Thanks Erik! I've had a play around there and managed to get it to filter as I was after. My next question then: I am looking to filter data by information from two separate layers. i.e. by area from my boundaries layer, then by suburb location from my street address layer. Can this be done without combining them into one set of data?
– Thomas
5 hours ago
Thanks Erik! I've had a play around there and managed to get it to filter as I was after. My next question then: I am looking to filter data by information from two separate layers. i.e. by area from my boundaries layer, then by suburb location from my street address layer. Can this be done without combining them into one set of data?
– Thomas
5 hours ago
It would be better if you asked this in a separate question, though I think there have been similar questions already.
– Erik
5 hours ago
It would be better if you asked this in a separate question, though I think there have been similar questions already.
– Erik
5 hours ago
1
1
Ok will have a look around and repost if can't work it out. Thanks.
– Thomas
5 hours ago
Ok will have a look around and repost if can't work it out. Thanks.
– Thomas
5 hours ago
add a comment |
Thomas is a new contributor. Be nice, and check out our Code of Conduct.
Thomas is a new contributor. Be nice, and check out our Code of Conduct.
Thomas is a new contributor. Be nice, and check out our Code of Conduct.
Thomas is a new contributor. Be nice, and check out our Code of Conduct.
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%2f316807%2fqgis-filter-by-polygon-size%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