ঘোষণা :
15 এপ্রিল, 2025 এর আগে আর্থ ইঞ্জিন ব্যবহার করার জন্য নিবন্ধিত সমস্ত অবাণিজ্যিক প্রকল্পগুলিকে অবশ্যই আর্থ ইঞ্জিন অ্যাক্সেস বজায় রাখার জন্য
অ-বাণিজ্যিক যোগ্যতা যাচাই করতে হবে।
ee.Geometry.LineString
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি লাইনস্ট্রিং বর্ণনা করে একটি ee.Geometry তৈরি করে।
সুবিধার জন্য, সব আর্গুমেন্ট সংখ্যা হলে varargs ব্যবহার করা যেতে পারে। এটি জিওডেসিক EPSG:4326 লাইনস্ট্রিং তৈরি করতে দেয় যা সম সংখ্যক আর্গুমেন্ট দেওয়া হয়, যেমন ee.Geometry.LineString(aLng, aLat, bLng, bLat, ...)।
ব্যবহার | রিটার্নস | ee.Geometry.LineString(coords, proj , geodesic , maxError ) | জ্যামিতি.লাইনস্ট্রিং |
যুক্তি | টাইপ | বিস্তারিত | coords | তালিকা<জ্যামিতি>|তালিকা<তালিকা<নম্বর>>|তালিকা<সংখ্যা> | কমপক্ষে দুই পয়েন্টের তালিকা। জিওজেএসএন 'লাইনস্ট্রিং' ফরম্যাটে স্থানাঙ্কের একটি তালিকা হতে পারে, কমপক্ষে দুটি ee. জ্যামিতি বস্তুর একটি তালিকা যা একটি বিন্দুকে বর্ণনা করে, অথবা কমপক্ষে দুটি বিন্দুর [x,y] স্থানাঙ্ককে সংজ্ঞায়িত করে অন্তত চারটি সংখ্যার একটি তালিকা। |
proj | অভিক্ষেপ, ঐচ্ছিক | এই জ্যামিতির অভিক্ষেপ। অনির্দিষ্ট থাকলে, ডিফল্ট হল ইনপুট ee.Geometry এর অভিক্ষেপ, অথবা EPSG:4326 যদি কোনো ee.Geometry ইনপুট না থাকে। |
geodesic | বুলিয়ান, ঐচ্ছিক | মিথ্যা হলে, প্রজেকশনে প্রান্তগুলি সোজা হয়। সত্য হলে, পৃথিবীর পৃষ্ঠে সবচেয়ে ছোট পথ অনুসরণ করতে প্রান্তগুলি বাঁকা হয়। ডিফল্ট হল ইনপুটগুলির জিওডেসিক অবস্থা, বা ইনপুটগুলি সংখ্যা হলে সত্য। |
maxError | ErrorMargin, ঐচ্ছিক | সর্বাধিক ত্রুটি যখন ইনপুট জ্যামিতি একটি স্পষ্টভাবে অনুরোধ করা ফলাফল অভিক্ষেপ বা জিওডেসিক অবস্থায় পুনরায় প্রজেক্ট করা আবশ্যক৷ |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eCreates a LineString geometry, which represents a line segment on Earth's surface.\u003c/p\u003e\n"],["\u003cp\u003eAccepts a list of coordinates, projection, geodesic setting, and error margin for construction.\u003c/p\u003e\n"],["\u003cp\u003eAllows convenient creation of geodesic lines using coordinate pairs (longitude, latitude).\u003c/p\u003e\n"],["\u003cp\u003eDefaults to EPSG:4326 projection if no input geometry's projection is specified.\u003c/p\u003e\n"],["\u003cp\u003eEnables both straight and curved line representations based on the \u003ccode\u003egeodesic\u003c/code\u003e parameter.\u003c/p\u003e\n"]]],[],null,["# ee.Geometry.LineString\n\n\u003cbr /\u003e\n\nConstructs an ee.Geometry describing a LineString.\n\n\u003cbr /\u003e\n\nFor convenience, varargs may be used when all arguments are numbers. This allows creating geodesic EPSG:4326 LineStrings given an even number of arguments, e.g. ee.Geometry.LineString(aLng, aLat, bLng, bLat, ...).\n\n| Usage | Returns |\n|--------------------------------------------------------------------------|---------------------|\n| `ee.Geometry.LineString(coords, `*proj* `, `*geodesic* `, `*maxError*`)` | Geometry.LineString |\n\n| Argument | Type | Details |\n|------------|----------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `coords` | List\\\u003cGeometry\\\u003e\\|List\\\u003cList\\\u003cNumber\\\u003e\\\u003e\\|List\\\u003cNumber\\\u003e | A list of at least two points. May be a list of coordinates in the GeoJSON 'LineString' format, a list of at least two ee.Geometry objects describing a point, or a list of at least four numbers defining the \\[x,y\\] coordinates of at least two 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. |"]]