<?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 Re: Adding geotiff through WMS produced by GeoServer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-geotiff-through-wms-produced-by-geoserver/m-p/1496884#M84917</link>
    <description>&lt;P&gt;i also have same issue loading a specific geotiff on wmslayer using esri 4. did you figure out the way?&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jun 2024 22:15:29 GMT</pubDate>
    <dc:creator>Angelo_BryanPerito</dc:creator>
    <dc:date>2024-06-24T22:15:29Z</dc:date>
    <item>
      <title>Adding geotiff through WMS produced by GeoServer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-geotiff-through-wms-produced-by-geoserver/m-p/151685#M14102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, community&lt;/P&gt;&lt;P&gt;I am trying to add a geotiff to my webmap created with ArcGIS JS API 4.x. Since it needs to be a service to serve the image, I installed a local instance of GeoServer on my computer and published a WMS for the image in question. However, everytime I try to call the service via URL, the console shows the following errors:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;[esri.layers.WMSLayer] #load() Failed to load layer (title: 'Layer', id: '172336bbd33-layer-0')&amp;nbsp;&lt;UL&gt;&lt;LI&gt;message: "XML Parse Error"&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;[esri.views.LayerViewManager] Failed to create view for layer 'Layer, id:172336bbd33-layer-0' of type 'wms'&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The following piece of code is what I am using:&lt;/P&gt;&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-weight: normal; font-size: 14px;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;layer&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #4ec9b0;"&gt;WMSLayer&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;({&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;url&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;"http://localhost:8080/geoserver/Test/wms?service=WMS&amp;amp;version=1.1.0&amp;amp;request=GetMap&amp;amp;layers=ProjectT%3AFAA_UTM18N_NAD83&amp;amp;bbox=223586.23651964564%2C4184720.1300687897%2C259261.49928124566%2C4217906.977453323&amp;amp;width=768&amp;amp;height=714&amp;amp;srs=EPSG%3A26918&amp;amp;format=image%2Fgeotiff"&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; });&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;map&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;add&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;layer&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The API seems to expect a XML and not a geotiff. Any suggestions?&lt;/P&gt;&lt;P&gt;Thanks and have a nice day!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2020 19:10:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-geotiff-through-wms-produced-by-geoserver/m-p/151685#M14102</guid>
      <dc:creator>MatheusSereno</dc:creator>
      <dc:date>2020-05-20T19:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adding geotiff through WMS produced by GeoServer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-geotiff-through-wms-produced-by-geoserver/m-p/1496884#M84917</link>
      <description>&lt;P&gt;i also have same issue loading a specific geotiff on wmslayer using esri 4. did you figure out the way?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 22:15:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-geotiff-through-wms-produced-by-geoserver/m-p/1496884#M84917</guid>
      <dc:creator>Angelo_BryanPerito</dc:creator>
      <dc:date>2024-06-24T22:15:29Z</dc:date>
    </item>
  </channel>
</rss>

