Skip to content

Conversation

@joaquimds
Copy link
Member

Description

When geocoding an Area, uses area.polygon.point_on_surface instead of centroid to return a point that is definitely inside the area. Also makes sure that the postcode_data always uses the Area that was matched by code, over the geocoding results.

Motivation and Context

https://linear.app/commonknowledge/issue/MAP-1042/fix-output-area-postgis-geocoding-issue

@linear
Copy link

linear bot commented Mar 31, 2025

@commonknowledge-bot commonknowledge-bot deployed to feature/map-1042-fix-output-area-postgis-geocoding-issue - meep-database PR #228 March 31, 2025 12:56 — with Render Active
@commonknowledge-bot commonknowledge-bot temporarily deployed to feature/map-1042-fix-output-area-postgis-geocoding-issue - meep-intelligence-hub-backend PR #228 March 31, 2025 12:57 — with Render Destroyed
@commonknowledge-bot commonknowledge-bot temporarily deployed to feature/map-1042-fix-output-area-postgis-geocoding-issue - meep-intelligence-hub-backend PR #228 March 31, 2025 12:57 — with Render Destroyed
@joaquimds joaquimds force-pushed the feature/map-1042-fix-output-area-postgis-geocoding-issue branch from 27c8e16 to 4a5dfb9 Compare March 31, 2025 12:57
@commonknowledge-bot commonknowledge-bot temporarily deployed to feature/map-1042-fix-output-area-postgis-geocoding-issue - meep-intelligence-hub-frontend PR #228 March 31, 2025 12:57 — with Render Destroyed
@commonknowledge-bot commonknowledge-bot had a problem deploying to feature/map-1042-fix-output-area-postgis-geocoding-issue - meep-intelligence-hub-worker PR #228 March 31, 2025 12:57 — with Render Failure
@commonknowledge-bot commonknowledge-bot temporarily deployed to feature/map-1042-fix-output-area-postgis-geocoding-issue - meep-intelligence-hub-frontend PR #228 March 31, 2025 12:57 — with Render Destroyed
@joaquimds joaquimds force-pushed the feature/map-1042-fix-output-area-postgis-geocoding-issue branch from 4a5dfb9 to f5b8458 Compare March 31, 2025 16:42
@commonknowledge-bot commonknowledge-bot deployed to feature/map-1042-fix-output-area-postgis-geocoding-issue - meep-intelligence-hub-worker PR #228 March 31, 2025 16:42 — with Render Active
@janbaykara
Copy link
Member

Grand, happy for this to be merged as the tests are just about Mailchimp test rig failures @joaquimds

@joaquimds joaquimds force-pushed the feature/map-1042-fix-output-area-postgis-geocoding-issue branch from f5b8458 to 6889a04 Compare April 2, 2025 09:19
@commonknowledge-bot commonknowledge-bot temporarily deployed to feature/map-1042-fix-output-area-postgis-geocoding-issue - meep-intelligence-hub-backend PR #228 April 2, 2025 09:19 — with Render Destroyed
@commonknowledge-bot commonknowledge-bot temporarily deployed to feature/map-1042-fix-output-area-postgis-geocoding-issue - meep-intelligence-hub-worker PR #228 April 2, 2025 09:19 — with Render Destroyed
@joaquimds joaquimds merged commit ce89b2d into main Apr 2, 2025
6 checks passed
@joaquimds joaquimds deleted the feature/map-1042-fix-output-area-postgis-geocoding-issue branch April 2, 2025 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants