[fusion-users] Fusion + MapServer + TileCache

Paul Deschamps pdeschamps at dmsolutions.ca
Thu Dec 17 10:48:15 EST 2009


Hi Tim.

I've setup a tilecache using the default "basic" layer as a test, our appdef
is as follows:

<MapSet xsi:type="MapSetType">
    <MapGroup id="mixed" xsi:type="MapType">
        <Map xsi:type="WMSLayerType">
            <Type>WMS</Type>
            <Extension>
                <ResourceId>http://192.168.2.105/cgi-bin/tilecache.cgi
</ResourceId>
                <Options>
                    <name>test tilecache WMS</name>
                    <isBaseLayer>true</isBaseLayer>
                    <singleTile>false</singleTile>
                </Options>
                <Parameters>
                    <layers>basic</layers>
                    <transparent>true</transparent>
                </Parameters>
            </Extension>
        </Map>
    </MapGroup>
</MapSet>

<MapWidget xsi:type="WidgetType">
    <Name>Map</Name>
    <Type>Map</Type>
    <StatusText>The map.</StatusText>
    <Extension xsi:type="CustomContentType">
        <MenuContainer>MapContextMenu</MenuContainer>
        <FractionalZoom>false</FractionalZoom>
    </Extension>
    <MapId>mixed</MapId>
</MapWidget>

Initially mike and I noticed that the tilecache requests were not using the
correct scale. Mike later found that the issue was that the map was using a
"fractional zoom" and once we added "<FractionalZoom>false</FractionalZoom>"
to the map widget it worked perfectly. Perhaps we should have a bug for this
and check to see if the map has <singleTile>false</singleTile> then
automatically set fractional zoom to false.

Now looking at your AppDef. I can see why you are looking at tilecache. I
bet thats expensive to have fusion load 11 map files. Is there not any way
you can have one map file with layer grouping? that would save you a ton of
bandwidth and would improve map draw speed having only 1 request instead of
11.

Remember though it is really only good to use tilecache on layers that do
not change. Any dynamic data means the you'll have to clear the cache at the
same interval that the data is updated.

Cheers

Paul.






On Wed, Dec 16, 2009 at 1:27 PM, Paul Spencer <pspencer at dmsolutions.ca>wrote:

> okay Tim.  I'm keen for us to make sure this works, so if you run into
> trouble please let us know.
>
> Cheers
>
> Paul
>
> On 2009-12-16, at 12:02 PM, Nolte, Tim wrote:
>
> > I haven't even begun looking into it other than posing the question to
> the list. I wanted to know if anyone had issues or get a sense of what the
> limitations were/are without spending a lot of time to find that I wouldn't
> be able to accomplish what I was looking to do. I just sent an email with my
> AppDef and what I'm looking to accomplish.
> >
> > - Tim
> >
> > ----
> > Timothy J Nolte - tnolte at ilpcs.com
> > Network Planning Engineer
> >
> > Sprint Nextel
> > 4717 Broadmoor Ave, Suite G
> > Kentwood, MI 49512
> >
> > Office:  616-656-5163
> > PCS:     616-706-2438
> > Support: 616-929-0289
> > Fax:     616-554-6484
> >
> >
> > -----Original Message-----
> > From: pdescham49 at gmail.com [mailto:pdescham49 at gmail.com] On Behalf Of
> Paul Deschamps
> > Sent: Wednesday, December 16, 2009 11:58 AM
> > To: Nolte, Tim
> > Cc: fusion-users at lists.osgeo.org
> > Subject: Re: [fusion-users] Fusion + MapServer + TileCache
> >
> > Hi Tim.
> >
> > I personally have not yet written an application that uses tile cache,
> though I am told it does work. I am going to spend some time today with
> fusion trunk and see what i need to do to get it up and running. I'll pass
> along my findings to the list.
> >
> > Have you had any successes with this thus far?
> >
> > Paul D.
> >
> >
> >
> >
> > On Wed, Dec 16, 2009 at 11:23 AM, Nolte, Tim <
> Tim.Nolte at ipcswirelessinc.com> wrote:
> >
> >
> >       Has anyone successfully used TileCache with Fusion, along with
> MapServer?
> >
> >       - Tim
> >
> >       ----
> >       Timothy J Nolte - tnolte at ilpcs.com
> >       Network Planning Engineer
> >
> >       Sprint Nextel
> >       4717 Broadmoor Ave, Suite G
> >       Kentwood, MI 49512
> >
> >       Office:  616-656-5163
> >       PCS:     616-706-2438
> >       Support: 616-929-0289
> >       Fax:     616-554-6484
> >
> >       _______________________________________________
> >       fusion-users mailing list
> >       fusion-users at lists.osgeo.org
> >       http://lists.osgeo.org/mailman/listinfo/fusion-users
> >
> >
> >
> >
> >
> >
> > --
> >   Paul Deschamps
> >   Applications Specialist
> >   DM Solutions Group Inc.
> >
> >   Office: (613) 565-5056 x28
> >   pdeschamps at dmsolutions.ca
> >   http://www.dmsolutions.ca
> >   http://research.dmsolutions.ca
> >
> >
> >
> > _______________________________________________
> > fusion-users mailing list
> > fusion-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/fusion-users
>
>
> __________________________________________
>
>    Paul Spencer
>   Chief Technology Officer
>   DM Solutions Group Inc
>   http://research.dmsolutions.ca/
>
>


-- 
   Paul Deschamps
   Applications Specialist
   DM Solutions Group Inc.

   Office: (613) 565-5056 x28
   pdeschamps at dmsolutions.ca
   http://www.dmsolutions.ca
   http://research.dmsolutions.ca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fusion-users/attachments/20091217/46f60c2a/attachment.html


More information about the fusion-users mailing list