GithubHelp home page GithubHelp logo

osm_tile_server's Introduction

Do Not Trust This ReadMe. It Is Still In Work

How to use vagrant to spin up your own OpenStreetMap (OSM) tile server. ##Introduction

This project uses PostgreSQL, PostGIS, osm2pgsql, Mapnik, mod_tile, renderd, osmosis and others. Luckily, you don't need to download/install these on your owm machine. Vagrant handles all the package management.

One of the main problems people face when trying to use OSM in a vagrant environment is the IO speed of synced_folders.

Specifically, the IO speed of VirtualBox and VMWare is downright abysmal.

Some people have suggested that using NFS shares will drastically speedup IO.

Well, they're half right.

I spent a lot of time in the beginning of this project trying to mount synced_folders as NFS shares.

As it turns out, the speedup is only true for reads, not writes.

And if you plan on importing the whole OSM planet file into your database, you are certainly going to want fast writes.

If your vagrant box AND OSM database are destined to live on a RAID 10 array, or a big (~ 1TB) SSD, then you probably won't need to use synced_folders the way I am using them.

You'll want to create a separate VDI to use in place of synced_folders, especially if you plan on spreading your tablespaces across multiple drives.

##Dependencies Vagrant/VirtualBox

##Monitoring and Profiling Tools htop, df, free and dstat

##Usage Pre up instructions go here

vagrant up

Pre provision instructions go here

vagrant provision

Post provision instructions go here ##TODO

Add render_list_geo.pl

Add links to osmosis docs in Apache

Rewrite mod_tile/slippymap.html using OL3

FINISH THIS README!!!!

osm_tile_server's People

Contributors

williemaddox avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.