This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mapnik supports the PROJ.4 WKT for projections and buried deep in the doc's is one called | |
'Two Point Equidistant'. You provide the left and right points and the map is rotated | |
such that these two points are horizontal in the output. | |
This allows you to rotate the map to any angle (including south up!!) and the text is | |
rendered correctly! You don't have to change the projections of your input vectors. | |
Simply tweak the mapnik generate_image.py script like this: | |
Change: |