On Dec 8, 2010, at 12:05 PM, Robert Coup wrote:

> Hi Holger,
> 
> 2010/12/9 Holger Schöner <[email protected]>
> http://trac.mapnik.org/wiki/Mapnik2 states that cascadenik supports mapnik2
> (although, is it out of date? I am currently using the mapnik2-branch of the
> git repository, because master did not seem to handle mapnik2). But running
> 
> Yep, use the mapnik2 branch on git.

I've been wondering how we should better make this clear...

Does github have any way to make the wiki the landing page vs. the master 
branch code maybe?

>  
> 
>        cascadenik-compile.py -v text.mml text.xml
> 
> yields a lot of warnings in the form
> ----------
> Deprecation Warning: symbolizer value now an expression, please wrap properly
> in brackets like "[name]"
> ----------
> 
> But it works okay. Well, it does for me -- the warnings are coming from when 
> cascadenik calls mapnik, so the problem is cascadenik's, not yours. If it 
> does break let me know.
> 
> It's on my list of things to fix.

I just did the quick fix to avoid the warnings:

https://github.com/mapnik/Cascadenik/issues/#issue/12

> 
> Concluding, it seems to me, that using expressions for the name attribute of
> TextSymbolizers is not yet possible with Cascadenik, and I will have to stay
> with simply providing the column name directly and live with the warnings in
> the moment. Is this correct?
> 
> I still need to work through how to represent expressions in cascadenik, and 
> then implement it.
> 

exactly, not quite on my radar yet either :)

> Rob :) 
> -- 
> Koordinates Ltd.
> PO Box 1604, Shortland St, Auckland 1140, New Zealand
> Phone +64-9-966 0433 Fax +64-9-969 0045
> Web http://koordinates.com/
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to