Ok, I just gave an untiled layer a try, unfortunately though, due to the large amount of symbols being displayed on the screen, there is about a 2 second delay every time the map is panned. My client will most certainly find this unacceptable. I have tried using smaller images, but I cannot sacrifice any more quality. I believe my database query to be as optimized as it can be (has about 50 ms runtime, I honestly don't think I can get it any lower than that).<br>
<br>If these are the only options, is there something else besides WMS that you all would recommend using to solve this issue?<br><br>Thanks,<br>-Adam<br><br><div class="gmail_quote">On Thu, Apr 29, 2010 at 2:54 PM, Lime, Steve D (DNR) <span dir="ltr"><<a href="mailto:Steve.Lime@state.mn.us">Steve.Lime@state.mn.us</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">So use two layers. One for the background, use tilecache for that. Then use an untiled wms/mapserver layer for the overlayed points. - Steve<br>
________________________________________<br>
From: <a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a> [<a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a>] On Behalf Of Adam Eskreis [<a href="mailto:aeskreis@gmail.com">aeskreis@gmail.com</a>]<br>
Sent: Thursday, April 29, 2010 1:24 PM<br>
To: <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
Subject: Re: [mapserver-users] Re: WMS and tiles cutting off<br>
<div class="im"><br>
I have thought about using tilecache with metatiling, however there is a caveat about this map that i forgot to mention in my main post, and it has to do with that "categories" parameter. Basically, each point/symbol on the map has an associated category in the database backend. I am using mapserver/WMS parameters to change the categories which are called. Each time the user selects a category, only the points in that category are shown. My query in the mapfile looks something like thi:<br>
<br>
SELECT point_geom,gid,symbol,angle FROM mapdata WHERE category IN(%CATEGORIES%)";<br>
<br>
And each time the user changes the categories, I use openlayers to merge new parameters, and input the new category values that should be used. Is tilecache still useable if I have a system like this set up?<br>
<br>
Thanks,<br>
-Adam<br>
<br>
<br>
</div><div class="im">On Thu, Apr 29, 2010 at 6:14 AM, kaipi <<a href="mailto:mapcollect@gmx.net">mapcollect@gmx.net</a><mailto:<a href="mailto:mapcollect@gmx.net">mapcollect@gmx.net</a>>> wrote:<br>
<br>
Hi,<br>
<br>
you can use <a href="http://tilecache.org/" target="_blank">http://tilecache.org/</a> Tilecache with the option metatiling<br>
enabled. With metatiling enabled Tilecache will fetch larger tiles (eg.<br>
4096x4096) from Mapserver and will cut them into smaller tiles (eg.<br>
256x256). It will also increase performance because Mapserver does not need<br>
to render tiles when they are already in cache.<br>
<br>
kaipi<br>
--<br>
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/WMS-and-tiles-cutting-off-tp4978418p4979280.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/WMS-and-tiles-cutting-off-tp4978418p4979280.html</a><br>
Sent from the Mapserver - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
mapserver-users mailing list<br>
</div><a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><mailto:<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>><br>
<div><div></div><div class="h5"><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br>
</div></div></blockquote></div><br>