About This Modification
This project is done by Ake Koomsin and Ronakorn Soponpunth.
We introduce Nvidia's Path Rendering to Mapnik. It also involves offscreen rendering and multisampling.
This works only with Nvidia's graphic card.
This project is based on Mapnik version 2.2.0-pre. We modified following files
Here is the list of our hardware, compiler and driver:
- CPU: Intel i7-2600 @ 3.60 GHz • RAM: 8 GB
- GPU: Geforce GTX 460
- Compiler: GCC 4.6.3
- Nvidia Driver: 304.64
We test on Ubuntu 12.04 LTS. We discover that this implementation 30-60% faster than using AGG renderer.
Other than Mapnik's original dependencies, make sure you have: freeglut libX11-dev glew(at least 1.8)
We test the result based on Openstreetmap style from URL below. https://trac.openstreetmap.org/browser/applications/rendering/mapnik
and geometry data from URL below. http://download.geofabrik.de/openstreetmap/
To see example of the map, make sure that all required library is installed. To check acquired library type following command in mapnik root directory
./configure make && sudo make install
Then simply run example demo in demo/c++ or demo/python by type command below
For demo/c++ : ./rundemo /usr/local/lib/mapnik For demo/python : python rundemo.py
_/ _/ _/ _/ _/_/ _/_/ _/_/_/ _/_/_/ _/_/_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/_/_/ _/_/_/ _/ _/ _/ _/ _/ _/ _/
What is Mapnik?
Mapnik is basically a collection of geographic objects like maps, layers, datasources, features, and geometries. The library doesn't rely on any OS specific "windowing systems" and it can be deployed to any server environment. It is intended to play fair in a multi-threaded environment and is aimed primarily, but not exclusively, at web-based development.
See INSTALL.md for installation instructions.