2009/12/6 Michal Migurski <[email protected]>:
> 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?
>
>
> Yes, you can put an awful lot of complicated SQL into the "table"
> parameter. Here's one we used not long ago: http://dpaste.com/129815/

Thanks for that. It may take me some time with an SQL reference and
PostGIS docs to pick that apart, but it looks like I may be in the
right direction. If I get something that works, I may post back.

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

Reply via email to