How to control mapnik PointSymbolizer symbol alignment?

I'm using mapnik to draw a layer with bitmap images. It works good, but it looks like the bottom-right of the image is the x, y of my coordinates. How to align the image so that the center of the image is placed on my coordinates?

point_looks = mapnik.PointSymbolizer(output_filename_abs, 'png', 32, 32) 
layout_rule = mapnik.Rule()
point_style = mapnik.Style()


Very stupid of me... the images I used are 16x16 pixels. Thus setting the size to 32x32 will put the lower-right corner as the center.

you can use transform parameter.


take a look at SVG transform

Need Your Help

LINQ And Concurrency Question

sql sql-server linq linq-to-sql

I am developing three applications that all share a common database.

Umbraco 7 Search

search umbraco7

I have tried a few options for implementing search in Umbraco but none seems to be easy and working.