https://github.com/springmeyer/node-mapnik-heroku
https://github.com/springmeyer/node-mapnik-heroku
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/springmeyer/node-mapnik-heroku
- Owner: springmeyer
- License: bsd-3-clause
- Created: 2012-06-26T01:35:38.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2012-06-26T03:18:30.000Z (about 14 years ago)
- Last Synced: 2024-12-28T18:28:43.780Z (over 1 year ago)
- Size: 27 MB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Node-Mapnik
Bindings to [Mapnik](http://mapnik.org) for [node](http://nodejs.org).
This repo stores 64bit standalone binaries for heroku (Ubuntu Lucide LTS).
To set them up do:
sudo apt-add-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs npm
git clone https://github.com/springmeyer/node-mapnik-heroku.git
cd node-mapnik-heroku
export LD_LIBRARY_PATH=`pwd`/lib
Test require:
# local
node -e "require('./lib/mapnik')"
# global
export NODE_PATH=./lib
node -e "require('mapnik')"
Note: if you need fancy projections support, support for Unicode string expressions,
or support for bundled Unifont use the `unicode-and-projections` branch.
If running the `unicode-and-projections` branch then all tests should pass if you do:
make test
See https://github.com/mapnik/node-mapnik for more details about node-mapnik.