Building maps for  apps in the cloud - a Softlayer Use Case
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

Building maps for apps in the cloud - a Softlayer Use Case

  • 731 views
Uploaded on

Together with Softlayer Snowciety gave a presentation at GOTO Amsterdam 2013 about building custom maps using OpenStreetMap and SRTM data, POstgis/PostgreSQL as a datsbase, Mapnik as a renderer,......

Together with Softlayer Snowciety gave a presentation at GOTO Amsterdam 2013 about building custom maps using OpenStreetMap and SRTM data, POstgis/PostgreSQL as a datsbase, Mapnik as a renderer, Tilestance and Apache as the http servers and Leaflet as the javascript client.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
731
On Slideshare
668
From Embeds
63
Number of Embeds
2

Actions

Shares
Downloads
3
Comments
0
Likes
3

Embeds 63

http://eventifier.co 55
http://eventifier.com 8

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Building maps forapps in the cloud
  • 2. Share your skiing with the world.Join the Snowciety
  • 3. Ski tracker
  • 4. Friend finder
  • 5. Share your skiing
  • 6. Google Maps alternativebecause they charge heavy users nowadays
  • 7. Freedomcreate radical designs
  • 8. It is all Open Sourceeven the data from NASA
  • 9. data database renderer http server
  • 10. client
  • 11. OpenStreetMapwikipedia for maps
  • 12. SRTMShuttle Radar Topography Mission
  • 13. Lots of dataour cluster contains roughly 3,5 terabyte of unrendered data
  • 14. 350 GB of OSMPostgreSQL with PostGIS plugin
  • 15. 3 TB of GEOTIFF
  • 16. Mapnikrenderer
  • 17. §
  • 18. Journey to get here
  • 19. Journey to get here
  • 20. §
  • 21. pngpngpngpngpngpngpngpngpngpngpngpngpngpngpngpngpngpngpngpngpngpngpngpngpngpngpngpngpngpngpngpngpngpngpngpngpngpngpngpng256x256png png png png png png png png png png
  • 22. Not only server-sidealso client-side library to interact with map
  • 23. An Open-Source JavaScript Libraryfor Mobile-Friendly Interactive Maps
  • 24. Apache httpdNo, not really the chopper
  • 25. Tile StacheTranslating Apache requests into Mapnik render commands
  • 26. Mapnikthe renderer from before
  • 27. CachingMemcache, Disk, S3
  • 28. CachingMemcache, Disk, S3
  • 29. Importing datatakes a loooooooooooooooooooooooooooooooooooong time
  • 30. 25GBgzipped xml file
  • 31. and you know how well plaintext can be gzippedfile is roughly 250GB unzipped
  • 32. 3 weeks and counting :-|M1 Large Instance7.5 GiB of memory, 4 EC2 Compute Units
  • 33. High-Memory Quadruple ExtraLarge Instance68.4 GB of memory, 26 EC2 Compute Units, 24 EBS blocks RAID 1$1.640 per Hour = $ 1180 / month29 hours!
  • 34. Dedicated hardware68 GB of memory, 8 Cores, 1 SATA disk$ 700 / month10 hours
  • 35. Macbook Pro16 GB of Memory, SSD
  • 36. 8.5 hoursit is all about lots of memory and lots and lots of IO speed
  • 37. and that was just OSM!
  • 38. SRTMShuttle Radar Topography Mission
  • 39. about a minuteper 1” x 1” file
  • 40. from -180,0 to 180,9028.800 files
  • 41. 20 days laterwe were done importing
  • 42. So now you knowhow it is made
  • 43. Future?More sources, better maps, and..
  • 44. Vector maps!
  • 45. How do I get started?Mapbox.comdownload TileMill
  • 46. Building your on OSM server (incl all build commands)http://weait.com/content/build-your-own-openstreetmap-server-lucidWorking with terrain data (hillshading, slopeshading, color-relief)http://www.mapbox.com/tilemill/docs/guides/terrain-data/for when viewing this presentation on SlideshareTutorials
  • 47. THANK YOU@timanrebel
  • 48. Rate me!GOTO Guide App!