OpenStreetMap is probably one of the best examples of a successful giant community. They created a beautiful billion dollar vacuum in the map industry, although the system is still underused.
To reach its full potential, the community needs to work on simplicity, especially to set up tile servers.
The DesignMyApp team unleashed a set of tools for Mapsquare.io, that allows you to launch a complete tile-server stack in one minute.
2. #SOTMs15 OpenStreetMap in a (Lego)Box 2
Openstreetmap
“Most people just want this:
some data, a tile server, to serve some beautiful maps.”
Sajjad Anwar @geohacker, Mapbox
4. #SOTMs15 OpenStreetMap in a (Lego)Box 4
Reality looks tough… Really tough
https://github.com/openstreetmap/osm2pgsql/blob/master/README.md
http://wiki.openstreetmap.org/wiki/Osmosis/Replication
5. #SOTMs15 OpenStreetMap in a (Lego)Box 5
OSM data is far away from reaching its potential of usage
You know what? I’d rather pay
$$$ to [place any map service here]
7. #SOTMs15 OpenStreetMap in a (Lego)Box 7
The options
• Toolbox:
• Package? Too many distribs / versions, not modular
• VMs? Too many vendors, not flexible enough
VMware, Hyper-V, OpenStack, VirtualBox, AMIs…
• Conf management tools? Interesting
Chef, Puppet, Ansible
• Containers? YES
8. #SOTMs15 OpenStreetMap in a (Lego)Box 8
The Legobox Demo
60 seconds to setup a full
tile-server on our lego-box
https://www.youtube.com/watch?v=TohPP7zWSsE
9. #SOTMs15 OpenStreetMap in a (Lego)Box 9
The Legobox Demo
• Launch your own tile-server on an Amazon AWS Instance:
• http://tilelauncher.mapsquare.io
• The widgets:
• https://github.com/mapsquare/mapsquare-widgets
• Tile server stress-tests
• https://github.com/mapsquare/osm-tile-server-stress
10. #SOTMs15 OpenStreetMap in a (Lego)Box 10
Thank you
@DesignMyApp @LoicOrtola @Olduv
https://github.com/mapsquare
http://mapsquare.io
11. #SOTMs15 OpenStreetMap in a (Lego)Box 11
TileLauncher Beta
• Challenges:
• Make choices, but leave room for light config (region, style colors).
• Run anywhere, scale easily
• Roadmap:
• OpenSourcing Container stack on https://github.com/mapsquare
• Accept more providers (Amazon, Google, On-premise, Azure, …)
• Handle diffs
• Improve stack (Imposm 3, Mapnik 3…)
Notes de l'éditeur
Hi
It’s my first talk
Let’s cut to the chase
SOTM US, heard the talk of @geohacker
OSM = 1 of biggest world DB. Data would be useless if we didn’t do anything with it.
Today, when a third party wants to switch to osm, here’s what we tell him
- Go ahead!
Really tough.
Stack is gigantic
Doc everywhere, non-consistent, version issues…
This is how the setup of OpenStreetMap should be seen by the world.
(t0 + 2min)
To get closer to this, we have different bundle options
VMs: Ops want more flexibility
Conf Mgmt: Sounds like a good abstraction
Containers: The best from each world. sandboxed scriptable images, lightweight VMs
I’m here to show you the results of our work
I call it the legobox demo.
Let’s take a minute to launch our own tileserver together.
First, select the bounds of your ts. It can be the world, or let’s say Edinburgh. On the right, you can change the supported zoom levels.
Below, you can also change the levels which are going to be pre-rendered.
Now this is my favourite part. Simplicity implies choices.
And I hope I wont shock anyone if I tell you that most people wont argue against the fact that I don’t let them choose whether buildings should be displayed starting zoom level 16, or if primary roads should be above tunnels or not.
What they could want, is for their map to reflect their colors. So let’s just change the colors together.
It is beautiful, it is simple!
I can also change the different fonts, or use the presets.
Now, let’s give a name to our tile server, and hit the generate button.
Of course, there will be loading time, that can take from a few seconds to a whole day depending on your parameters. But there it is.
In one minute, we have created and launched our own tile server.