@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
|
@@ -655,8 +655,8 @@
|
|
|
655
655
|
"bundle": "data-access",
|
|
656
656
|
"sinceVersion": "1.25",
|
|
657
657
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#filterbysubtypecode",
|
|
658
|
-
"description": "
|
|
659
|
-
"examples": "\n##### 예시\n\n
|
|
658
|
+
"description": "주어진 서브타입 코드와 일치하는 모든 피처를 사용하여 새 FeatureSet을 생성합니다.",
|
|
659
|
+
"examples": "\n##### 예시\n\n서브타입 코드로 피처 필터링\n\n```arcade\n// Returns all features that have the given subtype code\nFilterBySubtypeCode($layer, 5)\n```\n\n",
|
|
660
660
|
"completion": {
|
|
661
661
|
"label": "FilterBySubtypeCode",
|
|
662
662
|
"detail": "FilterBySubtypeCode(features, subtypeCode) -> FeatureSet",
|
|
@@ -666,7 +666,7 @@
|
|
|
666
666
|
"kind": 3,
|
|
667
667
|
"documentation": {
|
|
668
668
|
"kind": "markdown",
|
|
669
|
-
"value": "**[Since version 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n
|
|
669
|
+
"value": "**[Since version 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**Return value**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
|
|
670
670
|
}
|
|
671
671
|
},
|
|
672
672
|
"parametersInfo": {
|
|
@@ -2324,7 +2324,7 @@
|
|
|
2324
2324
|
"bundle": "core",
|
|
2325
2325
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
|
|
2326
2326
|
"description": "두 날짜를 뺀 차이를 지정된 단위로 반환합니다.",
|
|
2327
|
-
"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
|
|
2327
|
+
"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",
|
|
2328
2328
|
"completion": {
|
|
2329
2329
|
"label": "DateDiff",
|
|
2330
2330
|
"detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
|
|
@@ -3487,8 +3487,8 @@
|
|
|
3487
3487
|
"bundle": "core",
|
|
3488
3488
|
"sinceVersion": "1.26",
|
|
3489
3489
|
"link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue1",
|
|
3490
|
-
"description": "
|
|
3491
|
-
"examples": "\n##### 예시\n\nDefaultValue
|
|
3490
|
+
"description": "딕셔너리의 키가 없거나 지정된 키의 값이 `null` 또는 빈 텍스트 값인 경우 지정된 기본값을 반환합니다.",
|
|
3491
|
+
"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\n지정된 키에 값이 없는 경우 DefaultValue는 기본값을 반환합니다.\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\n키가 없는 경우 DefaultValue는 기본값을 반환합니다.\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",
|
|
3492
3492
|
"completion": {
|
|
3493
3493
|
"label": "DefaultValue",
|
|
3494
3494
|
"detail": "DefaultValue(container, key, defaultValue) -> Any",
|
|
@@ -3498,7 +3498,7 @@
|
|
|
3498
3498
|
"kind": 3,
|
|
3499
3499
|
"documentation": {
|
|
3500
3500
|
"kind": "markdown",
|
|
3501
|
-
"value": "**[Since version 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
3501
|
+
"value": "**[Since version 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**Return value**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \n정의된 경우 지정된 키의 값을 반환합니다. 그렇지 않은 경우 `defaultValue`에 지정된 값을 반환합니다."
|
|
3502
3502
|
}
|
|
3503
3503
|
},
|
|
3504
3504
|
"parametersInfo": {
|
|
@@ -3511,8 +3511,8 @@
|
|
|
3511
3511
|
"name": "defaultvalue",
|
|
3512
3512
|
"bundle": "core",
|
|
3513
3513
|
"link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue2",
|
|
3514
|
-
"description": "
|
|
3515
|
-
"examples": "\n##### 예시\n\nDefaultValue
|
|
3514
|
+
"description": "중첩된 딕셔너리의 키 중 하나 이상이 없거나 지정된 키의 값이 `null` 또는 빈 텍스트 값인 경우 지정된 기본값을 반환합니다.",
|
|
3515
|
+
"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\n지정된 키에 값이 없는 경우 DefaultValue는 기본값을 반환합니다.\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\n키가 없는 경우 DefaultValue는 기본값을 반환합니다.\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",
|
|
3516
3516
|
"completion": {
|
|
3517
3517
|
"label": "DefaultValue",
|
|
3518
3518
|
"detail": "DefaultValue(container, keys, defaultValue) -> Any",
|
|
@@ -3522,7 +3522,7 @@
|
|
|
3522
3522
|
"kind": 3,
|
|
3523
3523
|
"documentation": {
|
|
3524
3524
|
"kind": "markdown",
|
|
3525
|
-
"value": "
|
|
3525
|
+
"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**Return value**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \n정의된 경우 지정된 키 또는 색인의 값을 반환합니다. 그렇지 않은 경우 `defaultValue`에 지정된 값을 반환합니다."
|
|
3526
3526
|
}
|
|
3527
3527
|
},
|
|
3528
3528
|
"parametersInfo": {
|
|
@@ -3713,8 +3713,8 @@
|
|
|
3713
3713
|
"bundle": "core",
|
|
3714
3714
|
"sinceVersion": "1.20",
|
|
3715
3715
|
"link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue1",
|
|
3716
|
-
"description": "
|
|
3717
|
-
"examples": "\n##### 예시\n\
|
|
3716
|
+
"description": "딕셔너리에 지정된 키가 있는지 여부와 해당 키에 값이 있는지 여부를 나타냅니다.",
|
|
3717
|
+
"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",
|
|
3718
3718
|
"completion": {
|
|
3719
3719
|
"label": "HasValue",
|
|
3720
3720
|
"detail": "HasValue(inputDictionary, key) -> Boolean",
|
|
@@ -3724,7 +3724,7 @@
|
|
|
3724
3724
|
"kind": 3,
|
|
3725
3725
|
"documentation": {
|
|
3726
3726
|
"kind": "markdown",
|
|
3727
|
-
"value": "**[Since version 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
3727
|
+
"value": "**[Since version 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**Return value**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
3728
3728
|
}
|
|
3729
3729
|
},
|
|
3730
3730
|
"parametersInfo": {
|
|
@@ -3738,8 +3738,8 @@
|
|
|
3738
3738
|
"bundle": "core",
|
|
3739
3739
|
"sinceVersion": "1.26",
|
|
3740
3740
|
"link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue2",
|
|
3741
|
-
"description": "
|
|
3742
|
-
"examples": "\n##### 예시\n\
|
|
3741
|
+
"description": "딕셔너리의 여러 레벨까지 중첩된 등록정보에 값이 있는지 확인합니다. 이를 통해 각 레벨에서 값을 확인하는 대신 중첩된 구조를 한 번에 자세히 확인할 수 있습니다. 구조의 각 레벨에 키 및 색인이 있고 Null이 아닌 값을 포함하는 경우 `true`를 반환합니다.",
|
|
3742
|
+
"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",
|
|
3743
3743
|
"completion": {
|
|
3744
3744
|
"label": "HasValue",
|
|
3745
3745
|
"detail": "HasValue(inputDictionary, keys) -> Boolean",
|
|
@@ -3749,7 +3749,7 @@
|
|
|
3749
3749
|
"kind": 3,
|
|
3750
3750
|
"documentation": {
|
|
3751
3751
|
"kind": "markdown",
|
|
3752
|
-
"value": "**[Since version 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
3752
|
+
"value": "**[Since version 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n딕셔너리의 여러 레벨까지 중첩된 등록정보에 값이 있는지 확인합니다. 이를 통해 각 레벨에서 값을 확인하는 대신 중첩된 구조를 한 번에 자세히 확인할 수 있습니다. 구조의 각 레벨에 키 및 색인이 있고 Null이 아닌 값을 포함하는 경우 `true`를 반환합니다.\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**Return value**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
3753
3753
|
}
|
|
3754
3754
|
},
|
|
3755
3755
|
"parametersInfo": {
|
|
@@ -3922,8 +3922,8 @@
|
|
|
3922
3922
|
"bundle": "core",
|
|
3923
3923
|
"sinceVersion": "1.26",
|
|
3924
3924
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue1",
|
|
3925
|
-
"description": "
|
|
3926
|
-
"examples": "\n##### 예시\n\
|
|
3925
|
+
"description": "배열의 색인이 없거나 지정된 색인의 값이 `null` 또는 빈 텍스트 값인 경우 지정된 기본값을 반환합니다.",
|
|
3926
|
+
"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",
|
|
3927
3927
|
"completion": {
|
|
3928
3928
|
"label": "DefaultValue",
|
|
3929
3929
|
"detail": "DefaultValue(container, index, defaultValue) -> Any",
|
|
@@ -3933,7 +3933,7 @@
|
|
|
3933
3933
|
"kind": 3,
|
|
3934
3934
|
"documentation": {
|
|
3935
3935
|
"kind": "markdown",
|
|
3936
|
-
"value": "**[Since version 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
3936
|
+
"value": "**[Since version 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**Return value**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \n정의된 경우 지정된 색인의 값을 반환합니다. 그렇지 않은 경우 `defaultValue`에 지정된 값을 반환합니다."
|
|
3937
3937
|
}
|
|
3938
3938
|
},
|
|
3939
3939
|
"parametersInfo": {
|
|
@@ -3946,8 +3946,8 @@
|
|
|
3946
3946
|
"name": "defaultvalue",
|
|
3947
3947
|
"bundle": "core",
|
|
3948
3948
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue2",
|
|
3949
|
-
"description": "
|
|
3950
|
-
"examples": "\n##### 예시\n\
|
|
3949
|
+
"description": "다차원 배열의 여러 레벨까지 중첩된 색인에 값이 있는지 확인하고 있는 경우 해당 값을 반환합니다. 그렇지 않은 경우 중첩된 키 또는 색인 중 하나 이상이 없거나 지정된 키 또는 색인의 값이 `null` 또는 빈 텍스트 값인 경우 이 함수는 지정된 기본값을 반환합니다. 이를 통해 각 배열 내의 값을 확인하는 대신 중첩된 구조를 한 번에 자세히 확인할 수 있습니다.",
|
|
3950
|
+
"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",
|
|
3951
3951
|
"completion": {
|
|
3952
3952
|
"label": "DefaultValue",
|
|
3953
3953
|
"detail": "DefaultValue(container, keys, defaultValue) -> Any",
|
|
@@ -3957,7 +3957,7 @@
|
|
|
3957
3957
|
"kind": 3,
|
|
3958
3958
|
"documentation": {
|
|
3959
3959
|
"kind": "markdown",
|
|
3960
|
-
"value": "
|
|
3960
|
+
"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**Return value**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \n정의된 경우 지정된 키 또는 색인의 값을 반환합니다. 그렇지 않은 경우 `defaultValue`에 지정된 값을 반환합니다."
|
|
3961
3961
|
}
|
|
3962
3962
|
},
|
|
3963
3963
|
"parametersInfo": {
|
|
@@ -4124,8 +4124,8 @@
|
|
|
4124
4124
|
"bundle": "core",
|
|
4125
4125
|
"sinceVersion": "1.26",
|
|
4126
4126
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue1",
|
|
4127
|
-
"description": "
|
|
4128
|
-
"examples": "\n##### 예시\n\
|
|
4127
|
+
"description": "배열의 지정된 색인에 값이 있는지 여부를 나타냅니다.",
|
|
4128
|
+
"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",
|
|
4129
4129
|
"completion": {
|
|
4130
4130
|
"label": "HasValue",
|
|
4131
4131
|
"detail": "HasValue(inputArray, index) -> Boolean",
|
|
@@ -4135,7 +4135,7 @@
|
|
|
4135
4135
|
"kind": 3,
|
|
4136
4136
|
"documentation": {
|
|
4137
4137
|
"kind": "markdown",
|
|
4138
|
-
"value": "**[Since version 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
4138
|
+
"value": "**[Since version 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**Return value**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
4139
4139
|
}
|
|
4140
4140
|
},
|
|
4141
4141
|
"parametersInfo": {
|
|
@@ -4149,8 +4149,8 @@
|
|
|
4149
4149
|
"bundle": "core",
|
|
4150
4150
|
"sinceVersion": "1.26",
|
|
4151
4151
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue2",
|
|
4152
|
-
"description": "
|
|
4153
|
-
"examples": "\n##### 예시\n\
|
|
4152
|
+
"description": "다차원 배열의 여러 레벨까지 중첩된 색인에 값이 있는지 확인합니다. 이를 통해 각 배열 내의 값을 확인하는 대신 중첩된 구조를 한 번에 자세히 확인할 수 있습니다. 구조의 각 레벨에 색인이 있고 Null이 아닌 값을 포함하는 경우 `true`를 반환합니다.",
|
|
4153
|
+
"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",
|
|
4154
4154
|
"completion": {
|
|
4155
4155
|
"label": "HasValue",
|
|
4156
4156
|
"detail": "HasValue(inputArray, indexes) -> Boolean",
|
|
@@ -4160,7 +4160,7 @@
|
|
|
4160
4160
|
"kind": 3,
|
|
4161
4161
|
"documentation": {
|
|
4162
4162
|
"kind": "markdown",
|
|
4163
|
-
"value": "**[Since version 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
4163
|
+
"value": "**[Since version 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n다차원 배열의 여러 레벨까지 중첩된 색인에 값이 있는지 확인합니다. 이를 통해 각 배열 내의 값을 확인하는 대신 중첩된 구조를 한 번에 자세히 확인할 수 있습니다. 구조의 각 레벨에 색인이 있고 Null이 아닌 값을 포함하는 경우 `true`를 반환합니다.\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**Return value**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
4164
4164
|
}
|
|
4165
4165
|
},
|
|
4166
4166
|
"parametersInfo": {
|
|
@@ -4549,6 +4549,62 @@
|
|
|
4549
4549
|
}
|
|
4550
4550
|
]
|
|
4551
4551
|
},
|
|
4552
|
+
{
|
|
4553
|
+
"id": "knowledge-graph_functions",
|
|
4554
|
+
"title": "지식 그래프 함수",
|
|
4555
|
+
"items": [
|
|
4556
|
+
{
|
|
4557
|
+
"type": "function",
|
|
4558
|
+
"name": "knowledgegraphbyportalitem",
|
|
4559
|
+
"bundle": "knowledge-graph",
|
|
4560
|
+
"sinceVersion": "1.26",
|
|
4561
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/knowledge-graph_functions/#knowledgegraphbyportalitem",
|
|
4562
|
+
"description": "포털 항목에서 지식 그래프를 반환합니다.",
|
|
4563
|
+
"examples": "\n##### 예시\n\n포털 항목에서 지식 그래프를 반환합니다.\n\n```arcade\nvar knowledgeGraph = KnowledgeGraphByPortalItem(\n Portal('https://www.arcgis.com'),\n '7b1fb95ab77f40bf8aa09c8b59045449',\n);\n```\n\n",
|
|
4564
|
+
"completion": {
|
|
4565
|
+
"label": "KnowledgeGraphByPortalItem",
|
|
4566
|
+
"detail": "KnowledgeGraphByPortalItem(portalObject, itemId) -> KnowledgeGraph",
|
|
4567
|
+
"insertText": "KnowledgeGraphByPortalItem(${1:portalObject_}, ${2:itemId_})$0",
|
|
4568
|
+
"insertTextMode": 2,
|
|
4569
|
+
"insertTextFormat": 2,
|
|
4570
|
+
"kind": 3,
|
|
4571
|
+
"documentation": {
|
|
4572
|
+
"kind": "markdown",
|
|
4573
|
+
"value": "**[Since version 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**Return value**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph)"
|
|
4574
|
+
}
|
|
4575
|
+
},
|
|
4576
|
+
"parametersInfo": {
|
|
4577
|
+
"min": 2,
|
|
4578
|
+
"max": 2
|
|
4579
|
+
}
|
|
4580
|
+
},
|
|
4581
|
+
{
|
|
4582
|
+
"type": "function",
|
|
4583
|
+
"name": "querygraph",
|
|
4584
|
+
"bundle": "knowledge-graph",
|
|
4585
|
+
"sinceVersion": "1.26",
|
|
4586
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/knowledge-graph_functions/#querygraph",
|
|
4587
|
+
"description": "openCypher 쿼리로 지식 그래프를 쿼리하고 해당 등록정보와 함께 그래프의 엔티티 및 관계 집합을 반환합니다.",
|
|
4588
|
+
"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",
|
|
4589
|
+
"completion": {
|
|
4590
|
+
"label": "QueryGraph",
|
|
4591
|
+
"detail": "QueryGraph(graph, openCypherQuery, queryParameters?) -> Array",
|
|
4592
|
+
"insertText": "QueryGraph(${1:graph_}, ${2:openCypherQuery_})$0",
|
|
4593
|
+
"insertTextMode": 2,
|
|
4594
|
+
"insertTextFormat": 2,
|
|
4595
|
+
"kind": 3,
|
|
4596
|
+
"documentation": {
|
|
4597
|
+
"kind": "markdown",
|
|
4598
|
+
"value": "**[Since version 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nopenCypher 쿼리로 지식 그래프를 쿼리하고 해당 등록정보와 함께 그래프의 엔티티 및 관계 집합을 반환합니다.\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 쿼리에 대한 명명된 쿼리 매개변수의 딕셔너리입니다. 딕셔너리의 매개변수 이름 또는 키는 대소문자를 구분합니다. 허용되는 매개변수는 외부 그래프 스토어에 따라 다르며 `Array`, `Date`, `Dictionary`, `Geometry`, `Number`, `Text` 유형일 수 있습니다.\n\n**Return value**: Array"
|
|
4599
|
+
}
|
|
4600
|
+
},
|
|
4601
|
+
"parametersInfo": {
|
|
4602
|
+
"min": 2,
|
|
4603
|
+
"max": 3
|
|
4604
|
+
}
|
|
4605
|
+
}
|
|
4606
|
+
]
|
|
4607
|
+
},
|
|
4552
4608
|
{
|
|
4553
4609
|
"id": "geometry_functions",
|
|
4554
4610
|
"title": "지오메트리 함수",
|
|
@@ -4966,8 +5022,8 @@
|
|
|
4966
5022
|
"bundle": "core",
|
|
4967
5023
|
"sinceVersion": "1.26",
|
|
4968
5024
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue1",
|
|
4969
|
-
"description": "
|
|
4970
|
-
"examples": "\n##### 예시\n\
|
|
5025
|
+
"description": "지오메트리의 키가 없거나 지정된 키의 값이 `null` 또는 빈 텍스트 값인 경우 지정된 기본값을 반환합니다.",
|
|
5026
|
+
"examples": "\n##### 예시\n\nz 값이 있는 포인트\n\n```arcade\nDefaultValue(Geometry($feature), \"z\", 1000)\n// Geometry($feature).hasZ is true\n// returns the value of Geometry($feature).z\n```\n\nz 값이 없는 포인트\n\n```arcade\nDefaultValue(Geometry($feature), \"z\", 1000)\n// Geometry($feature).hasZ is false\n// returns 1000\n```\n\n",
|
|
4971
5027
|
"completion": {
|
|
4972
5028
|
"label": "DefaultValue",
|
|
4973
5029
|
"detail": "DefaultValue(container, key, defaultValue) -> Any",
|
|
@@ -4977,7 +5033,7 @@
|
|
|
4977
5033
|
"kind": 3,
|
|
4978
5034
|
"documentation": {
|
|
4979
5035
|
"kind": "markdown",
|
|
4980
|
-
"value": "**[Since version 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5036
|
+
"value": "**[Since version 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**Return value**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \n정의된 경우 지정된 키의 값을 반환합니다. 그렇지 않은 경우 `defaultValue`에 지정된 값을 반환합니다."
|
|
4981
5037
|
}
|
|
4982
5038
|
},
|
|
4983
5039
|
"parametersInfo": {
|
|
@@ -4990,8 +5046,8 @@
|
|
|
4990
5046
|
"name": "defaultvalue",
|
|
4991
5047
|
"bundle": "core",
|
|
4992
5048
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue2",
|
|
4993
|
-
"description": "
|
|
4994
|
-
"examples": "\n##### 예시\n\
|
|
5049
|
+
"description": "지오메트리의 중첩된 등록정보에 있는 키 중 하나 이상이 없거나 지정된 키의 값이 `null` 또는 빈 텍스트 값인 경우 지정된 기본값을 반환합니다.",
|
|
5050
|
+
"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",
|
|
4995
5051
|
"completion": {
|
|
4996
5052
|
"label": "DefaultValue",
|
|
4997
5053
|
"detail": "DefaultValue(container, keys, defaultValue) -> Any",
|
|
@@ -5001,7 +5057,7 @@
|
|
|
5001
5057
|
"kind": 3,
|
|
5002
5058
|
"documentation": {
|
|
5003
5059
|
"kind": "markdown",
|
|
5004
|
-
"value": "
|
|
5060
|
+
"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**Return value**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \n정의된 경우 지정된 키 또는 색인의 값을 반환합니다. 그렇지 않은 경우 `defaultValue`에 지정된 값을 반환합니다."
|
|
5005
5061
|
}
|
|
5006
5062
|
},
|
|
5007
5063
|
"parametersInfo": {
|
|
@@ -5166,8 +5222,8 @@
|
|
|
5166
5222
|
"bundle": "geometry",
|
|
5167
5223
|
"sinceVersion": "1.26",
|
|
5168
5224
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#distancetocoordinate",
|
|
5169
|
-
"description": "
|
|
5170
|
-
"examples": "\n##### 예시\n\
|
|
5225
|
+
"description": "지정된 거리를 기반으로 입력 라인을 따라 좌표를 반환합니다. 지정된 거리에서 좌표를 찾으려고 할 때 라인의 모든 부분을 검토합니다. 거리에는 라인의 경로(또는 부분) 간 간격이 포함되지 않습니다. 입력 라인을 따라 거리를 찾을 수 없는 경우 결과는 `null`이 됩니다.\n\n_시각화 및 레이블 지정 프로파일의 피처 지오메트리는 그리기 성능을 개선하기 위해 뷰의 축척 해상도에 따라 일반화됩니다. 따라서 이러한 컨텍스트에서 피처의 지오메트리(즉, `$feature`)를 지오메트리 함수에 대한 입력으로 사용하면 축척 수준에 따라 각기 다른 결과가 반환됩니다. 팝업과 같은 기타 프로파일은 전체 해상도 지오메트리를 제공합니다._",
|
|
5226
|
+
"examples": "\n##### 예시\n\n지정된 거리 값을 기반으로 입력 폴리라인의 좌표를 반환합니다.\n\n```arcade\nvar result = DistanceToCoordinate($feature, 1038);\n\nreturn result.coordinate;\n```\n\n",
|
|
5171
5227
|
"completion": {
|
|
5172
5228
|
"label": "DistanceToCoordinate",
|
|
5173
5229
|
"detail": "DistanceToCoordinate(inputLine, inputDistance) -> Dictionary",
|
|
@@ -5177,7 +5233,7 @@
|
|
|
5177
5233
|
"kind": 3,
|
|
5178
5234
|
"documentation": {
|
|
5179
5235
|
"kind": "markdown",
|
|
5180
|
-
"value": "**[Since version 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5236
|
+
"value": "**[Since version 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**Return value**: [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`의 시작점에서 `coordinate`까지 라인을 따라 측정된 평면 거리입니다. 경로가 연결되지 않는 폴리라인에서 `distanceAlong` 값에는 경로의 시작 및 종료 버텍스 간 간격의 거리가 포함되지 않습니다.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 폴리라인 입력의 경우 `coordinate`가 속하는 경로의 색인입니다.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - `coordinate`가 속하는 라인 세그먼트의 색인(경로 기준)입니다. `coordinate`가 입력 라인의 버텍스를 나타내는 경우 `segmentId`는 이전 버텍스의 색인을 반환합니다. `coordinate`가 `inputLine`의 첫 번째 버텍스인 경우 `segmentId`의 값은 `0`이 됩니다."
|
|
5181
5237
|
}
|
|
5182
5238
|
},
|
|
5183
5239
|
"parametersInfo": {
|
|
@@ -5365,8 +5421,8 @@
|
|
|
5365
5421
|
"bundle": "core",
|
|
5366
5422
|
"sinceVersion": "1.26",
|
|
5367
5423
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue1",
|
|
5368
|
-
"description": "
|
|
5369
|
-
"examples": "\n##### 예시\n\
|
|
5424
|
+
"description": "지오메트리의 지정된 키 또는 색인에 값이 있는지 여부를 나타냅니다.",
|
|
5425
|
+
"examples": "\n##### 예시\n\nz 값이 있는 포인트\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",
|
|
5370
5426
|
"completion": {
|
|
5371
5427
|
"label": "HasValue",
|
|
5372
5428
|
"detail": "HasValue(inputGeometry, key) -> Boolean",
|
|
@@ -5376,7 +5432,7 @@
|
|
|
5376
5432
|
"kind": 3,
|
|
5377
5433
|
"documentation": {
|
|
5378
5434
|
"kind": "markdown",
|
|
5379
|
-
"value": "**[Since version 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5435
|
+
"value": "**[Since version 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**Return value**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
5380
5436
|
}
|
|
5381
5437
|
},
|
|
5382
5438
|
"parametersInfo": {
|
|
@@ -5390,8 +5446,8 @@
|
|
|
5390
5446
|
"bundle": "core",
|
|
5391
5447
|
"sinceVersion": "1.26",
|
|
5392
5448
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue2",
|
|
5393
|
-
"description": "
|
|
5394
|
-
"examples": "\n##### 예시\n\
|
|
5449
|
+
"description": "지오메트리의 여러 레벨까지 중첩된 등록정보 또는 색인에 값이 있는지 확인합니다. 이를 통해 각 레벨에서 값을 확인하는 대신 중첩된 구조를 한 번에 자세히 확인할 수 있습니다. 구조의 각 레벨에 키 및 색인이 있고 Null이 아닌 값을 포함하는 경우 `true`를 반환합니다.",
|
|
5450
|
+
"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",
|
|
5395
5451
|
"completion": {
|
|
5396
5452
|
"label": "HasValue",
|
|
5397
5453
|
"detail": "HasValue(inputGeometry, keys) -> Boolean",
|
|
@@ -5401,7 +5457,7 @@
|
|
|
5401
5457
|
"kind": 3,
|
|
5402
5458
|
"documentation": {
|
|
5403
5459
|
"kind": "markdown",
|
|
5404
|
-
"value": "**[Since version 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5460
|
+
"value": "**[Since version 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n지오메트리의 여러 레벨까지 중첩된 등록정보 또는 색인에 값이 있는지 확인합니다. 이를 통해 각 레벨에서 값을 확인하는 대신 중첩된 구조를 한 번에 자세히 확인할 수 있습니다. 구조의 각 레벨에 키 및 색인이 있고 Null이 아닌 값을 포함하는 경우 `true`를 반환합니다.\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**Return value**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
5405
5461
|
}
|
|
5406
5462
|
},
|
|
5407
5463
|
"parametersInfo": {
|
|
@@ -5591,8 +5647,8 @@
|
|
|
5591
5647
|
"bundle": "geometry",
|
|
5592
5648
|
"sinceVersion": "1.26",
|
|
5593
5649
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#measuretocoordinate",
|
|
5594
|
-
"description": "
|
|
5595
|
-
"examples": "\n##### 예시\n\
|
|
5650
|
+
"description": "지정된 측정 또는 m 값을 기반으로 입력 라인을 따라 첫 번째 좌표를 반환합니다. 입력 라인을 따라 측정을 찾을 수 없는 경우 결과는 `null`이 됩니다. 지정된 측정에서 좌표를 찾으려고 할 때 라인의 모든 부분을 검토합니다. 측정에는 라인의 경로(또는 부분) 간 간격이 포함되지 않습니다.\n\n_시각화 및 레이블 지정 프로파일의 피처 지오메트리는 그리기 성능을 개선하기 위해 뷰의 축척 해상도에 따라 일반화됩니다. 따라서 이러한 컨텍스트에서 피처의 지오메트리(즉, `$feature`)를 지오메트리 함수에 대한 입력으로 사용하면 축척 수준에 따라 각기 다른 결과가 반환됩니다. 팝업과 같은 기타 프로파일은 전체 해상도 지오메트리를 제공합니다._",
|
|
5651
|
+
"examples": "\n##### 예시\n\n지정된 측정 값을 기반으로 입력 폴리라인의 좌표를 반환합니다.\n\n```arcade\nvar result = MeasureToCoordinate(Geometry($feature), 110);\n\nreturn result.coordinate;\n```\n\n",
|
|
5596
5652
|
"completion": {
|
|
5597
5653
|
"label": "MeasureToCoordinate",
|
|
5598
5654
|
"detail": "MeasureToCoordinate(inputLine, inputMeasure) -> Dictionary",
|
|
@@ -5602,7 +5658,7 @@
|
|
|
5602
5658
|
"kind": 3,
|
|
5603
5659
|
"documentation": {
|
|
5604
5660
|
"kind": "markdown",
|
|
5605
|
-
"value": "**[Since version 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5661
|
+
"value": "**[Since version 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) - 라인의 시작점에서 `inputLine`을 따라 좌표를 찾는 측정 또는 m 값입니다. 지정된 측정에서 좌표를 찾으려고 할 때 라인의 모든 부분을 검토합니다. 측정에는 라인의 경로(또는 부분) 간 간격이 포함되지 않습니다.\n\n**Return value**: [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`의 시작점에서 `coordinate`까지 라인을 따라 측정된 평면 거리입니다. 경로가 연결되지 않는 폴리라인에서 `distanceAlong` 값에는 경로의 시작 및 종료 버텍스 간 간격의 거리가 포함되지 않습니다.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 폴리라인 입력의 경우 `coordinate`가 속하는 경로의 색인입니다.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - `coordinate`가 속하는 라인 세그먼트의 색인(경로 기준)입니다. `coordinate`가 입력 라인의 버텍스를 나타내는 경우 `segmentId`는 이전 버텍스의 색인을 반환합니다. `coordinate`가 `inputLine`의 첫 번째 버텍스인 경우 `segmentId`의 값은 `0`이 됩니다."
|
|
5606
5662
|
}
|
|
5607
5663
|
},
|
|
5608
5664
|
"parametersInfo": {
|
|
@@ -5726,7 +5782,7 @@
|
|
|
5726
5782
|
"kind": 3,
|
|
5727
5783
|
"documentation": {
|
|
5728
5784
|
"kind": "markdown",
|
|
5729
|
-
"value": "**[Since version 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n검색 포인트에 대한 입력 지오메트리의 가장 가까운 좌표(버텍스 아님)를 반환합니다. 반환되는 딕셔너리에는 검색 포인트에서 가장 가까운 좌표까지의 최단 평면 거리도 포함됩니다. 검색 포인트가 입력 지오메트리와 교차하는 경우 검색 포인트는 거리가 0인 결과로 반환됩니다.\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**Return value**: [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) - "
|
|
5785
|
+
"value": "**[Since version 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n검색 포인트에 대한 입력 지오메트리의 가장 가까운 좌표(버텍스 아님)를 반환합니다. 반환되는 딕셔너리에는 검색 포인트에서 가장 가까운 좌표까지의 최단 평면 거리도 포함됩니다. 검색 포인트가 입력 지오메트리와 교차하는 경우 검색 포인트는 거리가 0인 결과로 반환됩니다.\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**Return value**: [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`left` - `searchPoint`가 `inputGeometry`의 왼쪽에 있습니다.\n\n`right` - `searchPoint`가 `inputGeometry`의 오른쪽에 있습니다.\n\n`straddle` - `searchPoint`가 걸쳐 있거나 `inputGeometry`의 상단에 있습니다."
|
|
5730
5786
|
}
|
|
5731
5787
|
},
|
|
5732
5788
|
"parametersInfo": {
|
|
@@ -5751,7 +5807,7 @@
|
|
|
5751
5807
|
"kind": 3,
|
|
5752
5808
|
"documentation": {
|
|
5753
5809
|
"kind": "markdown",
|
|
5754
|
-
"value": "**[Since version 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**Return value**: [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) - "
|
|
5810
|
+
"value": "**[Since version 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**Return value**: [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`left` - `searchPoint`가 `inputGeometry`의 왼쪽에 있습니다.\n\n`right` - `searchPoint`가 `inputGeometry`의 오른쪽에 있습니다.\n\n`straddle` - `searchPoint`가 걸쳐 있거나 `inputGeometry`의 상단에 있습니다."
|
|
5755
5811
|
}
|
|
5756
5812
|
},
|
|
5757
5813
|
"parametersInfo": {
|
|
@@ -5865,8 +5921,8 @@
|
|
|
5865
5921
|
"bundle": "geometry",
|
|
5866
5922
|
"sinceVersion": "1.26",
|
|
5867
5923
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#pointtocoordinate",
|
|
5868
|
-
"description": "
|
|
5869
|
-
"examples": "\n##### 예시\n\
|
|
5924
|
+
"description": "입력 라인에 대한 검색 포인트의 해당 좌표와 가장 가까운 좌표 및 거리를 반환합니다.\n\n_시각화 및 레이블 지정 프로파일의 피처 지오메트리는 그리기 성능을 개선하기 위해 뷰의 축척 해상도에 따라 일반화됩니다. 따라서 이러한 컨텍스트에서 피처의 지오메트리(즉, `$feature`)를 지오메트리 함수에 대한 입력으로 사용하면 축척 수준에 따라 각기 다른 결과가 반환됩니다. 팝업과 같은 기타 프로파일은 전체 해상도 지오메트리를 제공합니다._",
|
|
5925
|
+
"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",
|
|
5870
5926
|
"completion": {
|
|
5871
5927
|
"label": "PointToCoordinate",
|
|
5872
5928
|
"detail": "PointToCoordinate(inputLine, searchPoint) -> Dictionary",
|
|
@@ -5876,7 +5932,7 @@
|
|
|
5876
5932
|
"kind": 3,
|
|
5877
5933
|
"documentation": {
|
|
5878
5934
|
"kind": "markdown",
|
|
5879
|
-
"value": "**[Since version 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5935
|
+
"value": "**[Since version 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**Return value**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \n다음 등록정보가 있는 딕셔너리를 반환합니다.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - `searchPoint`까지 `inputLine`을 따르는 가장 가까운 좌표를 나타내는 포인트 좌표입니다. `searchPoint`에서 `hasZ`가 `false`인 경우 x/y 좌표에서 검색이 수행되며 z 값이 보간됩니다.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - `searchPoint`에서 `coordinate`까지의 평면 거리입니다.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - `inputLine`의 시작점에서 `coordinate`까지 라인을 따라 측정된 평면 거리입니다. 경로가 연결되지 않는 폴리라인에서 `distanceAlong` 값에는 경로의 시작 및 종료 버텍스 간 간격의 거리가 포함되지 않습니다.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 폴리라인 입력의 경우 `coordinate`가 속하는 경로의 색인입니다.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - `coordinate`가 속하는 라인 세그먼트의 색인(경로 기준)입니다. `coordinate`가 입력 라인의 버텍스를 나타내는 경우 `segmentId`는 이전 버텍스의 색인을 반환합니다. `coordinate`가 `inputLine`의 첫 번째 버텍스인 경우 `segmentId`의 값은 `0`이 됩니다."
|
|
5880
5936
|
}
|
|
5881
5937
|
},
|
|
5882
5938
|
"parametersInfo": {
|
|
@@ -7354,7 +7410,7 @@
|
|
|
7354
7410
|
"sinceVersion": "1.7",
|
|
7355
7411
|
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#domaincode",
|
|
7356
7412
|
"description": "피처의 도메인 설명과 연관된 코드를 반환합니다.",
|
|
7357
|
-
"examples": "\n##### 예시\n\n참조된 필드에 대한 도메인
|
|
7413
|
+
"examples": "\n##### 예시\n\n참조된 필드에 대한 도메인 코드를 출력합니다.\n\n```arcade\nDomainCode($feature, 'Enabled', 'True')\n```\n\n",
|
|
7358
7414
|
"completion": {
|
|
7359
7415
|
"label": "DomainCode",
|
|
7360
7416
|
"detail": "DomainCode(inputFeature, fieldName, value?, subtype?) -> Number,Text",
|
|
@@ -7577,8 +7633,8 @@
|
|
|
7577
7633
|
"bundle": "core",
|
|
7578
7634
|
"sinceVersion": "1.20",
|
|
7579
7635
|
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#hasvalue",
|
|
7580
|
-
"description": "
|
|
7581
|
-
"examples": "\n##### 예시\n\
|
|
7636
|
+
"description": "피처에 지정된 필드가 있는지 여부와 해당 필드에 값이 있는지 여부를 나타냅니다.",
|
|
7637
|
+
"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",
|
|
7582
7638
|
"completion": {
|
|
7583
7639
|
"label": "HasValue",
|
|
7584
7640
|
"detail": "HasValue(inputFeature, fieldName) -> Boolean",
|
|
@@ -7588,7 +7644,7 @@
|
|
|
7588
7644
|
"kind": 3,
|
|
7589
7645
|
"documentation": {
|
|
7590
7646
|
"kind": "markdown",
|
|
7591
|
-
"value": "**[Since version 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
7647
|
+
"value": "**[Since version 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**Return value**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
7592
7648
|
}
|
|
7593
7649
|
},
|
|
7594
7650
|
"parametersInfo": {
|
|
@@ -7697,61 +7753,5 @@
|
|
|
7697
7753
|
}
|
|
7698
7754
|
}
|
|
7699
7755
|
]
|
|
7700
|
-
},
|
|
7701
|
-
{
|
|
7702
|
-
"id": "knowledgegraph_functions",
|
|
7703
|
-
"title": "한_Knowledge graph functions__________________________빠",
|
|
7704
|
-
"items": [
|
|
7705
|
-
{
|
|
7706
|
-
"type": "function",
|
|
7707
|
-
"name": "knowledgegraphbyportalitem",
|
|
7708
|
-
"bundle": "knowledge-graph",
|
|
7709
|
-
"sinceVersion": "1.26",
|
|
7710
|
-
"link": "https://developers.arcgis.com/arcade/function-reference/knowledgegraph_functions/#knowledgegraphbyportalitem",
|
|
7711
|
-
"description": "한_Returns a knowledge graph from a portal item________________________빠.",
|
|
7712
|
-
"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",
|
|
7713
|
-
"completion": {
|
|
7714
|
-
"label": "KnowledgeGraphByPortalItem",
|
|
7715
|
-
"detail": "KnowledgeGraphByPortalItem(portalObject, itemId) -> KnowledgeGraph",
|
|
7716
|
-
"insertText": "KnowledgeGraphByPortalItem(${1:portalObject_}, ${2:itemId_})$0",
|
|
7717
|
-
"insertTextMode": 2,
|
|
7718
|
-
"insertTextFormat": 2,
|
|
7719
|
-
"kind": 3,
|
|
7720
|
-
"documentation": {
|
|
7721
|
-
"kind": "markdown",
|
|
7722
|
-
"value": "**[Since version 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**Return value**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph)"
|
|
7723
|
-
}
|
|
7724
|
-
},
|
|
7725
|
-
"parametersInfo": {
|
|
7726
|
-
"min": 2,
|
|
7727
|
-
"max": 2
|
|
7728
|
-
}
|
|
7729
|
-
},
|
|
7730
|
-
{
|
|
7731
|
-
"type": "function",
|
|
7732
|
-
"name": "querygraph",
|
|
7733
|
-
"bundle": "knowledge-graph",
|
|
7734
|
-
"sinceVersion": "1.26",
|
|
7735
|
-
"link": "https://developers.arcgis.com/arcade/function-reference/knowledgegraph_functions/#querygraph",
|
|
7736
|
-
"description": "한_Queries a knowledge graph with an openCypher query and returns the set of entities and relationships in a graph, along with their properties________________________________________________________________________빠.",
|
|
7737
|
-
"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",
|
|
7738
|
-
"completion": {
|
|
7739
|
-
"label": "QueryGraph",
|
|
7740
|
-
"detail": "QueryGraph(graph, openCypherQuery, queryParameters?) -> Dictionary",
|
|
7741
|
-
"insertText": "QueryGraph(${1:graph_}, ${2:openCypherQuery_})$0",
|
|
7742
|
-
"insertTextMode": 2,
|
|
7743
|
-
"insertTextFormat": 2,
|
|
7744
|
-
"kind": 3,
|
|
7745
|
-
"documentation": {
|
|
7746
|
-
"kind": "markdown",
|
|
7747
|
-
"value": "**[Since version 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**Return value**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary)"
|
|
7748
|
-
}
|
|
7749
|
-
},
|
|
7750
|
-
"parametersInfo": {
|
|
7751
|
-
"min": 2,
|
|
7752
|
-
"max": 3
|
|
7753
|
-
}
|
|
7754
|
-
}
|
|
7755
|
-
]
|
|
7756
7756
|
}
|
|
7757
7757
|
]
|