Ich füge eine xlsx-Datei zu Microsoft Excel hinzu und teile sie mit ArcGIS Online über das ArcGIS for Excel-Plugin.Ich gehe die folgenden Schritte durch.<\/P>
3ArcGIS for Excel: Eine Ebene zu ArcGIS teilenhttps:\/\/doc.arcgis.com\/en\/microsoft-365\/latest\/excel\/share-a-layer-to-arcgis.htm<\/A><\/P><\/span><\/P>Ich weiß, dass Benutzer den "field type" beim Teilen mit ArcGIS Online nicht auswählen können, also versuche ich, eine Dummy-Erste Zeile einzustellen und deren field types zu steuern. Ich habe nach Dokumenten gesucht, wie man einen field type in ArcGIS for Excel bestimmt, aber nur ArcGIS Pro-Dokumente gefunden.<\/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>Ich habe beobachtet, dass sowohl deren "all" Werte (insbesondere Text oder Number) als auch "The format of a cell" in Excel deren field types beeinflussen, aber ich benötige mehr Informationen...<\/P>
<\/span><\/P>Ich weiß, dass Benutzer den "field type" beim Teilen mit ArcGIS Online nicht auswählen können, also versuche ich, eine Dummy-Erste Zeile einzustellen und deren field types zu steuern. Ich habe nach Dokumenten gesucht, wie man einen field type in ArcGIS for Excel bestimmt, aber nur ArcGIS Pro-Dokumente gefunden.<\/P>
<\/P>
Ich habe beobachtet, dass sowohl deren "all" Werte (insbesondere Text oder Number) als auch "The format of a cell" in Excel deren field types beeinflussen, aber ich benötige mehr Informationen...<\/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
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.