Code Monkey home page Code Monkey logo

memphis's Introduction

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: http://trac.openstreetmap.ch/trac/memphis/

-----------------
 Dependencies:
-----------------

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

-----------------
 Buliding:
-----------------

$ ./configure
$ make
$ sudo make install

-----------------
 Memphis Usage:
-----------------

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

--------------------
 Libmemphis Usage:
--------------------

Includes:
#include <memphis/memphis.h>

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

More details: http://trac.openstreetmap.ch/trac/memphis/wiki/LibMemphis

--------------------
 Demos:
--------------------

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>]


memphis's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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