Skip to content

Latest commit

 

History

History
54 lines (43 loc) · 1.25 KB

README.md

File metadata and controls

54 lines (43 loc) · 1.25 KB

Underpass

Underpass updates a local copy of the OSM database in near real-time. It is designed to be high performance on modest hardware.

Getting started

Install dependencies

sudo apt-get update \
    && apt-get install -y software-properties-common \
    && apt-get update && apt-get install -y \
        libboost-dev \
        autotools-dev \
        swig \
        pkg-config \
        gcc \
        build-essential \
        ccache \
        libboost-all-dev \
        dejagnu \
        libjemalloc-dev \
        libxml++2.6-dev \
        doxygen \
        libgdal-dev \
        libosmium2-dev \
        libpqxx-dev \
        postgresql \
        libgumbo-dev \
        librange-v3-dev

Build

./autogen.sh && \
  mkdir build && cd build && \ 
  ../configure && make -j$(nproc) && sudo make install

Setup

  1. Import setup/db/underpass.sql to a PostGIS database
  2. Run the bootstrap script ./bootstrap.sh -r south-america -c uruguay
  3. Run the bootstrap command underpass --bootstrap --pbf uruguay-latest.osm.pbf

Run

underpass -u <OSM Planet path, ex: 006/390/702>

License

Underpass is free software! you may use any Underpass project under the terms of the GNU General Public License (GPL) Version 3.