enthought / tabs

Default Repo description from terraform module
0 stars 0 forks source link

Examine SimplifyJS for contour maps #63

Open johntyree opened 8 years ago

johntyree commented 8 years ago

I suspect we could fix some of the performance issues around the salt contour map visualization if we filtered out points before rendering them.

http://mourner.github.io/simplify-js/

kjordahl commented 8 years ago

Good idea, but the problem is topology. If two regions share a line as a border, simplifying them separately will not in general keep the shared border correct. There are tools (e.g. topojson) to help with this.

Simplification could also be done on the python side (contours_to_geoJSON()) if we know what resolution we want.