@arcgis/coding-components
Version:
Contains components for editing code in different languages. The currently supported languages are html, css, json, TypeScript, JavaScript, and Arcade.
1 lines • 726 kB
JSON
[{"id":"constants","title":"定数","items":[{"type":"constant","name":"infinity","bundle":"core","sinceVersion":"1.0","link":"https://developers.arcgis.com/arcade/function-reference/constants/#infinity","description":"他の数値より大きな値を表します。 `-Infinity` は、任意の数値より小さい値としても使用できます。","examples":"\n**例**\n\n4 つのフィールド値の最大値を計算します\n\n```arcade\nvar values = [ $feature.field1, $feature.field2, $feature.field3, $feature.field4 ];\nvar maxValue = -Infinity;\n\nfor(var i in values){\n maxValue = IIF(values[i] > maxValue, values[i], maxValue);\n}\n\nreturn maxValue;\n```\n\n","completion":{"label":"Infinity","detail":"Infinity","insertText":"Infinity","insertTextMode":2,"insertTextFormat":1,"kind":21,"documentation":{"kind":"markdown","value":"**[バージョン以降 1.0](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n他の数値より大きな値を表します。 `-Infinity` は、任意の数値より小さい値としても使用できます。"}}},{"type":"constant","name":"pi","bundle":"core","sinceVersion":"1.0","link":"https://developers.arcgis.com/arcade/function-reference/constants/#pi","description":"円周を直径で除算した値で、約 `3.14159` です。","examples":"\n**例**\n\n円フィーチャの面積を返します\n\n```arcade\nvar r = $feature.radius;\nPI * r * r;\n```\n\n","completion":{"label":"PI","detail":"PI","insertText":"PI","insertTextMode":2,"insertTextFormat":1,"kind":21,"documentation":{"kind":"markdown","value":"**[バージョン以降 1.0](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n円周を直径で除算した値で、約 `3.14159` です。"}}},{"type":"constant","name":"textformatting.backwardslash","bundle":"core","sinceVersion":"1.0","link":"https://developers.arcgis.com/arcade/function-reference/constants/#textformatting.backwardslash","description":"バックスラッシュ文字 `\\` をテキストに挿入します。","examples":"\n**例**\n\n'\\\\\\serverName\\foo\\bar' を返します\n\n```arcade\nTextFormatting.BackwardSlash + TextFormatting.BackwardSlash + $feature.FILE_PATH\n```\n\n","completion":{"label":"TextFormatting.BackwardSlash","detail":"TextFormatting.BackwardSlash","insertText":"TextFormatting.BackwardSlash","insertTextMode":2,"insertTextFormat":1,"kind":21,"documentation":{"kind":"markdown","value":"**[バージョン以降 1.0](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nバックスラッシュ文字 `\\` をテキストに挿入します。"}}},{"type":"constant","name":"textformatting.doublequote","bundle":"core","sinceVersion":"1.0","link":"https://developers.arcgis.com/arcade/function-reference/constants/#textformatting.doublequote","description":"二重引用符 `\\\"` をテキストに挿入します。","examples":"\n**例**\n\n'Nicholas \\\"Nick\\\" Anderson' を返します\n\n```arcade\n$feature.NAME + \" \" + TextFormatting.DoubleQuote + $feature.ALIAS + TextFormatting.DoubleQuote + \" \" + $feature.SURNAME\n```\n\n","completion":{"label":"TextFormatting.DoubleQuote","detail":"TextFormatting.DoubleQuote","insertText":"TextFormatting.DoubleQuote","insertTextMode":2,"insertTextFormat":1,"kind":21,"documentation":{"kind":"markdown","value":"**[バージョン以降 1.0](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n二重引用符 `\\\"` をテキストに挿入します。"}}},{"type":"constant","name":"textformatting.forwardslash","bundle":"core","sinceVersion":"1.0","link":"https://developers.arcgis.com/arcade/function-reference/constants/#textformatting.forwardslash","description":"フォワードスラッシュ文字 `/` をテキストに挿入します。","examples":"\n**例**\n\n'151/low' を返します\n\n```arcade\n$feature.POP_DENSITY + TextFormatting.ForwardSlash + $feature.CLASS\n```\n\n","completion":{"label":"TextFormatting.ForwardSlash","detail":"TextFormatting.ForwardSlash","insertText":"TextFormatting.ForwardSlash","insertTextMode":2,"insertTextFormat":1,"kind":21,"documentation":{"kind":"markdown","value":"**[バージョン以降 1.0](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nフォワードスラッシュ文字 `/` をテキストに挿入します。"}}},{"type":"constant","name":"textformatting.newline","bundle":"core","sinceVersion":"1.0","link":"https://developers.arcgis.com/arcade/function-reference/constants/#textformatting.newline","description":"新しい行または改行をテキストに挿入します。 ArcGIS API 3.x for JavaScript や ArcGIS Online Map Viewer Classic では、複数行のラベルはサポートされていません。","examples":"\n**例**\n\n\"T2N R1W\" を返します\n\n```arcade\n\"T\" + $feature.TOWNSHIP + TextFormatting.NewLine + \"R\" + $feature.RANGE\n```\n\n","completion":{"label":"TextFormatting.NewLine","detail":"TextFormatting.NewLine","insertText":"TextFormatting.NewLine","insertTextMode":2,"insertTextFormat":1,"kind":21,"documentation":{"kind":"markdown","value":"**[バージョン以降 1.0](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n新しい行または改行をテキストに挿入します。 ArcGIS API 3.x for JavaScript や ArcGIS Online Map Viewer Classic では、複数行のラベルはサポートされていません。"}}},{"type":"constant","name":"textformatting.singlequote","bundle":"core","sinceVersion":"1.0","link":"https://developers.arcgis.com/arcade/function-reference/constants/#textformatting.singlequote","description":"単一引用符 `'` をテキストに挿入します。","examples":"\n**例**\n\n\\\"Nicholas 'Nick' Anderson\\\" を返します\n\n```arcade\n$feature.NAME + \" \" + TextFormatting.SingleQuote + $feature.ALIAS + TextFormatting.SingleQuote + \" \" + $feature.SURNAME\n```\n\n","completion":{"label":"TextFormatting.SingleQuote","detail":"TextFormatting.SingleQuote","insertText":"TextFormatting.SingleQuote","insertTextMode":2,"insertTextFormat":1,"kind":21,"documentation":{"kind":"markdown","value":"**[バージョン以降 1.0](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n単一引用符 `'` をテキストに挿入します。"}}}]},{"id":"featureset_functions","title":"FeatureSet 関数","items":[{"type":"function","name":"area","bundle":"data-access","sinceVersion":"1.7","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#area","description":"入力 FeatureSet の面積を所定の単位で返します。 これは、直交演算を使用した平面計測です。\n\n_視覚化とラベリングのプロファイルにある Feature ジオメトリは、 描画パフォーマンスを向上するために、表示の縮尺解像度に応じて単純化されます。 このため、これらのコンテキストで、フィーチャのジオメトリ (即ち `$feature`) をジオメトリ関数の入力値として使用すると、 縮尺レベルごとに異なる結果が返されます。 その他のプロファイル (ポップアップなど) では、最大解像度のジオメトリが提供されます。_","examples":"\n**例**\n\nレイヤーの面積を平方キロメートルで返します\n\n```arcade\nArea($layer, 'square-kilometers')\n```\n\n","completion":{"label":"Area","detail":"Area(features, unit?) -> Number","insertText":"Area(${1:features_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[バージョン以降 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n入力 FeatureSet の面積を所定の単位で返します。 これは、直交演算を使用した平面計測です。\n\n_視覚化とラベリングのプロファイルにある Feature ジオメトリは、 描画パフォーマンスを向上するために、表示の縮尺解像度に応じて単純化されます。 このため、これらのコンテキストで、フィーチャのジオメトリ (即ち `$feature`) をジオメトリ関数の入力値として使用すると、 縮尺レベルごとに異なる結果が返されます。 その他のプロファイル (ポップアップなど) では、最大解像度のジオメトリが提供されます。_\n\n**パラメーター**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 平面面積を計算する FeatureSet。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 返り値の計測単位。 以下の値のいずれか、または以下の追加リソース セクションに記載されている数値コードのいずれかになります。 視覚化、ラベリング、およびポップアップのプロファイルでは、デフォルトの単位がマップの空間参照になります。 フィールド演算など、その他のプロファイルでは、データの空間参照に基づいてデフォルト値が設定されます。 \n設定可能な値: `acres` | `hectares` | `square-centimeters` | `square-decimeters` | `square-feet` | `square-inches` | `square-kilometers` | `square-meters` | `square-miles` | `square-millimeters` | `square-us-feet` | `square-us-miles` | `square-yards` \n\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)\n\n**参考資料**\n\n* [AreaGeodetic()](https://developers.arcgis.com/arcade/function-reference/featureset_functions/#areageodetic)\n* [Available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnitType_Constants/000w00000042000000/)\n* [More available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnit2Type_Constants/000w00000041000000/)\n"}},"parametersInfo":{"min":1,"max":2}},{"type":"function","name":"areageodetic","bundle":"data-access","sinceVersion":"1.7","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#areageodetic","description":"入力 FeatureSet の測地面積を所定の単位で返します。 これは `Area()` よりも信頼性の高い面積の計測です よりも信頼性の高い長さの計測です。\n\n_視覚化とラベリングのプロファイルにある Feature ジオメトリは、 描画パフォーマンスを向上するために、表示の縮尺解像度に応じて単純化されます。 このため、これらのコンテキストで、フィーチャのジオメトリ (即ち `$feature`) をジオメトリ関数の入力値として使用すると、 縮尺レベルごとに異なる結果が返されます。 その他のプロファイル (ポップアップなど) では、最大解像度のジオメトリが提供されます。_","examples":"\n**例**\n\nレイヤーの測地面積を平方キロメートルで返します\n\n```arcade\nAreaGeodetic($layer, 'square-kilometers')\n```\n\n","completion":{"label":"AreaGeodetic","detail":"AreaGeodetic(features, unit?) -> Number","insertText":"AreaGeodetic(${1:features_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[バージョン以降 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n入力 FeatureSet の測地面積を所定の単位で返します。 これは `Area()` よりも信頼性の高い面積の計測です よりも信頼性の高い長さの計測です。\n\n_視覚化とラベリングのプロファイルにある Feature ジオメトリは、 描画パフォーマンスを向上するために、表示の縮尺解像度に応じて単純化されます。 このため、これらのコンテキストで、フィーチャのジオメトリ (即ち `$feature`) をジオメトリ関数の入力値として使用すると、 縮尺レベルごとに異なる結果が返されます。 その他のプロファイル (ポップアップなど) では、最大解像度のジオメトリが提供されます。_\n\n**パラメーター**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 測地面積を計算する FeatureSet。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 返り値の計測単位。 以下の値のいずれか、または以下の追加リソース セクションに記載されている数値コードのいずれかになります。 視覚化、ラベリング、およびポップアップのプロファイルでは、デフォルトの単位がマップの空間参照になります。 フィールド演算など、その他のプロファイルでは、データの空間参照に基づいてデフォルト値が設定されます。 \n設定可能な値: `acres` | `hectares` | `square-centimeters` | `square-decimeters` | `square-feet` | `square-inches` | `square-kilometers` | `square-meters` | `square-miles` | `square-millimeters` | `square-us-feet` | `square-us-miles` | `square-yards` \n\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)\n\n**参考資料**\n\n* [Area()](https://developers.arcgis.com/arcade/function-reference/featureset_functions/#area)\n* [Available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnitType_Constants/000w00000042000000/)\n* [More available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnit2Type_Constants/000w00000041000000/)\n"}},"parametersInfo":{"min":1,"max":2}},{"type":"function","name":"attachments","bundle":"data-access","sinceVersion":"1.6","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#attachments","description":"入力フィーチャに関連付けられたアタッチメントのリストを返します。 各結果には、アタッチメントの名前、コンテンツのタイプ、ID、およびサイズ (バイト単位) が含まれます。 フィーチャ サービスから作成されたフィーチャにのみ適用されます。","examples":"\n**例**\n\nフィーチャに関連付けられている添付ファイルの数を返します。\n\n```arcade\n// Returns the number of attachments associated with the feature\nCount(Attachments($feature))\n```\n\n","completion":{"label":"Attachments","detail":"Attachments(inputFeature, options?) -> Array<Attachment>","insertText":"Attachments(${1:inputFeature_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[バージョン以降 1.6](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n入力フィーチャに関連付けられたアタッチメントのリストを返します。 各結果には、アタッチメントの名前、コンテンツのタイプ、ID、およびサイズ (バイト単位) が含まれます。 フィーチャ サービスから作成されたフィーチャにのみ適用されます。\n\n**パラメーター**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - このフィーチャに関連付けられている添付ファイルが、サービスから取得されます。\n- **options** (_Optional_): [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - リクエストの設定。 ディクショナリのプロパティ:\n\n - **types**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - 取得するファイル タイプを表すテキスト値の配列。 \n設定可能な値: `bmp`、`ecw`、`emf`、`eps`、`ps`、`gif`、`img`、`jp2`、`jpc`、`j2k`、`jpf`、`jpg`、`jpeg`、`jpe`、`png`、`psd`、`raw`、`sid`、`tif`、 `tiff`、`wmf`、`wps`、`avi`、`mpg`、`mpe`、`mpeg`、`mov`、`wmv`、`aif`、`mid`、`rmi`、`mp2`、`mp3`、`mp4`、`pma`、`mpv2`、`qt`、`ra`、 `ram`、`wav`、`wma`、`doc`、`docx`、`dot`、`xls`、`xlsx`、`xlt`、`pdf`、`ppt`、`pptx`、`txt`、`zip`、`7z`、`gz`、`gtar`、`tar`、`tgz`、 `vrml`、`gml`、`json`、`xml`、`mdb`、`geodatabase`\n - **minsize**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 添付ファイルのバイト単位の最小ファイル サイズ。\n - **maxsize**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 添付ファイルのバイト単位の最大ファイル サイズ。\n - **metadata** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - 戻り関数に添付ファイルのメタデータを含めるかどうかを示します。 現在、画像の Exif メタデータのみがサポートされています。\n\n**戻り値**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment)>"}},"parametersInfo":{"min":1,"max":2}},{"type":"function","name":"average","bundle":"data-access","sinceVersion":"1.5","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#average","description":"FeatureSet の所定の数値フィールドの平均値を返します。","examples":"\n**例**\n\n該当するフィーチャの人口とレイヤー内のすべてのフィーチャの平均人口の差を算出します。\n\n```arcade\n$feature.population - Average($layer, 'population')\n```\n\nレイヤー内のすべてのフィーチャの平方マイルあたりの平均人口を算出します。\n\n```arcade\nAverage($layer, 'population / area')\n```\n\n","completion":{"label":"Average","detail":"Average(features, fieldNameOrSQLExpression) -> Number","insertText":"Average(${1:features_}, ${2:fieldNameOrSQLExpression_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[バージョン以降 1.5](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nFeatureSet の所定の数値フィールドの平均値を返します。\n\n**パラメーター**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 演算の実行対象となる FeatureSet。\n- **fieldNameOrSQLExpression**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 統計情報が入力 FeatureSet から算出される数値フィールドまたは SQL92 式の名前を指定します。\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"}},"parametersInfo":{"min":2,"max":2}},{"type":"function","name":"contains","bundle":"data-access","sinceVersion":"1.7","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#contains","description":"入力ジオメトリに含まれるフィーチャを FeatureSet から返します。 以下の図で、赤でハイライトされた部分は関数がフィーチャを返す場合の空間リレーションシップを示しています。\n\n** `$feature` をこの関数の入力値として使用すると、ビューの縮尺解像度と同じ精度の結果しか生成されません。 したがって、この関数を使用した式から返される値は、縮尺を変更して拡大/縮小した後で変わることがあります。**","examples":"\n**例**\n\n特定のポリゴンに含まれているフィーチャの数を返します\n\n```arcade\nvar parcels = FeatureSetByName($map, 'parcels')\nvar projectArea = $feature;\nCount(Contains(projectArea, parcels));\n```\n\n","completion":{"label":"Contains","detail":"Contains(containerGeometry, insideFeatures) -> FeatureSet","insertText":"Contains(${1:containerGeometry_}, ${2:insideFeatures_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[バージョン以降 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n入力ジオメトリに含まれるフィーチャを FeatureSet から返します。 以下の図で、赤でハイライトされた部分は関数がフィーチャを返す場合の空間リレーションシップを示しています。\n\n** `$feature` をこの関数の入力値として使用すると、ビューの縮尺解像度と同じ精度の結果しか生成されません。 したがって、この関数を使用した式から返される値は、縮尺を変更して拡大/縮小した後で変わることがあります。**\n\n**パラメーター**\n\n- **containerGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - `insideFeatures` との 'contains' リレーションシップをテストするジオメトリです。 このジオメトリは、`insideFeatures` の潜在的な 'container' として考えます。\n- **insideFeatures**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - `containerGeometry` との 'within' リレーションシップをテストする FeatureSet です。\n\n**戻り値**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"}},"parametersInfo":{"min":2,"max":2}},{"type":"function","name":"count","bundle":"data-access","sinceVersion":"1.5","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#count","description":"FeatureSet 内のフィーチャの数を返します。","examples":"\n**例**\n\nレイヤー内のフィーチャの数を返します。\n\n```arcade\nCount($layer)\n```\n\n","completion":{"label":"Count","detail":"Count(features) -> Number","insertText":"Count(${1:features_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[バージョン以降 1.5](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nFeatureSet 内のフィーチャの数を返します。\n\n**パラメーター**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - フィーチャの数のカウント元となる FeatureSet。\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"}},"parametersInfo":{"min":1,"max":1}},{"type":"function","name":"crosses","bundle":"data-access","sinceVersion":"1.3","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#crosses","description":"入力ジオメトリをクロスするフィーチャを FeatureSet から返します。 以下の図で、赤でハイライトされた部分は関数がフィーチャを返す場合の空間リレーションシップを示しています。\n\n_視覚化とラベリングのプロファイルにある Feature ジオメトリは、 描画パフォーマンスを向上するために、表示の縮尺解像度に応じて単純化されます。 このため、これらのコンテキストで、フィーチャのジオメトリ (即ち `$feature`) をジオメトリ関数の入力値として使用すると、 縮尺レベルごとに異なる結果が返されます。 その他のプロファイル (ポップアップなど) では、最大解像度のジオメトリが提供されます。_","examples":"\n**例**\n\n特定のポリゴンとクロスしている FeatureSet 内のフィーチャの数を返します。\n\n```arcade\nvar geom2 = Polygon({ ... });\nCount( Crosses($layer, geom2) );\n```\n\n","completion":{"label":"Crosses","detail":"Crosses(features, crossingGeometry) -> FeatureSet","insertText":"Crosses(${1:features_}, ${2:crossingGeometry_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[バージョン以降 1.3](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n入力ジオメトリをクロスするフィーチャを FeatureSet から返します。 以下の図で、赤でハイライトされた部分は関数がフィーチャを返す場合の空間リレーションシップを示しています。\n\n_視覚化とラベリングのプロファイルにある Feature ジオメトリは、 描画パフォーマンスを向上するために、表示の縮尺解像度に応じて単純化されます。 このため、これらのコンテキストで、フィーチャのジオメトリ (即ち `$feature`) をジオメトリ関数の入力値として使用すると、 縮尺レベルごとに異なる結果が返されます。 その他のプロファイル (ポップアップなど) では、最大解像度のジオメトリが提供されます。_\n\n**パラメーター**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 入力 `crossingGeometry` とのクロス リレーションシップをテストするフィーチャ。\n- **crossingGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - クロスされるジオメトリ。\n\n**戻り値**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"}},"parametersInfo":{"min":2,"max":2}},{"type":"function","name":"distinct","bundle":"data-access","sinceVersion":"1.8","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#distinct","description":"FeatureSet から一連の個別値または一意の値を返します。","examples":"\n**例**\n\n'Status' 列を持つ FeatureSet を返します。 FeatureSet の各行には、一意のステータス値が含まれています\n\n```arcade\nDistinct($layer, 'Status')\n```\n\n'Status' 列と 'Type' 列を持つ FeatureSet を返します。 FeatureSet の各行には、'Status' および 'Type' の値の一意の組み合わせが含まれています\n\n```arcade\nDistinct($layer, ['Status', 'Type'])\n```\n\nDensity 列の行に Low、High、N/A の値が含まれる FeatureSet を返します\n\n```arcade\nDistinct($layer, {\n name: \"Density\",\n expression: \"CASE WHEN PopDensity < 100 THEN 'Low' WHEN PopDensity >= 100 THEN 'High' ELSE 'N/A' END\"\n})\n```\n\nScore 列と Type 列を持つ FeatureSet を返します\n\n```arcade\nDistinct($layer, [{\n name: 'Score',\n expression: 'POPULATION_DENSITY * 0.65 + Status_Code * 0.35'\n}, {\n name: 'Type',\n expression: 'Category'\n}])\n```\n\n","completion":{"label":"Distinct","detail":"Distinct(features, fields) -> FeatureSet","insertText":"Distinct(${1:features_}, ${2:fields_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[バージョン以降 1.8](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nFeatureSet から一連の個別値または一意の値を返します。\n\n**パラメーター**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 個別値を返す FeatureSet です。\n- **fields**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary)> - 個別値を判別するフィールド/条件式です。 このパラメーターには、フィールド名の配列、条件式の配列、 ディクショナリまたはオブジェクトの配列を使用でき、個別値を格納する出力列名を指定します。 ディクショナリを指定した場合、次の仕様を使用する必要があります。\n\n - **name**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 所定の条件式の結果を格納する列の名前。\n - **expression**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 個別値を計算する SQL-92 条件式。\n\n**戻り値**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"}},"parametersInfo":{"min":2,"max":2}},{"type":"function","name":"domain","bundle":"data-access","sinceVersion":"1.11","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#domain","description":"指定された `featureSet` の所定のフィールドに割り当てられたドメインを返します。 `featureSet` がサブタイプを持つクラスに属している場合、サブタイプに割り当てられたドメインを返します。","examples":"\n**例**\n\nフィーチャのサブタイプに割り当てられたドメイン。\n\n```arcade\nvar fsPole = FeatureSetByName($layer, \"Pole\", 1);\nvar d = Domain(fsPole, \"poleType\")\n// the poleType field has a coded value domain called poleTypes\n// the value of d will be\n// {\n// type: \"codedValue\" ,\n// name: \"poleTypesThreePhase\",\n// dataType: \"number\",\n// codedValues: [\n// { name: \"Unknown\", code: 0 },\n// { name: \"Wood\", code: 1 },\n// { name: \"Steel\", code: 2 }\n// { name: \"Reinforced Steel\", code: 3 }\n// ]\n// }\n```\n\n","completion":{"label":"Domain","detail":"Domain(features, fieldName, subtype?) -> Dictionary","insertText":"Domain(${1:features_}, ${2:fieldName_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[バージョン以降 1.11](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n指定された `featureSet` の所定のフィールドに割り当てられたドメインを返します。 `featureSet` がサブタイプを持つクラスに属している場合、サブタイプに割り当てられたドメインを返します。\n\n**パラメーター**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - ドメインを保持するフィールドを含むフィーチャの FeatureSet です。\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ドメインを含むフィールドの名前です (フィールドのエイリアスではありません)。\n- **subtype** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - フィーチャがサブタイプをサポートしている場合のサブタイプのコード値。\n\n**戻り値**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \n以下のプロパティで記述されているディクショナリを返します。\n\n- **type**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ドメインのタイプ (`codedValue` または `range` のいずれか)。\n- **name**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ドメイン名。\n- **dataType**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ドメイン フィールドのデータ タイプ。 値は `esriFieldTypeSmallInteger`、`esriFieldTypeInteger`、`esriFieldTypeBigInteger`、`esriFieldTypeSingle`、`esriFieldTypeDouble`、 `esriFieldTypeString`、`esriFieldTypeDate`、`esriFieldTypeOID`、`esriFieldTypeGeometry`、`esriFieldTypeBlob`、 `esriFieldTypeRaster`、`esriFieldTypeGUID`、`esriFieldTypeGlobalID`、`esriFieldTypeXML` のいずれかです。\n- **min**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - `range` ドメインにのみ適用されます。 ドメインの最小値。\n- **max**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - `range` ドメインにのみ適用されます。 ドメインの最大値。\n- **codedValues**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary)> - `codedValue` ドメインにのみ適用されます。 フィールドの有効な値を記述する辞書の配列。 それぞれの辞書には、実際のフィールド値を保持する `code` プロパティと、 値のわかりやすい説明を保持する `name` プロパティがあります (例: `{ code: 1, name: \\\"pavement\\\" }`)。"}},"parametersInfo":{"min":2,"max":3}},{"type":"function","name":"domaincode","bundle":"data-access","sinceVersion":"1.7","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#domaincode","description":"FeatureSet 内の関連付けられたドメインの説明のコードを返します。","examples":"\n**例**\n\n参照されているフィールドのドメインの説明を出力します。\n\n```arcade\nDomainCode($layer, 'Enabled', 'True', subtype)\n```\n\n","completion":{"label":"DomainCode","detail":"DomainCode(features, fieldName, value, subtype?) -> Number,Text","insertText":"DomainCode(${1:features_}, ${2:fieldName_}, ${3:value_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[バージョン以降 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nFeatureSet 内の関連付けられたドメインの説明のコードを返します。\n\n**パラメーター**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - ドメインを保持するフィールドを含むフィーチャ セットです。\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ドメインを含むフィールドの名前です (フィールドのエイリアスではありません)。\n- **value**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - コードに再変換する値です。 返されるコードは、サービス メタデータから取得されます。\n- **subtype** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text) - フィーチャ セットがサブタイプをサポートしている場合のサブタイプのコード番号または名前です。\n\n**戻り値**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)"}},"parametersInfo":{"min":3,"max":4}},{"type":"function","name":"domainname","bundle":"data-access","sinceVersion":"1.7","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#domainname","description":"FeatureSet 内のドメイン コードの説明的な名前を返します。","examples":"\n**例**\n\n参照されているフィールドのドメインの説明を出力します\n\n```arcade\nDomainName($layer, 'fieldName')\n```\n\n","completion":{"label":"DomainName","detail":"DomainName(features, fieldName, code?, subtype?) -> Text","insertText":"DomainName(${1:features_}, ${2:fieldName_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[バージョン以降 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nFeatureSet 内のドメイン コードの説明的な名前を返します。\n\n**パラメーター**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - ドメインを保持するフィールドを含む FeatureSet です。\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ドメインを含むフィールドの名前です (フィールドのエイリアスではありません)。\n- **code** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 目的を説明する名前に関連付けられているコードです。 返されるコードは、サービス メタデータから取得されます。\n- **subtype** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text) - FeatureSet がサブタイプをサポートしている場合のサブタイプのコード番号または名前です。\n\n**戻り値**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"}},"parametersInfo":{"min":2,"max":4}},{"type":"function","name":"envelopeintersects","bundle":"data-access","sinceVersion":"1.11","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#envelopeintersects","description":"一連のフィーチャのエンベロープ (または範囲) が別のジオメトリのエンベロープと交差するフィーチャを FeatureSet から返します。 以下の図で、赤でハイライトされた部分は関数がフィーチャを返す場合の空間リレーションシップを示しています。\n\n_視覚化とラベリングのプロファイルにある Feature ジオメトリは、 描画パフォーマンスを向上するために、表示の縮尺解像度に応じて単純化されます。 このため、これらのコンテキストで、フィーチャのジオメトリ (即ち `$feature`) をジオメトリ関数の入力値として使用すると、 縮尺レベルごとに異なる結果が返されます。 その他のプロファイル (ポップアップなど) では、最大解像度のジオメトリが提供されます。_","examples":"\n**例**\n\ngeom2 のエンベロープと交差しているフィーチャの数を返します\n\n```arcade\nvar geom2 = Polygon({ ... });\nCount( EnvelopeIntersects($layer, geom2) );\n```\n\n","completion":{"label":"EnvelopeIntersects","detail":"EnvelopeIntersects(features, envelope) -> FeatureSet","insertText":"EnvelopeIntersects(${1:features_}, ${2:envelope_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[バージョン以降 1.11](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n一連のフィーチャのエンベロープ (または範囲) が別のジオメトリのエンベロープと交差するフィーチャを FeatureSet から返します。 以下の図で、赤でハイライトされた部分は関数がフィーチャを返す場合の空間リレーションシップを示しています。\n\n_視覚化とラベリングのプロファイルにある Feature ジオメトリは、 描画パフォーマンスを向上するために、表示の縮尺解像度に応じて単純化されます。 このため、これらのコンテキストで、フィーチャのジオメトリ (即ち `$feature`) をジオメトリ関数の入力値として使用すると、 縮尺レベルごとに異なる結果が返されます。 その他のプロファイル (ポップアップなど) では、最大解像度のジオメトリが提供されます。_\n\n**パラメーター**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 入力 `envelope` との交差関係についてテストされる FeatureSet。\n- **envelope**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 交差されるエンベロープ。\n\n**戻り値**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"}},"parametersInfo":{"min":2,"max":2}},{"type":"function","name":"expects","bundle":"data-access","sinceVersion":"1.15","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#expects","description":"指定の FeatureSet の追加の属性をリクエストします。","examples":"\n**例**\n\nクラスター内のフィーチャの POPULATION フィールドをリクエスト\n\n```arcade\n// If the layer is clustered based on count,\n// only the OBJECTID field is requested by default.\n// To display the sum of the POPULATION field\n// for all features in the cluster, we must\n// explicitly request the POPULATION data. \nExpects($aggregatedFeatures, 'POPULATION')\nText(Sum($aggregatedFeatures, 'POPULATION'), '#,###')\n```\n\n","completion":{"label":"Expects","detail":"Expects(features, field1, [field2, ..., fieldN]?) -> Null","insertText":"Expects(${1:features_}, ${2:field1_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[バージョン以降 1.15](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) - リクエストされたフィールドの追加先のフィーチャ セット。\n- **field1**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 指定のフィーチャについてリクエストするフィールド名。 式で使用するために必要なフィールドのみをリストします。 必要に応じて、ワイルドカード文字 `*` を使用してすべてのフィールドをリクエストできます。 ただし、不必要なデータ量が読み込まれて、アプリのパフォーマンスに悪影響を及ぼすのを防ぐために、この文字の使用は避ける必要があります。 この値は、テキスト リテラルである必要があり、変数を使用することはできません。\n- **[field2, ..., fieldN]** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 指定のフィーチャについてリクエストするフィールド名の継続的なリスト。 式で使用するために必要なフィールドのみをリストします。 これらの値は、テキスト リテラルである必要があり、変数を使用することはできません。\n\n**戻り値**: Null"}},"parametersInfo":{"min":2,"max":-1}},[{"type":"function","name":"featureset","bundle":"data-access","sinceVersion":"1.5","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featureset1","description":"ArcGIS REST 仕様に基づいて新しい FeatureSet を JSON から作成します。 この例については、下記のスニペットをご参照ください。","examples":"\n**例**\n\nFeatureSet を JSON から作成します。\n\n```arcade\n// JSON representation of the feature used in the snippet below\n// {\n// 'fields': [{\n// 'alias': 'RANK',\n// 'name': 'RANK',\n// 'type': 'esriFieldTypeInteger'\n// }, {\n// 'alias': 'ELEV_m',\n// 'name': 'ELEV_m',\n// 'type': 'esriFieldTypeInteger'\n// }],\n// 'spatialReference': { 'wkid': 4326 },\n// 'geometryType': 'esriGeometryPoint',\n// 'features': [{\n// 'geometry': {\n// 'spatialReference': { 'wkid': 4326 },\n// 'x': -151.0063,\n// 'y': 63.069\n// },\n// 'attributes': {\n// 'RANK': 1,\n// 'ELEV_m': 6168\n// }\n// }]\n// };\n// The Dictionary representation of the FeatureSet must be a serialized text value\nvar features = FeatureSet('{\"fields\":[{\"alias\":\"RANK\",\"name\":\"RANK\",\"type\":\"esriFieldTypeInteger\"},{\"alias\":\"ELEV_m\",\"name\":\"ELEV_m\",\"type\":\"esriFieldTypeInteger\"}],\"spatialReference\":{\"wkid\":4326},\"geometryType\":\"esriGeometryPoint\",\"features\":[{\"geometry\":{\"spatialReference\":{\"wkid\":4326},\"x\":-151.0063,\"y\":63.069},\"attributes\":{\"RANK\":1,\"ELEV_m\":6168}}]}')\n```\n\n","completion":{"label":"FeatureSet","detail":"FeatureSet(definition) -> FeatureSet","insertText":"FeatureSet(${1:definition_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[バージョン以降 1.5](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nArcGIS REST 仕様に基づいて新しい FeatureSet を JSON から作成します。 この例については、下記のスニペットをご参照ください。\n\n**パラメーター**\n\n- **definition**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 一連のフィーチャを記述した JSON です。 JSON は、テキスト値として直列化されている必要があります。\n\n**戻り値**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"}},"parametersInfo":{"min":1,"max":1}},{"type":"function","name":"featureset","bundle":"data-access","sinceVersion":"1.19","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featureset2","description":"ArcGIS REST 仕様に基づいて JSON を表す新しい FeatureSet をディクショナリから作成します。 この例については、下記のスニペットをご参照ください。","examples":"\n**例**\n\nFeatureSet をディクショナリから作成します。\n\n```arcade\n// JSON representation of the feature used in the snippet below\nvar d = {\n fields: [{\n alias: 'RANK',\n name: 'RANK',\n type: 'esriFieldTypeInteger'\n }, {\n alias: 'ELEV_m',\n name: 'ELEV_m',\n type: 'esriFieldTypeInteger'\n }],\n spatialReference: { wkid: 4326 },\n geometryType: 'esriGeometryPoint',\n features: [{\n geometry: {\n spatialReference: { wkid: 4326 },\n x: -151.0063,\n y: 63.069\n },\n attributes: {\n RANK: 1,\n ELEV_m: 6168\n }\n }]\n };\nvar features = FeatureSet(d)\n```\n\n","completion":{"label":"FeatureSet","detail":"FeatureSet(definition) -> FeatureSet","insertText":"FeatureSet(${1:definition_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[バージョン以降 1.19](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nArcGIS REST 仕様に基づいて JSON を表す新しい FeatureSet をディクショナリから作成します。 この例については、下記のスニペットをご参照ください。\n\n**パラメーター**\n\n- **definition**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - 一連のフィーチャを記述した辞書です。\n\n**戻り値**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"}},"parametersInfo":{"min":1,"max":1}}],{"type":"function","name":"featuresetbyassociation","bundle":"data-access","sinceVersion":"1.9","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyassociation","description":"入力フィーチャと関連付けられているすべてのフィーチャを FeatureSet として返します。 これは、ユーティリティ ネットワークのワークフローでのみ使用されます。","examples":"\n**例**\n\n変圧器の下側のターミナルと接続の関連付けがあるすべての対象物を返します。\n\n```arcade\nFeatureSetByAssociation($feature, 'connected', 'Low');\n```\n\nフィーチャに関連付けられている電気デバイスの数を返します。\n\n```arcade\nvar allContent = FeatureSetByAssociation ($feature, \"content\");\nvar devicesRows = Filter(allContent, \"className = 'Electric Device'\");\nvar devicesCount = Count(devicesRows);\nreturn devicesCount;\n```\n\n","completion":{"label":"FeatureSetByAssociation","detail":"FeatureSetByAssociation(inputFeature, associationType, terminalName?) -> FeatureSet","insertText":"FeatureSetByAssociation(${1:inputFeature_}, ${2:associationType_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[バージョン以降 1.9](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n入力フィーチャと関連付けられているすべてのフィーチャを FeatureSet として返します。 これは、ユーティリティ ネットワークのワークフローでのみ使用されます。\n\n**パラメーター**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 関連付けられているすべてのフィーチャをクエリするフィーチャです。 このフィーチャはフィーチャ サービスから取得される必要があります。フィーチャ コレクションはサポートされていません。\n- **associationType**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 返されるフィーチャとの関連付けのタイプです。 \n 設定可能な値: `connected` \\| `container` \\| `content` \\| `structure` \\| `attached` \n バージョン 1.10 で追加された設定可能な値: `junctionEdge` \\| `midspan`\n- **terminalName** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - `connected` 関連付けタイプにのみ適用されます。\n\n**戻り値**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) \n以下の表で説明されているフィールドの仕様を持つフィーチャを含む FeatureSet を返します。\n\n- **className**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - `TONETWORKSOURCEID` または `FROMNETWORKSOURCEID` の値に基づくクラス名。\n- **globalId**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 他のテーブル内のフィーチャの Global ID (`TOGLOBALID` または `FROMGLOBALID` の値)。\n- **isContentVisible**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - `1` (表示) または `0` (非表示) の値を使用できます。 この値は関連する格納器の表示設定を表し、格納の関連付けにのみ適用されます。\n- **objectId**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 関連付けテーブル内の行の ObjectID。\n- **percentAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - `midspan` 関連付けタイプに適用されます。 エッジに沿ったジャンクションの位置を (比率として) 示す 0 ~ 1 の浮動小数を返します。\n- **side**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - `junctionEdge` 関連付けタイプに適用されます。 ジャンクションがどちら側にあるかを示します。\n\n設定可能な値: `from` または `to`"}},"parametersInfo":{"min":2,"max":3}},{"type":"function","name":"featuresetbyid","bundle":"data-access","sinceVersion":"1.5","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyid","description":"マップ内またはフィーチャ サービス内のレイヤー ID に基づいて、FeatureSet をフィーチャ レイヤーから作成します。 リクエスト内のフィールドの数を制限し、ジオメトリを除外すると、スクリプトのパフォーマンスが上がることがあります。","examples":"\n**例**\n\n特定のマップ内で ID が DemoLayerWM_1117 のレイヤーに含まれるフィーチャの数を返します。\n\n```arcade\nvar features = FeatureSetById($map,'DemoLayerWM_1117', ['*'], true);\nCount( features );\n```\n\n","completion":{"label":"FeatureSetById","detail":"FeatureSetById(featureSetCollection, id, fields?, includeGeometry?) -> FeatureSet","insertText":"FeatureSetById(${1:featureSetCollection_}, ${2:id_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[バージョン以降 1.5](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nマップ内またはフィーチャ サービス内のレイヤー ID に基づいて、FeatureSet をフィーチャ レイヤーから作成します。 リクエスト内のフィールドの数を制限し、ジオメトリを除外すると、スクリプトのパフォーマンスが上がることがあります。\n\n**パラメーター**\n\n- **featureSetCollection**: [FeatureSetCollection](https://developers.arcgis.com/arcade/guide/types/#featuresetcollection) - FeatureSet の作成元となる 1 つ以上のレイヤーを含むマップまたはフィーチャ サービスです。 通常、この値は `$map` または `$datastore` グローバルです。\n- **id**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 特定の「マップ」内のレイヤーの ID です。 このレイヤーはフィーチャ サービスから作成される必要があります。フィーチャ コレクションはサポートされていません。 _この値はテキスト リテラルである必要があることに注意してください。_\n- **fields** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - FeatureSet に挿入するフィールドです。 デフォルトでは、すべてのフィールドが挿入されます。 レイヤー内のすべてのフィールドをリクエストするには、この値を `['*']` に設定します。 フィールドの数を制限すると、スクリプトのパフォーマンスが上がります。\n- **includeGeometry** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - ジオメトリをフィーチャに含めるかどうかを示します。 デフォルトではこれは `true` です。 パフォーマンス上の理由で、ジオメトリのリクエストのみ行う必要があります (必要に応じて、 ジオメトリ関数で使用する場合など)。\n\n**戻り値**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"}},"parametersInfo":{"min":2,"max":4}},{"type":"function","name":"featuresetbyname","bundle":"data-access","sinceVersion":"1.5","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyname","description":"マップ内またはフィーチャ サービス内の名前に基づいて、FeatureSet をフィーチャ レイヤーから作成します。 この名前が必ずしも一意でないということに、注意してください。 そのため、「FeatureSetById()」を使用して FeatureSet を作成するのが、より適切です。 FeatureSet 内のフィールドの数を制限し、ジオメトリを除外すると、スクリプトのパフォーマンスが上がることがあります。","examples":"\n**例**\n\n特定のマップ内でタイトルが 'Bike routes’ のレイヤーに含まれるフィーチャの数を返します。\n\n```arcade\nvar features = FeatureSetByName($map,'Bike routes', ['*'], true);\nCount(features);\n```\n\n","completion":{"label":"FeatureSetByName","detail":"FeatureSetByName(featureSetCollection, title, fields?, includeGeometry?) -> FeatureSet","insertText":"FeatureSetByName(${1:featureSetCollection_}, ${2:title_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[バージョン以降 1.5](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nマップ内またはフィーチャ サービス内の名前に基づいて、FeatureSet をフィーチャ レイヤーから作成します。 この名前が必ずしも一意でないということに、注意してください。 そのため、「FeatureSetById()」を使用して FeatureSet を作成するのが、より適切です。 FeatureSet 内のフィールドの数を制限し、ジオメトリを除外すると、スクリプトのパフォーマンスが上がることがあります。\n\n**パラメーター**\n\n- **featureSetCollection**: [FeatureSetCollection](https://developers.arcgis.com/arcade/guide/types/#featuresetcollection) - FeatureSet の作成元となる 1 つ以上のレイヤーを含むマップまたはフィーチャ サービスです。 通常、この値は `$map` または `$datastore` グローバルです。\n- **title**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 特定の「マップ」内のレイヤーのタイトルです。 このレイヤーはフィーチャ サービスから作成される必要があります。フィーチャ コレクションはサポートされていません。 _この値はテキスト リテラルである必要があることに注意してください。_\n- **fields** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - FeatureSet に挿入するフィールドです。 デフォルトでは、すべてのフィールドが挿入されます。 レイヤー内のすべてのフィールドをリクエストするには、この値を `['*']` に設定します。 フィールドの数を制限すると、スクリプトのパフォーマンスが上がります。\n- **includeGeometry** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - ジオメトリをフィーチャに含めるかどうかを示します。 デフォルトではこれは `true` です。 パフォーマンス上の理由で、ジオメトリのリクエストのみ行う必要があります (必要に応じて、 ジオメトリ関数で使用する場合など)。\n\n**戻り値**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"}},"parametersInfo":{"min":2,"max":4}},{"type":"function","name":"featuresetbyrelationshipclass","bundle":"data-access","sinceVersion":"1.24","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass","description":"所定のリレーションシップ クラスの名前に基づいて、所定のフィーチャの関連レコードを返します。","examples":"\n**例**\n\n街灯検査の関連レコードの数を返す\n\n```arcade\n// A calculation rule that returns the count of a pole inspection records.\n// When a pole feature is updated the calculation rule reads all its related inspections records from the comments field and returns the total inspection count for that feature.\nvar fsinspected = FeatureSetByRelationshipClass($feature, “pole_inspection”, [“comments”], false);\nreturn Count(fsinspected);\n```\n\n","completion":{"label":"FeatureSetByRelationshipClass","detail":"FeatureSetByRelationshipClass(inputFeature, relationshipClass, fieldNames?, includeGeometry?) -> FeatureSet","insertText":"FeatureSetByRelationshipClass(${1:inputFeature_}, ${2:relationshipClass_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[バージョン以降 1.24](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- **relationshipClass**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - データ ソースで定義されているリレーションシップ クラスの名前。\n- **fieldNames** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - FeatureSet に返すフィールドです。 このリストには、リレーションシップ テーブルと入力フィーチャのフィールドが含まれます。\n- **includeGeometry** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - 結果のフィーチャのジオメトリを返すかどうかを示します。\n\n**戻り値**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)\n\n**参考資料**\n\n* [Attribute rules and relationship classes](https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/attribute-rules-and-relationship-classes.htm)\n"}},"parametersInfo":{"min":2,"max":4}},{"type":"function","name":"featuresetbyrelationshipname","bundle":"data-access","sinceVersion":"1.8","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipname","description":"所定のフィーチャの関連レコードを FeatureSet として返します。","examples":"\n**例**\n\nすべての関連レコードで、複数のフィールドの合計を返します\n\n```arcade\nvar results = FeatureSetByRelationshipName($feature, 'Election_Results', ['*'], false)\nSum(results, 'democrat + republican + other')\n```\n\n","completion":{"label":"FeatureSetByRelationshipName","detail":"FeatureSetByRelationshipName(inputFeature, relationshipName, fieldNames?, includeGeometry?) -> FeatureSet","insertText":"FeatureSetByRelationshipName(${1:inputFeature_}, ${2:relationshipName_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[バージョン以降 1.8](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n所定のフィーチャの関連レコードを FeatureSet として返します。\n\n**パラメーター**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 関連レコードを取得するフィーチャ。\n- **relationshipName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 所定のフィーチャと関連付けられているフィーチャ サービスに基づくリレーションシップの名前です。\n- **fieldNames** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - FeatureSet に返すフィールドです。 このリストには、リレーションシップ テーブルと入力フィーチャのフィールドが含まれます。\n- **includeGeometry** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - 結果のフィーチャのジオメトリを返すかどうかを示します。\n\n**戻り値**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"}},"parametersInfo":{"min":2,"max":4}},{"type":"function","name":"filter","bundle":"data-access","sinceVersion":"1.5","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#filter","description":"SQL92 式フィルターを通過するすべてのフィーチャを持つ新しい FeatureSet を作成します。","examples":"\n**例**\n\nSQL92 式を使用してフィーチャをフィルタリングします。\n\n```arcade\n// Returns all features with a Population greater than 10,000\nvar result = Filter($layer, 'POPULATION > 10000');\n```\n\nSQL92 式と変数置換を使用してフィーチャをフィルタリングします。\n\n```arcade\n// Returns all features with a Population greater than the dataset average\nvar averageValue = Average($layer, 'POPULATION')\nvar result = Filter($layer, 'POPULATION > @averageValue');\n```\n\n","completion":{"label":"Filter","detail":"Filter(features, sqlExpression) -> FeatureSet","insertText":"Filter(${1:features_}, ${2:sqlExpression_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[バージョン以降 1.5](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nSQL92 式フィルターを通過するすべてのフィーチャを持つ新しい FeatureSet を作成します。\n\n**パラメーター**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - フィルタリング対象の FeatureSet またはレイヤーです。\n- **sqlExpression**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - レイヤー内のフィーチャのフィルタリングに使用される SQL92 式です。 この式では、`@` 文字を使用して Arcade 変数を置換することができます。 例については、下記のスニペットをご参照ください。\n\n**戻り値**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"}},"parametersInfo":{"min":2,"max":2}},{"type":"function","name":"filterbysubtypecode","bundle":"data-access","sinceVersion":"1.25","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#filterbysubtypecode","description":"指定のサブタイプ コードと一致するすべてのフィーチャを持つ新しい FeatureSet を作成します。","examples":"\n**例**\n\nサブタイプ コードを持つフィーチャをフィルター\n\n```arcade\n// Returns all features that have the given subtype code\nFilterBySubtypeCode($layer, 5)\n```\n\n","completion":{"label":"FilterBySubtypeCode","detail":"FilterBySubtypeCode(features, subtypeCode) -> FeatureSet","insertText":"FilterBySubtypeCode(${1:features_}, ${2:subtypeCode_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","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)"}},"parametersInfo":{"min":2,"max":2}},{"type":"function","name":"first","bundle":"data-access","sinceVersion":"1.5","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#first","description":"FeatureSet 内の最初のフィーチャを返します。 FeatureSet が空の場合に `null` を返します。","examples":"\n**例**\n\nレイヤー内の最初のフィーチャの面積を返します。\n\n```arcade\nArea( First($layer) )\n```\n\n","completion":{"label":"First","detail":"First(features) -> Feature","insertText":"First(${1:features_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[バージョン以降 1.5](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nFeatureSet 内の最初のフィーチャを返します。 FeatureSet が空の場合に `null` を返します。\n\n**パラメーター**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 最初のフィーチャが返される元の FeatureSet です。\n\n**戻り値**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature)"}},"parametersInfo":{"min":1,"max":1}},{"type":"function","name":"gdbversion","bundle":"data-access","sinceVersion":"1.12","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#gdbversion","description":"ブランチまたはバージョン対応データの現在のジオデータベース バージョン名を返します。 複数ユーザー ジオデータベースにデータがない場合、空のテキスト値が返されます。","examples":"\n**例**\n\n所定の FeatureSet のジオデータベース バージョンを返します。\n\n```arcade\nGdbVersion($layer)\n```\n\n","completion":{"label":"GdbVersion","detail":"GdbVersion(features) -> Text","insertText":"GdbVersion(${1:features_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[バージョン以降 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nブランチまたはバージョン対応データの現在のジオデータベース バージョン名を返します。 複数ユーザー ジオデータベースにデータがない場合、空のテキスト値が返されます。\n\n**パラメーター**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 現在のジオデータベース バージョンを返す FeatureSet です。\n\n**戻り値**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)\n\n**参考資料**\n\n* [Overview of Versioning](https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/overview-of-versioning-in-arcgis-pro.htm)\n"}},"parametersInfo":{"min":1,"max":1}},{"type":"function","name":"getfeatureset","bundle":"data-access","si