{"id":6223,"date":"2023-01-04T12:40:33","date_gmt":"2023-01-04T09:10:33","guid":{"rendered":"https:\/\/en.geobox.ir\/developers\/?post_type=docs&#038;p=6223"},"modified":"2023-01-26T13:38:34","modified_gmt":"2023-01-26T10:08:34","slug":"working-with-mosaic-2","status":"publish","type":"docs","link":"https:\/\/en.geobox.ir\/developers\/docs\/mosaic\/working-with-mosaic-2\/","title":{"rendered":"Raster mosaic layer object"},"content":{"rendered":"<p>Tip: After you access the <a href=\"https:\/\/en.geobox.ir\/developers\/docs\/mosaic\/working-with-mosaic\/#3-toc-title\">mosaic layer<\/a> object, the following methods and properties are applicable on the mosaic layer.<\/p>\n<h2>Properties:<\/h2>\n<h3>uuid<\/h3>\n<p>Returns the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Universally_unique_identifier\">universally unique identifier\u00a0(UUID)<\/a> of the mosaic layer.<\/p>\n<p id=\"zoomin-returns\" class=\"unprose txt-m mb3 anchor mt12\"><strong>Returns:<\/strong><\/p>\n<p class=\"unprose txt-m mb3 anchor mt12\"><a href=\"https:\/\/www.geobox.ir\/\">uuid<\/a>: Returns uuid string.<\/p>\n<p><strong>Example:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">const mosaicLayerUuid = mosaicLayer.uuid;<\/pre>\n<h3>name<\/h3>\n<p>Returns the name of the mosaic layer.<\/p>\n<p id=\"zoomin-returns\" class=\"unprose txt-m mb3 anchor mt12\"><strong>Returns:<\/strong><\/p>\n<p class=\"unprose txt-m mb3 anchor mt12\">String: Returns name of mosaic layer.<\/p>\n<p><strong>Example:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">const mosaicLayerName = mosaicLayer.name;<\/pre>\n<h3>display_name<\/h3>\n<p>Returns the display name of the mosaic layer.<\/p>\n<p id=\"zoomin-returns\" class=\"unprose txt-m mb3 anchor mt12\"><strong>Returns:<\/strong><\/p>\n<p class=\"unprose txt-m mb3 anchor mt12\">String: Returns display name of mosaic layer.<\/p>\n<p><strong>Example:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">const mosaicLayerDisplayName = mosaicLayer.display_name;<\/pre>\n<h3>description<\/h3>\n<p>Returns the description of the mosaic layer.<\/p>\n<p id=\"zoomin-returns\" class=\"unprose txt-m mb3 anchor mt12\"><strong>Returns:<\/strong><\/p>\n<p class=\"unprose txt-m mb3 anchor mt12\">String: Returns mosaic layer description.<\/p>\n<p><strong>Example:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">const mosaicLayerDescription = mosaicLayer.description;<\/pre>\n<h3>created_at<\/h3>\n<p>Returns the time and date that the mosaic layer was created.<\/p>\n<p id=\"zoomin-returns\" class=\"unprose txt-m mb3 anchor mt12\"><strong>Returns:<\/strong><\/p>\n<p class=\"unprose txt-m mb3 anchor mt12\">Date: Returns mosaic layer created time.<\/p>\n<p><strong>Example:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">const mosaicLayerCreatedTime = mosaicLayer.created_at;<\/pre>\n<h3>last_modified_at<\/h3>\n<p>Returns the time and date that the mosaic layer is updated.<\/p>\n<p id=\"zoomin-returns\" class=\"unprose txt-m mb3 anchor mt12\"><strong>Returns:<\/strong><\/p>\n<p class=\"unprose txt-m mb3 anchor mt12\">Date: Returns mosaic layer updated time.<\/p>\n<p><strong>Example:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">const mosaicLayerModifiedTime = mosaicLayer.last_modified_at;<\/pre>\n<h3>is_shared<\/h3>\n<p>Indicates whether the mosaic layer is shared or not.<\/p>\n<p id=\"zoomin-returns\" class=\"unprose txt-m mb3 anchor mt12\"><strong>Returns:<\/strong><\/p>\n<p class=\"unprose txt-m mb3 anchor mt12\">Boolean: If true, mosaic layer is shared.<\/p>\n<p><strong>Example:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">const isShared = mosaicLayer.is_shared;<\/pre>\n<h3>id<\/h3>\n<p>Returns the mosaic layer id.<\/p>\n<p id=\"zoomin-returns\" class=\"unprose txt-m mb3 anchor mt12\"><strong>Returns:<\/strong><\/p>\n<p class=\"unprose txt-m mb3 anchor mt12\">Number: Returns mosaic layer id.<\/p>\n<p><strong>Example:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">const mosaicLayerId = mosaicLayer.id;<\/pre>\n<h3>owner_id<\/h3>\n<p>Returns the user ID that the mosaic layer belongs to.<\/p>\n<p id=\"zoomin-returns\" class=\"unprose txt-m mb3 anchor mt12\"><strong>Returns:<\/strong><\/p>\n<p class=\"unprose txt-m mb3 anchor mt12\">Number: Returns mosaic layer owner id.<\/p>\n<p><strong>Example:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">const mosaicLayerOwnerId = mosaicLayer.owner_id;<\/pre>\n<h3>dtype<\/h3>\n<p>Returns the existing mosaic layer data type.<\/p>\n<p id=\"zoomin-returns\" class=\"unprose txt-m mb3 anchor mt12\"><strong>Returns:<\/strong><\/p>\n<p class=\"unprose txt-m mb3 anchor mt12\">String: Returns data type of mosaic layer.<\/p>\n<p><strong>Example:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">const mosaicLayerDataType= mosaicLayer.dtype;<\/pre>\n<h3>band_count<\/h3>\n<p>Returns number of the mosaic layer bands.<\/p>\n<p id=\"zoomin-returns\" class=\"unprose txt-m mb3 anchor mt12\"><strong>Returns:<\/strong><\/p>\n<p class=\"unprose txt-m mb3 anchor mt12\">Number: Returns number of mosaic layer bands.<\/p>\n<p><strong>Example:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">const mosaicLayerBandCount= mosaicLayer.band_count;<\/pre>\n<h3>pixel_selection<\/h3>\n<p>Returns how to select pixel values in overlapping regions.<\/p>\n<p id=\"zoomin-returns\" class=\"unprose txt-m mb3 anchor mt12\"><strong>Returns:<\/strong><\/p>\n<p class=\"unprose txt-m mb3 anchor mt12\">String: Returns pixel selection algorithm.<\/p>\n<p><strong>Example:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">const mosaicLayerPixelSelection= mosaicLayer.pixel_selection;<\/pre>\n<h3>raster_count<\/h3>\n<p>Returns the number of raster layers that compose the mosaic layer.<\/p>\n<p id=\"zoomin-returns\" class=\"unprose txt-m mb3 anchor mt12\"><strong>Returns:<\/strong><\/p>\n<p class=\"unprose txt-m mb3 anchor mt12\">Number: Returns number of raster layers forming the mosaic layer.<\/p>\n<p><strong>Example:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">const mosaicLayerHeight= mosaicLayer.raster_count;<\/pre>\n<h3>extent<\/h3>\n<p>Returns the coordinates of the mosaic layer extent in the Web Mercator coordinate system.<\/p>\n<p id=\"zoomin-returns\" class=\"unprose txt-m mb3 anchor mt12\"><strong>Returns:<\/strong><\/p>\n<p class=\"unprose txt-m mb3 anchor mt12\">Array: Returns an array contains [southwest x, southwest y,\u00a0 northeast x, northeast y].<\/p>\n<p><strong>Example:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">const mosaicLayerExtent = mosaicLayer.extent;<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Tip: After you access the mosaic layer object, the following methods and properties are applicable on the mosaic layer. Properties: uuid Returns the universally unique identifier\u00a0(UUID) of the mosaic layer. Returns: uuid: Returns uuid string. Example: const mosaicLayerUuid = mosaicLayer.uuid; name Returns the name of the mosaic layer. Returns: String: Returns name of mosaic layer. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[69],"doc_tag":[],"class_list":["post-6223","docs","type-docs","status-publish","hentry","doc_category-mosaic"],"_links":{"self":[{"href":"https:\/\/en.geobox.ir\/developers\/wp-json\/wp\/v2\/docs\/6223","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/en.geobox.ir\/developers\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/en.geobox.ir\/developers\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/en.geobox.ir\/developers\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/en.geobox.ir\/developers\/wp-json\/wp\/v2\/comments?post=6223"}],"version-history":[{"count":10,"href":"https:\/\/en.geobox.ir\/developers\/wp-json\/wp\/v2\/docs\/6223\/revisions"}],"predecessor-version":[{"id":6672,"href":"https:\/\/en.geobox.ir\/developers\/wp-json\/wp\/v2\/docs\/6223\/revisions\/6672"}],"wp:attachment":[{"href":"https:\/\/en.geobox.ir\/developers\/wp-json\/wp\/v2\/media?parent=6223"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/en.geobox.ir\/developers\/wp-json\/wp\/v2\/doc_category?post=6223"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/en.geobox.ir\/developers\/wp-json\/wp\/v2\/doc_tag?post=6223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}