mapnik/osx/installer/pkg/readme.rtf

107 lines
3.9 KiB
Text
Raw Normal View History

{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf350
2011-02-03 20:06:48 +01:00
{\fonttbl\f0\fnil\fcharset0 LucidaGrande;\f1\fnil\fcharset0 AndaleMono;}
{\colortbl;\red255\green255\blue255;}
2011-02-03 20:06:48 +01:00
\margl1440\margr1440\vieww21400\viewh11880\viewkind0
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
2011-02-03 20:06:48 +01:00
\f0\fs32 \cf0 Welcome to Mapnik!
\fs34 \
\fs24 \
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
\b\fs28 \cf0 Quickstart
\b0\fs22 \
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
\fs24 \cf0 \
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
\b \cf0 \'95
\b0 Install the "Mapnik.pkg" and "GDAL_Complete.dmg".\
\
\b \'95
\b0 Then enable the Mapnik python and node bindings by simply adding these lines to your ~/.bash_profile or /etc/profile:\
\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
\f1 \cf0 MAPNIK=/Library/Frameworks/Mapnik.framework\
export PATH=$MAPNIK/Programs:$PATH\
export NODE_PATH=$MAPNIK/Node:$NODE_PATH\
export PYTHONPATH=$MAPNIK/Python:$PYTHONPATH
\f0\b\fs22 \
\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
\fs24 \cf0 \'95
\b0 Finally, test your installation via Python:\
\
Open the Terminal.app and confirm that below command returns 'True':\
\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
\f1 \cf0 $ python -c "import mapnik2; print 'Mapnik.framework' in mapnik2.__file__"
\f0 \
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
\fs26 \cf0 \
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
\fs24 \cf0 If it does then Mapnik is installed correctly and you can head to {\field{\*\fldinst{HYPERLINK "http://mapnik.org"}}{\fldrslt http://mapnik.org}} for documentation.
\b\fs22 \
\b0\fs24 \
\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
\b\fs28 \cf0 Details\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
\b0\fs24 \cf0 \
This installer only works for Snow Leopard (10.6).\
\
You need to provide your own version of Python or NodeJS to use the Mapnik bindings to these languages.\
\
This install should play nicely with any existing installations of Mapnik.\
\
This Mapnik installer includes:\
\
*
\b Mapnik Core
\b0 (mapnik library)\
*
\b Python bindings
\b0 compatible with versions:\
- 2.5, 2.6, 2.7, and 3.1\
*
\b NodeJS bindings
\b0 (node-mapnik) compatible with versions:\
2011-02-03 20:06:48 +01:00
- 0.2.4, 0.2.5, 0.2.6, 0.3.0, 0.3.1, 0.3.2, 0.3.3, and 0.3.4-pre\
*
\b Datasources
\b0 (aka "input plugins"):\
2011-02-03 20:06:48 +01:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
2011-02-03 20:06:48 +01:00
\fs22 \cf0 - Shapefile, PostGIS, Raster, GDAL, OGR,\
GEOS, SQLite, Rasterlite, OSM, Kismet\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
2011-02-03 20:06:48 +01:00
\fs26 \cf0 * GDAL_Complete-1.7.dmg from:\
\fs24 - http://www.kyngchaos.com/software/frameworks
\fs26 \
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
2011-02-03 20:06:48 +01:00
\fs24 \cf0 \
\
2011-02-03 20:06:48 +01:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
\b\fs28 \cf0 Issues?\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
\b0\fs24 \cf0 \
Any questions or problems with the installer please get in touch with Dane (
\b dane@dbsgeo.com
\b0 ).\
}