Wow, I&#39;d like to set some metrics on that experience, It just doesn&#39;t make sense to me that 11 map draws is quicker then one, good to know though. <br><br>As for the tilecache layer, you can combine layers in your tilecache.cfg file forexample:<br>
<br>[basic]<br>type=WMS<br>url=<a href="http://labs.metacarta.com/wms/vmap0">http://labs.metacarta.com/wms/vmap0</a><br>extension=png<br><br>[mapserver_example]<br>type=MapServer<br>layers=countries,borders,poulated_places<br>
mapfile=/var/www/myMap.map<br><br>[wcs-wms]<br>type=WMS<br>url=<a href="http://atlas.2c1forest.org/cgi-bin/ms_wms">http://atlas.2c1forest.org/cgi-bin/ms_wms</a> <br>extension=png<br>layers=diff_scenario1,ten_km2_hexagon_planning_units_transition <br>
<br>This means that the tilecache layer &quot;wcs-wms&quot; is a wms request of two layers combined. The same goes for the mapserver example.<br><br>As for the base layer I do not think it is a requirement, however one map may need to be considered as a baselayer. <br>
and yes you would also create a separate map block for each request to a tilecache layer. <br><br>Hope this helps<br><br>Paul D. <br><br><br><div class="gmail_quote">On Thu, Dec 17, 2009 at 11:11 AM, Nolte, Tim <span dir="ltr">&lt;<a href="mailto:Tim.Nolte@ipcswirelessinc.com">Tim.Nolte@ipcswirelessinc.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Paul,<br>
<br>
Actually, the way I used to do things was to use just 1 map file, but<br>
this actually caused a performance problem. What I get by having 11 map<br>
images being drawn is a faster end user experience. If an end user<br>
decides to turn off a layer in one of the other maps then the entire map<br>
doesn&#39;t have to redraw with every change. Also the end user actually<br>
sees the web client doing something and not just waiting for a single<br>
map image to generate. I could probably combine the maps down a bit, but<br>
because the &quot;propagations&quot; layers were so time consuming to build they<br>
always had significant impact on the entire map generation. Also, some<br>
of my layers are Oracle Spatial layers which I&#39;ve been able to separate<br>
out and keep those costly connections for slowing the entire map<br>
generation process.<br>
<br>
Now here&#39;s my question concerning the implementation of the TileCache<br>
layer. Is it required that it be a Base Layer? Would it function<br>
properly in light of my AppDef by swapping out my &#39;propagations&#39; map<br>
with a TileCache map? Does the TileCache map only provide a single<br>
&#39;layer&#39;? Would I have to build a separate &quot;Map&quot; for each layer I have<br>
defined in my &#39;propagations&#39; mapfile? Thanks!<br>
<font color="#888888"><br>
- Tim<br>
</font><div class="im"><br>
<br>
-----Original Message-----<br>
From: <a href="mailto:pdescham49@gmail.com">pdescham49@gmail.com</a> [mailto:<a href="mailto:pdescham49@gmail.com">pdescham49@gmail.com</a>] On Behalf Of<br>
Paul Deschamps<br>
</div><div><div></div><div class="h5">Sent: Thursday, December 17, 2009 10:48 AM<br>
To: Paul Spencer<br>
Cc: Nolte, Tim; <a href="mailto:fusion-users@lists.osgeo.org">fusion-users@lists.osgeo.org</a><br>
Subject: Re: [fusion-users] Fusion + MapServer + TileCache<br>
<br>
Hi Tim.<br>
<br>
I&#39;ve setup a tilecache using the default &quot;basic&quot; layer as a test, our<br>
appdef is as follows:<br>
<br>
&lt;MapSet xsi:type=&quot;MapSetType&quot;&gt;<br>
    &lt;MapGroup id=&quot;mixed&quot; xsi:type=&quot;MapType&quot;&gt;<br>
        &lt;Map xsi:type=&quot;WMSLayerType&quot;&gt;<br>
            &lt;Type&gt;WMS&lt;/Type&gt;<br>
            &lt;Extension&gt;<br>
<br>
&lt;ResourceId&gt;<a href="http://192.168.2.105/cgi-bin/tilecache.cgi" target="_blank">http://192.168.2.105/cgi-bin/tilecache.cgi</a>&lt;/ResourceId&gt;<br>
                &lt;Options&gt;<br>
                    &lt;name&gt;test tilecache WMS&lt;/name&gt;<br>
                    &lt;isBaseLayer&gt;true&lt;/isBaseLayer&gt;<br>
                    &lt;singleTile&gt;false&lt;/singleTile&gt;<br>
                &lt;/Options&gt;<br>
                &lt;Parameters&gt;<br>
                    &lt;layers&gt;basic&lt;/layers&gt;<br>
                    &lt;transparent&gt;true&lt;/transparent&gt;<br>
                &lt;/Parameters&gt;<br>
            &lt;/Extension&gt;<br>
        &lt;/Map&gt;<br>
    &lt;/MapGroup&gt;<br>
&lt;/MapSet&gt;<br>
<br>
&lt;MapWidget xsi:type=&quot;WidgetType&quot;&gt;<br>
    &lt;Name&gt;Map&lt;/Name&gt;<br>
    &lt;Type&gt;Map&lt;/Type&gt;<br>
    &lt;StatusText&gt;The map.&lt;/StatusText&gt;<br>
    &lt;Extension xsi:type=&quot;CustomContentType&quot;&gt;<br>
        &lt;MenuContainer&gt;MapContextMenu&lt;/MenuContainer&gt;<br>
        &lt;FractionalZoom&gt;false&lt;/FractionalZoom&gt;<br>
    &lt;/Extension&gt;<br>
    &lt;MapId&gt;mixed&lt;/MapId&gt;<br>
&lt;/MapWidget&gt;<br>
<br>
Initially mike and I noticed that the tilecache requests were not using<br>
the correct scale. Mike later found that the issue was that the map was<br>
using a &quot;fractional zoom&quot; and once we added<br>
&quot;&lt;FractionalZoom&gt;false&lt;/FractionalZoom&gt;&quot; to the map widget it worked<br>
perfectly. Perhaps we should have a bug for this and check to see if the<br>
map has &lt;singleTile&gt;false&lt;/singleTile&gt; then automatically set fractional<br>
zoom to false.<br>
<br>
Now looking at your AppDef. I can see why you are looking at tilecache.<br>
I bet thats expensive to have fusion load 11 map files. Is there not any<br>
way you can have one map file with layer grouping? that would save you a<br>
ton of bandwidth and would improve map draw speed having only 1 request<br>
instead of 11.<br>
<br>
Remember though it is really only good to use tilecache on layers that<br>
do not change. Any dynamic data means the you&#39;ll have to clear the cache<br>
at the same interval that the data is updated.<br>
<br>
Cheers<br>
<br>
Paul.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On Wed, Dec 16, 2009 at 1:27 PM, Paul Spencer &lt;<a href="mailto:pspencer@dmsolutions.ca">pspencer@dmsolutions.ca</a>&gt;<br>
wrote:<br>
<br>
<br>
        okay Tim.  I&#39;m keen for us to make sure this works, so if you<br>
run into trouble please let us know.<br>
<br>
        Cheers<br>
<br>
        Paul<br>
<br>
<br>
        On 2009-12-16, at 12:02 PM, Nolte, Tim wrote:<br>
<br>
        &gt; I haven&#39;t even begun looking into it other than posing the<br>
question to the list. I wanted to know if anyone had issues or get a<br>
sense of what the limitations were/are without spending a lot of time to<br>
find that I wouldn&#39;t be able to accomplish what I was looking to do. I<br>
just sent an email with my AppDef and what I&#39;m looking to accomplish.<br>
        &gt;<br>
        &gt; - Tim<br>
        &gt;<br>
        &gt; ----<br>
        &gt; Timothy J Nolte - <a href="mailto:tnolte@ilpcs.com">tnolte@ilpcs.com</a><br>
        &gt; Network Planning Engineer<br>
        &gt;<br>
        &gt; Sprint Nextel<br>
        &gt; 4717 Broadmoor Ave, Suite G<br>
        &gt; Kentwood, MI 49512<br>
        &gt;<br>
        &gt; Office:  616-656-5163<br>
        &gt; PCS:     616-706-2438<br>
        &gt; Support: 616-929-0289<br>
        &gt; Fax:     616-554-6484<br>
        &gt;<br>
        &gt;<br>
        &gt; -----Original Message-----<br>
        &gt; From: <a href="mailto:pdescham49@gmail.com">pdescham49@gmail.com</a> [mailto:<a href="mailto:pdescham49@gmail.com">pdescham49@gmail.com</a>] On<br>
Behalf Of Paul Deschamps<br>
        &gt; Sent: Wednesday, December 16, 2009 11:58 AM<br>
        &gt; To: Nolte, Tim<br>
        &gt; Cc: <a href="mailto:fusion-users@lists.osgeo.org">fusion-users@lists.osgeo.org</a><br>
        &gt; Subject: Re: [fusion-users] Fusion + MapServer + TileCache<br>
        &gt;<br>
        &gt; Hi Tim.<br>
        &gt;<br>
        &gt; I personally have not yet written an application that uses<br>
tile cache, though I am told it does work. I am going to spend some time<br>
today with fusion trunk and see what i need to do to get it up and<br>
running. I&#39;ll pass along my findings to the list.<br>
        &gt;<br>
        &gt; Have you had any successes with this thus far?<br>
        &gt;<br>
        &gt; Paul D.<br>
        &gt;<br>
        &gt;<br>
        &gt;<br>
        &gt;<br>
        &gt; On Wed, Dec 16, 2009 at 11:23 AM, Nolte, Tim<br>
&lt;<a href="mailto:Tim.Nolte@ipcswirelessinc.com">Tim.Nolte@ipcswirelessinc.com</a>&gt; wrote:<br>
        &gt;<br>
        &gt;<br>
        &gt;       Has anyone successfully used TileCache with Fusion,<br>
along with MapServer?<br>
        &gt;<br>
        &gt;       - Tim<br>
        &gt;<br>
        &gt;       ----<br>
        &gt;       Timothy J Nolte - <a href="mailto:tnolte@ilpcs.com">tnolte@ilpcs.com</a><br>
        &gt;       Network Planning Engineer<br>
        &gt;<br>
        &gt;       Sprint Nextel<br>
        &gt;       4717 Broadmoor Ave, Suite G<br>
        &gt;       Kentwood, MI 49512<br>
        &gt;<br>
        &gt;       Office:  616-656-5163<br>
        &gt;       PCS:     616-706-2438<br>
        &gt;       Support: 616-929-0289<br>
        &gt;       Fax:     616-554-6484<br>
        &gt;<br>
        &gt;       _______________________________________________<br>
        &gt;       fusion-users mailing list<br>
        &gt;       <a href="mailto:fusion-users@lists.osgeo.org">fusion-users@lists.osgeo.org</a><br>
        &gt;       <a href="http://lists.osgeo.org/mailman/listinfo/fusion-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/fusion-users</a><br>
        &gt;<br>
        &gt;<br>
        &gt;<br>
        &gt;<br>
        &gt;<br>
        &gt;<br>
        &gt; --<br>
        &gt;   Paul Deschamps<br>
        &gt;   Applications Specialist<br>
        &gt;   DM Solutions Group Inc.<br>
        &gt;<br>
        &gt;   Office: (613) 565-5056 x28<br>
        &gt;   <a href="mailto:pdeschamps@dmsolutions.ca">pdeschamps@dmsolutions.ca</a><br>
        &gt;   <a href="http://www.dmsolutions.ca" target="_blank">http://www.dmsolutions.ca</a><br>
        &gt;   <a href="http://research.dmsolutions.ca" target="_blank">http://research.dmsolutions.ca</a><br>
        &gt;<br>
        &gt;<br>
        &gt;<br>
        &gt; _______________________________________________<br>
        &gt; fusion-users mailing list<br>
        &gt; <a href="mailto:fusion-users@lists.osgeo.org">fusion-users@lists.osgeo.org</a><br>
        &gt; <a href="http://lists.osgeo.org/mailman/listinfo/fusion-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/fusion-users</a><br>
<br>
<br>
        __________________________________________<br>
<br>
<br>
          Paul Spencer<br>
          Chief Technology Officer<br>
          DM Solutions Group Inc<br>
          <a href="http://research.dmsolutions.ca/" target="_blank">http://research.dmsolutions.ca/</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
   Paul Deschamps<br>
   Applications Specialist<br>
   DM Solutions Group Inc.<br>
<br>
   Office: (613) 565-5056 x28<br>
   <a href="mailto:pdeschamps@dmsolutions.ca">pdeschamps@dmsolutions.ca</a><br>
   <a href="http://www.dmsolutions.ca" target="_blank">http://www.dmsolutions.ca</a><br>
   <a href="http://research.dmsolutions.ca" target="_blank">http://research.dmsolutions.ca</a><br>
<br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>    Paul Deschamps<br>    Applications Specialist<br>    DM Solutions Group Inc.<br><br>    Office: (613) 565-5056 x28<br>    <a href="mailto:pdeschamps@dmsolutions.ca">pdeschamps@dmsolutions.ca</a><br>
    <a href="http://www.dmsolutions.ca">http://www.dmsolutions.ca</a><br>    <a href="http://research.dmsolutions.ca">http://research.dmsolutions.ca</a><br>    <br><br>