Skip to main content
Solved

How to retain metadata when moving files from fgdb to ArcSDE

  • January 24, 2019
  • 4 replies
  • 65 views

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.

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

david_r
Celebrity
  • 8394 replies
  • 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
  • 3 replies
  • 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
  • 3 replies
  • 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
  • 8394 replies
  • 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?