Great, thanks for the follow through Pablo. Good stuff.

I see you updated http://trac.mapnik.org/ticket/678 as well with the images. 
Can you also attach your patch?

Dane

On Dec 23, 2010, at 5:33 AM, Pablo Carreira wrote:

> Hi,
> 
> After a nice time looking at mapnik's code,  I managed to totally disable 
> collision detection for line_placed labels.
> Since I don't know nothing about C++, I made it in a "ugly" way changing the 
> label_collision_detector.hpp making has_placement aways return true. 
> Maybe it could become an option in the future.
> More details in tiket #678.
> 
> Look at the before and after images. It's a another steep heading toward nice 
> 'on-the-fly' typographic maps made from OSM data. lol
> 
> 
> Regards,
> 
> Pablo Torres Carreira 
> 
> 
> 
> From: [email protected]
> CC: [email protected]
> Subject: RE: [Mapnik-users] TextSymbolizer allow labels to overlap
> Date: Mon, 20 Dec 2010 09:20:31 -0200
> 
> Hi Dane,
> 
> >So, sounds like you are doing all that you can - could you please comment 
> >further on the original ticket you created with some sample data/xml?
> 
> 
> I'm running mores test here and soon I will provide more information.
> 
> 
> Regards,
> 
> Pablo.
> 
> 
> 
> 
> 
> On Dec 17, 2010, at 1:46 PM, Pablo Carreira wrote:
> 
> Hi Lennard,
> 
> > 
> > > Is there any way (even if it's dirty) to disable collisionsdetections or
> > > anything like that so the line_placed labels could overlap each other in
> > > the same layer?
> > 
> > Use allow_overlap="yes" with TextSymbolizer.
> 
> Both
> allow_overlap="yes"
> 
> and in the layer level
> clear_label_cache="on" 
> 
> But I still don't get the desired effect.
> 
> 
> Pablo.
> 
> 
> 
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users
> 
> <before.jpg><after.jpg>_______________________________________________
> 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