You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had to make the search function dumber when adapting to a Swedish context. The French version can return results for your municipality and sorts the centers based on how far they are from you.
That is a bit harder to implement in Sweden for several reasons.
The first one is political, people need to get vaccinated in their region because of the regionalisation of the Swedish healthcare. So when returning results by proximity, it should still filter out those who are not in the region of your municipality.
Other than that:
Municipalities are bigger than in France so it would be harder to give an accurate proximity
Postcodes would be a smarter way to solve it since they refer to a much smaller area. But to my knowledge, there is no open data of postcodes in Sweden so we would have to ask nicely to a private service like postnummerservice.se.
Vite Ma Dose implements a really quick autocomplete for municipalities thanks to static files.
The text was updated successfully, but these errors were encountered:
Would a quick as-the-crow-flies distance sort be good enough? Or is travel time a requirement?
Do we have regional geojson shapes? If so it could be utilized to measure the within of user and return only objects matching that regionid to the sort.
Problem
I had to make the search function dumber when adapting to a Swedish context. The French version can return results for your municipality and sorts the centers based on how far they are from you.
That is a bit harder to implement in Sweden for several reasons.
The first one is political, people need to get vaccinated in their region because of the regionalisation of the Swedish healthcare. So when returning results by proximity, it should still filter out those who are not in the region of your municipality.
Other than that:
The text was updated successfully, but these errors were encountered: