AnsweredAssumed Answered

Feature Class does not show sorted order of ObjectId.

Question asked by lalit.arora on Sep 29, 2015
Latest reply on Jan 24, 2016 by yaronel1

I'm using ArcGIS version 10.2.2

 

If I use CopyFeatures, FeatureClassToFeatureClass, Append management tools, updated features show up correctly sorted on ObjectID. In my GP scenario I'm not the owner of dataset/feature class. I'm working with another user having privilege to insert update delete records.

 

In my GP script, I delete old features from a FC using arcpy.DeleteFeatures_management.

and Inserted new features in this by using arcpy.da.insertcursor,

record inserted in the correct order, I can see from auto generated object ids.

But on opening attribute table in ArcMAP or preview in ArcCatelog the table don't show records sorted on Object ID. I tried to rebuild indexes, set spatial index on FC using owner user. It did not help

 

What's the difference. How I can see data by sorted order of objectId?

 

Thanks and Regards

Lalit Arora

Outcomes