공지사항:
2025년 4월 15일 전에 Earth Engine 사용을 위해 등록된 모든 비상업용 프로젝트는 Earth Engine 액세스를 유지하기 위해
비상업용 자격 요건을 인증해야 합니다.
ee.Algorithms.GeometryConstructors.Polygon
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
지정된 좌표에서 다각형을 생성합니다.
사용 | 반환 값 |
---|
ee.Algorithms.GeometryConstructors.Polygon(coordinates, crs, geodesic, maxError, evenOdd) | 도형 |
인수 | 유형 | 세부정보 |
---|
coordinates | 목록 | 첫 번째는 셸이고 나머지는 구멍인 LinearRing 목록입니다. 단순 다각형의 경우 x,y 순서의 점 또는 숫자 쌍 목록입니다. |
crs | 예상, 기본값: null | 좌표의 좌표 참조 시스템입니다. 기본값은 입력의 투영이며, 여기서 숫자는 EPSG:4326으로 간주됩니다. |
geodesic | 불리언, 기본값: null | false인 경우 모서리가 투영에서 직선입니다. true인 경우 모서리가 지구 표면에서 가장 짧은 경로를 따라 곡선으로 표시됩니다. 기본값은 입력의 측지선 상태입니다. 입력이 숫자인 경우 기본값은 true입니다. |
maxError | ErrorMargin, 기본값: null | 입력 형상을 명시적으로 요청된 결과 투영 또는 최단 거리 상태로 다시 투영해야 할 때의 최대 오류입니다. |
evenOdd | 불리언, 기본값: true | true인 경우 다각형 내부는 짝수/홀수 규칙에 따라 결정됩니다. 무한대의 점에 도달하기 위해 홀수 개의 모서리를 교차하는 경우 점이 내부에 있습니다. 그렇지 않으면 다각형은 왼쪽 내부 규칙을 사용합니다. 이 규칙에서는 지정된 순서로 꼭짓점을 따라 이동할 때 셸의 가장자리의 왼쪽에 내부가 있습니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eCreates a polygon geometry from a list of coordinates, representing its outer boundary (shell) and optionally inner boundaries (holes).\u003c/p\u003e\n"],["\u003cp\u003eAllows customization of the coordinate system (\u003ccode\u003ecrs\u003c/code\u003e), whether edges are straight or follow Earth's curvature (\u003ccode\u003egeodesic\u003c/code\u003e), and error tolerance during reprojection (\u003ccode\u003emaxError\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eDefines polygon interiors using either the even/odd rule (default) or the left-inside rule, affecting how points within the polygon are identified.\u003c/p\u003e\n"]]],[],null,["# ee.Algorithms.GeometryConstructors.Polygon\n\nConstructs a Polygon from the given coordinates.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------------------------------------------------------------------------------------------|----------|\n| `ee.Algorithms.GeometryConstructors.Polygon(coordinates, `*crs* `, `*geodesic* `, `*maxError* `, `*evenOdd*`)` | Geometry |\n\n| Argument | Type | Details |\n|---------------|----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `coordinates` | List | A list of LinearRings where the first is the shell and the rest are holes, or for a simple polygon, a list of Points or pairs of Numbers in x,y order. |\n| `crs` | Projection, default: null | The coordinate reference system of the coordinates. The default is the projection of the inputs, where Numbers are assumed to be EPSG:4326. |\n| `geodesic` | Boolean, default: null | If false, edges are straight in the projection. If true, edges are curved to follow the shortest path on the surface of the Earth. The default is the geodesic state of the inputs, or true if the inputs are numbers. |\n| `maxError` | ErrorMargin, default: null | Max error when input geometry must be reprojected to an explicitly requested result projection or geodesic state. |\n| `evenOdd` | Boolean, default: true | If true, polygon interiors will be determined by the even/odd rule, where a point is inside if it crosses an odd number of edges to reach a point at infinity. Otherwise polygons use the left-inside rule, where interiors are on the left side of the shell's edges when walking the vertices in the given order. |"]]