ee.Algorithms.GeometryConstructors.LineString
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
از مختصات داده شده یک LineString می سازد.
استفاده | برمی گرداند | ee.Algorithms.GeometryConstructors.LineString(coordinates, crs , geodesic , maxError ) | هندسه |
استدلال | تایپ کنید | جزئیات | coordinates | فهرست کنید | لیست نقاط یا جفت اعداد به ترتیب x,y. |
crs | Projection، پیش فرض: null | سیستم مرجع مختصات مختصات. پیشفرض پیشبینی ورودیها است که در آن Numbers EPSG:4326 در نظر گرفته میشود. |
geodesic | Boolean، پیشفرض: null | اگر نادرست باشد، لبه ها در برآمدگی مستقیم هستند. اگر درست باشد، لبهها برای دنبال کردن کوتاهترین مسیر روی سطح زمین خمیده میشوند. حالت پیشفرض، وضعیت ژئودزیکی ورودیها است، یا اگر ورودیها عدد باشند، درست است. |
maxError | ErrorMargin، پیش فرض: null | حداکثر خطا در زمانی که هندسه ورودی باید به یک پیشبینی نتیجه درخواستی صریحاً یا حالت ژئودزیک بازتاب داده شود. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eCreates a LineString geometry from a list of coordinates.\u003c/p\u003e\n"],["\u003cp\u003eAccepts coordinates as either Points or coordinate pairs (x,y).\u003c/p\u003e\n"],["\u003cp\u003eAllows specifying the coordinate reference system (CRS) for the LineString, defaulting to EPSG:4326 if not provided.\u003c/p\u003e\n"],["\u003cp\u003eEnables creating geodesic or planar LineStrings by setting the 'geodesic' parameter, defaulting to true if the input is numerical coordinates.\u003c/p\u003e\n"]]],[],null,["# ee.Algorithms.GeometryConstructors.LineString\n\nConstructs a LineString from the given coordinates.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------------------------------------------------------------------------------|----------|\n| `ee.Algorithms.GeometryConstructors.LineString(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. |"]]