Code for Aa2

320 vues

Publié le

  • Soyez le premier à commenter

Code for Aa2

  1. 1. Civic Web Mapping Andy Eschbacher — Map Scientist, CartoDB
  2. 2. 10 YEARS AGO
  3. 3. Google Maps Beta, Feb 8, 2005
  4. 4. 5 YEARS AGO
  5. 5. WHY MAPS?
  6. 6. http://bit.ly/ZaqMZY
  7. 7. LEVERAGING THE TECHNOLOGY WAS HARD!
  8. 8. LET’S GIVE EVERYBODY A BETTER TOOL!
  9. 9. Platform Your projects Services & support Editor Introduction to the technology Open Source Software as a Service Freemium to Enterprise Incredible Community World Class Technology
  10. 10. THE EDITOR
  11. 11. Create a map in minutes
  12. 12. THE PLATFORM
  13. 13. Javier Arce’s Japan Crowdsourcing map http://japan.javierarce.com/
  14. 14. SQL API
  15. 15. Dynamic
  16. 16. Easy integration
  17. 17. Easily extensible
  18. 18. FROM: LET’S HELP PEOPLE MAKE MAPS TO:
  19. 19. Crazy Geo gone
  20. 20. A STORY EVERY DAY
  21. 21. Civic hacking examples
  22. 22. Chris Whong former betaNYC Brigade Captain
  23. 23. https://cwhong.cartodb.com/api/v2/sql? skipfields=sbbl,cartodb_id,created_at,upd ated_at,name,description&format={{type}} &filename=pluto&q=SELECT * FROM plutoshapes a LEFT OUTER JOIN (SELECT bbl{{fields}} FROM pluto14v2) b ON a.sbbl = b.bbl WHERE ST_INTERSECTS({{{intersects}}}, a.the_geom) The heart of PlutoPlus
  24. 24. SQL API call: https://cwhong.cartodb.com/api/v2/sql Query: q=SELECT * FROM plutoshapes a LEFT OUTER JOIN (SELECT bbl{{fields}} FROM pluto14v2) b ON a.sbbl = b.bbl WHERE ST_INTERSECTS({{{intersects}}}, a.the_geom) The heart of PlutoPlus Bookkeeping: skipfields=sbbl,cartodb_id,created_at,updated_at,name,descriptio n&format={{type}}&filename=pluto
  25. 25. The heart of PlutoPlus SELECT * FROM plutoshapes a LEFT OUTER JOIN ( SELECT bbl{{fields}} FROM pluto14v2 ) b ON a.sbbl = b.bbl WHERE ST_INTERSECTS({{{intersects}}}, a.the_geom
  26. 26. Chris Henrick amirentstabilized.com
  27. 27. http://largelots.org/
  28. 28. AT THE INTERSECTION OF SOMETHING VERY EXCITING
  29. 29. MAPS & THE RETURN OF PLAYFUL DESIGN
  30. 30. WEB DESIGN CARTOGRAPHY
  31. 31. Eric Fischer
  32. 32. peter desmet
  33. 33. USER DRIVEN MAPPING OR NEVER THE SAME MAP TWICE
  34. 34. Same address, same boundaries no matter what service is providing the tile credit Alan McConchie & Beth Schechter
  35. 35. Crimea What you see in Russia What you see in Ukraine We work to provide as much discoverable information as possible so that users can make their own judgments about geopolitical disputes
  36. 36. In CartoDB, the map can change 100% for every viewer What you see What I see
  37. 37. http://academy.cartodb.com/
  38. 38. THANK YOU @MrEPhysics
  39. 39. Workshop bit.ly/cdb-cfa

×