New answers tagged statistics
You can do this using arcpy in conjunction with numpy: import arcpy import numpy as np input = "c:/data/usa.gdb/USA/counties" arr = arcpy.da.FeatureClassToNumPyArray(input, ('population_density')) ##to create 3 rank for example p1 = np.percentile(arr, 33) # rank = 0 p2 = np.percentile(arr, 67) # rank = 1 p3 = np.percentile(arr, 100) # rank = 2 #use ...
since the data clustering is arbitrary The data clustering is not arbitrary, cartodb uses different clustering techniques: quantiles head and tails jenks equal interval If you change the data clustering for your needs is ok but take into account you are not doing data visualization. for reference, these are the source code for the functions to ...
IMHO its only a theme of "how paint the data" if you think its best for the understanding of the map change the colour of certain data or location there are no problem. But if you are changing the data to a better adaptation to your personal needings...not a good choice.
Though I can't find any definitive reference at the moment, from all appearances, the file is modified because the statistics are actually stored within it. I doubt that calculating statistics would change image values. Saving statistics in the file is likely just a convenience to provide faster access next time they are needed. This link from GDAL, for ...
Top 50 recent answers are included