Questions tagged [objectid]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
110 views

Maintain OBJECTID for new added polygons using QGIS to an Oracle geodatabase feature table created from ArcGIS Pro 3.2

When ADD new Polygons to a Feature Class using QGIS 3.36.1-Maidenhead the OBJECTID field is not populated and is used to keep the Integrity. The following ERROR is raised: ..Oracle Error while ...
user241947's user avatar
1 vote
1 answer
130 views

How to delete duplicate objectID in ogrmerge?

I am using ogrmerge to merge two GeoJSON files together. These two files can sometimes have duplicate objectIDs. Is there a way I can specify from the ogrmerge command options to only select distinct ...
user16573033's user avatar
3 votes
1 answer
535 views

Copying Object ID from an online layer to offline one using Feature class to Feature class conversion (ArcGIS Pro)

I have an online feature class "A" with a field "OBJECT ID". I am using Feature Class to Feature Class conversion to create a copy in my local Geodatabase. While doing so I ...
soumik chakraborty's user avatar
0 votes
0 answers
563 views

ArcGIS Pro - My point feature class won't display respect the drawing order according to ObjectID field

I'm trying to share a point feature class as a web layer. When I do the draw order of my points is opposite of what I expected. It is my understanding that the draw order is based upon ObjectID and ...
ChrisLMD's user avatar
0 votes
1 answer
692 views

Why is the OBJECTID= 0 (zero)? [closed]

I consider myself fairly new to ArcGIS, in that I'm comfortable with all of the basic map-drawing functions. However, there are still things that confuse me. I am working on a project where I must ...
cascademapper_30's user avatar
3 votes
1 answer
835 views

Is the ObjectId value guaranteed to be unique after features are deleted and re-created in an enterprise geodatabase?

I'm working with an enterprise MS SQL Server geodatabase which is accessed via SDE. ArcGIS manages ObjectId values such that they are uniquely assigned as features are added to the geodatabase. My ...
Stephen Lead's user avatar
  • 21.1k
0 votes
3 answers
3k views

ArcMap says there is no Object-ID field, but there is, even after exporting data as shapefile

Starting just a day or two ago, I have been running into the same issue every time I try to Display XY coordinates from a .csv file. When I add a .csv file, Display XY Data, I get an error that there ...
mv9916's user avatar
  • 53
2 votes
1 answer
1k views

Dropping OID column when executing "Table to Table" tool in ArcMap ModelBuilder?

I am creating a ModelBuilder model, and from a feature class I am exporting the final output as .txt with "table to table" tool. (I just want a list of two fields (PID and DIST ). On the tool's field ...
Meric's user avatar
  • 23
1 vote
1 answer
63 views

ArcObjects - IFeature HasOID property returning false when there is clearly an OID [closed]

When inspecting features in my featureclass, I am checking to see if a feature has an OID using the HasOID property. Even though the feature(s) clearly has an ID on visual inspection (via ArcMap), the ...
Michael Rut's user avatar
3 votes
1 answer
1k views

What requirements does ArcMap have for an ObjectID field name?

When creating standalone tables in a geodatabase, what are the requirements for the OID/FID/ObjectID field name? Specifically, does it have to be named 'ObjectID'?
Barbarossa's user avatar
  • 5,797
1 vote
2 answers
252 views

arcpy.Select_analysis choosing only a fraction of the record

I'm trying to divide up a feature class into a number of smaller sets. I have been using Select_analysis with objectid to divide up the featureclass so far but know that this is not the best method. ...
Andy's user avatar
  • 39
0 votes
0 answers
118 views

Adding old FID to new feature class using ArcMap?

I have been tasked to relocate some assets, about 1000 preexisting point and line feature classes. I will be collecting the correct GPS coordinates to realign all the assets but I'm not sure how to ...
Allen Yip's user avatar
0 votes
2 answers
993 views

Merging layers with different objectid types

I have a problem that's stumped me. I'm merging flood hazard layers from FEMA. For most states, the objectid is a real number. California (we're always the weird ones) has an objectid that's '...
AM Dagoski's user avatar
3 votes
1 answer
1k views

Reference ObjectID in a where clause within an UpdateCursor

I have a dynamic list of ObjectID values I need to filter an UpdateCursor on. I am setting a where_clause as: where_clause_points = "[ObjectID] IN({0})".format([x for x in inspected_points]) Which ...
m.Walker's user avatar
  • 135
0 votes
1 answer
639 views

Pirmary key constraint on objectid field

I am trying to copy data from a PostgreSQL (9.4) DB table to an SDE table. Both have an objectid field. If I copy the data from the source table with the OID field, I get an error because the values ...
GabSP's user avatar
  • 3
0 votes
0 answers
364 views

Gdal Read Geodatabase Features Don't Show Object ID

I am using Gdal Node.js interface to read features of a layer from a Esri Geodatabase. My javascript code looks like this: var dataset = gdal.open(inputPath); var layer = dataset.layers.get(layerName)...
zhangjinzhou's user avatar
1 vote
1 answer
195 views

Getting features using objectID in ArcGIS Runtime SDK for iOS?

In ArcGIS Server 10.2, there is a method named lookupFeatureWithObjectId in the class AGSFeatureLayer.h. However, there is no such method in ArcGIS Runtime SDK for iOS version 100.x. How can i ...
Muruganandham Kuppan's user avatar
0 votes
1 answer
387 views

Is ArcGIS archiving based on ObjectID or GlobalID?

My question is about the "archive" functionality that is available for the enterprise geodatabase tables in ArcMap. Does it use the ObjectID to determine that an object is the same as an archived one?...
Legisey's user avatar
  • 189
0 votes
0 answers
239 views

ArcGIS 10.2 objectid returning non sequential values

I am making a SQL insert in a geotable. I'm getting the objectid via: sde.gdb_util.next_rowid('my_user', 'my_table') However, I've noticed that numbers given are not always in sequence. For instance,...
user3357358's user avatar
2 votes
1 answer
512 views

Preserving OID when appending in ArcPy?

The following snippet works perfectly when appending one FC to another, with a slight schema difference (1 field): target_layer = "blah blah blah.sde/yada.DBO.yada_yada" append_layer = renamefgdb+'\...
tpcolson's user avatar
  • 257
1 vote
0 answers
72 views

Unable to create new feature for FeatureLayer with editor widget

I´m using this sample for default editor widget with the help of ArcGIS API for JavaScript. I replaced featurelayers with my own layer. It´s possible to update and delete features, but I don´t create/...
Martin Zápotocký's user avatar
0 votes
1 answer
86 views

Assigning row-wise value to rotated grid of points using ArcGIS Desktop?

I am working with a climate model that operates by means of a rotated grid of points. The rotation angle is about 15 degrees counterclockwise. The points are provided with (N, E) coordinates, but ...
FaCoffee's user avatar
  • 823
1 vote
1 answer
372 views

Field Calculator: extract single cell based on it's OBJECTID?

Is it possible to copy a single value inside a field based on it's OBJECTID from another field? Some sort of if-then-else logic? For example I would like to copy the value in the Area field ...
Michelle's user avatar
6 votes
5 answers
2k views

Does the OBJECTID in an Oracle Geodatabase table have a primary key constraint, by default?

Tables that are created in Oracle using ArcGIS Desktop are given an OBJECTID field by default. The OBJECTID field is assigned a unique not-nullable index. Does the OBJECTID in an Oracle Geodatabase ...
User1974's user avatar
  • 1,132
1 vote
1 answer
710 views

Create a table that is not registered with the geodatabase

I am doing some testing that requires having a Oracle table that is not registered with the geodatabase. For instance, Adding an Incrementing ID Field can only be performed on a table that is not ...
User1974's user avatar
  • 1,132
1 vote
1 answer
1k views

How can I create a numeric field (not ObjectID) with a unique number for each record?

I need to do some analysis in ArcGIS, export the data to Excel, do some more analysis, import the results back to ArcGIS, and join the resulting table back to one of the original feature classes. Am I ...
Mhoram's user avatar
  • 629
2 votes
1 answer
143 views

Making ArcGIS tool to generate ObjectIDs that start from Upper left rather than bottom left in Fishnet?

When I spatial join a fishnet with another fishnet, I see ObjectIDs start from bottom left of the feature rather than Upper left of features. How can I make ArcGIS to create feature class having ...
user avatar
1 vote
1 answer
380 views

Find Delta only records in ArcGIS (SDE) [closed]

We have spatial layers in ArcSDE with objectid as unique value, I've taken this data to another platform & migrated data to cloud. Now, after months, back in ArcSDE and want to migrate new data (...
Bos's user avatar
  • 19
2 votes
3 answers
4k views

FeatureClassToFeatureClass_conversion: How to export feature class to shapefile without losing OBJECTID

I am trying to automate a workflow which involves exporting multiple feature classes (within a geodatabase) to shapefile format. My inclination has been to use the ...
Jess's user avatar
  • 127
1 vote
1 answer
889 views

Retrieve OBJECTID from query result from GISServer

Is there any way to obtain the OBJECTID value from returned result from GISServer query? For example: var searchString = "OBJECTID = 0001 OR OBJECTID = 0002"; var queryTask = new esri.tasks....
user3754580's user avatar
1 vote
0 answers
486 views

Error 000666, does not have OID with Locate Features Along Route in ModelBuilder [closed]

I'm trying to take a bunch of point data and determine what points of surveyed lines are closest to each point. To this end I have put together a model that loops through the line features and in ...
Paddy's user avatar
  • 11
7 votes
2 answers
5k views

where is the sequence in Oracle associated with the Objectid field in ArcGIS, and how to manage it?

I am working in ArcGIS 10.1 with tables from Oracle, now under control of SDE, after making use of the option: 'Register with Geodatabase'. All these tables have a column named 'Objectid' with an ...
Web-GIS entrepreneur's user avatar
1 vote
3 answers
1k views

Unable to edit map in ArcGIS

For some reason I am unable to edit my map in ArcGIS. When I click 'start editing' on the editor toolbar, I get the following error message: I've ensured that my field names in the Excel table don't ...
MikeFallopian's user avatar
2 votes
1 answer
144 views

buffer by objectid in arcpy

is there a way in Arcpy (arcgis 10.2.1) to buffer lines by selecting thier objectid? arcpy.Buffer_analysis("MY_JUNK","d:/data/ArcGIS/Default.gdb/MY_JUNK_Buffer1","10 Meters","FULL","ROUND","NONE","#")...
user1995458's user avatar
1 vote
1 answer
1k views

How to get Last ObjectID of feature class using ArcPy?

I have a feature class and I need to know the ObjectID of its last record. What is the best way to find out last ObjectID? Opening a search cursor and reading all the records is one way, but is ...
shafey's user avatar
  • 119
16 votes
1 answer
9k views

What's the best way to get the OBJECTID name?

What's the best way to get the OBJECTID name of a feature class? I know you can use "OID@" in a cursor to get the field, but can you get the name from that as well? I'm writing a script, and need to ...
ianbroad's user avatar
  • 9,141
-1 votes
3 answers
4k views

Copying table in ArcGIS Desktop and keeping same feature ID (objectID)?

What geoprocessing tool can I use to copy a table from an ArcSDE Geodatabase to a Personal Geodatabase, keeping the feature ID (objectID)?
Ghassan Karwchan's user avatar