Cairo and HaloRadius

View: New views
3 Messages — Rating Filter:   Alert me  

Cairo and HaloRadius

by ajayre :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm using the OSM stylesheet and switching from AGG to Cairo. I've
noticed that the halos generated by Cairo are smaller than the ones
generated by AGG.

For example if I increase the halo radius from 2 (used with AGG) to 6,
then I can get roughly the same effect from Cairo.

Is there a shortcut to doing this somewhere or do I have to manually
change all the HaloRadius fields in my XML file?

thanks, Andy

--
Andy
PGP Key ID: 0xDC1B5864
_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users

Re: Cairo and HaloRadius

by Dane Springmeyer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Andy,

I assume you are comparing halos between the AA AGG output and vector  
output of Cairo?

I've also noted an apparent difference in Halo size, but have not had  
time to develop a test case (one part of which would be comparing AGG  
png output to Cairo PNG output).

If you could prepare a simple test case and attach to a ticket I'll  
try to take a look at this in more detail.

I agree that manually changing radius values in your XML is not optimal.

Dane


On Sep 19, 2009, at 10:31 AM, Andrew Ayre wrote:

> I'm using the OSM stylesheet and switching from AGG to Cairo. I've
> noticed that the halos generated by Cairo are smaller than the ones
> generated by AGG.
>
> For example if I increase the halo radius from 2 (used with AGG) to 6,
> then I can get roughly the same effect from Cairo.
>
> Is there a shortcut to doing this somewhere or do I have to manually
> change all the HaloRadius fields in my XML file?
>
> thanks, Andy
>
> --
> Andy
> PGP Key ID: 0xDC1B5864
> _______________________________________________
> Mapnik-users mailing list
> Mapnik-users@...
> https://lists.berlios.de/mailman/listinfo/mapnik-users

_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users

Re: Cairo and HaloRadius

by ajayre :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'll try to create a simple example. I was comparing AGG PNG with Cairo
PNG, but I think the Cairo vector output has the same problem.

Andy

Dane Springmeyer wrote:

> Hi Andy,
>
> I assume you are comparing halos between the AA AGG output and vector
> output of Cairo?
>
> I've also noted an apparent difference in Halo size, but have not had
> time to develop a test case (one part of which would be comparing AGG
> png output to Cairo PNG output).
>
> If you could prepare a simple test case and attach to a ticket I'll try
> to take a look at this in more detail.
>
> I agree that manually changing radius values in your XML is not optimal.
>
> Dane
>
>
> On Sep 19, 2009, at 10:31 AM, Andrew Ayre wrote:
>
>> I'm using the OSM stylesheet and switching from AGG to Cairo. I've
>> noticed that the halos generated by Cairo are smaller than the ones
>> generated by AGG.
>>
>> For example if I increase the halo radius from 2 (used with AGG) to 6,
>> then I can get roughly the same effect from Cairo.
>>
>> Is there a shortcut to doing this somewhere or do I have to manually
>> change all the HaloRadius fields in my XML file?
>>
>> thanks, Andy
>>
>> --
>> Andy
>> PGP Key ID: 0xDC1B5864
>> _______________________________________________
>> Mapnik-users mailing list
>> Mapnik-users@...
>> https://lists.berlios.de/mailman/listinfo/mapnik-users
>
>
>

--
Andy
PGP Key ID: 0xDC1B5864
_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users