Skip to content
Rob Savoye edited this page Aug 17, 2023 · 3 revisions

fmtm-splitter

This is a program to split polygons into tasks using a variety of algorythms. It is a class that can be used by other projects, but also a standalone program. It was originally developed for the FMTM project, but then converted so it can be used by multiple projects.

The class takes GeoJson Polygon as an input, and returns a GeoJson file Multipolygon of all the task boundaries.

Split By Square

The default is to split the polygon into squares. The default dimension is 50 meters, but that is configurable. The outer square are clipped to the AOI boundary.

Split By Feature

The split by feature uses highway data extracted from OpenStreetMap, and uses it to generate non square task boundaries. It can also be adjusted to use the number of buildings in a task to adjust it's size.

Custom SQL query

It is also possible to supply a custom SQL query to generate the tasks.

Clone this wiki locally