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âŠ)
Hinweis der Redaktion
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.