kiln / carbonmap.org

http://www.carbonmap.org
7 stars 2 forks source link

Re-coordinate the SVG #32

Closed robinhouston closed 12 years ago

robinhouston commented 12 years ago

We could massively reduce the file size of data.js simply by transforming the coordinate system to a grid of a few thousand in each direction, and snapping the vertices to integer coordinates. The visible effect would not be noticeably different unless you zoomed in a lot.

kiln commented 12 years ago

More good ideas!

D

On 19 Mar 2012, at 11:23, Robin Houston wrote:

We could massively reduce the file size of data.js simply by transforming the coordinate system to a grid of a few thousand in each direction, and snapping the vertices to integer coordinates. The visible effect would not be noticeably different unless you zoomed in a lot.


Reply to this email directly or view it on GitHub: https://github.com/kiln/carbonmap.org/issues/32

robinhouston commented 12 years ago

This is also done in the tight-borders branch. It did indeed massively reduce the file size.