laptop and a wrench

Bogue

arcpy.Raster uncompressedSize property returns only the size of the first raster band.

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID de bogue NIM080824
EnvoiMay 15, 2012
Dernière modificationApril 2, 2025
S’applique àNo Product Found
Version trouvée10.0
StatutWill Not Be Addressed

Informations supplémentaires

We apologize that we were unable to address this issue within the current product support cycle. If the issue continues to affect your work in a supported release, please contact Technical Support.

Solution de contournement

Use the following Python code to multiply the returned value by the number of bands to give total size.import arcpyraster = arcpy.Raster("inputRaster.tif")bands = raster.bandCountsize = raster.uncompressedSize * bandspri

Étapes pour reproduire

ID de bogue: NIM080824

Logiciel:

  • No Product Found

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement