This script features encoding and decoding for geo coordinators used by eCharts in order to reduce size of json file. It leverages zigzag algorithm for encoding.
run: node CoordEncoder.js inputFile outputFile
ref:
This script features encoding and decoding for geo coordinators used by eCharts in order to reduce size of json file. It leverages zigzag algorithm for encoding.
run: node CoordEncoder.js inputFile outputFile
ref: