I have a dictionary whose keys are map segment names, and whose value is a list of 3 field values.
Using an arcpy.da.SearchCursor on the map segments FeatureLayer, I have extracted the extent object and the names for the segments.
Using the similar map segment names, I want to append the extent values to the dictionary keys (so that I can reference them later). How would I do this, you cant index an Extent object.
for instance:{'m32': [7, 10, 13], 'm33': [7, 10, 13]}...turns into something like:{'m32': [7, 10, 13,XMin,Ymin,XMax,YMax], 'm33': [7, 10, 13,XMin,Ymin,XMax,YMax]}...
so that when I index it, I can index the key, the original values, and index the extent values.
أكثر...
Using an arcpy.da.SearchCursor on the map segments FeatureLayer, I have extracted the extent object and the names for the segments.
Using the similar map segment names, I want to append the extent values to the dictionary keys (so that I can reference them later). How would I do this, you cant index an Extent object.
for instance:{'m32': [7, 10, 13], 'm33': [7, 10, 13]}...turns into something like:{'m32': [7, 10, 13,XMin,Ymin,XMax,YMax], 'm33': [7, 10, 13,XMin,Ymin,XMax,YMax]}...
so that when I index it, I can index the key, the original values, and index the extent values.
أكثر...