From 37183ea2166a4a3d52fe1191eed8a6269051d7e2 Mon Sep 17 00:00:00 2001 From: sujanadh Date: Thu, 3 Jul 2025 15:49:47 +0545 Subject: [PATCH] fix: add params like st_within and centroid --- osm_data_client/models.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/osm_data_client/models.py b/osm_data_client/models.py index de79e8b..da02af7 100644 --- a/osm_data_client/models.py +++ b/osm_data_client/models.py @@ -133,6 +133,8 @@ class RequestParams: file_name: str = "osm_export" output_type: str = "geojson" bind_zip: bool = True + centroid: bool = False + use_st_within: bool = True filters: Optional[FilterDict] = None geometry_type: Optional[list[str]] = None @@ -196,6 +198,8 @@ def to_api_params(self) -> dict[str, Any]: "fileName": self.file_name, "outputType": self.output_type, "bindZip": self.bind_zip, + "centroid": self.centroid, + "useStWithin": self.use_st_within, } if self.filters: