Skip to content

Commit

Permalink
Merge pull request #188 from hotosm/hotfix/st_intersects
Browse files Browse the repository at this point in the history
HOTFIX : [BUG] Get intersected features within Polygon
  • Loading branch information
kshitijrajsharma authored Dec 7, 2023
2 parents e390c9e + 3bc53c2 commit 67b00b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def request_snapshot(self, geometry):
"geometry": json.loads(geometry),
"filters": {"tags": {"all_geometry": {"join_or": {"building": []}}}},
"geometryType": ["polygon"],
"useStWithin": "false",
}
response = requests.post(
f"{self.BASE_API_URL}/snapshot/", data=json.dumps(payload), headers=headers
Expand Down

0 comments on commit 67b00b0

Please sign in to comment.