[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Maposmatic-dev] [mapnik] Issue with long names

From: David MENTRE
Subject: Re: [Maposmatic-dev] [mapnik] Issue with long names
Date: Mon, 26 Mar 2012 12:53:35 +0200


2012/3/26 David MENTRE <address@hidden>:
> Like in case 1, we would like to split the long name over several
> lines. How can we do this with Mapnik2? Any pointer to relevant
> documentation and examples?

We are making some progress. We are now able to have smaller names
with following TextSymbolizer (using
placements="E,W,N,S,9,8,7,6,5,4,3,2,1") :

            <Filter>(([highway]=&apos;unclassified&apos;) or
            <TextSymbolizer fontset-name="book-fonts" size="9"
fill="rgb(255,0,0)" placement="line" vertical-alignment="auto"
halo-radius="1" wrap-character="\n" wrap-width="5" wrap-before="true"
line-spacing="9" spacing="300" max-char-angle-delta="40"
allow-overlap="true" horizontal-alignment="auto"

However, we are not able to obtain street name on several lines. Is
there a specific attribute of TextSymbolizer to set?

Best regards,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]