<?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 How can I  Use TIF file in ArcGIS JS? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-use-tif-file-in-arcgis-js/m-p/1192156#M77918</link>
    <description>&lt;P&gt;I have a server in NodeJS and have a TIF file on the Server. And I have client application. How can I connect TIF file on server with client. I've tried&amp;nbsp;res.sendFile(filePath)&amp;nbsp;and connected with ImageLayer from @arcgis/core. But it showed&amp;nbsp;Unexpected token I in JSON at position 0. What's the best way to connect data on tif format. Data I'm using is from&amp;nbsp;&lt;A href="https://globalwindatlas.info/download/gis-files" rel="nofollow noreferrer" target="_blank"&gt;https://globalwindatlas.info/download/gis-files&lt;/A&gt;. I've enabled CORS on server. Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jul 2022 10:09:18 GMT</pubDate>
    <dc:creator>real_zain16</dc:creator>
    <dc:date>2022-07-14T10:09:18Z</dc:date>
    <item>
      <title>How can I  Use TIF file in ArcGIS JS?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-use-tif-file-in-arcgis-js/m-p/1192156#M77918</link>
      <description>&lt;P&gt;I have a server in NodeJS and have a TIF file on the Server. And I have client application. How can I connect TIF file on server with client. I've tried&amp;nbsp;res.sendFile(filePath)&amp;nbsp;and connected with ImageLayer from @arcgis/core. But it showed&amp;nbsp;Unexpected token I in JSON at position 0. What's the best way to connect data on tif format. Data I'm using is from&amp;nbsp;&lt;A href="https://globalwindatlas.info/download/gis-files" rel="nofollow noreferrer" target="_blank"&gt;https://globalwindatlas.info/download/gis-files&lt;/A&gt;. I've enabled CORS on server. Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 10:09:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-use-tif-file-in-arcgis-js/m-p/1192156#M77918</guid>
      <dc:creator>real_zain16</dc:creator>
      <dc:date>2022-07-14T10:09:18Z</dc:date>
    </item>
  </channel>
</rss>

