Closed digitalWestie closed 4 years ago
Looks like there are two problems:
From http://staging-aliss.herokuapp.com/api/v4/service-area-spatial/?service_id=d6b90c64-da5b-49a3-b347-7dee35011b4b found the missing features were:
Checked the data and found the service area codes don't match between the 2019 HB and HIA geojson and the ServiceArea model DB data respectively i.e.
Fife (Health board):
Tayside (Health board):
Perth & Kinross (Health Integration Authority):
[ ] May need to update the DB data to match the presumably newer GeoJSON data.
[ ] Need to improve robustness if the code to handle invalid ServiceArea codes.
Merged into master
See console / network response for - http://staging-aliss.herokuapp.com/services/lets-talk-0/
It looks like one of the geojson features in the response is being returned as a string.