Skip to content

Locations of red Canada Post box locations on a map (currently only Toronto and the GTA)

Notifications You must be signed in to change notification settings

xairos/canada-post-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Canada Post Box Locator 📮

View those red Canada Post box locations on a map:

https://xairos.github.io/canada-post-box/

Updating the geoJSON data file

Collected via overpass turbo:

/*
This has been generated by the overpass-turbo wizard.
The original search was:
“amenity=post_box and collection_times!=*”

Share link: https://overpass-turbo.eu/s/1HmA
*/
[out:json][timeout:25];
// gather results
nwr["amenity"="post_box"]["collection_times"!~".*"]({{bbox}});
// print results
out geom;

exported, and then processed to remove polygons (postbox "areas") for simplicity of plotting:

jq '.features |= map(select(.geometry.type != "Polygon"))' export.geojson  > gta_postboxes.geojson

About

Locations of red Canada Post box locations on a map (currently only Toronto and the GTA)

Topics

Resources

Stars

Watchers

Forks