<?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: Loading CADRG, EDRG, CIB Rasters in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/loading-cadrg-edrg-cib-rasters/m-p/1335912#M10518</link>
    <description>&lt;P&gt;You or your client might be interested in GeoRover GRID. GRID is an add-in that works seamlessly with CADRG, CIB, and ECRG data regardless of folder structure.&lt;/P&gt;&lt;P&gt;&lt;A href="https://leidos.widen.net/s/zhfbklvn7r/georover-grid-factsheet" target="_blank"&gt;https://leidos.widen.net/s/zhfbklvn7r/georover-grid-factsheet&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.leidos.com/products/georover" target="_blank"&gt;https://www.leidos.com/products/georover&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Oct 2023 19:00:08 GMT</pubDate>
    <dc:creator>StevenCorpus</dc:creator>
    <dc:date>2023-10-06T19:00:08Z</dc:date>
    <item>
      <title>Loading CADRG, EDRG, CIB Rasters</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/loading-cadrg-edrg-cib-rasters/m-p/1335512#M10515</link>
      <description>&lt;P&gt;Using ArcGIS Pro SDK 3.1&lt;/P&gt;&lt;P&gt;I am building an Add On for a user that wants to have the capability of loading a single directory that contains multiple Raster types (CADRG, CIB, ECRG, etc) that are located in its own subdirectory.&amp;nbsp; Each Raster package would go on its own layer.&amp;nbsp; &amp;nbsp;I had a working version in ArcGIS Runtime .NET that had the following flow:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create a new GroupLayer&lt;/LI&gt;&lt;LI&gt;Recursively searched a given directory structure searching for *.i42, *.onl, *.i22, and *.tl2 files&lt;/LI&gt;&lt;LI&gt;When the above file type is found, create a new Raster with the file&lt;/LI&gt;&lt;LI&gt;Add the Raster to a RasterLayer&lt;/LI&gt;&lt;LI&gt;When finished with current directory, add the RasterLayer to the GroupLayer&lt;/LI&gt;&lt;LI&gt;When finished with a given Raster directory, add the GroupLayer to a list of GroupLayers&lt;/LI&gt;&lt;LI&gt;When finished with all directories, Add all the GroupLayers to the Map&lt;/LI&gt;&lt;LI&gt;Set the MapView with Map, then load the MapView&lt;/LI&gt;&lt;LI&gt;Set the ViewpointGeometry&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In ArcGIS Pro SDK, I found this to open Mosaic DataSets:&lt;/P&gt;&lt;PRE&gt;&lt;FONT size="2"&gt;&lt;SPAN class=""&gt;// Create a FileSystemConnectionPath using the path to the folder.&lt;/SPAN&gt;
&lt;SPAN class=""&gt;FileSystemConnectionPath&lt;/SPAN&gt; &lt;SPAN class=""&gt;connectionPath&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; 
    &lt;SPAN class=""&gt;new&lt;/SPAN&gt; FileSystemConnectionPath&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;new&lt;/SPAN&gt; System&lt;SPAN class=""&gt;.&lt;/SPAN&gt;Uri&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;@"c:\test"&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; FileSystemDatastoreType&lt;SPAN class=""&gt;.&lt;/SPAN&gt;Raster&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;// Create a new FileSystemDatastore using the FileSystemConnectionPath.&lt;/SPAN&gt;
&lt;SPAN class=""&gt;FileSystemDatastore&lt;/SPAN&gt; &lt;SPAN class=""&gt;dataStore&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;new&lt;/SPAN&gt; FileSystemDatastore&lt;SPAN class=""&gt;(&lt;/SPAN&gt;connectionPath&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;// Open the Mosaic dataset.&lt;/SPAN&gt;
&lt;SPAN class=""&gt;MosaicDataset&lt;/SPAN&gt; &lt;SPAN class=""&gt;mosaicDatasetToOpen&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; dataStore&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;OpenDataset&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;MosaicDataset&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN class=""&gt;&lt;FONT size="2"&gt;"testmosai&lt;/FONT&gt;cdataset.amd"&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;This does not appear to span multiple directories if the given Raster has &amp;gt; 1 directory.&amp;nbsp; &amp;nbsp;Also, it appears that SDK needs to know the filetype at runtime.&lt;/P&gt;&lt;P&gt;What is the proper way to load these types of raster datasets?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 18:08:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/loading-cadrg-edrg-cib-rasters/m-p/1335512#M10515</guid>
      <dc:creator>Jeffrey_McNeal</dc:creator>
      <dc:date>2023-10-05T18:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Loading CADRG, EDRG, CIB Rasters</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/loading-cadrg-edrg-cib-rasters/m-p/1335912#M10518</link>
      <description>&lt;P&gt;You or your client might be interested in GeoRover GRID. GRID is an add-in that works seamlessly with CADRG, CIB, and ECRG data regardless of folder structure.&lt;/P&gt;&lt;P&gt;&lt;A href="https://leidos.widen.net/s/zhfbklvn7r/georover-grid-factsheet" target="_blank"&gt;https://leidos.widen.net/s/zhfbklvn7r/georover-grid-factsheet&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.leidos.com/products/georover" target="_blank"&gt;https://www.leidos.com/products/georover&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 19:00:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/loading-cadrg-edrg-cib-rasters/m-p/1335912#M10518</guid>
      <dc:creator>StevenCorpus</dc:creator>
      <dc:date>2023-10-06T19:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Loading CADRG, EDRG, CIB Rasters</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/loading-cadrg-edrg-cib-rasters/m-p/1336182#M10520</link>
      <description>&lt;P&gt;Are you a software dev or do you work for Leidos?&lt;/P&gt;</description>
      <pubDate>Sun, 08 Oct 2023 23:33:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/loading-cadrg-edrg-cib-rasters/m-p/1336182#M10520</guid>
      <dc:creator>Jeffrey_McNeal</dc:creator>
      <dc:date>2023-10-08T23:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Loading CADRG, EDRG, CIB Rasters</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/loading-cadrg-edrg-cib-rasters/m-p/1336764#M10525</link>
      <description>&lt;P&gt;Jeffrey,&lt;/P&gt;&lt;P&gt;Are these extensions you are trying to add recognized by ArcGIS Pro as rasters already? if so when you find the file extension you are looking for in the add-in you can just use the create layer API to create a raster layer directly then add the layer to a group layer and so on. I did not understand why you were looking at the mosaic dataset API unless I am missing something.&lt;/P&gt;&lt;P&gt;-Prashant&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 21:43:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/loading-cadrg-edrg-cib-rasters/m-p/1336764#M10525</guid>
      <dc:creator>Prashant_MukeshMangtani</dc:creator>
      <dc:date>2023-10-10T21:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Loading CADRG, EDRG, CIB Rasters</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/loading-cadrg-edrg-cib-rasters/m-p/1336885#M10530</link>
      <description>&lt;P&gt;Greetings Prashant and Thank You for&amp;nbsp; your reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;ArcGIS Pro is able to read the CADRG, ECRG, and CIB, using Add Data Button and also through Geoprocessing , but I am trying to automate the process programmatically for my users.&amp;nbsp; I don't have to create a Mosaic (maybe that is muddying up the waters for what I am trying to do here).&amp;nbsp; &amp;nbsp;I think you are telling me to just stick with the Raster Dataset API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 11:26:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/loading-cadrg-edrg-cib-rasters/m-p/1336885#M10530</guid>
      <dc:creator>Jeffrey_McNeal</dc:creator>
      <dc:date>2023-10-11T11:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Loading CADRG, EDRG, CIB Rasters</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/loading-cadrg-edrg-cib-rasters/m-p/1339036#M10560</link>
      <description>&lt;P&gt;-Prashant, I am not able to read a Controlled Image Base dataset (*.i42 file extension) using the following:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;GroupLayer groupLayer = LayerFactory.Instance.CreateGroupLayer(MyMap, 1, "CID_Layer");&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RasterLayer rasterLayer = LayerFactory.Instance.CreateLayer(new Uri("//path to dataset" ), groupLayer) as RasterLayer;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The SDK raises "Failed to add data, unsupported data type." exception.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How does the SDK read CIB, CADRG, ECRG?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Jeff&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 11:14:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/loading-cadrg-edrg-cib-rasters/m-p/1339036#M10560</guid>
      <dc:creator>Jeffrey_McNeal</dc:creator>
      <dc:date>2023-10-18T11:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Loading CADRG, EDRG, CIB Rasters</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/loading-cadrg-edrg-cib-rasters/m-p/1339442#M10571</link>
      <description>&lt;P&gt;If you just create a layer without specifying a group layer does it work ?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 04:07:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/loading-cadrg-edrg-cib-rasters/m-p/1339442#M10571</guid>
      <dc:creator>Prashant_MukeshMangtani</dc:creator>
      <dc:date>2023-10-19T04:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Loading CADRG, EDRG, CIB Rasters</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/loading-cadrg-edrg-cib-rasters/m-p/1342599#M10606</link>
      <description>&lt;P&gt;No it doesn't.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 12:12:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/loading-cadrg-edrg-cib-rasters/m-p/1342599#M10606</guid>
      <dc:creator>Jeffrey_McNeal</dc:creator>
      <dc:date>2023-10-27T12:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Loading CADRG, EDRG, CIB Rasters</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/loading-cadrg-edrg-cib-rasters/m-p/1361533#M10878</link>
      <description>&lt;P&gt;I wanted to follow up with a work around since I could not do this the SDK.&amp;nbsp; I had to build Pro toolbox/model that did the following:&lt;/P&gt;&lt;P&gt;Create a New file Geodatabase&lt;/P&gt;&lt;P&gt;Geodatabase feeds into Create Mosaic Dataset&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mosaic Dataset then feed into Add Rasters to Mosaic Dataset&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 18:08:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/loading-cadrg-edrg-cib-rasters/m-p/1361533#M10878</guid>
      <dc:creator>Jeffrey_McNeal</dc:creator>
      <dc:date>2023-12-15T18:08:00Z</dc:date>
    </item>
  </channel>
</rss>

