XY値をポイントに変換しましたが、Add fieldツールを使って同じシェープファイルにObject-IDを生成しようとしたところ、ツールが動作せず、「テーブルは編集できません」というメッセージが表示されました。この問題を解決する方法を教えていただけますか?<\/P><\/BODY><\/HTML>
You are close to clarify my doubt, I know that we can use Make XY Even Layer to plot our coordinates from csv/xlxs files, but what I want is FID/OID must be created dynamically while plotting the coordinates.
As Joshua says, make your event layer, then save it out to a shapefile and the FID will be created, or make it in a geodatabase and you will get the same thing but it is called OBJECTID. If the problem is that you want stuff in a different order than would be generated... do the reordering before bringing it. Once, created the FID remains as long as the feature exists. IDs only get regenerated when edits are done and saved.
Can you elaborate on "while plotting it from .csv."
If you are plotting x,y coordinates from a CSV file, have you looked at Make XY Event Layer? The Make XY Event Layer tool won't generate an FID/OID, but it does convert your x,y coordinates into a valid layer in ArcMap.
Why do you need an FID/OID dynamically created? What are you trying to do that is prevented from not having that field?
Sir I want to generate FID to shapefile automatically while plotting it from .csv. FID can be generated as per your answer and also once we plot it from table and export it then automatically FID will be generated. I want to generate it while plotting.
The FID field can't be edited or modified. If you want to add a new field, you can add one as and integer field, then simply calculate values for it using the field calculator (ie newfield = FID or similar)
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.