This seems like a super-common problem - why not change the default to  
something higher?

-mike.

On Feb 2, 2009, at 9:12 AM, Christopher Schmidt wrote:

> On Mon, Feb 02, 2009 at 10:06:04AM -0700, Jamie Robertson wrote:
>> Hi List, I've been struggling with getting a few final bugs worked  
>> out of my
>> mapping project. I was having lots of problems with labels being  
>> truncated
>> on tile boundaries.  Then I added metaTile=True to my tilecache.cfg  
>> and
>> about 95% of the labeling issues were solved, not to mention tile  
>> requests
>> being handled about 5x faster! However, there are still a few  
>> labels being
>> chopped off at tile boundaries.
>>
>> two examples here:
>> *"Ander" should be "Anderson"* :
>> http://map.umt.edu/?zoom=4&lat=5194066.062&lon=272487.836&layers=BT
>> *road labels shouldn't be placed that closely, chopped* : (other  
>> road labels
>> on the map render correctly with correct spacing)
>> http://map.umt.edu/?zoom=4&lat=5194344.808&lon=272348.312&layers=BTT
>
> What is your TileCache metaBuffer set to? It should be set to  
> something
> like 256, rather than the default of 10.
>
> -- Chris
>
>> here are the two rules from my xml mapfile rendering the labels,
>> respectively:
>>        <Rule>
>>          <ElseFilter/>
>>          <MaxScaleDenominator>2150</MaxScaleDenominator>
>>          <MinScaleDenominator>1000</MinScaleDenominator>
>>          <TextSymbolizer name="nameCode" face_name="DejaVu Sans Book"
>> size="10" fill="#000" halo_radius="1"  placement="point"  
>> wrap_width="10"
>> allow_overlap="true" dy="-3"/>
>>        </Rule>
>>        <Rule>
>>      <ElseFilter/>
>>      <MaxScaleDenominator>2150</MaxScaleDenominator>
>>      <MinScaleDenominator>1000</MinScaleDenominator>
>>      <TextSymbolizer name="FENAME" face_name="DejaVu Sans Book"  
>> size="11"
>> fill="#000" halo_radius="1"  placement="line" spacing="600"
>> allow_overlap="false" avoid_edges="true" min_distance="1200"/>
>>        </Rule>
>>
>> Is there anything further i can do to keep this from happening,  
>> i've heard
>> about adding a "gutter", but havent seen an example of that being
>> implemented. Is this completely a tilecache issue or can i modify  
>> my xml to
>> solve this issue?
>>
>> My setup:
>> mapnik 0.5.1 / tilecache 2.04 / Openlayers 2.5 running on Ubuntu  
>> server 8.10
>> 64bit
>>
>> Thanks!
>> -Jamie Robertson
>
>> _______________________________________________
>> Mapnik-users mailing list
>> [email protected]
>> https://lists.berlios.de/mailman/listinfo/mapnik-users
>
>
> -- 
> Christopher Schmidt
> MetaCarta
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users
>

----------------------------------------------------------------
michal migurski- [email protected]
                  415.558.1610



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

Reply via email to