تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تحويل الشكل الهندسي إلى إسقاط محدّد
الاستخدام
المرتجعات
Polygon.transform(proj, maxError)
هندسة
الوسيطة
النوع
التفاصيل
هذا: geometry
هندسة
تمثّل هذه السمة الشكل الهندسي المطلوب إعادة عرضه.
proj
التوقّعات، اختيارية
الإسقاط المستهدف القيمة التلقائية هي EPSG:4326. إذا كان هذا العنصر يتضمّن نظام إحداثيات مرجعيًا جغرافيًا، سيتم تفسير حواف الشكل الهندسي على أنّها خطوط جيوديسية. وفي ما عدا ذلك، سيتم تفسيرها على أنّها خطوط مستقيمة في الإسقاط.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["Transforms the provided geometry to a new projection, specified by the `proj` argument."],["By default, the geometry is projected to EPSG:4326 (WGS 84), treating edges as geodesics if the target projection is geographic."],["Users can specify a maximum projection error tolerance using the `maxError` parameter."],["The `transform` function returns a new Geometry object representing the transformed geometry."]]],["The `transform` function reprojects a geometry to a specified projection. It accepts the target projection (`proj`) and an optional maximum error (`maxError`). The function returns the transformed geometry. If no projection is provided, it defaults to EPSG:4326. The provided geometry's edges are interpreted as geodesics in geographic coordinate systems and as straight lines otherwise. The input `geometry` is reprojected.\n"]]