Closed 12rambau closed 3 years ago
it would be good include the option to import colors as well (columns with R,G,B) When you have many classes then you don't need to assign colors - these are also included in the FAO legend database
it would be good include the option to import colors as well (columns with R,G,B) When you have many classes then you don't need to assign colors - these are also included in the FAO legend database
hexadecimal is even easier to handle
After some discussion with Matieu and colleagues it has been decided to use an specific format to export classification legends from the FAO registry.
I will be a .csv file containing the following structure:
Value, ClassName, Red, Green, Blue, Alpha
0, NA, 255, 255, 255, 255
will it be ok for you to handle it ?
Try this out on the test server.
It'll do both the strange channel per column format as well as hex, css color names, rgb(n, n, n), hsv(n, n, n). Alpha channel will be ignored. The user will be able to pick which CSV column contains which piece of information. I'm provide reasonable default column mapping based on data type and column names.
I was following a webinar on the classification tool.
First thing first, this is totaly awesome congrats to the developers!
Then comes the feature request, in the exercice we need to set all our legends by hand. on the other hand, FAO is populating the following webpage with all the subregional classes that can be used in a subregion with downloadable files.
Could it be possible, at the legend level to import a .csv (or any format that you see fit) instead of manually reintroduce all the classes ?