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;








1















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 @?










share|improve this question



















  • 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















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 @?










share|improve this question



















  • 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








1








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 @?










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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












  • 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










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
);



);













draft saved

draft discarded


















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















draft saved

draft discarded
















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

Magento 1.9 observer on only new product added ( no updated product )Admin Create New Order ObserverObserver checkout_cart_product_add_after get product quantity in cartHow can I differentiate between product creation and saving existing products?How to get the original price Product SaveBeforeMagento Observer for Admin Sales order Address updateHow do i get quantity in a product_save_after event observer magento2?Using observer event to get updated customer infoSave product observer - detect availabilityEvent not triggered when new product added in admin : Magento 2magento 1.9 observer on quantity product change

Does an object always see its latest internal state irrespective of thread? The 2019 Stack Overflow Developer Survey Results Are InDoes a finally block always get executed in Java?Java: serial thread confinement questionJava difference between fixed threadpool and scheduled threadpoolJackrabbit and concurrent modificationHow to stop a Runnable scheduled for repeated execution after a certain number of executionsMultiple threads accessing inner classHow can a loop be completed by two thread? say loop from count=1 to count=4 by ist thread and count =5 to 8 by 2nd thread?If I keep a reference to a Runnable, when does the Thread it ran on get released?How to stop a schedule ScheduledExecutorServiceHow to implement a singleThreadedScheduledExcecutor in wildfly

What CSS properties can the br tag have?Will whitespace or wrap be ignored between two block elements in HTML?Set cellpadding and cellspacing in CSS?Change an HTML5 input's placeholder color with CSSIs this possible in p tag without using span or anything new in html tag?jQuery + Regex to change CSS of first couple of Wordscentering an image while text covers both canvas (left and right)Position button material designsubmit button doesn't work with html codejavascript summary my checked inputHow can I create this effect on a slider?Changing JQuery to affect colour of button, not background?