Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.
Analyzing OpenStreetMap                       using CartoDBSunday, October 14, 12
Senior scientist and developer @vizzuality          Find me @andrewxhillSunday, October 14, 12
User, developer, and pusher of limits @cartodb          Find me @andrewxhillSunday, October 14, 12
blog.cartodb.comSunday, October 14, 12
So tell me already,         What is CartoDB?Sunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
CartoDB is a tool to build applications          and master your geospatial dataSunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
Importing OSM data into CartoDB            it’s sooooo easySunday, October 14, 12
We support directly importing OSM            and other formats too!                 shp, csv, kml, etcSunday, October 14, 12
CartoDB uses osm2pgsql            it keeps it simpleSunday, October 14, 12
Sunday, October 14, 12
1 OSM file becomes 4 CartoDB tables                         1. Points                         2. Polygons                  ...
Import local data from .org or mirror            simple drag-drop support on most browsersSunday, October 14, 12
Or! Import directly from URL            www.openstreetmap.orgSunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
From here the sky is the limit            combine SQL, CartoCSS, and APIs with easeSunday, October 14, 12
no. seriously.Sunday, October 14, 12
SQL                         remember. it’s everywhereSunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
EMBED                          sql is everywhereSunday, October 14, 12
Sunday, October 14, 12
SQL API                          sql is everywhereSunday, October 14, 12
Sunday, October 14, 12
youraccount/osmtable/11/1022/679.png                     youraccount/osmtable/11/1022/679.png?yada WHERE railSunday, Octob...
CREATIVITY sql is everywhereSunday, October 14, 12
not for meSunday, October 14, 12
http://goo.gl/orkoqSunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
CLIENT SIDE     Leaflet, Google Maps, Backbone, D3Sunday, October 14, 12
Sunday, October 14, 12
OR                         more practical thingsSunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
INNOVATION     they don’t let us sleep...Sunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
_I want to see ‘X’ over time                         using the SQL API with big dataSunday, October 14, 12
Sunday, October 14, 12
WITH	  hgrid	            	  	  	  	  	  AS	  (SELECT	  Cdb_rectanglegrid(Cdb_xyz_extent(8,	  12,	  5),	            	  	  	...
Raw                   Datacube                    1000                                                                    ...
http://goo.gl/TsGsrSunday, October 14, 12
https://dl.dropbox.com/u/580074/osm_edits_in_madrid.movSunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
Sunday, October 14, 12
That’s CartoDB +               OpenStreetMap in a nutshell            come talk to me, I’m sure I missed much moreSunday, ...
Sunday, October 14, 12
Sunday, October 14, 12
xºSunday, October 14, 12
Thanks!         @andrewxhillSunday, October 14, 12
Prochain SlideShare
Chargement dans…5
×

Using CartoDB to analyze OpenStreetMap data

A brief introduction to CartoDB and some of its powerful features for working with OpenStreetMap data. Given in October 2012 at StateoftheMap PDX

  • Identifiez-vous pour voir les commentaires

Using CartoDB to analyze OpenStreetMap data

  1. 1. Analyzing OpenStreetMap using CartoDBSunday, October 14, 12
  2. 2. Senior scientist and developer @vizzuality Find me @andrewxhillSunday, October 14, 12
  3. 3. User, developer, and pusher of limits @cartodb Find me @andrewxhillSunday, October 14, 12
  4. 4. blog.cartodb.comSunday, October 14, 12
  5. 5. So tell me already, What is CartoDB?Sunday, October 14, 12
  6. 6. Sunday, October 14, 12
  7. 7. Sunday, October 14, 12
  8. 8. Sunday, October 14, 12
  9. 9. Sunday, October 14, 12
  10. 10. Sunday, October 14, 12
  11. 11. Sunday, October 14, 12
  12. 12. Sunday, October 14, 12
  13. 13. Sunday, October 14, 12
  14. 14. Sunday, October 14, 12
  15. 15. CartoDB is a tool to build applications and master your geospatial dataSunday, October 14, 12
  16. 16. Sunday, October 14, 12
  17. 17. Sunday, October 14, 12
  18. 18. Sunday, October 14, 12
  19. 19. Sunday, October 14, 12
  20. 20. Sunday, October 14, 12
  21. 21. Sunday, October 14, 12
  22. 22. Importing OSM data into CartoDB it’s sooooo easySunday, October 14, 12
  23. 23. We support directly importing OSM and other formats too! shp, csv, kml, etcSunday, October 14, 12
  24. 24. CartoDB uses osm2pgsql it keeps it simpleSunday, October 14, 12
  25. 25. Sunday, October 14, 12
  26. 26. 1 OSM file becomes 4 CartoDB tables 1. Points 2. Polygons 3. Roads 4. LinestringsSunday, October 14, 12
  27. 27. Import local data from .org or mirror simple drag-drop support on most browsersSunday, October 14, 12
  28. 28. Or! Import directly from URL www.openstreetmap.orgSunday, October 14, 12
  29. 29. Sunday, October 14, 12
  30. 30. Sunday, October 14, 12
  31. 31. Sunday, October 14, 12
  32. 32. Sunday, October 14, 12
  33. 33. Sunday, October 14, 12
  34. 34. Sunday, October 14, 12
  35. 35. Sunday, October 14, 12
  36. 36. From here the sky is the limit combine SQL, CartoCSS, and APIs with easeSunday, October 14, 12
  37. 37. no. seriously.Sunday, October 14, 12
  38. 38. SQL remember. it’s everywhereSunday, October 14, 12
  39. 39. Sunday, October 14, 12
  40. 40. Sunday, October 14, 12
  41. 41. EMBED sql is everywhereSunday, October 14, 12
  42. 42. Sunday, October 14, 12
  43. 43. SQL API sql is everywhereSunday, October 14, 12
  44. 44. Sunday, October 14, 12
  45. 45. youraccount/osmtable/11/1022/679.png youraccount/osmtable/11/1022/679.png?yada WHERE railSunday, October 14, 12
  46. 46. CREATIVITY sql is everywhereSunday, October 14, 12
  47. 47. not for meSunday, October 14, 12
  48. 48. http://goo.gl/orkoqSunday, October 14, 12
  49. 49. Sunday, October 14, 12
  50. 50. Sunday, October 14, 12
  51. 51. Sunday, October 14, 12
  52. 52. Sunday, October 14, 12
  53. 53. Sunday, October 14, 12
  54. 54. CLIENT SIDE Leaflet, Google Maps, Backbone, D3Sunday, October 14, 12
  55. 55. Sunday, October 14, 12
  56. 56. OR more practical thingsSunday, October 14, 12
  57. 57. Sunday, October 14, 12
  58. 58. Sunday, October 14, 12
  59. 59. Sunday, October 14, 12
  60. 60. Sunday, October 14, 12
  61. 61. Sunday, October 14, 12
  62. 62. INNOVATION they don’t let us sleep...Sunday, October 14, 12
  63. 63. Sunday, October 14, 12
  64. 64. Sunday, October 14, 12
  65. 65. Sunday, October 14, 12
  66. 66. Sunday, October 14, 12
  67. 67. Sunday, October 14, 12
  68. 68. _I want to see ‘X’ over time using the SQL API with big dataSunday, October 14, 12
  69. 69. Sunday, October 14, 12
  70. 70. WITH  hgrid            AS  (SELECT  Cdb_rectanglegrid(Cdb_xyz_extent(8,  12,  5),                                  Cdb_xyz_resolution(5)  *  4,                                                        Cdb_xyz_resolution(5)  *  4)  AS  cell)   SELECT  x,                y,                Array_agg(c)  vals,                Array_agg(d)  dates   FROM      (SELECT  St_xmax(hgrid.cell)                                                                                        x,                                St_ymax(hgrid.cell)                                                                                        y,                                Count(i.cartodb_id)                                                                                        c,                                Floor((  Date_part(epoch,  built)  -­‐  -­‐10418716800  )  /  32837875)  d                  FROM      hgrid,                                us_po_offices  i                  WHERE    St_intersects(i.the_geom_webmercator,  hgrid.cell)                  GROUP    BY  hgrid.cell,                                      Floor((  Date_part(epoch,  built)  -­‐  -­‐10418716800  )  /  32837875)                )  f   GROUP    BY  x,                      ySunday, October 14, 12
  71. 71. Raw Datacube 1000 300 100 70 10 3 2 1 1.5 1.2 3mb 70mb 300mb Payload sizesSunday, October 14, 12
  72. 72. http://goo.gl/TsGsrSunday, October 14, 12
  73. 73. https://dl.dropbox.com/u/580074/osm_edits_in_madrid.movSunday, October 14, 12
  74. 74. Sunday, October 14, 12
  75. 75. Sunday, October 14, 12
  76. 76. Sunday, October 14, 12
  77. 77. That’s CartoDB + OpenStreetMap in a nutshell come talk to me, I’m sure I missed much moreSunday, October 14, 12
  78. 78. Sunday, October 14, 12
  79. 79. Sunday, October 14, 12
  80. 80. xºSunday, October 14, 12
  81. 81. Thanks! @andrewxhillSunday, October 14, 12

×