Closed kannes closed 4 years ago
Hello kannes, Sorry for the late reply, just saw this post. You should use -m parameter to define methods, for example, 1 means local extremes. So this is the command: python class_achor.py 5 500000 POP_EST ne_10m_admin_0_countries.shp -m 1
Just one suggestions, please use smaller sweep interval to better examine values between center and neighbors.
These are breaks I generated: Class: 2, Breakvalue: 10001000.0 Class: 3, Breakvalue: 40038244.0 Class: 4, Breakvalue: 5038244.0 Class: 5, Breakvalue: 66290913.0 Class: 6, Breakvalue: 23790913.0 Class: 7, Breakvalue: 167084719.0 Class: 8, Breakvalue: 1329584719.0 Class: 9, Breakvalue: 74584719.0 Class: 10, Breakvalue: 14288032.5 9 breaks/10 classes generated.
Hope this reply helps, cheers. Ariel
https://www.naturalearthdata.com/downloads/10m-cultural-vectors/10m-admin-0-countries/
python class_achor.py 5 50000000000 POP_EST ne_10m_admin_0_countries.shp
ends with an error: