Skip to main content
Question

Dynamic Schema - wrong attribute order


marta.podsiad
Supporter
Forum|alt.badge.img+9

Hi,

 

I have a gdb with pleanty feature classes with unique schema and I use SchemaScanner and Dynamic gdb to save the layers. Feature layers saved in the gdb have correct schema but the order of the columns is wrong, it looks like the new feature layers have the columns ordered alfabeticaly 

 

4 replies

nielsgerrits
VIP
Forum|alt.badge.img+54

Just to be sure, you read from gdb and you write to gdb? Why not use the FeatureReader and it’s Schema Feature? Because then the attribute order is kept original.

I can confirm the SchemaScanner does output the attribute order alphabetically.


marta.podsiad
Supporter
Forum|alt.badge.img+9
  • Author
  • Supporter
  • February 9, 2024

FeatureReader does not read the attributes that I have to change 

 


nielsgerrits
VIP
Forum|alt.badge.img+54

It does, but they are unexposed. Select a feature and see the Feature Information Window. You can expose unexposed attributes with an AttributeExposer. With FeatureCaching you now can easily import them from feature cache.


marta.podsiad
Supporter
Forum|alt.badge.img+9
  • Author
  • Supporter
  • February 9, 2024

When I do that I get 

Esri Geodatabase Writer: Feature Type Definition '' was requested, but not defined. Please visit https://www.safe.com/support

GEODATABASE_FILE writer: An error has occurred. Check the logfile above for details

 


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