@arcgis/arcade-languageservice 4.29.0-test.0 → 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/LICENSE.md +1 -1
- package/README.md +4 -4
- package/{assets → dist/assets}/api/arcade-api.t9n.ar.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.bg.json +495 -30
- package/{assets → dist/assets}/api/arcade-api.t9n.bs.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.ca.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.cs.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.da.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.de.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.el.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.en.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.es.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.et.json +481 -16
- package/{assets → dist/assets}/api/arcade-api.t9n.fi.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.fr.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.he.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.hr.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.hu.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.id.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.it.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.ja.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.ko.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.lt.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.lv.json +481 -16
- package/{assets → dist/assets}/api/arcade-api.t9n.nb.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.nl.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.pl.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.pt-BR.json +481 -16
- package/{assets → dist/assets}/api/arcade-api.t9n.pt-PT.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.ro.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.ru.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.sk.json +481 -16
- package/{assets → dist/assets}/api/arcade-api.t9n.sl.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.sr.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.sv.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.th.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.tr.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.uk.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.vi.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.zh-CN.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.zh-HK.json +493 -28
- package/{assets → dist/assets}/api/arcade-api.t9n.zh-TW.json +493 -28
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.ar.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.bg.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.bs.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.ca.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.cs.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.da.json +15 -3
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.de.json +15 -3
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.el.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.en.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.es.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.et.json +15 -3
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.fi.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.fr.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.he.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.hr.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.hu.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.id.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.it.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.ja.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.ko.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.lt.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.lv.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.nb.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.nl.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.pl.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.pt-BR.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.pt-PT.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.ro.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.ru.json +15 -3
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.sk.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.sl.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.sr.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.sv.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.th.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.tr.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.uk.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.vi.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.zh-CN.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.zh-HK.json +16 -4
- package/{assets → dist/assets}/profiles/arcade-profiles.t9n.zh-TW.json +16 -4
- package/{esm → dist/esm}/index.d.ts +124 -83
- package/dist/esm/index.js +32 -0
- package/package.json +38 -6
- package/esm/index.js +0 -32
- /package/{assets → dist/assets}/t9n/profile.t9n.ar.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.bg.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.bs.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.ca.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.cs.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.da.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.de.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.el.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.en.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.es.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.et.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.fi.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.fr.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.he.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.hr.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.hu.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.id.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.it.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.ja.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.ko.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.lt.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.lv.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.nb.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.nl.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.pl.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.pt-BR.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.pt-PT.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.ro.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.ru.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.sk.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.sl.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.sr.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.sv.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.th.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.tr.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.uk.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.vi.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.zh-CN.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.zh-HK.json +0 -0
- /package/{assets → dist/assets}/t9n/profile.t9n.zh-TW.json +0 -0
|
@@ -649,6 +649,31 @@
|
|
|
649
649
|
"max": 2
|
|
650
650
|
}
|
|
651
651
|
},
|
|
652
|
+
{
|
|
653
|
+
"type": "function",
|
|
654
|
+
"name": "filterbysubtypecode",
|
|
655
|
+
"bundle": "data-access",
|
|
656
|
+
"sinceVersion": "1.25",
|
|
657
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#filterbysubtypecode",
|
|
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
|
+
"completion": {
|
|
661
|
+
"label": "FilterBySubtypeCode",
|
|
662
|
+
"detail": "FilterBySubtypeCode(features, subtypeCode) -> FeatureSet",
|
|
663
|
+
"insertText": "FilterBySubtypeCode(${1:features_}, ${2:subtypeCode_})$0",
|
|
664
|
+
"insertTextMode": 2,
|
|
665
|
+
"insertTextFormat": 2,
|
|
666
|
+
"kind": 3,
|
|
667
|
+
"documentation": {
|
|
668
|
+
"kind": "markdown",
|
|
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
|
+
}
|
|
671
|
+
},
|
|
672
|
+
"parametersInfo": {
|
|
673
|
+
"min": 2,
|
|
674
|
+
"max": 2
|
|
675
|
+
}
|
|
676
|
+
},
|
|
652
677
|
{
|
|
653
678
|
"type": "function",
|
|
654
679
|
"name": "first",
|
|
@@ -882,7 +907,7 @@
|
|
|
882
907
|
"sinceVersion": "1.14",
|
|
883
908
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#length3d",
|
|
884
909
|
"description": "높이 또는 Z 정보를 고려하여 입력 FeatureSet의 평면(즉, 직교 좌표) 길이를 반환합니다. 이 함수에 제공된 지오메트리는 투영 좌표계를 할당해야 합니다. 공간 기준 체계가 Z 단위에 대한 값을 제공하지 않으면 결과가 미터 단위로 반환됩니다. 일부 클라이언트(예시: ArcGIS API for JavaScript의 3.x 시리즈)는 데이터에 Z 정보가 포함된 경우에도 Z 값 요청을 지원하지 않습니다.\n\n_시각화 및 레이블 지정 프로파일의 피처 지오메트리는 그리기 성능을 개선하기 위해 뷰의 축척 해상도에 따라 일반화됩니다. 따라서 이러한 컨텍스트에서 피처의 지오메트리(즉, `$feature`)를 지오메트리 함수에 대한 입력으로 사용하면 축척 수준에 따라 각기 다른 결과가 반환됩니다. 팝업과 같은 기타 프로파일은 전체 해상도 지오메트리를 제공합니다._",
|
|
885
|
-
"examples": "\n##### 예시\n\n레이어 피처의 3D 길이를 미터 단위로 반환합니다.\n\n```arcade\
|
|
910
|
+
"examples": "\n##### 예시\n\n레이어 피처의 3D 길이를 미터 단위로 반환합니다.\n\n```arcade\nLength3D($layer, 'meters')\n```\n\n",
|
|
886
911
|
"completion": {
|
|
887
912
|
"label": "Length3D",
|
|
888
913
|
"detail": "Length3D(features, unit?) -> Number",
|
|
@@ -2299,7 +2324,7 @@
|
|
|
2299
2324
|
"bundle": "core",
|
|
2300
2325
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
|
|
2301
2326
|
"description": "두 날짜를 뺀 차이를 지정된 단위로 반환합니다.",
|
|
2302
|
-
"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",
|
|
2303
2328
|
"completion": {
|
|
2304
2329
|
"label": "DateDiff",
|
|
2305
2330
|
"detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
|
|
@@ -3455,6 +3480,57 @@
|
|
|
3455
3480
|
"id": "dictionary_functions",
|
|
3456
3481
|
"title": "딕셔너리 함수",
|
|
3457
3482
|
"items": [
|
|
3483
|
+
[
|
|
3484
|
+
{
|
|
3485
|
+
"type": "function",
|
|
3486
|
+
"name": "defaultvalue",
|
|
3487
|
+
"bundle": "core",
|
|
3488
|
+
"sinceVersion": "1.26",
|
|
3489
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue1",
|
|
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
|
+
"completion": {
|
|
3493
|
+
"label": "DefaultValue",
|
|
3494
|
+
"detail": "DefaultValue(container, key, defaultValue) -> Any",
|
|
3495
|
+
"insertText": "DefaultValue(${1:container_}, ${2:key_}, ${3:defaultValue_})$0",
|
|
3496
|
+
"insertTextMode": 2,
|
|
3497
|
+
"insertTextFormat": 2,
|
|
3498
|
+
"kind": 3,
|
|
3499
|
+
"documentation": {
|
|
3500
|
+
"kind": "markdown",
|
|
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
|
+
}
|
|
3503
|
+
},
|
|
3504
|
+
"parametersInfo": {
|
|
3505
|
+
"min": 3,
|
|
3506
|
+
"max": 3
|
|
3507
|
+
}
|
|
3508
|
+
},
|
|
3509
|
+
{
|
|
3510
|
+
"type": "function",
|
|
3511
|
+
"name": "defaultvalue",
|
|
3512
|
+
"bundle": "core",
|
|
3513
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue2",
|
|
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
|
+
"completion": {
|
|
3517
|
+
"label": "DefaultValue",
|
|
3518
|
+
"detail": "DefaultValue(container, keys, defaultValue) -> Any",
|
|
3519
|
+
"insertText": "DefaultValue(${1:container_}, ${2:keys_}, ${3:defaultValue_})$0",
|
|
3520
|
+
"insertTextMode": 2,
|
|
3521
|
+
"insertTextFormat": 2,
|
|
3522
|
+
"kind": 3,
|
|
3523
|
+
"documentation": {
|
|
3524
|
+
"kind": "markdown",
|
|
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
|
+
}
|
|
3527
|
+
},
|
|
3528
|
+
"parametersInfo": {
|
|
3529
|
+
"min": 3,
|
|
3530
|
+
"max": 3
|
|
3531
|
+
}
|
|
3532
|
+
}
|
|
3533
|
+
],
|
|
3458
3534
|
[
|
|
3459
3535
|
{
|
|
3460
3536
|
"type": "function",
|
|
@@ -3630,31 +3706,58 @@
|
|
|
3630
3706
|
"max": 2
|
|
3631
3707
|
}
|
|
3632
3708
|
},
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
"
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
"
|
|
3650
|
-
|
|
3709
|
+
[
|
|
3710
|
+
{
|
|
3711
|
+
"type": "function",
|
|
3712
|
+
"name": "hasvalue",
|
|
3713
|
+
"bundle": "core",
|
|
3714
|
+
"sinceVersion": "1.20",
|
|
3715
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue1",
|
|
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
|
+
"completion": {
|
|
3719
|
+
"label": "HasValue",
|
|
3720
|
+
"detail": "HasValue(inputDictionary, key) -> Boolean",
|
|
3721
|
+
"insertText": "HasValue(${1:inputDictionary_}, ${2:key_})$0",
|
|
3722
|
+
"insertTextMode": 2,
|
|
3723
|
+
"insertTextFormat": 2,
|
|
3724
|
+
"kind": 3,
|
|
3725
|
+
"documentation": {
|
|
3726
|
+
"kind": "markdown",
|
|
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
|
+
}
|
|
3729
|
+
},
|
|
3730
|
+
"parametersInfo": {
|
|
3731
|
+
"min": 2,
|
|
3732
|
+
"max": 2
|
|
3651
3733
|
}
|
|
3652
3734
|
},
|
|
3653
|
-
|
|
3654
|
-
"
|
|
3655
|
-
"
|
|
3735
|
+
{
|
|
3736
|
+
"type": "function",
|
|
3737
|
+
"name": "hasvalue",
|
|
3738
|
+
"bundle": "core",
|
|
3739
|
+
"sinceVersion": "1.26",
|
|
3740
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue2",
|
|
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
|
+
"completion": {
|
|
3744
|
+
"label": "HasValue",
|
|
3745
|
+
"detail": "HasValue(inputDictionary, keys) -> Boolean",
|
|
3746
|
+
"insertText": "HasValue(${1:inputDictionary_}, ${2:keys_})$0",
|
|
3747
|
+
"insertTextMode": 2,
|
|
3748
|
+
"insertTextFormat": 2,
|
|
3749
|
+
"kind": 3,
|
|
3750
|
+
"documentation": {
|
|
3751
|
+
"kind": "markdown",
|
|
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
|
+
}
|
|
3754
|
+
},
|
|
3755
|
+
"parametersInfo": {
|
|
3756
|
+
"min": 2,
|
|
3757
|
+
"max": 2
|
|
3758
|
+
}
|
|
3656
3759
|
}
|
|
3657
|
-
|
|
3760
|
+
]
|
|
3658
3761
|
]
|
|
3659
3762
|
},
|
|
3660
3763
|
{
|
|
@@ -3812,6 +3915,57 @@
|
|
|
3812
3915
|
"max": 1
|
|
3813
3916
|
}
|
|
3814
3917
|
},
|
|
3918
|
+
[
|
|
3919
|
+
{
|
|
3920
|
+
"type": "function",
|
|
3921
|
+
"name": "defaultvalue",
|
|
3922
|
+
"bundle": "core",
|
|
3923
|
+
"sinceVersion": "1.26",
|
|
3924
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue1",
|
|
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
|
+
"completion": {
|
|
3928
|
+
"label": "DefaultValue",
|
|
3929
|
+
"detail": "DefaultValue(container, index, defaultValue) -> Any",
|
|
3930
|
+
"insertText": "DefaultValue(${1:container_}, ${2:index_}, ${3:defaultValue_})$0",
|
|
3931
|
+
"insertTextMode": 2,
|
|
3932
|
+
"insertTextFormat": 2,
|
|
3933
|
+
"kind": 3,
|
|
3934
|
+
"documentation": {
|
|
3935
|
+
"kind": "markdown",
|
|
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
|
+
}
|
|
3938
|
+
},
|
|
3939
|
+
"parametersInfo": {
|
|
3940
|
+
"min": 3,
|
|
3941
|
+
"max": 3
|
|
3942
|
+
}
|
|
3943
|
+
},
|
|
3944
|
+
{
|
|
3945
|
+
"type": "function",
|
|
3946
|
+
"name": "defaultvalue",
|
|
3947
|
+
"bundle": "core",
|
|
3948
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue2",
|
|
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
|
+
"completion": {
|
|
3952
|
+
"label": "DefaultValue",
|
|
3953
|
+
"detail": "DefaultValue(container, keys, defaultValue) -> Any",
|
|
3954
|
+
"insertText": "DefaultValue(${1:container_}, ${2:keys_}, ${3:defaultValue_})$0",
|
|
3955
|
+
"insertTextMode": 2,
|
|
3956
|
+
"insertTextFormat": 2,
|
|
3957
|
+
"kind": 3,
|
|
3958
|
+
"documentation": {
|
|
3959
|
+
"kind": "markdown",
|
|
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
|
+
}
|
|
3962
|
+
},
|
|
3963
|
+
"parametersInfo": {
|
|
3964
|
+
"min": 3,
|
|
3965
|
+
"max": 3
|
|
3966
|
+
}
|
|
3967
|
+
}
|
|
3968
|
+
],
|
|
3815
3969
|
[
|
|
3816
3970
|
{
|
|
3817
3971
|
"type": "function",
|
|
@@ -3963,6 +4117,58 @@
|
|
|
3963
4117
|
"max": 1
|
|
3964
4118
|
}
|
|
3965
4119
|
},
|
|
4120
|
+
[
|
|
4121
|
+
{
|
|
4122
|
+
"type": "function",
|
|
4123
|
+
"name": "hasvalue",
|
|
4124
|
+
"bundle": "core",
|
|
4125
|
+
"sinceVersion": "1.26",
|
|
4126
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue1",
|
|
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
|
+
"completion": {
|
|
4130
|
+
"label": "HasValue",
|
|
4131
|
+
"detail": "HasValue(inputArray, index) -> Boolean",
|
|
4132
|
+
"insertText": "HasValue(${1:inputArray_}, ${2:index_})$0",
|
|
4133
|
+
"insertTextMode": 2,
|
|
4134
|
+
"insertTextFormat": 2,
|
|
4135
|
+
"kind": 3,
|
|
4136
|
+
"documentation": {
|
|
4137
|
+
"kind": "markdown",
|
|
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
|
+
}
|
|
4140
|
+
},
|
|
4141
|
+
"parametersInfo": {
|
|
4142
|
+
"min": 2,
|
|
4143
|
+
"max": 2
|
|
4144
|
+
}
|
|
4145
|
+
},
|
|
4146
|
+
{
|
|
4147
|
+
"type": "function",
|
|
4148
|
+
"name": "hasvalue",
|
|
4149
|
+
"bundle": "core",
|
|
4150
|
+
"sinceVersion": "1.26",
|
|
4151
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue2",
|
|
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
|
+
"completion": {
|
|
4155
|
+
"label": "HasValue",
|
|
4156
|
+
"detail": "HasValue(inputArray, indexes) -> Boolean",
|
|
4157
|
+
"insertText": "HasValue(${1:inputArray_}, ${2:indexes_})$0",
|
|
4158
|
+
"insertTextMode": 2,
|
|
4159
|
+
"insertTextFormat": 2,
|
|
4160
|
+
"kind": 3,
|
|
4161
|
+
"documentation": {
|
|
4162
|
+
"kind": "markdown",
|
|
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
|
+
}
|
|
4165
|
+
},
|
|
4166
|
+
"parametersInfo": {
|
|
4167
|
+
"min": 2,
|
|
4168
|
+
"max": 2
|
|
4169
|
+
}
|
|
4170
|
+
}
|
|
4171
|
+
],
|
|
3966
4172
|
{
|
|
3967
4173
|
"type": "function",
|
|
3968
4174
|
"name": "includes",
|
|
@@ -4343,6 +4549,62 @@
|
|
|
4343
4549
|
}
|
|
4344
4550
|
]
|
|
4345
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
|
+
},
|
|
4346
4608
|
{
|
|
4347
4609
|
"id": "geometry_functions",
|
|
4348
4610
|
"title": "지오메트리 함수",
|
|
@@ -4753,6 +5015,57 @@
|
|
|
4753
5015
|
"max": 2
|
|
4754
5016
|
}
|
|
4755
5017
|
},
|
|
5018
|
+
[
|
|
5019
|
+
{
|
|
5020
|
+
"type": "function",
|
|
5021
|
+
"name": "defaultvalue",
|
|
5022
|
+
"bundle": "core",
|
|
5023
|
+
"sinceVersion": "1.26",
|
|
5024
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue1",
|
|
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",
|
|
5027
|
+
"completion": {
|
|
5028
|
+
"label": "DefaultValue",
|
|
5029
|
+
"detail": "DefaultValue(container, key, defaultValue) -> Any",
|
|
5030
|
+
"insertText": "DefaultValue(${1:container_}, ${2:key_}, ${3:defaultValue_})$0",
|
|
5031
|
+
"insertTextMode": 2,
|
|
5032
|
+
"insertTextFormat": 2,
|
|
5033
|
+
"kind": 3,
|
|
5034
|
+
"documentation": {
|
|
5035
|
+
"kind": "markdown",
|
|
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`에 지정된 값을 반환합니다."
|
|
5037
|
+
}
|
|
5038
|
+
},
|
|
5039
|
+
"parametersInfo": {
|
|
5040
|
+
"min": 3,
|
|
5041
|
+
"max": 3
|
|
5042
|
+
}
|
|
5043
|
+
},
|
|
5044
|
+
{
|
|
5045
|
+
"type": "function",
|
|
5046
|
+
"name": "defaultvalue",
|
|
5047
|
+
"bundle": "core",
|
|
5048
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue2",
|
|
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",
|
|
5051
|
+
"completion": {
|
|
5052
|
+
"label": "DefaultValue",
|
|
5053
|
+
"detail": "DefaultValue(container, keys, defaultValue) -> Any",
|
|
5054
|
+
"insertText": "DefaultValue(${1:container_}, ${2:keys_}, ${3:defaultValue_})$0",
|
|
5055
|
+
"insertTextMode": 2,
|
|
5056
|
+
"insertTextFormat": 2,
|
|
5057
|
+
"kind": 3,
|
|
5058
|
+
"documentation": {
|
|
5059
|
+
"kind": "markdown",
|
|
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`에 지정된 값을 반환합니다."
|
|
5061
|
+
}
|
|
5062
|
+
},
|
|
5063
|
+
"parametersInfo": {
|
|
5064
|
+
"min": 3,
|
|
5065
|
+
"max": 3
|
|
5066
|
+
}
|
|
5067
|
+
}
|
|
5068
|
+
],
|
|
4756
5069
|
{
|
|
4757
5070
|
"type": "function",
|
|
4758
5071
|
"name": "densify",
|
|
@@ -4903,6 +5216,31 @@
|
|
|
4903
5216
|
"max": 3
|
|
4904
5217
|
}
|
|
4905
5218
|
},
|
|
5219
|
+
{
|
|
5220
|
+
"type": "function",
|
|
5221
|
+
"name": "distancetocoordinate",
|
|
5222
|
+
"bundle": "geometry",
|
|
5223
|
+
"sinceVersion": "1.26",
|
|
5224
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#distancetocoordinate",
|
|
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",
|
|
5227
|
+
"completion": {
|
|
5228
|
+
"label": "DistanceToCoordinate",
|
|
5229
|
+
"detail": "DistanceToCoordinate(inputLine, inputDistance) -> Dictionary",
|
|
5230
|
+
"insertText": "DistanceToCoordinate(${1:inputLine_}, ${2:inputDistance_})$0",
|
|
5231
|
+
"insertTextMode": 2,
|
|
5232
|
+
"insertTextFormat": 2,
|
|
5233
|
+
"kind": 3,
|
|
5234
|
+
"documentation": {
|
|
5235
|
+
"kind": "markdown",
|
|
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`이 됩니다."
|
|
5237
|
+
}
|
|
5238
|
+
},
|
|
5239
|
+
"parametersInfo": {
|
|
5240
|
+
"min": 2,
|
|
5241
|
+
"max": 2
|
|
5242
|
+
}
|
|
5243
|
+
},
|
|
4906
5244
|
{
|
|
4907
5245
|
"type": "function",
|
|
4908
5246
|
"name": "envelopeintersects",
|
|
@@ -5076,6 +5414,58 @@
|
|
|
5076
5414
|
"max": 1
|
|
5077
5415
|
}
|
|
5078
5416
|
},
|
|
5417
|
+
[
|
|
5418
|
+
{
|
|
5419
|
+
"type": "function",
|
|
5420
|
+
"name": "hasvalue",
|
|
5421
|
+
"bundle": "core",
|
|
5422
|
+
"sinceVersion": "1.26",
|
|
5423
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue1",
|
|
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",
|
|
5426
|
+
"completion": {
|
|
5427
|
+
"label": "HasValue",
|
|
5428
|
+
"detail": "HasValue(inputGeometry, key) -> Boolean",
|
|
5429
|
+
"insertText": "HasValue(${1:inputGeometry_}, ${2:key_})$0",
|
|
5430
|
+
"insertTextMode": 2,
|
|
5431
|
+
"insertTextFormat": 2,
|
|
5432
|
+
"kind": 3,
|
|
5433
|
+
"documentation": {
|
|
5434
|
+
"kind": "markdown",
|
|
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)"
|
|
5436
|
+
}
|
|
5437
|
+
},
|
|
5438
|
+
"parametersInfo": {
|
|
5439
|
+
"min": 2,
|
|
5440
|
+
"max": 2
|
|
5441
|
+
}
|
|
5442
|
+
},
|
|
5443
|
+
{
|
|
5444
|
+
"type": "function",
|
|
5445
|
+
"name": "hasvalue",
|
|
5446
|
+
"bundle": "core",
|
|
5447
|
+
"sinceVersion": "1.26",
|
|
5448
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue2",
|
|
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",
|
|
5451
|
+
"completion": {
|
|
5452
|
+
"label": "HasValue",
|
|
5453
|
+
"detail": "HasValue(inputGeometry, keys) -> Boolean",
|
|
5454
|
+
"insertText": "HasValue(${1:inputGeometry_}, ${2:keys_})$0",
|
|
5455
|
+
"insertTextMode": 2,
|
|
5456
|
+
"insertTextFormat": 2,
|
|
5457
|
+
"kind": 3,
|
|
5458
|
+
"documentation": {
|
|
5459
|
+
"kind": "markdown",
|
|
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)"
|
|
5461
|
+
}
|
|
5462
|
+
},
|
|
5463
|
+
"parametersInfo": {
|
|
5464
|
+
"min": 2,
|
|
5465
|
+
"max": 2
|
|
5466
|
+
}
|
|
5467
|
+
}
|
|
5468
|
+
],
|
|
5079
5469
|
{
|
|
5080
5470
|
"type": "function",
|
|
5081
5471
|
"name": "intersection",
|
|
@@ -5251,6 +5641,31 @@
|
|
|
5251
5641
|
"max": 2
|
|
5252
5642
|
}
|
|
5253
5643
|
},
|
|
5644
|
+
{
|
|
5645
|
+
"type": "function",
|
|
5646
|
+
"name": "measuretocoordinate",
|
|
5647
|
+
"bundle": "geometry",
|
|
5648
|
+
"sinceVersion": "1.26",
|
|
5649
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#measuretocoordinate",
|
|
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",
|
|
5652
|
+
"completion": {
|
|
5653
|
+
"label": "MeasureToCoordinate",
|
|
5654
|
+
"detail": "MeasureToCoordinate(inputLine, inputMeasure) -> Dictionary",
|
|
5655
|
+
"insertText": "MeasureToCoordinate(${1:inputLine_}, ${2:inputMeasure_})$0",
|
|
5656
|
+
"insertTextMode": 2,
|
|
5657
|
+
"insertTextFormat": 2,
|
|
5658
|
+
"kind": 3,
|
|
5659
|
+
"documentation": {
|
|
5660
|
+
"kind": "markdown",
|
|
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`이 됩니다."
|
|
5662
|
+
}
|
|
5663
|
+
},
|
|
5664
|
+
"parametersInfo": {
|
|
5665
|
+
"min": 2,
|
|
5666
|
+
"max": 2
|
|
5667
|
+
}
|
|
5668
|
+
},
|
|
5254
5669
|
{
|
|
5255
5670
|
"type": "function",
|
|
5256
5671
|
"name": "multiparttosinglepart",
|
|
@@ -5367,7 +5782,7 @@
|
|
|
5367
5782
|
"kind": 3,
|
|
5368
5783
|
"documentation": {
|
|
5369
5784
|
"kind": "markdown",
|
|
5370
|
-
"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` 간의 최단 거리를
|
|
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`의 상단에 있습니다."
|
|
5371
5786
|
}
|
|
5372
5787
|
},
|
|
5373
5788
|
"parametersInfo": {
|
|
@@ -5392,7 +5807,7 @@
|
|
|
5392
5807
|
"kind": 3,
|
|
5393
5808
|
"documentation": {
|
|
5394
5809
|
"kind": "markdown",
|
|
5395
|
-
"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`까지의 평면
|
|
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`의 상단에 있습니다."
|
|
5396
5811
|
}
|
|
5397
5812
|
},
|
|
5398
5813
|
"parametersInfo": {
|
|
@@ -5500,6 +5915,31 @@
|
|
|
5500
5915
|
}
|
|
5501
5916
|
}
|
|
5502
5917
|
],
|
|
5918
|
+
{
|
|
5919
|
+
"type": "function",
|
|
5920
|
+
"name": "pointtocoordinate",
|
|
5921
|
+
"bundle": "geometry",
|
|
5922
|
+
"sinceVersion": "1.26",
|
|
5923
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#pointtocoordinate",
|
|
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",
|
|
5926
|
+
"completion": {
|
|
5927
|
+
"label": "PointToCoordinate",
|
|
5928
|
+
"detail": "PointToCoordinate(inputLine, searchPoint) -> Dictionary",
|
|
5929
|
+
"insertText": "PointToCoordinate(${1:inputLine_}, ${2:searchPoint_})$0",
|
|
5930
|
+
"insertTextMode": 2,
|
|
5931
|
+
"insertTextFormat": 2,
|
|
5932
|
+
"kind": 3,
|
|
5933
|
+
"documentation": {
|
|
5934
|
+
"kind": "markdown",
|
|
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`이 됩니다."
|
|
5936
|
+
}
|
|
5937
|
+
},
|
|
5938
|
+
"parametersInfo": {
|
|
5939
|
+
"min": 2,
|
|
5940
|
+
"max": 2
|
|
5941
|
+
}
|
|
5942
|
+
},
|
|
5503
5943
|
[
|
|
5504
5944
|
{
|
|
5505
5945
|
"type": "function",
|
|
@@ -6063,7 +6503,7 @@
|
|
|
6063
6503
|
"sinceVersion": "1.12",
|
|
6064
6504
|
"link": "https://developers.arcgis.com/arcade/function-reference/track_functions/#trackdistanceat",
|
|
6065
6505
|
"description": "첫 번째 관측에서 현재 관측까지 관측 사이에 이동한 거리와 지정된 값을 더한 합계입니다.",
|
|
6066
|
-
"examples": "\n##### 예시\n\n트랙에는 위에 표시된 대로 6개의 피처가 있습니다. 식은 트랙의 각 피처에 대한 값을 반환합니다. 첫 번째 예시에서는 색인 값이 2인 피처 2(p2)에서 평가했을 때의 결과를 살펴봅니다. 계산은 `30 + 80 + 60 = 170`입니다.\n\n```arcade\nTrackDistanceAt(2)\n// returns 170\n```\n\n트랙에는 위에 표시된 대로 6개의 피처가 있습니다. 식은 트랙의 각 피처에 대한 값을 반환합니다. 다음 예시에서는 색인 값이 4인 피처 4(p4)에서 평가했을 때의 결과를 살펴봅니다. 계산은 `25 + 35 + 30 + 80 + 60 = 230`입니다.\n\n```arcade\nTrackDistanceAt(
|
|
6506
|
+
"examples": "\n##### 예시\n\n트랙에는 위에 표시된 대로 6개의 피처가 있습니다. 식은 트랙의 각 피처에 대한 값을 반환합니다. 첫 번째 예시에서는 색인 값이 2인 피처 2(p2)에서 평가했을 때의 결과를 살펴봅니다. 계산은 `30 + 80 + 60 = 170`입니다.\n\n```arcade\nTrackDistanceAt(2)\n// returns 170\n```\n\n트랙에는 위에 표시된 대로 6개의 피처가 있습니다. 식은 트랙의 각 피처에 대한 값을 반환합니다. 다음 예시에서는 색인 값이 4인 피처 4(p4)에서 평가했을 때의 결과를 살펴봅니다. 계산은 `25 + 35 + 30 + 80 + 60 = 230`입니다.\n\n```arcade\nTrackDistanceAt(4)\n// returns 230\n```\n\n",
|
|
6067
6507
|
"completion": {
|
|
6068
6508
|
"label": "TrackDistanceAt",
|
|
6069
6509
|
"detail": "TrackDistanceAt(index) -> Number",
|
|
@@ -6970,7 +7410,7 @@
|
|
|
6970
7410
|
"sinceVersion": "1.7",
|
|
6971
7411
|
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#domaincode",
|
|
6972
7412
|
"description": "피처의 도메인 설명과 연관된 코드를 반환합니다.",
|
|
6973
|
-
"examples": "\n##### 예시\n\n참조된 필드에 대한 도메인
|
|
7413
|
+
"examples": "\n##### 예시\n\n참조된 필드에 대한 도메인 코드를 출력합니다.\n\n```arcade\nDomainCode($feature, 'Enabled', 'True')\n```\n\n",
|
|
6974
7414
|
"completion": {
|
|
6975
7415
|
"label": "DomainCode",
|
|
6976
7416
|
"detail": "DomainCode(inputFeature, fieldName, value?, subtype?) -> Number,Text",
|
|
@@ -7187,6 +7627,31 @@
|
|
|
7187
7627
|
"max": 1
|
|
7188
7628
|
}
|
|
7189
7629
|
},
|
|
7630
|
+
{
|
|
7631
|
+
"type": "function",
|
|
7632
|
+
"name": "hasvalue",
|
|
7633
|
+
"bundle": "core",
|
|
7634
|
+
"sinceVersion": "1.20",
|
|
7635
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#hasvalue",
|
|
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",
|
|
7638
|
+
"completion": {
|
|
7639
|
+
"label": "HasValue",
|
|
7640
|
+
"detail": "HasValue(inputFeature, fieldName) -> Boolean",
|
|
7641
|
+
"insertText": "HasValue(${1:inputFeature_}, ${2:fieldName_})$0",
|
|
7642
|
+
"insertTextMode": 2,
|
|
7643
|
+
"insertTextFormat": 2,
|
|
7644
|
+
"kind": 3,
|
|
7645
|
+
"documentation": {
|
|
7646
|
+
"kind": "markdown",
|
|
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)"
|
|
7648
|
+
}
|
|
7649
|
+
},
|
|
7650
|
+
"parametersInfo": {
|
|
7651
|
+
"min": 2,
|
|
7652
|
+
"max": 2
|
|
7653
|
+
}
|
|
7654
|
+
},
|
|
7190
7655
|
{
|
|
7191
7656
|
"type": "function",
|
|
7192
7657
|
"name": "schema",
|