-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from dogooderapp/ns_update
update NS to 2019 boundaries
- Loading branch information
Showing
10 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
boundaries/ocd-division/country:ca/province:ns/2019/NS_2019ED_Bnds.CPG
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
UTF-8 |
Binary file added
BIN
+6.77 KB
boundaries/ocd-division/country:ca/province:ns/2019/NS_2019ED_Bnds.dbf
Binary file not shown.
1 change: 1 addition & 0 deletions
1
boundaries/ocd-division/country:ca/province:ns/2019/NS_2019ED_Bnds.prj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
PROJCS["NAD_1983_CSRS_UTM_Zone_20N",GEOGCS["GCS_North_American_1983_CSRS",DATUM["D_North_American_1983_CSRS",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-63.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]] |
Binary file added
BIN
+652 Bytes
boundaries/ocd-division/country:ca/province:ns/2019/NS_2019ED_Bnds.sbn
Binary file not shown.
Binary file added
BIN
+156 Bytes
boundaries/ocd-division/country:ca/province:ns/2019/NS_2019ED_Bnds.sbx
Binary file not shown.
Binary file added
BIN
+2.21 MB
boundaries/ocd-division/country:ca/province:ns/2019/NS_2019ED_Bnds.shp
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
boundaries/ocd-division/country:ca/province:ns/2019/NS_2019ED_Bnds.shp.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<metadata xml:lang="en"><Esri><CreaDate>20200102</CreaDate><CreaTime>13224000</CreaTime><ArcGISFormat>1.0</ArcGISFormat><SyncOnce>FALSE</SyncOnce><DataProperties><itemProps><itemName Sync="TRUE">ED55Scenario_2018Final</itemName><imsContentType Sync="TRUE">002</imsContentType><itemLocation><linkage Sync="TRUE">file://\\L-CND7463L8C\C$\Working\Electoral_Boundaries_Commission\2018\Data\ENS_Basedata_2019_Official.gdb</linkage><protocol Sync="TRUE">Local Area Network</protocol></itemLocation></itemProps><coordRef><type Sync="TRUE">Projected</type><geogcsn Sync="TRUE">GCS_North_American_1983_CSRS</geogcsn><csUnits Sync="TRUE">Linear Unit: Meter (1.000000)</csUnits><projcsn Sync="TRUE">NAD_1983_CSRS_UTM_Zone_20N</projcsn><peXml Sync="TRUE"><ProjectedCoordinateSystem xsi:type='typens:ProjectedCoordinateSystem' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xs='http://www.w3.org/2001/XMLSchema' xmlns:typens='http://www.esri.com/schemas/ArcGIS/10.5'><WKT>PROJCS[&quot;NAD_1983_CSRS_UTM_Zone_20N&quot;,GEOGCS[&quot;GCS_North_American_1983_CSRS&quot;,DATUM[&quot;D_North_American_1983_CSRS&quot;,SPHEROID[&quot;GRS_1980&quot;,6378137.0,298.257222101]],PRIMEM[&quot;Greenwich&quot;,0.0],UNIT[&quot;Degree&quot;,0.0174532925199433]],PROJECTION[&quot;Transverse_Mercator&quot;],PARAMETER[&quot;False_Easting&quot;,500000.0],PARAMETER[&quot;False_Northing&quot;,0.0],PARAMETER[&quot;Central_Meridian&quot;,-63.0],PARAMETER[&quot;Scale_Factor&quot;,0.9996],PARAMETER[&quot;Latitude_Of_Origin&quot;,0.0],UNIT[&quot;Meter&quot;,1.0],AUTHORITY[&quot;EPSG&quot;,2961]]</WKT><XOrigin>-5120900</XOrigin><YOrigin>-9998100</YOrigin><XYScale>10000</XYScale><ZOrigin>-100000</ZOrigin><ZScale>10000</ZScale><MOrigin>-100000</MOrigin><MScale>10000</MScale><XYTolerance>0.001</XYTolerance><ZTolerance>0.001</ZTolerance><MTolerance>0.001</MTolerance><HighPrecision>true</HighPrecision><WKID>2038</WKID><LatestWKID>2961</LatestWKID></ProjectedCoordinateSystem></peXml></coordRef><lineage><Process ToolSource="c:\program files (x86)\arcgis\desktop10.0\ArcToolbox\Toolboxes\Data Management Tools.tbx\CopyFeatures" Date="20130604" Time="084614">CopyFeatures "G:\develop\electoral_GIS\BaseData\Electoral Geography\ENS_Basedata_Working.gdb\ED2012_Analysis" "G:\develop\electoral_GIS\BaseData\Electoral Geography\ENS_Basedata_Official.gdb\ED2012_Analysis" # 0 0 0</Process><Process ToolSource="c:\program files (x86)\arcgis\desktop10.2\ArcToolbox\Toolboxes\Data Management Tools.tbx\CopyFeatures" Date="20161004" Time="134746">CopyFeatures G:\develop\Data\Basedata\Electoral_Geography\ENS_Basedata_Official_1.gdb\ED2012_Analysis G:\develop\Data\Basedata\Electoral_Geography\ENS_Basedata_Official.gdb\ED2012_Analysis # 0 0 0</Process><Process ToolSource="c:\program files (x86)\arcgis\desktop10.2\ArcToolbox\Toolboxes\Data Management Tools.tbx\CalculateField" Date="20180924" Time="093732">CalculateField BlankSlate_NSED electorcount 0 VB #</Process><Process ToolSource="c:\program files (x86)\arcgis\desktop10.2\ArcToolbox\Toolboxes\Data Management Tools.tbx\CalculateField" Date="20180924" Time="093739">CalculateField BlankSlate_NSED civicaddresscount 0 VB #</Process><Process ToolSource="c:\program files (x86)\arcgis\desktop10.2\ArcToolbox\Toolboxes\Data Management Tools.tbx\CalculateField" Date="20180924" Time="093746">CalculateField BlankSlate_NSED dwellingcount 0 VB #</Process><Process ToolSource="c:\program files (x86)\arcgis\desktop10.2\ArcToolbox\Toolboxes\Data Management Tools.tbx\CalculateField" Date="20180924" Time="093753">CalculateField BlankSlate_NSED censuselectorcount 0 VB #</Process><Process ToolSource="c:\program files (x86)\arcgis\desktop10.2\ArcToolbox\Toolboxes\Data Management Tools.tbx\CalculateField" Date="20180924" Time="093759">CalculateField BlankSlate_NSED censuspopulationcount 0 VB #</Process><Process ToolSource="c:\program files (x86)\arcgis\desktop10.2\ArcToolbox\Toolboxes\Data Management Tools.tbx\CalculateField" Date="20180924" Time="093806">CalculateField BlankSlate_NSED censusareacount 0 VB #</Process><Process ToolSource="c:\program files (x86)\arcgis\desktop10.2\ArcToolbox\Toolboxes\Data Management Tools.tbx\CalculateField" Date="20181017" Time="143431">CalculateField "Tool Specific\Calculation\Edit_ElectoralDistricts" electorcount 0 VB #</Process><Process ToolSource="c:\program files (x86)\arcgis\desktop10.2\ArcToolbox\Toolboxes\Data Management Tools.tbx\CalculateField" Date="20181017" Time="143441">CalculateField "Tool Specific\Calculation\Edit_ElectoralDistricts" dwellingcount 0 VB #</Process><Process ToolSource="c:\program files (x86)\arcgis\desktop10.2\ArcToolbox\Toolboxes\Data Management Tools.tbx\CalculateField" Date="20181017" Time="143451">CalculateField "Tool Specific\Calculation\Edit_ElectoralDistricts" censuselectorcount 0 VB #</Process><Process ToolSource="c:\program files (x86)\arcgis\desktop10.2\ArcToolbox\Toolboxes\Data Management Tools.tbx\CalculateField" Date="20181017" Time="143500">CalculateField "Tool Specific\Calculation\Edit_ElectoralDistricts" censuspopulationcount 0 VB #</Process><Process ToolSource="c:\program files (x86)\arcgis\desktop10.2\ArcToolbox\Toolboxes\Data Management Tools.tbx\CalculateField" Date="20181017" Time="143510">CalculateField "Tool Specific\Calculation\Edit_ElectoralDistricts" censusareacount 0 VB #</Process><Process ToolSource="c:\program files (x86)\arcgis\desktop10.5\ArcToolbox\Toolboxes\Conversion Tools.tbx\FeatureClassToFeatureClass" Date="20191219" Time="073917">FeatureClassToFeatureClass G:\develop\Electoral_Boundaries_Commission\2018\Data\FinalReportScenario\NSBndCommission2018_Data.gdb\ED55Scenario_2018Final C:\Working\Electoral_Boundaries_Commission\2018\Data\ENS_Basedata_2019_Official.gdb\ED_PD_2019 ED55Scenario_2018Final # "ED_NO "ED_NO" true true false 3 Text 0 0 ,First,#,G:\develop\Electoral_Boundaries_Commission\2018\Data\FinalReportScenario\NSBndCommission2018_Data.gdb\ED55Scenario_2018Final,ED_NO,-1,-1;ED_NAME "ED_NAME" true true false 50 Text 0 0 ,First,#,G:\develop\Electoral_Boundaries_Commission\2018\Data\FinalReportScenario\NSBndCommission2018_Data.gdb\ED55Scenario_2018Final,ED_NAME,-1,-1;Release_Date "Release_Date" true true false 20 Text 0 0 ,First,#,G:\develop\Electoral_Boundaries_Commission\2018\Data\FinalReportScenario\NSBndCommission2018_Data.gdb\ED55Scenario_2018Final,Release_Date,-1,-1;electorcount "electorcount" true true false 8 Double 0 0 ,First,#,G:\develop\Electoral_Boundaries_Commission\2018\Data\FinalReportScenario\NSBndCommission2018_Data.gdb\ED55Scenario_2018Final,electorcount,-1,-1;civicaddresscount "civicaddresscount" true true false 8 Double 0 0 ,First,#,G:\develop\Electoral_Boundaries_Commission\2018\Data\FinalReportScenario\NSBndCommission2018_Data.gdb\ED55Scenario_2018Final,civicaddresscount,-1,-1;dwellingcount "dwellingcount" true true false 8 Double 0 0 ,First,#,G:\develop\Electoral_Boundaries_Commission\2018\Data\FinalReportScenario\NSBndCommission2018_Data.gdb\ED55Scenario_2018Final,dwellingcount,-1,-1;censuselectorcount "censuselectorcount" true true false 8 Double 0 0 ,First,#,G:\develop\Electoral_Boundaries_Commission\2018\Data\FinalReportScenario\NSBndCommission2018_Data.gdb\ED55Scenario_2018Final,censuselectorcount,-1,-1;censuspopulationcount "censuspopulationcount" true true false 8 Double 0 0 ,First,#,G:\develop\Electoral_Boundaries_Commission\2018\Data\FinalReportScenario\NSBndCommission2018_Data.gdb\ED55Scenario_2018Final,censuspopulationcount,-1,-1;censusareacount "censusareacount" true true false 2 Short 0 0 ,First,#,G:\develop\Electoral_Boundaries_Commission\2018\Data\FinalReportScenario\NSBndCommission2018_Data.gdb\ED55Scenario_2018Final,censusareacount,-1,-1;Shape_Length "Shape_Length" false true true 8 Double 0 0 ,First,#,G:\develop\Electoral_Boundaries_Commission\2018\Data\FinalReportScenario\NSBndCommission2018_Data.gdb\ED55Scenario_2018Final,Shape_Length,-1,-1;Shape_Area "Shape_Area" false true true 8 Double 0 0 ,First,#,G:\develop\Electoral_Boundaries_Commission\2018\Data\FinalReportScenario\NSBndCommission2018_Data.gdb\ED55Scenario_2018Final,Shape_Area,-1,-1" #</Process><Process ToolSource="c:\program files (x86)\arcgis\desktop10.5\ArcToolbox\Toolboxes\Data Management Tools.tbx\CalculateField" Date="20191219" Time="085348">CalculateField ED55Scenario_2018Final Release_Date "October 30, 2019" VB #</Process><Process ToolSource="c:\program files (x86)\arcgis\desktop10.5\ArcToolbox\Toolboxes\Data Management Tools.tbx\CalculateField" Date="20191219" Time="093042">CalculateField ED55Scenario_2018Final Release_Date "October 30, 2019" VB #</Process></lineage></DataProperties><SyncDate>20191219</SyncDate><SyncTime>07391600</SyncTime><ModDate>20191219</ModDate><ModTime>07391600</ModTime></Esri><dataIdInfo><envirDesc Sync="TRUE"> Version 6.2 (Build 9200) ; Esri ArcGIS 10.5.1.7333</envirDesc><dataLang><languageCode value="eng" Sync="TRUE"></languageCode><countryCode value="CAN" Sync="TRUE"></countryCode></dataLang><idCitation><resTitle Sync="TRUE">ED55Scenario_2018Final</resTitle><presForm><PresFormCd value="005" Sync="TRUE"></PresFormCd></presForm></idCitation><spatRpType><SpatRepTypCd value="001" Sync="TRUE"></SpatRepTypCd></spatRpType></dataIdInfo><mdLang><languageCode value="eng" Sync="TRUE"></languageCode><countryCode value="CAN" Sync="TRUE"></countryCode></mdLang><distInfo><distFormat><formatName Sync="TRUE">File Geodatabase Feature Class</formatName></distFormat></distInfo><mdHrLv><ScopeCd value="005" Sync="TRUE"></ScopeCd></mdHrLv><mdHrLvName Sync="TRUE">dataset</mdHrLvName><refSysInfo><RefSystem><refSysID><identCode code="2961" Sync="TRUE"></identCode><idCodeSpace Sync="TRUE">EPSG</idCodeSpace><idVersion Sync="TRUE">6.13(9.3.0.0)</idVersion></refSysID></RefSystem></refSysInfo><spatRepInfo><VectSpatRep><geometObjs Name="ED55Scenario_2018Final"><geoObjTyp><GeoObjTypCd value="002" Sync="TRUE"></GeoObjTypCd></geoObjTyp><geoObjCnt Sync="TRUE">0</geoObjCnt></geometObjs><topLvl><TopoLevCd value="001" Sync="TRUE"></TopoLevCd></topLvl></VectSpatRep></spatRepInfo><spdoinfo><ptvctinf><esriterm Name="ED55Scenario_2018Final"><efeatyp Sync="TRUE">Simple</efeatyp><efeageom code="4" Sync="TRUE"></efeageom><esritopo Sync="TRUE">FALSE</esritopo><efeacnt Sync="TRUE">0</efeacnt><spindex Sync="TRUE">TRUE</spindex><linrefer Sync="TRUE">FALSE</linrefer></esriterm></ptvctinf></spdoinfo><eainfo><detailed Name="ED55Scenario_2018Final"><enttyp><enttypl Sync="TRUE">ED55Scenario_2018Final</enttypl><enttypt Sync="TRUE">Feature Class</enttypt><enttypc Sync="TRUE">0</enttypc></enttyp><attr><attrlabl Sync="TRUE">OBJECTID</attrlabl><attalias Sync="TRUE">OBJECTID</attalias><attrtype Sync="TRUE">OID</attrtype><attwidth Sync="TRUE">4</attwidth><atprecis Sync="TRUE">0</atprecis><attscale Sync="TRUE">0</attscale><attrdef Sync="TRUE">Internal feature number.</attrdef><attrdefs Sync="TRUE">ESRI</attrdefs><attrdomv><udom Sync="TRUE">Sequential unique whole numbers that are automatically generated.</udom></attrdomv></attr><attr><attrlabl Sync="TRUE">Shape</attrlabl><attalias Sync="TRUE">Shape</attalias><attrtype Sync="TRUE">Geometry</attrtype><attwidth Sync="TRUE">0</attwidth><atprecis Sync="TRUE">0</atprecis><attscale Sync="TRUE">0</attscale><attrdef Sync="TRUE">Feature geometry.</attrdef><attrdefs Sync="TRUE">ESRI</attrdefs><attrdomv><udom Sync="TRUE">Coordinates defining the features.</udom></attrdomv></attr><attr><attrlabl Sync="TRUE">ED_NO</attrlabl><attalias Sync="TRUE">ED_NO</attalias><attrtype Sync="TRUE">String</attrtype><attwidth Sync="TRUE">3</attwidth><atprecis Sync="TRUE">0</atprecis><attscale Sync="TRUE">0</attscale></attr><attr><attrlabl Sync="TRUE">ED_NAME</attrlabl><attalias Sync="TRUE">ED_NAME</attalias><attrtype Sync="TRUE">String</attrtype><attwidth Sync="TRUE">50</attwidth><atprecis Sync="TRUE">0</atprecis><attscale Sync="TRUE">0</attscale></attr><attr><attrlabl Sync="TRUE">Release_Date</attrlabl><attalias Sync="TRUE">Release_Date</attalias><attrtype Sync="TRUE">String</attrtype><attwidth Sync="TRUE">20</attwidth><atprecis Sync="TRUE">0</atprecis><attscale Sync="TRUE">0</attscale></attr><attr><attrlabl Sync="TRUE">electorcount</attrlabl><attalias Sync="TRUE">electorcount</attalias><attrtype Sync="TRUE">Double</attrtype><attwidth Sync="TRUE">8</attwidth><atprecis Sync="TRUE">0</atprecis><attscale Sync="TRUE">0</attscale></attr><attr><attrlabl Sync="TRUE">civicaddresscount</attrlabl><attalias Sync="TRUE">civicaddresscount</attalias><attrtype Sync="TRUE">Double</attrtype><attwidth Sync="TRUE">8</attwidth><atprecis Sync="TRUE">0</atprecis><attscale Sync="TRUE">0</attscale></attr><attr><attrlabl Sync="TRUE">dwellingcount</attrlabl><attalias Sync="TRUE">dwellingcount</attalias><attrtype Sync="TRUE">Double</attrtype><attwidth Sync="TRUE">8</attwidth><atprecis Sync="TRUE">0</atprecis><attscale Sync="TRUE">0</attscale></attr><attr><attrlabl Sync="TRUE">censuselectorcount</attrlabl><attalias Sync="TRUE">censuselectorcount</attalias><attrtype Sync="TRUE">Double</attrtype><attwidth Sync="TRUE">8</attwidth><atprecis Sync="TRUE">0</atprecis><attscale Sync="TRUE">0</attscale></attr><attr><attrlabl Sync="TRUE">censuspopulationcount</attrlabl><attalias Sync="TRUE">censuspopulationcount</attalias><attrtype Sync="TRUE">Double</attrtype><attwidth Sync="TRUE">8</attwidth><atprecis Sync="TRUE">0</atprecis><attscale Sync="TRUE">0</attscale></attr><attr><attrlabl Sync="TRUE">censusareacount</attrlabl><attalias Sync="TRUE">censusareacount</attalias><attrtype Sync="TRUE">SmallInteger</attrtype><attwidth Sync="TRUE">2</attwidth><atprecis Sync="TRUE">0</atprecis><attscale Sync="TRUE">0</attscale></attr><attr><attrlabl Sync="TRUE">Shape_Length</attrlabl><attalias Sync="TRUE">Shape_Length</attalias><attrtype Sync="TRUE">Double</attrtype><attwidth Sync="TRUE">8</attwidth><atprecis Sync="TRUE">0</atprecis><attscale Sync="TRUE">0</attscale><attrdef Sync="TRUE">Length of feature in internal units.</attrdef><attrdefs Sync="TRUE">ESRI</attrdefs><attrdomv><udom Sync="TRUE">Positive real numbers that are automatically generated.</udom></attrdomv></attr><attr><attrlabl Sync="TRUE">Shape_Area</attrlabl><attalias Sync="TRUE">Shape_Area</attalias><attrtype Sync="TRUE">Double</attrtype><attwidth Sync="TRUE">8</attwidth><atprecis Sync="TRUE">0</atprecis><attscale Sync="TRUE">0</attscale><attrdef Sync="TRUE">Area of feature in internal units squared.</attrdef><attrdefs Sync="TRUE">ESRI</attrdefs><attrdomv><udom Sync="TRUE">Positive real numbers that are automatically generated.</udom></attrdomv></attr></detailed></eainfo><mdDateSt Sync="TRUE">20191219</mdDateSt></metadata> |
Binary file added
BIN
+540 Bytes
boundaries/ocd-division/country:ca/province:ns/2019/NS_2019ED_Bnds.shx
Binary file not shown.
17 changes: 17 additions & 0 deletions
17
boundaries/ocd-division/country:ca/province:ns/2019/definition.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import re | ||
from datetime import date | ||
|
||
import boundaries | ||
|
||
boundaries.register('Nova Scotia electoral districts (2019)', | ||
singular='Nova Scotia electoral district', | ||
domain='Nova Scotia', | ||
last_updated=date(2020, 3, 1), | ||
name_func=boundaries.dashed_attr('ED_NAME'), | ||
id_func=lambda f: re.sub(r'\A0', '', f.get('ED_NO')), | ||
authority='Her Majesty the Queen in Right of Nova Scotia', | ||
source_url='https://www.electionsnovascotia.ca/Maps%20for%20the41st%20Provincial%20General%20Election', | ||
data_url='https://www.electionsnovascotia.ca/sites/default/files/NS_2019ED_Bnds.zip', | ||
encoding='iso-8859-1', | ||
extra={'division_id': 'ocd-division/country:ca/province:ns'}, | ||
) |