Last active
August 14, 2023 13:14
-
-
Save leighghunt/7748e5d9a1ced13a57e2c81a1cd02deb to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Source: https://vote.nz/assets/maps/both/1.json?modified=20201007154708
Run through following regular expression:
"coordinates": [\n\s+"(\d+.\d+)",\n\s+"(-\d+.\d+)"
"coordinates": [\n\t $1, \n\t $2
/"coordinates": [\n\s+"(\d+.\d+)",\n\s+"(-\d+.\d+)"/"coordinates": [\n\t $1, \n\t $2/g