Skip to content

Commit

Permalink
Update Brampton, Caledon
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed May 25, 2024
1 parent 73626b8 commit e0caa53
Show file tree
Hide file tree
Showing 31 changed files with 75 additions and 49 deletions.
2 changes: 1 addition & 1 deletion boundaries/ocd-division/country:ca/csd:3521010/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
I. Terms of Use. Contains public sector Information made available under The Regional Municipality of Peel's Open Data Licence - Version 1.0 (http://opendata.peelregion.ca/terms-of-use.aspx).
I. Terms of Use. Contains public sector Information made available under The Regional Municipality of Peel's Open Data Licence - Version 1.0 (https://data.peelregion.ca/pages/license).
16 changes: 8 additions & 8 deletions boundaries/ocd-division/country:ca/csd:3521010/definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

boundaries.register('Brampton wards',
domain='Brampton, ON',
last_updated=date(2019, 1, 3),
name_func=lambda f: 'Ward %s' % f.get('WARDNUM'),
id_func=boundaries.attr('WARDNUM'),
last_updated=date(2023, 10, 6),
name_func=lambda f: 'Ward %s' % f.get('WardNumber'),
id_func=boundaries.attr('WardNumber'),
authority='Regional Municipality of Peel',
source_url='http://opendata.peelregion.ca/data-categories/regional-geography/ward-boundaries-(2018-2022).aspx',
licence_url='http://opendata.peelregion.ca/terms-of-use.aspx',
data_url='http://opendata.peelregion.ca/media/43508/wardbnd1822_shp.zip',
encoding='iso-8859-1',
source_url='https://data.peelregion.ca/datasets/RegionofPeel::peel-ward-boundary',
licence_url='https://data.peelregion.ca/pages/license',
encoding='utf-8',
extra={'division_id': 'ocd-division/country:ca/csd:3521010'},
is_valid_func=lambda f: f.get('MUNIC') == 'Brampton',
is_valid_func=lambda f: f.get('Municipali') == 'Brampton',
notes='npx esri-dump fetch "https://services6.arcgis.com/ONZht79c8QWuX759/arcgis/rest/services/Peel_Ward_Boundary/FeatureServer/0" > boundaries/ocd-division/country:ca/csd:3521010/wards.geojson',
)

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
27 changes: 27 additions & 0 deletions boundaries/ocd-division/country:ca/csd:3521010/wards.geojson

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions boundaries/ocd-division/country:ca/csd:3521010/wards.prj
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion boundaries/ocd-division/country:ca/csd:3521024/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
I. Terms of Use. Contains public sector Information made available under The Regional Municipality of Peel's Open Data Licence - Version 1.0 (http://opendata.peelregion.ca/terms-of-use.aspx).
I. Terms of Use. Contains public sector Information made available under The Regional Municipality of Peel's Open Data Licence - Version 1.0 (https://data.peelregion.ca/pages/license).
16 changes: 8 additions & 8 deletions boundaries/ocd-division/country:ca/csd:3521024/definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

boundaries.register('Caledon wards',
domain='Caledon, ON',
last_updated=date(2019, 1, 3),
name_func=lambda f: 'Ward %s' % f.get('WARDNUM'),
id_func=boundaries.attr('WARDNUM'),
last_updated=date(2023, 10, 6),
name_func=lambda f: 'Ward %s' % f.get('WardNumber'),
id_func=boundaries.attr('WardNumber'),
authority='Regional Municipality of Peel',
source_url='http://opendata.peelregion.ca/data-categories/regional-geography/ward-boundaries-(2018-2022).aspx',
licence_url='http://opendata.peelregion.ca/terms-of-use.aspx',
data_url='http://opendata.peelregion.ca/media/43508/wardbnd1822_shp.zip',
encoding='iso-8859-1',
source_url='https://data.peelregion.ca/datasets/RegionofPeel::peel-ward-boundary',
licence_url='https://data.peelregion.ca/pages/license',
encoding='utf-8',
extra={'division_id': 'ocd-division/country:ca/csd:3521024'},
is_valid_func=lambda f: f.get('MUNIC') == 'Caledon',
is_valid_func=lambda f: f.get('Municipali') == 'Caledon',
notes='npx esri-dump fetch "https://services6.arcgis.com/ONZht79c8QWuX759/arcgis/rest/services/Peel_Ward_Boundary/FeatureServer/0" > boundaries/ocd-division/country:ca/csd:3521024/wards.geojson',
)

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
27 changes: 27 additions & 0 deletions boundaries/ocd-division/country:ca/csd:3521024/wards.geojson

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions boundaries/ocd-division/country:ca/csd:3521024/wards.prj
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
'https://www.pickering.ca/en/city-hall/resources/OpenDataLicencePickeringV1.pdf': "I. Terms of Use. Contains public sector Information made available under The City of Pickering's Open Data Licence (%s).", # noqa: E241
'http://townofajax.maps.arcgis.com/sharing/rest/content/items/22e2d8e248724d7cb0310dc2db675abd/data': "I. Terms of Use. Contains public sector Information made available under The Corporation of the Town of Ajax's Open Data Licence (%s).", # noqa: E241
'https://www.durham.ca/en/regional-government/resources/Documents/OpenDataLicenceAgreement.pdf': "I. Terms of Use. Contains public sector Information made available under The Regional Municipality of Durham's Open Data Licence (%s).", # noqa: E241
'http://opendata.peelregion.ca/terms-of-use.aspx': "I. Terms of Use. Contains public sector Information made available under The Regional Municipality of Peel's Open Data Licence - Version 1.0 (%s).", # noqa: E241
'https://data.peelregion.ca/pages/license': "I. Terms of Use. Contains public sector Information made available under The Regional Municipality of Peel's Open Data Licence - Version 1.0 (%s).", # noqa: E241
# Text provided by license.
'https://www.elections.bc.ca/docs/EBC-Open-Data-Licence.pdf': 'I. Terms of Use. Contains information licenced under the Elections BC Open Data Licence (%s).', # noqa: E241
'http://data.open.guelph.ca/pages/open-government-licence': 'I. Terms of Use. Contains information provided by the City of Guelph under an open government license (%s).', # noqa: E241
Expand Down

0 comments on commit e0caa53

Please sign in to comment.