Skip to main content
Solved

How to retain metadata when moving files from fgdb to ArcSDE


When I move feature classes from file geodatabase to ArcSDE using FME, all the embedded metadata in feature classes disappear once they are moved to ArcSDE. Metadata is in the description of feature classes. Please advise what do I need to do to retain metadata?

Best answer by jasper

@david_r Thanks, it worked. For reader (Esri Geodatabase (File Geodb)), I used "single merged feature type" to work with many feature classes, in parameters, as per your advice, used "metadata" for feature read mode and then used "geodb_metadata for allowed geometries.

For writer, I used "fme_feature_type" for Feature Class or Table Name.

 

View original
Did this help you find an answer to your question?

4 replies

david_r
Celebrity
  • January 25, 2019

Untested, but I suspect you'll need to read and write the metadata separately:

See also:

https://knowledge.safe.com/articles/22583/working-with-geodatabase-metadata-writing-to-xml.html


  • Author
  • January 25, 2019

I just found that if I copy feature classes from gdb and paste them in SDE using ArcCatalog, I am able to retain embedded metadata in feature classes. Using FME's reader and writer transformers to load data in ArcSDE is making metadata disappear.


  • Author
  • Best Answer
  • January 30, 2019

@david_r Thanks, it worked. For reader (Esri Geodatabase (File Geodb)), I used "single merged feature type" to work with many feature classes, in parameters, as per your advice, used "metadata" for feature read mode and then used "geodb_metadata for allowed geometries.

For writer, I used "fme_feature_type" for Feature Class or Table Name.

 


david_r
Celebrity
  • January 31, 2019
  try
            {
                fmeSession = FMEObjects.CreateSession();
                fmeSession.Init(null);
            }
            catch (FMEOException ex)
            {
                return ex.FmeErrorMessage;
            }

Hi,

I am trying to create fme session in my application. But, I am getting 'Session could not be created. Path to specified FME core DLL is invalid.' error.

FME2015

Visual Studio 2010

This issue comes after installing FME2020 in my system. I uninstalled 2020 and reinstalled 2015. Still, I am getting the same error.

Any idea how to fix this issue?


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings