Select to view content in your preferred language

Add Fields using python inside a Mosaic Dataset do not show in the order of tiles....

610
2
10-23-2012 01:19 PM
JanBliki
New Contributor III
I use a python script to add fields inside a mosaic dataset that I then fill using a UpdateCursor.
All this looks fine and can see the fields inside ArcCatalogue and ArcMap (using the table view on the footprint)

But when using the properties of the mosaic dataset and want sort my scenes on the new fields I discover they are not visible. Making a manual insert of these fields makes them show up... Has anyone seen that same behavior? Am I doing something wrong?

Jan
0 Kudos
2 Replies
JamieDrisdelle
New Contributor III
Hi Jan,

What version are you running?

Jamie
0 Kudos
JanBliki
New Contributor III
I was using version 10.1.

this.arcpy.AddField_management(this.geoTable,fieldname,fieldtype,\
                                                   field_length=fieldlength,field_is_nullable=True)

I can see a SP1 came out so I will install this and try again.
0 Kudos