Select to view content in your preferred language

Representation based on attribute value in GDB feature class

218
2
09-04-2024 01:56 AM
Labels (3)
StanislavaV
Emerging Contributor

Hi.

I have one shapefile and it was in symbology categorized based on TWO attribute values:

StanislavaV_0-1725439241517.png

So shapefile looks like this:

StanislavaV_1-1725440009961.png

 

Then I saved as LAYER FILE to have symbology. 

But I need to have symbology saved in GDB, so basically I create a GDB with feature class in it. Then through Properties/Representation import my LYR file and got this:

StanislavaV_2-1725440073745.png

But when I add this feature class from GDB, it looks like this:

StanislavaV_3-1725440123613.png

but in TOC it´s like this:

StanislavaV_0-1725440280095.png

 

what can go wrong, please? what can I do to make it right?

thank you.

0 Kudos
2 Replies
RichardHowe
Frequent Contributor

It's been a while since I worked with representations, but from memory I think our workaround to this limitation was to create an additional field in the original data called symbology, and assign it based on the various features. (e.g. anything with CA LPIS and NIE would have a symbology field value of  "Symbol 1")

Then you have a single attribute you can symbolise from and the representations behave as they should

0 Kudos
StanislavaV
Emerging Contributor

I tried it but solution was also like this 

StanislavaV_0-1725452487355.png

 

0 Kudos