From 427b972319c54712926484fc2d5b09c38e6729e2 Mon Sep 17 00:00:00 2001 From: Rob Savoye Date: Mon, 25 Nov 2024 08:18:07 -0700 Subject: [PATCH 1/2] fix: Update usage message for current reality --- fmtm_splitter/splitter.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fmtm_splitter/splitter.py b/fmtm_splitter/splitter.py index dcea438..570c816 100755 --- a/fmtm_splitter/splitter.py +++ b/fmtm_splitter/splitter.py @@ -728,9 +728,7 @@ def main(args_list: list[str] | None = None): be either the data extract used by the XLSForm, or a postgresql database. examples: - fmtm-splitter -b AOI - fmtm-splitter -v -b AOI -s data.geojson - fmtm-splitter -v -b AOI -s PG:colorado + fmtm-splitter -b AOI.geojson -o out.geojson --meters 100 Where AOI is the boundary of the project as a polygon And OUTFILE is a MultiPolygon output file,which defaults to fmtm.geojson From cff4b9f873110947e4d88dc2083337e60dcb1a57 Mon Sep 17 00:00:00 2001 From: Rob Savoye Date: Mon, 25 Nov 2024 08:19:59 -0700 Subject: [PATCH 2/2] fix: Update command line args --- docs/usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/usage.md b/docs/usage.md index c8c7482..c5bc02c 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -31,7 +31,7 @@ by the XLSForm, or a postgresql database. ### Via Command Line ```bash -fmtm-splitter -b AOI +fmtm-splitter -b AOI --meters 50 fmtm-splitter -v -b AOI -s data.geojson fmtm-splitter -v -b AOI -s PG:colorado ```