Referencing an output in an expression in process modeler
THT: What is a squared annular “ring”?
Why do IPv6 unique local addresses have to have a /48 prefix?
Are lightweight LN wallets vulnerable to transaction withholding?
A social experiment. What is the worst that can happen?
Do Legal Documents Require Signing In Standard Pen Colors?
What is this type of notehead called?
Can a significant change in incentives void an employment contract?
Can I sign legal documents with a smiley face?
Is XSS in canonical link possible?
Could solar power be utilized and substitute coal in the 19th Century
Can someone explain how this makes sense electrically?
Drawing a topological "handle" with Tikz
How do you respond to a colleague from another team when they're wrongly expecting that you'll help them?
What major Native American tribes were around Santa Fe during the late 1850s?
Should I stop contributing to retirement accounts?
Constructing Group Divisible Designs - Algorithms?
Some numbers are more equivalent than others
Customize circled numbers
On a tidally locked planet, would time be quantized?
Drawing ramified coverings with tikz
Can somebody explain Brexit in a few child-proof sentences?
What linear sensor for a keyboard?
My friend sent me a screenshot of a transaction hash, but when I search for it I find divergent data. What happened?
Melting point of aspirin, contradicting sources
Referencing an output in an expression in process modeler
In the process modeler, I'd like to reference an output of a previous step as one of the parameters of an algorithm. In this case, the previous step was clipping a large raster and I want to use the clipped raster data to shift some vector data, so as the parameter to the vector transform I've got the following:
raster_value(@Clip_raster_by_mask_layer_OUTPUT ,1,$geometry)
This doesn't work. However, if I output everything from the model and then do the same transform operation manually and use 'name_of_clipped_layer'
instead of @Clip_raster_by_mask_layer_OUTPUT
, then it works as I expect. Is it possible to get this model to do what I want?
qgis raster vector
add a comment |
In the process modeler, I'd like to reference an output of a previous step as one of the parameters of an algorithm. In this case, the previous step was clipping a large raster and I want to use the clipped raster data to shift some vector data, so as the parameter to the vector transform I've got the following:
raster_value(@Clip_raster_by_mask_layer_OUTPUT ,1,$geometry)
This doesn't work. However, if I output everything from the model and then do the same transform operation manually and use 'name_of_clipped_layer'
instead of @Clip_raster_by_mask_layer_OUTPUT
, then it works as I expect. Is it possible to get this model to do what I want?
qgis raster vector
add a comment |
In the process modeler, I'd like to reference an output of a previous step as one of the parameters of an algorithm. In this case, the previous step was clipping a large raster and I want to use the clipped raster data to shift some vector data, so as the parameter to the vector transform I've got the following:
raster_value(@Clip_raster_by_mask_layer_OUTPUT ,1,$geometry)
This doesn't work. However, if I output everything from the model and then do the same transform operation manually and use 'name_of_clipped_layer'
instead of @Clip_raster_by_mask_layer_OUTPUT
, then it works as I expect. Is it possible to get this model to do what I want?
qgis raster vector
In the process modeler, I'd like to reference an output of a previous step as one of the parameters of an algorithm. In this case, the previous step was clipping a large raster and I want to use the clipped raster data to shift some vector data, so as the parameter to the vector transform I've got the following:
raster_value(@Clip_raster_by_mask_layer_OUTPUT ,1,$geometry)
This doesn't work. However, if I output everything from the model and then do the same transform operation manually and use 'name_of_clipped_layer'
instead of @Clip_raster_by_mask_layer_OUTPUT
, then it works as I expect. Is it possible to get this model to do what I want?
qgis raster vector
qgis raster vector
asked 34 secs ago
Paul WicksPaul Wicks
1507
1507
add a comment |
add a comment |
0
active
oldest
votes
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%2f316528%2freferencing-an-output-in-an-expression-in-process-modeler%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f316528%2freferencing-an-output-in-an-expression-in-process-modeler%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