편의를 위해 모든 인수가 숫자인 경우 varargs를 사용할 수 있습니다. 이를 통해 짝수 개의 인수가 주어지면 단일 LinearRing으로 최단 거리 EPSG:4326 다각형을 만들 수 있습니다(예: ee.Geometry.Polygon(aLng, aLat, bLng, bLat, ..., aLng, aLat)).
다각형의 경계를 정의하는 링 목록입니다. GeoJSON 'Polygon' 형식의 좌표 목록, LinearRing을 설명하는 ee.Geometry 객체 목록 또는 단일 다각형 경계를 정의하는 숫자 목록일 수 있습니다.
proj
투영(선택사항)
이 도형의 투영입니다. 기본값은 입력의 투영이며, 여기서 숫자는 EPSG:4326으로 간주됩니다.
geodesic
불리언, 선택사항
false인 경우 모서리가 투영에서 직선입니다. true인 경우 모서리가 지구 표면에서 가장 짧은 경로를 따라 곡선으로 표시됩니다. 기본값은 입력의 측지선 상태입니다. 입력이 숫자인 경우 기본값은 true입니다.
maxError
ErrorMargin(선택사항)
입력 형상을 명시적으로 요청된 결과 투영 또는 최단 거리 상태로 다시 투영해야 할 때의 최대 오류입니다.
evenOdd
불리언, 선택사항
true인 경우 다각형 내부는 홀수/짝수 규칙에 따라 결정됩니다. 무한대의 점에 도달하기 위해 홀수 개의 모서리를 교차하는 경우 점이 내부에 있습니다. 그렇지 않으면 다각형은 왼쪽 내부 규칙을 사용합니다. 이 규칙에 따라 지정된 순서로 꼭짓점을 따라 이동할 때 내부가 셸의 가장자리 왼쪽에 있습니다. 지정하지 않으면 기본값은 true입니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-08(UTC)"],[[["`ee.Geometry.Polygon` constructs a polygon geometry in Earth Engine, accepting coordinates, projection, geodesic, max error, and even/odd parameters for customization."],["Input coordinates can be provided as GeoJSON 'Polygon' format, a list of `ee.Geometry.LinearRing` objects, or a list of coordinate pairs for the boundary."],["By default, the projection is derived from inputs (numbers assumed as EPSG:4326), edges are straight unless `geodesic` is true, and interiors are determined using the even/odd rule."],["Optional parameters allow for specifying projection, geodesic behavior, maximum error for reprojection, and even/odd rule for polygon interiors."],["Conveniently, polygons can be created with a single LinearRing using varargs for providing coordinate pairs in EPSG:4326."]]],["This describes the `ee.Geometry.Polygon` constructor, which creates a polygon geometry. Key actions include defining polygon boundaries using a list of rings (in GeoJSON format, as `ee.Geometry.LinearRing` objects, or coordinate pairs). The constructor accepts optional parameters: `proj` (projection), `geodesic` (edge curvature), `maxError` (reprojection error), and `evenOdd` (interior rule). Default values are provided if the parameters are omitted, and the input arguments dictate them.\n"]]