Code Monkey home page Code Monkey logo

opentileserver's Introduction

opentileserver

This script is for building a basic tile server with OpenStreetMap data.

Only for use on a clean Ubuntu 16.04 LTS (Xenial Xerus) install!

Before proceeding, see opentileserver.org for limitations, etc..

Step 1: Get opentileserver.sh script from GitHub

Step 2: Make it executable:

chmod 755 opentileserver.sh

Step 3:

vi and change the password on line 19 to something difficult

OSM_USER_PASS='osm2015SgsjcK'; #CHANGE ME

If using a non-Latin alphabet, ucomment line 24 below if needed:

export LC_ALL=C

See AcuGIS#4

Step 4: Run the script

Script usage:

./opentileserver.sh [web|ssl] [bright|carto] pbf_url

[web|ssl]: 'web' for http and 'ssl' for https.

[bright|carto]: 'carto' for openstreetmap-carto or 'bright' for openstreetmap-bright

pbf_url: Complete PBF url from GeoFarbrik (or other source)

Examples:

Load Delware data with openstreetmap-carto style and no SSL:

./opentileserver.sh web carto http://download.geofabrik.de/north-america/us/delaware-latest.osm.pbf

Load Bulgaria data with openstreetmap-bright style and SSL:

./opentileserver.sh http://download.geofabrik.de/europe/bulgaria-latest.osm.pbf bright

Load South America data with openstreetmap-carto style and SSL:

./opentileserver.sh ssl carto http://download.geofabrik.de/south-america-latest.osm.pbf

Welcome Page

Once installation completes, navigate to the IP or hostname of your server.

You should see a page as below:

installation complete

Click on both the OpenLayer and Leaflet Examples and check your installation is rendering

opentileserver's People

Contributors

davidghedini avatar thorstenhi avatar

Watchers

Roycon 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.