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 684 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\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":"**[Since version 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":"**[Since version 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":"**[Since version 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":"**[Since version 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":"**[Since version 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":"**[Since version 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":"**[Since version 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`)를 지오메트리 함수에 대한 입력으로 사용하면 축척 수준에 따라 각기 다른 결과가 반환됩니다. 팝업과 같은 기타 프로파일은 전체 해상도 지오메트리를 제공합니다._","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":"**[Since version 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n입력 FeatureSet의 영역을 지정된 단위로 반환합니다. 이는 직교 좌표를 사용한 평면 측정입니다.\n\n_시각화 및 레이블 지정 프로파일의 피처 지오메트리는 그리기 성능을 개선하기 위해 뷰의 축척 해상도에 따라 일반화됩니다. 따라서 이러한 컨텍스트에서 피처의 지오메트리(즉, `$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**Return value**: [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`)를 지오메트리 함수에 대한 입력으로 사용하면 축척 수준에 따라 각기 다른 결과가 반환됩니다. 팝업과 같은 기타 프로파일은 전체 해상도 지오메트리를 제공합니다._","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":"**[Since version 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n입력 FeatureSet의 측지 영역을 지정된 단위로 반환합니다. 이는 `Area()`보다 면적을 더욱 정확하게 측정합니다. 길이를 더욱 정확하게 측정합니다.\n\n_시각화 및 레이블 지정 프로파일의 피처 지오메트리는 그리기 성능을 개선하기 위해 뷰의 축척 해상도에 따라 일반화됩니다. 따라서 이러한 컨텍스트에서 피처의 지오메트리(즉, `$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**Return value**: [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":"**[Since version 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가능한 값: `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**Return value**: [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":"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":"**[Since version 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**Return value**: [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":"**[Since version 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) - `contains`와 'insideFeatures' 관계에 대해 테스트된 지오메트리입니다. 해당 지오메트리를 `insideFeatures`의 잠재적인 'container'라고 생각하세요.\n- **insideFeatures**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - `containerGeometry`에 대한 'within' 관계를 확인하기 위해 테스트되는 FeatureSet입니다.\n\n**Return value**: [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":"**[Since version 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**Return value**: [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`)를 지오메트리 함수에 대한 입력으로 사용하면 축척 수준에 따라 각기 다른 결과가 반환됩니다. 팝업과 같은 기타 프로파일은 전체 해상도 지오메트리를 제공합니다._","examples":"\n**예시**\n\n지정된 폴리곤을 교차하는 피처 모음의 피처 수를 반환합니다.\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":"**[Since version 1.3](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n입력 지오메트리와 교차하는 FeatureSet의 피처를 반환합니다. 아래의 그래픽에서 빨간색으로 강조된 부분은 함수가 피처를 반환하는 공간 관계를 나타냅니다.\n\n_시각화 및 레이블 지정 프로파일의 피처 지오메트리는 그리기 성능을 개선하기 위해 뷰의 축척 해상도에 따라 일반화됩니다. 따라서 이러한 컨텍스트에서 피처의 지오메트리(즉, `$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**Return value**: [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을 반환합니다. 피처 모음의 각 행에는 고유한 통계 값이 포함되어 있습니다.\n\n```arcade\nDistinct($layer, 'Status')\n```\n\n'Status' 및 'Type' 열이 있는 FeatureSet을 반환합니다. 피처 모음의 각 행에는 'Status' 값과 'Type' 값의 고유한 조합이 포함되어 있습니다.\n\n```arcade\nDistinct($layer, ['Status', 'Type'])\n```\n\nLow, High, N/A 값이 행에 포함될 수 있는 Density 열이 있는 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":"**[Since version 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)&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**Return value**: [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":"**[Since version 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**Return value**: [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)&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":"**[Since version 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**Return value**: [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":"**[Since version 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**Return value**: [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`)를 지오메트리 함수에 대한 입력으로 사용하면 축척 수준에 따라 각기 다른 결과가 반환됩니다. 팝업과 같은 기타 프로파일은 전체 해상도 지오메트리를 제공합니다._","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":"**[Since version 1.11](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n피처 모음의 엔빌롭(또는 범위)가 다른 지오메트리의 엔빌롭과 교차하는 FeatureSet에서 피처를 반환합니다. 아래의 그래픽에서 빨간색으로 강조된 부분은 함수가 피처를 반환하는 공간 관계를 나타냅니다.\n\n_시각화 및 레이블 지정 프로파일의 피처 지오메트리는 그리기 성능을 개선하기 위해 뷰의 축척 해상도에 따라 일반화됩니다. 따라서 이러한 컨텍스트에서 피처의 지오메트리(즉, `$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**Return value**: [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":"**[Since version 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**Return value**: 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 사양에 따라 JSON으로 새 FeatureSet을 생성합니다. 이에 대한 예시는 아래 코드 조각을 참고하세요.","examples":"\n**예시**\n\nJSON에서 FeatureSet을 생성합니다.‎\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":"**[Since version 1.5](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nArcGIS REST 사양에 따라 JSON으로 새 FeatureSet을 생성합니다. 이에 대한 예시는 아래 코드 조각을 참고하세요.\n\n**매개변수**\n\n- **definition**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 피처 모음을 설명하는 JSON입니다. JSON은 텍스트 값으로 직렬화해야 합니다.\n\n**Return value**: [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\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":"**[Since version 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**Return value**: [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":"**[Since version 1.9](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nFeatureSet의 입력 피처와 연관된 모든 피처를 반환합니다. 유틸리티 네트워크 워크플로에만 적용됩니다.\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**Return value**: [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) - 연관 테이블에 있는 행의 객체 ID입니다.\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":"**[Since version 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을 생성할 하나 이상의 레이어가 포함된 맵이나 피처 서비스입니다. 일반적으로, 해당 값은 `$map` 또는 `$datastore` global입니다.\n- **id**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 지정된 `맵`의 레이어 ID입니다. 이 레이어는 피처 서비스에서 생성해야 하며, 피처 컬렉션은 지원되지 않습니다. _이 값은 텍스트 리터럴이어야 합니다._\n- **fields** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - FeatureSet에 포함할 필드입니다. 기본 설정에 따라 모든 필드가 포함됩니다. 레이어에서 모든 필드를 요청하려면 해당 값을 `['*']`로 설정합니다. 필드 수를 제한하면 스크립트 성능이 향상됩니다.\n- **includeGeometry** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - 피처의 지오메트리 포함 여부를 나타냅니다. 기본 설정에 따라 `true`입니다. 성능상의 이유로 지오메트리 함수에 사용과 같이 필요한 경우에만 지오메트리를 요청해야 합니다.\n\n**Return value**: [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을 생성하는 것이 더 적절합니다. 피처 모음의 필드 수를 제한하고 지오메트리를 제외하면 스크립트의 성능을 개선할 수 있습니다.","examples":"\n**예시**\n\n지정된 맵에서 제목이 '자전거 도로'인 레이어의 피처 수를 반환합니다.\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":"**[Since version 1.5](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n맵이나 피처 서비스 내의 해당 이름을 기반으로 피처 레이어에서 FeatureSet을 생성합니다. 해당 이름이 반드시 고유해야 할 필요는 없습니다. 따라서 `FeatureSetById()`를 사용하여 FeatureSet을 생성하는 것이 더 적절합니다. 피처 모음의 필드 수를 제한하고 지오메트리를 제외하면 스크립트의 성능을 개선할 수 있습니다.\n\n**매개변수**\n\n- **featureSetCollection**: [FeatureSetCollection](https://developers.arcgis.com/arcade/guide/types/#featuresetcollection) - FeatureSet을 생성할 하나 이상의 레이어가 포함된 맵이나 피처 서비스입니다. 일반적으로, 해당 값은 `$map` 또는 `$datastore` global입니다.\n- **title**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 지정된 `맵`의 레이어 제목입니다. 이 레이어는 피처 서비스에서 생성해야 하며, 피처 컬렉션은 지원되지 않습니다. _이 값은 텍스트 리터럴이어야 합니다._\n- **fields** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - FeatureSet에 포함할 필드입니다. 기본 설정에 따라 모든 필드가 포함됩니다. 레이어에서 모든 필드를 요청하려면 해당 값을 `['*']`로 설정합니다. 필드 수를 제한하면 스크립트 성능이 향상됩니다.\n- **includeGeometry** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - 피처의 지오메트리 포함 여부를 나타냅니다. 기본 설정에 따라 `true`입니다. 성능상의 이유로 지오메트리 함수에 사용과 같이 필요한 경우에만 지오메트리를 요청해야 합니다.\n\n**Return value**: [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":"**[Since version 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)&lt;[Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - FeatureSet에 반환할 필드입니다. 이 목록에는 관계 테이블과 입력 피처의 필드가 포함됩니다.\n- **includeGeometry** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - 결과 피처의 지오메트리 반환 여부를 나타냅니다.\n\n**Return value**: [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":"**[Since version 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)&lt;[Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - FeatureSet에 반환할 필드입니다. 이 목록에는 관계 테이블과 입력 피처의 필드가 포함됩니다.\n- **includeGeometry** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - 결과 피처의 지오메트리 반환 여부를 나타냅니다.\n\n**Return value**: [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\n대체 변수가 포함된 SQL92 식을 사용하여 피처를 필터링합니다.\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":"**[Since version 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**Return value**: [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":"**[Since version 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n주어진 서브타입 코드와 일치하는 모든 피처를 사용하여 새 FeatureSet을 생성합니다.\n\n**매개변수**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 필터링할 FeatureSet 또는 레이어입니다.\n- **subtypeCode**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - FeatureSet 또는 레이어의 피처를 필터링하는 데 사용되는 서브타입 코드입니다.\n\n**Return value**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"}},"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":"**[Since version 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**Return value**: [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":"**[Since version 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**Return value**: [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","sin