You could also try setting the 'min_distance' and 'spacing' parameters up around 100-200 for your TextSymbolizer.
Note, that if you are working from python these attributes are 'minimum_distance' and 'label_spacing'. Dane On Dec 5, 2009, at 5:11 PM, Philip Stubbs wrote: > Ok. Before I get too deep into sql I have thought of an alternative > solution. If I use point placment, many more labels appear. > Unfortunatly, it looks a mess. So, is it possible to ammend the layer > definition for the text layer to only pick up roads within a certain > length range? > > Looking at the postgis docs looks like there is an ST_Length function. > Can I use this in my layer definition? > > Thanks > > -- > Philip Stubbs > _______________________________________________ > 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

