azavea / loam

Javascript wrapper for GDAL in the browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refactor string-parameter allocation

ddohler opened this issue · comments

Several functions (currently GDALWarp, GDALTranslate, and GDALRasterize) follow a pattern where they store strings in Emscripten memory space in a format required by GDAL. Although this interface is stable and unlikely to change, it would speed up adding new GDAL commands if this code were factored out into a utility function.

Closed by #52