Skip to content

gregology/territorial-timezones

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Territorial Timezones

World timezones including territorial waters

efele.net/tz have done a wonderful job curating world timezones. However the maps used only include land. Harbours, coastal waters, and large lakes are considered international waters.

Sydney Harbour

I've expanded on the tz_world_mp to include territorial waters of 22.224km. When timezones overlap, the closest landmass is used.

Western water border between Canada and US

The closest landmass was calculated using QGIS by simplifying the original multipolygons, converting to points, and then calculating a Voronoi diagram. Simplification was required because of processing limitations. The original multipolygons were buffered using PostGIS to 22.224km and simplified as accuracy in the ocean was not a concern of mine. PostGIS was significantly faster than QGIS for the buffering process. I intersected and dissolved the results to create a map with the original land borders and simplified coast including territorial waters. The process has significantly simplified the coastal shapes reducing the shape files from 35.8MB to 14.5MB without affecting land borders.

Known issues

Simplified Voronoi Diagram

Simplifying the original multipolygon prior to converting to points and processing a Voronoi diagram lead to some unfortunate artifacts around complex areas.

Result

image

Actual

image

About

Timezones including territorial waters

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published