encode_layers - CLI interface
Encode raster and / or vector layers into a site by layer matrix.
encode_layers [-h] [--config_file CONFIG_FILE] [--log_filename LOG_FILENAME] [--log_console]
[-r REPORT_FILENAME]
[--encode_method {biogeo,presence_absence,largest_class,mean_value}]
[--min_coverage MIN_COVERAGE] [--min_presence MIN_PRESENCE]
[--max_presence MAX_PRESENCE] [--layer [LAYER [LAYER ...]]]
[--layer_file_pattern LAYER_FILE_PATTERN]
grid_filename out_matrix_filename
encode_layers positional arguments
grid_filename- File location of grid to use for site geometries. (default:None)out_matrix_filename- File location to write the encoded matrix. (default:None)
encode_layers optional arguments
--config_fileCONFIG_FILE- Path to configuration file. (default:None)--log_filenameLOG_FILENAME,-lLOG_FILENAME- A file location to write logging data. (default:None)--log_console- If provided, write log to console.-rREPORT_FILENAME,--report_filenameREPORT_FILENAME- File location to write the wrangler report. (default:None)--encode_methodENCODE_METHOD,-mENCODE_METHOD- The method to use to encode each layer. (default:mean_value)--min_coverageMIN_COVERAGE- Minimum percentage of a cell that has to be covered to encode it. (default:25)--min_presenceMIN_PRESENCE- Minimum value to be considered present when encoding presence absence. (default:10)--max_presenceMAX_PRESENCE- The maximum value that should be considered present. (default:127)--layerLAYER- File location of layer [ LABEL [ ATTRIBUTE FIELD ]]. (default:None)--layer_file_patternLAYER_FILE_PATTERN- File pattern to one or more layers. (default:None)