Simple question about MapGuide tiling

18 messages Options
Embed this post
Permalink
gingerbbm

Simple question about MapGuide tiling

Reply Threaded More More options
Print post
Permalink

Does Fusion support MapGuide tiling?

I have a map defined in MapGuide that has base layers (to be tiled) and
overlay layers. If I point a Fusion application at this can I expect it to
work as expected?

Or do I need two separate MapGuide maps (one for tiles, one for overlays)
and then somehow combine them?

Thanks in advance
Stuart
--
View this message in context: http://n2.nabble.com/Simple-question-about-MapGuide-tiling-tp1460396p1460396.html
Sent from the Fusion Users mailing list archive at Nabble.com.

_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
gingerbbm

Re: Simple question about MapGuide tiling

Reply Threaded More More options
Print post
Permalink

I've had a play with Fusion 1.1.

I've confirmed that it will tile base layers if necessary, but I don't see
how to combine tiles with overlays.

In ApplicationDefinition.xml I put two Map elements - one for overlays, one
for tiles. I have since experimented with various combinations of maps, but
to no avail: I cannot make a Fusion map that contains tiles and overlays.

Is this possible, and if so, how do I achieve it?

I hope you can help.

Thanks
Stuart
--
View this message in context: http://n2.nabble.com/Simple-question-about-MapGuide-tiling-tp1460396p1464649.html
Sent from the Fusion Users mailing list archive at Nabble.com.

_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
gingerbbm

Re: Simple question about MapGuide tiling

Reply Threaded More More options
Print post
Permalink

Right, well I found this thread:

http://n2.nabble.com/Fusion---Base-layers-questions...-td1303997.html

So again I need to find a workaround...
--
View this message in context: http://n2.nabble.com/Simple-question-about-MapGuide-tiling-tp1460396p1464938.html
Sent from the Fusion Users mailing list archive at Nabble.com.

_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
Andrew Parker-3

Re: Simple question about MapGuide tiling

Reply Threaded More More options
Print post
Permalink
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
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
Paul Spencer-2

Re: Simple question about MapGuide tiling

Reply Threaded More More options
Print post
Permalink
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
> [hidden email]
> 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
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
Paul Spencer-2

Re: Simple question about MapGuide tiling

Reply Threaded More More options
Print post
Permalink
In reply to this post by gingerbbm
Stuart,

we don't think this will work directly in 1.1.  Because OpenLayers is  
part of all this, you can pretty much do what you want if you can find  
the right objects.

You can create any OpenLayers layer and add it to the map if you do  
something like this:

var layer = new OpenLayers.Layer.MapGuide( /* your options */ );
var olMap = Fusion.getMapById(0).oMapOL;
olMap.addLayer(layer);

When we get 2.0 done, this will be much simpler and multiple Map  
elements in the AppDef will be supported directly.

Cheers

Paul

On 6-Nov-08, at 9:04 AM, 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...
> --
> View this message in context: http://n2.nabble.com/Simple-question-about-MapGuide-tiling-tp1460396p1464938.html
> Sent from the Fusion Users mailing list archive at Nabble.com.
>
> _______________________________________________
> fusion-users mailing list
> [hidden email]
> 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
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
Jason Birch

RE: Simple question about MapGuide tiling

Reply Threaded More More options
Print post
Permalink
In reply to this post by Paul Spencer-2
Paul,

What's your thought on Andrew's need for base layers to be mutually
exclusive (change from a check-box to a radio button)?

This is similar to the functionality in Google Maps, I think it's the
default behaviour for OpenLayers, and it's what I would want to do for
my maps as well.  I thought I had written something about this in a
ticket, but I can't find it now...

While I could see this being part of the legend, with a separate Base
Layers group at the bottom, some users may want to have only the dynamic
layers in the legend with base layers being toggled with a different
visual element similar to Google Maps'.

Jason

-----Original Message-----
From: Paul Spencer
Sent: Thursday, November 06, 2008 06:48
Subject: Re: [fusion-users] Simple question about MapGuide tiling

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.

On 6-Nov-08, at 9:34 AM, Andrew Parker wrote:

> .  And change my "Base Map" group in the Legend from checkboxes  
> (overlay) to radio buttons (basemap).
_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
gingerbbm

Re: Simple question about MapGuide tiling

Reply Threaded More More options
Print post
Permalink
In reply to this post by Paul Spencer-2

Thanks for your response Paul.

I'm trying your idea now but having a few technical difficulties. Will the
layers I add be picked up in the layer switcher I wonder...
--
View this message in context: http://n2.nabble.com/Simple-question-about-MapGuide-tiling-tp1460396p1465755.html
Sent from the Fusion Users mailing list archive at Nabble.com.

_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
Paul Spencer-2

Re: Simple question about MapGuide tiling

Reply Threaded More More options
Print post
Permalink
no, they won't :(

-----Original Message-----
From: "gingerbbm" <[hidden email]>
Sent: Thursday, November 6, 2008 12:05pm
To: [hidden email]
Subject: Re: [fusion-users] Simple question about MapGuide tiling


Thanks for your response Paul.

I'm trying your idea now but having a few technical difficulties. Will the
layers I add be picked up in the layer switcher I wonder...
--
View this message in context: http://n2.nabble.com/Simple-question-about-MapGuide-tiling-tp1460396p1465755.html
Sent from the Fusion Users mailing list archive at Nabble.com.

_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users

_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
gingerbbm

Re: Simple question about MapGuide tiling

Reply Threaded More More options
Print post
Permalink

I might as well give up on that then.

It's a real shame. All this great software exists (MapGuide; Fusion;
OpenLayers), is freely available, and is lovingly and brilliantly supported
by the community but everything I've tried to do with it has ultimately been
thwarted.

I need a tiled base map with up to twenty switchable overlay layers, with
tooltips working on points, lines and polygons. On top of that the ability
to digitize a line, point or poly temporarily.

I can have all of that with OpenLayers - except for the tooltips because
MapGuide WMS doesn't work fully.
I can have all of that with Fusion - except for the tiled base map because I
can't combine different layer types.
I can have all of that with the Ajax viewer - except that the interface is
then restricted to frame hell.

</rant>

I do appreciate your continued help.

Thanks
Stuart
--
View this message in context: http://n2.nabble.com/Simple-question-about-MapGuide-tiling-tp1460396p1466052.html
Sent from the Fusion Users mailing list archive at Nabble.com.

_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
Paul Spencer-2

Re: Simple question about MapGuide tiling

Reply Threaded More More options
Print post
Permalink
sorry this is so frustrating, Stuart. 

<responseToRant>
While Open Source can have many benefits, one of the drawbacks is that features depend on what the developers' use cases are (or what they are funded to add).  This is not always the same as the community at large, and when the project gets freely shared as Open Source, there are often use cases that get neglected because no one implements them.

The main Fusion developers are all from DM Solutions Group and we just didn't have a need to implement things in the way you would like to use them.  We do listen to feedback from the community and try to allocate some time to working on things that are outside what we strictly need for our own needs and the result is that we are working on making something like your use case work for the next version.

The flip side to that is that you have an opportunity to become involved and make things work the way you would like them too :)
</responseToRant>

So some other ideas
 - you could create an OpenLayers LayerSwitcher control and use it instead of the legend widget.
 - you could look at how the Legend widget is implemented and modify it to display the other layers, or write your own custom code.

Cheers

Paul

-----Original Message-----
From: "gingerbbm" <[hidden email]>
Sent: Thursday, November 6, 2008 12:53pm
To: [hidden email]
Subject: Re: [fusion-users] Simple question about MapGuide tiling


I might as well give up on that then.

It's a real shame. All this great software exists (MapGuide; Fusion;
OpenLayers), is freely available, and is lovingly and brilliantly supported
by the community but everything I've tried to do with it has ultimately been
thwarted.

I need a tiled base map with up to twenty switchable overlay layers, with
tooltips working on points, lines and polygons. On top of that the ability
to digitize a line, point or poly temporarily.

I can have all of that with OpenLayers - except for the tooltips because
MapGuide WMS doesn't work fully.
I can have all of that with Fusion - except for the tiled base map because I
can't combine different layer types.
I can have all of that with the Ajax viewer - except that the interface is
then restricted to frame hell.



I do appreciate your continued help.

Thanks
Stuart
--
View this message in context: http://n2.nabble.com/Simple-question-about-MapGuide-tiling-tp1460396p1466052.html
Sent from the Fusion Users mailing list archive at Nabble.com.

_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users

_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
percy-2

Re: Simple question about MapGuide tiling

Reply Threaded More More options
Print post
Permalink
In reply to this post by gingerbbm
why not just use mapserver with openlayers?
it supports WMS properly....

gingerbbm wrote:

> I might as well give up on that then.
>
> It's a real shame. All this great software exists (MapGuide; Fusion;
> OpenLayers), is freely available, and is lovingly and brilliantly supported
> by the community but everything I've tried to do with it has ultimately been
> thwarted.
>
> I need a tiled base map with up to twenty switchable overlay layers, with
> tooltips working on points, lines and polygons. On top of that the ability
> to digitize a line, point or poly temporarily.
>
> I can have all of that with OpenLayers - except for the tooltips because
> MapGuide WMS doesn't work fully.
> I can have all of that with Fusion - except for the tiled base map because I
> can't combine different layer types.
> I can have all of that with the Ajax viewer - except that the interface is
> then restricted to frame hell.
>
> </rant>
>
> I do appreciate your continued help.
>
> Thanks
> Stuart

--
David Percy
Geospatial Data Manager
Geology Department
Portland State University
http://gisgeek.pdx.edu
503-725-3373
_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
Andrew Parker-3

Tiling and <SingleTile>

Reply Threaded More More options
Print post
Permalink
In reply to this post by Paul Spencer-2
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", 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
>> [hidden email]
>> 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
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
Andrew Parker-3

Re: Simple question about MapGuide tiling

Reply Threaded More More options
Print post
Permalink
In reply to this post by gingerbbm
Stuart:

I share your frustration about open web mapping and I have been
struggling with open source for a little over a year; but I am
determined to learn and eventually contribute.

In addition, I have been trying to figure out which open source
application to use for my master thesis.  As part of my thesis, I will
be putting together a howto.  The howto will cover installing Linux to
getting a basic web map up and running.

I have found that all applications have their limitations.  I have tried
Chameleon and OpenLayers.  Played around a little with MapFish and
Fusion.  I have settled on Fusion because:

1.  The lists appeared very friendly.
2.  I liked the template layout as it appeared that I can modify the
toolbar and layout fairly easily (I have no programming background and
trying to modfiy the MapFish layout in the examples and getting the
MapFish server working looked problematic).

The limitations of tiling and base layers selection is a major concern
of mine.  But if the developers can get tiling working in a few weeks,
it will work for me.  If I need a special functionality, I am willing to
contribute funds or hire a developer to make it happen.  I rather pay
the developers directly than support proprietary solutions.

I hope you find a solution soon.

~ Andrew




gingerbbm wrote:

> I might as well give up on that then.
>
> It's a real shame. All this great software exists (MapGuide; Fusion;
> OpenLayers), is freely available, and is lovingly and brilliantly supported
> by the community but everything I've tried to do with it has ultimately been
> thwarted.
>
> I need a tiled base map with up to twenty switchable overlay layers, with
> tooltips working on points, lines and polygons. On top of that the ability
> to digitize a line, point or poly temporarily.
>
> I can have all of that with OpenLayers - except for the tooltips because
> MapGuide WMS doesn't work fully.
> I can have all of that with Fusion - except for the tiled base map because I
> can't combine different layer types.
> I can have all of that with the Ajax viewer - except that the interface is
> then restricted to frame hell.
>
> </rant>
>
> I do appreciate your continued help.
>
> Thanks
> Stuart
>  

_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
Andrew Parker-3

Re: Simple question about MapGuide tiling

Reply Threaded More More options
Print post
Permalink
In reply to this post by Jason Birch
Jason:

FYI:  I was able to get radio buttons and check boxes to work in MapFish
as shown here:  http://216.93.173.156/MFtest/

~andrew




Jason Birch wrote:

> Paul,
>
> What's your thought on Andrew's need for base layers to be mutually
> exclusive (change from a check-box to a radio button)?
>
> This is similar to the functionality in Google Maps, I think it's the
> default behaviour for OpenLayers, and it's what I would want to do for
> my maps as well.  I thought I had written something about this in a
> ticket, but I can't find it now...
>
> While I could see this being part of the legend, with a separate Base
> Layers group at the bottom, some users may want to have only the dynamic
> layers in the legend with base layers being toggled with a different
> visual element similar to Google Maps'.
>
> Jason
>
> -----Original Message-----
> From: Paul Spencer
> Sent: Thursday, November 06, 2008 06:48
> Subject: Re: [fusion-users] Simple question about MapGuide tiling
>
> 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.
>
> On 6-Nov-08, at 9:34 AM, Andrew Parker wrote:
>
>  
>> .  And change my "Base Map" group in the Legend from checkboxes  
>> (overlay) to radio buttons (basemap).
>>    
_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
gingerbbm

Re: Simple question about MapGuide tiling

Reply Threaded More More options
Print post
Permalink

Forgive yesterday's emotional outburst, and please be assured that I direct
no grievances with the folks who've created all these great tools.

I'd like to be involved in expanding the open source tools but - and I'm
sure it's the same with everyone - time is precious. Of course as my
employer is taking from the open source community then it's fair to say that
it should give something back, too, and I'll take this up with my
management.



> why not just use mapserver with openlayers?
> it supports WMS properly....
>


The main reason is this: I've spent too much time familiarising myself with
MapGuide and the Ajax viewer and Fusion and OpenLayers. Right now I simply
don't have the energy to figure out a whole new system. In an ideal world
etc.

Cheers
Stuart
--
View this message in context: http://n2.nabble.com/Simple-question-about-MapGuide-tiling-tp1460396p1469517.html
Sent from the Fusion Users mailing list archive at Nabble.com.

_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
Paul Deschamps

Re: Tiling and <SingleTile>

Reply Threaded More More options
Print post
Permalink
In reply to this post by Andrew Parker-3
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

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 <[hidden email]> 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", 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
[hidden email]
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
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users



--
   Paul Deschamps
   Applications Specialist
   DM Solutions Group Inc.

   Office: (613) 565-5056 x28
   [hidden email]
   http://www.dmsolutions.ca
   http://research.dmsolutions.ca
   


_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
Andrew Parker-3

Re: Tiling and <SingleTile>

Reply Threaded More More options
Print post
Permalink
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 <[hidden email]
> <mailto:[hidden email]>> 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
>             [hidden email]
>             <mailto:[hidden email]>
>             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
>     [hidden email] <mailto:[hidden email]>
>     http://lists.osgeo.org/mailman/listinfo/fusion-users
>
>
>
>
> --
>    Paul Deschamps
>    Applications Specialist
>    DM Solutions Group Inc.
>
>    Office: (613) 565-5056 x28
>    [hidden email] <mailto:[hidden email]>
>    http://www.dmsolutions.ca
>    http://research.dmsolutions.ca
>    
>
_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users