別の属性テーブルのデータを使って、列を更新しようとしています。arcpy.UpdateCursor()を使用しています。
スクリプトを実行してもエラーは出ませんが、更新した値もテーブルに保存されません。
コードのスクリーンショットを添付しました。
どのようなご提案でも大歓迎です。
My first suggestion is don't use Cursor—Help | ArcGIS Desktop , use UpdateCursor—Help | ArcGIS Desktop.
Also, sharing with Python
Hi Hannah,
In your first function, you use an Update Cursor but aren't updating any values. A Search Cursor would be more appropriate. If I understand what you're trying to do correctly, I believe your question is touched upon in some older posts - you can check these two for guidance:
-Earl
ログインすると、投稿したり、更新をフォローしたりできます。初めてですか?無料アカウントを登録しましょう。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.