@arcgis/coding-components 4.29.0-beta.99 → 4.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ar.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bg.json +113 -113
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bs.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ca.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.cs.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.da.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.de.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.el.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.en.json +19 -19
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.es.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.et.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fi.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fr.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.he.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hr.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hu.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.id.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.it.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ja.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ko.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lt.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lv.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nb.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nl.json +66 -66
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pl.json +66 -66
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-BR.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-PT.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ro.json +66 -66
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ru.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sk.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sl.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sr.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sv.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.th.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.tr.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.uk.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.vi.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-CN.json +66 -66
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-HK.json +66 -66
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-TW.json +66 -66
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ar.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bg.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bs.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ca.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.cs.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.da.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.de.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.el.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.en.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.es.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.et.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fi.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fr.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.he.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hr.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hu.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.id.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.it.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ja.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ko.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lt.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lv.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nb.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nl.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pl.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-BR.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-PT.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ro.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ru.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sk.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sl.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sr.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sv.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.th.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.tr.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.uk.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.vi.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-CN.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-HK.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-TW.json +4 -4
- package/dist/arcgis-coding-components/index.esm.js +2 -2
- package/dist/arcgis-coding-components/{p-e1cb02b3.js → p-0a2edf01.js} +2 -2
- package/dist/arcgis-coding-components/p-11e79992.js +6 -0
- package/dist/arcgis-coding-components/{p-f75beb80.js → p-36e2cbc2.js} +3 -3
- package/dist/arcgis-coding-components/{p-457e3916.js → p-4406b5a8.js} +2 -2
- package/dist/arcgis-coding-components/{p-87d7ad9e.js → p-4eb30e60.js} +1 -1
- package/dist/arcgis-coding-components/{p-7f9d3fdc.js → p-619ca372.js} +1 -1
- package/dist/arcgis-coding-components/{p-7e0e8ecc.js → p-71125c69.js} +2 -2
- package/dist/arcgis-coding-components/{p-0bab0228.js → p-8d7f0979.js} +2 -2
- package/dist/arcgis-coding-components/p-9b8091c1.entry.js +6 -0
- package/dist/arcgis-coding-components/{p-ad86a5f5.js → p-bd81fdff.js} +11 -11
- package/dist/arcgis-coding-components/{p-f23f7fee.js → p-ecc8dd8a.js} +2 -2
- package/dist/arcgis-coding-components/{p-4648782b.js → p-f9016c56.js} +2 -2
- package/dist/cjs/{arcade-defaults-5dd9ebb7.js → arcade-defaults-b30ccec8.js} +271 -236
- package/dist/cjs/{arcade-mode-0b4c53a1.js → arcade-mode-eb755260.js} +11 -14
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +160 -184
- package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
- package/dist/cjs/{css-fe7f8980.js → css-9e907aa0.js} +1 -1
- package/dist/cjs/{cssMode-4c9b3a32.js → cssMode-e4189b13.js} +3 -3
- package/dist/cjs/{html-b044fbba.js → html-2582ae43.js} +3 -3
- package/dist/cjs/{htmlMode-956a6ffa.js → htmlMode-0edcf1ee.js} +3 -3
- package/dist/cjs/{index-aaceaf1f.js → index-54d6f9be.js} +1 -1
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/{javascript-6c55ac8b.js → javascript-425c653a.js} +4 -4
- package/dist/cjs/{jsonMode-d83e322c.js → jsonMode-eea03515.js} +3 -3
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{tsMode-5c5ffa3e.js → tsMode-b92c9221.js} +3 -3
- package/dist/cjs/{typescript-6143656a.js → typescript-cfc1221c.js} +3 -3
- package/dist/components/arcade-api.js +20 -18
- package/dist/components/arcade-contribution.js +9 -8
- package/dist/components/arcade-defaults.js +188 -168
- package/dist/components/arcade-mode.js +10 -12
- package/dist/components/arcade-results.js +29 -83
- package/dist/components/arcade-suggestions.js +15 -12
- package/dist/components/arcade-variables.js +30 -21
- package/dist/components/arcgis-arcade-api.js +1 -1
- package/dist/components/arcgis-arcade-editor.js +61 -49
- package/dist/components/arcgis-arcade-results.js +1 -1
- package/dist/components/arcgis-arcade-suggestions.js +1 -1
- package/dist/components/arcgis-arcade-variables.js +1 -1
- package/dist/components/arcgis-code-editor.js +1 -1
- package/dist/components/code-editor.js +1 -1
- package/dist/components/fields.js +37 -23
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +3 -3
- package/dist/components/markdown.js +10 -1
- package/dist/components/utilities.js +4 -4
- package/dist/esm/{arcade-defaults-2d7283d4.js → arcade-defaults-a5dc6132.js} +267 -233
- package/dist/esm/{arcade-mode-a8abe5af.js → arcade-mode-d06b6e4f.js} +11 -14
- package/dist/esm/arcgis-arcade-api_6.entry.js +160 -184
- package/dist/esm/arcgis-coding-components.js +4 -4
- package/dist/esm/{css-d31a02ca.js → css-59b4804d.js} +1 -1
- package/dist/esm/{cssMode-5ee45e91.js → cssMode-2bce7da7.js} +3 -3
- package/dist/esm/{html-5c2e488c.js → html-3ad47fc0.js} +3 -3
- package/dist/esm/{htmlMode-376cd5e8.js → htmlMode-6cb73c91.js} +3 -3
- package/dist/esm/{index-1b265749.js → index-ee54d182.js} +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/{javascript-13ddec2b.js → javascript-8917f926.js} +4 -4
- package/dist/esm/{jsonMode-674e89d6.js → jsonMode-9a1dbf00.js} +3 -3
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{tsMode-4c4398d7.js → tsMode-2caf1509.js} +3 -3
- package/dist/esm/{typescript-b328b622.js → typescript-a3abccc0.js} +3 -3
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/arcade-editor/arcade-editor.d.ts +2 -7
- package/dist/types/components/arcade-variables/arcade-variables.d.ts +0 -1
- package/dist/types/components.d.ts +2 -7
- package/dist/types/utils/arcade-monaco/arcade-contribution.d.ts +2 -2
- package/dist/types/utils/arcade-monaco/arcade-theme.d.ts +1 -0
- package/dist/types/utils/constants.d.ts +2 -2
- package/dist/types/utils/fields.d.ts +1 -0
- package/dist/types/utils/markdown.d.ts +3 -0
- package/dist/types/utils/profile/editor-profile.d.ts +49 -63
- package/dist/types/utils/profile/types.d.ts +122 -1
- package/dist/types/utils/profile/utils.d.ts +22 -9
- package/package.json +8 -8
- package/dist/arcgis-coding-components/p-6d56a4b8.entry.js +0 -6
- package/dist/arcgis-coding-components/p-a75f5087.js +0 -6
- package/dist/components/functional-components.js +0 -15
- package/dist/types/utils/functional-components.d.ts +0 -7
- package/dist/types/utils/json-format.d.ts +0 -1
|
@@ -145,62 +145,6 @@
|
|
|
145
145
|
}
|
|
146
146
|
]
|
|
147
147
|
},
|
|
148
|
-
{
|
|
149
|
-
"id": "knowledgegraph_functions",
|
|
150
|
-
"title": "כן_Knowledge graph functions__________________________ש",
|
|
151
|
-
"items": [
|
|
152
|
-
{
|
|
153
|
-
"type": "function",
|
|
154
|
-
"name": "knowledgegraphbyportalitem",
|
|
155
|
-
"bundle": "knowledge-graph",
|
|
156
|
-
"sinceVersion": "1.26",
|
|
157
|
-
"link": "https://developers.arcgis.com/arcade/function-reference/knowledgegraph_functions/#knowledgegraphbyportalitem",
|
|
158
|
-
"description": "כן_Returns a knowledge graph from a portal item________________________ש.",
|
|
159
|
-
"examples": "\n##### דוגמה\n\nכן_Returns the knowledge graph from the portal item__________________________ש.\n\n```arcade\nvar knowledgeGraph = KnowledgeGraphByPortalItem(\n Portal('https://www.arcgis.com'),\n '7b1fb95ab77f40bf8aa09c8b59045449',\n);\n```\n\n",
|
|
160
|
-
"completion": {
|
|
161
|
-
"label": "KnowledgeGraphByPortalItem",
|
|
162
|
-
"detail": "KnowledgeGraphByPortalItem(portalObject, itemId) -> KnowledgeGraph",
|
|
163
|
-
"insertText": "KnowledgeGraphByPortalItem(${1:portalObject_}, ${2:itemId_})$0",
|
|
164
|
-
"insertTextMode": 2,
|
|
165
|
-
"insertTextFormat": 2,
|
|
166
|
-
"kind": 3,
|
|
167
|
-
"documentation": {
|
|
168
|
-
"kind": "markdown",
|
|
169
|
-
"value": "**[מאז גרסה 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nכן_Returns a knowledge graph from a portal item________________________ש.\n\n**פרמטרים**\n\n- **portalObject**: [Portal](https://developers.arcgis.com/arcade/guide/types/#portal) - כן_The Portal from which to query features_____________________ש.\n- **itemId**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - כן_The GUID of the portal item referencing a knowledge graph service. _This value must be a text literal.______________________________________________________ש\n\n**ערך החזרה**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph)"
|
|
170
|
-
}
|
|
171
|
-
},
|
|
172
|
-
"parametersInfo": {
|
|
173
|
-
"min": 2,
|
|
174
|
-
"max": 2
|
|
175
|
-
}
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
"type": "function",
|
|
179
|
-
"name": "querygraph",
|
|
180
|
-
"bundle": "knowledge-graph",
|
|
181
|
-
"sinceVersion": "1.26",
|
|
182
|
-
"link": "https://developers.arcgis.com/arcade/function-reference/knowledgegraph_functions/#querygraph",
|
|
183
|
-
"description": "כן_Queries a knowledge graph with an openCypher query and returns the set of entities and relationships in a graph, along with their properties________________________________________________________________________ש.",
|
|
184
|
-
"examples": "\n##### דוגמה\n\nכן_Queries the knowledge graph for information about the `Student` entities it contains____________________________________________ש.\n\n```arcade\nvar results = QueryGraph(\n knowledgeGraph,\n 'MATCH (p:Student)-[e:EnrolledAt]->(s:School)\n WHERE s.name = 'Eastside Elementary'\n RETURN p,e,s.principal,s.numStaff\n LIMIT 1');\n\nreturn Text(results);\n```\n\n",
|
|
185
|
-
"completion": {
|
|
186
|
-
"label": "QueryGraph",
|
|
187
|
-
"detail": "QueryGraph(graph, openCypherQuery, queryParameters?) -> Dictionary",
|
|
188
|
-
"insertText": "QueryGraph(${1:graph_}, ${2:openCypherQuery_})$0",
|
|
189
|
-
"insertTextMode": 2,
|
|
190
|
-
"insertTextFormat": 2,
|
|
191
|
-
"kind": 3,
|
|
192
|
-
"documentation": {
|
|
193
|
-
"kind": "markdown",
|
|
194
|
-
"value": "**[מאז גרסה 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nכן_Queries a knowledge graph with an openCypher query and returns the set of entities and relationships in a graph, along with their properties________________________________________________________________________ש.\n\n**פרמטרים**\n\n- **graph**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph) - כן_The knowledge graph to query______________________________ש.\n- **openCypherQuery**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - כן_The openCypher query to be executed against the knowledge graph_________________________________ש.\n- **queryParameters** (_Optional_): [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - כן_A dictionary of named query parameters for the openCypher query_________________________________ש. כן_The parameter names or keys in the dictionary are case-sensitive__________________________________ש. כן_Parameters accepted depend on the external graph store and can be of type: `Array`, `Date`, `Dictionary`, `Geometry`, `Number, Text`___________________________________________________________________ש\n\n**ערך החזרה**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary)"
|
|
195
|
-
}
|
|
196
|
-
},
|
|
197
|
-
"parametersInfo": {
|
|
198
|
-
"min": 2,
|
|
199
|
-
"max": 3
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
]
|
|
203
|
-
},
|
|
204
148
|
{
|
|
205
149
|
"id": "enterprise_functions",
|
|
206
150
|
"title": "פונקציות Enterprise",
|
|
@@ -742,8 +686,8 @@
|
|
|
742
686
|
"bundle": "data-access",
|
|
743
687
|
"sinceVersion": "1.25",
|
|
744
688
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#filterbysubtypecode",
|
|
745
|
-
"description": "
|
|
746
|
-
"examples": "\n##### דוגמה\n\n
|
|
689
|
+
"description": "צור FeatureSet חדש עם כל הישויות שתואמות לקוד סוג המשנה הנתון.",
|
|
690
|
+
"examples": "\n##### דוגמה\n\nסנן ישויות עם קוד סוג המשנה\n\n```arcade\n// Returns all features that have the given subtype code\nFilterBySubtypeCode($layer, 5)\n```\n\n",
|
|
747
691
|
"completion": {
|
|
748
692
|
"label": "FilterBySubtypeCode",
|
|
749
693
|
"detail": "FilterBySubtypeCode(features, subtypeCode) -> FeatureSet",
|
|
@@ -753,7 +697,7 @@
|
|
|
753
697
|
"kind": 3,
|
|
754
698
|
"documentation": {
|
|
755
699
|
"kind": "markdown",
|
|
756
|
-
"value": "**[מאז גרסה 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n
|
|
700
|
+
"value": "**[מאז גרסה 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nצור FeatureSet חדש עם כל הישויות שתואמות לקוד סוג המשנה הנתון.\n\n**פרמטרים**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - ה-FeatureSet, או השכבה, שיש לסנן.\n- **subtypeCode**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - קוד סוג המשנה המשמש לסינון ישויות ב-FeatureSet או בשכבה.\n\n**ערך החזרה**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
|
|
757
701
|
}
|
|
758
702
|
},
|
|
759
703
|
"parametersInfo": {
|
|
@@ -1831,8 +1775,8 @@
|
|
|
1831
1775
|
"bundle": "core",
|
|
1832
1776
|
"sinceVersion": "1.26",
|
|
1833
1777
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue1",
|
|
1834
|
-
"description": "
|
|
1835
|
-
"examples": "\n##### דוגמאות\n\
|
|
1778
|
+
"description": "מחזיר ערך ברירת מחדל שצוין אם מפתח בגיאומטריה לא קיים, או אם הערך במפתח שצוין הוא 'null' או ערך טקסט ריק.",
|
|
1779
|
+
"examples": "\n##### דוגמאות\n\nנקודה בעלת ערך Z\n\n```arcade\nDefaultValue(Geometry($feature), \"z\", 1000)\n// Geometry($feature).hasZ is true\n// returns the value of Geometry($feature).z\n```\n\nנקודה שאינה בעלת ערך Z\n\n```arcade\nDefaultValue(Geometry($feature), \"z\", 1000)\n// Geometry($feature).hasZ is false\n// returns 1000\n```\n\n",
|
|
1836
1780
|
"completion": {
|
|
1837
1781
|
"label": "DefaultValue",
|
|
1838
1782
|
"detail": "DefaultValue(container, key, defaultValue) -> Any",
|
|
@@ -1842,7 +1786,7 @@
|
|
|
1842
1786
|
"kind": 3,
|
|
1843
1787
|
"documentation": {
|
|
1844
1788
|
"kind": "markdown",
|
|
1845
|
-
"value": "**[מאז גרסה 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
1789
|
+
"value": "**[מאז גרסה 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nמחזיר ערך ברירת מחדל שצוין אם מפתח בגיאומטריה לא קיים, או אם הערך במפתח שצוין הוא 'null' או ערך טקסט ריק.\n\n**פרמטרים**\n\n- **container**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - גיאומטריית הקלט לבדיקה.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - המפתח לבדיקה.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - ערך זה מוחזר אם המפתח לא קיים, או אם הערך במפתח שצוין הוא 'null' או ערך טקסט ריק.\n\n**ערך החזרה**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nמחזיר את הערך מפתח שצוין אם הוגדר. אחרת, מחזיר את הערך שצוין ב-'defaultValue'."
|
|
1846
1790
|
}
|
|
1847
1791
|
},
|
|
1848
1792
|
"parametersInfo": {
|
|
@@ -1855,8 +1799,8 @@
|
|
|
1855
1799
|
"name": "defaultvalue",
|
|
1856
1800
|
"bundle": "core",
|
|
1857
1801
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue2",
|
|
1858
|
-
"description": "
|
|
1859
|
-
"examples": "\n##### דוגמאות\n\
|
|
1802
|
+
"description": "מחזיר ערך ברירת מחדל שצוין אם לפחות אחד מהמפתחות במאפיינים מקוננים של גיאומטריה לא קיים, או אם הערך במפתח שצוין הוא 'null' או ערך טקסט ריק.",
|
|
1803
|
+
"examples": "\n##### דוגמאות\n\nטבעת, קואורדינטה וערך X, כולם קיימים ולכולם יש ערך\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nreturn DefaultValue(shape, [\"rings\",0,0,\"z\"], 1000)\n// returns 100\n```\n\nטבעת לא קיימת\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nreturn DefaultValue(shape, [\"rings\",2,0,\"z\"], 1000)\n// returns 1000\n```\n\nטבעת וקואורדינטה קיימים, אבל ערך M לא קיים\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nreturn DefaultValue(shape, [\"rings\",0,0,\"m\"], 100)\n// returns 100\n```\n\n",
|
|
1860
1804
|
"completion": {
|
|
1861
1805
|
"label": "DefaultValue",
|
|
1862
1806
|
"detail": "DefaultValue(container, keys, defaultValue) -> Any",
|
|
@@ -1866,7 +1810,7 @@
|
|
|
1866
1810
|
"kind": 3,
|
|
1867
1811
|
"documentation": {
|
|
1868
1812
|
"kind": "markdown",
|
|
1869
|
-
"value": "
|
|
1813
|
+
"value": "מחזיר ערך ברירת מחדל שצוין אם לפחות אחד מהמפתחות במאפיינים מקוננים של גיאומטריה לא קיים, או אם הערך במפתח שצוין הוא 'null' או ערך טקסט ריק.\n\n**פרמטרים**\n\n- **container**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - גיאומטריית הקלט לבדיקה.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - מערך של המפתחות או האידקסים לבדיקה בכל רמה של מבנה המכל.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - ערך זה מוחזר אם לפחות אחד מהמפתחות או האינדקסים לא קיימים, או אם הערך במפתח או שצוין הוא 'null' או ערך טקסט ריק.\n\n**ערך החזרה**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nמחזיר את הערך במפתח או באינדקס שצוין אם הוגדר. אחרת, מחזיר את הערך שצוין ב-'defaultValue'."
|
|
1870
1814
|
}
|
|
1871
1815
|
},
|
|
1872
1816
|
"parametersInfo": {
|
|
@@ -2031,8 +1975,8 @@
|
|
|
2031
1975
|
"bundle": "geometry",
|
|
2032
1976
|
"sinceVersion": "1.26",
|
|
2033
1977
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#distancetocoordinate",
|
|
2034
|
-
"description": "
|
|
2035
|
-
"examples": "\n##### דוגמה\n\
|
|
1978
|
+
"description": "מחזיר קואורדינטה לאורך קו קלט על בסיס מרחק נתון. כל החלקים של קו נלקחים בחשבון בעת ניסיון למצוא קואורדינטה במרחק הנתון. המרחק לא כולל פערים בין נתיבים (או חלקים) של הקו. אם המרחק לא נמצא לאורך קו הקלט, התוצאה תהיה 'null'.\n\n_הגיאומטריות של ישויות בהצגה החזותית ובפרופילי התוויות עוברות הכללה לפי הרזולוציה וקנה המידה של התצוגה, לשיפור ביצועי השרטוט. לכן, השימוש בגיאומטריה של ישות (כלומר $feature) בתור קלט לפונקציה גיאומטרית בהקשרים אלה יחזיר תוצאות שונות בכל רמת קנה מידה. פרופילים אחרים, כגון חלון קופץ, מספקים גיאומטריית רזולוציה מלאה._",
|
|
1979
|
+
"examples": "\n##### דוגמה\n\nמחזיר את הקואורדינטה של פולי קו הקלט על בסיס ערך המרחק הנתון\n\n```arcade\nvar result = DistanceToCoordinate($feature, 1038);\n\nreturn result.coordinate;\n```\n\n",
|
|
2036
1980
|
"completion": {
|
|
2037
1981
|
"label": "DistanceToCoordinate",
|
|
2038
1982
|
"detail": "DistanceToCoordinate(inputLine, inputDistance) -> Dictionary",
|
|
@@ -2042,7 +1986,7 @@
|
|
|
2042
1986
|
"kind": 3,
|
|
2043
1987
|
"documentation": {
|
|
2044
1988
|
"kind": "markdown",
|
|
2045
|
-
"value": "**[מאז גרסה 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
1989
|
+
"value": "**[מאז גרסה 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nמחזיר קואורדינטה לאורך קו קלט על בסיס מרחק נתון. כל החלקים של קו נלקחים בחשבון בעת ניסיון למצוא קואורדינטה במרחק הנתון. המרחק לא כולל פערים בין נתיבים (או חלקים) של הקו. אם המרחק לא נמצא לאורך קו הקלט, התוצאה תהיה 'null'.\n\n_הגיאומטריות של ישויות בהצגה החזותית ובפרופילי התוויות עוברות הכללה לפי הרזולוציה וקנה המידה של התצוגה, לשיפור ביצועי השרטוט. לכן, השימוש בגיאומטריה של ישות (כלומר $feature) בתור קלט לפונקציה גיאומטרית בהקשרים אלה יחזיר תוצאות שונות בכל רמת קנה מידה. פרופילים אחרים, כגון חלון קופץ, מספקים גיאומטריית רזולוציה מלאה._\n\n**פרמטרים**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - הקו או הנתיב שממנו יש למצוא קואורדינטה. בעת שימוש ביישות כקלט, הגיאומטריה של היישות חייבת להיות פולי קו.\n- **inputDistance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - המרחק המשמש למציאת הקואורדינטה לאורך 'inputLine' מתחילת הקו. כל החלקים של קו נלקחים בחשבון בעת ניסיון למצוא קואורדינטה במרחק הנתון. המרחק לא כולל פערים בין נתיבים (או חלקים) של הקו. \n\n**ערך החזרה**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nמחזיר מילון עם המאפיינים הבאים. אם המרחק לא נמצא לאורך קו הקלט, התוצאה תהיה 'null'.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - הקואורדינטה של נקודה לאורך 'inputLine' על בסיס ערך המרחק הנתון.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - המרחק המישורי מתחילת ה-'inputLine' כפי שנמדד לאורך הקו אל ה'קואורדינטה'. בפולי קווים שבהם נתיבים לא מתחברים, הערך 'distanceAlong' לא כולל את המרחק של הפערים בין נקודות המפנה המתחילות והמסיימות של הנתיבים.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - במקרה של קלט פולי קו, האינדקס של הנתיב שאליו ה'קואורדינטה' משתייכת.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - האינדקס (יחסית לנתיב) של מקטע הקו שאליו ה'קואורדינטה' משתייכת. אם 'קואורדינטה' מייצגת נקודות מפנה של קו הקלט, 'segmentId' יחזיר את האינדקס של נקודת המפנה הקודמת. אם 'קואורדינטה' היא נקודת המפנה הראשונה של 'inputLine', הערך של 'segmentId' יהיה '0'."
|
|
2046
1990
|
}
|
|
2047
1991
|
},
|
|
2048
1992
|
"parametersInfo": {
|
|
@@ -2230,8 +2174,8 @@
|
|
|
2230
2174
|
"bundle": "core",
|
|
2231
2175
|
"sinceVersion": "1.26",
|
|
2232
2176
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue1",
|
|
2233
|
-
"description": "
|
|
2234
|
-
"examples": "\n##### דוגמאות\n\
|
|
2177
|
+
"description": "מציין האם לגיאומטריה יש ערך במפתח או באינדקס נתון.",
|
|
2178
|
+
"examples": "\n##### דוגמאות\n\nנקודה בעלת ערך Z\n\n```arcade\nif( TypeOf(Geometry($feature)) == \"Point\"){\n return HasValue(Geometry($feature), \"z\")\n // returns true\n}\n```\n\nפוליגון עם מפתח שלא קיים\n\n```arcade\nif( TypeOf(Geometry($feature)) == \"Polygon\"){\n return HasValue(Geometry($feature), \"verticalCoordinateSystem\")\n // returns false\n}\n```\n\n",
|
|
2235
2179
|
"completion": {
|
|
2236
2180
|
"label": "HasValue",
|
|
2237
2181
|
"detail": "HasValue(inputGeometry, key) -> Boolean",
|
|
@@ -2241,7 +2185,7 @@
|
|
|
2241
2185
|
"kind": 3,
|
|
2242
2186
|
"documentation": {
|
|
2243
2187
|
"kind": "markdown",
|
|
2244
|
-
"value": "**[מאז גרסה 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
2188
|
+
"value": "**[מאז גרסה 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nמציין האם לגיאומטריה יש ערך במפתח או באינדקס נתון.\n\n**פרמטרים**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - הגיאומטריה לבדיקה.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - המפתח או שם המאפיין שיש לבדוק.\n\n**ערך החזרה**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
2245
2189
|
}
|
|
2246
2190
|
},
|
|
2247
2191
|
"parametersInfo": {
|
|
@@ -2255,8 +2199,8 @@
|
|
|
2255
2199
|
"bundle": "core",
|
|
2256
2200
|
"sinceVersion": "1.26",
|
|
2257
2201
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue2",
|
|
2258
|
-
"description": "
|
|
2259
|
-
"examples": "\n##### דוגמאות\n\
|
|
2202
|
+
"description": "בודק האם למאפיין או לאינדקס שמקונן בעומק של מספר רמות גיאומטריה יש ערך. דבר זה מאפשר לך לתמרן לתוך מבנה מקונן בצעד אחד במקום לבדוק ערכים בכל רמה. מחזיר `true` אם המפתחות והאינדקסים בכל רמה של המבנה קיימים וכוללים ערך שאינו Null.",
|
|
2203
|
+
"examples": "\n##### דוגמאות\n\nטבעת, קואורדינטה וערך X, כולם קיימים ולכולם יש ערך\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nif(HasValue(shape, [\"rings\",0,0,\"x\"])){\n // if() evaluates to true, thus executing the return\n return shape.rings[0][0].x;\n // returns -97.06138\n}\n```\n\nטבעת לא קיימת\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nif(HasValue(shape, [\"rings\",2,0,\"x\"])){\n // if() evaluates to false, thus not executing the return\n return shape.rings[2][0].x;\n // polygon only has one ring; there is not a third ring\n}\n```\n\nטבעת וקואורדינטה קיימים, אבל ערך M לא קיים\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nif(HasValue(shape, [\"rings\",0,3,\"m\"])){\n // if() evaluates to false, thus not executing the return\n return shape.rings[0][3].m;\n // there is a coordinate at this location, but it does not have an m value\n}\n```\n\n",
|
|
2260
2204
|
"completion": {
|
|
2261
2205
|
"label": "HasValue",
|
|
2262
2206
|
"detail": "HasValue(inputGeometry, keys) -> Boolean",
|
|
@@ -2266,7 +2210,7 @@
|
|
|
2266
2210
|
"kind": 3,
|
|
2267
2211
|
"documentation": {
|
|
2268
2212
|
"kind": "markdown",
|
|
2269
|
-
"value": "**[מאז גרסה 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
2213
|
+
"value": "**[מאז גרסה 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nבודק האם למאפיין או לאינדקס שמקונן בעומק של מספר רמות גיאומטריה יש ערך. דבר זה מאפשר לך לתמרן לתוך מבנה מקונן בצעד אחד במקום לבדוק ערכים בכל רמה. מחזיר `true` אם המפתחות והאינדקסים בכל רמה של המבנה קיימים וכוללים ערך שאינו Null.\n\n**פרמטרים**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - המילון או הישות שיש לבדוק.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - מערך של המפתחות או האידקסים לבדיקה בכל רמה של המבנה.\n\n**ערך החזרה**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
2270
2214
|
}
|
|
2271
2215
|
},
|
|
2272
2216
|
"parametersInfo": {
|
|
@@ -2456,8 +2400,8 @@
|
|
|
2456
2400
|
"bundle": "geometry",
|
|
2457
2401
|
"sinceVersion": "1.26",
|
|
2458
2402
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#measuretocoordinate",
|
|
2459
|
-
"description": "
|
|
2460
|
-
"examples": "\n##### דוגמה\n\
|
|
2403
|
+
"description": "מחזיר את הקואורדינטה הראשונה לאורך קו קלט על בסיס מדידה נתונה או ערך M. אם המדידה לא נמצאה לאורך קו הקלט, התוצאה תהיה 'null'. כל החלקים של קו נלקחים בחשבון בעת ניסיון למצוא קואורדינטה במדידה הנתונה. המדידה לא כוללת פערים בין נתיבים (או חלקים) של הקו.\n\n_הגיאומטריות של ישויות בהצגה החזותית ובפרופילי התוויות עוברות הכללה לפי הרזולוציה וקנה המידה של התצוגה, לשיפור ביצועי השרטוט. לכן, השימוש בגיאומטריה של ישות (כלומר $feature) בתור קלט לפונקציה גיאומטרית בהקשרים אלה יחזיר תוצאות שונות בכל רמת קנה מידה. פרופילים אחרים, כגון חלון קופץ, מספקים גיאומטריית רזולוציה מלאה._",
|
|
2404
|
+
"examples": "\n##### דוגמה\n\nמחזיר את הקואורדינטה של פולי קו הקלט על בסיס ערך המדידה הנתונה\n\n```arcade\nvar result = MeasureToCoordinate(Geometry($feature), 110);\n\nreturn result.coordinate;\n```\n\n",
|
|
2461
2405
|
"completion": {
|
|
2462
2406
|
"label": "MeasureToCoordinate",
|
|
2463
2407
|
"detail": "MeasureToCoordinate(inputLine, inputMeasure) -> Dictionary",
|
|
@@ -2467,7 +2411,7 @@
|
|
|
2467
2411
|
"kind": 3,
|
|
2468
2412
|
"documentation": {
|
|
2469
2413
|
"kind": "markdown",
|
|
2470
|
-
"value": "**[מאז גרסה 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
2414
|
+
"value": "**[מאז גרסה 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nמחזיר את הקואורדינטה הראשונה לאורך קו קלט על בסיס מדידה נתונה או ערך M. אם המדידה לא נמצאה לאורך קו הקלט, התוצאה תהיה 'null'. כל החלקים של קו נלקחים בחשבון בעת ניסיון למצוא קואורדינטה במדידה הנתונה. המדידה לא כוללת פערים בין נתיבים (או חלקים) של הקו.\n\n_הגיאומטריות של ישויות בהצגה החזותית ובפרופילי התוויות עוברות הכללה לפי הרזולוציה וקנה המידה של התצוגה, לשיפור ביצועי השרטוט. לכן, השימוש בגיאומטריה של ישות (כלומר $feature) בתור קלט לפונקציה גיאומטרית בהקשרים אלה יחזיר תוצאות שונות בכל רמת קנה מידה. פרופילים אחרים, כגון חלון קופץ, מספקים גיאומטריית רזולוציה מלאה._\n\n**פרמטרים**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - הקו או הנתיב שממנו יש למצוא קואורדינטה. ערך `hasM` של קו הקלט חייב להיות שווה ל-`true`. אם `hasM` הוא `false`, יוחזר `null`. בעת שימוש ביישות כקלט, הגיאומטריה של היישות חייבת להיות פולי קו.\n- **inputMeasure**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - המדידה או ערך M שמהם יש למצוא קואורדינטה לאורך 'inputLine' מתחילת הקו. כל החלקים של קו נלקחים בחשבון בעת ניסיון למצוא קואורדינטה במדידה הנתונה. המדידה לא כוללת פערים בין נתיבים (או חלקים) של הקו.\n\n**ערך החזרה**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nמחזיר מילון עם המאפיינים הבאים. אם המדידה לא נמצאה לאורך קו הקלט, התוצאה תהיה 'null'.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - הקואורדינטה הראשונה של נקודה לאורך 'inputLine' על בסיס ערך המדידה הנתונה.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - המרחק המישורי מתחילת ה-'inputLine' כפי שנמדד לאורך הקו אל ה'קואורדינטה'. בפולי קווים שבהם נתיבים לא מתחברים, הערך 'distanceAlong' לא כולל את המרחק של הפערים בין נקודות המפנה המתחילות והמסיימות של הנתיבים.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - במקרה של קלט פולי קו, האינדקס של הנתיב שאליו ה'קואורדינטה' משתייכת.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - האינדקס (יחסית לנתיב) של מקטע הקו שאליו ה'קואורדינטה' משתייכת. אם 'קואורדינטה' מייצגת נקודות מפנה של קו הקלט, 'segmentId' יחזיר את האינדקס של נקודת המפנה הקודמת. אם 'קואורדינטה' היא נקודת המפנה הראשונה של 'inputLine', הערך של 'segmentId' יהיה '0'."
|
|
2471
2415
|
}
|
|
2472
2416
|
},
|
|
2473
2417
|
"parametersInfo": {
|
|
@@ -2591,7 +2535,7 @@
|
|
|
2591
2535
|
"kind": 3,
|
|
2592
2536
|
"documentation": {
|
|
2593
2537
|
"kind": "markdown",
|
|
2594
|
-
"value": "**[מאז גרסה 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nמחזיר את הקואורדינטה הקרובה ביותר (לא נקודת מפנה) של גיאומטריית הקלט לנקודת החיפוש. המילון המוחזר כולל גם את המרחק המישורי הקצר ביותר מנקודת החיפוש לקואורדינטה הקרובה ביותר. אם נקודת החיפוש מצטלבת עם גיאומטריית הקלט, נקודת החיפוש מוחזרת בתור התוצאה עם מרחק אפס.\n\n_הגיאומטריות של ישויות בהצגה החזותית ובפרופילי התוויות עוברות הכללה לפי הרזולוציה וקנה המידה של התצוגה, לשיפור ביצועי השרטוט. לכן, השימוש בגיאומטריה של ישות (כלומר $feature) בתור קלט לפונקציה גיאומטרית בהקשרים אלה יחזיר תוצאות שונות בכל רמת קנה מידה. פרופילים אחרים, כגון חלון קופץ, מספקים גיאומטריית רזולוציה מלאה._\n\n**פרמטרים**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - הגיאומטריה שממנה יש לקבל את הקואורדינטה הקרובה ביותר.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - הנקודה שממנה יש למצוא את הקואורדינטה הקרובה ביותר של `inputGeometry` (גיאומטריית הקלט).\n\n**ערך החזרה**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nמחזיר מילון עם המאפיינים הבאים.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - הקואורדינטה הקרובה ביותר מ-`inputGeometry` (גיאומטריית הקלט) ל-`searchPoint` (נקודת החיפוש).\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - המרחק המישורי מהקואורדינטה הקרובה ביותר ל-`searchPoint` (נקודת החיפוש). נתון זה מייצג את המרחק הקצר ביותר בין `inputGeometry` ו-`searchPoint`.\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
|
|
2538
|
+
"value": "**[מאז גרסה 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nמחזיר את הקואורדינטה הקרובה ביותר (לא נקודת מפנה) של גיאומטריית הקלט לנקודת החיפוש. המילון המוחזר כולל גם את המרחק המישורי הקצר ביותר מנקודת החיפוש לקואורדינטה הקרובה ביותר. אם נקודת החיפוש מצטלבת עם גיאומטריית הקלט, נקודת החיפוש מוחזרת בתור התוצאה עם מרחק אפס.\n\n_הגיאומטריות של ישויות בהצגה החזותית ובפרופילי התוויות עוברות הכללה לפי הרזולוציה וקנה המידה של התצוגה, לשיפור ביצועי השרטוט. לכן, השימוש בגיאומטריה של ישות (כלומר $feature) בתור קלט לפונקציה גיאומטרית בהקשרים אלה יחזיר תוצאות שונות בכל רמת קנה מידה. פרופילים אחרים, כגון חלון קופץ, מספקים גיאומטריית רזולוציה מלאה._\n\n**פרמטרים**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - הגיאומטריה שממנה יש לקבל את הקואורדינטה הקרובה ביותר.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - הנקודה שממנה יש למצוא את הקואורדינטה הקרובה ביותר של `inputGeometry` (גיאומטריית הקלט).\n\n**ערך החזרה**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nמחזיר מילון עם המאפיינים הבאים.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - הקואורדינטה הקרובה ביותר מ-`inputGeometry` (גיאומטריית הקלט) ל-`searchPoint` (נקודת החיפוש).\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - המרחק המישורי מהקואורדינטה הקרובה ביותר ל-`searchPoint` (נקודת החיפוש). נתון זה מייצג את המרחק הקצר ביותר בין `inputGeometry` ו-`searchPoint`.\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - היחס המרחבי בין ה-`searchPoint` והמקטע של ה-`inputGeometry` שמוביל אל הקואורדינטה הקרובה ביותר. ערכים אפשריים: \n\n`שמאל` - ה-`searchPoint` נמצא בצד שמאל של ה-`inputGeometry`.\n\n`ימין` - ה-`searchPoint` נמצא בצד ימין של ה-`inputGeometry`.\n\n`משתרע` - ה-`searchPoint` משתרע או נמצא מעל `inputGeometry`."
|
|
2595
2539
|
}
|
|
2596
2540
|
},
|
|
2597
2541
|
"parametersInfo": {
|
|
@@ -2616,7 +2560,7 @@
|
|
|
2616
2560
|
"kind": 3,
|
|
2617
2561
|
"documentation": {
|
|
2618
2562
|
"kind": "markdown",
|
|
2619
|
-
"value": "**[מאז גרסה 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nמחזיר את נקודת המפנה הקרובה ביותר של גיאומטריית הקלט לנקודת החיפוש. המילון המוחזר כולל את המרחק המישורי מנקודת החיפוש לנקודת המפנה הקרובה ביותר.\n\n_הגיאומטריות של ישויות בהצגה החזותית ובפרופילי התוויות עוברות הכללה לפי הרזולוציה וקנה המידה של התצוגה, לשיפור ביצועי השרטוט. לכן, השימוש בגיאומטריה של ישות (כלומר $feature) בתור קלט לפונקציה גיאומטרית בהקשרים אלה יחזיר תוצאות שונות בכל רמת קנה מידה. פרופילים אחרים, כגון חלון קופץ, מספקים גיאומטריית רזולוציה מלאה._\n\n**פרמטרים**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - הגיאומטריה שממנה יש לקבל את נקודת המפנה הקרובה ביותר.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - הנקודה שממנה יש למצוא את נקודת המפנה הקרובה ביותר של `inputGeometry` (גיאומטריית הקלט).\n\n**ערך החזרה**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nמחזיר מילון עם המאפיינים הבאים.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - מיקום הנקודה המייצג את נקודת המפנה הקרובה ביותר מ-`inputGeometry` (גיאומטריית הקלט) ל-`searchPoint` (נקודת החיפוש).\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - המרחק המישורי מנקודת המפנה הקרובה ביותר של גיאומטריית הקלט ל-`searchPoint` (נקודת החיפוש).\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
|
|
2563
|
+
"value": "**[מאז גרסה 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nמחזיר את נקודת המפנה הקרובה ביותר של גיאומטריית הקלט לנקודת החיפוש. המילון המוחזר כולל את המרחק המישורי מנקודת החיפוש לנקודת המפנה הקרובה ביותר.\n\n_הגיאומטריות של ישויות בהצגה החזותית ובפרופילי התוויות עוברות הכללה לפי הרזולוציה וקנה המידה של התצוגה, לשיפור ביצועי השרטוט. לכן, השימוש בגיאומטריה של ישות (כלומר $feature) בתור קלט לפונקציה גיאומטרית בהקשרים אלה יחזיר תוצאות שונות בכל רמת קנה מידה. פרופילים אחרים, כגון חלון קופץ, מספקים גיאומטריית רזולוציה מלאה._\n\n**פרמטרים**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - הגיאומטריה שממנה יש לקבל את נקודת המפנה הקרובה ביותר.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - הנקודה שממנה יש למצוא את נקודת המפנה הקרובה ביותר של `inputGeometry` (גיאומטריית הקלט).\n\n**ערך החזרה**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nמחזיר מילון עם המאפיינים הבאים.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - מיקום הנקודה המייצג את נקודת המפנה הקרובה ביותר מ-`inputGeometry` (גיאומטריית הקלט) ל-`searchPoint` (נקודת החיפוש).\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - המרחק המישורי מנקודת המפנה הקרובה ביותר של גיאומטריית הקלט ל-`searchPoint` (נקודת החיפוש).\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - היחס המרחבי בין ה-`searchPoint` והמקטע של ה-`inputGeometry` שמוביל אל נקודת המפנה הקרובה ביותר. ערכים אפשריים: \n\n`שמאל` - ה-`searchPoint` נמצא בצד שמאל של ה-`inputGeometry`.\n\n`ימין` - ה-`searchPoint` נמצא בצד ימין של ה-`inputGeometry`.\n\n`משתרע` - ה-`searchPoint` משתרע או נמצא מעל `inputGeometry`."
|
|
2620
2564
|
}
|
|
2621
2565
|
},
|
|
2622
2566
|
"parametersInfo": {
|
|
@@ -2730,8 +2674,8 @@
|
|
|
2730
2674
|
"bundle": "geometry",
|
|
2731
2675
|
"sinceVersion": "1.26",
|
|
2732
2676
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#pointtocoordinate",
|
|
2733
|
-
"description": "
|
|
2734
|
-
"examples": "\n##### דוגמה\n\
|
|
2677
|
+
"description": "מחזיר את הקואורדינטה הקרובה ביותר והמרחק לאותה קואורדינטה של נקודת החיפוש אל קו הקלט.\n\n_הגיאומטריות של ישויות בהצגה החזותית ובפרופילי התוויות עוברות הכללה לפי הרזולוציה וקנה המידה של התצוגה, לשיפור ביצועי השרטוט. לכן, השימוש בגיאומטריה של ישות (כלומר $feature) בתור קלט לפונקציה גיאומטרית בהקשרים אלה יחזיר תוצאות שונות בכל רמת קנה מידה. פרופילים אחרים, כגון חלון קופץ, מספקים גיאומטריית רזולוציה מלאה._",
|
|
2678
|
+
"examples": "\n##### דוגמה\n\nמחזיר את המרחק אל הקואורדינטה הקרובה ביותר לאורך פולי קו הקלט על בסיס המיקום הנלחץ לפתיחת חלון קופץ.\n\n```arcade\nvar result;\n\nif (TypeOf($userInput) == \"Point\"){\n result = PointToCoordinate(Geometry($feature), $userInput);\n}\n\nreturn result.distanceAlong;\n```\n\n",
|
|
2735
2679
|
"completion": {
|
|
2736
2680
|
"label": "PointToCoordinate",
|
|
2737
2681
|
"detail": "PointToCoordinate(inputLine, searchPoint) -> Dictionary",
|
|
@@ -2741,7 +2685,7 @@
|
|
|
2741
2685
|
"kind": 3,
|
|
2742
2686
|
"documentation": {
|
|
2743
2687
|
"kind": "markdown",
|
|
2744
|
-
"value": "**[מאז גרסה 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
2688
|
+
"value": "**[מאז גרסה 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nמחזיר את הקואורדינטה הקרובה ביותר והמרחק לאותה קואורדינטה של נקודת החיפוש אל קו הקלט.\n\n_הגיאומטריות של ישויות בהצגה החזותית ובפרופילי התוויות עוברות הכללה לפי הרזולוציה וקנה המידה של התצוגה, לשיפור ביצועי השרטוט. לכן, השימוש בגיאומטריה של ישות (כלומר $feature) בתור קלט לפונקציה גיאומטרית בהקשרים אלה יחזיר תוצאות שונות בכל רמת קנה מידה. פרופילים אחרים, כגון חלון קופץ, מספקים גיאומטריית רזולוציה מלאה._\n\n**פרמטרים**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - הקו או נתיב שממנו יש לקבל את הקואורדינטה הקרובה ביותר. בעת שימוש ביישות כקלט, הגיאומטריה של היישות חייבת להיות פולי קו.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - הנקודה שממנה יש למצוא את הקואורדינטה הקרובה ביותר של `inputLine`.\n\n**ערך החזרה**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nמחזיר מילון עם המאפיינים הבאים.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - קואורדינטת הנקודה שמייצגת את הקואורדינטה הקרובה ביותר לאורך ה-`inputLine` אל ה-`searchPoint`. אם `hasZ` הוא `false` ב-`searchPoint`, החיפוש מתבצע בקואורדינטות X/Y ומתבצעת אינטרפולצה של ערך Z.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - המרחק המישורי מ-`searchPoint` אל ה'קואורדינטה'.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - המרחק המישורי מתחילת ה-'inputLine' כפי שנמדד לאורך הקו אל ה'קואורדינטה'. בפולי קווים שבהם נתיבים לא מתחברים, הערך 'distanceAlong' לא כולל את המרחק של הפערים בין נקודות המפנה המתחילות והמסיימות של הנתיבים.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - במקרה של קלט פולי קו, האינדקס של הנתיב שאליו ה'קואורדינטה' משתייכת.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - האינדקס (יחסית לנתיב) של מקטע הקו שאליו ה'קואורדינטה' משתייכת. אם 'קואורדינטה' מייצגת נקודות מפנה של קו הקלט, 'segmentId' יחזיר את האינדקס של נקודת המפנה הקודמת. אם 'קואורדינטה' היא נקודת המפנה הראשונה של 'inputLine', הערך של 'segmentId' יהיה '0'."
|
|
2745
2689
|
}
|
|
2746
2690
|
},
|
|
2747
2691
|
"parametersInfo": {
|
|
@@ -3151,6 +3095,62 @@
|
|
|
3151
3095
|
}
|
|
3152
3096
|
]
|
|
3153
3097
|
},
|
|
3098
|
+
{
|
|
3099
|
+
"id": "knowledge-graph_functions",
|
|
3100
|
+
"title": "פונקציות גרף ידע",
|
|
3101
|
+
"items": [
|
|
3102
|
+
{
|
|
3103
|
+
"type": "function",
|
|
3104
|
+
"name": "knowledgegraphbyportalitem",
|
|
3105
|
+
"bundle": "knowledge-graph",
|
|
3106
|
+
"sinceVersion": "1.26",
|
|
3107
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/knowledge-graph_functions/#knowledgegraphbyportalitem",
|
|
3108
|
+
"description": "מחזיר גרף ידע מפריט פורטל.",
|
|
3109
|
+
"examples": "\n##### דוגמה\n\nמחזיר את גרף הידע מפריט הפורטל.\n\n```arcade\nvar knowledgeGraph = KnowledgeGraphByPortalItem(\n Portal('https://www.arcgis.com'),\n '7b1fb95ab77f40bf8aa09c8b59045449',\n);\n```\n\n",
|
|
3110
|
+
"completion": {
|
|
3111
|
+
"label": "KnowledgeGraphByPortalItem",
|
|
3112
|
+
"detail": "KnowledgeGraphByPortalItem(portalObject, itemId) -> KnowledgeGraph",
|
|
3113
|
+
"insertText": "KnowledgeGraphByPortalItem(${1:portalObject_}, ${2:itemId_})$0",
|
|
3114
|
+
"insertTextMode": 2,
|
|
3115
|
+
"insertTextFormat": 2,
|
|
3116
|
+
"kind": 3,
|
|
3117
|
+
"documentation": {
|
|
3118
|
+
"kind": "markdown",
|
|
3119
|
+
"value": "**[מאז גרסה 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nמחזיר גרף ידע מפריט פורטל.\n\n**פרמטרים**\n\n- **portalObject**: [Portal](https://developers.arcgis.com/arcade/guide/types/#portal) - הפורטל שממנו יש לתשאל ישויות.\n- **itemId**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ה-GUID של פריט הפורטל המפנה אל שירות גרף ידע. _ערך זה חייב להיות טקסט מילולי._\n\n**ערך החזרה**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph)"
|
|
3120
|
+
}
|
|
3121
|
+
},
|
|
3122
|
+
"parametersInfo": {
|
|
3123
|
+
"min": 2,
|
|
3124
|
+
"max": 2
|
|
3125
|
+
}
|
|
3126
|
+
},
|
|
3127
|
+
{
|
|
3128
|
+
"type": "function",
|
|
3129
|
+
"name": "querygraph",
|
|
3130
|
+
"bundle": "knowledge-graph",
|
|
3131
|
+
"sinceVersion": "1.26",
|
|
3132
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/knowledge-graph_functions/#querygraph",
|
|
3133
|
+
"description": "מתשאל גרף ידע עם שאילתת openCypher ומחזיר את סט היישויות והקשרים בגרף, ביחד עם המאפיינים שלהם.",
|
|
3134
|
+
"examples": "\n##### דוגמאות\n\nמתשאל את גרף הידע לאיתור מידע אודות ישויות 'Student' שהוא מכיל.\n\n```arcade\nvar results = QueryGraph(\n knowledgeGraph,\n 'MATCH (p:Student)-[e:EnrolledAt]->(s:School)\n WHERE s.name = \"Eastside Elementary\"\n RETURN p,e,s.principal,s.numStaff\n LIMIT 1');\n\nreturn Text(results);\n```\n\nמתשאל את גרף הידע תוך שימוש בפרמטרים של קשירה.\n\n```arcade\n// searches for entities with a `name` property that matches the given string in the query parameters\n// OR falls within the given geom bounding box\n// query returns both the supplier and the part that it buys\nvar query = `MATCH (s:Supplier)-[:buys_part]-(p:Part)\n WHERE s.name=$name OR esri.graph.ST_Intersects($geom, s.geometry)\n RETURN s,p`;\n \n var results = QueryGraph(\n $graph,\n query,\n {\n \"name\": \"Supplier 1\",\n \"geom\": Polygon({\n rings: [[\n [38,-78],\n [39,-79],\n [39,-76],\n [-38,-76],\n [-38,-78]\n ]]\n })\n }\n );\n```\n\n",
|
|
3135
|
+
"completion": {
|
|
3136
|
+
"label": "QueryGraph",
|
|
3137
|
+
"detail": "QueryGraph(graph, openCypherQuery, queryParameters?) -> Array",
|
|
3138
|
+
"insertText": "QueryGraph(${1:graph_}, ${2:openCypherQuery_})$0",
|
|
3139
|
+
"insertTextMode": 2,
|
|
3140
|
+
"insertTextFormat": 2,
|
|
3141
|
+
"kind": 3,
|
|
3142
|
+
"documentation": {
|
|
3143
|
+
"kind": "markdown",
|
|
3144
|
+
"value": "**[מאז גרסה 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nמתשאל גרף ידע עם שאילתת openCypher ומחזיר את סט היישויות והקשרים בגרף, ביחד עם המאפיינים שלהם.\n\n**פרמטרים**\n\n- **graph**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph) - גרף הדיע לתשאול.\n- **openCypherQuery**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - שאילתת openCypher לביצוע מול גרף הידע.\n- **queryParameters** (_Optional_): [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - מילון פרמטרים שמיים של שאילתה עבור שאילתת openCypher. המפתחות או שמות הפרמטרים במילון הם תלויי רישיות. הפרמטרים הקבילים תלויים במאגר הגרף החיצוני ויכולים להיות מהסוגים: 'מערך', 'מילון', 'גיאומטריה', 'מספר', 'טקסט'.\n\n**ערך החזרה**: Array"
|
|
3145
|
+
}
|
|
3146
|
+
},
|
|
3147
|
+
"parametersInfo": {
|
|
3148
|
+
"min": 2,
|
|
3149
|
+
"max": 3
|
|
3150
|
+
}
|
|
3151
|
+
}
|
|
3152
|
+
]
|
|
3153
|
+
},
|
|
3154
3154
|
{
|
|
3155
3155
|
"id": "text_functions",
|
|
3156
3156
|
"title": "פונקציות טקסט",
|
|
@@ -3705,7 +3705,7 @@
|
|
|
3705
3705
|
"sinceVersion": "1.7",
|
|
3706
3706
|
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#domaincode",
|
|
3707
3707
|
"description": "מחזיר את הקוד לתיאור דומיין משויך בישות.",
|
|
3708
|
-
"examples": "\n##### דוגמה\n\nמדפיס את
|
|
3708
|
+
"examples": "\n##### דוגמה\n\nמדפיס את קוד הדומיין עבור השדה המיוחס.\n\n```arcade\nDomainCode($feature, 'Enabled', 'True')\n```\n\n",
|
|
3709
3709
|
"completion": {
|
|
3710
3710
|
"label": "DomainCode",
|
|
3711
3711
|
"detail": "DomainCode(inputFeature, fieldName, value?, subtype?) -> Number,Text",
|
|
@@ -3928,8 +3928,8 @@
|
|
|
3928
3928
|
"bundle": "core",
|
|
3929
3929
|
"sinceVersion": "1.20",
|
|
3930
3930
|
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#hasvalue",
|
|
3931
|
-
"description": "
|
|
3932
|
-
"examples": "\n##### דוגמה\n\
|
|
3931
|
+
"description": "מציין אם ליישות יש שדה נתון ואם לשדה זה יש ערך.",
|
|
3932
|
+
"examples": "\n##### דוגמה\n\nמחזיר 'false' אם מאפיין ישות לא קיים או שהוא ריק\n\n```arcade\nif(HasValue($feature, \"population\")){\n return $feature.population / AreaGeodetic($feature)\n}\n// Returns the population density if population is available\n```\n\n",
|
|
3933
3933
|
"completion": {
|
|
3934
3934
|
"label": "HasValue",
|
|
3935
3935
|
"detail": "HasValue(inputFeature, fieldName) -> Boolean",
|
|
@@ -3939,7 +3939,7 @@
|
|
|
3939
3939
|
"kind": 3,
|
|
3940
3940
|
"documentation": {
|
|
3941
3941
|
"kind": "markdown",
|
|
3942
|
-
"value": "**[מאז גרסה 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
3942
|
+
"value": "**[מאז גרסה 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nמציין אם ליישות יש שדה נתון ואם לשדה זה יש ערך.\n\n**פרמטרים**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - היישות לבדיקה.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - שם השדה לבדיקה.\n\n**ערך החזרה**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
3943
3943
|
}
|
|
3944
3944
|
},
|
|
3945
3945
|
"parametersInfo": {
|
|
@@ -4284,8 +4284,8 @@
|
|
|
4284
4284
|
"bundle": "core",
|
|
4285
4285
|
"sinceVersion": "1.26",
|
|
4286
4286
|
"link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue1",
|
|
4287
|
-
"description": "
|
|
4288
|
-
"examples": "\n##### דוגמאות\n\nDefaultValue
|
|
4287
|
+
"description": "מחזיר ערך ברירת מחדל שצוין אם מפתח במילון לא קיים, או אם הערך במפתח שצוין הוא 'null' או ערך טקסט ריק.",
|
|
4288
|
+
"examples": "\n##### דוגמאות\n\nDefaultValue מחזיר ערך שהוגדר\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: 0.4,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nDefaultValue(data, \"time\", \"No time logged\")\n// value of data.time is defined, so it is returned\n// returns Jan 24, 2024, 12:00:00 PM system time\n```\n\nDefaultValue מחזיר ברירת מחדל אם אין ערך במפתח שצוין.\n\n```arcade\nvar data = {\n time: '',\n weather: {\n precipitation: {\n type: \"rain\",\n value: 0.4,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nDefaultValue(data, \"time\", \"No time logged\")\n// value of data.time is empty, so the default is returned\n// returns \"No time logged\"\n```\n\nDefaultValue מחזיר ברירת מחדל אם המפתח לא קיים.\n\n```arcade\nvar data = {\n time: ''\n}\n\nDefaultValue(data, \"conditions\", \"n/a\")\n// the conditions key does not exist, so the default is returned\n// returns \"n/a\"\n```\n\n",
|
|
4289
4289
|
"completion": {
|
|
4290
4290
|
"label": "DefaultValue",
|
|
4291
4291
|
"detail": "DefaultValue(container, key, defaultValue) -> Any",
|
|
@@ -4295,7 +4295,7 @@
|
|
|
4295
4295
|
"kind": 3,
|
|
4296
4296
|
"documentation": {
|
|
4297
4297
|
"kind": "markdown",
|
|
4298
|
-
"value": "**[מאז גרסה 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
4298
|
+
"value": "**[מאז גרסה 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nמחזיר ערך ברירת מחדל שצוין אם מפתח במילון לא קיים, או אם הערך במפתח שצוין הוא 'null' או ערך טקסט ריק.\n\n**פרמטרים**\n\n- **container**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - המילון או הצורפה לבדיקה.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - המפתח לבדיקה.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - ערך זה מוחזר אם המפתח לא קיים, או אם הערך במפתח שצוין הוא 'null' או ערך טקסט ריק.\n\n**ערך החזרה**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nמחזיר את הערך מפתח שצוין אם הוגדר. אחרת, מחזיר את הערך שצוין ב-'defaultValue'."
|
|
4299
4299
|
}
|
|
4300
4300
|
},
|
|
4301
4301
|
"parametersInfo": {
|
|
@@ -4308,8 +4308,8 @@
|
|
|
4308
4308
|
"name": "defaultvalue",
|
|
4309
4309
|
"bundle": "core",
|
|
4310
4310
|
"link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue2",
|
|
4311
|
-
"description": "
|
|
4312
|
-
"examples": "\n##### דוגמאות\n\nDefaultValue
|
|
4311
|
+
"description": "מחזיר ערך ברירת מחדל שצוין אם לפחות אחד מהמפתחות במילון מקונן לא קיים, או אם הערך במפתח שצוין הוא 'null' או ערך טקסט ריק.",
|
|
4312
|
+
"examples": "\n##### דוגמאות\n\nDefaultValue מחזיר ערך שהוגדר\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: 0.4,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nDefaultValue(data, [\"weather\", \"precipitation\", \"value\"], \"No time logged\")\n// value of data.weather.precipitation.value is defined, so it is returned\n// returns 0.4\n```\n\nDefaultValue מחזיר ברירת מחדל אם אין ערך במפתח שצוין.\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: null,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nDefaultValue(data, [\"weather\", \"precipitation\", \"value\"], 0)\n// value of data.weather.precipitation.value is null, so the default is returned\n// returns 0\n```\n\nDefaultValue מחזיר ברירת מחדל אם המפתח לא קיים.\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: null,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nDefaultValue(data, [\"weather\", \"wind\", \"value\"], \"n/a\")\n// the data.weather.wind key does not exist, so the default is returned\n// returns \"n/a\"\n```\n\nבדוק ערך Null במערך בתוך מילון עם מפתח שקיים\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n interval: 1,\n intervalUnit: \"days\",\n weather: {\n precipitation: {\n type: \"rain\",\n values: [0.4, 0, 0, null, 0.1, 0.8, 1],\n unit: \"inches\"\n },\n temperature: {\n values: [50, 50, 51, 52, 55, 49, 51],\n unit: \"f\"\n },\n }\n}\n\nDefaultValue(data, [\"weather\", \"precipitation\", \"values\", 3], 0)\n// the value data.weather.precipitation.values[3] is null, so the default is returned\n// returns 0\n```\n\n",
|
|
4313
4313
|
"completion": {
|
|
4314
4314
|
"label": "DefaultValue",
|
|
4315
4315
|
"detail": "DefaultValue(container, keys, defaultValue) -> Any",
|
|
@@ -4319,7 +4319,7 @@
|
|
|
4319
4319
|
"kind": 3,
|
|
4320
4320
|
"documentation": {
|
|
4321
4321
|
"kind": "markdown",
|
|
4322
|
-
"value": "
|
|
4322
|
+
"value": "מחזיר ערך ברירת מחדל שצוין אם לפחות אחד מהמפתחות במילון מקונן לא קיים, או אם הערך במפתח שצוין הוא 'null' או ערך טקסט ריק.\n\n**פרמטרים**\n\n- **container**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - המילון או הצורפה לבדיקה.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - מערך של המפתחות או האידקסים לבדיקה בכל רמה של מבנה המכל.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - ערך זה מוחזר אם לפחות אחד מהמפתחות או האינדקסים לא קיימים, או אם הערך במפתח או שצוין הוא 'null' או ערך טקסט ריק.\n\n**ערך החזרה**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nמחזיר את הערך במפתח או באינדקס שצוין אם הוגדר. אחרת, מחזיר את הערך שצוין ב-'defaultValue'."
|
|
4323
4323
|
}
|
|
4324
4324
|
},
|
|
4325
4325
|
"parametersInfo": {
|
|
@@ -4510,8 +4510,8 @@
|
|
|
4510
4510
|
"bundle": "core",
|
|
4511
4511
|
"sinceVersion": "1.20",
|
|
4512
4512
|
"link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue1",
|
|
4513
|
-
"description": "
|
|
4514
|
-
"examples": "\n##### דוגמאות\n\
|
|
4513
|
+
"description": "מציין אם מילון כולל מפתח קלט נתון ואם מפתח זה כולל ערך.",
|
|
4514
|
+
"examples": "\n##### דוגמאות\n\nמילון עם מפתח הכולל ערך\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000', 'Cobourg', 18519);\nHasValue(d, 'Cobourg');\n// returns true\n```\n\nמילון עם מפתח ללא ערך\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000', 'Cobourg', null);\nHasValue(d, 'Cobourg');\n// returns false\n```\n\nמילון ללא המפתח שצוין\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000');\nHasValue(d, 'Cobourg');\n// returns false\n```\n\nמילון ללא המפתח שצוין\n\n```arcade\nif ( HasValue( Schema($feature).fields[0], \"domain\" ) ) {\n // Do something with the value if true\n}\n```\n\n",
|
|
4515
4515
|
"completion": {
|
|
4516
4516
|
"label": "HasValue",
|
|
4517
4517
|
"detail": "HasValue(inputDictionary, key) -> Boolean",
|
|
@@ -4521,7 +4521,7 @@
|
|
|
4521
4521
|
"kind": 3,
|
|
4522
4522
|
"documentation": {
|
|
4523
4523
|
"kind": "markdown",
|
|
4524
|
-
"value": "**[מאז גרסה 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
4524
|
+
"value": "**[מאז גרסה 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nמציין אם מילון כולל מפתח קלט נתון ואם מפתח זה כולל ערך.\n\n**פרמטרים**\n\n- **inputDictionary**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - המילון או הצורפה לבדיקה.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - המפתח או שם השדה שיש לבדוק.\n\n**ערך החזרה**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
4525
4525
|
}
|
|
4526
4526
|
},
|
|
4527
4527
|
"parametersInfo": {
|
|
@@ -4535,8 +4535,8 @@
|
|
|
4535
4535
|
"bundle": "core",
|
|
4536
4536
|
"sinceVersion": "1.26",
|
|
4537
4537
|
"link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue2",
|
|
4538
|
-
"description": "
|
|
4539
|
-
"examples": "\n##### דוגמאות\n\
|
|
4538
|
+
"description": "בודק האם למאפיין שמקונן בעומק של מספר רמות במילון יש ערך. דבר זה מאפשר לך לתמרן לתוך מבנה מקונן בצעד אחד במקום לבדוק ערכים בכל רמה. מחזיר `true` אם המפתחות והאינדקסים בכל רמה של המבנה קיימים וכוללים ערך שאינו Null.",
|
|
4539
|
+
"examples": "\n##### דוגמאות\n\nבדוק מילון עם מפתח בעל ערך מקונן\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: 0.4,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nif(HasValue(data, [\"weather\",\"precipitation\",\"value\"])){\n // if() evaluates to true, thus executing the return\n return data.weather.precipitation.value;\n}\n```\n\nבדוק ערך במילון עם מפתח שלא קיים\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: 0.4,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nif(HasValue(data, [\"weather\",\"precipitation\",\"values\", 0])){\n // if() evaluates to false (\"values\" does not exist), thus avoiding the block\n return data.weather.precipitation.values;\n}\n```\n\nבדוק ערך במערך בתוך מילון עם מפתח שלא קיים\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n interval: 1,\n intervalUnit: \"days\",\n weather: {\n precipitation: {\n type: \"rain\",\n values: [0.4, 0, 0, null, 0.1, 0.8, 1],\n unit: \"inches\"\n },\n temperature: {\n values: [50, 50, 51, 52, 55, 49, 51],\n unit: \"f\"\n },\n }\n}\n\nif(HasValue(data, [\"weather\",\"precipitation\",\"values\", 6])){\n // if() evaluates to true, thus executing the return\n return data.weather.precipitation.values[6];\n}\n```\n\n",
|
|
4540
4540
|
"completion": {
|
|
4541
4541
|
"label": "HasValue",
|
|
4542
4542
|
"detail": "HasValue(inputDictionary, keys) -> Boolean",
|
|
@@ -4546,7 +4546,7 @@
|
|
|
4546
4546
|
"kind": 3,
|
|
4547
4547
|
"documentation": {
|
|
4548
4548
|
"kind": "markdown",
|
|
4549
|
-
"value": "**[מאז גרסה 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
4549
|
+
"value": "**[מאז גרסה 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nבודק האם למאפיין שמקונן בעומק של מספר רמות במילון יש ערך. דבר זה מאפשר לך לתמרן לתוך מבנה מקונן בצעד אחד במקום לבדוק ערכים בכל רמה. מחזיר `true` אם המפתחות והאינדקסים בכל רמה של המבנה קיימים וכוללים ערך שאינו Null.\n\n**פרמטרים**\n\n- **inputDictionary**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - המילון או הצורפה לבדיקה.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - מערך של המפתחות או האידקסים לבדיקה בכל רמה של המבנה.\n\n**ערך החזרה**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
4550
4550
|
}
|
|
4551
4551
|
},
|
|
4552
4552
|
"parametersInfo": {
|
|
@@ -5125,8 +5125,8 @@
|
|
|
5125
5125
|
"bundle": "core",
|
|
5126
5126
|
"sinceVersion": "1.26",
|
|
5127
5127
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue1",
|
|
5128
|
-
"description": "
|
|
5129
|
-
"examples": "\n##### דוגמאות\n\
|
|
5128
|
+
"description": "מחזיר ערך ברירת מחדל שצוין אם אינדקס במערך לא קיים, או אם הערך באינדקס שצוין הוא 'null' או ערך טקסט ריק.",
|
|
5129
|
+
"examples": "\n##### דוגמאות\n\nמערך עם ערך באינדקס הנתון\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 4, \"No data\");\n// returns 901\n```\n\nמערך ללא ערך באינדקס הנתון\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 5, \"No data\");\n// returns \"No data\"\n```\n\nמערך עם ערך null באינדקס הנתון\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 2, \"No data\");\n// returns \"No data\"\n```\n\n",
|
|
5130
5130
|
"completion": {
|
|
5131
5131
|
"label": "DefaultValue",
|
|
5132
5132
|
"detail": "DefaultValue(container, index, defaultValue) -> Any",
|
|
@@ -5136,7 +5136,7 @@
|
|
|
5136
5136
|
"kind": 3,
|
|
5137
5137
|
"documentation": {
|
|
5138
5138
|
"kind": "markdown",
|
|
5139
|
-
"value": "**[מאז גרסה 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5139
|
+
"value": "**[מאז גרסה 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nמחזיר ערך ברירת מחדל שצוין אם אינדקס במערך לא קיים, או אם הערך באינדקס שצוין הוא 'null' או ערך טקסט ריק.\n\n**פרמטרים**\n\n- **container**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - מערך הקלט לבדיקה.\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - האינדקס לבדיקה.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - ערך זה מוחזר אם האינדקס לא קיים, או אם הערך באינדקס שצוין הוא 'null' או ערך טקסט ריק.\n\n**ערך החזרה**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nמחזיר את הערך באינדקס שצוין אם הוגדר. אחרת, מחזיר את הערך שצוין ב-'defaultValue'."
|
|
5140
5140
|
}
|
|
5141
5141
|
},
|
|
5142
5142
|
"parametersInfo": {
|
|
@@ -5149,8 +5149,8 @@
|
|
|
5149
5149
|
"name": "defaultvalue",
|
|
5150
5150
|
"bundle": "core",
|
|
5151
5151
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue2",
|
|
5152
|
-
"description": "
|
|
5153
|
-
"examples": "\n##### דוגמאות\n\
|
|
5152
|
+
"description": "בודק האם לאינדקס שמקונן בעומק של מספר רמות במערך רב-ממדי יש ערך ומחזיר ערך זה אם קיים. אחרת, פונקציה זו מחזירה ערך ברירת מחדל שצוין אם לפחות אחד מהמפתחות המקוננים או האינדקסים לא קיימים, או אם הערך במפתח או באינדקס שצוין הוא 'null' או ערך טקסט ריק. דבר זה מאפשר לך לתמרן לתוך מבנה מקונן בצעד אחד במקום לבדוק ערכים בתוך כל מערך.",
|
|
5153
|
+
"examples": "\n##### דוגמאות\n\nמערך עם ערך באינדקס המקונן\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nDefaultValue(a, [2, 3], \"No data\");\n// returns 1\n```\n\nמערך ללא ערך באינדקס המקונן\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nDefaultValue(a, [2, 10], \"No data\");\n// returns \"No data\"\n```\n\nמערך ללא ערך באינדקס ההורה\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nDefaultValue(a, [10, 3], \"No data\");\n// returns \"No data\"\n```\n\nמערך של מילונים עם ערכים מקוננים\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n interval: 1,\n intervalUnit: \"days\",\n weather: {\n precipitation: {\n type: \"rain\",\n values: [0.4, 0, 0, null, 0.1, 0.8, 1],\n unit: \"inches\"\n },\n temperature: {\n values: [50, 50, 51, 52, 55, 49, 51],\n unit: \"f\"\n },\n }\n}\n\nvar a = [ data, data2, data3 ]\nDefaultValue(a, [0, \"weather\",\"precipitation\",\"values\", 6], \"No data\");\n// returns 1\n```\n\n",
|
|
5154
5154
|
"completion": {
|
|
5155
5155
|
"label": "DefaultValue",
|
|
5156
5156
|
"detail": "DefaultValue(container, keys, defaultValue) -> Any",
|
|
@@ -5160,7 +5160,7 @@
|
|
|
5160
5160
|
"kind": 3,
|
|
5161
5161
|
"documentation": {
|
|
5162
5162
|
"kind": "markdown",
|
|
5163
|
-
"value": "
|
|
5163
|
+
"value": "בודק האם לאינדקס שמקונן בעומק של מספר רמות במערך רב-ממדי יש ערך ומחזיר ערך זה אם קיים. אחרת, פונקציה זו מחזירה ערך ברירת מחדל שצוין אם לפחות אחד מהמפתחות המקוננים או האינדקסים לא קיימים, או אם הערך במפתח או באינדקס שצוין הוא 'null' או ערך טקסט ריק. דבר זה מאפשר לך לתמרן לתוך מבנה מקונן בצעד אחד במקום לבדוק ערכים בתוך כל מערך.\n\n**פרמטרים**\n\n- **container**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - מערך הקלט לבדיקה.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - מערך של המפתחות או האידקסים לבדיקה בכל רמה של מבנה המכל.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - ערך זה מוחזר אם לפחות אחד מהמפתחות או האינדקסים לא קיימים, או אם הערך במפתח או שצוין הוא 'null' או ערך טקסט ריק.\n\n**ערך החזרה**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nמחזיר את הערך במפתח או באינדקס שצוין אם הוגדר. אחרת, מחזיר את הערך שצוין ב-'defaultValue'."
|
|
5164
5164
|
}
|
|
5165
5165
|
},
|
|
5166
5166
|
"parametersInfo": {
|
|
@@ -5327,8 +5327,8 @@
|
|
|
5327
5327
|
"bundle": "core",
|
|
5328
5328
|
"sinceVersion": "1.26",
|
|
5329
5329
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue1",
|
|
5330
|
-
"description": "
|
|
5331
|
-
"examples": "\n##### דוגמאות\n\
|
|
5330
|
+
"description": "מציין האם למערך יש ערך באינדקס הנתון.",
|
|
5331
|
+
"examples": "\n##### דוגמאות\n\nמערך עם ערך באינדקס הנתון\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 4);\n// returns true\n```\n\nמערך ללא ערך באינדקס הנתון\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 5);\n// returns false\n```\n\nמערך עם ערך null באינדקס הנתון\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 2);\n// returns false\n```\n\n",
|
|
5332
5332
|
"completion": {
|
|
5333
5333
|
"label": "HasValue",
|
|
5334
5334
|
"detail": "HasValue(inputArray, index) -> Boolean",
|
|
@@ -5338,7 +5338,7 @@
|
|
|
5338
5338
|
"kind": 3,
|
|
5339
5339
|
"documentation": {
|
|
5340
5340
|
"kind": "markdown",
|
|
5341
|
-
"value": "**[מאז גרסה 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5341
|
+
"value": "**[מאז גרסה 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nמציין האם למערך יש ערך באינדקס הנתון.\n\n**פרמטרים**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - המערך לבדיקה.\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - האינדקס לבדיקה.\n\n**ערך החזרה**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
5342
5342
|
}
|
|
5343
5343
|
},
|
|
5344
5344
|
"parametersInfo": {
|
|
@@ -5352,8 +5352,8 @@
|
|
|
5352
5352
|
"bundle": "core",
|
|
5353
5353
|
"sinceVersion": "1.26",
|
|
5354
5354
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue2",
|
|
5355
|
-
"description": "
|
|
5356
|
-
"examples": "\n##### דוגמאות\n\
|
|
5355
|
+
"description": "בודק האם לאינדקס שמקונן בעומק של מספר רמות במערך רב-ממדי יש ערך. דבר זה מאפשר לך לתמרן לתוך מבנה מקונן בצעד אחד במקום לבדוק ערכים בתוך כל מערך. מחזיר `true` אם האינדקסים בכל רמה של המבנה קיימים וכוללים ערך שאינו Null.",
|
|
5356
|
+
"examples": "\n##### דוגמאות\n\nמערך עם ערך באינדקס המקונן\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [2, 4]);\n// returns true\n```\n\nמערך ללא ערך באינדקס המקונן\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [2, 10]);\n// returns false\n```\n\nמערך ללא ערך באינדקס ההורה\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [10, 5]);\n// returns false\n```\n\nמערך של מילונים עם ערכים מקוננים\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n interval: 1,\n intervalUnit: \"days\",\n weather: {\n precipitation: {\n type: \"rain\",\n values: [0.4, 0, 0, null, 0.1, 0.8, 1],\n unit: \"inches\"\n },\n temperature: {\n values: [50, 50, 51, 52, 55, 49, 51],\n unit: \"f\"\n },\n }\n}\n\nvar a = [ data, data2, data3 ]\nif(HasValue(a, [0, \"weather\",\"precipitation\",\"values\", 6])){\n // This check succeeds so the value will be returned\n return a[0].weather.precipitation.values[6];\n // returns 1\n}\n```\n\n",
|
|
5357
5357
|
"completion": {
|
|
5358
5358
|
"label": "HasValue",
|
|
5359
5359
|
"detail": "HasValue(inputArray, indexes) -> Boolean",
|
|
@@ -5363,7 +5363,7 @@
|
|
|
5363
5363
|
"kind": 3,
|
|
5364
5364
|
"documentation": {
|
|
5365
5365
|
"kind": "markdown",
|
|
5366
|
-
"value": "**[מאז גרסה 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5366
|
+
"value": "**[מאז גרסה 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nבודק האם לאינדקס שמקונן בעומק של מספר רמות במערך רב-ממדי יש ערך. דבר זה מאפשר לך לתמרן לתוך מבנה מקונן בצעד אחד במקום לבדוק ערכים בתוך כל מערך. מחזיר `true` אם האינדקסים בכל רמה של המבנה קיימים וכוללים ערך שאינו Null.\n\n**פרמטרים**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - המערך לבדיקה.\n- **indexes**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - מערך של המפתחות או האידקסים לבדיקה בכל רמה של המבנה.\n\n**ערך החזרה**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
5367
5367
|
}
|
|
5368
5368
|
},
|
|
5369
5369
|
"parametersInfo": {
|
|
@@ -6881,7 +6881,7 @@
|
|
|
6881
6881
|
"bundle": "core",
|
|
6882
6882
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
|
|
6883
6883
|
"description": "חישוב ההפרש בין שני תאריכים והחזרת התוצאה ביחידות שצוינו.",
|
|
6884
|
-
"examples": "\n##### דוגמאות\n\nחישוב ההפרש בין שני תאריכים והחזרת הגיל\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\n
|
|
6884
|
+
"examples": "\n##### דוגמאות\n\nחישוב ההפרש בין שני תאריכים והחזרת הגיל\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nחישוב ההפרש בין שני תאריכים והחזרת התוצאה.\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
|
|
6885
6885
|
"completion": {
|
|
6886
6886
|
"label": "DateDiff",
|
|
6887
6887
|
"detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
|