3

I use Ubuntu 12.04 LTC, postgres 9.1, postgis 2.0.

I install mapnik.

$ sudo add-apt-repository ppa:mapnik/nightly-trunk
$ sudo apt-get update
$ sudo apt-get install libmapnik mapnik-utils python-mapnik

Which version of mapnik I install? https://github.com/mapnik/mapnik/wiki/Mapnik2 in this documentation write that mapnik may be 0.7 or 2.1

>>> import mapnik
>>> mapnik.mapnik_version()
300000

In synaptic: 3.0.0+dev20130906.git.f3b8645-1~precise1

1 Answer 1

3

Mapnik 2 is a major change release. There have been many updates and alterations that mean backwards compatibility is not guaranteed. See the documentation for the differences between Mapnik and Mapnik2. If you haven't previously used Mapnik, then I would recommend starting with version 2 to take advantage of the improvements and avoid problems later on.

1
  • Also, be sure to use a stylesheet for mapnik 2. The old ones will not run with the current version anymore.
    – AndreJ
    Commented Sep 12, 2013 at 8:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.