ঘোষণা :
15 এপ্রিল, 2025 এর আগে আর্থ ইঞ্জিন ব্যবহার করার জন্য নিবন্ধিত সমস্ত অবাণিজ্যিক প্রকল্পগুলিকে অবশ্যই আর্থ ইঞ্জিন অ্যাক্সেস বজায় রাখার জন্য
অ-বাণিজ্যিক যোগ্যতা যাচাই করতে হবে।
জ্যামিতি ওভারভিউ
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
আর্থ ইঞ্জিন Geometry
প্রকারের সাথে ভেক্টর ডেটা পরিচালনা করে। GeoJSON স্পেক আর্থ ইঞ্জিন দ্বারা সমর্থিত জ্যামিতির প্রকারের বিশদ বর্ণনা করে, যার মধ্যে Point
(কিছু প্রজেকশনে স্থানাঙ্কের একটি তালিকা), LineString
(বিন্দুগুলির একটি তালিকা), LinearRing
(একটি বন্ধ LineString
), এবং Polygon
( LinearRing
একটি তালিকা যেখানে প্রথমটি একটি শেল এবং পরবর্তী রিংগুলি রয়েছে)। আর্থ ইঞ্জিন MultiPoint
, MultiLineString
এবং MultiPolygon
সমর্থন করে। GeoJSON জ্যামিতি সংগ্রহটিও সমর্থিত, যদিও এর আর্থ ইঞ্জিনের মধ্যে MultiGeometry
নাম রয়েছে।
জ্যামিতি বস্তু তৈরি করা
আপনি কোড এডিটর জ্যামিতি টুল ব্যবহার করে ইন্টারেক্টিভভাবে জ্যামিতি তৈরি করতে পারেন। আরও তথ্যের জন্য আর্থ ইঞ্জিন কোড এডিটর পৃষ্ঠা দেখুন। প্রোগ্রাম্যাটিকভাবে একটি Geometry
তৈরি করতে, কন্সট্রাক্টরকে স্থানাঙ্কের সঠিক তালিকা(গুলি) প্রদান করুন। যেমন:
কোড এডিটর (জাভাস্ক্রিপ্ট)
var point = ee.Geometry.Point([1.5, 1.5]);
var lineString = ee.Geometry.LineString(
[[-35, -10], [35, -10], [35, 10], [-35, 10]]);
var linearRing = ee.Geometry.LinearRing(
[[-35, -10], [35, -10], [35, 10], [-35, 10], [-35, -10]]);
var rectangle = ee.Geometry.Rectangle([-40, -20, 40, 20]);
var polygon = ee.Geometry.Polygon([
[[-5, 40], [65, 40], [65, 60], [-5, 60], [-5, 60]]
]);
পূর্ববর্তী উদাহরণগুলিতে, মনে রাখবেন যে একটি LineString
এবং একটি LinearRing
মধ্যে পার্থক্য হল যে তালিকার শুরু এবং শেষে একই স্থানাঙ্ক থাকার দ্বারা LinearRing
"বন্ধ" হয়৷
একটি পৃথক Geometry
একাধিক জ্যামিতি নিয়ে গঠিত হতে পারে। একটি বহু-অংশের Geometry
তার উপাদান জ্যামিতিতে ভাঙতে, geometry.geometries()
ব্যবহার করুন। যেমন:
কোড এডিটর (জাভাস্ক্রিপ্ট)
// Create a multi-part feature.
var multiPoint = ee.Geometry.MultiPoint([[-121.68, 39.91], [-97.38, 40.34]]);
// Get the individual geometries as a list.
var geometries = multiPoint.geometries();
// Get each individual geometry from the list and print it.
var pt1 = geometries.get(0);
var pt2 = geometries.get(1);
print('Point 1', pt1);
print('Point 2', pt2);
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট 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\u003eEarth Engine uses the \u003ccode\u003eGeometry\u003c/code\u003e type to represent vector data, supporting various shapes like points, lines, and polygons, as defined in the GeoJSON specification.\u003c/p\u003e\n"],["\u003cp\u003eGeometries can be created interactively with the Code Editor tools or programmatically by providing coordinate lists to \u003ccode\u003eGeometry\u003c/code\u003e constructors.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLinearRing\u003c/code\u003e geometries are closed shapes where the starting and ending coordinates are the same, unlike \u003ccode\u003eLineString\u003c/code\u003e geometries.\u003c/p\u003e\n"],["\u003cp\u003eMulti-part geometries, such as \u003ccode\u003eMultiPoint\u003c/code\u003e or \u003ccode\u003eMultiPolygon\u003c/code\u003e, can be broken down into individual geometries using the \u003ccode\u003egeometries()\u003c/code\u003e method.\u003c/p\u003e\n"]]],["Earth Engine utilizes the `Geometry` type for vector data, supporting GeoJSON geometries like `Point`, `LineString`, `LinearRing`, and `Polygon`, along with their multi-part counterparts (`MultiPoint`, etc.). Geometries can be created interactively or programmatically by providing coordinate lists to constructors, as shown in the provided JavaScript code. `LinearRing` differs from `LineString` by being closed. Multi-part geometries can be disassembled into individual components using the `geometry.geometries()` method.\n"],null,["# Geometry Overview\n\nEarth Engine handles vector data with the `Geometry` type. The\n[GeoJSON spec](http://geojson.org/geojson-spec.html) describes in\ndetail the type of geometries supported by Earth Engine, including `Point`\n(a list of coordinates in some projection), `LineString` (a list of points),\n`LinearRing` (a closed `LineString`), and `Polygon` (a\nlist of `LinearRing`s where the first is a shell and subsequent rings are\nholes). Earth Engine also supports `MultiPoint`, `MultiLineString`,\nand `MultiPolygon`. The GeoJSON GeometryCollection is also supported, although\nit has the name `MultiGeometry` within Earth Engine.\n\nCreating Geometry objects\n-------------------------\n\nYou can create geometries interactively using the Code Editor geometry tools. See the\n[Earth Engine Code Editor page](/earth-engine/guides/playground#geometry-tools) for more\ninformation. To create a `Geometry` programmatically, provide the\nconstructor with the proper list(s) of coordinates. For example:\n\n### Code Editor (JavaScript)\n\n```javascript\nvar point = ee.Geometry.Point([1.5, 1.5]);\n\nvar lineString = ee.Geometry.LineString(\n [[-35, -10], [35, -10], [35, 10], [-35, 10]]);\n\nvar linearRing = ee.Geometry.LinearRing(\n [[-35, -10], [35, -10], [35, 10], [-35, 10], [-35, -10]]);\n\nvar rectangle = ee.Geometry.Rectangle([-40, -20, 40, 20]);\n\nvar polygon = ee.Geometry.Polygon([\n [[-5, 40], [65, 40], [65, 60], [-5, 60], [-5, 60]]\n]);\n```\n\nIn the previous examples, note that the distinction between a `LineString`\nand a `LinearRing` is that the `LinearRing` is \"closed\" by\nhaving the same coordinate at both the start and end of the list.\n\nAn individual `Geometry` may consist of multiple geometries. To break a\nmulti-part `Geometry` into its constituent geometries, use\n`geometry.geometries()`. For example:\n\n### Code Editor (JavaScript)\n\n```javascript\n// Create a multi-part feature.\nvar multiPoint = ee.Geometry.MultiPoint([[-121.68, 39.91], [-97.38, 40.34]]);\n\n// Get the individual geometries as a list.\nvar geometries = multiPoint.geometries();\n\n// Get each individual geometry from the list and print it.\nvar pt1 = geometries.get(0);\nvar pt2 = geometries.get(1);\nprint('Point 1', pt1);\nprint('Point 2', pt2);\n```"]]