Skip to content

Instantly share code, notes, and snippets.

@benlyall
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benlyall/4f2e4ed1e8f4bdb8457c to your computer and use it in GitHub Desktop.
Save benlyall/4f2e4ed1e8f4bdb8457c to your computer and use it in GitHub Desktop.
Elections Alberta

Demo using [Elections Alberta] ea maps. These maps are already projected by Elections Alberta, they benefit from being "unprojected" before use with topojson. To unproject the map, load it as a vector layer into QGIS and then save the layer to a new file but change the Co-ordinate Reference System to WGS 84 as part of the save action.

Then use topojson like so:

topojson -o albertaNew.topojson -p -q 1e6 <saved file from qgis>

to convert it to topojson format.

Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View raw

(Sorry about that, but we can’t show files that are this big right now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment