Select to view content in your preferred language

Automatically apply Style to Feature Classes in FGDB

112
0
07-15-2025 01:19 AM
offi24
by
Emerging Contributor

Hello,

Using a script, I automatically generate a large number of feature classes. These are different layers with the suffixes _Floors, _Furniture and _Rooms. They are saved in a .gdb, which is then published to ArcGIS Online using a Python script.

This process works well. Now, I want each feature class to automatically receive the same style (symbology) based on its name suffix, so that I don’t have to assign the symbology manually in ArcGIS Online afterwards.

How can I assign symbology automatically within my Python code?

 

Thanks in advance

Eric

0 Kudos
0 Replies