Select to view content in your preferred language

Adding raster metadata to a mosaics attribute table

2059
0
02-27-2014 09:29 AM
MichaelNesius
Deactivated User
Hi All,

I'm trying to figure out a way to automatically calculate fields in a mosaic dataset's attribute table based on metadata/XML tags.

The Help documentation mentions adding a field and giving it a name = the xml tag:
http://resources.arcgis.com/en/help/main/10.1/index.html#//009t0000023z000000

When I try to enter the field's name using a tag (e.g. /metadata/dataqual/lineage/srcinfo/srcscal) I get an error about invalid characters b/c of the /


Any suggestions on getting this to work?
Anyone have success using a python script with ElementTree() to parse an xml and calculate attribute fields?


I currently have a script that pulls in raster properties, but there are a few things from the metadata that I'd like to add to the attributes (e.g. /cntper, /cntorg...)

Thanks for any help and suggestions!
0 Kudos
0 Replies