Skip to main content
Question

Rename feature classes with dynamic schema and feature types

  • October 17, 2023
  • 1 reply
  • 125 views

sfsmith250
Participant
Forum|alt.badge.img

Hey Safers ... Long time listener, first time caller. Go easy!

 

See below, I'm iterating over rows in a CSV, using these to build ArcGIS Map Server URLs, pulling features from the services, and writing them out to GDB (eventually SDE) feature classes.

 

I use the Map Server layer numbers to build my URLs, in turn these layer numbers are assigned to my schema and feature_types, and eventually become the feature class names in my GDB.

 

Has anyone got any pointers on how I can use the more friendly layer_name values to name my feature classes?

 

Thanks in advance! Sam

 

image

1 reply

sfsmith250
Participant
Forum|alt.badge.img
  • Author
  • Participant
  • October 17, 2023

Silly rabbit ... It was as ~straight forward~ as including the attributes from the initiator on the Feature Reader so the friendly layer_name was available to name the output (dynamic) Feature Class.

 

image