[gdal-dev] Compiling GDAL (and PROJ4) via Emscripten?

Rashad M mohammedrashadkm at gmail.com
Mon Nov 3 08:57:18 PST 2014


Hello Chris,

On Mon, Nov 3, 2014 at 9:45 PM, Chris Hanson <xenon at alphapixel.com> wrote:

>   I'm wondering if anyone here has succeeded, attempted, or just
> investigated compiling GDAL (and PROJ4) via Emscripten into Javascript
> asm.js dialect to run in a browser? We're looking at some web/client side
> code that would be best if it could do its job (data access and display)
> client-side in a browser, and GDAL and Emscripten seem to be the likely
> best way to accomplish it.
>

Not the same way. But we did similar thing using (Wt webtoolkit) and GDAL.
Using Wt, we were able to code in c++ and link with GDAL without any help
from bindings.  Wt also supports javascript and uses jquery heavily.

The code which we is under Apache license is out dated. I had made lots of
changes in the internal version. This includes rendering, styling, and
making an reusable API.

The plan is to release new code under open source soon as soon as I get
approval from my lab.(professor in CC'ed. Please feel free to discuss).

I can provide you a demo video of new version of lsiviewer -
https://www.youtube.com/watch?v=v7jtsJXPhXU
Here is a temporary live link if you would like to try it. -
http://lsi.iiit.ac.in:8080/
This shows a shapefile(GDAL through Wt) rendered(HTML5) on top of OSM tiles


>   I'd rather not reinvent the wheel if anyone has already tried this.
>
> --
> Chris 'Xenon' Hanson, omo sanza lettere. Xenon at AlphaPixel.com
> http://www.alphapixel.com/
> Training • Consulting • Contracting
> 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4
> • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
> Digital Imaging • GIS • GPS • osgEarth • Terrain • Telemetry •
> Cryptography • Digital Audio • LIDAR • Kinect • Embedded • Mobile •
> iPhone/iPad/iOS • Android
> @alphapixel <https://twitter.com/alphapixel> facebook.com/alphapixel (775)
> 623-PIXL [7495]
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
Regards,
   Rashad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20141103/ad729f37/attachment-0001.html>


More information about the gdal-dev mailing list