$30 off During Our Annual Pro Sale. View Details »

node.js for Geo at MapBox

Will White
January 14, 2013

node.js for Geo at MapBox

Presented at #jsgeo13 in Denver.

http://lanyrd.com/2013/jsgeo12/sccfqh/

Will White

January 14, 2013
Tweet

Other Decks in Programming

Transcript

  1. Custom maps

    View Slide

  2. JavaScript at MapBox

    View Slide

  3. Server side
    modestmaps
    wax
    mmg
    mapbox.js
    node-mapnik
    carto
    Client side
    node-mbtiles

    View Slide

  4. Server side
    modestmaps
    wax
    mmg
    mapbox.js
    node-mapnik
    carto
    Client side
    node-mbtiles

    View Slide

  5. node.js at MapBox

    View Slide

  6. node.js or Python?

    View Slide

  7. async i/o

    View Slide

  8. typical i/o in python

    View Slide

  9. typical i/o in python

    View Slide

  10. typical i/o in python

    View Slide

  11. typical i/o in python

    View Slide

  12. async i/o in node.js

    View Slide

  13. async i/o in node.js

    View Slide

  14. async i/o in node.js

    View Slide

  15. async i/o in node.js

    View Slide

  16. ecosystem

    View Slide

  17. 20,814 packages in npm

    View Slide

  18. 6 of the top 15 most
    active users on github
    write code for node.js

    View Slide

  19. 2 of them work at
    MapBox

    View Slide

  20. npm

    View Slide

  21. package.json

    View Slide

  22. $ npm install

    View Slide

  23. c++ modules

    View Slide

  24. the c++ part

    View Slide

  25. the js part

    View Slide

  26. let’s build the geo space
    for node.js

    View Slide

  27. tilelive.js tilestore

    View Slide

  28. Mapnik
    MBTiles

    View Slide

  29. Mapnik
    MBTiles
    tilelive-mapnik

    View Slide

  30. Mapnik
    MBTiles
    tilelive-mapnik
    node-mbtiles

    View Slide

  31. Mapnik
    ??
    tilelive-mapnik
    yourmodule?

    View Slide

  32. node-postgis
    node-geoutils

    View Slide

  33. tilemill plugins

    View Slide

  34. take the “geo” out of
    your geo problems

    View Slide

  35. MapBox workshop
    tomorrow at noon

    View Slide

  36. @willwhitedc from
    @MapBox

    View Slide