Skip to content

Python 3 script that retrieves the geographical coordinates that delineate City of Hamilton ward boundaries.

Notifications You must be signed in to change notification settings

alhuizenga/hamilton-ward-boundaries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

hamilton-ward-boundaries

Python 3 script that retrieves public data from the Hamilton ward boundaries mapping service, published by the City of Hamilton. Outputs a date-stamped JSON file that contains the geographic coordinates for the intersection points that form the boundaries for each ward in Hamilton, in both EPSG:3857 and EPSG:4326 coordinate formats.

The mapping service endpoint is published by the City of Hamilton here:

https://spatialsolutions.hamilton.ca/webgis/rest/services/General/Political/MapServer/15/query?f=json

Documentation about how to query the endpoint is available here:

https://developers.arcgis.com/rest/services-reference/enterprise/query-feature-service-layer-.htm

Uses these modules:

  • requests
  • datetime
  • json

About

Python 3 script that retrieves the geographical coordinates that delineate City of Hamilton ward boundaries.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages