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¶
- Generate a geojson bbox via geojson.io
- Copy the content into output/input.geojsonin this repo.
- 
Run the splitting algorithm: docker compose run --rm splitter fmtm-splitter \ --boundary output/input.geojson \ --outfile output/output.geojson \ --number 50Note: a data extract will be generated for you. 
- 
Copy the data from output/output.geojsonto geojson.io to visualise.
Note: to include a custom data extract, pass the
--extractflag point to a geojson file.
Option 2: FMTM¶
- 
Setup FMTM: git clone https://github.com/hotosm/fmtm.git cd fmtm cp .env.example .env # Open docker-compose.yml and uncomment - ../osm-rawdata/osm_rawdata:/home/appuser/.local/lib/python3.10/site-packages/osm_rawdata # Run FMTM docker compose up -d
- 
Go to the FMTM dashboard 
- Create a new project.
- Upload your project AOI.
- Upload or generate a data extract.
- On the task splitting page, select Task Splitting Algorithm.
- Then click Click to generate tasksto see the algorithm output.