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

Areas union of smaller areas without needing shapes #7

Open
dracos opened this issue Apr 19, 2011 · 5 comments
Open

Areas union of smaller areas without needing shapes #7

dracos opened this issue Apr 19, 2011 · 5 comments

Comments

@dracos
Copy link
Member

dracos commented Apr 19, 2011

It would be useful to have a way of having areas in the database that didn't have any associated shapes, because they are simply made up of other shapes unioned together. That way, more expensive P-in-P tests are unnecessary to discover the larger shapes, as they can simply be inferred from the smaller ones.

To do this, it would presumably need a table that links an area with the areas that make it up (similar to an area's children currently), and then anything that queries the database to return areas by postcode/point etc. adds the corresponding areas if needed.

This would mean technically e.g. the county councils could be dropped from the UK mapit and could be inferred simply from the district council. Probably not worth doing that precise case, but if things appear that are just groups of councils (e.g. road authorities in Norway), this could be worthwhile.

@RichardTaylor
Copy link

Police force areas tend to be defined as groups of council areas.

Making the boundaries of police force areas available might be valuable in advance of proposed elections for Police and Crime Commissioners.

@robinhouston
Copy link

Counties!

@dracos
Copy link
Member Author

dracos commented Sep 7, 2012

Just had a thought - if Area and Geometry were linked by a many-many relationship rather than one-many, then that would provide the functionality needed for this, and without having areas in Area without associated shapes. You could simply have Geometrys associated with more than one Area (so, conceivably, a ward geometry in Birmingham could be associated with the ward Area, the council Area, the West Midlands police Area, and those parent Areas wouldn't need their own larger geometries). Again, not worth doing for things in Boundary-Line, but this would probably be nicest way of doing police force areas and other things like that, no need for a new db table.

dracos added a commit that referenced this issue Sep 28, 2012
@dracos
Copy link
Member Author

dracos commented May 27, 2016

Request for #235 would be served by this also.

@symroe
Copy link
Contributor

symroe commented Dec 5, 2016

The Cambridge and Peterborough Devolution Deal creates a new administrative area made up of:

  • Peterborough City Council
  • Cambridgeshire County Council
  • Fenland District Council
  • Huntingdonshire District Council
  • East Cambridgeshire District Council
  • South Cambridgeshire District Council
  • Cambridge City Council

https://www.cambridgeshire.gov.uk/devolution

A political post will be attached to this group, and I think that's a reasonable test for it being in Mapit.

I don't know if this will get it's own boundary in BoundaryLine, but this suggested model would be an excellent solution regardless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants