I can regularily crash mapnik if I try to label a point geometric with a 
TextSymbolizer using line placement (which is very easy to do with an 
ElseFilter).  It actually dies with a boost exception.  However, I can't 
get the actually boost exception message, I just get:
std::bad_alloc "St9bad_alloc"
which google tells me many people get without a easy solution to get the 
correct error messge, so I am not quite sure where the problem actually is.

I suppose a simple change would be to src/agg_renderer.cpp at line 707 to:
if (sym.get_label_placement() == POINT_PLACEMENT || geom.num_points() == 1)

which seems to have fixed the problem in my testing.

- B

-- 
Brian Peschel


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

Reply via email to