- download the Natural Earth 1:10m Time Zone Data (GeoJSON available from CartoDB)
- run
topojson --post-quantization 1e3 --simplify 1e-5 --out timezones.json -- ne_10m_time_zones.geojson
The result is this 181 KB timezones.json (36 KB with gzip)
topojson --post-quantization 1e3 --simplify 1e-5 --out timezones.json -- ne_10m_time_zones.geojsonThe result is this 181 KB timezones.json (36 KB with gzip)
| /* | |
| * Copyright Datalogics, Inc. 2015 | |
| */ | |
| package pdfjt.cookbook.forms; | |
| import java.io.InputStream; | |
| import java.net.URL; | |
| import java.net.URLConnection; |
| # To use: change gmail's settings to: | |
| # enable imap: | |
| # Gmail Settings | |
| # Forwarding and POP/IMAP | |
| # create an app password | |
| # App passwords | |
| # https://myaccount.google.com/security | |
| set imap_login = "" | |
| set imap_pass = "XXXXXXXXXXXXXXXX" |
Except for the code segments that render the magnifying glass (as circle or path), this is essentially a copy of Mike Bostock's Fisheye Distortion example.
The motivation for this was largely aesthetical but also a bit functional. When using the Fisheye as an aid to viewing large datasets, I often find myself experimenting with the degree and radius of the distortion. In such cases, I find it helpful to see the exact reach of the distortion and then decide the best configuration for a particular dataset.
| license: mit |
| border: none | |
| height: 660 | |
| license: CC0-1.0 |