mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-09 00:08:52 -04:00
19 lines
673 B
Plaintext
19 lines
673 B
Plaintext
{
|
|
"name": "url_encode",
|
|
"type": "function",
|
|
"groups": ["Maps"],
|
|
"description": "Returns an URL encoded string from a map.<br>The underlying function uses <a href='https://doc.qt.io/qt-5/qurlquery.html#toString'>QUrlQuery::toString</a> with <a href='https://doc.qt.io/qt-5/qurl.html#ComponentFormattingOption-enum'>QUrl::FullyEncoded</a> flags.<br>Note that the plus sign '+' is not converted.",
|
|
"arguments": [
|
|
{
|
|
"arg": "map",
|
|
"description": "a map."
|
|
}
|
|
],
|
|
"examples": [
|
|
{
|
|
"expression": "url_encode(map('a&+b', 'a and plus b', 'a=b', 'a equals b'))",
|
|
"returns": "'a%26+b=a%20and%20plus%20b&a%3Db=a%20equals%20b'"
|
|
}
|
|
]
|
|
}
|