UNPKG

@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 996 kB
[{"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\nคำนวณค่าสูงสุดของสี่ค่าฟิลด์\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":"ai_functions","title":"ก้_AI functions_____________ษฺ","items":[{"type":"function","name":"translatetext","bundle":"ai","sinceVersion":"1.32","link":"https://developers.arcgis.com/arcade/function-reference/ai_functions/#translatetext","description":"ก้__This function is currently in beta. While in beta, AI functions do not consume credits. The use of AI services may not be allowed in your organization. You can view and change this in the AI Assistants section of the Organization settings page._____________________________________________________________________________________________________________________________ษฺ\n\nก้_Translates input text from a source language into one or more target languages. Language codes (e.g. \"en\" for English, \"es\" for Spanish) specify the languages involved. The underlying machine translation service uses AI to generate the translated output________________________________________________________________________________________________________________________________ษฺ.","examples":"\n**ตัวอย่าง**\n\nก้_Translates the text 'Hello world' to the locale of the client or system_____________________________________ษฺ.\n\n```arcade\nvar locale = GetEnvironment().locale;\nvar result = TranslateText('Hello world', locale);\n// result will be a dictionary with the translated text\nif (result.success){\n if(HasValue(result, [\"results\", 0, \"translation\"])){\n // returns \"Hola mundo\" if the device locale is 'es'\n result.results[0].translation[locale];\n }\n if (HasValue(result, [\"results\", 0, \"text\"])){\n // returns \"Hello world\" if translation could not be performed\n result.results[0].text;\n }\n}\nreturn \"Translation not successful\";\n```\n\n","completion":{"label":"TranslateText","detail":"TranslateText(inputText, toLanguages, fromLanguage?) -> Dictionary","insertText":"TranslateText(${1:inputText_}, ${2:toLanguages_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[ตั้งแต่เวอร์ชัน 1.32](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nก้__This function is currently in beta. While in beta, AI functions do not consume credits. The use of AI services may not be allowed in your organization. You can view and change this in the AI Assistants section of the Organization settings page._____________________________________________________________________________________________________________________________ษฺ\n\nก้_Translates input text from a source language into one or more target languages. Language codes (e.g. \"en\" for English, \"es\" for Spanish) specify the languages involved. The underlying machine translation service uses AI to generate the translated output________________________________________________________________________________________________________________________________ษฺ.\n\n**พารามิเตอร์**\n\n- **inputText**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - ก้_The text to translate. This can be a single text value or an array of text values__________________________________________ษฺ.\n- **toLanguages**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - ก้_The target language(s) to translate to. This can be a single language code or an array of language codes______________________________________________________ษฺ.\n- **fromLanguage** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ก้_The source language of the input text. If not specified, the service will attempt to auto-detect the source language____________________________________________________________ษฺ.\n\n**ส่งคืนค่า**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nก้_A dictionary containing the translated text_______________________ษฺ.\n\n- **success**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - ก้_Indicates whether the translation was successful. This value will be `false` if the use of AI services is not allowed in your organization. You can view and change this in the AI Assistants section of the Organization settings page_____________________________________________________________________________________________________________________ษฺ.\n- **results**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary)&gt; - ก้_An array of dictionaries containing the translation results for each `inputText` value_____________________________________________ษฺ.\n\n - **key**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ก้_The index of the input text or language in the original array________________________________ษฺ.\n - **text**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ก้_The input text that was translated___________________ษฺ.\n - **detectedLanguage**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - ก้_The detected language of the input text, if applicable_____________________________ษฺ.\n\n - **language**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ก้_The language code of the detected language_______________________ษฺ.\n - **score**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ก้_The confidence score of the detected language. Values range from 0 to 1, where 1 indicates high confidence. A value of `-1` indicates that the language was not detected______________________________________________________________________________________ษฺ.\n - **translation**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - ก้_A dictionary of translated values where the key is the language code and the value is the translation____________________________________________________ษฺ.\n\n**ทรัพยากรเพิ่มเติม**\n\n* [Supported language codes](https://developers.arcgis.com/javascript/latest/localization/#locale-support)\n"}},"parametersInfo":{"min":2,"max":3}}]},{"id":"enterprise_functions","title":"ฟังก์ชัน Enterprise","items":[{"type":"function","name":"nextsequencevalue","bundle":"database","sinceVersion":"1.4","link":"https://developers.arcgis.com/arcade/function-reference/enterprise_functions/#nextsequencevalue","description":"ส่งคืนค่าลำดับถัดไปจากลำดับฐานข้อมูลที่ระบุ หากไม่มี `inputSequenceName` อยู่ นิพจน์จะผิดพลาด","examples":"\n**ตัวอย่าง**\n\nส่งคืนตัวเลขพร้อมค่าลำดับถัดไป\n\n```arcade\nNextSequenceValue('PipeIDSeq')\n```\n\n","completion":{"label":"NextSequenceValue","detail":"NextSequenceValue(sequenceName) -> Number","insertText":"NextSequenceValue(${1:sequenceName_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[ตั้งแต่เวอร์ชัน 1.4](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nส่งคืนค่าลำดับถัดไปจากลำดับฐานข้อมูลที่ระบุ หากไม่มี `inputSequenceName` อยู่ นิพจน์จะผิดพลาด\n\n**พารามิเตอร์**\n\n- **sequenceName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ชื่อของลำดับ จะต้องมีการกำหนดค่าไว้ในฐานข้อมูลอยู่แล้ว\n\n**ส่งคืนค่า**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"}},"parametersInfo":{"min":1,"max":1}}]},{"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":"ส่งคืนพื้นที่ของอินพุทฟีเจอร์เซ็ตในหน่วยที่กำหนด นี่คือการวัดเชิงระนาบด้วยระบบคาร์ทีเซียนในทางคณิตศาสตร์\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ส่งคืนพื้นที่ของอินพุทฟีเจอร์เซ็ตในหน่วยที่กำหนด นี่คือการวัดเชิงระนาบด้วยระบบคาร์ทีเซียนในทางคณิตศาสตร์\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://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic7922.html#i-heading-remarks)\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":"ส่งคืนพื้นที่บนสัณฐานโลกของอินพุทฟีเจอร์เซ็ตในหน่วยที่กำหนด ส่วนนี้จะเป็นการวัดพื้นที่ที่น่าเชื่อถือว่า `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?, curveType?) -> 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ส่งคืนพื้นที่บนสัณฐานโลกของอินพุทฟีเจอร์เซ็ตในหน่วยที่กำหนด ส่วนนี้จะเป็นการวัดพื้นที่ที่น่าเชื่อถือว่า `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- **curveType** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ก้__Since 1.31_ The type of curve to use for the geodetic area calculation_____________________________________ษฺ. ก้_If no value is provided, the default is `Geodesic`____________________________ษฺ. \nก้_Possible values___________________ษฺ: \n ก้_- `Geodesic` - Defined by the shortest distance between two points on an ellipsoid_____________________________________________ษฺ. \n ก้_- `GreatElliptic` - Defined by the intersection of a plane that contains the center of the spheroid and the spheroid surface and passes through two points. This is also known as a great circle when a sphere is used. It is not necessarily the shortest path between two points_____________________________________________________________________________________________________________________________________________ษฺ. \n ก้_- `Loxodrome` - Defined by the line of constant bearing, or azimuth, between two points. It represents a rhumb-line path on the earth that crosses each meridian at the same acute angle, thus forming a spiral that converges on the north or south pole. The Mercator projection shows loxodromes as straight lines______________________________________________________________________________________________________________________________________________________________ษฺ. \n ก้_- `NormalSection` - Defined by the intersection of a plane that passes through two points on the surface of the spheroid and is perpendicular to the surface at the first point. It is not necessarily the shortest path between two points_________________________________________________________________________________________________________________________ษฺ. \n ก้_- `ShapePreserving` - The segment shape is preserved in the projection where it is defined. This is often used in situations where maintaining the visual representation of a feature is crucial, like when working with boundaries or coastlines___________________________________________________________________________________________________________________________ษฺ.\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://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic7922.html#i-heading-remarks)\n"}},"parametersInfo":{"min":1,"max":3}},{"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)&lt;[Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - อาร์เรย์ของค่าข้อความที่แสดงประเภทไฟล์ที่จะดึงข้อมูล \nก้_Possible Values: `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)&lt;[Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment)&gt;"}},"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":"ส่งคืนค่าเฉลี่ยของฟิลด์ตัวเลขที่กำหนดในฟีเจอร์เซ็ต","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\nส่งคืนค่าเฉลี่ยของฟิลด์ตัวเลขที่กำหนดในฟีเจอร์เซ็ต\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) - ระบุชื่อของฟิลด์ตัวเลข หรือนิพจน์ 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ก้_**Be aware that using `$feature` as input to this function will yield results only as precise as the view's scale resolution________________________________________________________________ษฺ. ก้_Therefore values returned from expressions using this function may change after zooming between scales.**______________________________________________________ษฺ","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ก้_**Be aware that using `$feature` as input to this function will yield results only as precise as the view's scale resolution________________________________________________________________ษฺ. ก้_Therefore values returned from expressions using this function may change after zooming between scales.**______________________________________________________ษฺ\n\n**พารามิเตอร์**\n\n- **containerGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - รูปทรงเรขาคณิตที่ทดสอบหาความสัมพันธ์ 'contains' กับ `insideFeatures` มองรูปทรงเรขาคณิตเป็นสิ่งที่อาจเป็น 'container' ของ `insideFeatures`\n- **insideFeatures**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - FeatureSet ที่ถูกทดสอบเพื่อหาความสัมพันธ์ 'within' กับ `containerGeometry`\n\n**ส่งคืนค่า**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)\n\n**ทรัพยากรเพิ่มเติม**\n\n* [Contains](https://esri.github.io/geometry-api-java/doc/Contains.html)\n"}},"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\nส่งคืนจำนวนของฟีเจอร์ใน FeatureSet\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 geometries in the visualization and labeling profiles________________________________ษฺ ก้_are generalized according to the view's scale resolution to improve drawing performance_____________________________________________ษฺ. ก้_Therefore, using a feature's geometry (i.e. `$feature`) as input to any geometry function in these contexts_______________________________________________________ษฺ ก้_will return different results at each scale level. Other profiles, such as popup, provide the full resolution geometry.______________________________________________________________ษฺ","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 geometries in the visualization and labeling profiles________________________________ษฺ ก้_are generalized according to the view's scale resolution to improve drawing performance_____________________________________________ษฺ. ก้_Therefore, using a feature's geometry (i.e. `$feature`) as input to any geometry function in these contexts_______________________________________________________ษฺ ก้_will return different results at each scale level. Other profiles, such as popup, provide the full resolution geometry.______________________________________________________________ษฺ\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)\n\n**ทรัพยากรเพิ่มเติม**\n\n* [Crosses](https://esri.github.io/geometry-api-java/doc/Crosses.html)\n"}},"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ส่งคืน FeatureSet ที่มีคอลัมน์ 'Status' แต่ละแถวของ FeatureSet จะมีค่าสถิติที่ไม่ซ้ำกัน\n\n```arcade\nDistinct($layer, 'Status')\n```\n\nส่งคืน FeatureSet ที่มีคอลัมน์ 'Status' และ 'Type' แต่ละแถวของ FeatureSet จะมีค่า 'Status' และ 'Type' รวมกันที่ไม่ซ้ำกัน\n\n```arcade\nDistinct($layer, ['Status', 'Type'])\n```\n\nส่งคืน 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\nส่งคืน FeatureSet ที่มีคอลัมน์ Score และ Type\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\nส่งคืนชุดค่าเฉพาะ หรือค่าที่ไม่ซ้ำกันจาก FeatureSet\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)&lt;[Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary)&gt; - ฟิลด์ และ/หรือนิพจน์ ที่จะกำหนดค่าที่ไม่ซ้ำกัน พารามิเตอร์นี้สามารถเป็นอาร์เรย์ของชื่อฟิลด์ อาร์เรย์ของนิพจน์ หรือพจนานุกรมหรืออาร์เรย์ของพจนานุกรมที่ระบุชื่อคอลัมน์เอาท์พุท ซึ่งจะจัดเก็บค่าที่ไม่ซ้ำกัน หากระบุพจนานุกรม จะต้องใช้ข้อมูลจำเพาะต่อไปนี้:\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) - ประเภทโดเมน - 'codeValue' หรือ '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)&lt;[Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary)&gt; - ใช้เฉพาะกับโดเมน '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\nส่งคืนรหัสของคำอธิบายโดเมนที่เชื่อมโยงใน FeatureSet\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\nส่งคืนสิ่งที่ได้ชื่อที่อธิบายสำหรับโดเมนโค้ดใน 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- **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":"ฟีเจอร์ส่งกลับจากชุดคุณลักษณะโดยที่ส่วนขยาย (หรือขอบเขต) ของชุดคุณลักษณะตัดกับส่วนขยายของรูปทรงอื่น ในกราฟิกด้านล่าง ไฮไลท์สีแดงจะแสดงถึงความสัมพันธ์เชิงพื้นที่ซึ่งฟังก์ชันจะส่งคืนฟีเจอร์\n\nเรขาคณิต _Feature ในโปรไฟล์การแสดงภาพและการติดป้ายกำกับ จะถูกตั้งเป็นค่าแบบทั่วไปตามความละเอียดสเกลของมุมมอง เพื่อเพิ่มประสิทธิภาพการวาด ดังนั้น ให้ใช้เรขาคณิตของฟีเจอร์ (เช่น `$feature`) เป็นอินพุทของฟังก์ชันเรขาคณิตใดๆ ในบริบทเหล่านี้ จะส่งคืนผลลัพธ์ที่แตกต่างกันในแต่ละระดับสเกล โปรไฟล์อื่นๆ เช่น ป็อปอัพ จะให้เรขาคณิตความละเอียดเต็มรูปแบบ","examples":"\n**ตัวอย่าง**\n\nส่งกลับจำนวนฟีเจอร์ที่ทับซ้อนกับส่วนขยาย\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ฟีเจอร์ส่งกลับจากชุดคุณลักษณะโดยที่ส่วนขยาย (หรือขอบเขต) ของชุดคุณลักษณะตัดกับส่วนขยายของรูปทรงอื่น ในกราฟิกด้านล่าง ไฮไลท์สีแดงจะแสดงถึงความสัมพันธ์เชิงพื้นที่ซึ่งฟังก์ชันจะส่งคืนฟีเจอร์\n\nเรขาคณิต _Feature ในโปรไฟล์การแสดงภาพและการติดป้ายกำกับ จะถูกตั้งเป็นค่าแบบทั่วไปตามความละเอียดสเกลของมุมมอง เพื่อเพิ่มประสิทธิภาพการวาด ดังนั้น ให้ใช้เรขาคณิตของฟีเจอร์ (เช่น `$feature`) เป็นอินพุทของฟังก์ชันเรขาคณิตใดๆ ในบริบทเหล่านี้ จะส่งคืนผลลัพธ์ที่แตกต่างกันในแต่ละระดับสเกล โปรไฟล์อื่นๆ เช่น ป็อปอัพ จะให้เรขาคณิตความละเอียดเต็มรูปแบบ\n\n**พารามิเตอร์**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - FeatureSet ถูกทดสอบการตัดกันของความสัมพันธ์กับ `envelope`\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":"สร้าง FeatureSet ใหม่จาก JSON ตามสเปคของ ArcGIS REST ดูตัวอย่างเกี่ยวกับเรื่องนี้ได้จาก snippet ด้านล่าง","examples":"\n**ตัวอย่าง**\n\nสร้างฟีเจอร์เซ็ตจาก 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\nสร้าง FeatureSet ใหม่จาก JSON ตามสเปคของ ArcGIS REST ดูตัวอย่างเกี่ยวกับเรื่องนี้ได้จาก snippet ด้านล่าง\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":"สร้าง FeatureSet ใหม่จากพจนานุกรมที่จะแสดง JSON ตามข้อมูลจำเพาะ ArcGIS REST ดูตัวอย่างเกี่ยวกับเรื่องนี้ได้จาก snippet ด้านล่าง","examples":"\n**ตัวอย่าง**\n\nสร้าง FeatureSet จากพจนานุกรม\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\nสร้าง FeatureSet ใหม่จากพจนานุกรมที่จะแสดง JSON ตามข้อมูลจำเพาะ ArcGIS REST ดูตัวอย่างเกี่ยวกับเรื่องนี้ได้จาก snippet ด้านล่าง\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