Create a python script called somthing like findDraLocalityAdminAreas.py
The script should read the following inputs:
DRA locality coverage containing polygons for each dra locality.
Admin Area coverage containing polygons for a given set of admin areas (e.g., Community Health Service Areas).
A parameter called adminAreaType which contains the official code of the set of admin areas in the coverage (e.g., "CHSA")
The script should perform a spatial overlay of each DRA locality polygon against the admin area coverage to determine the list of intersecting admin areas.
Script should output the following for each dra locality:
localityName
adminAreaType
adminAreaCode
If there is more than one admin area intersecting a locality, set adminAreaCode to a special character like asterisk ("") to represent "more than one". For example, if the dra locality polygon for Victoria intersects five community health service areas, set Victoria's adminAreaCode to "", If the dra locality polygon for Ahousat intersects a single CHSA called "NBAH", set Ahousat's adminAreaCode to "NBAH"
If there is no intersecting admin area for a given dra locality polygon, set adminAreaCode to the empty string ("")
Create a python script called somthing like findDraLocalityAdminAreas.py
The script should read the following inputs:
The script should perform a spatial overlay of each DRA locality polygon against the admin area coverage to determine the list of intersecting admin areas.
Script should output the following for each dra locality:
If there is more than one admin area intersecting a locality, set adminAreaCode to a special character like asterisk ("") to represent "more than one". For example, if the dra locality polygon for Victoria intersects five community health service areas, set Victoria's adminAreaCode to "", If the dra locality polygon for Ahousat intersects a single CHSA called "NBAH", set Ahousat's adminAreaCode to "NBAH" If there is no intersecting admin area for a given dra locality polygon, set adminAreaCode to the empty string ("")