QGIS 3.6: variable functions, confusing explanation Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?QGIS Field Calculator functionsTrying to use functionsHow add GRASS functions to QGIS 2.6?QGIS Query Editor define variableQGIS 3.6 menu bar missingQGIS Version 3.6 Raster CalculatorGenerating map tiles with QGIS 3.6?QGIS SAGA functions failing “… following layers not correctly generated. …”Optimal method to convert raster from 32bit Float to 8bit Byte to reduce file size in QGIS 3
Should man-made satellites feature an intelligent inverted "cow catcher"?
Flight departed from the gate 5 min before scheduled departure time. Refund options
Restricting the Object Type for the get method in java HashMap
Is there a spell that can create a permanent fire?
IC on Digikey is 5x more expensive than board containing same IC on Alibaba: How?
Why are two-digit numbers in Jonathan Swift's "Gulliver's Travels" (1726) written in "German style"?
Centre cell vertically in tabularx across multiple multiline rows
Why is there so little support for joining EFTA in the British parliament?
Is the Mordenkainen's Sword spell underpowered?
Marquee sign letters
How do I say "this must not happen"?
Which types of prepositional phrase is "toward its employees" in Philosophy guiding the organization's policies towards its employees is not bad?
Why did Bronn offer to be Tyrion Lannister's champion in trial by combat?
Bash script to execute command with file from directory and condition
Why are current probes so expensive?
How to remove this numerical artifact?
.bashrc alias for a command with fixed second parameter
How can I list files in reverse time order by a command and pass them as arguments to another command?
Is there a verb for listening stealthily?
Magento 2 - Add additional attributes in register
My mentor says to set image to Fine instead of RAW — how is this different from JPG?
Changing order of draw operation in PGFPlots
What should one know about term logic before studying propositional and predicate logic?
why doesn't university give past final exams' answers
QGIS 3.6: variable functions, confusing explanation
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?QGIS Field Calculator functionsTrying to use functionsHow add GRASS functions to QGIS 2.6?QGIS Query Editor define variableQGIS 3.6 menu bar missingQGIS Version 3.6 Raster CalculatorGenerating map tiles with QGIS 3.6?QGIS SAGA functions failing “… following layers not correctly generated. …”Optimal method to convert raster from 32bit Float to 8bit Byte to reduce file size in QGIS 3
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
The documentation (https://docs.qgis.org/3.4/en/docs/user_manual/working_with_vector/expression.html#id31) says:
To use these functions in an expression, they should be preceded by @ character (e.g, @row_number).
map_scale is one of these variables. But if you see the example map_get( item_variables('Map 0'), 'map_scale')
it is used without an @
Why is it in this case used without an @
?
qgis-3 function qgis-variable
add a comment |
The documentation (https://docs.qgis.org/3.4/en/docs/user_manual/working_with_vector/expression.html#id31) says:
To use these functions in an expression, they should be preceded by @ character (e.g, @row_number).
map_scale is one of these variables. But if you see the example map_get( item_variables('Map 0'), 'map_scale')
it is used without an @
Why is it in this case used without an @
?
qgis-3 function qgis-variable
1
in this case it is necessary to read the syntax of the map_get function (map_get (map, key)): in this case map_scale represents the key
– pigreco
Apr 13 at 11:47
@pigreco, it's a little bit confusing. Is there some documentation that describes the difference, when using it with or without?
– PieterB
Apr 13 at 11:53
to my knowledge there is no detailed documentation on these topics
– pigreco
Apr 13 at 15:04
add a comment |
The documentation (https://docs.qgis.org/3.4/en/docs/user_manual/working_with_vector/expression.html#id31) says:
To use these functions in an expression, they should be preceded by @ character (e.g, @row_number).
map_scale is one of these variables. But if you see the example map_get( item_variables('Map 0'), 'map_scale')
it is used without an @
Why is it in this case used without an @
?
qgis-3 function qgis-variable
The documentation (https://docs.qgis.org/3.4/en/docs/user_manual/working_with_vector/expression.html#id31) says:
To use these functions in an expression, they should be preceded by @ character (e.g, @row_number).
map_scale is one of these variables. But if you see the example map_get( item_variables('Map 0'), 'map_scale')
it is used without an @
Why is it in this case used without an @
?
qgis-3 function qgis-variable
qgis-3 function qgis-variable
edited Apr 13 at 11:52
PieterB
asked Apr 13 at 11:39
PieterBPieterB
3,1801128
3,1801128
1
in this case it is necessary to read the syntax of the map_get function (map_get (map, key)): in this case map_scale represents the key
– pigreco
Apr 13 at 11:47
@pigreco, it's a little bit confusing. Is there some documentation that describes the difference, when using it with or without?
– PieterB
Apr 13 at 11:53
to my knowledge there is no detailed documentation on these topics
– pigreco
Apr 13 at 15:04
add a comment |
1
in this case it is necessary to read the syntax of the map_get function (map_get (map, key)): in this case map_scale represents the key
– pigreco
Apr 13 at 11:47
@pigreco, it's a little bit confusing. Is there some documentation that describes the difference, when using it with or without?
– PieterB
Apr 13 at 11:53
to my knowledge there is no detailed documentation on these topics
– pigreco
Apr 13 at 15:04
1
1
in this case it is necessary to read the syntax of the map_get function (map_get (map, key)): in this case map_scale represents the key
– pigreco
Apr 13 at 11:47
in this case it is necessary to read the syntax of the map_get function (map_get (map, key)): in this case map_scale represents the key
– pigreco
Apr 13 at 11:47
@pigreco, it's a little bit confusing. Is there some documentation that describes the difference, when using it with or without?
– PieterB
Apr 13 at 11:53
@pigreco, it's a little bit confusing. Is there some documentation that describes the difference, when using it with or without?
– PieterB
Apr 13 at 11:53
to my knowledge there is no detailed documentation on these topics
– pigreco
Apr 13 at 15:04
to my knowledge there is no detailed documentation on these topics
– pigreco
Apr 13 at 15:04
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%2f318680%2fqgis-3-6-variable-functions-confusing-explanation%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%2f318680%2fqgis-3-6-variable-functions-confusing-explanation%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
1
in this case it is necessary to read the syntax of the map_get function (map_get (map, key)): in this case map_scale represents the key
– pigreco
Apr 13 at 11:47
@pigreco, it's a little bit confusing. Is there some documentation that describes the difference, when using it with or without?
– PieterB
Apr 13 at 11:53
to my knowledge there is no detailed documentation on these topics
– pigreco
Apr 13 at 15:04