QGIS Zanzibar how to crop?Points in Polygon Query but having CRS issues (QGIS)Merge based on joined attribute...
How to convert a file with several spaces into a tab-delimited file?
Are there any sports for which the world's best player is female?
Received a dinner invitation through my employer's email, is it ok to attend?
If a non-friend comes across my Steam Wishlist, how easily can he gift me one of the games?
Cracking the Coding Interview — 1.5 One Away
Optimization terminology: "Exact" v. "Approximate"
Modulus Operandi
How to memorize multiple pieces?
definition of "percentile"
Why does this quadratic expression have three zeroes?
Ownership of a PhD Student's Research
What is a solution?
Why are Hobbits so fond of mushrooms?
QGIS Zanzibar how to crop?
How to ask for a LinkedIn endorsement?
C program to parse source code of another language
How to loop for 3 times in bash script when docker push fails?
Is a request to book a business flight ticket for a graduate student an unreasonable one?
Why weren't bootable game disks ever common on the IBM PC?
What's the point of having a RAID 1 configuration over incremental backups to a secondary drive?
How would vampires avoid contracting diseases?
Why do people keep referring to Leia as Princess Leia, even after the destruction of Alderaan?
Why are they 'nude photos'?
Is there any word for "disobedience to God"?
QGIS Zanzibar how to crop?
Points in Polygon Query but having CRS issues (QGIS)Merge based on joined attribute in QGISConverting DEM text file to tiff file in QGIS?Clip raster with polygon in QGISQGIS Spatial Join Includes Records From Features Just Outside PolygonClip a raster by vector in QGIS while keep raster cells that do not touch the vector boundaryIs it possible to create vector style in QGIS that is a border inside border?Clip feature in QGIS doesn't return desired resultExtracting GeoTIFF colours and adding to equal geometry shapefileHow to clip an incomplete coastline?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I have georeferenced an old OS map and I have now imported the OS data shapefile for boundaries for England. How can I get rid of the extra data that extends beyond my map and just leave my scanned map with the boundary layer?
This is a screenshot of what it looks like.

qgis qgis-3 clip
add a comment |
I have georeferenced an old OS map and I have now imported the OS data shapefile for boundaries for England. How can I get rid of the extra data that extends beyond my map and just leave my scanned map with the boundary layer?
This is a screenshot of what it looks like.

qgis qgis-3 clip
add a comment |
I have georeferenced an old OS map and I have now imported the OS data shapefile for boundaries for England. How can I get rid of the extra data that extends beyond my map and just leave my scanned map with the boundary layer?
This is a screenshot of what it looks like.

qgis qgis-3 clip
I have georeferenced an old OS map and I have now imported the OS data shapefile for boundaries for England. How can I get rid of the extra data that extends beyond my map and just leave my scanned map with the boundary layer?
This is a screenshot of what it looks like.

qgis qgis-3 clip
qgis qgis-3 clip
edited 7 hours ago
lambertj
1,9751 gold badge6 silver badges23 bronze badges
1,9751 gold badge6 silver badges23 bronze badges
asked 9 hours ago
GideonswayGideonsway
422 bronze badges
422 bronze badges
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Using the Vector Overlay->Extract/clip by extent tool in the processing toolbox will produce almost what you want:

But as you can see you get the bounding box not the actual boundary of the raster. I had hoped you could use the Vector geometry->Minimum bounding geometry but that only works on vector layers.
So if you must have the exact matching boundary you will need to create a scratch polygon layer and add the bounding polygon by hand and use that in the clip operation.

Thanks Ian I will try that - but can you also explain what a "scratch polygon layer" and what you mean by adding "the bounding polygon by hand"? I know this is probably a dumb question, but why isn't there simply a cropping tool as per photoshop? (I assume that "clip" is a QGIS/GIS term for crop?) Thanks.
– Gideonsway
7 hours ago
add a comment |
You cannot clip a vector layer with a raster layer, so do the following
- Use Processing Toolbox > Layer Tools > Extract layer extent for the scanned map layer.
- Now you can use Processing Toolbox > Vector overlay > Clip and choose the OS data shapefile as Input layer and the extent layer generated in Step 1 as the Overlay layer.
Hi I did as you suggested re 1 above and used processing toolbox>layer tools>Extract Layer extent on the scanned map and get this error message "files are not supported by this algorithm" Not sure how to proceed. It feels as if this should be such a routine and easy thing to accomplish as per crop in photoshop. Any thoughts please?
– Gideonsway
7 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
});
}
});
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%2f328394%2fqgis-zanzibar-how-to-crop%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Using the Vector Overlay->Extract/clip by extent tool in the processing toolbox will produce almost what you want:

But as you can see you get the bounding box not the actual boundary of the raster. I had hoped you could use the Vector geometry->Minimum bounding geometry but that only works on vector layers.
So if you must have the exact matching boundary you will need to create a scratch polygon layer and add the bounding polygon by hand and use that in the clip operation.

Thanks Ian I will try that - but can you also explain what a "scratch polygon layer" and what you mean by adding "the bounding polygon by hand"? I know this is probably a dumb question, but why isn't there simply a cropping tool as per photoshop? (I assume that "clip" is a QGIS/GIS term for crop?) Thanks.
– Gideonsway
7 hours ago
add a comment |
Using the Vector Overlay->Extract/clip by extent tool in the processing toolbox will produce almost what you want:

But as you can see you get the bounding box not the actual boundary of the raster. I had hoped you could use the Vector geometry->Minimum bounding geometry but that only works on vector layers.
So if you must have the exact matching boundary you will need to create a scratch polygon layer and add the bounding polygon by hand and use that in the clip operation.

Thanks Ian I will try that - but can you also explain what a "scratch polygon layer" and what you mean by adding "the bounding polygon by hand"? I know this is probably a dumb question, but why isn't there simply a cropping tool as per photoshop? (I assume that "clip" is a QGIS/GIS term for crop?) Thanks.
– Gideonsway
7 hours ago
add a comment |
Using the Vector Overlay->Extract/clip by extent tool in the processing toolbox will produce almost what you want:

But as you can see you get the bounding box not the actual boundary of the raster. I had hoped you could use the Vector geometry->Minimum bounding geometry but that only works on vector layers.
So if you must have the exact matching boundary you will need to create a scratch polygon layer and add the bounding polygon by hand and use that in the clip operation.

Using the Vector Overlay->Extract/clip by extent tool in the processing toolbox will produce almost what you want:

But as you can see you get the bounding box not the actual boundary of the raster. I had hoped you could use the Vector geometry->Minimum bounding geometry but that only works on vector layers.
So if you must have the exact matching boundary you will need to create a scratch polygon layer and add the bounding polygon by hand and use that in the clip operation.

answered 8 hours ago
Ian Turton♦Ian Turton
52.3k5 gold badges48 silver badges121 bronze badges
52.3k5 gold badges48 silver badges121 bronze badges
Thanks Ian I will try that - but can you also explain what a "scratch polygon layer" and what you mean by adding "the bounding polygon by hand"? I know this is probably a dumb question, but why isn't there simply a cropping tool as per photoshop? (I assume that "clip" is a QGIS/GIS term for crop?) Thanks.
– Gideonsway
7 hours ago
add a comment |
Thanks Ian I will try that - but can you also explain what a "scratch polygon layer" and what you mean by adding "the bounding polygon by hand"? I know this is probably a dumb question, but why isn't there simply a cropping tool as per photoshop? (I assume that "clip" is a QGIS/GIS term for crop?) Thanks.
– Gideonsway
7 hours ago
Thanks Ian I will try that - but can you also explain what a "scratch polygon layer" and what you mean by adding "the bounding polygon by hand"? I know this is probably a dumb question, but why isn't there simply a cropping tool as per photoshop? (I assume that "clip" is a QGIS/GIS term for crop?) Thanks.
– Gideonsway
7 hours ago
Thanks Ian I will try that - but can you also explain what a "scratch polygon layer" and what you mean by adding "the bounding polygon by hand"? I know this is probably a dumb question, but why isn't there simply a cropping tool as per photoshop? (I assume that "clip" is a QGIS/GIS term for crop?) Thanks.
– Gideonsway
7 hours ago
add a comment |
You cannot clip a vector layer with a raster layer, so do the following
- Use Processing Toolbox > Layer Tools > Extract layer extent for the scanned map layer.
- Now you can use Processing Toolbox > Vector overlay > Clip and choose the OS data shapefile as Input layer and the extent layer generated in Step 1 as the Overlay layer.
Hi I did as you suggested re 1 above and used processing toolbox>layer tools>Extract Layer extent on the scanned map and get this error message "files are not supported by this algorithm" Not sure how to proceed. It feels as if this should be such a routine and easy thing to accomplish as per crop in photoshop. Any thoughts please?
– Gideonsway
7 hours ago
add a comment |
You cannot clip a vector layer with a raster layer, so do the following
- Use Processing Toolbox > Layer Tools > Extract layer extent for the scanned map layer.
- Now you can use Processing Toolbox > Vector overlay > Clip and choose the OS data shapefile as Input layer and the extent layer generated in Step 1 as the Overlay layer.
Hi I did as you suggested re 1 above and used processing toolbox>layer tools>Extract Layer extent on the scanned map and get this error message "files are not supported by this algorithm" Not sure how to proceed. It feels as if this should be such a routine and easy thing to accomplish as per crop in photoshop. Any thoughts please?
– Gideonsway
7 hours ago
add a comment |
You cannot clip a vector layer with a raster layer, so do the following
- Use Processing Toolbox > Layer Tools > Extract layer extent for the scanned map layer.
- Now you can use Processing Toolbox > Vector overlay > Clip and choose the OS data shapefile as Input layer and the extent layer generated in Step 1 as the Overlay layer.
You cannot clip a vector layer with a raster layer, so do the following
- Use Processing Toolbox > Layer Tools > Extract layer extent for the scanned map layer.
- Now you can use Processing Toolbox > Vector overlay > Clip and choose the OS data shapefile as Input layer and the extent layer generated in Step 1 as the Overlay layer.
answered 8 hours ago
spatialthoughtsspatialthoughts
3,87815 silver badges27 bronze badges
3,87815 silver badges27 bronze badges
Hi I did as you suggested re 1 above and used processing toolbox>layer tools>Extract Layer extent on the scanned map and get this error message "files are not supported by this algorithm" Not sure how to proceed. It feels as if this should be such a routine and easy thing to accomplish as per crop in photoshop. Any thoughts please?
– Gideonsway
7 hours ago
add a comment |
Hi I did as you suggested re 1 above and used processing toolbox>layer tools>Extract Layer extent on the scanned map and get this error message "files are not supported by this algorithm" Not sure how to proceed. It feels as if this should be such a routine and easy thing to accomplish as per crop in photoshop. Any thoughts please?
– Gideonsway
7 hours ago
Hi I did as you suggested re 1 above and used processing toolbox>layer tools>Extract Layer extent on the scanned map and get this error message "files are not supported by this algorithm" Not sure how to proceed. It feels as if this should be such a routine and easy thing to accomplish as per crop in photoshop. Any thoughts please?
– Gideonsway
7 hours ago
Hi I did as you suggested re 1 above and used processing toolbox>layer tools>Extract Layer extent on the scanned map and get this error message "files are not supported by this algorithm" Not sure how to proceed. It feels as if this should be such a routine and easy thing to accomplish as per crop in photoshop. Any thoughts please?
– Gideonsway
7 hours ago
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%2f328394%2fqgis-zanzibar-how-to-crop%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