Skip to main content
Question

SchemaMapper help needed: data not written to new attribute field

  • December 11, 2024
  • 2 replies
  • 27 views

efenn
Contributor
Forum|alt.badge.img+1

I’m trying to write data from one ArcGIS Online hosted feature layer to another using schema mapper for field mapping. I’m finding that the features from featureclass1 are being appended to featureclass2, but there isn’t any data written into the attribute fields for these appended features. Am I missing a setting in schema mapper?

This is the result of my workspace (featureclass2). Features 4-7 were appended from featureclass1 to featureclass2, but the data didn’t come through.

This is featureclass1, you can see there is data for those features.

I’m using a csv file for my schema mapping. The schema mapper is mapping one → newfour and two → five. I’ve tried this keeping the source attribute and removing it with the same result.

Thank you!

2 replies

j.botterill
Influencer
Forum|alt.badge.img+40
  • Influencer
  • December 12, 2024

Hmm you may need to expose fme_feature_type format attribute of featureclass 1 and 2. Then potentially alter the value to be the same, prior to the SchemaMapper


efenn
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • December 17, 2024

Thanks for the idea! I gave that a shot, but there wasn’t any change. The data still wasn’t writing to featureclass2.

Switching to using AttributeManager instead of SchemaMapper seems to have fixed the problem. I can append features from featureclass1 to featureclass2. And you can import a csv of schema changes to attribute manager too, so it’s a different solution, but it’s working. 

 

 


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