So here is the problem. I have a text file with space delimited values. A standard text file with the headings separated by spaces and then on each next line values for these headings (columns) also separated with spaces. Each row represents a certain geographic point feature; however no coordinates (XY-pair) are stored in this text file.
My ultimate goal is to view each row in ArcMap individually (like one can do with the attribute table in ArcMap), edit the attribute values (if needed) and specify the point geometry of the feature by clicking on a map. And here is my issue ??? it seems as I cannot create a feature class without SHAPE field, but because I don???t have any coordinates in the source text file I cannot populate SHAPE field upon creating a new feature class.
What is the most efficient way of achieving this? I am a bit puzzled due to the workflow when all the attributes are populated yet the geometry is to be created. Ideally the solution would be to let user see the attribute table (obtained from the text file), then user selects a certain row user wants to work with, she digitizes a point on the map and the SHAPE field is populated with this point geometry. I understand that this is not how ArcMap was designed, but how one can come closest to this without investing too much in writing an advanced add-in or using ArcObjects?
I have considered so far:
creating a feature class from this text file with some random coordinates, but it is not an applicable alternative because to edit a point feature a user would need to zoom to this point and then move it to another geographic area (using the ArcMap editing session). Since the geographic extent of the points in this collection might be quite large, it would be nearly impossible to use this approach.
creating a geodatabase table from the text file and then let user click on the map to digitize a map point which would represent a certain row in the table (however creating a point feature in a separate feature class). Thereafter, user can choose to transfer all the attributes of a geodatabase table row to the newly created feature (was thinking of using arcpy.da.UpdateCursor here or running a Python script with the join table & feature class > export logic). However, this would imply that when user digitizes a point feature, he would need to enter a custom ID that would match the ID of the row in the table. Right now it seems as there is no maintained unique ID heading in the text file and since multiple text files can be received independently, this approach looks also pretty cumbersome.