Using data from a dataset in styles with Mapnik

Posted by Alex King on Stack Overflow See other posts from Stack Overflow or by Alex King
Published on 2010-05-11T22:52:17Z Indexed on 2010/05/11 22:54 UTC
Read the original article Hit count: 242

Filed under:
|

I've setup Mapnik to connect to a PostGIS database, and display geometry. I'd like to have a column in my database called opacity, and use it as the opacity for that row of geometry when Mapnik renders it.

So far, I've only found information on how to display text from the database, and how to use filters to display different styles when database values are within parameters. Nothing about how to use the values directly inside of a style or layer though - is this possible?

© Stack Overflow or respective owner

Related posts about mapnik

Related posts about postgis