-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: info about visual testing using geojson.io
- Loading branch information
1 parent
fe87c73
commit 3fb98ea
Showing
3 changed files
with
32 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Testing FMTM Splitter Visually | ||
|
||
Sometimes a GeoJSON printed to the terminal just doesn't cut it... | ||
|
||
If you wish to view the split data output in a more visual way: | ||
|
||
## Option 1: GeoJSON.io | ||
|
||
1. Generate a geojson bbox via [geojson.io](https://geojson.io) | ||
2. Copy the content into `output/input.geojson` in this repo. | ||
3. Create a data extract and place inside `output/extract.geojson`. | ||
4. Run the splitting algorithm: | ||
|
||
```bash | ||
docker compose run --rm splitter fmtm-splitter \ | ||
--boundary output/input.geojson \ | ||
--extract output/extract.geojson \ | ||
--outfile output/output.geojson \ | ||
--number 50 | ||
``` | ||
|
||
5. Copy the data from `output/output.geojson` to geojson.io to visualise. | ||
|
||
## Option 2: FMTM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters