Is there a way to join two datasets together (eg. FeatureClass called setA with fields "blabla1" "blabla2" and a textfile called setB.txt), then export the joined data as a new Featureclass without the new fieldnames to be setB.txt_blabla1; setB.txt_blabla2 but just blabla1; blabla2?
If not, is there a way to change many field names in a geodatabase at the same time automatically? Or to export the names to excel and import them again somehow?
Best, P
Solved! Go to Solution.
I Guess you meant to ask me about the ET tools. Yes, there are some great functions in that toolset and they have come in handy for me many times. In your case though, I think you're going to need a python script. I suggest posting a new question in the python subgroup, asking specifically for help with a script to strip those characters from your fields. You will get help more pertinent to your specific issue that way, and I feel your initial question has been answered, at least as you asked it.
Hi P V,
Take a look at the Feature Class to Feature Class tool. This will allow you to review the field names, and change them if need be, before exporting the feature class.
Thanks for the input, but how can I modify many fields at the same time without going through all fields manually? Like removing the All_txt_ at all fields (over 500 fields)
Hey P.V.,
You might also check out the functions available in the ET Geowizard tools, an add-in for ArcGIS: ArcGIS tools add-ons and extensions from ET SpatialTechniques . I have found the Redefine Fields and Order Fields tool very useful, as these functions are not easily performed in ArcGIS.
Hey Chris!
Thanks, I think the Reorder Tool is very useful indeed. However, for the question on how to change many fieldnames at the same time, I do not see on how the redefine tool can help me? How can I manipulate many fields automatically? I need to remove the All_txt_ for many fields
I Guess you meant to ask me about the ET tools. Yes, there are some great functions in that toolset and they have come in handy for me many times. In your case though, I think you're going to need a python script. I suggest posting a new question in the python subgroup, asking specifically for help with a script to strip those characters from your fields. You will get help more pertinent to your specific issue that way, and I feel your initial question has been answered, at least as you asked it.
Not exactly what you want but another option - If you have a more recent version of ArcGIS, you can also look into using the Alter Fields tool (Data Managment):
ArcGIS Help (10.2, 10.2.1, and 10.2.2)
Chris Donohue, GISP
In theory you might just try setting the joined data to show aliases and export your output with the same option.
Third paragraph here: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//005s0000002p000000
I seem to remember this not working due to some bug....but maybe it got patched. I seem to remember something ... Maybe in that Advanced Settings GUI where there is a check box for this..... And they give it a fancy term that sadly I can't recall.
Edit .....try searching "Qualified Field Names". Sure you could do this with python....but seems like needless pain to me.