Create LocationPolygon model
cpjmcquillan opened this issue · 1 comments
cpjmcquillan commented
Create a new model for location polygons
Proposed fields include:
- Location name string required
- Location type string (region, city, county, local authority etc)
- Boundary float array (polygon boundary data in the form Algolia uses [lat0, lng0, ..., latN, lngN])
- Is Active? boolean (indicates whether the polygon should be used for location searches, could be used in future to turn location landing pages off/on for instance)
For reference:
Acceptance criteria
- Model exists
- Schema updated
- Code review