convert_lmm_to_geojson - CLI interface
Convert a lmpy Matrix to a GeoJSON file.
convert_lmm_to_geojson [-h] [--config_file CONFIG_FILE] [-r REPORT_FILENAME]
[--log_filename LOG_FILENAME] [--log_console]
[--shapefile_filename SHAPEFILE_FILENAME] [--resolution RESOLUTION]
[--omit_value [OMIT_VALUE [OMIT_VALUE ...]]]
in_lmm_filename out_geojson_filename
convert_lmm_to_geojson positional arguments
in_lmm_filename
- Lmpy .lmm filename to convert to GeoJSON. (default:None
)out_geojson_filename
- Location to write the converted matrix GeoJSON. (default:None
)
convert_lmm_to_geojson optional arguments
--config_file
CONFIG_FILE
- Path to configuration file. (default:None
)-r
REPORT_FILENAME
,--report_filename
REPORT_FILENAME
- File location to write the wrangler report. (default:None
)--log_filename
LOG_FILENAME
,-l
LOG_FILENAME
- A file location to write logging data. (default:None
)--log_console
- If provided, write log to console.--shapefile_filename
SHAPEFILE_FILENAME
,-s
SHAPEFILE_FILENAME
- Path to a shapefile that can be used to generate polygons matching matrix sites. (default:None
)--resolution
RESOLUTION
- Resolution of the polygons in the GeoJSON if a shapefile was not provided.Otherwise, use points. (default:None
)--omit_value
OMIT_VALUE
,-o
OMIT_VALUE
- Properties should be omitted if they have this value for a site. (default:None
)