Přidám soubor xlsx do Microsoft Excel a sdílím ho s ArcGIS Online pomocí pluginu ArcGIS for Excel.Postupuji podle následujících kroků.<\/P>
ArcGIS for Excel: Sdílet vrstvu do ArcGIShttps:\/\/doc.arcgis.com\/en\/microsoft-365\/latest\/excel\/share-a-layer-to-arcgis.htm<\/A><\/P><\/span><\/P>Vím, že uživatelé nemohou vybrat "field type" při sdílení v ArcGIS Online, takže se snažím nejprve nastavit dummy první řádek a ovládat jejich field types. Hledal jsem dokumenty, jak rozhodnout o typu pole v ArcGIS for Excel, ale našel jsem pouze dokumentaci pro 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>Pozoroval jsem, že jak jejich "all" hodnoty (zejména Text nebo Number), tak "The format of a cell" v Excelu ovlivňují jejich field types, ale potřebuji více informací...<\/P>
<\/span><\/P>Vím, že uživatelé nemohou vybrat "field type" při sdílení v ArcGIS Online, takže se snažím nejprve nastavit dummy první řádek a ovládat jejich field types. Hledal jsem dokumenty, jak rozhodnout o typu pole v ArcGIS for Excel, ale našel jsem pouze dokumentaci pro ArcGIS Pro.<\/P>
<\/P>
Pozoroval jsem, že jak jejich "all" hodnoty (zejména Text nebo Number), tak "The format of a cell" v Excelu ovlivňují jejich field types, ale potřebuji více informací...<\/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
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.