From 98f1c268eb406b4988c4c1207880f64556135e4e Mon Sep 17 00:00:00 2001 From: sujan Date: Fri, 12 Jul 2024 10:39:31 +0545 Subject: [PATCH] fix: precommit --- fmtm_splitter/splitter.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/fmtm_splitter/splitter.py b/fmtm_splitter/splitter.py index 9ec4727..bd58e61 100755 --- a/fmtm_splitter/splitter.py +++ b/fmtm_splitter/splitter.py @@ -160,6 +160,8 @@ def splitBySquare( # noqa: N802 Args: meters (int): The size of each task square in meters. + extract_geojson (dict, FeatureCollection): an OSM extract geojson, + containing building polygons, or linestrings. Returns: data (FeatureCollection): A multipolygon of all the task boundaries. @@ -404,6 +406,11 @@ def split_by_square( GeoJSON string, or FeatureCollection object. meters(str, optional): Specify the square size for the grid. Defaults to 100m grid. + osm_extract (str, FeatureCollection): an OSM extract geojson, + containing building polygons, or linestrings. + Optional param, if not included an extract is generated for you. + It is recommended to leave this param as default, unless you know + what you are doing. outfile(str): Output to a GeoJSON file on disk. Returns: