Giter Club home page Giter Club logo

alacarte's Introduction

Build Status

What is alaCarte?

screenshot of Karlsruhe

alaCarte is a tile renderer for OpenStreetMap data written in C++11, using Cairo for rendering and Boost-Spirit for MapCSS parsing.

The rendered tiles are served over HTTP using the Slippy map tilenames convention.

To compute which data is needed for rendering a tile, alaCarte uses a variant of a kd-Tree.

alaCarte was designed with medium dataset size in mind. On a typical machine with at leat 8GB RAM, alaCarte can handle a unfiltered export from the federal state of Baden-Wuerttemberg (Germany).

alaCarte was developed as part of a lab course student software project at KIT. For the old project files (mostly in German) see the old project repository.

alaCarte has also has a growing website at http://alacarte-maps.github.io.

Features

  • easy to use
  • most MapCSS attributes are implemented
  • no need to filter OSM exports, you have full access to all attributes at runtime
  • stylesheets are updated at runtime (changes are detected automatically)
  • tiles can be rendered in groups ("meta tile") to speed up rendering (not in 0.2)

How to build

mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make

Dependencies

  • Cairo (>=1.12.0), Cairomm
  • Boost (Spirit)
  • SigC++
  • libpng
  • log4cpp

Usage

(from build directory)

./alacarte-importer osm_export.osm data.carte
./alacarte-server -g data.carte -s ../data/mapcss

You can use the test Leaftlet-Page located in tests/html/Leaflet/index.html to view the rendered tiles.

You can download fresh OSM exports from Geofabrik.

Install

(as root)

make install

The config-file is located in /etc/alacarte.conf. You should make sure the user running alacarte has permissions to write to the specified directories for caching and logging.

To Do

  • Real database backend
  • Better font rendering (Pango?)
  • Unicode support
  • Implement MapCSS-include
  • Better caching of fonts and icons
  • Option to "tune" imported data for specific stylesheets

alacarte's People

Contributors

themarex avatar amdmi3 avatar mixaill avatar scheirle avatar andrewshadura avatar komzpa 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.