- 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.geojson
The result is this 181 KB timezones.json
(36 KB with gzip)
This CSV serves as a look up table to relate GRIDCODE field with the corresponding Köppen-Geiger classification and the color used on the paper.
I used this table to create this map
More info:
Note that this validation runs both after the file is uploaded and after CarrierWave has processed the image. If your base uploader includes a filter to resize the image then the validation will be run against the resized image, not the original one that was uploaded. If this causes a problem for you, then you should avoid using a resizing filter on the base uploader and put any specific size requirements in a version instead.
So instead of this:
require 'carrierwave/processing/mini_magick'
=Navigating= | |
visit('/projects') | |
visit(post_comments_path(post)) | |
=Clicking links and buttons= | |
click_link('id-of-link') | |
click_link('Link Text') | |
click_button('Save') | |
click('Link Text') # Click either a link or a button | |
click('Button Value') |