<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Can I apply a spatial shift to a .tif I'm loading in an ImageryLayer in arcgis jsapi? in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/can-i-apply-a-spatial-shift-to-a-tif-i-m-loading/m-p/1322818#M6723</link>
    <description>&lt;P&gt;I'm building an interface with arcgis jsapi 4.27 which needs to be able to display multiple image layers on top of each other, and I need to programmatically shift a layer relative to the other layers (ideally, e.g. move it 10m to the south and 10m to the east -- that kind of thing).&lt;/P&gt;&lt;P&gt;What is the best way to do this?&lt;/P&gt;&lt;P&gt;I'm actually working with a large number of self-hosted cloud-optimized geotiffs (so I don't have an ICS service, but maybe I should fake one?), but I'm using this codepen as my starting point:&amp;nbsp;&lt;A href="https://codepen.io/foobarbecue/pen/poQwgpq" target="_blank" rel="nofollow noopener noreferrer"&gt;https://codepen.io/foobarbecue/pen/poQwg&lt;/A&gt;&lt;A href="https://www.uvadhesiveglue.com/" target="_self"&gt;pq&lt;/A&gt; . SO says I have to paste some code so basically it's:&lt;/P&gt;&lt;PRE&gt;const layer1 = new ImageryTileLayer({
    url: "https://ss6imagery.arcgisonline.com/imagery_sample/landsat8/Bolivia_LC08_L1TP_001069_20190719_MS.tiff"
});
const layer2 = new ImageryTileLayer({
    url: "https://ss6imagery.arcgisonline.com/imagery_sample/landsat8/Bolivia_LC08_L1TP_001069_20190719_MS.tiff"
});
const map = new Map({
    layers: [layer1, layer2]
});&lt;/PRE&gt;&lt;P&gt;I've been trying to mess with redefining the spatialReference, changing rasterinfo.nativeExtent and rasterinfo.extent properties, but I can't get it to budge.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Sep 2023 10:55:41 GMT</pubDate>
    <dc:creator>NazeshKaneria</dc:creator>
    <dc:date>2023-09-04T10:55:41Z</dc:date>
    <item>
      <title>Can I apply a spatial shift to a .tif I'm loading in an ImageryLayer in arcgis jsapi?</title>
      <link>https://community.esri.com/t5/developers-questions/can-i-apply-a-spatial-shift-to-a-tif-i-m-loading/m-p/1322818#M6723</link>
      <description>&lt;P&gt;I'm building an interface with arcgis jsapi 4.27 which needs to be able to display multiple image layers on top of each other, and I need to programmatically shift a layer relative to the other layers (ideally, e.g. move it 10m to the south and 10m to the east -- that kind of thing).&lt;/P&gt;&lt;P&gt;What is the best way to do this?&lt;/P&gt;&lt;P&gt;I'm actually working with a large number of self-hosted cloud-optimized geotiffs (so I don't have an ICS service, but maybe I should fake one?), but I'm using this codepen as my starting point:&amp;nbsp;&lt;A href="https://codepen.io/foobarbecue/pen/poQwgpq" target="_blank" rel="nofollow noopener noreferrer"&gt;https://codepen.io/foobarbecue/pen/poQwg&lt;/A&gt;&lt;A href="https://www.uvadhesiveglue.com/" target="_self"&gt;pq&lt;/A&gt; . SO says I have to paste some code so basically it's:&lt;/P&gt;&lt;PRE&gt;const layer1 = new ImageryTileLayer({
    url: "https://ss6imagery.arcgisonline.com/imagery_sample/landsat8/Bolivia_LC08_L1TP_001069_20190719_MS.tiff"
});
const layer2 = new ImageryTileLayer({
    url: "https://ss6imagery.arcgisonline.com/imagery_sample/landsat8/Bolivia_LC08_L1TP_001069_20190719_MS.tiff"
});
const map = new Map({
    layers: [layer1, layer2]
});&lt;/PRE&gt;&lt;P&gt;I've been trying to mess with redefining the spatialReference, changing rasterinfo.nativeExtent and rasterinfo.extent properties, but I can't get it to budge.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 10:55:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/can-i-apply-a-spatial-shift-to-a-tif-i-m-loading/m-p/1322818#M6723</guid>
      <dc:creator>NazeshKaneria</dc:creator>
      <dc:date>2023-09-04T10:55:41Z</dc:date>
    </item>
  </channel>
</rss>

