Skip to content

Commit

Permalink
docs: update usage examples for cli and api
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Dec 4, 2023
1 parent 1d444dc commit 9b96777
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,23 @@ fmtm-splitter -v -b AOI -s PG:colorado
> The task splitting defaults to squares, 50 meters across. If -m is used
> then that also defaults to square splitting.
### With Custom Query
#### With Custom Query
```bash
fmtm-splitter -b AOI -b 20 -c custom.sql
fmtm-splitter -b AOI -c custom.sql
```
> This will use a custom SQL query for splitting by map feature, and adjust task
> sizes based on the number of buildings.
#### Using FMTM Splitting Algorithm
```bash
fmtm-splitter -b "/path/to/aoi.geojson" \
-db "postgresql://myuser:mypass@myhost:5432/mydb" \
-number 10 -e "/path/to/extract.geojson"
```
### Via API
#### Split By Square
Expand Down

0 comments on commit 9b96777

Please sign in to comment.