On Jul 5, 2011, at 11:40 AM, M∡rtin Koppenhoefer wrote:

> Dane, thank you for your reply.
> 
> 
> 2011/7/5 Dane Springmeyer <[email protected]>:
>> On Jul 4, 2011, at 4:26 PM, M∡rtin Koppenhoefer wrote:
>>> Today I compiled mapnik 0.7.2 from svn. First I noted that the default
>>> scons config.py for 0.7.2. lists
>>> for input only: postgis,raster,shape
>>> 
>>> I added gdal and ogr and recompiled.
>> 
>> Are you comparing this to trunk's default of enabling those?
> 
> 
> yes, I think so, but as far as I remember also in 0.7.1 they were
> enabled by default.
> 

No they were not. But config.py stores your preferences, so if you set them 
once, they would stay enabled.

>> The reason is simply a judgement call of mine that those plugins are mature 
>> enough in trunk to enable by default. But really it is up to the user what 
>> they wish to build.
>> 
>>> This went without obvious
>>> problems, but now I experience some strange effects: mapnik doesn't
>>> render some raster I overlay with screen and multiply (but does do
>>> this for another one I use, so maybe the problem is in the rules).
>> 
>> Hard to know unless you give examples and explain the problem in more 
>> detail. Are you comparing 0.7.2 to trunk or 0.7.1?
> 
> 
> to 0.7.1 and unmodified stylesheets for 0.7.1. I changed the machine,
> but the paths look OK and generate_xml.py does not throw an error. I
> will continue to investigate on this, maybe I did something wrong, but
> as 0.7.2 is a development version I thought that maybe some stuff
> would work and that you'd know about this.

Please create an example testcase.

> 
> 
>>> The other issue is that TextSymbolizer doesn't do text-transform="toupper".
>> Quite a bit changed between 0.7.x and trunk for that option. What is the 
>> error?
> 
> 
> It simply didn't transform them to uppercase.
> I changed the code to text_transform="uppercase" (I guess I should
> have used that right away, as the former is deprecated) but now I
> found that this part is not included anymore after I create a
> render.xml with generate_xml.py
> (but the rules are there, simply not all arguments/options are included).

Thanks, this was a subtle bug, fixed in http://trac.mapnik.org/changeset/3000

So, you can now do in 0.7.2. HEAD either:

text_convert="toupper" // mapnik 0.7.x syntax

or

text-transform="uppercase" // mapnik2 syntax

Dane

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

Reply via email to