<?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 Dataset/Feature class hierarchy different between ArcGIS and FGDB in File Geodatabase API Questions</title>
    <link>https://community.esri.com/t5/file-geodatabase-api-questions/dataset-feature-class-hierarchy-different-between/m-p/33950#M59</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a few questions regarding attached fgdb file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From the attached fgdb file, ArcGIS destkop displays two mosaic datasets. And the feature classes and raster catalogs look as if they are the children of the mosaic datasets.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However, File Geodatabase API doesn't give us the same hierarchy as we see on&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the ArcGIS. The feature classes and raster catalogs that should belong to the mosaic dataset are root elements independent of the mosaic datasets. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
std::vector&amp;lt;std::wstring&amp;gt; oAllChidren;
psInfo-&amp;gt;moGeodatabase.GetChildDatasets(L"\\", L"", oAllChidren);
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This code returns:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;nbsp; oAllChidren &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[14]("\AMD_PAN_0625_nominal_DEM_CAT","\AMD_PAN_0625_nominal_DEM_ART","\AMD_PAN_0625_nominal_DEM_LOG","\AMD_PAN_0625_nominal_DEM_BND","\PAN_0625_nominal_DEM","\AMD_PAN_0625_nominal_DEM_CSL","\AMD_PAN_0625_nominal_DEM_OVR","\AMD_PAN_0625_L7GCPs_DEM_CAT","\AMD_PAN_0625_L7GCPs_DEM_ART","\AMD_PAN_0625_L7GCPs_DEM_LOG","\AMD_PAN_0625_L7GCPs_DEM_BND","\PAN_0625_L7GCPs_DEM","\AMD_PAN_0625_,"\AMD_P) std::vector&amp;lt;std::basic_string&amp;lt;wchar_t,std::char_traits&amp;lt;wchar_t&amp;gt;,std::allocator&amp;lt;wchar_t&amp;gt; &amp;gt;,std::allocator&amp;lt;std::basic_string&amp;lt;wchar_t,std::char_traits&amp;lt;wchar_t&amp;gt;,std::allocator&amp;lt;wchar_t&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Raster Catalog: I'm assuming it is very similar to feature class in the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sense that it has polygons and attribute tables. The latest API 1.1 still&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;doesn't allow us to query raster catalog table. I get this "Function not implemented" error.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Aug 2011 14:51:37 GMT</pubDate>
    <dc:creator>eykim</dc:creator>
    <dc:date>2011-08-11T14:51:37Z</dc:date>
    <item>
      <title>Dataset/Feature class hierarchy different between ArcGIS and FGDB</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/dataset-feature-class-hierarchy-different-between/m-p/33950#M59</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a few questions regarding attached fgdb file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From the attached fgdb file, ArcGIS destkop displays two mosaic datasets. And the feature classes and raster catalogs look as if they are the children of the mosaic datasets.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However, File Geodatabase API doesn't give us the same hierarchy as we see on&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the ArcGIS. The feature classes and raster catalogs that should belong to the mosaic dataset are root elements independent of the mosaic datasets. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
std::vector&amp;lt;std::wstring&amp;gt; oAllChidren;
psInfo-&amp;gt;moGeodatabase.GetChildDatasets(L"\\", L"", oAllChidren);
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This code returns:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;nbsp; oAllChidren &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[14]("\AMD_PAN_0625_nominal_DEM_CAT","\AMD_PAN_0625_nominal_DEM_ART","\AMD_PAN_0625_nominal_DEM_LOG","\AMD_PAN_0625_nominal_DEM_BND","\PAN_0625_nominal_DEM","\AMD_PAN_0625_nominal_DEM_CSL","\AMD_PAN_0625_nominal_DEM_OVR","\AMD_PAN_0625_L7GCPs_DEM_CAT","\AMD_PAN_0625_L7GCPs_DEM_ART","\AMD_PAN_0625_L7GCPs_DEM_LOG","\AMD_PAN_0625_L7GCPs_DEM_BND","\PAN_0625_L7GCPs_DEM","\AMD_PAN_0625_,"\AMD_P) std::vector&amp;lt;std::basic_string&amp;lt;wchar_t,std::char_traits&amp;lt;wchar_t&amp;gt;,std::allocator&amp;lt;wchar_t&amp;gt; &amp;gt;,std::allocator&amp;lt;std::basic_string&amp;lt;wchar_t,std::char_traits&amp;lt;wchar_t&amp;gt;,std::allocator&amp;lt;wchar_t&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Raster Catalog: I'm assuming it is very similar to feature class in the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sense that it has polygons and attribute tables. The latest API 1.1 still&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;doesn't allow us to query raster catalog table. I get this "Function not implemented" error.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 14:51:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/dataset-feature-class-hierarchy-different-between/m-p/33950#M59</guid>
      <dc:creator>eykim</dc:creator>
      <dc:date>2011-08-11T14:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dataset/Feature class hierarchy different between ArcGIS and FGDB</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/dataset-feature-class-hierarchy-different-between/m-p/33951#M60</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As noted in the documentation and in the readme files, Rasters (Raster Dataset, Raster Catalog, Mosaic Datasets and Raster Attributes) are not supported with the initial release of the File Geodatabase API. This did not change in the 1.1 release. It may change in a future release.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want a list of mosaic datasets the call is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;geodatabase.GetChildDatasets(L"\\", L"Mosaic Dataset", childList)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The code you used returns a list of all child datasets. This includes the mosaic datasets and all of the hidden feature classes that are associated with them. These hidden feature classes can be opened and read, but the contents are not documented. We block inserts and updates to these files to avoid unintended corruption.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;geodatabase.GetChildDatasets(L""\\",L"", childList)&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 16:23:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/dataset-feature-class-hierarchy-different-between/m-p/33951#M60</guid>
      <dc:creator>LanceShipman</dc:creator>
      <dc:date>2011-08-11T16:23:38Z</dc:date>
    </item>
  </channel>
</rss>

