Changing vector extent in QGISOpenLayers, zoom to vector layer extentGetting extent of layer in QGIS?How to...
Doomsday-clock for my fantasy planet
Is it legal to have the "// (c) 2019 John Smith" header in all files when there are hundreds of contributors?
Is this homebrew feat, Beast of Burden, balanced?
Eliminate empty elements from a list with a specific pattern
How can I add custom success page
Some basic questions on halt and move in Turing machines
Imbalanced dataset binary classification
Prime joint compound before latex paint?
Why is my log file so massive? 22gb. I am running log backups
My colleague's body is amazing
Mapping arrows in commutative diagrams
How to manage monthly salary
Calculate Levenshtein distance between two strings in Python
Denied boarding due to overcrowding, Sparpreis ticket. What are my rights?
extract characters between two commas?
Crop image to path created in TikZ?
Why do UK politicians seemingly ignore opinion polls on Brexit?
Does it makes sense to buy a cycle to learn riding?
Wild Shape Centaur Into a Giant Elk: do their Charges stack?
How can I fix this gap between bookcases I made?
Domain expired, GoDaddy holds it and is asking more money
Does the average primeness of natural numbers tend to zero?
What is GPS' 19 year rollover and does it present a cybersecurity issue?
Is it true that "The augmented fourth (A4) and the diminished fifth (d5) are the only aug and dim intervals that appear in diatonic scales"
Changing vector extent in QGIS
OpenLayers, zoom to vector layer extentGetting extent of layer in QGIS?How to edit a vector layer extent?ArcGIS Feature Class Extent ChangingChanging extent on a raster in QGISPreventing ArcPy from changing MXD extent?QGIS - some edit feature options disabled in vector layerQGIS clip vector layer to current map extentVector Grid, Graphical Modeler & Input ExtentHow to prevent rasterFromXYZ from changing my raster extent?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I've been looking for a manner to change a vector extent in QGIS, but it's unsuccessfull!
I want change extent because in the past, I had problems to convert vector to raster. I try present the problem bellow:
I'm InVEST user. InVEST is a set of models developed by Natural Capital Project to mapping, quantifying and valuing Ecosystem Services. A while ago, I had a problem with the Carbon model. Actual LULC and Future LULC are input datas beside others. When I analysed this datas I perceived different extents. The model uses the extent when converting vector to raster during processing, therefore the Actual LULC pixels and Future LULC pixels did not fit properly. Another model's process is map algebra. When model executing map algebra, the results present a pattern due to LULC datas misalignment. I corrected this problem using the same extent for two LULC data.In ArcGIS the way to acomplish this task is very simple.
I was ArcGis user. I've been using QGis recently. ArcGIS and QGis work with extent in different ways? Are there a manner to change vector extent in QGIS?
qgis vector editing extents
bumped to the homepage by Community♦ 52 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I've been looking for a manner to change a vector extent in QGIS, but it's unsuccessfull!
I want change extent because in the past, I had problems to convert vector to raster. I try present the problem bellow:
I'm InVEST user. InVEST is a set of models developed by Natural Capital Project to mapping, quantifying and valuing Ecosystem Services. A while ago, I had a problem with the Carbon model. Actual LULC and Future LULC are input datas beside others. When I analysed this datas I perceived different extents. The model uses the extent when converting vector to raster during processing, therefore the Actual LULC pixels and Future LULC pixels did not fit properly. Another model's process is map algebra. When model executing map algebra, the results present a pattern due to LULC datas misalignment. I corrected this problem using the same extent for two LULC data.In ArcGIS the way to acomplish this task is very simple.
I was ArcGis user. I've been using QGis recently. ArcGIS and QGis work with extent in different ways? Are there a manner to change vector extent in QGIS?
qgis vector editing extents
bumped to the homepage by Community♦ 52 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
The extent of a vector layer is the extent of its features. That's the definition of the extent. Why do you want an "extent" that is actually wider than the features in the layer?
– Spacedman
May 22 '18 at 21:31
Do you mean extents of the map view/viewport? If so, you can click on "New Bookmark" and set the extents there.
– cm1
May 22 '18 at 21:35
Hi Spacedman and cm1! I'm refer to extent of vector. I'm using a model and in their process the model building rasters and proceding mapping algebra. Sometime, when there are diferent extent of features de pixels don't fit suitable, and then, wrong results happen.
– THIAGO CARLOS LOPES RIBEIRO
May 22 '18 at 23:00
1
In QGIS the extent of a layer is the aggregated extent of individual features. You can't make it any bigger as you have noticed. If the process gives wrong results because of this there may be a bug in the process or the model should be improved. Describe your model and what actually goes wrong.
– user30184
May 23 '18 at 6:23
2
I thing you should edit your question to show what you mean by this. It sounds like what you want to set is the extent of some analysis, which is perhaps the max extent of the data in the analysis - either way, its not the extent of the vector data, which is fixed.
– Spacedman
May 23 '18 at 6:41
add a comment |
I've been looking for a manner to change a vector extent in QGIS, but it's unsuccessfull!
I want change extent because in the past, I had problems to convert vector to raster. I try present the problem bellow:
I'm InVEST user. InVEST is a set of models developed by Natural Capital Project to mapping, quantifying and valuing Ecosystem Services. A while ago, I had a problem with the Carbon model. Actual LULC and Future LULC are input datas beside others. When I analysed this datas I perceived different extents. The model uses the extent when converting vector to raster during processing, therefore the Actual LULC pixels and Future LULC pixels did not fit properly. Another model's process is map algebra. When model executing map algebra, the results present a pattern due to LULC datas misalignment. I corrected this problem using the same extent for two LULC data.In ArcGIS the way to acomplish this task is very simple.
I was ArcGis user. I've been using QGis recently. ArcGIS and QGis work with extent in different ways? Are there a manner to change vector extent in QGIS?
qgis vector editing extents
I've been looking for a manner to change a vector extent in QGIS, but it's unsuccessfull!
I want change extent because in the past, I had problems to convert vector to raster. I try present the problem bellow:
I'm InVEST user. InVEST is a set of models developed by Natural Capital Project to mapping, quantifying and valuing Ecosystem Services. A while ago, I had a problem with the Carbon model. Actual LULC and Future LULC are input datas beside others. When I analysed this datas I perceived different extents. The model uses the extent when converting vector to raster during processing, therefore the Actual LULC pixels and Future LULC pixels did not fit properly. Another model's process is map algebra. When model executing map algebra, the results present a pattern due to LULC datas misalignment. I corrected this problem using the same extent for two LULC data.In ArcGIS the way to acomplish this task is very simple.
I was ArcGis user. I've been using QGis recently. ArcGIS and QGis work with extent in different ways? Are there a manner to change vector extent in QGIS?
qgis vector editing extents
qgis vector editing extents
edited May 24 '18 at 21:37
THIAGO CARLOS LOPES RIBEIRO
asked May 22 '18 at 21:10
THIAGO CARLOS LOPES RIBEIROTHIAGO CARLOS LOPES RIBEIRO
185
185
bumped to the homepage by Community♦ 52 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 52 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
The extent of a vector layer is the extent of its features. That's the definition of the extent. Why do you want an "extent" that is actually wider than the features in the layer?
– Spacedman
May 22 '18 at 21:31
Do you mean extents of the map view/viewport? If so, you can click on "New Bookmark" and set the extents there.
– cm1
May 22 '18 at 21:35
Hi Spacedman and cm1! I'm refer to extent of vector. I'm using a model and in their process the model building rasters and proceding mapping algebra. Sometime, when there are diferent extent of features de pixels don't fit suitable, and then, wrong results happen.
– THIAGO CARLOS LOPES RIBEIRO
May 22 '18 at 23:00
1
In QGIS the extent of a layer is the aggregated extent of individual features. You can't make it any bigger as you have noticed. If the process gives wrong results because of this there may be a bug in the process or the model should be improved. Describe your model and what actually goes wrong.
– user30184
May 23 '18 at 6:23
2
I thing you should edit your question to show what you mean by this. It sounds like what you want to set is the extent of some analysis, which is perhaps the max extent of the data in the analysis - either way, its not the extent of the vector data, which is fixed.
– Spacedman
May 23 '18 at 6:41
add a comment |
The extent of a vector layer is the extent of its features. That's the definition of the extent. Why do you want an "extent" that is actually wider than the features in the layer?
– Spacedman
May 22 '18 at 21:31
Do you mean extents of the map view/viewport? If so, you can click on "New Bookmark" and set the extents there.
– cm1
May 22 '18 at 21:35
Hi Spacedman and cm1! I'm refer to extent of vector. I'm using a model and in their process the model building rasters and proceding mapping algebra. Sometime, when there are diferent extent of features de pixels don't fit suitable, and then, wrong results happen.
– THIAGO CARLOS LOPES RIBEIRO
May 22 '18 at 23:00
1
In QGIS the extent of a layer is the aggregated extent of individual features. You can't make it any bigger as you have noticed. If the process gives wrong results because of this there may be a bug in the process or the model should be improved. Describe your model and what actually goes wrong.
– user30184
May 23 '18 at 6:23
2
I thing you should edit your question to show what you mean by this. It sounds like what you want to set is the extent of some analysis, which is perhaps the max extent of the data in the analysis - either way, its not the extent of the vector data, which is fixed.
– Spacedman
May 23 '18 at 6:41
The extent of a vector layer is the extent of its features. That's the definition of the extent. Why do you want an "extent" that is actually wider than the features in the layer?
– Spacedman
May 22 '18 at 21:31
The extent of a vector layer is the extent of its features. That's the definition of the extent. Why do you want an "extent" that is actually wider than the features in the layer?
– Spacedman
May 22 '18 at 21:31
Do you mean extents of the map view/viewport? If so, you can click on "New Bookmark" and set the extents there.
– cm1
May 22 '18 at 21:35
Do you mean extents of the map view/viewport? If so, you can click on "New Bookmark" and set the extents there.
– cm1
May 22 '18 at 21:35
Hi Spacedman and cm1! I'm refer to extent of vector. I'm using a model and in their process the model building rasters and proceding mapping algebra. Sometime, when there are diferent extent of features de pixels don't fit suitable, and then, wrong results happen.
– THIAGO CARLOS LOPES RIBEIRO
May 22 '18 at 23:00
Hi Spacedman and cm1! I'm refer to extent of vector. I'm using a model and in their process the model building rasters and proceding mapping algebra. Sometime, when there are diferent extent of features de pixels don't fit suitable, and then, wrong results happen.
– THIAGO CARLOS LOPES RIBEIRO
May 22 '18 at 23:00
1
1
In QGIS the extent of a layer is the aggregated extent of individual features. You can't make it any bigger as you have noticed. If the process gives wrong results because of this there may be a bug in the process or the model should be improved. Describe your model and what actually goes wrong.
– user30184
May 23 '18 at 6:23
In QGIS the extent of a layer is the aggregated extent of individual features. You can't make it any bigger as you have noticed. If the process gives wrong results because of this there may be a bug in the process or the model should be improved. Describe your model and what actually goes wrong.
– user30184
May 23 '18 at 6:23
2
2
I thing you should edit your question to show what you mean by this. It sounds like what you want to set is the extent of some analysis, which is perhaps the max extent of the data in the analysis - either way, its not the extent of the vector data, which is fixed.
– Spacedman
May 23 '18 at 6:41
I thing you should edit your question to show what you mean by this. It sounds like what you want to set is the extent of some analysis, which is perhaps the max extent of the data in the analysis - either way, its not the extent of the vector data, which is fixed.
– Spacedman
May 23 '18 at 6:41
add a comment |
2 Answers
2
active
oldest
votes
The extent of vectors cannot be changed as it is the extent of its features. As I understand Your problem has arisen due to misalignment which was caused due to the different extents of vectors, due to which the rasters also have different extent. The solutions is to align the rasters among themselves by resampling. In the Raster Menu Bar, there is Align Rasters... tools which will resample the rasters to a common extent.
Thanks for your answer neogeomat! I haven't known Align Raster yet. My problem with extent is about vector. The process to convert vector to raster is run by model. The model work standalone. Then I need use input datas with the same extent. Do you know a manner to do this?
– THIAGO CARLOS LOPES RIBEIRO
May 25 '18 at 2:08
add a comment |
It sounds like your vector layers do not share a common extent. Decide on an extent (it can be no larger than your smallest vector layer and must either match or be within the of the extents of each layer you wish to use) then clip all your input vector layers to this common extent.
You can use Extract Layer Extent under Layer tools in the Processing toolbox and use the result to clip your input layers.
Or alternatively can use the extent of the visible map canvas by typing the following in the Python console.
print(iface.mapCanvas().extent())
Or toggling this button in the status bar at the bottom of the screen


You can then use Extract/Clip by Extent, under Vector Overlay in the Processing toolbox, to clip your input vector data to a uniform extent.
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%2f283796%2fchanging-vector-extent-in-qgis%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
The extent of vectors cannot be changed as it is the extent of its features. As I understand Your problem has arisen due to misalignment which was caused due to the different extents of vectors, due to which the rasters also have different extent. The solutions is to align the rasters among themselves by resampling. In the Raster Menu Bar, there is Align Rasters... tools which will resample the rasters to a common extent.
Thanks for your answer neogeomat! I haven't known Align Raster yet. My problem with extent is about vector. The process to convert vector to raster is run by model. The model work standalone. Then I need use input datas with the same extent. Do you know a manner to do this?
– THIAGO CARLOS LOPES RIBEIRO
May 25 '18 at 2:08
add a comment |
The extent of vectors cannot be changed as it is the extent of its features. As I understand Your problem has arisen due to misalignment which was caused due to the different extents of vectors, due to which the rasters also have different extent. The solutions is to align the rasters among themselves by resampling. In the Raster Menu Bar, there is Align Rasters... tools which will resample the rasters to a common extent.
Thanks for your answer neogeomat! I haven't known Align Raster yet. My problem with extent is about vector. The process to convert vector to raster is run by model. The model work standalone. Then I need use input datas with the same extent. Do you know a manner to do this?
– THIAGO CARLOS LOPES RIBEIRO
May 25 '18 at 2:08
add a comment |
The extent of vectors cannot be changed as it is the extent of its features. As I understand Your problem has arisen due to misalignment which was caused due to the different extents of vectors, due to which the rasters also have different extent. The solutions is to align the rasters among themselves by resampling. In the Raster Menu Bar, there is Align Rasters... tools which will resample the rasters to a common extent.
The extent of vectors cannot be changed as it is the extent of its features. As I understand Your problem has arisen due to misalignment which was caused due to the different extents of vectors, due to which the rasters also have different extent. The solutions is to align the rasters among themselves by resampling. In the Raster Menu Bar, there is Align Rasters... tools which will resample the rasters to a common extent.
edited May 26 '18 at 16:54
answered May 25 '18 at 1:20
neogeomatneogeomat
5,93234276
5,93234276
Thanks for your answer neogeomat! I haven't known Align Raster yet. My problem with extent is about vector. The process to convert vector to raster is run by model. The model work standalone. Then I need use input datas with the same extent. Do you know a manner to do this?
– THIAGO CARLOS LOPES RIBEIRO
May 25 '18 at 2:08
add a comment |
Thanks for your answer neogeomat! I haven't known Align Raster yet. My problem with extent is about vector. The process to convert vector to raster is run by model. The model work standalone. Then I need use input datas with the same extent. Do you know a manner to do this?
– THIAGO CARLOS LOPES RIBEIRO
May 25 '18 at 2:08
Thanks for your answer neogeomat! I haven't known Align Raster yet. My problem with extent is about vector. The process to convert vector to raster is run by model. The model work standalone. Then I need use input datas with the same extent. Do you know a manner to do this?
– THIAGO CARLOS LOPES RIBEIRO
May 25 '18 at 2:08
Thanks for your answer neogeomat! I haven't known Align Raster yet. My problem with extent is about vector. The process to convert vector to raster is run by model. The model work standalone. Then I need use input datas with the same extent. Do you know a manner to do this?
– THIAGO CARLOS LOPES RIBEIRO
May 25 '18 at 2:08
add a comment |
It sounds like your vector layers do not share a common extent. Decide on an extent (it can be no larger than your smallest vector layer and must either match or be within the of the extents of each layer you wish to use) then clip all your input vector layers to this common extent.
You can use Extract Layer Extent under Layer tools in the Processing toolbox and use the result to clip your input layers.
Or alternatively can use the extent of the visible map canvas by typing the following in the Python console.
print(iface.mapCanvas().extent())
Or toggling this button in the status bar at the bottom of the screen


You can then use Extract/Clip by Extent, under Vector Overlay in the Processing toolbox, to clip your input vector data to a uniform extent.
add a comment |
It sounds like your vector layers do not share a common extent. Decide on an extent (it can be no larger than your smallest vector layer and must either match or be within the of the extents of each layer you wish to use) then clip all your input vector layers to this common extent.
You can use Extract Layer Extent under Layer tools in the Processing toolbox and use the result to clip your input layers.
Or alternatively can use the extent of the visible map canvas by typing the following in the Python console.
print(iface.mapCanvas().extent())
Or toggling this button in the status bar at the bottom of the screen


You can then use Extract/Clip by Extent, under Vector Overlay in the Processing toolbox, to clip your input vector data to a uniform extent.
add a comment |
It sounds like your vector layers do not share a common extent. Decide on an extent (it can be no larger than your smallest vector layer and must either match or be within the of the extents of each layer you wish to use) then clip all your input vector layers to this common extent.
You can use Extract Layer Extent under Layer tools in the Processing toolbox and use the result to clip your input layers.
Or alternatively can use the extent of the visible map canvas by typing the following in the Python console.
print(iface.mapCanvas().extent())
Or toggling this button in the status bar at the bottom of the screen


You can then use Extract/Clip by Extent, under Vector Overlay in the Processing toolbox, to clip your input vector data to a uniform extent.
It sounds like your vector layers do not share a common extent. Decide on an extent (it can be no larger than your smallest vector layer and must either match or be within the of the extents of each layer you wish to use) then clip all your input vector layers to this common extent.
You can use Extract Layer Extent under Layer tools in the Processing toolbox and use the result to clip your input layers.
Or alternatively can use the extent of the visible map canvas by typing the following in the Python console.
print(iface.mapCanvas().extent())
Or toggling this button in the status bar at the bottom of the screen


You can then use Extract/Clip by Extent, under Vector Overlay in the Processing toolbox, to clip your input vector data to a uniform extent.
answered Sep 21 '18 at 7:23
Matt NeedleMatt Needle
39113
39113
add a comment |
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%2f283796%2fchanging-vector-extent-in-qgis%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
The extent of a vector layer is the extent of its features. That's the definition of the extent. Why do you want an "extent" that is actually wider than the features in the layer?
– Spacedman
May 22 '18 at 21:31
Do you mean extents of the map view/viewport? If so, you can click on "New Bookmark" and set the extents there.
– cm1
May 22 '18 at 21:35
Hi Spacedman and cm1! I'm refer to extent of vector. I'm using a model and in their process the model building rasters and proceding mapping algebra. Sometime, when there are diferent extent of features de pixels don't fit suitable, and then, wrong results happen.
– THIAGO CARLOS LOPES RIBEIRO
May 22 '18 at 23:00
1
In QGIS the extent of a layer is the aggregated extent of individual features. You can't make it any bigger as you have noticed. If the process gives wrong results because of this there may be a bug in the process or the model should be improved. Describe your model and what actually goes wrong.
– user30184
May 23 '18 at 6:23
2
I thing you should edit your question to show what you mean by this. It sounds like what you want to set is the extent of some analysis, which is perhaps the max extent of the data in the analysis - either way, its not the extent of the vector data, which is fixed.
– Spacedman
May 23 '18 at 6:41