当組織は、請負業者から受け取った下水道本管検査の結果を表示するためにCCTV Managerを使用しようとしています。Utility Solutionsツールボックス(バージョン2.2.4)をArcGIS Pro(バージョン2.5)にインストールし、CCTVツールの使い方を学ぶためにサンプルデータもダウンロードしました。すぐに、32ビットのMicrosoft Office 365をまだ使用しているため、Import Access Tables<\/STRONG> GPツールが使えないことがわかりました。そこで、CCTV Managerのヘルプのよくある質問を調べたところ、回避策を見つけました:<\/P><\/P><\/P><\/P>それからArcMap(バージョン10.7.1)に入り、Create File GDB<\/STRONG> GPツールを実行して新しいファイルジオデータベースを作成し、次にTable to Table<\/STRONG> GPツールを使ってSample_v6.mdb<\/STRONG>のすべてのテーブルをこの新しいFGDBに転送しました。その後ArcGIS Proに戻り、Generate CCTV Pipe Features<\/STRONG> GPツールを実行しようとしましたが、以下のエラーが発生しました:<\/P><\/P>そこでINSPECTIONSテーブルとCONDITIONSテーブルの属性テーブルを開いてみると、以下のような状態でした:<\/P><\/P><\/P>どうやらTable to Table<\/STRONG>ツールはINSPECTIONSテーブルのInspectionIDフィールドとCONDITIONSテーブルのConditionsIDフィールドをObject IDフィールドに変換してしまい、それがGenerate CCTV Pipe Features<\/STRONG>ツールで使用できませんでした。調査したところ、他のユーザーは.mdbから.gdbへテーブルを転送する際にTable to Geodatabase<\/STRONG> GPツールを使用しており、私も試しましたが同じ結果でした。解決策が見つからなかったため、Object IDフィールドのエイリアスを「Object ID」に変更し、INSPECTIONSテーブルのInspectionIDフィールドとCONDITIONSテーブルのConditionsIDフィールドを再作成してObject IDフィールドから値をフィールド計算で設定しました。その後、Generate CCTV Pipe Features<\/STRONG> GPツールを実行すると期待通りに動作し、望んだ出力が得られました。最後に他のサンプルデータでも同じ手順を試し、Sample_v7.mdb<\/STRONG>では問題なく動作しましたが、ITpipes_v1.5.43.mdb<\/STRONG>では同じフィールドで同様の問題が発生しました。<\/P><\/P>.mdbから.gdbへこれらのテーブルを転送する際に元のデータを壊さずにObject IDだけ追加するより良い方法や、自分が何か間違っているかどうか教えていただければと思います。<\/P><\/BODY><\/HTML>
In access, were those fields Autonumber fields?
I don't know, this was sample data that was provided with the CCTV Manager solution and I'm not that proficient in Access. Is there a way to tell if I open the .mdb in Access?
I reviewed the sample data, the v6 data does have the condition ID field as an autonumber, which ArcMap will treat as ObjectID. The import access table tool that we include handles this issue for you. If you encounter this in and cannot use this tool in ArcGIS Pro, the simplest option is to open the table in Access, add a new number column using Design View and Copy and Paste the values from the Autonumber field into it.
Thanks Michael for your help. Since I'm not too good with Access, I exported the tables I needed as an Excel files from Access and then used the ArcGIS Pro GP tool Excel to Table to put them in a .gdb. Then I was able to use the Create CCTV Pipeline Features tool and it generated the content as expected with no issues.
I have also worked with some past CCTV inspection data we received from our contractor. They also had the ConitionID and InspectionID fields as an autonumber as well, so maybe this is a common practice? In that case, perhaps the online help for those running 32-bit Microsoft Office should be revised with another solution that does not involve the Table to Table or Table to Geodatabase GP tools because they will not generate output useable by the Create CCTV Pipeline Features GP tool.
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.