Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📍 Store the entire nominatim response; not just 'address' #973

Merged
merged 2 commits into from
Aug 28, 2024

Conversation

JGreenlee
Copy link
Contributor

No description provided.

JGreenlee added a commit to JGreenlee/e-mission-phone that referenced this pull request Aug 19, 2024
Since the server now fills in geocoded_address (we may later change this to reverse_geocode), we will only need to perform a client-side nominatim request for unprocessed trips.
If either field is present, we'll use that; otherwise schedule a request like before.

Updated types:

-Since the CompositeTrip type definition is based on the return type of Timeline.readAllCompositeTrips, which is after "unpacking", start_confirmed_place and end_confirmed_place are simply ConfirmedPlace, not BEMData<ConfirmedPlace>
-ConfirmedPlace.location is a `Point`, (having `coordinates`) not just a generic `Geometry`
-added geocoded_address and reverse_geocode, both as optional since it depends on e-mission/e-mission-server#973
@shankari
Copy link
Contributor

The packaging changes rewrite is taking too long, so I'm merging this proactively. This should allow @JGreenlee to fix
e-mission/e-mission-phone#1166 so we don't have to change it again immediately.

@shankari shankari changed the base branch from master to add_labeling_screen August 24, 2024 05:13
@shankari shankari changed the base branch from add_labeling_screen to master August 24, 2024 05:13
@shankari
Copy link
Contributor

@JGreenlee can you pull from master to this branch so that this incorporates 86614ed and the automated tests pass?

@shankari shankari merged commit c6030ef into e-mission:master Aug 28, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants