Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1.9 KB

README.md

File metadata and controls

43 lines (27 loc) · 1.9 KB

Boundaries of time zones fat-free.

What's that?

The goal is to create a ready GeoJSON file with time zone boundaries in a simplified version to load as a layer on OSM maps.

Two wonderful repositories will help us to implement our project mapshaper and timezone-boundary-builder (many thanks to the authors for this work).

Getting started

How to install PNPM

pnpm i
node index.js visvalingam 0.21%
  • visvalingam is simplification. Mapshaper supports Douglas-Peucker (dp) simplification and two kinds of Visvalingam (visvalingam) simplification.
  • 0.21% is percentage of removable points to retain. Accepts values in the range 0%-100% or 0-1

Read More

Result

Result: output.geojson

output.geojson

You can see the result of the degreasing at http://geojson.io/ (copy the contents of the file output.geojson and paste it into the form).

Please Note

The reduction in percentage of removable points is proportional to the reduction in area, so small island states or the Vatican, Monaco could be ignored. If this is important to you, set a larger percentage.

Referrals