[fusion-users] Tiling and <SingleTile>

Andrew Parker andrew at source3.com
Fri Nov 7 21:25:58 EST 2008


Thanks Paul.

I had Firebug installed but was never quite sure how to use it.   The 
problem was in the mapfile.  I downsized the mapfile for testing 
purposes.  While debugging I came across some other errors.  I am not 
sure the process to bring them to the attention of the group or to 
submit a ticket?

But here is what I found out.

In the /fusion/template/mapserver/standard/index.html on line 131 reads
<img src="images/PoweredBy_MapServer.gif" width="137" height="18" 
border="0">

But the image in the image directory is PoweredBy_en.gif.

The other typo (invalid path) I found is in the TaskPane.js.  On lines 
49 through 52, the images is referenced as png.  But in the images 
folder, the images are gif.  For example,

        this.defHomeIcon = 'images/icon_home.png';
        this.defPrevTaskIcon = 'images/icon_back.png';
        this.defNextTaskIcon = 'images/icon_forward.png';
        this.defTaskListIcon = 'images/icon_tasks.png';

I am not quite sure the best way to fix this, whether to update the 
image files or the index.html and TaskPane.js.

And yes, I still need to update the tutorial of the missplaced "x" (this 
was discussed in an earlier post).  I am just finding it a little 
confusing how to edit the Wiki.  Eventually, I will take the extra extra 
(duplicate intended) time to figure it out.


Thanks again.

~ Andrew




Paul Deschamps wrote:
> Hi andrew.
>
> This message you are seeing in the status bar is related to a 500 
> error that is occurring in a legend graphic request
>
> http://pitrule.source3.com/fusion//MapServer/php/LegendIcon.php?mapname=Pit%20Rule%20Web%20GIS%20v.08.10&session=491457263740b&layername=Highways&classindex=0 
> <http://pitrule.source3.com/fusion//MapServer/php/LegendIcon.php?mapname=Pit%20Rule%20Web%20GIS%20v.08.10&session=491457263740b&layername=Highways&classindex=0>
>
> Check your apache logs and it may give you more information as to what 
> error legendIcon.php is throwing.
>
> If you do not have firebug I would suggest you install it. you can see 
> this error in the NET tab of firebug.
>
> Cheers
>
> Paul D.
>
>
> On Thu, Nov 6, 2008 at 9:44 PM, Andrew Parker <andrew at source3.com 
> <mailto:andrew at source3.com>> wrote:
>
>     Paul:
>
>     I tried a few days ago setting <SingleTile> true/false
>     </SingleTile> in the ApplicationDefinition.xml to "true" then to
>     "false".  Currently, I have it set to "false".
>
>     If you visit "http://pitrule.source3.com" you will notice that in
>     the status bar of FireFox it states "Transferring data from
>     pitrule.source3.com <http://pitrule.source3.com>", which does not
>     go away.  If I set <SingleTile> to "true" the Firefox status bar
>     states "Done" but the Firefox loading icon (upper right) continues
>     to turn.  Do I:
>
>     1. have a memory leak?
>     2. need to ask HostGIS to check if the server is getting hit hard
>     while the map is open?
>     3. not worry about it, it is just a bug?
>
>     Thanks.
>
>     ~Andrew
>
>
>
>     Paul Spencer wrote:
>
>         Hi Andrew,
>
>         you might be able to get it to tile your requests by adding
>         <singleTile>false</singleTile> to the <Map> or
>         <Map><Extension> tag in your application definition, but that
>         won't cache the tiles so it will be hard on the server.  Then
>         again, I haven't really tried doing this so the MapServer
>         stuff in Fusion may ignore singleTile.
>
>         We are adding support for all OpenLayers layer types soon and
>         then you can specify a WMS layer or TMS layer and point it to
>         a TileCache instance that uses MapServer to generate the map
>         tiles.  It should be in SVN in a week or two and be officially
>         supported in the 2.0 release that should be out before the end
>         of the year.
>
>         Cheers
>
>         Paul
>
>
>         On 6-Nov-08, at 9:34 AM, Andrew Parker wrote:
>
>             Stuart:
>
>             I do not have an answer for you.  But I am starting work
>             on a similar problem today and would like to have a
>             solution by next Wednesday.  Below is a brief description
>             of what I am trying to do.  FYI: I am not a developer so I
>             have no idea how to go about doing this; but I have a
>             programmer to turn to for help.
>
>             I am running Fusion for MapServer.  I have not installed
>             Mapguide OS.  I want to enable tiling for this site:
>              http://pitrule.source3.com.  And change my "Base Map"
>             group in the Legend from checkboxes (overlay) to radio
>             buttons (basemap).
>             All the threads I have seen talks about using MapGuide,
>             but I have not found any howto's or suggestions to
>             implement tiling for Fusion for MapServer.  I am clearly
>             not understanding something.
>
>             Lastly, when I figure out how to do this, I will be
>             creating a howto.  In addition, I will create a new topic
>             for my progress as I do not want to impose on your thread.
>
>             Good luck and if I see a solution for your issue I will
>             let you know.
>
>             ~  Andrew
>
>
>
>
>             gingerbbm wrote:
>
>                 Right, well I found this thread:
>
>                 http://n2.nabble.com/Fusion---Base-layers-questions...-td1303997.html
>
>                 So again I need to find a workaround...
>
>             _______________________________________________
>             fusion-users mailing list
>             fusion-users at lists.osgeo.org
>             <mailto: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/
>
>     _______________________________________________
>     fusion-users mailing list
>     fusion-users at lists.osgeo.org <mailto: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 <mailto:pdeschamps at dmsolutions.ca>
>    http://www.dmsolutions.ca
>    http://research.dmsolutions.ca
>    
>


More information about the fusion-users mailing list