@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": "**[バージョン以降 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n
|
|
669
|
+
"value": "**[バージョン以降 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n指定のサブタイプ コードと一致するすべてのフィーチャを持つ新しい FeatureSet を作成します。\n\n**パラメーター**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - フィルタリング対象の FeatureSet またはレイヤーです。\n- **subtypeCode**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - FeatureSet またはレイヤーのフィーチャをフィルターするために使用されるサブタイプ コードです。\n\n**戻り値**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
|
|
670
670
|
}
|
|
671
671
|
},
|
|
672
672
|
"parametersInfo": {
|
|
@@ -1720,8 +1720,8 @@
|
|
|
1720
1720
|
"bundle": "core",
|
|
1721
1721
|
"sinceVersion": "1.26",
|
|
1722
1722
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue1",
|
|
1723
|
-
"description": "
|
|
1724
|
-
"examples": "\n##### 例\n\
|
|
1723
|
+
"description": "ジオメトリにキーが存在しないか、指定したキーの値が `null` または空のテキスト値である場合に、指定したデフォルト値を返します。",
|
|
1724
|
+
"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",
|
|
1725
1725
|
"completion": {
|
|
1726
1726
|
"label": "DefaultValue",
|
|
1727
1727
|
"detail": "DefaultValue(container, key, defaultValue) -> Any",
|
|
@@ -1731,7 +1731,7 @@
|
|
|
1731
1731
|
"kind": 3,
|
|
1732
1732
|
"documentation": {
|
|
1733
1733
|
"kind": "markdown",
|
|
1734
|
-
"value": "**[バージョン以降 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
1734
|
+
"value": "**[バージョン以降 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nジオメトリにキーが存在しないか、指定したキーの値が `null` または空のテキスト値である場合に、指定したデフォルト値を返します。\n\n**パラメーター**\n\n- **container**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - チェックする入力ジオメトリです。\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - チェックするキーです。\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - キーが存在しないか、指定したキーの値が `null` または空のテキスト値である場合に、この値が返されます。\n\n**戻り値**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \n指定したキーの値を返します (定義されている場合)。 定義されていない場合は、`defaultValue` で指定した値を返します。"
|
|
1735
1735
|
}
|
|
1736
1736
|
},
|
|
1737
1737
|
"parametersInfo": {
|
|
@@ -1744,8 +1744,8 @@
|
|
|
1744
1744
|
"name": "defaultvalue",
|
|
1745
1745
|
"bundle": "core",
|
|
1746
1746
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue2",
|
|
1747
|
-
"description": "
|
|
1748
|
-
"examples": "\n##### 例\n\
|
|
1747
|
+
"description": "ジオメトリのネストされたプロパティに 1 つ以上のキーが存在しないか、指定したキーの値が `null` または空のテキスト値である場合に、指定したデフォルト値を返します。",
|
|
1748
|
+
"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",
|
|
1749
1749
|
"completion": {
|
|
1750
1750
|
"label": "DefaultValue",
|
|
1751
1751
|
"detail": "DefaultValue(container, keys, defaultValue) -> Any",
|
|
@@ -1755,7 +1755,7 @@
|
|
|
1755
1755
|
"kind": 3,
|
|
1756
1756
|
"documentation": {
|
|
1757
1757
|
"kind": "markdown",
|
|
1758
|
-
"value": "
|
|
1758
|
+
"value": "ジオメトリのネストされたプロパティに 1 つ以上のキーが存在しないか、指定したキーの値が `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) - キーまたはインデックスの 1 つ以上が存在しないか、指定したキーの値が `null` または空のテキスト値である場合に、この値が返されます。\n\n**戻り値**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \n指定したキーまたはインデックスの値を返します (定義されている場合)。 定義されていない場合は、`defaultValue` で指定した値を返します。"
|
|
1759
1759
|
}
|
|
1760
1760
|
},
|
|
1761
1761
|
"parametersInfo": {
|
|
@@ -1920,8 +1920,8 @@
|
|
|
1920
1920
|
"bundle": "geometry",
|
|
1921
1921
|
"sinceVersion": "1.26",
|
|
1922
1922
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#distancetocoordinate",
|
|
1923
|
-
"description": "
|
|
1924
|
-
"examples": "\n##### 例\n\
|
|
1923
|
+
"description": "所定の距離に基づいて、入力ラインに沿った座標を返します。 所定の距離にある座標を求めようとする場合、ラインのすべてのパートが考慮されます。 距離には、ラインのパス (またはパート) 間のギャップは含まれません。 入力ラインに沿った距離が見つからない場合、結果は `null` になります。\n\n_視覚化とラベリングのプロファイルにある Feature ジオメトリは、 描画パフォーマンスを向上するために、表示の縮尺解像度に応じて単純化されます。 このため、これらのコンテキストで、フィーチャのジオメトリ (即ち `$feature`) をジオメトリ関数の入力値として使用すると、 縮尺レベルごとに異なる結果が返されます。 その他のプロファイル (ポップアップなど) では、最大解像度のジオメトリが提供されます。_",
|
|
1924
|
+
"examples": "\n##### 例\n\n所定の距離値に基づいて、入力ポリラインの座標を返します。\n\n```arcade\nvar result = DistanceToCoordinate($feature, 1038);\n\nreturn result.coordinate;\n```\n\n",
|
|
1925
1925
|
"completion": {
|
|
1926
1926
|
"label": "DistanceToCoordinate",
|
|
1927
1927
|
"detail": "DistanceToCoordinate(inputLine, inputDistance) -> Dictionary",
|
|
@@ -1931,7 +1931,7 @@
|
|
|
1931
1931
|
"kind": 3,
|
|
1932
1932
|
"documentation": {
|
|
1933
1933
|
"kind": "markdown",
|
|
1934
|
-
"value": "**[バージョン以降 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
1934
|
+
"value": "**[バージョン以降 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n所定の距離に基づいて、入力ラインに沿った座標を返します。 所定の距離にある座標を求めようとする場合、ラインのすべてのパートが考慮されます。 距離には、ラインのパス (またはパート) 間のギャップは含まれません。 入力ラインに沿った距離が見つからない場合、結果は `null` になります。\n\n_視覚化とラベリングのプロファイルにある Feature ジオメトリは、 描画パフォーマンスを向上するために、表示の縮尺解像度に応じて単純化されます。 このため、これらのコンテキストで、フィーチャのジオメトリ (即ち `$feature`) をジオメトリ関数の入力値として使用すると、 縮尺レベルごとに異なる結果が返されます。 その他のプロファイル (ポップアップなど) では、最大解像度のジオメトリが提供されます。_\n\n**パラメーター**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 座標を求めるラインまたはパスです。 入力としてフィーチャを使用する場合、フィーチャのジオメトリはポリラインである必要があります。\n- **inputDistance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 入力ラインの始点から `inputLine` に沿った座標を求めるために使用される距離です。 所定の距離にある座標を求めようとする場合、ラインのすべてのパートが考慮されます。 距離には、ラインのパス (またはパート) 間のギャップは含まれません。 \n\n**戻り値**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \n次のプロパティを含むディクショナリを返します。 入力ラインに沿った距離が見つからない場合、結果は `null` になります。\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - 所定の距離値に基づく `inputLine` に沿ったポイントの座標です。\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - `inputLine` の始点からラインに沿って `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` になります。"
|
|
1935
1935
|
}
|
|
1936
1936
|
},
|
|
1937
1937
|
"parametersInfo": {
|
|
@@ -2119,8 +2119,8 @@
|
|
|
2119
2119
|
"bundle": "core",
|
|
2120
2120
|
"sinceVersion": "1.26",
|
|
2121
2121
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue1",
|
|
2122
|
-
"description": "
|
|
2123
|
-
"examples": "\n##### 例\n\
|
|
2122
|
+
"description": "ジオメトリの所定のキーまたはインデックスに値が存在するかどうかを示します。",
|
|
2123
|
+
"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",
|
|
2124
2124
|
"completion": {
|
|
2125
2125
|
"label": "HasValue",
|
|
2126
2126
|
"detail": "HasValue(inputGeometry, key) -> Boolean",
|
|
@@ -2130,7 +2130,7 @@
|
|
|
2130
2130
|
"kind": 3,
|
|
2131
2131
|
"documentation": {
|
|
2132
2132
|
"kind": "markdown",
|
|
2133
|
-
"value": "**[バージョン以降 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
2133
|
+
"value": "**[バージョン以降 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nジオメトリの所定のキーまたはインデックスに値が存在するかどうかを示します。\n\n**パラメーター**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - チェックするジオメトリです。\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - チェックするキーまたはプロパティ名です。\n\n**戻り値**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
2134
2134
|
}
|
|
2135
2135
|
},
|
|
2136
2136
|
"parametersInfo": {
|
|
@@ -2144,8 +2144,8 @@
|
|
|
2144
2144
|
"bundle": "core",
|
|
2145
2145
|
"sinceVersion": "1.26",
|
|
2146
2146
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue2",
|
|
2147
|
-
"description": "
|
|
2148
|
-
"examples": "\n##### 例\n\
|
|
2147
|
+
"description": "ジオメトリ内の複数レベルでネストされているプロパティまたはインデックスに値が存在するかどうかをチェックします。 これにより、各レベルの値をチェックすることなく、1 つのステップでネスト構造を調べることができます。 構造体の各レベルのキーおよびインデックスが存在し、NULL 以外の値が含まれている場合に、`true` を返します。",
|
|
2148
|
+
"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",
|
|
2149
2149
|
"completion": {
|
|
2150
2150
|
"label": "HasValue",
|
|
2151
2151
|
"detail": "HasValue(inputGeometry, keys) -> Boolean",
|
|
@@ -2155,7 +2155,7 @@
|
|
|
2155
2155
|
"kind": 3,
|
|
2156
2156
|
"documentation": {
|
|
2157
2157
|
"kind": "markdown",
|
|
2158
|
-
"value": "**[バージョン以降 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
2158
|
+
"value": "**[バージョン以降 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nジオメトリ内の複数レベルでネストされているプロパティまたはインデックスに値が存在するかどうかをチェックします。 これにより、各レベルの値をチェックすることなく、1 つのステップでネスト構造を調べることができます。 構造体の各レベルのキーおよびインデックスが存在し、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**戻り値**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
2159
2159
|
}
|
|
2160
2160
|
},
|
|
2161
2161
|
"parametersInfo": {
|
|
@@ -2345,8 +2345,8 @@
|
|
|
2345
2345
|
"bundle": "geometry",
|
|
2346
2346
|
"sinceVersion": "1.26",
|
|
2347
2347
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#measuretocoordinate",
|
|
2348
|
-
"description": "
|
|
2349
|
-
"examples": "\n##### 例\n\
|
|
2348
|
+
"description": "所定のメジャー (M 値) に基づいて、入力ラインに沿った最初の座標を返します。 入力ラインに沿ったメジャーが見つからない場合、結果は `null` になります。 所定のメジャーにある座標を求めようとする場合、ラインのすべてのパートが考慮されます。 メジャーには、ラインのパス (またはパート) 間のギャップは含まれません。\n\n_視覚化とラベリングのプロファイルにある Feature ジオメトリは、 描画パフォーマンスを向上するために、表示の縮尺解像度に応じて単純化されます。 このため、これらのコンテキストで、フィーチャのジオメトリ (即ち `$feature`) をジオメトリ関数の入力値として使用すると、 縮尺レベルごとに異なる結果が返されます。 その他のプロファイル (ポップアップなど) では、最大解像度のジオメトリが提供されます。_",
|
|
2349
|
+
"examples": "\n##### 例\n\n所定のメジャー値に基づいて、入力ポリラインの座標を返します。\n\n```arcade\nvar result = MeasureToCoordinate(Geometry($feature), 110);\n\nreturn result.coordinate;\n```\n\n",
|
|
2350
2350
|
"completion": {
|
|
2351
2351
|
"label": "MeasureToCoordinate",
|
|
2352
2352
|
"detail": "MeasureToCoordinate(inputLine, inputMeasure) -> Dictionary",
|
|
@@ -2356,7 +2356,7 @@
|
|
|
2356
2356
|
"kind": 3,
|
|
2357
2357
|
"documentation": {
|
|
2358
2358
|
"kind": "markdown",
|
|
2359
|
-
"value": "**[バージョン以降 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
2359
|
+
"value": "**[バージョン以降 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n所定のメジャー (M 値) に基づいて、入力ラインに沿った最初の座標を返します。 入力ラインに沿ったメジャーが見つからない場合、結果は `null` になります。 所定のメジャーにある座標を求めようとする場合、ラインのすべてのパートが考慮されます。 メジャーには、ラインのパス (またはパート) 間のギャップは含まれません。\n\n_視覚化とラベリングのプロファイルにある Feature ジオメトリは、 描画パフォーマンスを向上するために、表示の縮尺解像度に応じて単純化されます。 このため、これらのコンテキストで、フィーチャのジオメトリ (即ち `$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**戻り値**: [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` になります。"
|
|
2360
2360
|
}
|
|
2361
2361
|
},
|
|
2362
2362
|
"parametersInfo": {
|
|
@@ -2480,7 +2480,7 @@
|
|
|
2480
2480
|
"kind": 3,
|
|
2481
2481
|
"documentation": {
|
|
2482
2482
|
"kind": "markdown",
|
|
2483
|
-
"value": "**[バージョン以降 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n検索ポイントに最も近い、入力ジオメトリの座標 (頂点ではない) を返します。 返されるディクショナリには、検索ポイントから最も近い座標までの最短平面距離も含まれます。 検索ポイントが入力ジオメトリと交差している場合は、結果として検索ポイントが距離 0 と一緒に返されます。\n\n_視覚化とラベリングのプロファイルにある Feature ジオメトリは、 描画パフォーマンスを向上するために、表示の縮尺解像度に応じて単純化されます。 このため、これらのコンテキストで、フィーチャのジオメトリ (即ち `$feature`) をジオメトリ関数の入力値として使用すると、 縮尺レベルごとに異なる結果が返されます。 その他のプロファイル (ポップアップなど) では、最大解像度のジオメトリが提供されます。_\n\n**パラメーター**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 最も近い座標の取得元のジオメトリです。\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - `inputGeometry` の最も近い座標を見つける対象のポイントです。\n\n**戻り値**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \n次のプロパティを含むディクショナリを返します。\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - `inputGeometry` から `searchPoint` に最も近い座標です。\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 最も近い座標から `searchPoint` までの平面距離です。 これは `inputGeometry` と `searchPoint` の間の最短距離を表します。\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
|
|
2483
|
+
"value": "**[バージョン以降 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n検索ポイントに最も近い、入力ジオメトリの座標 (頂点ではない) を返します。 返されるディクショナリには、検索ポイントから最も近い座標までの最短平面距離も含まれます。 検索ポイントが入力ジオメトリと交差している場合は、結果として検索ポイントが距離 0 と一緒に返されます。\n\n_視覚化とラベリングのプロファイルにある Feature ジオメトリは、 描画パフォーマンスを向上するために、表示の縮尺解像度に応じて単純化されます。 このため、これらのコンテキストで、フィーチャのジオメトリ (即ち `$feature`) をジオメトリ関数の入力値として使用すると、 縮尺レベルごとに異なる結果が返されます。 その他のプロファイル (ポップアップなど) では、最大解像度のジオメトリが提供されます。_\n\n**パラメーター**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 最も近い座標の取得元のジオメトリです。\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - `inputGeometry` の最も近い座標を見つける対象のポイントです。\n\n**戻り値**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \n次のプロパティを含むディクショナリを返します。\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - `inputGeometry` から `searchPoint` に最も近い座標です。\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 最も近い座標から `searchPoint` までの平面距離です。 これは `inputGeometry` と `searchPoint` の間の最短距離を表します。\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 最も近い座標までの `searchPoint` と `inputGeometry` のセグメントとの空間リレーションシップです。 設定可能な値: \n\n`left` - `searchPoint` は `inputGeometry` の左側にあります。\n\n`right` - `searchPoint` は `inputGeometry` の右側にあります。\n\n`straddle` - `searchPoint` は `inputGeometry` にまたがっているか、その上にあります。"
|
|
2484
2484
|
}
|
|
2485
2485
|
},
|
|
2486
2486
|
"parametersInfo": {
|
|
@@ -2505,7 +2505,7 @@
|
|
|
2505
2505
|
"kind": 3,
|
|
2506
2506
|
"documentation": {
|
|
2507
2507
|
"kind": "markdown",
|
|
2508
|
-
"value": "**[バージョン以降 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n検索ポイントに最も近い入力ジオメトリの頂点を返します。 返されるディクショナリには、検索ポイントから最も近い頂点までの平面距離が含まれます。\n\n_視覚化とラベリングのプロファイルにある Feature ジオメトリは、 描画パフォーマンスを向上するために、表示の縮尺解像度に応じて単純化されます。 このため、これらのコンテキストで、フィーチャのジオメトリ (即ち `$feature`) をジオメトリ関数の入力値として使用すると、 縮尺レベルごとに異なる結果が返されます。 その他のプロファイル (ポップアップなど) では、最大解像度のジオメトリが提供されます。_\n\n**パラメーター**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 最も近い頂点の取得元のジオメトリです。\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - `inputGeometry` の最も近い頂点を見つける対象のポイントです。\n\n**戻り値**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \n次のプロパティを含むディクショナリを返します。\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - `inputGeometry` から `searchPoint` に最も近い頂点を表すポイント位置です。\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 入力ジオメトリの最も近い頂点から `searchPoint` までの平面距離です。\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
|
|
2508
|
+
"value": "**[バージョン以降 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n検索ポイントに最も近い入力ジオメトリの頂点を返します。 返されるディクショナリには、検索ポイントから最も近い頂点までの平面距離が含まれます。\n\n_視覚化とラベリングのプロファイルにある Feature ジオメトリは、 描画パフォーマンスを向上するために、表示の縮尺解像度に応じて単純化されます。 このため、これらのコンテキストで、フィーチャのジオメトリ (即ち `$feature`) をジオメトリ関数の入力値として使用すると、 縮尺レベルごとに異なる結果が返されます。 その他のプロファイル (ポップアップなど) では、最大解像度のジオメトリが提供されます。_\n\n**パラメーター**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 最も近い頂点の取得元のジオメトリです。\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - `inputGeometry` の最も近い頂点を見つける対象のポイントです。\n\n**戻り値**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \n次のプロパティを含むディクショナリを返します。\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - `inputGeometry` から `searchPoint` に最も近い頂点を表すポイント位置です。\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 入力ジオメトリの最も近い頂点から `searchPoint` までの平面距離です。\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 最も近い頂点までの `searchPoint` と `inputGeometry` のセグメントとの空間リレーションシップです。 設定可能な値: \n\n`left` - `searchPoint` は `inputGeometry` の左側にあります。\n\n`right` - `searchPoint` は `inputGeometry` の右側にあります。\n\n`straddle` - `searchPoint` は `inputGeometry` にまたがっているか、その上にあります。"
|
|
2509
2509
|
}
|
|
2510
2510
|
},
|
|
2511
2511
|
"parametersInfo": {
|
|
@@ -2619,8 +2619,8 @@
|
|
|
2619
2619
|
"bundle": "geometry",
|
|
2620
2620
|
"sinceVersion": "1.26",
|
|
2621
2621
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#pointtocoordinate",
|
|
2622
|
-
"description": "
|
|
2623
|
-
"examples": "\n##### 例\n\
|
|
2622
|
+
"description": "検索ポイントの入力ラインに最も近い座標とその座標までの距離を返します。\n\n_視覚化とラベリングのプロファイルにある Feature ジオメトリは、 描画パフォーマンスを向上するために、表示の縮尺解像度に応じて単純化されます。 このため、これらのコンテキストで、フィーチャのジオメトリ (即ち `$feature`) をジオメトリ関数の入力値として使用すると、 縮尺レベルごとに異なる結果が返されます。 その他のプロファイル (ポップアップなど) では、最大解像度のジオメトリが提供されます。_",
|
|
2623
|
+
"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",
|
|
2624
2624
|
"completion": {
|
|
2625
2625
|
"label": "PointToCoordinate",
|
|
2626
2626
|
"detail": "PointToCoordinate(inputLine, searchPoint) -> Dictionary",
|
|
@@ -2630,7 +2630,7 @@
|
|
|
2630
2630
|
"kind": 3,
|
|
2631
2631
|
"documentation": {
|
|
2632
2632
|
"kind": "markdown",
|
|
2633
|
-
"value": "**[バージョン以降 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
2633
|
+
"value": "**[バージョン以降 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n検索ポイントの入力ラインに最も近い座標とその座標までの距離を返します。\n\n_視覚化とラベリングのプロファイルにある Feature ジオメトリは、 描画パフォーマンスを向上するために、表示の縮尺解像度に応じて単純化されます。 このため、これらのコンテキストで、フィーチャのジオメトリ (即ち `$feature`) をジオメトリ関数の入力値として使用すると、 縮尺レベルごとに異なる結果が返されます。 その他のプロファイル (ポップアップなど) では、最大解像度のジオメトリが提供されます。_\n\n**パラメーター**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 最も近い座標の取得元のラインまたはパスです。 入力としてフィーチャを使用する場合、フィーチャのジオメトリはポリラインである必要があります。\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - `inputLine` の最も近い座標を見つける対象のポイントです。\n\n**戻り値**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \n次のプロパティを含むディクショナリを返します。\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - `inputLine` に沿って `searchPoint` に最も近い座標を表すポイント座標です。 `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` になります。"
|
|
2634
2634
|
}
|
|
2635
2635
|
},
|
|
2636
2636
|
"parametersInfo": {
|
|
@@ -3051,8 +3051,8 @@
|
|
|
3051
3051
|
"bundle": "core",
|
|
3052
3052
|
"sinceVersion": "1.26",
|
|
3053
3053
|
"link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue1",
|
|
3054
|
-
"description": "
|
|
3055
|
-
"examples": "\n##### 例\n\nDefaultValue
|
|
3054
|
+
"description": "ディクショナリにキーが存在しないか、指定したキーの値が `null` または空のテキスト値である場合に、指定したデフォルト値を返します。",
|
|
3055
|
+
"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",
|
|
3056
3056
|
"completion": {
|
|
3057
3057
|
"label": "DefaultValue",
|
|
3058
3058
|
"detail": "DefaultValue(container, key, defaultValue) -> Any",
|
|
@@ -3062,7 +3062,7 @@
|
|
|
3062
3062
|
"kind": 3,
|
|
3063
3063
|
"documentation": {
|
|
3064
3064
|
"kind": "markdown",
|
|
3065
|
-
"value": "**[バージョン以降 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
3065
|
+
"value": "**[バージョン以降 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nディクショナリにキーが存在しないか、指定したキーの値が `null` または空のテキスト値である場合に、指定したデフォルト値を返します。\n\n**パラメーター**\n\n- **container**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - チェックするディクショナリまたは添付ファイルです。\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - チェックするキーです。\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - キーが存在しないか、指定したキーの値が `null` または空のテキスト値である場合に、この値が返されます。\n\n**戻り値**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \n指定したキーの値を返します (定義されている場合)。 定義されていない場合は、`defaultValue` で指定した値を返します。"
|
|
3066
3066
|
}
|
|
3067
3067
|
},
|
|
3068
3068
|
"parametersInfo": {
|
|
@@ -3075,8 +3075,8 @@
|
|
|
3075
3075
|
"name": "defaultvalue",
|
|
3076
3076
|
"bundle": "core",
|
|
3077
3077
|
"link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue2",
|
|
3078
|
-
"description": "
|
|
3079
|
-
"examples": "\n##### 例\n\nDefaultValue
|
|
3078
|
+
"description": "ネストされたディクショナリに 1 つ以上のキーが存在しないか、指定したキーの値が `null` または空のテキスト値である場合に、指定したデフォルト値を返します。",
|
|
3079
|
+
"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",
|
|
3080
3080
|
"completion": {
|
|
3081
3081
|
"label": "DefaultValue",
|
|
3082
3082
|
"detail": "DefaultValue(container, keys, defaultValue) -> Any",
|
|
@@ -3086,7 +3086,7 @@
|
|
|
3086
3086
|
"kind": 3,
|
|
3087
3087
|
"documentation": {
|
|
3088
3088
|
"kind": "markdown",
|
|
3089
|
-
"value": "
|
|
3089
|
+
"value": "ネストされたディクショナリに 1 つ以上のキーが存在しないか、指定したキーの値が `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) - キーまたはインデックスの 1 つ以上が存在しないか、指定したキーの値が `null` または空のテキスト値である場合に、この値が返されます。\n\n**戻り値**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \n指定したキーまたはインデックスの値を返します (定義されている場合)。 定義されていない場合は、`defaultValue` で指定した値を返します。"
|
|
3090
3090
|
}
|
|
3091
3091
|
},
|
|
3092
3092
|
"parametersInfo": {
|
|
@@ -3277,8 +3277,8 @@
|
|
|
3277
3277
|
"bundle": "core",
|
|
3278
3278
|
"sinceVersion": "1.20",
|
|
3279
3279
|
"link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue1",
|
|
3280
|
-
"description": "
|
|
3281
|
-
"examples": "\n##### 例\n\
|
|
3280
|
+
"description": "キーが値を持つ場合に、ディクショナリがその所定のキーを保持するかどうかを示します。",
|
|
3281
|
+
"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",
|
|
3282
3282
|
"completion": {
|
|
3283
3283
|
"label": "HasValue",
|
|
3284
3284
|
"detail": "HasValue(inputDictionary, key) -> Boolean",
|
|
@@ -3288,7 +3288,7 @@
|
|
|
3288
3288
|
"kind": 3,
|
|
3289
3289
|
"documentation": {
|
|
3290
3290
|
"kind": "markdown",
|
|
3291
|
-
"value": "**[バージョン以降 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
3291
|
+
"value": "**[バージョン以降 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nキーが値を持つ場合に、ディクショナリがその所定のキーを保持するかどうかを示します。\n\n**パラメーター**\n\n- **inputDictionary**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - チェックするディクショナリまたは添付ファイルです。\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - チェックするキーまたはフィールド名です。\n\n**戻り値**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
3292
3292
|
}
|
|
3293
3293
|
},
|
|
3294
3294
|
"parametersInfo": {
|
|
@@ -3302,8 +3302,8 @@
|
|
|
3302
3302
|
"bundle": "core",
|
|
3303
3303
|
"sinceVersion": "1.26",
|
|
3304
3304
|
"link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue2",
|
|
3305
|
-
"description": "
|
|
3306
|
-
"examples": "\n##### 例\n\
|
|
3305
|
+
"description": "ディクショナリ内の複数レベルでネストされているプロパティに値が存在するかどうかをチェックします。 これにより、各レベルの値をチェックすることなく、1 つのステップでネスト構造を調べることができます。 構造体の各レベルのキーおよびインデックスが存在し、NULL 以外の値が含まれている場合に、`true` を返します。",
|
|
3306
|
+
"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",
|
|
3307
3307
|
"completion": {
|
|
3308
3308
|
"label": "HasValue",
|
|
3309
3309
|
"detail": "HasValue(inputDictionary, keys) -> Boolean",
|
|
@@ -3313,7 +3313,7 @@
|
|
|
3313
3313
|
"kind": 3,
|
|
3314
3314
|
"documentation": {
|
|
3315
3315
|
"kind": "markdown",
|
|
3316
|
-
"value": "**[バージョン以降 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
3316
|
+
"value": "**[バージョン以降 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nディクショナリ内の複数レベルでネストされているプロパティに値が存在するかどうかをチェックします。 これにより、各レベルの値をチェックすることなく、1 つのステップでネスト構造を調べることができます。 構造体の各レベルのキーおよびインデックスが存在し、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**戻り値**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
3317
3317
|
}
|
|
3318
3318
|
},
|
|
3319
3319
|
"parametersInfo": {
|
|
@@ -4303,6 +4303,62 @@
|
|
|
4303
4303
|
}
|
|
4304
4304
|
]
|
|
4305
4305
|
},
|
|
4306
|
+
{
|
|
4307
|
+
"id": "knowledge-graph_functions",
|
|
4308
|
+
"title": "ナレッジ グラフ関数",
|
|
4309
|
+
"items": [
|
|
4310
|
+
{
|
|
4311
|
+
"type": "function",
|
|
4312
|
+
"name": "knowledgegraphbyportalitem",
|
|
4313
|
+
"bundle": "knowledge-graph",
|
|
4314
|
+
"sinceVersion": "1.26",
|
|
4315
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/knowledge-graph_functions/#knowledgegraphbyportalitem",
|
|
4316
|
+
"description": "ポータル アイテムからナレッジ グラフを返します。",
|
|
4317
|
+
"examples": "\n##### 例\n\nポータル アイテムからナレッジ グラフを返します。\n\n```arcade\nvar knowledgeGraph = KnowledgeGraphByPortalItem(\n Portal('https://www.arcgis.com'),\n '7b1fb95ab77f40bf8aa09c8b59045449',\n);\n```\n\n",
|
|
4318
|
+
"completion": {
|
|
4319
|
+
"label": "KnowledgeGraphByPortalItem",
|
|
4320
|
+
"detail": "KnowledgeGraphByPortalItem(portalObject, itemId) -> KnowledgeGraph",
|
|
4321
|
+
"insertText": "KnowledgeGraphByPortalItem(${1:portalObject_}, ${2:itemId_})$0",
|
|
4322
|
+
"insertTextMode": 2,
|
|
4323
|
+
"insertTextFormat": 2,
|
|
4324
|
+
"kind": 3,
|
|
4325
|
+
"documentation": {
|
|
4326
|
+
"kind": "markdown",
|
|
4327
|
+
"value": "**[バージョン以降 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nポータル アイテムからナレッジ グラフを返します。\n\n**パラメーター**\n\n- **portalObject**: [Portal](https://developers.arcgis.com/arcade/guide/types/#portal) - フィーチャをクエリするポータルです。\n- **itemId**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ナレッジ グラフ サービスを参照しているポータル アイテムの GUID です。 _この値はテキスト リテラルである必要があります。_\n\n**戻り値**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph)"
|
|
4328
|
+
}
|
|
4329
|
+
},
|
|
4330
|
+
"parametersInfo": {
|
|
4331
|
+
"min": 2,
|
|
4332
|
+
"max": 2
|
|
4333
|
+
}
|
|
4334
|
+
},
|
|
4335
|
+
{
|
|
4336
|
+
"type": "function",
|
|
4337
|
+
"name": "querygraph",
|
|
4338
|
+
"bundle": "knowledge-graph",
|
|
4339
|
+
"sinceVersion": "1.26",
|
|
4340
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/knowledge-graph_functions/#querygraph",
|
|
4341
|
+
"description": "openCypher クエリでナレッジ グラフをクエリし、グラフ内のエンティティおよびリレーションシップのセットと、それらのプロパティを返します。",
|
|
4342
|
+
"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",
|
|
4343
|
+
"completion": {
|
|
4344
|
+
"label": "QueryGraph",
|
|
4345
|
+
"detail": "QueryGraph(graph, openCypherQuery, queryParameters?) -> Array",
|
|
4346
|
+
"insertText": "QueryGraph(${1:graph_}, ${2:openCypherQuery_})$0",
|
|
4347
|
+
"insertTextMode": 2,
|
|
4348
|
+
"insertTextFormat": 2,
|
|
4349
|
+
"kind": 3,
|
|
4350
|
+
"documentation": {
|
|
4351
|
+
"kind": "markdown",
|
|
4352
|
+
"value": "**[バージョン以降 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**戻り値**: Array"
|
|
4353
|
+
}
|
|
4354
|
+
},
|
|
4355
|
+
"parametersInfo": {
|
|
4356
|
+
"min": 2,
|
|
4357
|
+
"max": 3
|
|
4358
|
+
}
|
|
4359
|
+
}
|
|
4360
|
+
]
|
|
4361
|
+
},
|
|
4306
4362
|
{
|
|
4307
4363
|
"id": "feature_functions",
|
|
4308
4364
|
"title": "フィーチャ関数",
|
|
@@ -4339,7 +4395,7 @@
|
|
|
4339
4395
|
"sinceVersion": "1.7",
|
|
4340
4396
|
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#domaincode",
|
|
4341
4397
|
"description": "フィーチャ内の関連付けられたドメインの説明のコードを返します。",
|
|
4342
|
-
"examples": "\n##### 例\n\n
|
|
4398
|
+
"examples": "\n##### 例\n\n参照されているフィールドのドメイン コードを出力します。\n\n```arcade\nDomainCode($feature, 'Enabled', 'True')\n```\n\n",
|
|
4343
4399
|
"completion": {
|
|
4344
4400
|
"label": "DomainCode",
|
|
4345
4401
|
"detail": "DomainCode(inputFeature, fieldName, value?, subtype?) -> Number,Text",
|
|
@@ -4562,8 +4618,8 @@
|
|
|
4562
4618
|
"bundle": "core",
|
|
4563
4619
|
"sinceVersion": "1.20",
|
|
4564
4620
|
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#hasvalue",
|
|
4565
|
-
"description": "
|
|
4566
|
-
"examples": "\n##### 例\n\
|
|
4621
|
+
"description": "フィールドに値が存在する場合に、フィーチャがその所定のフィールドを保持するかどうかを示します。",
|
|
4622
|
+
"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",
|
|
4567
4623
|
"completion": {
|
|
4568
4624
|
"label": "HasValue",
|
|
4569
4625
|
"detail": "HasValue(inputFeature, fieldName) -> Boolean",
|
|
@@ -4573,7 +4629,7 @@
|
|
|
4573
4629
|
"kind": 3,
|
|
4574
4630
|
"documentation": {
|
|
4575
4631
|
"kind": "markdown",
|
|
4576
|
-
"value": "**[バージョン以降 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
4632
|
+
"value": "**[バージョン以降 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nフィールドに値が存在する場合に、フィーチャがその所定のフィールドを保持するかどうかを示します。\n\n**パラメーター**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - チェックするフィーチャです。\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - チェックするフィールド名です。\n\n**戻り値**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
4577
4633
|
}
|
|
4578
4634
|
},
|
|
4579
4635
|
"parametersInfo": {
|
|
@@ -5843,7 +5899,7 @@
|
|
|
5843
5899
|
"bundle": "core",
|
|
5844
5900
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
|
|
5845
5901
|
"description": "ある Date から別の Date を減算して、その差を指定の単位で返します。",
|
|
5846
|
-
"examples": "\n##### 例\n\nある Date から別の Date を減算して期間を返す\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\n
|
|
5902
|
+
"examples": "\n##### 例\n\nある Date から別の Date を減算して期間を返す\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nある Date から別の Date を減算して、その差を返します。\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",
|
|
5847
5903
|
"completion": {
|
|
5848
5904
|
"label": "DateDiff",
|
|
5849
5905
|
"detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
|
|
@@ -7102,8 +7158,8 @@
|
|
|
7102
7158
|
"bundle": "core",
|
|
7103
7159
|
"sinceVersion": "1.26",
|
|
7104
7160
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue1",
|
|
7105
|
-
"description": "
|
|
7106
|
-
"examples": "\n##### 例\n\
|
|
7161
|
+
"description": "配列にインデックスが存在しないか、指定したインデックスの値が `null` または空のテキスト値である場合に、指定したデフォルト値を返します。",
|
|
7162
|
+
"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",
|
|
7107
7163
|
"completion": {
|
|
7108
7164
|
"label": "DefaultValue",
|
|
7109
7165
|
"detail": "DefaultValue(container, index, defaultValue) -> Any",
|
|
@@ -7113,7 +7169,7 @@
|
|
|
7113
7169
|
"kind": 3,
|
|
7114
7170
|
"documentation": {
|
|
7115
7171
|
"kind": "markdown",
|
|
7116
|
-
"value": "**[バージョン以降 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
7172
|
+
"value": "**[バージョン以降 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n配列にインデックスが存在しないか、指定したインデックスの値が `null` または空のテキスト値である場合に、指定したデフォルト値を返します。\n\n**パラメーター**\n\n- **container**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - チェックする入力配列です。\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - チェックするインデックスです。\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - インデックスが存在しないか、指定したインデックスの値が `null` または空のテキスト値である場合に、この値が返されます。\n\n**戻り値**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \n指定したインデックスの値を返します (定義されている場合)。 定義されていない場合は、`defaultValue` で指定した値を返します。"
|
|
7117
7173
|
}
|
|
7118
7174
|
},
|
|
7119
7175
|
"parametersInfo": {
|
|
@@ -7126,8 +7182,8 @@
|
|
|
7126
7182
|
"name": "defaultvalue",
|
|
7127
7183
|
"bundle": "core",
|
|
7128
7184
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue2",
|
|
7129
|
-
"description": "
|
|
7130
|
-
"examples": "\n##### 例\n\
|
|
7185
|
+
"description": "多次元配列内の複数レベルでネストされているインデックスに値が存在するかどうかをチェックし、値が存在する場合はその値を返します。 値が存在しない場合、この関数は、ネストされたキーまたはインデックスの 1 つ以上が存在しないか、指定したキーまたはインデックスの値が `null` または空のテキスト値であるときに、指定したデフォルト値を返します。 これにより、各配列内の値をチェックすることなく、1 つのステップでネスト構造を調べることができます。",
|
|
7186
|
+
"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",
|
|
7131
7187
|
"completion": {
|
|
7132
7188
|
"label": "DefaultValue",
|
|
7133
7189
|
"detail": "DefaultValue(container, keys, defaultValue) -> Any",
|
|
@@ -7137,7 +7193,7 @@
|
|
|
7137
7193
|
"kind": 3,
|
|
7138
7194
|
"documentation": {
|
|
7139
7195
|
"kind": "markdown",
|
|
7140
|
-
"value": "
|
|
7196
|
+
"value": "多次元配列内の複数レベルでネストされているインデックスに値が存在するかどうかをチェックし、値が存在する場合はその値を返します。 値が存在しない場合、この関数は、ネストされたキーまたはインデックスの 1 つ以上が存在しないか、指定したキーまたはインデックスの値が `null` または空のテキスト値であるときに、指定したデフォルト値を返します。 これにより、各配列内の値をチェックすることなく、1 つのステップでネスト構造を調べることができます。\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) - キーまたはインデックスの 1 つ以上が存在しないか、指定したキーの値が `null` または空のテキスト値である場合に、この値が返されます。\n\n**戻り値**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \n指定したキーまたはインデックスの値を返します (定義されている場合)。 定義されていない場合は、`defaultValue` で指定した値を返します。"
|
|
7141
7197
|
}
|
|
7142
7198
|
},
|
|
7143
7199
|
"parametersInfo": {
|
|
@@ -7304,8 +7360,8 @@
|
|
|
7304
7360
|
"bundle": "core",
|
|
7305
7361
|
"sinceVersion": "1.26",
|
|
7306
7362
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue1",
|
|
7307
|
-
"description": "
|
|
7308
|
-
"examples": "\n##### 例\n\
|
|
7363
|
+
"description": "配列内の所定のインデックスに値が存在するかどうかを示します。",
|
|
7364
|
+
"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",
|
|
7309
7365
|
"completion": {
|
|
7310
7366
|
"label": "HasValue",
|
|
7311
7367
|
"detail": "HasValue(inputArray, index) -> Boolean",
|
|
@@ -7315,7 +7371,7 @@
|
|
|
7315
7371
|
"kind": 3,
|
|
7316
7372
|
"documentation": {
|
|
7317
7373
|
"kind": "markdown",
|
|
7318
|
-
"value": "**[バージョン以降 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
7374
|
+
"value": "**[バージョン以降 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n配列内の所定のインデックスに値が存在するかどうかを示します。\n\n**パラメーター**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - チェックする配列です。\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - チェックするインデックスです。\n\n**戻り値**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
7319
7375
|
}
|
|
7320
7376
|
},
|
|
7321
7377
|
"parametersInfo": {
|
|
@@ -7329,8 +7385,8 @@
|
|
|
7329
7385
|
"bundle": "core",
|
|
7330
7386
|
"sinceVersion": "1.26",
|
|
7331
7387
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue2",
|
|
7332
|
-
"description": "
|
|
7333
|
-
"examples": "\n##### 例\n\
|
|
7388
|
+
"description": "多次元配列内の複数レベルでネストされているインデックスに値が存在するかどうかをチェックします。 これにより、各配列内の値をチェックすることなく、1 つのステップでネスト構造を調べることができます。 構造体の各レベルのインデックスが存在し、NULL 以外の値が含まれている場合に、`true` を返します。",
|
|
7389
|
+
"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",
|
|
7334
7390
|
"completion": {
|
|
7335
7391
|
"label": "HasValue",
|
|
7336
7392
|
"detail": "HasValue(inputArray, indexes) -> Boolean",
|
|
@@ -7340,7 +7396,7 @@
|
|
|
7340
7396
|
"kind": 3,
|
|
7341
7397
|
"documentation": {
|
|
7342
7398
|
"kind": "markdown",
|
|
7343
|
-
"value": "**[バージョン以降 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
7399
|
+
"value": "**[バージョン以降 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n多次元配列内の複数レベルでネストされているインデックスに値が存在するかどうかをチェックします。 これにより、各配列内の値をチェックすることなく、1 つのステップでネスト構造を調べることができます。 構造体の各レベルのインデックスが存在し、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**戻り値**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
7344
7400
|
}
|
|
7345
7401
|
},
|
|
7346
7402
|
"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": "**[バージョン以降 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n須_Returns a knowledge graph from a portal item________________________鷗.\n\n**パラメーター**\n\n- **portalObject**: [Portal](https://developers.arcgis.com/arcade/guide/types/#portal) - 須_The Portal from which to query features_____________________鷗.\n- **itemId**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 須_The GUID of the portal item referencing a knowledge graph service. _This value must be a text literal.______________________________________________________鷗\n\n**戻り値**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph)"
|
|
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": "**[バージョン以降 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n須_Queries a knowledge graph with an openCypher query and returns the set of entities and relationships in a graph, along with their properties________________________________________________________________________鷗.\n\n**パラメーター**\n\n- **graph**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph) - 須_The knowledge graph to query______________________________鷗.\n- **openCypherQuery**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 須_The openCypher query to be executed against the knowledge graph_________________________________鷗.\n- **queryParameters** (_Optional_): [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - 須_A dictionary of named query parameters for the openCypher query_________________________________鷗. 須_The parameter names or keys in the dictionary are case-sensitive__________________________________鷗. 須_Parameters accepted depend on the external graph store and can be of type: `Array`, `Date`, `Dictionary`, `Geometry`, `Number, Text`___________________________________________________________________鷗\n\n**戻り値**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary)"
|
|
7748
|
-
}
|
|
7749
|
-
},
|
|
7750
|
-
"parametersInfo": {
|
|
7751
|
-
"min": 2,
|
|
7752
|
-
"max": 3
|
|
7753
|
-
}
|
|
7754
|
-
}
|
|
7755
|
-
]
|
|
7756
7756
|
}
|
|
7757
7757
|
]
|