Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
52 lines (29 sloc) 1.5 KB
layout title
Installing on Ubuntu

Return to Docs

Installing on Ubuntu

This is how install on a fresh Ubuntu 12.10 system. Might work on older 12.X systems as well.

Installing the pre-requisites

sudo apt-get install libxslt1-dev python-dev python-shapely python-gdal python-pyproj python-pip


Install directly from Github

sudo pip install -r

Test Installation

Download the 1:50m Admin 0 Countries shapefile from Natural Earth into a newly created folder "kartograph-test" in your home folder.

mkdir ~/kartograph-test
cd ~/kartograph-test;

Create a very basic map configuration by creating a new text file named "world.json" and paste the following content into it:

   "layers": [{
       "src": "ne_50m_admin_0_countries.shp"

Then you create the map using the following command:

kartograph world.json -o world.svg

Congrats, that's it. Here's what you should see now.

resulting map

There are more tests included in the repository on Github.