<?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: JPG/JPEG Raster in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/jpg-jpeg-raster/m-p/1613702#M13557</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/176"&gt;@Nicholas-Furness&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bypassing GroupLayer and adding the RasterLayer directly to Map.OperationalLayer produces the same error.&lt;/P&gt;&lt;P&gt;Also, my user only provided a .jpg file - It sounds like I still need an Auxiliary file and World file to make things work?&amp;nbsp; Looking in the SDK documentation, I don't see where that gets applied when creating the Raster....&lt;/P&gt;</description>
    <pubDate>Mon, 12 May 2025 16:38:19 GMT</pubDate>
    <dc:creator>Jeffrey_McNeal</dc:creator>
    <dc:date>2025-05-12T16:38:19Z</dc:date>
    <item>
      <title>JPG/JPEG Raster</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/jpg-jpeg-raster/m-p/1613589#M13555</link>
      <description>According to &lt;A href="https://developers.arcgis.com/net/layers/add-raster-data/" target="_blank"&gt;https://developers.arcgis.com/net/layers/add-raster-data/&lt;/A&gt; The SDK can handle .jpg and .jpg 2000 formats. When I attempt to load a map .jpg into a Raster Layer, add it to a GroupLayer, and then add GroupLayer to Map.Operational Layers, I receive the error: File error: Failed to open raster dataset: C:\Charleston\Charleston-JPG\charleston.jpg. I am able to create Rasters for RPF (CIB), RPF (CADRG) and GeoTIFFs with no issues.</description>
      <pubDate>Mon, 12 May 2025 10:34:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/jpg-jpeg-raster/m-p/1613589#M13555</guid>
      <dc:creator>Jeffrey_McNeal</dc:creator>
      <dc:date>2025-05-12T10:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: JPG/JPEG Raster</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/jpg-jpeg-raster/m-p/1613641#M13556</link>
      <description>&lt;P&gt;Are you georeferencing the JPG file properly? Since JPGs have no georeferencing data built in, you need to provide a World file (which defines the size and location of the image) and an Aux file (which defines a spatial reference). See this example:&amp;nbsp;&lt;A href="https://gist.github.com/nixta/9cf3b53e3340dc3314c6db40af06c709" target="_blank" rel="noopener"&gt;https://gist.github.com/nixta/9cf3b53e3340dc3314c6db40af06c709&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you are already doing that, then can you try to just add the raster layer directly to the operational layers so we can discount Group Layer being an issue?&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 14:15:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/jpg-jpeg-raster/m-p/1613641#M13556</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2025-05-12T14:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: JPG/JPEG Raster</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/jpg-jpeg-raster/m-p/1613702#M13557</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/176"&gt;@Nicholas-Furness&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bypassing GroupLayer and adding the RasterLayer directly to Map.OperationalLayer produces the same error.&lt;/P&gt;&lt;P&gt;Also, my user only provided a .jpg file - It sounds like I still need an Auxiliary file and World file to make things work?&amp;nbsp; Looking in the SDK documentation, I don't see where that gets applied when creating the Raster....&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 16:38:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/jpg-jpeg-raster/m-p/1613702#M13557</guid>
      <dc:creator>Jeffrey_McNeal</dc:creator>
      <dc:date>2025-05-12T16:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: JPG/JPEG Raster</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/jpg-jpeg-raster/m-p/1613718#M13558</link>
      <description>&lt;P&gt;You just need to place the world and aux files alongside the JPG and the SDK will find them when you create the raster. Think of it this way: in the context of a georeferenced raster, the JPG file alone is incomplete data (hence the SDK error). Complete data is the JPG file + the World file + the Aux file.&lt;BR /&gt;&lt;BR /&gt;Contrast with a GeoTIFF where a single file&amp;nbsp;&lt;EM&gt;is&lt;/EM&gt; complete data for a georeferenced raster.&lt;/P&gt;&lt;P&gt;The error could be better, and we could improve the documentation around the need for world and aux files. I'll pass that on to the team.&lt;/P&gt;&lt;P&gt;For the aux file, you should just be able to copy straight from the Gist. For the world file, you'll need to make sure it's updated to properly position and scale the image. At the bottom of the gist there are links to documentation that describe world and aux files in more detail.&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 17:00:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/jpg-jpeg-raster/m-p/1613718#M13558</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2025-05-12T17:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: JPG/JPEG Raster</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/jpg-jpeg-raster/m-p/1613968#M13560</link>
      <description>&lt;P&gt;I am not familiar with Gist?&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2025 10:48:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/jpg-jpeg-raster/m-p/1613968#M13560</guid>
      <dc:creator>Jeffrey_McNeal</dc:creator>
      <dc:date>2025-05-13T10:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: JPG/JPEG Raster</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/jpg-jpeg-raster/m-p/1614190#M13561</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/724637"&gt;@Jeffrey_McNeal&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;I am not familiar with Gist?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Ah. Sorry. The link I provided in my first reply: &lt;A href="https://gist.github.com/nixta/9cf3b53e3340dc3314c6db40af06c709" target="_blank"&gt;https://gist.github.com/nixta/9cf3b53e3340dc3314c6db40af06c709&lt;/A&gt;&lt;/P&gt;&lt;P&gt;A "Gist" is just a small snippet hosted on GitHub.&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2025 18:25:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/jpg-jpeg-raster/m-p/1614190#M13561</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2025-05-13T18:25:15Z</dc:date>
    </item>
  </channel>
</rss>

