Hot answers tagged


Taking multiple questions out of order: The size of a raster is just the product of bit-depth/8, bands, rows, and columns plus header metadata (statistics, etc.) 32/8 x 1 x 32225 x 13417 = 173079300 bytes ~= 1710Mb 8/8 x 1 x 32225 x 13417 = 43269825 bytes ~= 438Mb ArcGIS does not report the compressed file size. Compression tools are very sensitive ...


Omit the for loop and run copytree on the directory.


This doesn't have to do with the FileGDB API so much as Visual Studio/Windows software development. Esri ships two libraries, the link library in lib, and the runtime library in bin. The link library is just a set of stubs so the compiler knows the DLL function signatures, and the runtime library contains the actual file geodatabase functions. Actually, ...


Try this: mlayer = arcpy.mapping.ListLayers(mxd, "1415_LGA_SpatJ", df)[0] fn_field = 'MAPID' ....function which creates list of values a_list for each_a in a_list: whereClause = '"' + fn_field + '"' + ' = ' + "'" + each_a + "'" arcpy.SelectLayerByAttribute_management(mlayer, "NEW_SELECTION", whereClause) Assuming it works it represents just ...

Only top voted, non community-wiki answers of a minimum length are eligible