공지사항:
2025년 4월 15일 전에 Earth Engine 사용을 위해 등록된 모든 비상업용 프로젝트는 Earth Engine 액세스를 유지하기 위해
비상업용 자격 요건을 인증해야 합니다.
ee.Geometry.LinearRing
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
LinearRing을 설명하는 ee.Geometry를 생성합니다. 마지막 점이 첫 번째 점과 같지 않으면 첫 번째 점의 중복이 끝에 추가됩니다.
편의를 위해 모든 인수가 숫자인 경우 varargs를 사용할 수 있습니다. 이를 통해 짝수 개의 인수가 주어지면 최단 거리 EPSG:4326 LinearRings를 만들 수 있습니다(예: ee.Geometry.LinearRing(aLng, aLat, bLng, bLat, ..., aLng, aLat)).
사용 | 반환 값 |
---|
ee.Geometry.LinearRing(coords, proj, geodesic, maxError) | Geometry.LinearRing |
인수 | 유형 | 세부정보 |
---|
coords | List<Geometry>|List<List<Number>>|List<Number> | 링의 점 목록입니다. GeoJSON 'LinearRing' 형식의 좌표 목록, 점을 설명하는 ee.Geometry 객체 3개 이상의 목록 또는 3개 이상의 점의 [x,y] 좌표를 정의하는 숫자 6개 이상의 목록일 수 있습니다. |
proj | 투영(선택사항) | 이 도형의 투영입니다. 지정하지 않으면 입력 ee.Geometry의 투영이 기본값으로 설정되며, ee.Geometry 입력이 없는 경우 EPSG:4326이 기본값으로 설정됩니다. |
geodesic | 불리언, 선택사항 | false인 경우 모서리가 투영에서 직선입니다. true인 경우 모서리가 지구 표면에서 가장 짧은 경로를 따라 곡선으로 표시됩니다. 기본값은 입력의 측지선 상태입니다. 입력이 숫자인 경우 기본값은 true입니다. |
maxError | ErrorMargin(선택사항) | 입력 형상을 명시적으로 요청된 결과 투영 또는 최단 거리 상태로 다시 투영해야 할 때의 최대 오류입니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eDefines a closed ring on the Earth's surface, ensuring the last point connects back to the first.\u003c/p\u003e\n"],["\u003cp\u003eAllows simplified creation of geodesic (EPSG:4326) rings using a series of longitude and latitude values.\u003c/p\u003e\n"],["\u003cp\u003eAccepts various input formats for ring coordinates, including GeoJSON, ee.Geometry objects, or raw numerical coordinates.\u003c/p\u003e\n"],["\u003cp\u003eProjection and geodesic behavior can be customized; defaults to input projection or EPSG:4326 with geodesic edges if unspecified.\u003c/p\u003e\n"],["\u003cp\u003eIncludes an optional parameter to control error during reprojection for precise geometry handling.\u003c/p\u003e\n"]]],["This code constructs a `LinearRing` geometry. It takes a list of coordinates (`coords`), an optional projection (`proj`), an optional geodesic setting, and an optional maximum error (`maxError`). If the last point in `coords` isn't the same as the first, it adds a duplicate. Varargs can be used with numbers, creating geodesic EPSG:4326 LinearRings. `coords` can be a list of coordinates, point geometries, or numbers. `geodesic` determines if edges are straight or curved.\n"],null,["# ee.Geometry.LinearRing\n\n\u003cbr /\u003e\n\nConstructs an ee.Geometry describing a LinearRing. If the last point is not equal to the first, a duplicate of the first point will be added at the end.\n\n\u003cbr /\u003e\n\nFor convenience, varargs may be used when all arguments are numbers. This allows creating geodesic EPSG:4326 LinearRings given an even number of arguments, e.g. ee.Geometry.LinearRing(aLng, aLat, bLng, bLat, ..., aLng, aLat).\n\n| Usage | Returns |\n|--------------------------------------------------------------------------|---------------------|\n| `ee.Geometry.LinearRing(coords, `*proj* `, `*geodesic* `, `*maxError*`)` | Geometry.LinearRing |\n\n| Argument | Type | Details |\n|------------|----------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `coords` | List\\\u003cGeometry\\\u003e\\|List\\\u003cList\\\u003cNumber\\\u003e\\\u003e\\|List\\\u003cNumber\\\u003e | A list of points in the ring. May be a list of coordinates in the GeoJSON 'LinearRing' format, a list of at least three ee.Geometry objects describing a point, or a list of at least six numbers defining the \\[x,y\\] coordinates of at least three points. |\n| `proj` | Projection, optional | The projection of this geometry. If unspecified, the default is the projection of the input ee.Geometry, or EPSG:4326 if there are no ee.Geometry inputs. |\n| `geodesic` | Boolean, optional | 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, optional | Max error when input geometry must be reprojected to an explicitly requested result projection or geodesic state. |"]]