Prepare database for creating initial disease extent
Prepare database for creating initial disease extent
Merge branch '32-initial-disease-extent' of github.com:SEEG-Oxford/ABRAID-MP into 32-initial-disease-extent

Conflicts:
	db/tables.sql
Add fields to Location table: admin_unit_global_gaul_code, admin_unit_tropical_gaul_code.
Populate these fields by DataAcquisition as a "post-QC process". Use the PostGIS function ST_INTERSECTS because doing it in the Java used an extra 1Gb of RAM.
Remove geom field from the AdminUnitGlobalOrTropical entity as it is not used in the Java (and is much more memory hungry than the simplified geom).
Fix bug whereby locations could be duplicated if they were changed (i.e. snapped) as a result of QC stage 2 or 3.
Ensure that snapped points are rounded to 5 decimal places.
Add code to generate an initial disease extent. Some testing still to do.
Add disease extent and associated columns to the test data.
Add admin_unit_disease_extent_class.occurrence_count column that contains how many disease occurrences gave rise to each extent class.
Split out AbstractSpringIntegrationTests into AbstractCommonSpringIntegrationTests and AbstractDataAcquisitionSpringIntegrationTests.
Added integration test for Disease Extent.
Add tests.
When assigning GAUL codes to locations, only search admin 0's if the location is a country.
Refactor SingleDiseaseExtentGenerator to use LambdaJ's convertMap
Ensure that only locations with global/tropical GAUL codes are considered for the disease extent.
Remove disease_group.last_extent_generation_date as it is currently unused.
Merge branch 'master' into 32-initial-disease-extent

Conflicts:
	src/PublicSite/src/uk/ac/ox/zoo/seeg/abraid/mp/publicsite/web/DataValidationController.java
Merge pull request #90 from SEEG-Oxford/32-initial-disease-extent

Create initial disease extent