Can anybody anyone point me to directions on how to convert file geodatabase feature class names to lower case by using Python?
[GIS] ArcGIS Python – Convert feature class names to lower case
arcgis-desktoparcpypython
Related Question
- [GIS] How to batch merge point, polygon and line feature classes into a new feature class
- [GIS] Conversion from shapefile to geodatabase feature class in ARCGIS
- [GIS] Can a feature class be stored as a shapefile
- [GIS] Python script to check if feature class exists in geodatabase if not convert feature class to feature class
Best Answer
Using a combination of string manipulation and renaming the feature classes using
arcpy.Rename_management
works, sort of.There's an odd problem with doing this directly. Since your output and input names are technically the same in ArcMap's opinion (this is apparently one of its operations that's case insensitive), it will complain if you just convert them directly.
However, you can work around this by renaming to a dummy variable first, and then converting that to the actual lowercase name...