[mapserver-users] WMS and tiles cutting off

Adam Eskreis aeskreis at gmail.com
Thu Apr 29 01:27:22 EDT 2010


Hi all I am having a problem with WMS.  I am using OpenLayers as my
rendering engine.  Basically I am already aware of the fact that when you
have a feature that is a point geometry, if the label/symbol spans multiple
tiles, it will not render on the tile that the point is not located on.  I
was able to get this working in single tile mode, but it just isn't
efficient enough, and the map lags at each pan. I am just wondering if
anyone has tackled and solved this issue before, or if this is one of those
issues that remains a mystery.  Any help would be greatly apreciated.

One last thing, here is my WMS request details:

BBOX991230.11986447,215212.28608623,991771.98623853,215754.15246029
CATEGORIES
338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363
,364,365,366,367,368,369,370,371,372,373,374,375,376,401,377,378,379,380,381,382,383,385,386,387,388
,402,389,390,391,392,393,394,395,396,397,398,399,400,384EXCEPTIONS
application/vnd.ogc.se_inimageFORMATimage/png; mode=24bitHEIGHT256LAYERS
thelayerREQUESTGetMapSERVICEWMSSRSEPSG:2959STYLES
TRANSPARENTTRUEVERSION1.1.1WIDTH256map
/var/www/htdocs/mapfiles/e72b402fa0b6eb81dd2ee218611879c6.map

And for those familiar with OpenLayers, this is my openlayers object:

var thelayer = new OpenLayers.Layer.WMS("Logos",
             "/cgi-bin/mapserv?map=/var/www/htdocs/mapfiles/<?php echo
session_id() ?>.map",
                 { format: 'image/png; mode=24bit', layers:'thelayer',
transparent:'TRUE', categories:'<?php echo $all_cats ?>'},
                 { isBaseLayer:false}
            );
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100429/68c1a67d/attachment.html


More information about the mapserver-users mailing list