You can use emscripten_async_wget to asynchronously load files off the network. You get a callback when the file arrives.
- Alon On Sat, Apr 12, 2014 at 3:18 PM, OHTSUKA Ko-hei <[email protected]>wrote: > Hello, > > I compiled proj.4 by emscripten, it works well. Thanks for emscripten. > > But one problem, some definitions of projection contains read non-linear > projection binary table from file system. > For example, definition includes > "+nadgrids=@conus" > proj.4 read table from "/usr/local/share/proj/conus". > > Use cases of these projection are very rare, so I don't want to include > these table files into emscriptened > JS file itself, but read from http on demand. > > Is there any good solution to read these binary table from file system? > > Regards, > Ko-hei > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
