openstreetmap tile-server in one minute

Post on 08-Jan-2017

1.193 Views

Category:

Data & Analytics

2 Downloads

Preview:

Click to see full reader

TRANSCRIPT

#SOTMs15 OpenStreetMap in a (Lego)Box 1

OSM in a box

#> apt-get install openstreetmap

#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

#SOTMs15 OpenStreetMap in a (Lego)Box 3

Reality looks tough

#SOTMs15 OpenStreetMap in a (Lego)Box 4

Reality looks tough… Really tough

https://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/ https://github.com/mapnik/mapnik/wiki

http://wiki.openstreetmap.org/wiki/Mod_tile

https://github.com/openstreetmap/mod_tile/blob/master/renderd.conf

https://github.com/openstreetmap/osm2pgsql/blob/master/README.md

http://wiki.openstreetmap.org/wiki/Osmosis/Replication

https://wiki.debian.org/OSM/tileserver/jessie

https://github.com/mapbox/carto/blob/master/README.md

#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]

#SOTMs15 OpenStreetMap in a (Lego)Box 6

# > apt-get install openstreetmap

The Dream

Easy as

#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

#SOTMs15 OpenStreetMap in a (Lego)Box 8

The Legobox Demo60 seconds to setup a fulltile-server on our lego-box

https://www.youtube.com/watch?v=TohPP7zWSsE

#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

#SOTMs15 OpenStreetMap in a (Lego)Box 10

Thank you

@DesignMyApp @LoicOrtola @Olduvhttps://github.com/mapsquarehttp://mapsquare.io

#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…)

top related