Polygon label repeated for each tile

المشرف العام

Administrator
طاقم الإدارة
I'm using the standalone GeoWebCache to serv tiles from a remote GeoServer. My problem is that the polygon label is added to each one of the tiles served, instead of only once in the polygon centroid.

I found a post which discusses the issue:
http://osgeo-org.1560.n6.nabble.com/polygon-label-repeated-for-each-tile-td4995203.html

The first repley mentuned a possible solution:

"All in all, I suggest to use a tile rendering engine (GeoWebCache, MapProxy, TileCache) anyway, instead of requesting small image from GeoServer and have the tile rendering engine do the tile slicing afterwards. You will have send fewer requests to GeoServer (1 large image instead of multiple small images), so this speeds up the overall tile cache creation time."

Problem is that I couldn't find how to do that by reffering to the GeoWebCache documentation, and the above mentuned post doesn't explain the way to implement that.

I also found a post with an answer that links to the GeoWebCache "Tiled" documentation, but my code allready uses all the necessary attributes and still the label shows up multiple times:

var Layer_1874 = new OpenLayers.Layer.WMS( 'Grundkort', '/wms10.ashx' , { format: 'image/png', srs: 'EPSG:25832', layers: 'ballerupkommune_grundkort_bk', tiled: true, tilesOrigin: '698804,6173460' } , { displayInLayerSwitcher: true, isBaseLayer: true, transitionEffect: 'resize', displayOutsideMaxExtent: true, visibility: false });Anyone has an idea?

Kind regards



أكثر...
 
أعلى