150 lines
No EOL
5.9 KiB
Text
150 lines
No EOL
5.9 KiB
Text
{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf350
|
|
{\fonttbl\f0\fnil\fcharset0 LucidaGrande;\f1\fnil\fcharset0 AndaleMono;}
|
|
{\colortbl;\red255\green255\blue255;}
|
|
\margl1440\margr1440\vieww11580\viewh11940\viewkind0
|
|
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
|
|
|
|
\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".\
|
|
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
|
|
|
|
\b\fs22 \cf0 \
|
|
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
|
|
|
|
\fs24 \cf0 \'95
|
|
\b0 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! You can now head along to {\field{\*\fldinst{HYPERLINK "http://mapnik.org"}}{\fldrslt http://mapnik.org}} for documentation.
|
|
\b\fs22 \
|
|
|
|
\b0\fs24 \
|
|
If it does not then you may need to add this line to your environment settings:\
|
|
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
|
|
|
|
\f1 \cf0 \
|
|
export PYTHONPATH=/Library/Frameworks/Mapnik.framework/Python:$PYTHONPATH\
|
|
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
|
|
|
|
\f0 \cf0 \
|
|
\
|
|
\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).\
|
|
\
|
|
This install should play nicely with any existing installations of Mapnik.\
|
|
\
|
|
It automatically puts the following lines in your ~/.bash_profile to enable Mapnik:\
|
|
\
|
|
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
|
|
|
|
\f1 \cf0 export PATH=/Library/Frameworks/Mapnik.framework/Programs:$PATH\
|
|
export PYTHONPATH=/Library/Frameworks/Mapnik.framework/Python:$PYTHONPATH\
|
|
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
|
|
|
|
\f0 \cf0 \
|
|
It also enables the Mapnik python bindings for QGIS/Python2.6 by putting a 'mapnik2.pth' file in:\
|
|
\
|
|
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
|
|
|
|
\f1 \cf0 /Library/Python/2.6/site-packages\
|
|
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
|
|
|
|
\f0 \cf0 \
|
|
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 Datasources
|
|
\b0 (aka "input plugins"):\
|
|
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
|
|
|
|
\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
|
|
|
|
\fs24 \cf0 *
|
|
\b Dependencies:
|
|
\b0 Boost, ICU, Cairo, Freetype2 and other minor libraries\
|
|
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
|
|
|
|
\fs26 \cf0 *
|
|
\b GDAL_Complete-1.8.dmg
|
|
\b0 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
|
|
|
|
\fs24 \cf0 \
|
|
\
|
|
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
|
|
|
|
\b\fs28 \cf0 Uninstalling\
|
|
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
|
|
|
|
\b0\fs24 \cf0 \
|
|
To disable this installation remove the lines including '
|
|
\f1 /Library/Frameworks/Mapnik.framework'
|
|
\f0 from your ~/.bash_profile\
|
|
\
|
|
And remove this file\
|
|
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
|
|
|
|
\f1 \cf0 \
|
|
/Library/Python/2.6/site-packages/mapnik2.pth\
|
|
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
|
|
|
|
\f0 \cf0 \
|
|
To fully remove the Installation remove this folder:\
|
|
\
|
|
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
|
|
|
|
\f1 \cf0 /Library/Frameworks/Mapnik.framework\
|
|
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
|
|
|
|
\f0 \cf0 \
|
|
\
|
|
\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 ).\
|
|
} |