ee.Algorithms.GeometryConstructors.LinearRing
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Tworzy obiekt LinearRing na podstawie podanych współrzędnych, automatycznie dodając pierwszy punkt na końcu, jeśli pierścień nie jest wyraźnie zamknięty.
Wykorzystanie | Zwroty |
---|
ee.Algorithms.GeometryConstructors.LinearRing(coordinates, crs, geodesic, maxError) | Geometria |
Argument | Typ | Szczegóły |
---|
coordinates | Lista | Lista punktów lub par liczb w kolejności x,y. |
crs | Prognoza, domyślnie: NULL | Układ współrzędnych. Domyślnie jest to projekcja danych wejściowych, w której wartości liczbowe są traktowane jako EPSG:4326. |
geodesic | Wartość logiczna, domyślnie: null | Jeśli jest ustawiona na wartość false (fałsz), krawędzie są proste w projekcji. Jeśli ma wartość Prawda, krawędzie są zaokrąglone, aby prowadzić najkrótszą drogą po powierzchni Ziemi. Domyślnie jest to stan geodezyjny danych wejściowych lub wartość „prawda”, jeśli dane wejściowe są liczbami. |
maxError | ErrorMargin, domyślnie: null | Maksymalny błąd, gdy geometria wejściowa musi zostać przeprojektowana na wyraźnie żądaną projekcję wyników lub stan geodezyjny. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[[["\u003cp\u003eCreates a LinearRing geometry from a list of coordinates, closing it automatically if needed.\u003c/p\u003e\n"],["\u003cp\u003eAccepts coordinates as Points or number pairs (x,y), optionally specifying a coordinate reference system (CRS) and geodesic behavior.\u003c/p\u003e\n"],["\u003cp\u003eDefaults to EPSG:4326 CRS and geodesic lines if the inputs are numbers or have a geodesic state.\u003c/p\u003e\n"]]],[],null,["# ee.Algorithms.GeometryConstructors.LinearRing\n\nConstructs a LinearRing from the given coordinates, automatically adding the first point at the end if the ring is not explicitly closed.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------------------------------------------------------------------------------|----------|\n| `ee.Algorithms.GeometryConstructors.LinearRing(coordinates, `*crs* `, `*geodesic* `, `*maxError*`)` | Geometry |\n\n| Argument | Type | Details |\n|---------------|----------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `coordinates` | List | The 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. |"]]