Skip to content
Memphis is a map-rendering application and a library for ​OpenStreetMap written in ​C using ​eXpat, ​Cairo and ​GLib.
C GAP Python Vala C++ JavaScript Shell
Find file
Latest commit 4c288df simon Bump version number to 0.2.4
Failed to load latest commit information.
demos tile-server demo: Fix a compile warning
docs/reference gtk-doc: only one title per section
m4 Add gtk-doc.m4
memphis Fix the parsing of doubles in certain locales
pattern added tiles and fixed file style
test Rename folder src to memphis
tests Sync the default rules set with the champlain demo
.gitignore Add and .gitignore
AUTHORS Add tile-server demo (Brian J. Johnson)
COPYING Merge the 'client-library-split' branch into trunk
ChangeLog Bump version to 0.2.3, update ChangeLog
NEWS Add an autotools based build system
README Extend the README file
SConstruct Add Vala bindings, a Vala example and an infrastructure to regenerate… Warn if gtkdoc is missing Bump version number to 0.2.4 Add an autotools based build system


Memphis is a map-rendering application and a library for
OpenStreetMap written in C using eXpat, Cairo and GLib. It's licensed
under the terms of the GNU Lesser General Public License.

Web page:


glib-2.0 >= 2.16
gobject-2.0 >= 2.10
cairo >= 1.4
expat >= 2.0


$ ./configure
$ make
$ sudo make install

 Memphis Usage:

$ cd src
$ ./memphis rule.xml map.osm

 Libmemphis Usage:

#include <memphis/memphis.h>

Compile you application:
$ gcc your-app.c -o your-app `pkg-config --cflags --libs memphis-0.2`

More details:


The tile-renderer demo renders all tiles of a certain zoom level as PNG images.
The output is wiritten into the 'tiles' folder.

$ cd demos
$ ./tile-renderer <zoom level> <map file>

The tile-server demo implements a web server that renders tiles.
Example URL: http://localhost:80/14/8608/5754.png

$ cd demos
$ ./tile-server [-d] [-p <port>] [-m <mapfile>] [-r <rulefile>]

Something went wrong with that request. Please try again.