Microsoft Excel に xlsx ファイルを追加し、ArcGIS for Excel プラグインを通じて ArcGIS Online と共有します。以下の手順を実行しました。<\/P>
ArcGIS for Excel: レイヤーを ArcGIS に共有するhttps:\/\/doc.arcgis.com\/en\/microsoft-365\/latest\/excel\/share-a-layer-to-arcgis.htm<\/A><\/P><\/span><\/P>ユーザーは ArcGIS Online で「field type」を選択できないことは知っているので、まずダミーの最初の行を設定してフィールドタイプを制御しようとしています。ArcGIS for Excel でフィールドタイプを決定する方法についてのドキュメントを探しましたが、ArcGIS Pro のドキュメントしか見つかりませんでした。<\/P>https:\/\/pro.arcgis.com\/en\/pro-app\/latest\/help\/data\/excel\/work-with-excel-in-arcgis-pro.htm#GUID-E4C38438-93DC-472A-9A36-0A64E48FF16B<\/A><\/P> <\/P>Excel の「すべて」の値(特に Text または Number)と「セルの書式設定」の両方がフィールドタイプに影響することは観察しましたが、さらに情報が必要です...<\/P>
<\/span><\/P>ユーザーは ArcGIS Online で「field type」を選択できないことは知っているので、まずダミーの最初の行を設定してフィールドタイプを制御しようとしています。ArcGIS for Excel でフィールドタイプを決定する方法についてのドキュメントを探しましたが、ArcGIS Pro のドキュメントしか見つかりませんでした。<\/P>
<\/P>
Excel の「すべて」の値(特に Text または Number)と「セルの書式設定」の両方がフィールドタイプに影響することは観察しましたが、さらに情報が必要です...<\/P>
https://doc.arcgis.com/en/microsoft-365/latest/excel/data-types-formats-and-categories.htm#ESRI_SECTION1_DC718093F6434AD5950F0496635DD6E2
You can set the cell format in Excel and ArcGIS for Excel should interpret it as per the above.
However, when sharing to ArcGIS Online, the cell values need to be valid for the field type. If your data does not align with the format it may convert it to string or later return an error.
https://support.esri.com/en-us/knowledge-base/problem-generic-errors-from-uploading-and-published-csv-000024821
@ChristopherCounsell Thank you for sharing the reference page and Tech article. These are so useful!
I understood that "There was an error." messages is displayed when sharing with ArcGIS Online(I often face it, too), so it is difficult to control field types of xlsx/csv with a first dummy line.I will prepare data while referencing microsoft-365 help page.Regards,hitsujir
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.