Mike-Heneghan / ALISS

ALISS (A Local Information System for Scotland) is a service to help you find help and support close to you when you need it most.
https://aliss.org
0 stars 0 forks source link

Error parsing geojson feature response #87

Closed digitalWestie closed 4 years ago

digitalWestie commented 4 years ago

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.

Mike-Heneghan commented 4 years ago

Looks like there are two problems:

  1. The service area features are not being found in the data.
  2. When a feature is not found then none are rendered.

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.

Mike-Heneghan commented 4 years ago

Merged into master