Mapnik and Node.js

8,813 views

Published on

10 minute lightning talk about Mapnik and the nodejs bindings: node-mapnik

Published in: Technology
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
8,813
On SlideShare
0
From Embeds
0
Number of Embeds
1,386
Actions
Shares
0
Downloads
38
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide
  • \n
  • Maps! Quickly!\nOSM\nTOPOSM\nMapquest\nMost iPhone maps data\nVector, Raster\n
  • Maps! Quickly!\nOSM\nTOPOSM\nMapquest\nMost iPhone maps data\nVector, Raster\n
  • Maps! Quickly!\nOSM\nTOPOSM\nMapquest\nMost iPhone maps data\nVector, Raster\n
  • Maps! Quickly!\nOSM\nTOPOSM\nMapquest\nMost iPhone maps data\nVector, Raster\n
  • \n\n
  • Svelte set of libraries used to generate maps via code.\nMapserver and friends are all huge hulking beasts. Think of Mapnik as a drawing API for making maps.\n
  • \n
  • \n
  • Very similar to photoshop...\nBuild up canvas, add data from layers (text, raster, vector), add styles to layers (XML, CSS like languages), decide output formats\nrender.\n
  • \n
  • Mapserver\nGeoserver\nArcGIS Server\netc...\n
  • Free\nWell supported and maintained, it's in the GSOC (CartoCSS support, Advanced Labelling and Windows support are 2011 projects), large community - OSM, IRC, Mailing lists\nWonderful API integration with Python, but more importantly, Node.js\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • run code here: https://github.com/mapnik/node-mapnik/blob/master/examples/js_datasource/usgs_quakes.js\n
  • \n
  • \n
  • Mapnik and Node.js

    1. 1. Mapnik and Friends and why you should be using them
    2. 2. What can it make?
    3. 3. How is it structured?
    4. 4. Not a server, not monolithic
    5. 5. Think of Mapnik as adrawing API for making maps
    6. 6. How does Mapnik work?
    7. 7. Core API is C++/ Python
    8. 8. There are other map tilers though...
    9. 9. Why should I use Mapnik?
    10. 10. Why should I mapnik?• Free• Well supported• large community• Integration with other languages
    11. 11. Cartography
    12. 12. Node.js in 5 bullets• Server side JS based on Google V8 compiler.• Lead by members of the Java VM hotspot team.• Not interpreted.• Faster and evented
    13. 13. node-mapnik• flexibility• make maps from any other datasource - geocouch, postgis, dynamic datasources, CSV• Map generation can be made part of analytic pipeline• (python api pretty good too)
    14. 14. Fast
    15. 15. Demo!
    16. 16. Map generationbecomes part of your developer toolkit
    17. 17. Links to more info• Mapnik: http://mapnik.org/• Mapnik OSX installer: http://dbsgeo.com/downloads/#mapnik-2.0.0• Node.js: http://nodejs.org/• node-mapnik: https://github.com/mapnik/node-mapnik

    ×