Hello,

I found a solution to my problem, Dane advised me to use metatiles but 
this is not efficient.

A solution is add a gutter parameter in layer option.

As my images have a size of 30pxl,  the gutter should be at least 30pxl.

This solution generates images larger but the tile is correct.

http://openlayers.org/dev/examples/gutter.html

Alex


Dane Springmeyer a écrit :
> Alex and I follow-up on this issue on IRC, but just for other's 
> benefit that may have run into this.
>
> Other than using metatiles like Jay recommended (which is great for 
> tilecache), in OpenLayers you can also use the singletile mode.
>
> It may not be ideal from a perfomance perspective but it is an easy 
> workaround:
>
> http://openlayers.org/dev/examples/notile.html
>
> Dane
>
>
> On Nov 6, 2008, at 9:04 AM, Alexandre GARRAUD wrote:
>
>> Hello,
>>
>> I have a problem with ogcserver and openlayer. Openlayer use tile mode
>> for wms layer. So many request are sent to the server. Ogcserver returns
>> only objects contained in the BBOX provided by OL and this is my
>> problem. I use an image of a circle for my objects and if i have an
>> object near the limit of a tile when a circle is present only one tile.
>> See image.png (I deliberately added the limits of tiles to see the
>> problem).
>>
>> How can I fix this problem ?
>>
>> Alex
>> <image.png>_______________________________________________
>> 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

Reply via email to