Hi Tim, <br><br>Welcome to the project. If your interested you can also download a live cd of MapGuide Open source. (<a href="http://mapguide.osgeo.org/node/127">http://mapguide.osgeo.org/node/127</a>) and run it in vmware. If your interested. It&#39;s a nice way to see how fusion works with both platforms and it will help to make sure that when you fix an issue on one platform that it doesn&#39;t expose an issue on the other so it&#39;s a good idea to have setup anyhow.<br>
<br>Cheers<br><br>Paul D (Not Paul S) :)<br><br><div class="gmail_quote">On Thu, Nov 5, 2009 at 4:33 PM, 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>
Excellent! Thank you very much. I&#39;ve making some good head way on the<br>
whole Legend issue, especially when using multiple maps within a map<br>
group. I&#39;m going to switch over to a single map in the map group and see<br>
what results I get also. I&#39;m happy to be able to submit changes to the<br>
MapServer side of the project. I hope that my work will help others that<br>
are already using MapServer adopt Fusion as their framework of choice.<br>
<div class="im"><br>
- Tim<br>
<br>
----<br>
Timothy J Nolte - <a href="mailto:tnolte@ilpcs.com">tnolte@ilpcs.com</a><br>
Network Planning Engineer<br>
<br>
iPCS Wireless, Inc.<br>
4717 Broadmoor Ave, Suite G<br>
Kentwood, MI 49512<br>
<br>
Office: 616-656-5163<br>
PCS:    616-706-2438<br>
Fax:    616-554-6484<br>
Web: <a href="http://www.ipcswirelessinc.com" target="_blank">www.ipcswirelessinc.com</a><br>
-----Original Message-----<br>
</div><div><div></div><div class="h5">From: Paul Spencer [mailto:<a href="mailto:pspencer@dmsolutions.ca">pspencer@dmsolutions.ca</a>]<br>
Sent: Thursday, November 05, 2009 3:46 PM<br>
To: Nolte, Tim<br>
Cc: <a href="mailto:fusion-users@lists.osgeo.org">fusion-users@lists.osgeo.org</a><br>
Subject: Re: [fusion-users] MapServer Legend Icons<br>
<br>
Hi Tim,<br>
<br>
the project is not dead but I don&#39;t know how many folks are using it<br>
right now.  I know that MapGuide is actively using it and the Autodesk<br>
team there is actively finding and fixing bugs related to the MapGuide<br>
support.  DM Solutions is also actively using and developing the<br>
framework and the MapServer support.<br>
<br>
I have added you as a committer, welcome aboard!<br>
<br>
Cheers<br>
<br>
Paul<br>
<br>
On 2009-11-05, at 3:03 PM, Nolte, Tim wrote:<br>
<br>
&gt; Is this forum and/or project dead? How many people are actually using<br>
&gt; this or developing for it?<br>
&gt;<br>
&gt; Well, on a good note I finally got a somewhat working solution by<br>
&gt; basically forgetting about trying to rely on $_SESSION and basically<br>
&gt; copied a bunch of the LoadMap code that sets up the Scale Ranges<br>
&gt; over to<br>
&gt; the LoadScaleRanges script. I also changed the script to also not rely<br>
&gt; on the $_SESSION to tell it what mapfile it is supposed to use and<br>
&gt; basically copied the code in LoadMap that sets up the SESSION based<br>
&gt; map.<br>
&gt; There is still the issue of the Legend being sorted backwards, the<br>
&gt; Legend icons not all updating properly when zooming in, as well as an<br>
&gt; issue with the map layers not being stacked in the right order. I&#39;m<br>
&gt; plugging away at this. It would be really nice if no one else is<br>
&gt; really<br>
&gt; working on MapServer specific development that I could start<br>
&gt; submitting<br>
&gt; to the SVN or somehow my changes could get approved to be taken into<br>
&gt; the<br>
&gt; project. I&#39;ll hate to have to use a diff utility every time there is<br>
&gt; an<br>
&gt; update and have to fix my code so that things still work. Thanks to<br>
&gt; anyone that is actually reading this, if there is anyone out there.<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; iPCS Wireless, Inc.<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; Fax:    616-554-6484<br>
&gt; Web: <a href="http://www.ipcswirelessinc.com" target="_blank">www.ipcswirelessinc.com</a><br>
&gt; -----Original Message-----<br>
&gt; From: <a href="mailto:fusion-users-bounces@lists.osgeo.org">fusion-users-bounces@lists.osgeo.org</a><br>
&gt; [mailto:<a href="mailto:fusion-users-bounces@lists.osgeo.org">fusion-users-bounces@lists.osgeo.org</a>] On Behalf Of Nolte, Tim<br>
&gt; Sent: Wednesday, November 04, 2009 4:08 PM<br>
&gt; To: Paul Spencer<br>
&gt; Cc: <a href="mailto:fusion-users@lists.osgeo.org">fusion-users@lists.osgeo.org</a><br>
&gt; Subject: RE: [fusion-users] MapServer Legend Icons<br>
&gt;<br>
&gt; Paul,<br>
&gt;<br>
&gt; I attempted this, however what I found was that the way the loading<br>
&gt; process happens it is not enough to just stick the scale ranges into<br>
&gt; the<br>
&gt; PHP $_SESSION. I&#39;m finding that all of the individual maps in many<br>
&gt; cases<br>
&gt; don&#39;t yet exist in the SESSION when the corresponding<br>
&gt; LoadScaleRanges is<br>
&gt; called. Do you have any thoughts on how Fusion could be changed to<br>
&gt; only<br>
&gt; call LoadScaleRanges 1 time after all of the LoadMap calls have<br>
&gt; finished? I think this could be the fix. The only other option I see<br>
&gt; is<br>
&gt; that the whole scale ranges creation process needs to be duplicated in<br>
&gt; LoadScaleRanges script. I&#39;m not sure but perhaps this functionality<br>
&gt; needs to be added to the Utilities script?<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; iPCS Wireless, Inc.<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; Fax:    616-554-6484<br>
&gt; Web: <a href="http://www.ipcswirelessinc.com" target="_blank">www.ipcswirelessinc.com</a><br>
&gt; -----Original Message-----<br>
&gt; From: <a href="mailto:fusion-users-bounces@lists.osgeo.org">fusion-users-bounces@lists.osgeo.org</a><br>
&gt; [mailto:<a href="mailto:fusion-users-bounces@lists.osgeo.org">fusion-users-bounces@lists.osgeo.org</a>] On Behalf Of Paul<br>
&gt; Spencer<br>
&gt; Sent: Monday, October 26, 2009 3:07 PM<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] MapServer Legend Icons<br>
&gt;<br>
&gt; Ohhhhh - light goes on - doh!  You have 6 maps in the same map group!<br>
&gt; This will need a bit of work :)  We need to modify the scale_ranges<br>
&gt; array in the session so that it is subdivided by map name.  LoadMap<br>
&gt; needs to set<br>
&gt;<br>
&gt; $_SESSION[&#39;scale_ranges&#39;][$mapName]<br>
&gt;<br>
&gt; and LoadScaleRanges needs to use the same thing when referencing it.<br>
&gt; Do you think you could make these changes and test?  If it works, I&#39;ll<br>
&gt; file the bug and commit.  If you don&#39;t want to try first, I can take a<br>
&gt; stab at it and commit but I&#39;m not really set up to test right now.<br>
&gt;<br>
&gt; Thanks Tim<br>
&gt;<br>
&gt; Paul<br>
&gt;<br>
&gt;<br>
&gt; On 2009-10-26, at 2:39 PM, Nolte, Tim wrote:<br>
&gt;<br>
&gt;&gt; What I am seeing with Firebug is that there are 6 calls to<br>
&gt;&gt; LoadMap.php,<br>
&gt;&gt; which are my 5 main maps and 1 overview map. After the 5th<br>
&gt;&gt; LoadMap.php<br>
&gt;&gt; call then the LoadScaleRanges.php calls begin, there are 5 calls. One<br>
&gt;&gt; thing that I noticed also is that the MapTips are not working and<br>
&gt;&gt; what<br>
&gt;&gt; is being POSTed to the MapTip.php script is the wrong map for the<br>
&gt;&gt; layer<br>
&gt;&gt; that I&#39;ve selected for MapTips. Seems like there could be a problem<br>
&gt;&gt; with<br>
&gt;&gt; using the SESSION if the LoadMap.php is not adding something to the<br>
&gt;&gt; SESSION to directly link the call to the LoadScaleRanges.php so that<br>
&gt;&gt; it&#39;s not pulling the wrong scale_ranges. Is there any debugging<br>
&gt;&gt; information that I can send?<br>
&gt;&gt;<br>
&gt;&gt; - Tim<br>
&gt;&gt;<br>
&gt;&gt; ----<br>
&gt;&gt; Timothy J Nolte - <a href="mailto:tnolte@ilpcs.com">tnolte@ilpcs.com</a><br>
&gt;&gt; Network Planning Engineer<br>
&gt;&gt;<br>
&gt;&gt; iPCS Wireless, Inc.<br>
&gt;&gt; 4717 Broadmoor Ave, Suite G<br>
&gt;&gt; Kentwood, MI 49512<br>
&gt;&gt;<br>
&gt;&gt; Office: 616-656-5163<br>
&gt;&gt; PCS:    616-706-2438<br>
&gt;&gt; Fax:    616-554-6484<br>
&gt;&gt; Web: <a href="http://www.ipcswirelessinc.com" target="_blank">www.ipcswirelessinc.com</a><br>
&gt;&gt; -----Original Message-----<br>
&gt;&gt; From: <a href="mailto:fusion-users-bounces@lists.osgeo.org">fusion-users-bounces@lists.osgeo.org</a><br>
&gt;&gt; [mailto:<a href="mailto:fusion-users-bounces@lists.osgeo.org">fusion-users-bounces@lists.osgeo.org</a>] On Behalf Of Paul<br>
&gt;&gt; Spencer<br>
&gt;&gt; Sent: Monday, October 26, 2009 11:30 AM<br>
&gt;&gt; To: Nolte, Tim<br>
&gt;&gt; Cc: <a href="mailto:fusion-users@lists.osgeo.org">fusion-users@lists.osgeo.org</a><br>
&gt;&gt; Subject: Re: [fusion-users] MapServer Legend Icons<br>
&gt;&gt;<br>
&gt;&gt; Hi Tim,<br>
&gt;&gt;<br>
&gt;&gt; The legend icon stuff is working in another project that Paul<br>
&gt;&gt; Deschamps is working on, he has multiple map files and a menu for<br>
&gt;&gt; changing between them.  The legend does appear to update correctly<br>
&gt;&gt; when changing maps.<br>
&gt;&gt;<br>
&gt;&gt; The way it *should* work is that LoadMap.php populates a session<br>
&gt;&gt; variable &#39;scale_ranges&#39; with an array of each scale range of each<br>
&gt;&gt; class of each layer.  LoadScaleRanges.php uses this array to get the<br>
&gt;&gt; class for each scale range and draw the icon at the appropriate scale<br>
&gt;&gt; for that class and then combines them all into a single image, and<br>
&gt;&gt; returns a set of CSS offset values for use by the legend - so each<br>
&gt;&gt; scale range has the same image source but different offsets.<br>
&gt;&gt;<br>
&gt;&gt; I suspect what is going wrong is that the scale_ranges array is<br>
&gt;&gt; somehow the wrong one.  We need to know what sequence is causing<br>
&gt;&gt; this.  Is LoadScaleRanges being called before LoadMap finishes?  Or<br>
&gt;&gt; are you programmatically changing maps while loading them or between<br>
&gt;&gt; loading and calling LoadScaleRanges?<br>
&gt;&gt;<br>
&gt;&gt; Cheers<br>
&gt;&gt;<br>
&gt;&gt; Paul<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On 2009-10-26, at 10:38 AM, Nolte, Tim wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; Last week I had posted about a problem with my legend icons not<br>
&gt;&gt;&gt; showing<br>
&gt;&gt;&gt; up. I have multiple MapServer mapfiles defined. I&#39;m not sure if the<br>
&gt;&gt;&gt; problem I&#39;m having is solely related to having multiple mapfiles or<br>
&gt;&gt;&gt; that<br>
&gt;&gt;&gt; I recently updated to the latest Fusion trunk. I can say that the<br>
&gt;&gt;&gt; problem with the legend icons is because of an error in<br>
&gt;&gt;&gt; layers\MapServer\php\LoadScaleRanges.php, the section that it is<br>
&gt;&gt;&gt; having<br>
&gt;&gt;&gt; a problem with is:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;     $oImg = $oClass-&gt;createLegendIcon($nIconWidth, $nIconHeight);<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; This is failing with the error:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;     Fatal error: Call to a member function createLegendIcon() on a<br>
&gt;&gt;&gt; non-object<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; If I change the code to make sure that &#39;$oClass&#39; is not NULL then<br>
&gt;&gt;&gt; legend<br>
&gt;&gt;&gt; icons do get created but they are not being created correctly. I&#39;m<br>
&gt;&gt;&gt; not<br>
&gt;&gt;&gt; sure if this is something where I need to use a different built-in<br>
&gt;&gt;&gt; function to use one of the default Fusion layer icons? If anyone has<br>
&gt;&gt;&gt; any<br>
&gt;&gt;&gt; ideas it would be a big help.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; - Tim<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ----<br>
&gt;&gt;&gt; Timothy J Nolte - <a href="mailto:tnolte@ilpcs.com">tnolte@ilpcs.com</a><br>
&gt;&gt;&gt; Network Planning Engineer<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; iPCS Wireless, Inc.<br>
&gt;&gt;&gt; 4717 Broadmoor Ave, Suite G<br>
&gt;&gt;&gt; Kentwood, MI 49512<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Office: 616-656-5163<br>
&gt;&gt;&gt; PCS:    616-706-2438<br>
&gt;&gt;&gt; Fax:    616-554-6484<br>
&gt;&gt;&gt; Web: <a href="http://www.ipcswirelessinc.com" target="_blank">www.ipcswirelessinc.com</a><br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; fusion-users mailing list<br>
&gt;&gt;&gt; <a href="mailto:fusion-users@lists.osgeo.org">fusion-users@lists.osgeo.org</a><br>
&gt;&gt;&gt; <a href="http://lists.osgeo.org/mailman/listinfo/fusion-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/fusion-users</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; __________________________________________<br>
&gt;&gt;<br>
&gt;&gt;   Paul Spencer<br>
&gt;&gt;   Chief Technology Officer<br>
&gt;&gt;   DM Solutions Group Inc<br>
&gt;&gt;   <a href="http://research.dmsolutions.ca/" target="_blank">http://research.dmsolutions.ca/</a><br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; fusion-users mailing list<br>
&gt;&gt; <a href="mailto:fusion-users@lists.osgeo.org">fusion-users@lists.osgeo.org</a><br>
&gt;&gt; <a href="http://lists.osgeo.org/mailman/listinfo/fusion-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/fusion-users</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; __________________________________________<br>
&gt;<br>
&gt;    Paul Spencer<br>
&gt;    Chief Technology Officer<br>
&gt;    DM Solutions Group Inc<br>
&gt;    <a href="http://research.dmsolutions.ca/" target="_blank">http://research.dmsolutions.ca/</a><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; 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; 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>
    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>
fusion-users mailing list<br>
<a href="mailto:fusion-users@lists.osgeo.org">fusion-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/fusion-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/fusion-users</a><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>