Question

Is there a way to use FME to maintain Dynamic Symbology in a map Layer for use in Map Services

  • 24 August 2022
  • 2 replies
  • 38 views

Example: We have a layer with employees. Each employee has their own unique polygon. We can easily go in and create unique symbology for each person. We can use hashing and colors to allow overlaps.

 

The issue is finding a way that every time someone new is entered in the employee database, they get symbology automatically setup.

 

In other words, does anyone know if FME can create a new layer file, symbolized with rules, that accounts for new rows/values. We were hoping to find something in ESRI solutions but haven't so far. So now wondering if FME can just automatically recreate the base layers files that the map service would ultimately consume.

 

Thanks


2 replies

Userlevel 6
Badge +33

Have not done this so no samples, but I think this can be done using Pyhton via the PythonCaller.

Make Feature Layer (Data Management) to create a temp layer

Save To Layer File (Data Management) to write to a layerfile

LayerFile use addLayer to add layerfile to map

Once you have fixed this you can automate publishing the map using the Publishing Toolset and / or the ArcGISOnlineConnector.

Have not done this so no samples, but I think this can be done using Pyhton via the PythonCaller.

Make Feature Layer (Data Management) to create a temp layer

Save To Layer File (Data Management) to write to a layerfile

LayerFile use addLayer to add layerfile to map

Once you have fixed this you can automate publishing the map using the Publishing Toolset and / or the ArcGISOnlineConnector.

Thanks for the info, we will look into it.

We also learned that ArcPro 2.8+ is supposed to have dynamic symbology. We are still not there yet (2.6) but hopefully soon...

Reply