Polygons not containing other polygons
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I have two large polygon data-sets, one highlights the building footprints and one indicating parcel outlines. I want to find all parcels without a building on them. Essentially all parcel A's which do not contain a parcel B. Is the Spatial query, select by location the best way to do this? The files are very large and often crash.
qgis select-by-location
New contributor
add a comment |Â
up vote
1
down vote
favorite
I have two large polygon data-sets, one highlights the building footprints and one indicating parcel outlines. I want to find all parcels without a building on them. Essentially all parcel A's which do not contain a parcel B. Is the Spatial query, select by location the best way to do this? The files are very large and often crash.
qgis select-by-location
New contributor
Welcome to GIS SE. If you have not done so, please take the tour to learn about our focused Q&A format. Please edit your question to detail what you have tried, and if you are seeing crashes, please include any crash messages.
â Andy
3 hours ago
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have two large polygon data-sets, one highlights the building footprints and one indicating parcel outlines. I want to find all parcels without a building on them. Essentially all parcel A's which do not contain a parcel B. Is the Spatial query, select by location the best way to do this? The files are very large and often crash.
qgis select-by-location
New contributor
I have two large polygon data-sets, one highlights the building footprints and one indicating parcel outlines. I want to find all parcels without a building on them. Essentially all parcel A's which do not contain a parcel B. Is the Spatial query, select by location the best way to do this? The files are very large and often crash.
qgis select-by-location
qgis select-by-location
New contributor
New contributor
edited 2 hours ago
Kadir
3,92011226
3,92011226
New contributor
asked 3 hours ago
ADN FRS
61
61
New contributor
New contributor
Welcome to GIS SE. If you have not done so, please take the tour to learn about our focused Q&A format. Please edit your question to detail what you have tried, and if you are seeing crashes, please include any crash messages.
â Andy
3 hours ago
add a comment |Â
Welcome to GIS SE. If you have not done so, please take the tour to learn about our focused Q&A format. Please edit your question to detail what you have tried, and if you are seeing crashes, please include any crash messages.
â Andy
3 hours ago
Welcome to GIS SE. If you have not done so, please take the tour to learn about our focused Q&A format. Please edit your question to detail what you have tried, and if you are seeing crashes, please include any crash messages.
â Andy
3 hours ago
Welcome to GIS SE. If you have not done so, please take the tour to learn about our focused Q&A format. Please edit your question to detail what you have tried, and if you are seeing crashes, please include any crash messages.
â Andy
3 hours ago
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
2
down vote
Yes, Select by location
is the right tool. (In this example I used Extract by location
but they are essentially the same).
To reduce QGIS' burden, we can:
- Process data without showing the layers on the map canvas
- Perform only one task at one time.
For example:
(1) Consider we want to extract Parcel 103
(no buildings).
(2) Restart QGIS (or just remove all layers) to empty the map area.
(3) Activate Extract by location
(under Processing Toolbox | Vector selection tools
).
- Click on the ... button and select
parcel
data. - Click on the ... button and select
buildings
data. - Select disjoint for the
Geometric predicate
. - Run the too..
(4) We will get new Extracted
layer.
I echo ThingumaBob that you may as well consider changing data provider.
+1 - I usually use any form of SQL over built in tools and finding non-intersections is a bit of a pain (e.g. using plainST_Disjoint
on two tables results in a cross product etc.); if QGIS handles that elegantly, better use this than my suggestion.
â ThingumaBob
16 mins ago
add a comment |Â
up vote
1
down vote
I think you could
select all features of your polygon layer
run an intersection filter via
Select by location
on selected featureschoose
Removing from current selection
Main point:
If those files (shapefiles?) are large enough to crash QGIS, consider moving to GeoPackage, or PostGIS even.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
Yes, Select by location
is the right tool. (In this example I used Extract by location
but they are essentially the same).
To reduce QGIS' burden, we can:
- Process data without showing the layers on the map canvas
- Perform only one task at one time.
For example:
(1) Consider we want to extract Parcel 103
(no buildings).
(2) Restart QGIS (or just remove all layers) to empty the map area.
(3) Activate Extract by location
(under Processing Toolbox | Vector selection tools
).
- Click on the ... button and select
parcel
data. - Click on the ... button and select
buildings
data. - Select disjoint for the
Geometric predicate
. - Run the too..
(4) We will get new Extracted
layer.
I echo ThingumaBob that you may as well consider changing data provider.
+1 - I usually use any form of SQL over built in tools and finding non-intersections is a bit of a pain (e.g. using plainST_Disjoint
on two tables results in a cross product etc.); if QGIS handles that elegantly, better use this than my suggestion.
â ThingumaBob
16 mins ago
add a comment |Â
up vote
2
down vote
Yes, Select by location
is the right tool. (In this example I used Extract by location
but they are essentially the same).
To reduce QGIS' burden, we can:
- Process data without showing the layers on the map canvas
- Perform only one task at one time.
For example:
(1) Consider we want to extract Parcel 103
(no buildings).
(2) Restart QGIS (or just remove all layers) to empty the map area.
(3) Activate Extract by location
(under Processing Toolbox | Vector selection tools
).
- Click on the ... button and select
parcel
data. - Click on the ... button and select
buildings
data. - Select disjoint for the
Geometric predicate
. - Run the too..
(4) We will get new Extracted
layer.
I echo ThingumaBob that you may as well consider changing data provider.
+1 - I usually use any form of SQL over built in tools and finding non-intersections is a bit of a pain (e.g. using plainST_Disjoint
on two tables results in a cross product etc.); if QGIS handles that elegantly, better use this than my suggestion.
â ThingumaBob
16 mins ago
add a comment |Â
up vote
2
down vote
up vote
2
down vote
Yes, Select by location
is the right tool. (In this example I used Extract by location
but they are essentially the same).
To reduce QGIS' burden, we can:
- Process data without showing the layers on the map canvas
- Perform only one task at one time.
For example:
(1) Consider we want to extract Parcel 103
(no buildings).
(2) Restart QGIS (or just remove all layers) to empty the map area.
(3) Activate Extract by location
(under Processing Toolbox | Vector selection tools
).
- Click on the ... button and select
parcel
data. - Click on the ... button and select
buildings
data. - Select disjoint for the
Geometric predicate
. - Run the too..
(4) We will get new Extracted
layer.
I echo ThingumaBob that you may as well consider changing data provider.
Yes, Select by location
is the right tool. (In this example I used Extract by location
but they are essentially the same).
To reduce QGIS' burden, we can:
- Process data without showing the layers on the map canvas
- Perform only one task at one time.
For example:
(1) Consider we want to extract Parcel 103
(no buildings).
(2) Restart QGIS (or just remove all layers) to empty the map area.
(3) Activate Extract by location
(under Processing Toolbox | Vector selection tools
).
- Click on the ... button and select
parcel
data. - Click on the ... button and select
buildings
data. - Select disjoint for the
Geometric predicate
. - Run the too..
(4) We will get new Extracted
layer.
I echo ThingumaBob that you may as well consider changing data provider.
answered 2 hours ago
Kazuhito
12.7k31472
12.7k31472
+1 - I usually use any form of SQL over built in tools and finding non-intersections is a bit of a pain (e.g. using plainST_Disjoint
on two tables results in a cross product etc.); if QGIS handles that elegantly, better use this than my suggestion.
â ThingumaBob
16 mins ago
add a comment |Â
+1 - I usually use any form of SQL over built in tools and finding non-intersections is a bit of a pain (e.g. using plainST_Disjoint
on two tables results in a cross product etc.); if QGIS handles that elegantly, better use this than my suggestion.
â ThingumaBob
16 mins ago
+1 - I usually use any form of SQL over built in tools and finding non-intersections is a bit of a pain (e.g. using plain
ST_Disjoint
on two tables results in a cross product etc.); if QGIS handles that elegantly, better use this than my suggestion.â ThingumaBob
16 mins ago
+1 - I usually use any form of SQL over built in tools and finding non-intersections is a bit of a pain (e.g. using plain
ST_Disjoint
on two tables results in a cross product etc.); if QGIS handles that elegantly, better use this than my suggestion.â ThingumaBob
16 mins ago
add a comment |Â
up vote
1
down vote
I think you could
select all features of your polygon layer
run an intersection filter via
Select by location
on selected featureschoose
Removing from current selection
Main point:
If those files (shapefiles?) are large enough to crash QGIS, consider moving to GeoPackage, or PostGIS even.
add a comment |Â
up vote
1
down vote
I think you could
select all features of your polygon layer
run an intersection filter via
Select by location
on selected featureschoose
Removing from current selection
Main point:
If those files (shapefiles?) are large enough to crash QGIS, consider moving to GeoPackage, or PostGIS even.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
I think you could
select all features of your polygon layer
run an intersection filter via
Select by location
on selected featureschoose
Removing from current selection
Main point:
If those files (shapefiles?) are large enough to crash QGIS, consider moving to GeoPackage, or PostGIS even.
I think you could
select all features of your polygon layer
run an intersection filter via
Select by location
on selected featureschoose
Removing from current selection
Main point:
If those files (shapefiles?) are large enough to crash QGIS, consider moving to GeoPackage, or PostGIS even.
edited 1 hour ago
answered 3 hours ago
ThingumaBob
4,5181222
4,5181222
add a comment |Â
add a comment |Â
ADN FRS is a new contributor. Be nice, and check out our Code of Conduct.
ADN FRS is a new contributor. Be nice, and check out our Code of Conduct.
ADN FRS is a new contributor. Be nice, and check out our Code of Conduct.
ADN FRS 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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f298744%2fpolygons-not-containing-other-polygons%23new-answer', 'question_page');
);
Post as a guest
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
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
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
Welcome to GIS SE. If you have not done so, please take the tour to learn about our focused Q&A format. Please edit your question to detail what you have tried, and if you are seeing crashes, please include any crash messages.
â Andy
3 hours ago