From bartvde@xs4all.nl Thu Jun 19 17:33:41 2003 Received: from smtpzilla5.xs4all.nl (smtpzilla5.xs4all.nl [194.109.127.141]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h5JLXe5n012205 for ; Thu, 19 Jun 2003 17:33:41 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla5.xs4all.nl (8.12.9/8.12.9) with ESMTP id h5JLMcjm055979 for ; Thu, 19 Jun 2003 23:22:44 +0200 (CEST) Reply-To: bartvde@xs4all.nl Content-Type: text/plain; charset=iso-8859-15; format=flowed To: chameleon@lists.maptools.org Subject: [Chameleon] question about future/possible functionality From: Bart van den Eijnden MIME-Version: 1.0 Date: Thu, 19 Jun 2003 23:22:28 +0200 Message-ID: User-Agent: Opera7.10/Win32 M2 build 2840 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, nowadays a lot is possible in DHTML and Javascript. I see that panning of a map image now actually involves the moving of the image. Most of the elements in Chameleon provide viewing functionality. Is it theoretically possible to also provide editing functionality without the use of Java? I refer to functionality like: -add a feature (e.g. a polygon) by drawing on the map -retrieve a feature by GML and paint it on the map -edit a feature just drawn or retrieved by GML by something like a EditPolygonTool (so moving vertexes around, adding vertexes, that kind of stuff). Thanks in advance for the answer, Bart The Netherlands From Tom.Kralidis@CCRS.NRCan.gc.ca Thu Jun 19 17:39:24 2003 Received: from dns1.ccrs.nrcan.gc.ca (dns1.ccrs.nrcan.gc.ca [132.156.11.189]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h5JLdO5n012228 for ; Thu, 19 Jun 2003 17:39:24 -0400 Received: from s5-ccr-r1.ccrs.nrcan.gc.ca (s5-ccr-r1.ccrs.nrcan.gc.ca [132.156.20.32]) by dns1.ccrs.nrcan.gc.ca (8.12.9/8.12.8) with ESMTP id h5JLSPnW094724; Thu, 19 Jun 2003 17:28:25 -0400 (EDT) Received: by s5-ccr-r1.ccrs.nrcan.gc.ca with Internet Mail Service (5.5.2653.19) id ; Thu, 19 Jun 2003 17:28:25 -0400 Message-ID: <7CDD7B94357FD5119E800002A537C46E04FA2225@s5-ccr-r1.ccrs.nrcan.gc.ca> From: Tom.Kralidis@CCRS.NRCan.gc.ca To: bartvde@xs4all.nl, chameleon@lists.maptools.org Subject: RE: [Chameleon] question about future/possible functionality Date: Thu, 19 Jun 2003 17:28:15 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-15" X-CCRS-Hits: 0.3 X-CCRS-Initial-Recip: X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang) Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: > -----Original Message----- > From: Bart van den Eijnden [mailto:bartvde@xs4all.nl] > Sent: Thursday, June 19, 2003 5:22 PM > To: chameleon@lists.maptools.org > Subject: [Chameleon] question about future/possible functionality > > > Hi, > > nowadays a lot is possible in DHTML and Javascript. I see > that panning of a > map image now actually involves the moving of the image. > > Most of the elements in Chameleon provide viewing > functionality. Is it > theoretically possible to also provide editing functionality > without the > use of Java? I refer to functionality like: > > -add a feature (e.g. a polygon) by drawing on the map > -retrieve a feature by GML and paint it on the map > -edit a feature just drawn or retrieved by GML by something like a > EditPolygonTool (so moving vertexes around, adding vertexes, > that kind of > stuff). > Chameleon 1.0 (final release) will have functionality to draw features, or 'footprints' based on geographic coordinates. Building an interface to do that would involve a custom widget of some sort, but yes, it can be done. I can't speak to the moving vertices type functionality. That would take some major additional DHTML. ..Tom > Thanks in advance for the answer, > Bart > The Netherlands > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From bartvde@xs4all.nl Thu Jun 19 17:55:42 2003 Received: from smtpzilla1.xs4all.nl (smtpzilla1.xs4all.nl [194.109.127.137]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h5JLtg5n012277 for ; Thu, 19 Jun 2003 17:55:42 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla1.xs4all.nl (8.12.9/8.12.9) with ESMTP id h5JLiXkj062571; Thu, 19 Jun 2003 23:44:37 +0200 (CEST) To: tom.kralidis@ccrs.nrcan.gc.ca, chameleon@lists.maptools.org Subject: Re: [Chameleon] question about future/possible functionality Reply-To: bartvde@xs4all.nl References: <7CDD7B94357FD5119E800002A537C46E04FA2225@s5-ccr-r1.ccrs.nrcan.gc.ca> Message-ID: Content-Type: text/plain; charset=iso-8859-15; format=flowed From: Bart van den Eijnden MIME-Version: 1.0 Date: Thu, 19 Jun 2003 23:44:22 +0200 In-Reply-To: <7CDD7B94357FD5119E800002A537C46E04FA2225@s5-ccr-r1.ccrs.nrcan.gc.ca> User-Agent: Opera7.10/Win32 M2 build 2840 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Tom, do you think VML is an option for this? http://www.chicagotribune.com/technology/chi-011011developers.story Are there any plans for after the 1.0 final release already? And the interface you talk about is a few edit fields in which a user can type a coordinate, and then press a button so the point will be added to the feature? Thanks, Bart On Thu, 19 Jun 2003 17:28:15 -0400, wrote: > > >> -----Original Message----- >> From: Bart van den Eijnden [mailto:bartvde@xs4all.nl] >> Sent: Thursday, June 19, 2003 5:22 PM >> To: chameleon@lists.maptools.org >> Subject: [Chameleon] question about future/possible functionality >> >> >> Hi, >> >> nowadays a lot is possible in DHTML and Javascript. I see that panning >> of a map image now actually involves the moving of the image. >> >> Most of the elements in Chameleon provide viewing functionality. Is it >> theoretically possible to also provide editing functionality without the >> use of Java? I refer to functionality like: >> >> -add a feature (e.g. a polygon) by drawing on the map >> -retrieve a feature by GML and paint it on the map >> -edit a feature just drawn or retrieved by GML by something like a >> EditPolygonTool (so moving vertexes around, adding vertexes, that kind >> of stuff). >> > > Chameleon 1.0 (final release) will have functionality to draw features, > or > 'footprints' based on geographic coordinates. Building an interface to > do > that would involve a custom widget of some sort, but yes, it can be done. > > I can't speak to the moving vertices type functionality. That would take > some major additional DHTML. > > ..Tom > > >> Thanks in advance for the answer, >> Bart >> The Netherlands >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > -- From Tom.Kralidis@CCRS.NRCan.gc.ca Thu Jun 19 18:55:37 2003 Received: from dns1.ccrs.nrcan.gc.ca (dns1.ccrs.nrcan.gc.ca [132.156.11.189]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h5JMtb5n012440 for ; Thu, 19 Jun 2003 18:55:37 -0400 Received: from s5-ccr-r1.ccrs.nrcan.gc.ca (s5-ccr-r1.ccrs.nrcan.gc.ca [132.156.20.32]) by dns1.ccrs.nrcan.gc.ca (8.12.9/8.12.8) with ESMTP id h5JMidnW095935; Thu, 19 Jun 2003 18:44:39 -0400 (EDT) Received: by s5-ccr-r1.ccrs.nrcan.gc.ca with Internet Mail Service (5.5.2653.19) id ; Thu, 19 Jun 2003 18:44:39 -0400 Message-ID: <7CDD7B94357FD5119E800002A537C46E04FA2226@s5-ccr-r1.ccrs.nrcan.gc.ca> From: Tom.Kralidis@CCRS.NRCan.gc.ca To: bartvde@xs4all.nl, chameleon@lists.maptools.org Subject: RE: [Chameleon] question about future/possible functionality Date: Thu, 19 Jun 2003 18:44:32 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-15" X-CCRS-Hits: 0.3 X-CCRS-Initial-Recip: X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang) Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: > -----Original Message----- > From: Bart van den Eijnden [mailto:bartvde@xs4all.nl] > Sent: Thursday, June 19, 2003 5:44 PM > To: tom.kralidis@ccrs.nrcan.gc.ca; chameleon@lists.maptools.org > Subject: Re: [Chameleon] question about future/possible functionality > > > Hi Tom, > > do you think VML is an option for this? > > http://www.chicagotribune.com/technology/chi-011011developers.story > > Are there any plans for after the 1.0 final release already? > None that I'm aware of. Our goal is to make the final 1.0 release for now. But VML sounds like a neat idea. You can also look at SVG. > And the interface you talk about is a few edit fields in > which a user can > type a coordinate, and then press a button so the point will > be added to > the feature? > Correct. There is an associated JavaScript API with Chameleon which allows this. > Thanks, > Bart > > On Thu, 19 Jun 2003 17:28:15 -0400, > wrote: > > > > > > >> -----Original Message----- > >> From: Bart van den Eijnden [mailto:bartvde@xs4all.nl] > >> Sent: Thursday, June 19, 2003 5:22 PM > >> To: chameleon@lists.maptools.org > >> Subject: [Chameleon] question about future/possible functionality > >> > >> > >> Hi, > >> > >> nowadays a lot is possible in DHTML and Javascript. I see > that panning > >> of a map image now actually involves the moving of the image. > >> > >> Most of the elements in Chameleon provide viewing > functionality. Is it > >> theoretically possible to also provide editing > functionality without the > >> use of Java? I refer to functionality like: > >> > >> -add a feature (e.g. a polygon) by drawing on the map > >> -retrieve a feature by GML and paint it on the map > >> -edit a feature just drawn or retrieved by GML by something like a > >> EditPolygonTool (so moving vertexes around, adding > vertexes, that kind > >> of stuff). > >> > > > > Chameleon 1.0 (final release) will have functionality to > draw features, > > or > > 'footprints' based on geographic coordinates. Building an > interface to > > do > > that would involve a custom widget of some sort, but yes, > it can be done. > > > > I can't speak to the moving vertices type functionality. > That would take > > some major additional DHTML. > > > > ..Tom > > > > > >> Thanks in advance for the answer, > >> Bart > >> The Netherlands > >> _______________________________________________ > >> Chameleon mailing list > >> Chameleon@lists.maptools.org > >> http://lists.maptools.org/mailman/listinfo/chameleon > >> > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > http://lists.maptools.org/mailman/listinfo/chameleon > > > > > > > > -- > > From EZS@DeStraat.NL Fri Jun 20 11:17:45 2003 Received: from mail7.messagelabs.com (mail7.messagelabs.com [194.151.197.68]) by www.maptools.org (8.12.5/8.12.5) with SMTP id h5KFHY5n015566 for ; Fri, 20 Jun 2003 11:17:45 -0400 X-VirusChecked: Checked X-Env-Sender: EZS@DeStraat.NL X-Msg-Ref: server-17.tower-7.messagelabs.com!1056121346!123296 X-StarScan-Version: 5.0.6; banners=destraat.nl,-,- Received: (qmail 20078 invoked from network); 20 Jun 2003 15:02:29 -0000 Received: from unknown (HELO p0212-vchk.syncera.nl) (62.58.29.82) by server-17.tower-7.messagelabs.com with SMTP; 20 Jun 2003 15:02:28 -0000 Received: from gwia.syncera.nl (Not Verified[10.15.7.3]) by p0212-vchk.syncera.nl with MailMarshal (v5,0,3,74) id ; Fri, 20 Jun 2003 17:15:17 +0200 Received: from AV_DO-MTA by gwia.syncera.nl with Novell_GroupWise; Fri, 20 Jun 2003 17:02:03 +0200 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.2 Date: Fri, 20 Jun 2003 17:01:51 +0200 From: "Emil Zegers" To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [Chameleon] chameleon context format Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hello, Downloaded the Chameleon Beta and trying to get it working I got to the 'context.xml' What is the format this xml should be in? I fed the service with a WMS GetCapabilities result XML file but got no result. Also pointing it to a WMS GetCap Url directly (eg. http://syncera-ezs/cgi-bin/mapserv.exe?map=C:/websites/strabis_dordrecht/strabis_dordrecht.map&REQUEST=GetCapabilities&version=1.1.0&) didn't work. Could not find info on the format of the XML file in the docs. Can anyone give me a clue? Best regards, Emil Zegers ______________________________________________________ This message has been checked for all known viruses ______________________________________________________ From Tom.Kralidis@CCRS.NRCan.gc.ca Fri Jun 20 11:34:18 2003 Received: from dns1.ccrs.nrcan.gc.ca (dns1.ccrs.nrcan.gc.ca [132.156.11.189]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h5KFYI5n015628 for ; Fri, 20 Jun 2003 11:34:18 -0400 Received: from s5-ccr-r1.ccrs.nrcan.gc.ca (s5-ccr-r1.ccrs.nrcan.gc.ca [132.156.20.32]) by dns1.ccrs.nrcan.gc.ca (8.12.9/8.12.8) with ESMTP id h5KFN7nW010234; Fri, 20 Jun 2003 11:23:07 -0400 (EDT) Received: by s5-ccr-r1.ccrs.nrcan.gc.ca with Internet Mail Service (5.5.2653.19) id ; Fri, 20 Jun 2003 11:23:06 -0400 Message-ID: <7CDD7B94357FD5119E800002A537C46E04FA223A@s5-ccr-r1.ccrs.nrcan.gc.ca> From: Tom.Kralidis@CCRS.NRCan.gc.ca To: EZS@DeStraat.NL, chameleon@lists.maptools.org Subject: RE: [Chameleon] chameleon context format Date: Fri, 20 Jun 2003 11:22:56 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-CCRS-Hits: 0.3 X-CCRS-Initial-Recip: X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang) Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: The format of a Web Map Context Document is governed by the OpenGIS Consortium. This OGC discussion paper documents the format 0.1.4, supported by Chameleon: http://www.opengis.org/techno/discussions/02-066r1.pdf Keep in mind that Chameleon will support the official 1.0.0 version of context by the end of June, which is the approved OGC specification: http://www.opengis.org/techno/specs/03-036r2.pdf Cheers ..Tom ================================= Tom Kralidis Systems Scientist Canada Centre for Remote Sensing Tel: (613) 947-1828 http://www.cgdi.ca/ ================================= > -----Original Message----- > From: Emil Zegers [mailto:EZS@DeStraat.NL] > Sent: Friday, June 20, 2003 11:02 AM > To: chameleon@lists.maptools.org > Subject: [Chameleon] chameleon context format > > > Hello, > > Downloaded the Chameleon Beta and trying to get it working I > got to the > 'context.xml' > > What is the format this xml should be in? I fed the service with a WMS > GetCapabilities result XML file but got no result. > > Also pointing it to a WMS GetCap Url directly (eg. > http://syncera-ezs/cgi-bin/mapserv.exe?map=C:/websites/strabis _dordrecht/strabis_dordrecht.map&REQUEST=GetCapabilities&version=1.1.0&) didn't work. Could not find info on the format of the XML file in the docs. Can anyone give me a clue? Best regards, Emil Zegers ______________________________________________________ This message has been checked for all known viruses ______________________________________________________ _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From dell.yan@chinaquest.com Tue Jul 1 00:20:20 2003 Received: from cnmail.nwcyberbase.com ([211.152.46.37]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h614KB5n006245 for ; Tue, 1 Jul 2003 00:20:16 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C33F7F.8173E5F5" Date: Tue, 1 Jul 2003 11:18:56 +0800 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message Message-ID: <3847F35B08A3E342B56E79AD3393A6A20125D20A@nwcb-sh-mail.corp.nwcyberbase.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Index: AcM/f4DlJaHL/sfOTOi8NONlIKQpvw== From: "DellYan" To: Subject: [Chameleon] (no subject) Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------_=_NextPart_001_01C33F7F.8173E5F5 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable =E3=C6=BA=E9=C0=A4 =20 =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =B3=C7=CA=D0=CD=A8=CD=F8=C2=E7=D0=C5=CF=A2=BC=BC=CA=F5=D3=D0=CF=DE=B9=AB=CB= =BE > E-Mail : dell.yan@chinaquest.com > Tel : 021-33074566-191 ------_=_NextPart_001_01C33F7F.8173E5F5 Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable

=E3=C6=BA=E9=C0=A4     =
        &nb= sp;        

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<= /FONT>
=B3=C7=CA=D0=CD=A8=CD=F8=C2=E7=D0=C5=CF=A2=BC=BC=CA= =F5=D3=D0=CF=DE=B9=AB=CB=BE
  = > E-Mail   = :  dell.yan@chinaquest.com
  = > Tel : 021-33074566-191

------_=_NextPart_001_01C33F7F.8173E5F5-- From cdlee@ms16.url.com.tw Tue Jul 1 10:30:47 2003 Received: from lupus.url.com.tw (lupus.url.com.tw [210.59.228.24]) by www.maptools.org (8.12.5/8.12.5) with SMTP id h61EUi5n008423 for ; Tue, 1 Jul 2003 10:30:46 -0400 Received: (qmail 15231 invoked from network); 1 Jul 2003 14:15:46 -0000 Received: from unknown (HELO ala.url.com.tw) ([210.59.228.50]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 1 Jul 2003 14:15:46 -0000 Received: (qmail 6596 invoked from network); 1 Jul 2003 14:15:41 -0000 XltFrom: spammail@accton.com.tw X-Filter: server-rule2 level 4 #0001#7 Received: from unknown (HELO orange) ([61.228.97.168]) (envelope-sender ) by ms16.url.com.tw (qmail-ldap-1.03) with SMTP for ; 1 Jul 2003 14:15:41 -0000 Message-ID: <001301c33fdb$4da6f180$7801a8c0@orange> From: "cdlee" To: Date: Tue, 1 Jul 2003 22:16:01 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: [Chameleon] Problem about WMSPARSE Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi all, when i tried to install WMSPARSE on my RedHat 9.0 machine, i got the following error messages, what is wrong? dbfopen.o(.text+0x1e4b): In function `str_to_upper': /home/sacha/proj/cwc/htdocs/common/wmsparse/dbfopen.c:1299: undefined reference to `__ctype_b' dbfopen.o(.text+0x1e6c):/home/sacha/proj/cwc/htdocs/common/wmsparse/dbfopen. c:1299: undefined reference to `__ctype_b' collect2: ld returned 1 exit status make: *** [wmsparse] Error 1 From pagameba@magma.ca Tue Jul 1 17:26:53 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h61LQr5n009658 for ; Tue, 1 Jul 2003 17:26:53 -0400 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx2.magma.ca (Magma Relay Server) with ESMTP id h61LCVQS002202; Tue, 1 Jul 2003 17:12:31 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail1.magma.ca (Magma's Mail Server) with ESMTP id h61LCSR5032349; Tue, 1 Jul 2003 17:12:30 -0400 Message-ID: <3F01F93B.5000402@magma.ca> Date: Tue, 01 Jul 2003 17:12:27 -0400 From: Paul Spencer Reply-To: spencer@dmsolutions.ca User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030612 X-Accept-Language: en, fr, en-us, fr-ca MIME-Version: 1.0 To: chameleon@lists.maptools.org, cdlee@ms16.url.com.tw Subject: Re: [Chameleon] Problem about WMSPARSE Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, the problem is that chameleon is distributed with precompiled object files that are getting in the way. Try $ make clean; make; I will file a bug to remove the linux binaries from the tarball. Thanks, Paul cdlee wrote: > Hi all, > when i tried to install WMSPARSE on my RedHat 9.0 machine, i got the > following error messages, what is wrong? > > dbfopen.o(.text+0x1e4b): In function `str_to_upper': > /home/sacha/proj/cwc/htdocs/common/wmsparse/dbfopen.c:1299: undefined > reference to `__ctype_b' >dbfopen.o(.text+0x1e6c):/home/sacha/proj/cwc/htdocs/common/wmsparse/dbfopen. > c:1299: undefined reference to `__ctype_b' > collect2: ld returned 1 exit status > make: *** [wmsparse] Error 1 -- Paul Spencer Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca From mcilhagga@dmsolutions.ca Thu Jul 3 18:04:57 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h63M4v5n027177 for ; Thu, 3 Jul 2003 18:04:57 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca Magma's Mail Server with ESMTP id h63Lo0mG005542 for ; Thu, 3 Jul 2003 17:50:00 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail2.magma.ca (Magma's Mail Server) with ESMTP id h63Lnxrx007278 for ; Thu, 3 Jul 2003 17:50:00 -0400 Message-ID: <3F04A4F7.60109@dmsolutions.ca> Date: Thu, 03 Jul 2003 17:49:43 -0400 From: Dave McIlhagga User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-ca, en, en-us, fr-ca MIME-Version: 1.0 To: Chameleon@lists.maptools.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Chameleon] Use of chameleon Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This was an off-list discussion going on, that we thought might be of interest to the broader chameleon list. I've capture the discussion to date below: Original message from Tom Kralidis: cwc2, or CGDI WMS Client Component, is a project between Natural Resources Canada and DM Solutions Group, in support of the Canadian Geospatial Data Infrastructure. The idea behind cwc2 was to enable rapid application development of web clients connecting to OGC type services. Since cwc2 takes care of alot of the complexities of web mapping applications, organizations can create simple templates and deploy applications in rapid fashion, either by installing the cwc2 engine onsite, or calling it remotely. A main target of the project is government organization web developers, who aren't necessarily WebGIS type experts. Follow-up question from Chris Nicholas It does look interesting, though we have to get used to PHP; we are a Java shop here, and are using the Java/SWIG interfaces to Mapserver. One thing of particular interest to us is the plan for more sophisticated applications, that involve directed graphs of user interactivity. In particular, what framework similar to Java "Struts", that enables high-level application design such as: http://www.synthis.com/products/adalon/overview.jsp, do you foresee for Chameleon and PHP pages in general? Chris Nicholas GlobeXplorer -- Dave McIlhagga http://www.dmsolutions.ca From gis@schnegg.net Tue Jul 15 06:59:05 2003 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.183]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h6FAx45n003903 for ; Tue, 15 Jul 2003 06:59:05 -0400 Received: from [212.227.126.162] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 19cNEo-0006L2-00 for chameleon@lists.maptools.org; Tue, 15 Jul 2003 12:40:50 +0200 Received: from [217.226.159.95] (helo=schnegg.net) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 19cNEn-0007Iy-00 for chameleon@lists.maptools.org; Tue, 15 Jul 2003 12:40:49 +0200 Message-ID: <3F13DA2A.6010302@schnegg.net> Date: Tue, 15 Jul 2003 12:40:42 +0200 From: Frank Rittinger User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: chameleon@lists.maptools.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Chameleon] example applications Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hello list, I just downloaded and installed Chameleon. Now I was looking for the demos (Geobase and Toporama) to play around with. Unfortunately, I couldn't find them. Any hints on where I can find examples? Thanks, Frank From Tom.Kralidis@CCRS.NRCan.gc.ca Tue Jul 15 10:45:41 2003 Received: from dns1.ccrs.nrcan.gc.ca (dns1.ccrs.nrcan.gc.ca [132.156.11.189]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h6FEje5n004557 for ; Tue, 15 Jul 2003 10:45:41 -0400 Received: from s5-ccr-r1.ccrs.nrn.nrcan.gc.ca (s5-ccr-r1.ccrs.nrcan.gc.ca [132.156.20.32]) by dns1.ccrs.nrcan.gc.ca (8.12.9/8.12.8) with ESMTP id h6FERMZh003721; Tue, 15 Jul 2003 10:27:22 -0400 (EDT) Received: by s5-ccr-r1.ccrs.nrcan.gc.ca with Internet Mail Service (5.5.2653.19) id <316M4X5M>; Tue, 15 Jul 2003 10:27:21 -0400 Message-ID: <7CDD7B94357FD5119E800002A537C46E04FA234F@s5-ccr-r1.ccrs.nrcan.gc.ca> From: Tom.Kralidis@CCRS.NRCan.gc.ca To: gis@schnegg.net, chameleon@lists.maptools.org Subject: RE: [Chameleon] example applications Date: Tue, 15 Jul 2003 10:27:20 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-CCRS-Hits: 0.3 X-CCRS-Initial-Recip: X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang) Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Frank, The GeoBase and Toporama demos are not public yet. When they do become public (Toporama shouldn't be long), they'll be announced to this list. In the meantime, you can check out an example by going to http://geodiscover.cgdi.ca/gdp/search?action=searchForm&entryType=webService . Clicking 'Search' will open up an instance of Chameleon. Cheers ..Tom ================================= Tom Kralidis Systems Scientist Canada Centre for Remote Sensing Tel: +01-613-947-1828 http://www.cgdi.ca/ ================================= > -----Original Message----- > From: Frank Rittinger [mailto:gis@schnegg.net] > Sent: Tuesday, July 15, 2003 6:41 AM > To: chameleon@lists.maptools.org > Subject: [Chameleon] example applications > > > Hello list, > > I just downloaded and installed Chameleon. Now I was looking for > the demos (Geobase and Toporama) to play around with. > Unfortunately, I > couldn't find them. > > Any hints on where I can find examples? > > Thanks, Frank > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From mcilhagga@dmsolutions.ca Tue Jul 15 11:05:42 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h6FF5f5n004629 for ; Tue, 15 Jul 2003 11:05:42 -0400 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id h6FElM6m021273; Tue, 15 Jul 2003 10:47:22 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail1.magma.ca (Magma's Mail Server) with ESMTP id h6FElKnl020433; Tue, 15 Jul 2003 10:47:22 -0400 Message-ID: <3F1413AC.4060808@dmsolutions.ca> Date: Tue, 15 Jul 2003 10:46:04 -0400 From: Dave McIlhagga User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-ca, en, en-us, fr-ca MIME-Version: 1.0 To: Tom.Kralidis@ccrs.nrcan.gc.ca CC: gis@schnegg.net, chameleon@lists.maptools.org Subject: Re: [Chameleon] example applications References: <7CDD7B94357FD5119E800002A537C46E04FA234F@s5-ccr-r1.ccrs.nrcan.gc.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Another example is the directions for the MapServer User Meeting available at: http://www.mapsherpa.com/mum/ I believe there was also a sample application included in the distribution that includes many of the widgets? Could someone comment if this is the case? Dave -- Dave McIlhagga http://www.dmsolutions.ca > Hi Frank, > > The GeoBase and Toporama demos are not public yet. When they do become > public (Toporama shouldn't be long), they'll be announced to this list. > > In the meantime, you can check out an example by going to > http://geodiscover.cgdi.ca/gdp/search?action=searchForm&entryType=webService > . Clicking 'Search' will open up an instance of Chameleon. > > Cheers > > ..Tom > > ================================= > Tom Kralidis > Systems Scientist > Canada Centre for Remote Sensing > Tel: +01-613-947-1828 > http://www.cgdi.ca/ > ================================= > > >>-----Original Message----- >>From: Frank Rittinger [mailto:gis@schnegg.net] >>Sent: Tuesday, July 15, 2003 6:41 AM >>To: chameleon@lists.maptools.org >>Subject: [Chameleon] example applications >> >> >>Hello list, >> >>I just downloaded and installed Chameleon. Now I was looking for >>the demos (Geobase and Toporama) to play around with. >>Unfortunately, I >>couldn't find them. >> >>Any hints on where I can find examples? >> >>Thanks, Frank >> >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From thorne@dmsolutions.ca Tue Jul 15 12:17:15 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h6FGHE5n004841 for ; Tue, 15 Jul 2003 12:17:15 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id h6FFwq6t016724; Tue, 15 Jul 2003 11:58:52 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail4.magma.ca (Magma's Mail Server) with ESMTP id h6FFwpTw011510; Tue, 15 Jul 2003 11:58:52 -0400 Message-ID: <3F14250C.7070705@dmsolutions.ca> Date: Tue, 15 Jul 2003 12:00:12 -0400 From: "Christopher R. Thorne" Reply-To: thorne@dmsolutions.ca Organization: DM Solutions Group Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dave McIlhagga CC: Tom.Kralidis@ccrs.nrcan.gc.ca, gis@schnegg.net, chameleon@lists.maptools.org Subject: Re: [Chameleon] example applications References: <7CDD7B94357FD5119E800002A537C46E04FA234F@s5-ccr-r1.ccrs.nrcan.gc.ca> <3F1413AC.4060808@dmsolutions.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Yes, this is correct there is a sample application for both CWC 1.0 version and a different sample app for Chameleon (CWC 1.1) /htdocs/test.html or? /htdocs/sample.html Chris Dave McIlhagga wrote: > Another example is the directions for the MapServer User Meeting > available at: > > http://www.mapsherpa.com/mum/ > > I believe there was also a sample application included in the > distribution that includes many of the widgets? Could someone comment > if this is the case? > > Dave -- Christopher R. Thorne GIS Specialist, DM Solutions Group Inc. http://www.dmsolutions.ca email: thorne@dmsolutions.ca Phone: (613) 565-5056 ext.22 Fax : (613) 565-0925 ------------------------------ From John.Arthur@T-Mobile.com Tue Jul 22 16:15:31 2003 Received: from prodimcms02.gsm1900.org (wabod01s01.gsm1900.org [65.161.188.9]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h6MKFU5n010131 for ; Tue, 22 Jul 2003 16:15:31 -0400 Received: by prodimcms02.gsm1900.org with Internet Mail Service (5.5.2653.19) id <3C9S7W56>; Tue, 22 Jul 2003 12:55:08 -0700 Message-ID: From: "Arthur, John" To: "'chameleon@lists.maptools.org'" Date: Tue, 22 Jul 2003 12:55:05 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Subject: [Chameleon] A few errors I need help with. Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: The following errors are associated with "test.php" script. The "simple.html" template has broken images too. It seams the map images are not being written to the "/tmp/ms_tmp" dir. But the buttons are being written to the "/tmp/ms_tmp/buttons" dir. The first error I have: Warning: [MapServer Error]: msProcessProjection(): no options found in 'init' file in /opt/cwc2/htdocs/common/wrapper/map_session.php on line 214 Warning: Failed to open map file /opt/cwc2/htdocs/template.map in /opt/cwc2/htdocs/common/wrapper/map_session.php on line 214 Fatal error: Call to a member function on a non-object in /opt/cwc2/htdocs/common/wrapper/map_session.php on line 231 Then if I "#" out the "init=epsg:42304" and uncomment the other projection settings, I get this error: Fatal error: [MapServer Error]: msDrawScalebar(): Map units not set. in /opt/cwc2/htdocs/widgets/Scalebar.widget.php on line 338 If I set the SCALEBAR to false in the "test.html" template, the next page comes up, but I have broken images and the following error pops up in a new window: Warning: [MapServer Error]: getSymbol(): Parsing error near (null):(line 11) in /opt/cwc2/htdocs/common/wrapper/map_session.php on line 208 Warning: Failed to open map file /tmp/sess_3f1d94c22155a/1058903234-1117.map in /opt/cwc2/htdocs/common/wrapper/map_session.php on line 208 Fatal error: Call to a member function on a non-object in /opt/cwc2/htdocs/common/wrapper/map_session.php on line 231 MAP EXTENT -2594561.35333333 -712631 3467361.35333333 3840000 FONTSET "/opt/cwc2/etc/fonts.txt" IMAGECOLOR 255 255 255 IMAGETYPE png RESOLUTION 90.714286 SYMBOLSET "/opt/cwc2/etc/symbols.sym" SIZE 400 300 STATUS ON TRANSPARENT TRUE UNITS (null) NAME "DEMO" OUTPUTFORMAT NAME png MIMETYPE image/png DRIVER GD/PNG EXTENSION png IMAGEMODE PC256 TRANSPARENT TRUE END PROJECTION "init=epsg:42304" END LEGEND IMAGECOLOR 255 255 255 KEYSIZE 18 12 KEYSPACING 5 5 LABEL SIZE MEDIUM TYPE BITMAP BUFFER 0 COLOR 0 0 89 FORCE FALSE MINDISTANCE -1 MINFEATURESIZE -1 OFFSET 0 0 PARTIALS TRUE END POSITION LL STATUS ON TEMPLATE "legend_template.html" END QUERYMAP COLOR 255 0 0 SIZE -1 -1 STATUS OFF STYLE HILITE END REFERENCE COLOR -1 -1 -1 EXTENT -1 -1 -1 -1 IMAGE "./images/keymap.png" OUTLINECOLOR 255 0 0 SIZE 120 90 STATUS ON MARKER 0 MARKERSIZE 0 MINBOXSIZE 3 MAXBOXSIZE 0 END SCALEBAR BACKGROUNDCOLOR 0 0 0 COLOR 255 255 255 IMAGECOLOR 255 255 255 INTERVALS 5 LABEL SIZE SMALL TYPE BITMAP BUFFER 0 COLOR 0 0 0 FORCE FALSE MINDISTANCE -1 MINFEATURESIZE -1 OFFSET 0 0 PARTIALS TRUE POSITION UL END OUTLINECOLOR 0 0 0 POSITION LL SIZE 150 5 STATUS OFF STYLE 0 UNITS KILOMETERS END WEB IMAGEPATH "/tmp/ms_tmp/" IMAGEURL "/ms_tmp/" METADATA "wms_context_version" "0.1.4" END END END - - - - - - - - - - - - - - - - - - - - - - - - - - - - John Arthur RF Technician Office: (757) 490-7221 Cellular: (757) 839-0021 Email: john.arthur@t-mobile.com T-Mobile USA Get more from life From morissette@dmsolutions.ca Tue Jul 22 16:35:27 2003 Received: from xcalibur.dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h6MKZR5n010194 for ; Tue, 22 Jul 2003 16:35:27 -0400 Received: from dmsolutions.ca ([192.168.4.5]) by xcalibur.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id h6MKF3e12295; Tue, 22 Jul 2003 16:15:03 -0400 Message-ID: <3F1D9B3B.85C674A@dmsolutions.ca> Date: Tue, 22 Jul 2003 16:14:51 -0400 From: Daniel Morissette X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: "Arthur, John" CC: "'chameleon@lists.maptools.org'" Subject: Re: [Chameleon] A few errors I need help with. References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: "Arthur, John" wrote: > > The following errors are associated with "test.php" script. The > "simple.html" template has broken images too. It seams the map images are > not being written to the "/tmp/ms_tmp" dir. But the buttons are being > written to the "/tmp/ms_tmp/buttons" dir. > > The first error I have: > Warning: [MapServer Error]: msProcessProjection(): no options found in > 'init' file in /opt/cwc2/htdocs/common/wrapper/map_session.php on line 214 > You are quite likely getting this because you use projection "init=epsg:42304" and 42304 is not part of the default 'epsg' file that gets installed with PROJ4. You could get a copy of the file with the 42xxx codes from our download site at: http://www2.dmsolutions.ca/mapserver/dl/proj4-epsg-with-42xxx.zip or the following file which also contains some ESRI-specific codes: http://www2.dmsolutions.ca/mapserver/dl/proj4-epsg-with-42xxx-and-esri.zip and use that to replace /usr/local/share/proj/epsg on your server. Daniel -- ------------------------------------------------------------ Daniel Morissette morissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From John.Arthur@T-Mobile.com Wed Jul 23 11:12:52 2003 Received: from prodimcms02.gsm1900.org (wabod01s01.gsm1900.org [65.161.188.9]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h6NFCq5n013882 for ; Wed, 23 Jul 2003 11:12:52 -0400 Received: by prodimcms02.gsm1900.org with Internet Mail Service (5.5.2653.19) id <3C9S855A>; Wed, 23 Jul 2003 07:52:15 -0700 Message-ID: From: "Arthur, John" To: "'Daniel Morissette'" Cc: "'chameleon@lists.maptools.org'" Subject: RE: [Chameleon] A few errors I need help with. Date: Wed, 23 Jul 2003 07:52:13 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Thanks, that was it :) -----Original Message----- From: Daniel Morissette [mailto:morissette@dmsolutions.ca] Sent: Tuesday, July 22, 2003 4:15 PM To: Arthur, John Cc: 'chameleon@lists.maptools.org' Subject: Re: [Chameleon] A few errors I need help with. "Arthur, John" wrote: > > The following errors are associated with "test.php" script. The > "simple.html" template has broken images too. It seams the map images are > not being written to the "/tmp/ms_tmp" dir. But the buttons are being > written to the "/tmp/ms_tmp/buttons" dir. > > The first error I have: > Warning: [MapServer Error]: msProcessProjection(): no options found in > 'init' file in /opt/cwc2/htdocs/common/wrapper/map_session.php on line 214 > You are quite likely getting this because you use projection "init=epsg:42304" and 42304 is not part of the default 'epsg' file that gets installed with PROJ4. You could get a copy of the file with the 42xxx codes from our download site at: http://www2.dmsolutions.ca/mapserver/dl/proj4-epsg-with-42xxx.zip or the following file which also contains some ESRI-specific codes: http://www2.dmsolutions.ca/mapserver/dl/proj4-epsg-with-42xxx-and-esri.zip and use that to replace /usr/local/share/proj/epsg on your server. Daniel -- ------------------------------------------------------------ Daniel Morissette morissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From Ryan.Alexander@EC.GC.CA Tue Aug 19 09:04:41 2003 Received: from ATLANTIC-EXGATE.Atlantic.int.ec.gc.ca (fwdar1-1.ns.ec.gc.ca [199.212.16.20]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7JD4fp5024310 for ; Tue, 19 Aug 2003 09:04:41 -0400 Received: by atlantic-exgate.atlantic.int.ec.gc.ca with Internet Mail Service (5.5.2656.59) id ; Tue, 19 Aug 2003 09:56:32 -0300 Message-ID: From: "Alexander,Ryan [Dartmouth]" To: "'chameleon@lists.maptools.org'" Date: Tue, 19 Aug 2003 09:56:30 -0300 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C36651.4F253B10" Subject: [Chameleon] Chameleon and IIS Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C36651.4F253B10 Content-Type: text/plain I was wondering if chameleon works on IIS because all of the documentation that I have read dealt with chameleon and apache. If someone could let me know it would be greatly appreciated. Thanks Ryan ------_=_NextPart_001_01C36651.4F253B10 Content-Type: text/html Content-Transfer-Encoding: quoted-printable Chameleon and IIS

I was wondering if chameleon works on IIS = because all of the documentation that I have read dealt with chameleon = and apache.  If someone could let me know it would be greatly = appreciated.


Thanks
Ryan

------_=_NextPart_001_01C36651.4F253B10-- From EZS@DeStraat.NL Tue Aug 19 12:13:36 2003 Received: from mail7.messagelabs.com (mail7.messagelabs.com [194.151.197.68]) by www.maptools.org (8.12.5/8.12.5) with SMTP id h7JGDZp5024871 for ; Tue, 19 Aug 2003 12:13:35 -0400 X-VirusChecked: Checked X-Env-Sender: EZS@DeStraat.NL X-Msg-Ref: server-4.tower-7.messagelabs.com!1061309118!238847 X-StarScan-Version: 5.0.7; banners=destraat.nl,-,- Received: (qmail 7281 invoked from network); 19 Aug 2003 16:05:19 -0000 Received: from unknown (HELO p0212-vchk.syncera.nl) (62.58.29.82) by server-4.tower-7.messagelabs.com with SMTP; 19 Aug 2003 16:05:19 -0000 Received: from gwia.syncera.nl (Not Verified[10.15.7.3]) by p0212-vchk.syncera.nl with MailMarshal (v5,0,3,74) id ; Tue, 19 Aug 2003 18:19:11 +0200 Received: from AV_DO-MTA by gwia.syncera.nl with Novell_GroupWise; Tue, 19 Aug 2003 18:04:42 +0200 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.2 Date: Tue, 19 Aug 2003 18:04:37 +0200 From: "Emil Zegers" To: , Subject: Re: [Chameleon] Chameleon and IIS Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id h7JGDZp5024871 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Yes it does, I have the beta running on Windows 2000 Professional with IIS 5 >>> "Alexander,Ryan [Dartmouth]" 08/19/03 14:56 PM >>> I was wondering if chameleon works on IIS because all of the documentation that I have read dealt with chameleon and apache. If someone could let me know it would be greatly appreciated. Thanks Ryan __________ VChecked ______________________________________________________ This message has been checked for all known viruses ______________________________________________________ From eduardo@consultoria.eti.br Wed Aug 20 23:41:23 2003 Received: from hm61.locaweb.com.br (hm61.locaweb.com.br [200.213.197.161]) by www.maptools.org (8.12.5/8.12.5) with SMTP id h7L3fMp5032118 for ; Wed, 20 Aug 2003 23:41:23 -0400 Received: (qmail 7711 invoked from network); 21 Aug 2003 03:32:37 -0000 Received: from unknown (HELO hm47.locaweb.com.br) (200.182.98.147) by hm61.locaweb.com.br with SMTP; 21 Aug 2003 03:32:37 -0000 Received: (qmail 10899 invoked from network); 21 Aug 2003 03:32:48 -0000 Received: from unknown (HELO notebookln01) (eduardo@consultoria.eti.br@200.226.7.224) by hm47.locaweb.com.br with SMTP; 21 Aug 2003 03:32:48 -0000 Message-ID: <001401c36795$274b7330$e007e2c8@vcp.advcp.br> From: "Eduardo Patto Kanegae" To: Date: Thu, 21 Aug 2003 00:34:36 -0300 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0011_01C3677C.000F1560" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 Subject: [Chameleon] installing chameleon Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0011_01C3677C.000F1560 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I've just downloaded and installed chameleon, but when calling = http://localhost/cwc2/test.php , which goes to = http://localhost/cwc2/chameleon.php?TEMPLATE=3Dtest.html&CONTEXT=3Dgmap_c= ontext.xml nothing happens.... only a blank page with the content: what is wrong? regards, Eduardo Patto Kanegae eduardo@consultoria.eti.br ------=_NextPart_000_0011_01C3677C.000F1560 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I've just downloaded and installed = chameleon, but=20 when calling http://localhost/cwc2/test.php
, which goes to http://localhost/cwc2/chameleon.php?TEMPLATE=3Dte= st.html&CONTEXT=3Dgmap_context.xml
 
nothing happens....
 
only a blank page with the = content:
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD = HTML 4.0=20 Transitional//EN">
<HTML><HEAD>
<META=20 http-equiv=3DContent-Type content=3D"text/html;=20 charset=3Diso-8859-1"></HEAD>
<BODY></BODY></H= TML>
 
what is wrong?
 
regards,
 
Eduardo Patto Kanegae
eduardo@consultoria.eti.br=
 
------=_NextPart_000_0011_01C3677C.000F1560-- From thorne@dmsolutions.ca Thu Aug 21 11:11:12 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7LFBBp5002338 for ; Thu, 21 Aug 2003 11:11:11 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca Magma's Mail Server with ESMTP id h7LF2RUR028232; Thu, 21 Aug 2003 11:02:27 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail2.magma.ca (Magma's Mail Server) with ESMTP id h7LF2QTc007791; Thu, 21 Aug 2003 11:02:27 -0400 Message-ID: <3F44DF52.60005@dmsolutions.ca> Date: Thu, 21 Aug 2003 11:03:46 -0400 From: "Christopher R. Thorne" Reply-To: thorne@dmsolutions.ca Organization: DM Solutions Group Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 CC: chameleon@lists.maptools.org, mapserver-users@lists.gis.umn.edu References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Chameleon] Re: [Mapserver-users] Chameleon 1.1 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: MT-Link MT-Link wrote: > I tryed to install and run Chameleon 1.1 (alpha), but > couldn't find any working example how to start it > or how to call my own map > Any directions ??? > > Regards > > _________________________________________________________________ > Get MSN 8 and enjoy automatic e-mail virus protection. > http://join.msn.com/?page=features/virus > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > Hello, Your questions are quite valid, to get you started here are a couple of things that will help you. 1) Please post any further questions about Chameleon 1.1 or 1.0 to the Chameleon Mailing list. you and all your friends ;) can join on the http://maptools.org website here: http://maptools.org/chameleon/index.phtml?page=mailinglist.html chameleon@lists.maptools.org 2) As for documentation for Chameleon 1.1: It is currently under development as a wiki page here: http://www.maptools.org/chameleon/wiki/moin.cgi/ Chameleon 1.0 documentation can be found here: http://maptools.org/chameleon/index.phtml?page=docs.html %95 of the content in the installation is valid for Chameleon 1.1 You can also find the same documentation with your chameleon 1.1 and 1.0 installer. 3) As for working examples of chameleon 1.1. Currently there is not one found with the chameleon 1.1 installer. I will be putting together a chameleon 1.1 sample application that will be available on the on the chameleon download page. hopefully, I will be able to post this by the end of the day. I will let you know when it is posted. http://maptools.org/chameleon/index.phtml?page=downloads.html Thanks for you interested in Chameleon ;) Chris -- Christopher R. Thorne GIS Specialist, DM Solutions Group Inc. http://www.dmsolutions.ca email: thorne@dmsolutions.ca Phone: (613) 565-5056 ext.22 Fax : (613) 565-0925 ------------------------------ From gadoury@dmsolutions.ca Thu Aug 21 11:37:22 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7LFbLp5002463 for ; Thu, 21 Aug 2003 11:37:22 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id h7LFSY1h010518; Thu, 21 Aug 2003 11:28:34 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail3.magma.ca (Magma's Mail Server) with ESMTP id h7LFSX0h020868; Thu, 21 Aug 2003 11:28:34 -0400 Message-ID: <3F44E4D1.2030501@dmsolutions.ca> Date: Thu, 21 Aug 2003 11:27:13 -0400 From: Dean Gadoury Reply-To: gadoury@dmsolutions.ca Organization: DM Solutions Group User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: thorne@dmsolutions.ca CC: chameleon@lists.maptools.org, mapserver-users@lists.gis.umn.edu References: <3F44DF52.60005@dmsolutions.ca> In-Reply-To: <3F44DF52.60005@dmsolutions.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Chameleon] Re: [Mapserver-users] Chameleon 1.1 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I would like to add that although the documentation for Chameleon 1.1 is quite sparse at this time it will improve as we continue development, and there should be adequate documentation by the time we have a release version of the software. Good quality documentation is a priority for us in releasing this product. Dean Christopher R. Thorne wrote: > MT-Link MT-Link wrote: > >> I tryed to install and run Chameleon 1.1 (alpha), but >> couldn't find any working example how to start it >> or how to call my own map >> Any directions ??? >> >> Regards >> >> _________________________________________________________________ >> Get MSN 8 and enjoy automatic e-mail virus protection. >> http://join.msn.com/?page=features/virus >> >> _______________________________________________ >> Mapserver-users mailing list >> Mapserver-users@lists.gis.umn.edu >> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users >> > > Hello, > > Your questions are quite valid, to get you started here are a couple > of things that will help you. > > 1) Please post any further questions about Chameleon 1.1 or 1.0 to the > Chameleon Mailing list. you and all your friends ;) can join on the > http://maptools.org website here: > > http://maptools.org/chameleon/index.phtml?page=mailinglist.html > > chameleon@lists.maptools.org > > 2) As for documentation for Chameleon 1.1: It is currently under > development as a wiki page here: > > http://www.maptools.org/chameleon/wiki/moin.cgi/ > > Chameleon 1.0 documentation can be found here: > http://maptools.org/chameleon/index.phtml?page=docs.html > > %95 of the content in the installation is valid for Chameleon 1.1 > > You can also find the same documentation with your chameleon 1.1 and > 1.0 installer. > > 3) As for working examples of chameleon 1.1. Currently there is not > one found with the chameleon 1.1 installer. I will be putting together > a chameleon 1.1 sample application that will be available on the on > the chameleon download page. hopefully, I will be able to post this by > the end of the day. I will let you know when it is posted. > > http://maptools.org/chameleon/index.phtml?page=downloads.html > > Thanks for you interested in Chameleon ;) > > Chris > -- ___________________________ Dean Gadoury DM Solutions Group 72 Chamberlain Ave. Third Floor Ottawa, Ontario. K1S 1V9 613 565-5056 ext. 24 gadoury@dmsolutions.ca www.dmsolutions.ca From jkeighan@cubewerx.com Thu Aug 21 14:15:29 2003 Received: from tux.cubewerx.com (209-87-249-18.storm.ca [209.87.249.18]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7LIFSp5003027 for ; Thu, 21 Aug 2003 14:15:29 -0400 Received: from cubewerx.com (jordy.cubewerx.com [192.168.2.10]) by tux.cubewerx.com (8.12.8/8.8.7) with ESMTP id h7LI6id5025719 for ; Thu, 21 Aug 2003 14:06:44 -0400 Message-ID: <3F450B65.40407@cubewerx.com> Date: Thu, 21 Aug 2003 14:11:49 -0400 From: Jordy Keighan User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: chameleon@lists.maptools.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Chameleon] Blank Page Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi i'm using cwc2-1.0.0 with mapserv-3.6.6 on linux Redhat 9. Maplab and mapserv are running fine but i get a blank page when i try to use cwc2. this is the http string i'm trying: http://server/cwc2/htdocs/cwc2.php?TEMPLATE=simplest.html&CONTEXT= can any one help me ?? thxs Jordy From thorne@dmsolutions.ca Thu Aug 21 14:26:09 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7LIQ9p5003083 for ; Thu, 21 Aug 2003 14:26:09 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id h7LIHMFE014377; Thu, 21 Aug 2003 14:17:22 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail2.magma.ca (Magma's Mail Server) with ESMTP id h7LIHIFC011204; Thu, 21 Aug 2003 14:17:22 -0400 Message-ID: <3F450CFC.4000605@dmsolutions.ca> Date: Thu, 21 Aug 2003 14:18:36 -0400 From: "Christopher R. Thorne" Reply-To: thorne@dmsolutions.ca Organization: DM Solutions Group Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jordy Keighan CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Blank Page References: <3F450B65.40407@cubewerx.com> In-Reply-To: <3F450B65.40407@cubewerx.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Jordy Keighan wrote: > Hi i'm using cwc2-1.0.0 with mapserv-3.6.6 > on linux Redhat 9. > > Maplab and mapserv are running fine but i get a blank page > when i try to use cwc2. > > this is the http string i'm trying: > http://server/cwc2/htdocs/cwc2.php?TEMPLATE=simplest.html&CONTEXT= > > can any one help me ?? > > thxs > > Jordy > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > Hello, In your Url you must point to three things in order for chameleon cwc2 1.0 to work, 1) cwc.php, 2) your legend template 3) Context file. If this is the whole url your are currently missing the context file name. eg. http://server/cwc2/htdocs/cwc2.php?TEMPLATE=simplest.html&CONTEXT=test.xml Chris -- Christopher R. Thorne GIS Specialist, DM Solutions Group Inc. http://www.dmsolutions.ca email: thorne@dmsolutions.ca Phone: (613) 565-5056 ext.22 Fax : (613) 565-0925 ------------------------------ From jkeighan@cubewerx.com Thu Aug 21 14:35:52 2003 Received: from tux.cubewerx.com (209-87-249-18.storm.ca [209.87.249.18]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7LIZop5003138 for ; Thu, 21 Aug 2003 14:35:51 -0400 Received: from cubewerx.com (jordy.cubewerx.com [192.168.2.10]) by tux.cubewerx.com (8.12.8/8.8.7) with ESMTP id h7LIR1d5025905; Thu, 21 Aug 2003 14:27:01 -0400 Message-ID: <3F451026.2070304@cubewerx.com> Date: Thu, 21 Aug 2003 14:32:06 -0400 From: Jordy Keighan User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: thorne@dmsolutions.ca CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Blank Page References: <3F450B65.40407@cubewerx.com> <3F450CFC.4000605@dmsolutions.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I tried it with the context, same problem. I get a Blank page " " with no errors reported. Jordy Christopher R. Thorne wrote: > Jordy Keighan wrote: > >> Hi i'm using cwc2-1.0.0 with mapserv-3.6.6 >> on linux Redhat 9. >> >> Maplab and mapserv are running fine but i get a blank page >> when i try to use cwc2. >> >> this is the http string i'm trying: >> http://server/cwc2/htdocs/cwc2.php?TEMPLATE=simplest.html&CONTEXT= >> >> can any one help me ?? >> >> thxs >> >> Jordy >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > Hello, > > In your Url you must point to three things in order for chameleon cwc2 > 1.0 to work, 1) cwc.php, 2) your legend template 3) Context file. If > this is the whole url your are currently missing the context file name. > eg. > http://server/cwc2/htdocs/cwc2.php?TEMPLATE=simplest.html&CONTEXT=test.xml > > > Chris From thorne@dmsolutions.ca Thu Aug 21 15:23:17 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7LJNHp5003277 for ; Thu, 21 Aug 2003 15:23:17 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca Magma's Mail Server with ESMTP id h7LJES3M009293 for ; Thu, 21 Aug 2003 15:14:33 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail2.magma.ca (Magma's Mail Server) with ESMTP id h7LJERwH003583 for ; Thu, 21 Aug 2003 15:14:28 -0400 Message-ID: <3F451A61.9090504@dmsolutions.ca> Date: Thu, 21 Aug 2003 15:15:45 -0400 From: "Christopher R. Thorne" Reply-To: thorne@dmsolutions.ca Organization: DM Solutions Group Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Blank Page References: <3F450B65.40407@cubewerx.com> <3F450CFC.4000605@dmsolutions.ca> <3F451026.2070304@cubewerx.com> In-Reply-To: <3F451026.2070304@cubewerx.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a shot in the dark, but are you setting the paths to both your TEMPLATE and CONTEXT file correctly? eg. If my web Alias is named -> msapps 'and equals' -> C:/msapps/ http://localhost/msapps/cwc2/cwc2.php?template=/msapps/cwc2/htdocs/test.html&context=msapps/cwc2/htdocs/test_context.xml If that is not the problem, have you looked at your administration configuration setting. They can be found on your local machine: http://localhost/msapps/cwc2/cwc2_admin/ If this does not help I would have to get further information from you if this is possible. Thanks Chris Jordy Keighan wrote: > I tried it with the context, same problem. > I get a Blank page " " > with no errors reported. > > Jordy > > Christopher R. Thorne wrote: > >> Jordy Keighan wrote: >> >>> Hi i'm using cwc2-1.0.0 with mapserv-3.6.6 >>> on linux Redhat 9. >>> >>> Maplab and mapserv are running fine but i get a blank page >>> when i try to use cwc2. >>> >>> this is the http string i'm trying: >>> http://server/cwc2/htdocs/cwc2.php?TEMPLATE=simplest.html&CONTEXT= >>> >>> can any one help me ?? >>> >>> thxs >>> >>> Jordy >>> >>> _______________________________________________ >>> Chameleon mailing list >>> Chameleon@lists.maptools.org >>> http://lists.maptools.org/mailman/listinfo/chameleon >>> >> Hello, >> >> In your Url you must point to three things in order for chameleon cwc2 >> 1.0 to work, 1) cwc.php, 2) your legend template 3) Context file. If >> this is the whole url your are currently missing the context file name. >> eg. >> http://server/cwc2/htdocs/cwc2.php?TEMPLATE=simplest.html&CONTEXT=test.xml >> >> >> Chris > > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- Christopher R. Thorne GIS Specialist, DM Solutions Group Inc. http://www.dmsolutions.ca email: thorne@dmsolutions.ca Phone: (613) 565-5056 ext.22 Fax : (613) 565-0925 ------------------------------ From jkeighan@cubewerx.com Thu Aug 21 15:50:19 2003 Received: from tux.cubewerx.com (209-87-249-18.storm.ca [209.87.249.18]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7LJoIp5003358 for ; Thu, 21 Aug 2003 15:50:18 -0400 Received: from cubewerx.com (jordy.cubewerx.com [192.168.2.10]) by tux.cubewerx.com (8.12.8/8.8.7) with ESMTP id h7LJfSd5026609; Thu, 21 Aug 2003 15:41:28 -0400 Message-ID: <3F45219A.3010109@cubewerx.com> Date: Thu, 21 Aug 2003 15:46:34 -0400 From: Jordy Keighan User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: thorne@dmsolutions.ca CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Blank Page References: <3F450B65.40407@cubewerx.com> <3F450CFC.4000605@dmsolutions.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: [error] [client 192.168.2.10] PHP Fatal error: Call to undefined function: selectoutputformat() in /home/httpd/html/cwc2/htdocs/cwc2.php on line 623 this error apears in my apache log file. But nothing gets printed on screen. Help please Jordy Christopher R. Thorne wrote: > Jordy Keighan wrote: > >> Hi i'm using cwc2-1.0.0 with mapserv-3.6.6 >> on linux Redhat 9. >> >> Maplab and mapserv are running fine but i get a blank page >> when i try to use cwc2. >> >> this is the http string i'm trying: >> http://server/cwc2/htdocs/cwc2.php?TEMPLATE=simplest.html&CONTEXT= >> >> can any one help me ?? >> >> thxs >> >> Jordy >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > Hello, > > In your Url you must point to three things in order for chameleon cwc2 > 1.0 to work, 1) cwc.php, 2) your legend template 3) Context file. If > this is the whole url your are currently missing the context file name. > eg. > http://server/cwc2/htdocs/cwc2.php?TEMPLATE=simplest.html&CONTEXT=test.xml > > > Chris From thorne@dmsolutions.ca Thu Aug 21 17:04:59 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7LL4xp5003674 for ; Thu, 21 Aug 2003 17:04:59 -0400 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id h7LKuEOi014719 for ; Thu, 21 Aug 2003 16:56:14 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail1.magma.ca (Magma's Mail Server) with ESMTP id h7LKuDl1006064 for ; Thu, 21 Aug 2003 16:56:14 -0400 Message-ID: <3F45323A.2030608@dmsolutions.ca> Date: Thu, 21 Aug 2003 16:57:30 -0400 From: "Christopher R. Thorne" Reply-To: thorne@dmsolutions.ca Organization: DM Solutions Group Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Blank Page References: <3F450B65.40407@cubewerx.com> <3F450CFC.4000605@dmsolutions.ca> <3F45219A.3010109@cubewerx.com> In-Reply-To: <3F45219A.3010109@cubewerx.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hello Again, Ok, two thinks 1) In your php.ini how are you defining your error_reporting parameter? In my php.ini (see below) I have my set to and yours should be the same. More error should be presented to you that can help you better. 2) What is the php_mapscript you are using? The line that you are having the error in cwc2 access the latest component in mapserver. You should have php_mapscript_40.so Chris ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Error handling and logging ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; error_reporting is a bit-field. Or each number up to get desired error ; reporting level ; E_ALL - All errors and warnings ; E_ERROR - fatal run-time errors ; E_WARNING - run-time warnings (non-fatal errors) ; E_PARSE - compile-time parse errors ; E_NOTICE - run-time notices (these are warnings which often result ; from a bug in your code, but it's possible that it was ; intentional (e.g., using an uninitialized variable and ; relying on the fact it's automatically initialized to an ; empty string) ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup ; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's ; initial startup ; E_COMPILE_ERROR - fatal compile-time errors ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors) ; E_USER_ERROR - user-generated error message ; E_USER_WARNING - user-generated warning message ; E_USER_NOTICE - user-generated notice message ; ; Examples: ; ; - Show all errors, except for notices ; ;error_reporting = E_ALL & ~E_NOTICE ; ; - Show only errors ; ;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR ; ; - Show all errors except for notices ; error_reporting = E_ALL & ~E_NOTICE ; Print out errors (as a part of the output). For production web sites, ; you're strongly encouraged to turn this feature off, and use error logging ; instead (see below). Keeping display_errors enabled on a production web site ; may reveal security information to end users, such as file paths on your Web ; server, your database schema or other information. display_errors = On ; Even when display_errors is on, errors that occur during PHP's startup ; sequence are not displayed. It's strongly recommended to keep ; display_startup_errors off, except for when debugging. display_startup_errors = Off ; Log errors into a log file (server-specific log, stderr, or error_log (below)) ; As stated above, you're strongly advised to use error logging in place of ; error displaying on production web sites. log_errors = Off ; Set maximum length of log_errors. In error_log information about the source is ; added. The default is 1024 and 0 allows to not apply any maximum length at all. log_errors_max_len = 1024 ; Do not log repeated messages. Repeated errors must occur in same file on same ; line until ignore_repeated_source is set true. ignore_repeated_errors = Off ; Ignore source of message when ignoring repeated messages. When this setting ; is On you will not log errors with repeated messages from different files or ; sourcelines. ignore_repeated_source = Off ; If this parameter is set to Off, then memory leaks will not be shown (on ; stdout or in the log). This has only effect in a debug compile, and if ; error reporting includes E_WARNING in the allowed list report_memleaks = On ; Store the last error/warning message in $php_errormsg (boolean). track_errors = Off Jordy Keighan wrote: > > [error] [client 192.168.2.10] PHP Fatal error: Call to undefined > function: selectoutputformat() in /home/httpd/html/cwc2/htdocs/cwc2.php > on line 623 > > this error apears in my apache log file. But nothing gets > printed on screen. > > Help please > > Jordy > > > Christopher R. Thorne wrote: > >> Jordy Keighan wrote: >> >>> Hi i'm using cwc2-1.0.0 with mapserv-3.6.6 >>> on linux Redhat 9. >>> >>> Maplab and mapserv are running fine but i get a blank page >>> when i try to use cwc2. >>> >>> this is the http string i'm trying: >>> http://server/cwc2/htdocs/cwc2.php?TEMPLATE=simplest.html&CONTEXT= >>> >>> can any one help me ?? >>> >>> thxs >>> >>> Jordy >>> >>> _______________________________________________ >>> Chameleon mailing list >>> Chameleon@lists.maptools.org >>> http://lists.maptools.org/mailman/listinfo/chameleon >>> >> Hello, >> >> In your Url you must point to three things in order for chameleon cwc2 >> 1.0 to work, 1) cwc.php, 2) your legend template 3) Context file. If >> this is the whole url your are currently missing the context file name. >> eg. >> http://server/cwc2/htdocs/cwc2.php?TEMPLATE=simplest.html&CONTEXT=test.xml >> >> >> Chris > > > > > -- Christopher R. Thorne GIS Specialist, DM Solutions Group Inc. http://www.dmsolutions.ca email: thorne@dmsolutions.ca Phone: (613) 565-5056 ext.22 Fax : (613) 565-0925 ------------------------------ From uli.mueller@gmx.ch Fri Aug 22 12:10:15 2003 Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by www.maptools.org (8.12.5/8.12.5) with SMTP id h7MGADp5007629 for ; Fri, 22 Aug 2003 12:10:14 -0400 Received: (qmail 17388 invoked by uid 65534); 22 Aug 2003 16:01:11 -0000 Received: from p5083EB68.dip0.t-ipconnect.de (HELO thunderbird) (80.131.235.104) by mail.gmx.net (mp027) with SMTP; 22 Aug 2003 18:01:11 +0200 From: "uli" To: Date: Fri, 22 Aug 2003 18:00:01 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Importance: Normal Subject: [Chameleon] chameleon.php not found Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi all I am struggling to get Chameleon 1.1 alpha running. The current problem I can't solve is the following PHP-message: Fatal error: Call to undefined function: getchameleonapplication() in /opt/cwc2/htdocs/TemplateParser.php on line 111 I also found that $GLOBALS['oChameleonApp'] is not defined at the point when getchameleonapplication is called. Thanks for help! Uli From mt_link44@hotmail.com Sun Aug 24 09:26:45 2003 Received: from hotmail.com (sea1-f24.sea1.hotmail.com [207.68.163.24]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7ODQbp5022222 for ; Sun, 24 Aug 2003 09:26:45 -0400 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 24 Aug 2003 06:05:04 -0700 Received: from 212.50.30.98 by sea1fd.sea1.hotmail.msn.com with HTTP; Sun, 24 Aug 2003 13:05:03 GMT X-Originating-IP: [212.50.30.98] X-Originating-Email: [mt_link44@hotmail.com] From: "MT-Link MT-Link" To: uli.mueller@gmx.ch, chameleon@lists.maptools.org Subject: Re: [Chameleon] chameleon.php not found Date: Sun, 24 Aug 2003 13:05:03 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 24 Aug 2003 13:05:04.0070 (UTC) FILETIME=[55752E60:01C36A40] Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi her Mueller, The code is ALPHA, what do you expect. Not to struggle;) The choise is yours: - to continue struggle; - give up and wait until it is fixed, documentation written and example provided. >From: "uli" >To: >Subject: [Chameleon] chameleon.php not found >Date: Fri, 22 Aug 2003 18:00:01 +0200 > >Hi all > >I am struggling to get Chameleon 1.1 alpha running. >The current problem I can't solve is the following PHP-message: > >Fatal error: Call to undefined function: getchameleonapplication() in >/opt/cwc2/htdocs/TemplateParser.php on line 111 > >I also found that $GLOBALS['oChameleonApp'] is not defined at the point >when >getchameleonapplication is called. > >Thanks for help! > >Uli > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From pagameba@magma.ca Sun Aug 24 11:27:22 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7OFRLp5022610 for ; Sun, 24 Aug 2003 11:27:22 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca Magma's Mail Server with ESMTP id h7OFHlSF027246; Sun, 24 Aug 2003 11:17:47 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail2.magma.ca (Magma's Mail Server) with ESMTP id h7OFHl9o016769; Sun, 24 Aug 2003 11:17:47 -0400 Message-ID: <3F48D70C.3020903@magma.ca> Date: Sun, 24 Aug 2003 11:17:32 -0400 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: uli CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] chameleon.php not found References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Uli, I will be posting an update to Chameleon 1.1 alpha this week, hopefully it will resolve this problem (I will check to see what might have caused this). Thanks for your feedback, it is very important to us that people outside our development team try out our new software as it is undergoing development so we can accomodate as many systems as possible, Cheers, Paul uli wrote: >Hi all > >I am struggling to get Chameleon 1.1 alpha running. >The current problem I can't solve is the following PHP-message: > >Fatal error: Call to undefined function: getchameleonapplication() in >/opt/cwc2/htdocs/TemplateParser.php on line 111 > >I also found that $GLOBALS['oChameleonApp'] is not defined at the point when >getchameleonapplication is called. > >Thanks for help! > >Uli > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > > -- -- Paul Spencer Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca From uli.mueller@gmx.ch Sun Aug 24 15:21:51 2003 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by www.maptools.org (8.12.5/8.12.5) with SMTP id h7OJLop5023283 for ; Sun, 24 Aug 2003 15:21:50 -0400 Received: (qmail 11275 invoked by uid 65534); 24 Aug 2003 19:12:13 -0000 Received: from p5083E4AA.dip0.t-ipconnect.de (HELO thunderbird) (80.131.228.170) by mail.gmx.net (mp007) with SMTP; 24 Aug 2003 21:12:13 +0200 From: "uli" To: , "uli" Cc: Subject: RE: [Chameleon] chameleon.php not found Date: Sun, 24 Aug 2003 21:11:00 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0000_01C36A84.37F5D170" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: <3F48D70C.3020903@magma.ca> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0000_01C36A84.37F5D170 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Paul I am not sure, which file to call. Is it cwc2.php (that is what I tried, when the error came up)? Or do I need my own php-file that calls chameleon.php? I did a grep on the whole chameleon source and didn't find anything like "include_once('chameleon.php')". May be a hint in this direction could solve my problem. Thanks, Uli ------------- Uli Müller geOps GeoInformatics Stephanienstrasse 4 D-79100 Freiburg Tel +49 (0)761 8814 606 / 607 FAX +49 (0)761 8814 607 mobile +49 (0)174 9689457 <<<< NEU ab Juli 2003 uli@geops.de & uli@geops.ch -------------- >-----Original Message----- >From: chameleon-admin@lists.maptools.org >[mailto:chameleon-admin@lists.maptools.org]On Behalf Of Paul Spencer >Sent: Sonntag, 24. August 2003 17:18 >To: uli >Cc: chameleon@lists.maptools.org >Subject: Re: [Chameleon] chameleon.php not found > > >Uli, > >I will be posting an update to Chameleon 1.1 alpha this week, hopefully >it will resolve this problem (I will check to see what might have caused >this). Thanks for your feedback, it is very important to us that people >outside our development team try out our new software as it is >undergoing development so we can accomodate as many systems as possible, > >Cheers, > >Paul > >uli wrote: > >>Hi all >> >>I am struggling to get Chameleon 1.1 alpha running. >>The current problem I can't solve is the following PHP-message: >> >>Fatal error: Call to undefined function: getchameleonapplication() in >>/opt/cwc2/htdocs/TemplateParser.php on line 111 >> >>I also found that $GLOBALS['oChameleonApp'] is not defined at the >point when >>getchameleonapplication is called. >> >>Thanks for help! >> >>Uli >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> >> >> > >-- >-- >Paul Spencer >Applications and Software Development >DM Solutions Group Inc. >http://www.dmsolutions.ca > > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > ------=_NextPart_000_0000_01C36A84.37F5D170 Content-Type: text/x-vcard; name="=?iso-8859-1?Q?Uli_M=FCller.vcf?=" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="=?iso-8859-1?Q?Uli_M=FCller.vcf?=" BEGIN:VCARD VERSION:2.1 N:M=FCller;Uli FN:Uli M=FCller ORG:geOps NOTE;ENCODING=3DQUOTED-PRINTABLE:=3D0D=3D0A TEL;WORK;VOICE:+49 (0761) 8814607 TEL;HOME;VOICE:+49 (0761) 8814606 TEL;CELL;VOICE:+49 (0174) 9689457 TEL;WORK;FAX:+49 (0761) 8814607 TEL;HOME;FAX:+49 (0761) 8814607 TEL;HOME:+49 (0761) 8814607 ADR;WORK:;;Stephanienstr. 4;Freiburg;;79100;Germany LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:Stephanienstr. = 4=3D0D=3D0AFreiburg 79100=3D0D=3D0AGermany ADR;HOME:;;Stephanienstr. 4;Freiburg;;79100;Germany LABEL;HOME;ENCODING=3DQUOTED-PRINTABLE:Stephanienstr. = 4=3D0D=3D0AFreiburg 79100=3D0D=3D0AGermany URL;WORK:http://www.geops.de EMAIL;PREF;INTERNET:uli@geops.de REV:20030704T080151Z END:VCARD ------=_NextPart_000_0000_01C36A84.37F5D170-- From pagameba@magma.ca Sun Aug 24 16:58:57 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7OKwvp5023542 for ; Sun, 24 Aug 2003 16:58:57 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id h7OKnHVJ010489; Sun, 24 Aug 2003 16:49:19 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail4.magma.ca (Magma's Mail Server) with ESMTP id h7OKnGIl012344; Sun, 24 Aug 2003 16:49:16 -0400 Message-ID: <3F4924C2.1010302@magma.ca> Date: Sun, 24 Aug 2003 16:49:06 -0400 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: uli CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] chameleon.php not found References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Uli, I'll make sure to include a sample in the next release this week :) You do need to create your own php file that includes chameleon.php. Typically you would create a class that sub-classes the core Chameleon class and override functions for setting up the map and template. Cheers, Paul uli wrote: >Paul >I am not sure, which file to call. Is it cwc2.php (that is what I tried, >when the error came up)? Or do I need my own php-file that calls >chameleon.php? >I did a grep on the whole chameleon source and didn't find anything like >"include_once('chameleon.php')". >May be a hint in this direction could solve my problem. >Thanks, Uli > >------------- >Uli Müller >geOps GeoInformatics >Stephanienstrasse 4 >D-79100 Freiburg >Tel +49 (0)761 8814 606 / 607 >FAX +49 (0)761 8814 607 >mobile +49 (0)174 9689457 <<<< NEU ab Juli 2003 >uli@geops.de & uli@geops.ch >-------------- > > > >>-----Original Message----- >>From: chameleon-admin@lists.maptools.org >>[mailto:chameleon-admin@lists.maptools.org]On Behalf Of Paul Spencer >>Sent: Sonntag, 24. August 2003 17:18 >>To: uli >>Cc: chameleon@lists.maptools.org >>Subject: Re: [Chameleon] chameleon.php not found >> >> >>Uli, >> >>I will be posting an update to Chameleon 1.1 alpha this week, hopefully >>it will resolve this problem (I will check to see what might have caused >>this). Thanks for your feedback, it is very important to us that people >>outside our development team try out our new software as it is >>undergoing development so we can accomodate as many systems as possible, >> >>Cheers, >> >>Paul >> >>uli wrote: >> >> >> >>>Hi all >>> >>>I am struggling to get Chameleon 1.1 alpha running. >>>The current problem I can't solve is the following PHP-message: >>> >>>Fatal error: Call to undefined function: getchameleonapplication() in >>>/opt/cwc2/htdocs/TemplateParser.php on line 111 >>> >>>I also found that $GLOBALS['oChameleonApp'] is not defined at the >>> >>> >>point when >> >> >>>getchameleonapplication is called. >>> >>>Thanks for help! >>> >>>Uli >>> >>>_______________________________________________ >>>Chameleon mailing list >>>Chameleon@lists.maptools.org >>>http://lists.maptools.org/mailman/listinfo/chameleon >>> >>> >>> >>> >>> >>-- >>-- >>Paul Spencer >>Applications and Software Development >>DM Solutions Group Inc. >>http://www.dmsolutions.ca >> >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> >> >> -- -- Paul Spencer Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca From sfournier@dmsolutions.ca Mon Aug 25 11:43:25 2003 Received: from tomts21-srv.bellnexxia.net (tomts21.bellnexxia.net [209.226.175.183]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7PFhPp5027432 for ; Mon, 25 Aug 2003 11:43:25 -0400 Received: from dmsolutions.ca ([67.68.110.202]) by tomts21-srv.bellnexxia.net (InterMail vM.5.01.06.04 201-253-122-130-104-20030726) with ESMTP id <20030825153330.HPNU368.tomts21-srv.bellnexxia.net@dmsolutions.ca>; Mon, 25 Aug 2003 11:33:30 -0400 Message-ID: <3F4A2C4A.2020503@dmsolutions.ca> Date: Mon, 25 Aug 2003 11:33:30 -0400 From: Sacha Fournier Reply-To: sfournier@dmsolutions.ca Organization: DM Solutions Group User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jordy Keighan CC: chameleon@lists.maptools.org References: <3F4500A7.8050304@cubewerx.com> <3F450983.3050309@dmsolutions.ca> <3F450F2F.3040303@cubewerx.com> <3F4A1C44.5060004@cubewerx.com> In-Reply-To: <3F4A1C44.5060004@cubewerx.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Chameleon] Re: Help whit cwc2 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, Unfortunately, Chameleon don't work with Mapserver 3.6. You'll have to install Mapserver 4.0. Jordy Keighan wrote: > > I tried the Chameleon mailing list but i got no answer. > Can you help me ? > > i'm using cwc2-1.0.0 with mapserv-3.6.6 > on linux Redhat 9 with the latest cwc2. > > When i try Chameleon i get this error > > [error] [client 192.168.2.10] PHP Fatal error: Call to undefined > function: selectoutputformat() in /home/httpd/html/cwc2/htdocs/cwc2.php > on line 623 > > this error apears in my apache log file. But nothing gets > printed on screen ( Browser ). > > Maplab and mapserv are running fine but i get this blank page > when i try to use cwc2. > > this is the http string i'm trying: > http://server/cwc2/htdocs/cwc2.php?TEMPLATE=simplest.html&CONTEXT=test.xml > > > thxs > > Jordy > > -- Sacha Fournier Applications Developer DM Solutions Group sfournier@dmsolutions.ca tel: 418.696.5056 fax: 418.696.5056 www.dmsolutions.ca -- ------------------------------------------------- /"\ ASCII Ribbon Campaign against HTML \ / email and proprietary format X attachments. / \ ------------------------------------------------- From sfournier@dmsolutions.ca Mon Aug 25 12:01:40 2003 Received: from tomts11-srv.bellnexxia.net (tomts11.bellnexxia.net [209.226.175.55]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7PG1ep5027529 for ; Mon, 25 Aug 2003 12:01:40 -0400 Received: from dmsolutions.ca ([67.68.110.202]) by tomts11-srv.bellnexxia.net (InterMail vM.5.01.06.04 201-253-122-130-104-20030726) with ESMTP id <20030825155148.DSZB22727.tomts11-srv.bellnexxia.net@dmsolutions.ca>; Mon, 25 Aug 2003 11:51:48 -0400 Message-ID: <3F4A3094.4050702@dmsolutions.ca> Date: Mon, 25 Aug 2003 11:51:48 -0400 From: Sacha Fournier Reply-To: sfournier@dmsolutions.ca Organization: DM Solutions Group User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: chameleon@lists.maptools.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Chameleon] Public wiki Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi all, A few days ago, I created a public wiki for Chameleon. There's some documentation (not complete) and few other things. Feel free to add your tips ;) ! Since the wiki enter page is not yet accessible from the web site, where the direct url: http://www.maptools.org/chameleon/wiki/moin.cgi -- Sacha Fournier Applications Developer DM Solutions Group sfournier@dmsolutions.ca tel: 418.696.5056 fax: 418.696.5056 www.dmsolutions.ca -- ------------------------------------------------- /"\ ASCII Ribbon Campaign against HTML \ / email and proprietary format X attachments. / \ ------------------------------------------------- From morissette@dmsolutions.ca Mon Aug 25 12:33:35 2003 Received: from xcalibur.dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7PGXZp5027681 for ; Mon, 25 Aug 2003 12:33:35 -0400 Received: from dmsolutions.ca ([192.168.4.5]) by xcalibur.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id h7PGNTT18749; Mon, 25 Aug 2003 12:23:29 -0400 Message-ID: <3F4A37C4.5060603@dmsolutions.ca> Date: Mon, 25 Aug 2003 12:22:28 -0400 From: Daniel Morissette User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en, fr-ca, fr MIME-Version: 1.0 To: Jordy Keighan CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Blank Page References: <3F450B65.40407@cubewerx.com> <3F450CFC.4000605@dmsolutions.ca> <3F45219A.3010109@cubewerx.com> In-Reply-To: <3F45219A.3010109@cubewerx.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Jordy Keighan wrote: > > [error] [client 192.168.2.10] PHP Fatal error: Call to undefined > function: selectoutputformat() in /home/httpd/html/cwc2/htdocs/cwc2.php > on line 623 > [...] > >> Jordy Keighan wrote: >> >>> Hi i'm using cwc2-1.0.0 with mapserv-3.6.6 >>> on linux Redhat 9. >>> You are using version 3.6.6, Chameleon requires version 4.0 of Mapserver/MapScript. Daniel -- ------------------------------------------------------------ Daniel Morissette morissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From srector@dgso.org Mon Aug 25 14:12:31 2003 Received: from mail.dgso.org (mail.dgso.org [165.201.87.130]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7PICVp5028161 for ; Mon, 25 Aug 2003 14:12:31 -0400 Received: from 127.0.0.1 (mail.dgso.org [127.0.0.1]) by dummy.domain.name (Postfix) with SMTP id F03F62F42C2; Mon, 25 Aug 2003 12:35:34 -0500 (CDT) Received: from dgso.org (unknown [165.201.87.130]) by mail.dgso.org (Postfix) with SMTP id 4A9CB2F42BF for ; Mon, 25 Aug 2003 12:35:26 -0500 (CDT) Received: from 192.168.64.6 (SquirrelMail authenticated user srector) by mail.dgso.org with HTTP; Mon, 25 Aug 2003 12:35:26 -0500 (CDT) Message-ID: <1780.192.168.64.6.1061832926.squirrel@mail.dgso.org> Date: Mon, 25 Aug 2003 12:35:26 -0500 (CDT) From: "Steve Rector" To: X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal X-Mailer: SquirrelMail (version 1.2.6) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [Chameleon] Javascript error with IE5.5 on Win98 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: When connecting to chameleon from Windows 98 with IE5.5 I get the following javascript error and no display of the keymap or mainmap. I'm running chameleon 1.0 using the test application. Connecting locally with Galeon on Mandrake 9.1 works. Line:884 Char:22 Error: 'goCWCJSAPI.oMap.cursurpos' is null or not an object Code: 0 URL: http://xxx.xxx.xxx.xxx/cwc2/cwc2.php?TEMPLATE=test.html&CONTEXT=gmap_context.xml Steve From thorne@dmsolutions.ca Tue Aug 26 10:28:41 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7QESVp5032403 for ; Tue, 26 Aug 2003 10:28:41 -0400 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx2.magma.ca Magma's Mail Server with ESMTP id h7QEIGx1025883; Tue, 26 Aug 2003 10:18:16 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail1.magma.ca (Magma's Mail Server) with ESMTP id h7QEIE7V030781; Tue, 26 Aug 2003 10:18:16 -0400 Message-ID: <3F4B6C74.1000402@dmsolutions.ca> Date: Tue, 26 Aug 2003 10:19:32 -0400 From: "Christopher R. Thorne" Reply-To: thorne@dmsolutions.ca Organization: DM Solutions Group Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 CC: chameleon@lists.maptools.org, mapserver-users@lists.gis.umn.edu References: <3F44DF52.60005@dmsolutions.ca> In-Reply-To: <3F44DF52.60005@dmsolutions.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Chameleon] Re: [Mapserver-users] Chameleon 1.1 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Just to let you know a Chameleon 1.1 sample appliction can be downloaded under the maptool.org chameleon download page. http://www.maptools.org/chameleon/index.phtml?page=downloads.html Sorry for the delay, Chris Christopher R. Thorne wrote: > MT-Link MT-Link wrote: > >> I tryed to install and run Chameleon 1.1 (alpha), but >> couldn't find any working example how to start it >> or how to call my own map >> Any directions ??? >> >> Regards >> >> _________________________________________________________________ >> Get MSN 8 and enjoy automatic e-mail virus protection. >> http://join.msn.com/?page=features/virus >> >> _______________________________________________ >> Mapserver-users mailing list >> Mapserver-users@lists.gis.umn.edu >> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users >> > > Hello, > > Your questions are quite valid, to get you started here are a couple of > things that will help you. > > 1) Please post any further questions about Chameleon 1.1 or 1.0 to the > Chameleon Mailing list. you and all your friends ;) can join on the > http://maptools.org website here: > > http://maptools.org/chameleon/index.phtml?page=mailinglist.html > > chameleon@lists.maptools.org > > 2) As for documentation for Chameleon 1.1: It is currently under > development as a wiki page here: > > http://www.maptools.org/chameleon/wiki/moin.cgi/ > > Chameleon 1.0 documentation can be found here: > http://maptools.org/chameleon/index.phtml?page=docs.html > > %95 of the content in the installation is valid for Chameleon 1.1 > > You can also find the same documentation with your chameleon 1.1 and 1.0 > installer. > > 3) As for working examples of chameleon 1.1. Currently there is not one > found with the chameleon 1.1 installer. I will be putting together a > chameleon 1.1 sample application that will be available on the on the > chameleon download page. hopefully, I will be able to post this by the > end of the day. I will let you know when it is posted. > > http://maptools.org/chameleon/index.phtml?page=downloads.html > > Thanks for you interested in Chameleon ;) > > Chris > -- Christopher R. Thorne GIS Specialist, DM Solutions Group Inc. http://www.dmsolutions.ca email: thorne@dmsolutions.ca Phone: (613) 565-5056 ext.22 Fax : (613) 565-0925 ------------------------------ From bartvde@xs4all.nl Tue Aug 26 10:50:46 2003 Received: from smtpzilla2.xs4all.nl (smtpzilla2.xs4all.nl [194.109.127.138]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7QEojp5032484 for ; Tue, 26 Aug 2003 10:50:46 -0400 Received: from webmail.xs4all.nl (webmail4.xs4all.nl [194.109.127.38]) by smtpzilla2.xs4all.nl (8.12.9/8.12.9) with SMTP id h7QEeEmk048998 for ; Tue, 26 Aug 2003 16:40:26 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Tue, 26 Aug 2003 16:40:38 +0200 (CEST) Message-ID: <6461.212.238.227.182.1061908838.squirrel@webmail.xs4all.nl> In-Reply-To: <3F4B6C74.1000402@dmsolutions.ca> References: <3F44DF52.60005@dmsolutions.ca> <3F4B6C74.1000402@dmsolutions.ca> Date: Tue, 26 Aug 2003 16:40:38 +0200 (CEST) Subject: [Chameleon] Chameleon and CGDI questions From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, I have some questions about Chameleon. 1) can Chameleon talk to any OpenGIS WMS server, or is it totally dependent on UMN Mapserver? 2) are there any plans to create a querybuilder widget? And will it talk to mapscript or will it use some kind of OpenGIS interface? Chameleon is used in the Canadian geospatial data infrastructure. Do you also know which tools are used for the following functions: -web registry service -gazetteer -metadata service ? Thanks in advance. Best regards, Bart From Tom.Kralidis@CCRS.NRCan.gc.ca Tue Aug 26 10:59:24 2003 Received: from dns1.ccrs.nrcan.gc.ca (dns1.ccrs.nrcan.gc.ca [132.156.11.189]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7QExOp5032519 for ; Tue, 26 Aug 2003 10:59:24 -0400 Received: from s5-ccr-r1.ccrs.nrn.nrcan.gc.ca (s5-ccr-r1.ccrs.nrcan.gc.ca [132.156.20.32]) by dns1.ccrs.nrcan.gc.ca (8.12.9/8.12.9) with ESMTP id h7QEnE7O088920; Tue, 26 Aug 2003 10:49:14 -0400 (EDT) Received: by s5-ccr-r1.ccrs.nrcan.gc.ca with Internet Mail Service (5.5.2653.19) id ; Tue, 26 Aug 2003 10:49:13 -0400 Message-ID: <7CDD7B94357FD5119E800002A537C46E04FA2462@s5-ccr-r1.ccrs.nrcan.gc.ca> From: Tom.Kralidis@CCRS.NRCan.gc.ca To: bartvde@xs4all.nl, chameleon@lists.maptools.org Subject: RE: [Chameleon] Chameleon and CGDI questions Date: Tue, 26 Aug 2003 10:49:02 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-CCRS-Hits: 0.5 X-CCRS-Initial-Recip: X-Scanned-By: MIMEDefang 2.35 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: > -----Original Message----- > From: bartvde@xs4all.nl [mailto:bartvde@xs4all.nl] > Sent: Tuesday, August 26, 2003 10:41 AM > To: chameleon@lists.maptools.org > Subject: [Chameleon] Chameleon and CGDI questions > > > Hi, > > I have some questions about Chameleon. > > 1) can Chameleon talk to any OpenGIS WMS server, or is it totally > dependent on UMN Mapserver? Chameleon can talk to any OGC WMS. > 2) are there any plans to create a querybuilder widget? And > will it talk > to mapscript or will it use some kind of OpenGIS interface? > > Chameleon is used in the Canadian geospatial data > infrastructure. Do you > also know which tools are used for the following functions: > -web registry service OGC compliant catalog service > -gazetteer CGDI endorsed Gazetteer Also includes a Postal Code Service Hope this helps. ..Tom ================================= Tom Kralidis Systems Scientist Canada Centre for Remote Sensing Tel: +01-613-947-1828 http://www.cgdi.ca/ ================================= > -metadata service > ? > > Thanks in advance. > > Best regards, > Bart > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From bartvde@xs4all.nl Tue Aug 26 13:46:47 2003 Received: from smtpzilla5.xs4all.nl (smtpzilla5.xs4all.nl [194.109.127.141]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7QHklp5000539 for ; Tue, 26 Aug 2003 13:46:47 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla5.xs4all.nl (8.12.9/8.12.9) with ESMTP id h7QHa3ET078629; Tue, 26 Aug 2003 19:36:07 +0200 (CEST) To: tom.kralidis@ccrs.nrcan.gc.ca, chameleon@lists.maptools.org Subject: Re: [Chameleon] Chameleon and CGDI questions Reply-To: bartvde@xs4all.nl References: <7CDD7B94357FD5119E800002A537C46E04FA2462@s5-ccr-r1.ccrs.nrcan.gc.ca> Message-ID: Content-Type: text/plain; charset=iso-8859-15; format=flowed From: Bart van den Eijnden MIME-Version: 1.0 Date: Tue, 26 Aug 2003 19:35:55 +0200 In-Reply-To: <7CDD7B94357FD5119E800002A537C46E04FA2462@s5-ccr-r1.ccrs.nrcan.gc.ca> User-Agent: Opera7.10/Win32 M2 build 2840 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Thom, list, What exactly is the relationship between Chameleon and Mapscript? If I want to use any WMS server, do I need to use Mapscript? Does this mean that Chameleon is also an OpenGIS catalog client (and if the answer is yes, a client to a a stateless or stateful catalog)? Is Chameleon used to show the meta information? I do not exactly see what parts of the CGDI infrastructure are filled in by Chameleon, and whether or not the other components used are also opensource. Are there plans for a querybuilder widget? Thanks in advance for the answers. Bart On Tue, 26 Aug 2003 10:49:02 -0400, wrote: > > >> -----Original Message----- >> From: bartvde@xs4all.nl [mailto:bartvde@xs4all.nl] >> Sent: Tuesday, August 26, 2003 10:41 AM >> To: chameleon@lists.maptools.org >> Subject: [Chameleon] Chameleon and CGDI questions >> >> >> Hi, >> >> I have some questions about Chameleon. >> >> 1) can Chameleon talk to any OpenGIS WMS server, or is it totally >> dependent on UMN Mapserver? > > Chameleon can talk to any OGC WMS. > >> 2) are there any plans to create a querybuilder widget? And will it talk >> to mapscript or will it use some kind of OpenGIS interface? >> > >> Chameleon is used in the Canadian geospatial data infrastructure. Do you >> also know which tools are used for the following functions: >> -web registry service > > OGC compliant catalog service > >> -gazetteer > > CGDI endorsed Gazetteer > > Also includes a Postal Code Service > > Hope this helps. > > ..Tom > > ================================= > Tom Kralidis > Systems Scientist > Canada Centre for Remote Sensing > Tel: +01-613-947-1828 > http://www.cgdi.ca/ > ================================= > >> -metadata service >> ? >> >> Thanks in advance. >> >> Best regards, >> Bart >> >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > -- From jkeighan@cubewerx.com Tue Aug 26 13:47:29 2003 Received: from tux.cubewerx.com (209-87-249-18.storm.ca [209.87.249.18]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7QHlTp5000556 for ; Tue, 26 Aug 2003 13:47:29 -0400 Received: from cubewerx.com (jordy.cubewerx.com [192.168.2.10]) by tux.cubewerx.com (8.12.8/8.8.7) with ESMTP id h7QHbGd5017559 for ; Tue, 26 Aug 2003 13:37:16 -0400 Message-ID: <3F4B9C13.8010707@cubewerx.com> Date: Tue, 26 Aug 2003 13:42:43 -0400 From: Jordy Keighan User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: chameleon@lists.maptools.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Chameleon] configuration problems ! Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hello, i'm trying this string , http://jordy/cwc2/htdocs/cwc2.php?TEMPLATE=simplest.html&CONTEXT=gmap_context.xml The page apears with broken images. I'm not shure if my config file is set wrong or not? or what is the problem. Can someone help me. Here it is: cwc2_url http://jordy/cwc2/ This is the URL that points to the HTDOCS directory of the local cwc2 inst allation. server_data_path /home/httpd/html/cwc2/data/ This is where cached capabilities and other information, common to each se ssion, should be. When a user start a new session, all files from that directory are copied to user_session_tmp_path ows_schemas_location http://ogc.dmsolutions.ca URL pointing to the root of a repository of OGC schemas. See http://ogc.d msolutions.ca for an example. wms_parse_file /home/httpd/html/cwc2/htdocs/common/wmsparse/wmsparse Full file path to the binary wms parser executable ('/path/to/wmsparse' on Unix, '/path/to/wmsparse.exe' on Windows). Leave empty to use the built in PHP parser (slower ). wms_connectiontimeout 30 Maximum time in seconds that MapServer will wait for an answer from a WMS server. allow_upload_context true Enable the "Upload map context" feature? (true or false). allow_upload_template true Allow use of the 'TEMPLATE=' parameter when calling the CWC2 instance to s pecify any CWC2 HTML template url? (true or false) If set to false then the value of 'default_ template' config parameter is always used. cache_template true If template come from a remote server (http://....), the template is downl oad from that remote server and saved on local server for further loading. For performace, it i s prefered to set this value to "true". If the remote server template is dynamic, this value sh ould be set to "false" so the template will be loaded remotely every page load. validate_template true Validate the attributes of each tag in the input template. This should be set to true for debugging but may be set to false in a production environment to enhance perfo rmance. default_language en-CA Default language specifier. (en-CA or fr-CA) default_template /home/httpd/html/cwc2/htdocs/simplest.html Default HTML template to use with this CWC2 instance. Used when TEMPLATE= parameter not set, or when allow_upload_template config parameter is set to false. default_context /home/httpd/html/cwc2/htdocs/gmap_context.xml Default map context to load when starting this application map_template /home/httpd/html/cwc2/htdocs/template.map Default MapServer mapfile template to use when uploading a context file. mapscript_module php_mapscript_40.so Mapscript module name (i.e. php_mapscript_40.dll for Windows installations or php_mapscript_40.so for Unix installations). log_path /home/httpd/html/cwc2/tmp/ Directory in which to write log files. log_level LOG_NONE Control the application runtime logging level. Must be one of LOG_OFF, LO G_QUIET, LOG_VERBOSE or LOG_ALL. image_type PNG Output image type (eg: PNG, GIF). Must be uppercase. This image format MUS T be supported by your browser and GD (on the server). Please don't change that value unless yo u know what you'r doing. button_cache_path /home/httpd/html/cwc2/tmp/ms_tmp/buttons/ Directory in which to write image files generated for buttons. This direc tory must be writable by the web server user and web accessible. For performance reasons, this directory should not be cleaned out automatically. button_cache_web_path /cwc2/tmp/ms_tmp/buttons/ The URL where a browser can find cached button images. tmp_web_path /cwc2/tmp/ms_tmp/ URL where browser can find temporary files as context or images tmp_img_path /home/httpd/html/cwc2/tmp/ms_tmp/ Directory where temporary image files are put. context_root /home/httpd/html/cwc2/htdocs/ Absolute root path to context files. All context should be in that folder (or sub folder). context_maxsize 1000000 This is the context file max size that a CWC2 user can upload on the serve r template_root /home/httpd/html/cwc2/htdocs/ Absolute root path to template files. All template should be in that folde r (or sub folder). fontlist_file /home/httpd/html/cwc2/etc/fonts.txt Path and filename of the font list file used by MapServer (i.e. /path/to/f ile/fonts.txt ). symbol_file /home/httpd/html/cwc2/etc/symbols.sym Path and filename of the symbol file used by MapServer (i.e. /path/to/file /symbols.sym ). textbutton_default_font_size 11 Buttons font size in points textbutton_default_font_antialiasing true Text Button font antialiasing (true or false) gd_version gd2 Version of GD graphic library (gd, gd2) freetype_version freetype Version of Freetype library used (use "ttf" for Freetype 1.3 or "freetype" for Freetype 2.x) execution_timeout 120 The amount of time in seconds to allow PHP to process a PHP page. This in cludes (for now) the time required to draw remote WMS layers which can be lengthy. thxs Jordy From Tom.Kralidis@CCRS.NRCan.gc.ca Tue Aug 26 13:51:12 2003 Received: from dns1.ccrs.nrcan.gc.ca (dns1.ccrs.nrcan.gc.ca [132.156.11.189]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7QHpBp5000584 for ; Tue, 26 Aug 2003 13:51:11 -0400 Received: from s5-ccr-r1.ccrs.nrn.nrcan.gc.ca (s5-ccr-r1.ccrs.nrcan.gc.ca [132.156.20.32]) by dns1.ccrs.nrcan.gc.ca (8.12.9/8.12.9) with ESMTP id h7QHf17O093461; Tue, 26 Aug 2003 13:41:01 -0400 (EDT) Received: by s5-ccr-r1.ccrs.nrcan.gc.ca with Internet Mail Service (5.5.2653.19) id ; Tue, 26 Aug 2003 13:41:00 -0400 Message-ID: <7CDD7B94357FD5119E800002A537C46E04FA2466@s5-ccr-r1.ccrs.nrcan.gc.ca> From: Tom.Kralidis@CCRS.NRCan.gc.ca To: bartvde@xs4all.nl, chameleon@lists.maptools.org Subject: RE: [Chameleon] Chameleon and CGDI questions Date: Tue, 26 Aug 2003 13:40:51 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-15" X-CCRS-Hits: 0.5 X-CCRS-Initial-Recip: X-Scanned-By: MIMEDefang 2.35 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: > -----Original Message----- > From: Bart van den Eijnden [mailto:bartvde@xs4all.nl] > Sent: Tuesday, August 26, 2003 1:36 PM > To: tom.kralidis@ccrs.nrcan.gc.ca; chameleon@lists.maptools.org > Subject: Re: [Chameleon] Chameleon and CGDI questions > > > Hi Thom, list, > > What exactly is the relationship between Chameleon and > Mapscript? If I want > to use any WMS server, do I need to use Mapscript? > No, you can feed chameleon an OGC Web Map Context Document. > Does this mean that Chameleon is also an OpenGIS catalog > client (and if the > answer is yes, a client to a a stateless or stateful > catalog)? Is Chameleon > used to show the meta information? > Yes, it acts as a client to a statelss catalog. You can show the results of the catalog search through the default widget, or tweak the code. > I do not exactly see what parts of the CGDI infrastructure > are filled in by > Chameleon, and whether or not the other components used are also > opensource. > Chameleon itself is open source. The services it connects to are public. You'll have to contact the various providers of the services to see if the components used to build them are opensource. Chameleon connects to various services which are part of the CGDI and other spatial data infrastructures, such as WMS, Gazetteer, Catalog, Postal Code, and Web Map Context Documents. ..Tom > Are there plans for a querybuilder widget? > > Thanks in advance for the answers. > > Bart > > On Tue, 26 Aug 2003 10:49:02 -0400, > wrote: > > > > > > >> -----Original Message----- > >> From: bartvde@xs4all.nl [mailto:bartvde@xs4all.nl] > >> Sent: Tuesday, August 26, 2003 10:41 AM > >> To: chameleon@lists.maptools.org > >> Subject: [Chameleon] Chameleon and CGDI questions > >> > >> > >> Hi, > >> > >> I have some questions about Chameleon. > >> > >> 1) can Chameleon talk to any OpenGIS WMS server, or is it totally > >> dependent on UMN Mapserver? > > > > Chameleon can talk to any OGC WMS. > > > >> 2) are there any plans to create a querybuilder widget? > And will it talk > >> to mapscript or will it use some kind of OpenGIS interface? > >> > > > >> Chameleon is used in the Canadian geospatial data > infrastructure. Do you > >> also know which tools are used for the following functions: > >> -web registry service > > > > OGC compliant catalog service > > > >> -gazetteer > > > > CGDI endorsed Gazetteer > > > > Also includes a Postal Code Service > > > > Hope this helps. > > > > ..Tom > > > > ================================= > > Tom Kralidis > > Systems Scientist > > Canada Centre for Remote Sensing > > Tel: +01-613-947-1828 > > http://www.cgdi.ca/ > > ================================= > > > >> -metadata service > >> ? > >> > >> Thanks in advance. > >> > >> Best regards, > >> Bart > >> > >> > >> _______________________________________________ > >> Chameleon mailing list > >> Chameleon@lists.maptools.org > >> http://lists.maptools.org/mailman/listinfo/chameleon > >> > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > http://lists.maptools.org/mailman/listinfo/chameleon > > > > > > > > -- > > From morissette@dmsolutions.ca Tue Aug 26 14:30:57 2003 Received: from xcalibur.dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7QIUup5000786 for ; Tue, 26 Aug 2003 14:30:57 -0400 Received: from dmsolutions.ca ([192.168.4.5]) by xcalibur.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id h7QIKiT32519; Tue, 26 Aug 2003 14:20:44 -0400 Message-ID: <3F4BA4F3.4010505@dmsolutions.ca> Date: Tue, 26 Aug 2003 14:20:35 -0400 From: Daniel Morissette User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en, fr-ca, fr MIME-Version: 1.0 To: bartvde@xs4all.nl CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Chameleon and CGDI questions References: <7CDD7B94357FD5119E800002A537C46E04FA2466@s5-ccr-r1.ccrs.nrcan.gc.ca> In-Reply-To: <7CDD7B94357FD5119E800002A537C46E04FA2466@s5-ccr-r1.ccrs.nrcan.gc.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Tom.Kralidis@ccrs.nrcan.gc.ca wrote: >> >>What exactly is the relationship between Chameleon and >>Mapscript? If I want >>to use any WMS server, do I need to use Mapscript? >> > > > No, you can feed chameleon an OGC Web Map Context Document. > Your question isn't very clear to me, I suspect that we misunderstood what you meant and we are probably not answering the right question. So just to make sure there is no confusion: 1- Chameleon is a MapScript application... so you cannot run or install Chameleon without installing MapScript on your server. 2- Once Chameleon is installed, it can talk to *any* WMS server, and this happens through the WMS protocol... so it can talk to any remote WMS server no matter which software runs on the remote server as long as it supports WMS... but you still need MapScript locally on your own server that runs Chameleon. -- ------------------------------------------------------------ Daniel Morissette morissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From morissette@dmsolutions.ca Tue Aug 26 18:15:32 2003 Received: from xcalibur.dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7QMFWp5001487 for ; Tue, 26 Aug 2003 18:15:32 -0400 Received: from dmsolutions.ca ([192.168.4.5]) by xcalibur.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id h7QM5JT02035; Tue, 26 Aug 2003 18:05:19 -0400 Message-ID: <3F4BD993.5070501@dmsolutions.ca> Date: Tue, 26 Aug 2003 18:05:07 -0400 From: Daniel Morissette User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en, fr-ca, fr MIME-Version: 1.0 To: chameleon@lists.maptools.org CC: bartvde@xs4all.nl Subject: Re: [Chameleon] Chameleon and CGDI questions References: <7CDD7B94357FD5119E800002A537C46E04FA2466@s5-ccr-r1.ccrs.nrcan.gc.ca> <3F4BA4F3.4010505@dmsolutions.ca> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart van den Eijnden wrote: > > okay so Chameleon always depends on Mapscript. I always had the idea > Mapscript was specific for UMN Mapserver, is this a wrong assumption > then? Does Mapscript talk to UMN Mapserver through its WMS interface? MapScript *is* MapServer. MapServer comes in several flavors: CGI (mapserv) and several MapScript flavors (PHP, Perl, Python, Tcl, ...). The WMS Server interface on top of MapServer could also be considered another flavor. Chameleon uses MapServer for various things, one of them being its WMS *client* capabilities. Chameleon uses MapScript to fetch and assemble layers from remote WMS servers, reproject them, etc... > And what versions of WMS are supported? > WMS v1.0.0, 1.0.7 and 1.1.0 are supported. -- ------------------------------------------------------------ Daniel Morissette morissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From jkeighan@cubewerx.com Thu Aug 28 10:57:25 2003 Received: from tux.cubewerx.com (209-87-249-18.storm.ca [209.87.249.18]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7SEvPp5009997 for ; Thu, 28 Aug 2003 10:57:25 -0400 Received: from cubewerx.com (jordy.cubewerx.com [192.168.2.10]) by tux.cubewerx.com (8.12.8/8.8.7) with ESMTP id h7SEke8v004624; Thu, 28 Aug 2003 10:46:40 -0400 Message-ID: <3F4E171F.7060204@cubewerx.com> Date: Thu, 28 Aug 2003 10:52:15 -0400 From: Jordy Keighan User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: spencer@dmsolutions.ca, chameleon@lists.maptools.org Subject: Re: [Chameleon] configuration problems ! References: <3F4B9C13.8010707@cubewerx.com> <3F4D4FA1.9000208@magma.ca> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, I fixed this problem, but i still get all these broken images. nothing gets written in the tmp, ms_tmp and buttons directories. I also get this error : The image “http://jordy/cwc2/htdocs/common/wrapper/drawmap.php?map_session_mode=1&run_query=0&sid=3f4e1539c916d&dummy=0.32276400+1062081850” cannot be displayed, because it contains errors. Any idea ? thxs Jordy Paul Spencer wrote: > Jordy > > I think that your configuration of cwc2_url is incorrect. If you type > in http://jordy/cwc2/ do you see a list of directories like config, > data, htdocs, htdocs_admin or do you see images, js, widgets and some > php files (including cwc2.php)? > > If it is the first case, then cwc2_url should be > http://jordy/cwc2/htdocs. If it is the second case, then you should be > attempting to access http://jordy/cwc2/cwc2.php?... > > I think, from the other parameters, that it is the first case. This > may be affecting loading of images. > > Cheers, > > Paul > > Jordy Keighan wrote: > >> Hello, i'm trying this string , >> >> http://jordy/cwc2/htdocs/cwc2.php?TEMPLATE=simplest.html&CONTEXT=gmap_context.xml >> >> >> The page apears with broken images. I'm not shure if my config file >> is set wrong or not? >> or what is the problem. Can someone help me. >> >> Here it is: >> >> >> >> >> cwc2_url >> http://jordy/cwc2/ >> This is the URL that points to the HTDOCS directory of >> the local cwc2 inst >> allation. >> >> >> >> server_data_path >> /home/httpd/html/cwc2/data/ >> This is where cached capabilities and other information, >> common to each se >> ssion, should be. When a user start a new session, all files from >> that directory are copied to >> user_session_tmp_path >> >> >> >> ows_schemas_location >> http://ogc.dmsolutions.ca >> URL pointing to the root of a repository of OGC schemas. >> See http://ogc.d >> msolutions.ca for an example. >> >> >> >> wms_parse_file >> /home/httpd/html/cwc2/htdocs/common/wmsparse/wmsparse >> >> Full file path to the binary wms parser executable >> ('/path/to/wmsparse' on >> Unix, '/path/to/wmsparse.exe' on Windows). Leave empty to use the >> built in PHP parser (slower >> ). >> >> >> >> wms_connectiontimeout >> 30 >> Maximum time in seconds that MapServer will wait for an >> answer from a WMS >> server. >> >> >> >> allow_upload_context >> true >> Enable the "Upload map context" feature? (true or >> false). >> >> >> >> allow_upload_template >> true >> Allow use of the 'TEMPLATE=' parameter when calling the >> CWC2 instance to s >> pecify any CWC2 HTML template url? (true or false) If set to false >> then the value of 'default_ >> template' config parameter is always used. >> >> >> >> cache_template >> true >> If template come from a remote server (http://....), the >> template is downl >> oad from that remote server and saved on local server for further >> loading. For performace, it i >> s prefered to set this value to "true". If the remote server template >> is dynamic, this value sh >> ould be set to "false" so the template will be loaded remotely every >> page load. >> >> >> >> validate_template >> true >> Validate the attributes of each tag in the input >> template. This should be >> set to true for debugging but may be set to false in a production >> environment to enhance perfo >> rmance. >> >> >> >> default_language >> en-CA >> Default language specifier. (en-CA or fr-CA) >> >> >> >> default_template >> /home/httpd/html/cwc2/htdocs/simplest.html >> Default HTML template to use with this CWC2 instance. >> Used when TEMPLATE= >> parameter not set, or when allow_upload_template config parameter is >> set to false.> n> >> >> >> >> default_context >> /home/httpd/html/cwc2/htdocs/gmap_context.xml >> Default map context to load when starting this >> application >> >> >> >> map_template >> /home/httpd/html/cwc2/htdocs/template.map >> Default MapServer mapfile template to use when uploading >> a context file.> description> >> >> >> >> mapscript_module >> php_mapscript_40.so >> Mapscript module name (i.e. php_mapscript_40.dll for >> Windows installations >> or php_mapscript_40.so for Unix installations). >> >> >> >> log_path >> /home/httpd/html/cwc2/tmp/ >> Directory in which to write log files. >> >> >> >> log_level >> LOG_NONE >> Control the application runtime logging level. Must be >> one of LOG_OFF, LO >> G_QUIET, LOG_VERBOSE or LOG_ALL. >> >> >> >> image_type >> PNG >> Output image type (eg: PNG, GIF). Must be uppercase. >> This image format MUS >> T be supported by your browser and GD (on the server). Please don't >> change that value unless yo >> u know what you'r doing. >> >> >> >> button_cache_path >> /home/httpd/html/cwc2/tmp/ms_tmp/buttons/ >> Directory in which to write image files generated for >> buttons. This direc >> tory must be writable by the web server user and web accessible. For >> performance reasons, this >> directory should not be cleaned out automatically. >> >> >> >> button_cache_web_path >> /cwc2/tmp/ms_tmp/buttons/ >> The URL where a browser can find cached button >> images. >> >> >> >> tmp_web_path >> /cwc2/tmp/ms_tmp/ >> URL where browser can find temporary files as context or >> images> on> >> >> >> >> tmp_img_path >> /home/httpd/html/cwc2/tmp/ms_tmp/ >> Directory where temporary image files are >> put. >> >> >> >> context_root >> /home/httpd/html/cwc2/htdocs/ >> Absolute root path to context files. All context should >> be in that folder >> (or sub folder). >> >> >> >> context_maxsize >> 1000000 >> This is the context file max size that a CWC2 user can >> upload on the serve >> r >> >> >> >> template_root >> /home/httpd/html/cwc2/htdocs/ >> Absolute root path to template files. All template >> should be in that folde >> r (or sub folder). >> >> >> >> fontlist_file >> /home/httpd/html/cwc2/etc/fonts.txt >> Path and filename of the font list file used by >> MapServer (i.e. /path/to/f >> ile/fonts.txt ). >> >> >> >> symbol_file >> /home/httpd/html/cwc2/etc/symbols.sym >> Path and filename of the symbol file used by MapServer >> (i.e. /path/to/file >> /symbols.sym ). >> >> >> >> textbutton_default_font_size >> 11 >> Buttons font size in points >> >> >> >> textbutton_default_font_antialiasing >> true >> Text Button font antialiasing (true or false) >> >> >> >> gd_version >> gd2 >> Version of GD graphic library (gd, gd2) >> >> >> >> freetype_version >> freetype >> Version of Freetype library used (use "ttf" for Freetype >> 1.3 or "freetype" >> for Freetype 2.x) >> >> >> >> execution_timeout >> 120 >> The amount of time in seconds to allow PHP to process a >> PHP page. This in >> cludes (for now) the time required to draw remote WMS layers which >> can be lengthy. >> >> >> >> >> >> thxs >> >> Jordy >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > From morissette@dmsolutions.ca Thu Aug 28 11:19:53 2003 Received: from xcalibur.dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7SFJqp5010083 for ; Thu, 28 Aug 2003 11:19:53 -0400 Received: from dmsolutions.ca ([192.168.4.5]) by xcalibur.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id h7SF8YT21517; Thu, 28 Aug 2003 11:08:42 -0400 Message-ID: <3F4E1AED.3030905@dmsolutions.ca> Date: Thu, 28 Aug 2003 11:08:29 -0400 From: Daniel Morissette User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en, fr-ca, fr MIME-Version: 1.0 To: Jordy Keighan CC: spencer@dmsolutions.ca, chameleon@lists.maptools.org Subject: Re: [Chameleon] configuration problems ! References: <3F4B9C13.8010707@cubewerx.com> <3F4D4FA1.9000208@magma.ca> <3F4E171F.7060204@cubewerx.com> In-Reply-To: <3F4E171F.7060204@cubewerx.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Jordy Keighan wrote: > > I fixed this problem, but i still get all these broken images. > nothing gets written in the tmp, ms_tmp and buttons directories. > > I also get this error : > > The image > “http://jordy/cwc2/htdocs/common/wrapper/drawmap.php?map_session_mode=1&run_query=0&sid=3f4e1539c916d&dummy=0.32276400+1062081850” > cannot be displayed, because it contains errors. > > Any idea ? Does the /home/httpd/html/cwc2/tmp/ms_tmp/ directory exist and is it writable by the web user (possibly user apache)? Also, if you paste this drawmap.php URL in a web browser, do you see any error message? Daniel -- ------------------------------------------------------------ Daniel Morissette morissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From jkeighan@cubewerx.com Thu Aug 28 13:03:52 2003 Received: from tux.cubewerx.com (209-87-249-18.storm.ca [209.87.249.18]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7SH3lp5010440 for ; Thu, 28 Aug 2003 13:03:52 -0400 Received: from cubewerx.com (jordy.cubewerx.com [192.168.2.10]) by tux.cubewerx.com (8.12.8/8.8.7) with ESMTP id h7SGr38v005846; Thu, 28 Aug 2003 12:53:03 -0400 Message-ID: <3F4E34BF.5040206@cubewerx.com> Date: Thu, 28 Aug 2003 12:58:39 -0400 From: Jordy Keighan User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Morissette , Chameleon@lists.maptools.org Subject: Re: [Chameleon] configuration problems ! References: <3F4B9C13.8010707@cubewerx.com> <3F4D4FA1.9000208@magma.ca> <3F4E171F.7060204@cubewerx.com> <3F4E1AED.3030905@dmsolutions.ca> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Daniel, Yes these directories a wrx by all. If i paste the drawmap.php url in a browser nothing happens. I only get this error by right clicking on the broken image. the only file that gets written in /home/httpd/html/cwc2/tmp/ is a log file. here it is. [Thu.Aug.28.2003.12:50:01] AppContext : getContextValue( allow_upload_context ) startin g [Thu.Aug.28.2003.12:50:01] AppContext : allow_upload_context value is true [Thu.Aug.28.2003.12:50:01] AppContext : getContextValue( allow_upload_context ) done [Thu.Aug.28.2003.12:50:01] AppContext : getContextValue( allow_upload_template ) starti ng [Thu.Aug.28.2003.12:50:01] AppContext : allow_upload_template value is true [Thu.Aug.28.2003.12:50:01] AppContext : getContextValue( allow_upload_template ) done [Thu.Aug.28.2003.12:50:01] AppContext : getContextValue( validate_template ) starting [Thu.Aug.28.2003.12:50:01] AppContext : validate_template value is true [Thu.Aug.28.2003.12:50:01] AppContext : getContextValue( validate_template ) done [Thu.Aug.28.2003.12:50:01] AppContext : getContextValue( default_template ) starting [Thu.Aug.28.2003.12:50:01] AppContext : default_template value is /home/httpd/html/cw c2/htdocs/simplest.html [Thu.Aug.28.2003.12:50:01] AppContext : getContextValue( default_template ) done [Thu.Aug.28.2003.12:50:01] AppContext : getContextValue( default_context ) starting [Thu.Aug.28.2003.12:50:01] AppContext : default_context value is /home/httpd/html/cwc 2/htdocs/gmap_context.xml [Thu.Aug.28.2003.12:50:01] AppContext : getContextValue( default_context ) done [Thu.Aug.28.2003.12:50:01] AppContext : getContextValue( map_template ) starting [Thu.Aug.28.2003.12:50:01] AppContext : map_template value is /home/httpd/html/cwc2/h tdocs/template.map [Thu.Aug.28.2003.12:50:01] AppContext : getContextValue( map_template ) done [Thu.Aug.28.2003.12:50:01] AppContext : getContextValue( server_data_path ) starting [Thu.Aug.28.2003.12:50:01] AppContext : server_data_path value is /home/httpd/html/cw c2/data/ [Thu.Aug.28.2003.12:50:01] AppContext : getContextValue( server_data_path ) done [Thu.Aug.28.2003.12:50:01] AppContext : getContextValue( wms_parse_file ) starting [Thu.Aug.28.2003.12:50:01] AppContext : wms_parse_file value is /home/httpd/html/cwc2 /htdocs/common/wmsparse/wmsparse [Thu.Aug.28.2003.12:50:01] AppContext : getContextValue( wms_parse_file ) done [Thu.Aug.28.2003.12:50:01] AppContext : getContextValue( wms_connectiontimeout ) starti ng [Thu.Aug.28.2003.12:50:01] AppContext : wms_connectiontimeout value is 30 [Thu.Aug.28.2003.12:50:01] AppContext : getContextValue( wms_connectiontimeout ) done [Thu.Aug.28.2003.12:50:01] AppContext : getContextValue( ows_schemas_location ) startin g [Thu.Aug.28.2003.12:50:01] AppContext : ows_schemas_location value is http://ogc.dmso lutions.ca [Thu.Aug.28.2003.12:50:01] AppContext : getContextValue( ows_schemas_location ) done [Thu.Aug.28.2003.12:50:01] AppContext : getContextValue( textbutton_default_font_size ) starting [Thu.Aug.28.2003.12:50:01] AppContext : textbutton_default_font_size value is 11 [Thu.Aug.28.2003.12:50:01] AppContext : getContextValue( textbutton_default_font_size ) done [Thu.Aug.28.2003.12:50:01] AppContext : getContextValue( textbutton_default_font_antial iasing ) starting [Thu.Aug.28.2003.12:50:01] AppContext : textbutton_default_font_antialiasing value is true [Thu.Aug.28.2003.12:50:01] AppContext : getContextValue( textbutton_default_font_antial iasing ) done [Thu.Aug.28.2003.12:50:01] AppContext : getContextValue( gd_version ) starting [Thu.Aug.28.2003.12:50:01] AppContext : gd_version value is gd2 [Thu.Aug.28.2003.12:50:01] AppContext : getContextValue( gd_version ) done [Thu.Aug.28.2003.12:50:01] AppContext : getContextValue( freetype_version ) starting [Thu.Aug.28.2003.12:50:01] AppContext : freetype_version value is freetype [Thu.Aug.28.2003.12:50:01] AppContext : getContextValue( freetype_version ) done [Thu.Aug.28.2003.12:50:01] MapSession_RW : setTempDir() starting [Thu.Aug.28.2003.12:50:01] MapSession_RW : setTempDir() done [Thu.Aug.28.2003.12:50:01] MapSession_RW : readMapFile() starting [Thu.Aug.28.2003.12:50:01] MapSession_RW : readMapFile - Open map file[/home/httpd/ht ml/cwc2/htdocs/template.map] was successful [Thu.Aug.28.2003.12:50:01] MapSession_RW : readMapFile() done [Thu.Aug.28.2003.12:50:02] MapSession_RW : saveState() starting [Thu.Aug.28.2003.12:50:02] MapSession_RW : saveState new ID = 1062089402-2638 [Thu.Aug.28.2003.12:50:02] MapSession_RW : writeMapFile() starting [Thu.Aug.28.2003.12:50:02] MapSession_RW : writeMapFile - Save map file[/tmp/sess_3f4e32b97896c/1062089402-2638.map] was successful [Thu.Aug.28.2003.12:50:02] MapSession_RW : writeMapFile() done [Thu.Aug.28.2003.12:50:02] MapSession_RW : saveState() done I also get a sess_3f4e30add5418/ directory created in my /tmp dir. Jordy Daniel Morissette wrote: > Jordy Keighan wrote: > >> >> I fixed this problem, but i still get all these broken images. >> nothing gets written in the tmp, ms_tmp and buttons directories. >> >> I also get this error : >> >> The image >> “http://jordy/cwc2/htdocs/common/wrapper/drawmap.php?map_session_mode=1&run_query=0&sid=3f4e1539c916d&dummy=0.32276400+1062081850” >> cannot be displayed, because it contains errors. >> >> Any idea ? > > > Does the /home/httpd/html/cwc2/tmp/ms_tmp/ directory exist and is it > writable by the web user (possibly user apache)? > > Also, if you paste this drawmap.php URL in a web browser, do you see > any error message? > > Daniel From morissette@dmsolutions.ca Thu Aug 28 13:54:57 2003 Received: from xcalibur.dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7SHsvp5010579 for ; Thu, 28 Aug 2003 13:54:57 -0400 Received: from dmsolutions.ca ([192.168.4.5]) by xcalibur.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id h7SHi7T23382; Thu, 28 Aug 2003 13:44:07 -0400 Message-ID: <3F4E3F60.9090009@dmsolutions.ca> Date: Thu, 28 Aug 2003 13:44:00 -0400 From: Daniel Morissette User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en, fr-ca, fr MIME-Version: 1.0 To: Jordy Keighan CC: Chameleon@lists.maptools.org Subject: Re: [Chameleon] configuration problems ! References: <3F4B9C13.8010707@cubewerx.com> <3F4D4FA1.9000208@magma.ca> <3F4E171F.7060204@cubewerx.com> <3F4E1AED.3030905@dmsolutions.ca> <3F4E34BF.5040206@cubewerx.com> In-Reply-To: <3F4E34BF.5040206@cubewerx.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Jordy Keighan wrote: > > Yes these directories a wrx by all. > If i paste the drawmap.php url in a browser nothing happens. > I only get this error by right clicking on the broken image. > I doubt that "nothing happens" ... browsers never do "nothing". You'll either get a "500 Internal server error", or the browser can hang (wait forever for the server to return), or you can get a "Document contained no data" error, or get an empty document or what seems like one until you "View source" and see the actual error message. Without sitting at the computer we can't help without more specific information, so I would suggest that you try doing a "View Source" looking for error messages in whatever the drawmap.php URL returns. If the source is empty then that's already good to know. Also check the Apache error_log, looking for messages that could indicate what went wrong. BTW, if any other user/developer has already seen this then please jump into the discussion and send your hints... I am just trying to help because nobody else responded to Jordy, but I am really not "the one who knows" when it comes to Chameleon. Daniel -- ------------------------------------------------------------ Daniel Morissette morissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From bartvde@xs4all.nl Fri Aug 29 09:48:23 2003 Received: from smtpzilla3.xs4all.nl (smtpzilla3.xs4all.nl [194.109.127.139]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7TDmMp5014616 for ; Fri, 29 Aug 2003 09:48:23 -0400 Received: from webmail.xs4all.nl (webmail4.xs4all.nl [194.109.127.38]) by smtpzilla3.xs4all.nl (8.12.9/8.12.9) with SMTP id h7TDb8tv077148 for ; Fri, 29 Aug 2003 15:37:24 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Fri, 29 Aug 2003 15:37:24 +0200 (CEST) Message-ID: <4999.212.238.227.182.1062164244.squirrel@webmail.xs4all.nl> Date: Fri, 29 Aug 2003 15:37:24 +0200 (CEST) Subject: [chameleon] selections From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, what functionality does Chameleon provide for doing selections, for instance based on a rectangle, or based on certain values for attributes? I was thinking of doing this through the WFS part of UMN Mapserver, but ofcourse Chameleon cannot display GML datasets I guess. Does anybody know a solution for this? Best regards, Bart From Tom.Kralidis@CCRS.NRCan.gc.ca Fri Aug 29 09:53:32 2003 Received: from dns1.ccrs.nrcan.gc.ca (dns1.ccrs.nrcan.gc.ca [132.156.11.189]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7TDrWp5014643 for ; Fri, 29 Aug 2003 09:53:32 -0400 Received: from s5-ccr-r1.ccrs.nrn.nrcan.gc.ca (s5-ccr-r1.ccrs.nrcan.gc.ca [132.156.20.32]) by dns1.ccrs.nrcan.gc.ca (8.12.9/8.12.9) with ESMTP id h7TDgVYp090708; Fri, 29 Aug 2003 09:42:31 -0400 (EDT) Received: by s5-ccr-r1.ccrs.nrcan.gc.ca with Internet Mail Service (5.5.2653.19) id ; Fri, 29 Aug 2003 09:42:31 -0400 Message-ID: <7CDD7B94357FD5119E800002A537C46E04FA2488@s5-ccr-r1.ccrs.nrcan.gc.ca> From: Tom.Kralidis@CCRS.NRCan.gc.ca To: bartvde@xs4all.nl, chameleon@lists.maptools.org Subject: RE: [chameleon] selections Date: Fri, 29 Aug 2003 09:42:30 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-CCRS-Hits: 0.5 X-CCRS-Initial-Recip: X-Scanned-By: MIMEDefang 2.35 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: At this point, chameleon does not have WFS capabilities. chameleon's JavaScript API can plot 'footprints' of features, which, for example, be processed by some middleware and fed to the API. Check the chameleon JavaScript API for more information. ..Tom ================================= Tom Kralidis Systems Scientist Canada Centre for Remote Sensing Tel: +01-613-947-1828 http://www.cgdi.ca/ ================================= > -----Original Message----- > From: bartvde@xs4all.nl [mailto:bartvde@xs4all.nl] > Sent: Friday, August 29, 2003 9:37 AM > To: chameleon@lists.maptools.org > Subject: [chameleon] selections > > > Hi list, > > what functionality does Chameleon provide for doing selections, for > instance based on a rectangle, or based on certain values for > attributes? > > I was thinking of doing this through the WFS part of UMN > Mapserver, but > ofcourse Chameleon cannot display GML datasets I guess. > > Does anybody know a solution for this? > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From bartvde@xs4all.nl Fri Aug 29 10:07:40 2003 Received: from smtpzilla5.xs4all.nl (smtpzilla5.xs4all.nl [194.109.127.141]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7TE7dp5014713 for ; Fri, 29 Aug 2003 10:07:40 -0400 Received: from webmail.xs4all.nl (webmail4.xs4all.nl [194.109.127.38]) by smtpzilla5.xs4all.nl (8.12.9/8.12.9) with SMTP id h7TDuQiM005600 for ; Fri, 29 Aug 2003 15:56:41 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Fri, 29 Aug 2003 15:56:40 +0200 (CEST) Message-ID: <14540.212.238.227.182.1062165400.squirrel@webmail.xs4all.nl> In-Reply-To: <7CDD7B94357FD5119E800002A537C46E04FA2488@s5-ccr-r1.ccrs.nrcan.gc.ca> References: <7CDD7B94357FD5119E800002A537C46E04FA2488@s5-ccr-r1.ccrs.nrcan.gc.ca> Date: Fri, 29 Aug 2003 15:56:40 +0200 (CEST) Subject: RE: [chameleon] selections From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Thom, is it also an option to use the drawQuery etc. functionality of Mapscript? Could it then also be used to get the query results in a map by using any OpenGIS WMS Server as the backend? It's a shame that OpenGIS WMS still has no interface to return query results in a map. The footprints you refer to are the same as used in the rulertool or not? Thanks, Bart > > At this point, chameleon does not have WFS capabilities. > > chameleon's JavaScript API can plot 'footprints' of features, which, for > example, be processed by some middleware and fed to the API. > > Check the chameleon JavaScript API for more information. > > ..Tom > > ================================= > Tom Kralidis > Systems Scientist > Canada Centre for Remote Sensing > Tel: +01-613-947-1828 > http://www.cgdi.ca/ > ================================= > >> -----Original Message----- >> From: bartvde@xs4all.nl [mailto:bartvde@xs4all.nl] >> Sent: Friday, August 29, 2003 9:37 AM >> To: chameleon@lists.maptools.org >> Subject: [chameleon] selections >> >> >> Hi list, >> >> what functionality does Chameleon provide for doing selections, for >> instance based on a rectangle, or based on certain values for >> attributes? >> >> I was thinking of doing this through the WFS part of UMN >> Mapserver, but >> ofcourse Chameleon cannot display GML datasets I guess. >> >> Does anybody know a solution for this? >> >> Best regards, >> Bart >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > From Tom.Kralidis@CCRS.NRCan.gc.ca Fri Aug 29 10:10:19 2003 Received: from dns1.ccrs.nrcan.gc.ca (dns1.ccrs.nrcan.gc.ca [132.156.11.189]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7TEAIp5014748 for ; Fri, 29 Aug 2003 10:10:18 -0400 Received: from s5-ccr-r1.ccrs.nrn.nrcan.gc.ca (s5-ccr-r1.ccrs.nrcan.gc.ca [132.156.20.32]) by dns1.ccrs.nrcan.gc.ca (8.12.9/8.12.9) with ESMTP id h7TDxJYp091220; Fri, 29 Aug 2003 09:59:20 -0400 (EDT) Received: by s5-ccr-r1.ccrs.nrcan.gc.ca with Internet Mail Service (5.5.2653.19) id ; Fri, 29 Aug 2003 09:59:19 -0400 Message-ID: <7CDD7B94357FD5119E800002A537C46E04FA2489@s5-ccr-r1.ccrs.nrcan.gc.ca> From: Tom.Kralidis@CCRS.NRCan.gc.ca To: bartvde@xs4all.nl, chameleon@lists.maptools.org Subject: RE: [chameleon] selections Date: Fri, 29 Aug 2003 09:59:17 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-CCRS-Hits: 0.5 X-CCRS-Initial-Recip: X-Scanned-By: MIMEDefang 2.35 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: > -----Original Message----- > From: bartvde@xs4all.nl [mailto:bartvde@xs4all.nl] > Sent: Friday, August 29, 2003 9:57 AM > To: chameleon@lists.maptools.org > Subject: RE: [chameleon] selections > > > Hi Thom, > > is it also an option to use the drawQuery etc. functionality > of Mapscript? > Could it then also be used to get the query results in a map > by using any > OpenGIS WMS Server as the backend? > > It's a shame that OpenGIS WMS still has no interface to return query > results in a map. > The WMS spec optionally allows, for those who support it, a GetMap request where a WFS query is specified for the features, and an SLD for the portrayal rules, resulting in a map. I've yet to see an example of this though. > The footprints you refer to are the same as used in the > rulertool or not? > I don't think so. > Thanks, > Bart > > > > > At this point, chameleon does not have WFS capabilities. > > > > chameleon's JavaScript API can plot 'footprints' of > features, which, for > > example, be processed by some middleware and fed to the API. > > > > Check the chameleon JavaScript API for more information. > > > > ..Tom > > > > ================================= > > Tom Kralidis > > Systems Scientist > > Canada Centre for Remote Sensing > > Tel: +01-613-947-1828 > > http://www.cgdi.ca/ > > ================================= > > > >> -----Original Message----- > >> From: bartvde@xs4all.nl [mailto:bartvde@xs4all.nl] > >> Sent: Friday, August 29, 2003 9:37 AM > >> To: chameleon@lists.maptools.org > >> Subject: [chameleon] selections > >> > >> > >> Hi list, > >> > >> what functionality does Chameleon provide for doing selections, for > >> instance based on a rectangle, or based on certain values for > >> attributes? > >> > >> I was thinking of doing this through the WFS part of UMN > >> Mapserver, but > >> ofcourse Chameleon cannot display GML datasets I guess. > >> > >> Does anybody know a solution for this? > >> > >> Best regards, > >> Bart > >> _______________________________________________ > >> Chameleon mailing list > >> Chameleon@lists.maptools.org > >> http://lists.maptools.org/mailman/listinfo/chameleon > >> > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From bartvde@xs4all.nl Fri Aug 29 12:59:35 2003 Received: from smtpzilla5.xs4all.nl (smtpzilla5.xs4all.nl [194.109.127.141]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7TGxYp5015221 for ; Fri, 29 Aug 2003 12:59:35 -0400 Received: from webmail.xs4all.nl (webmail4.xs4all.nl [194.109.127.38]) by smtpzilla5.xs4all.nl (8.12.9/8.12.9) with SMTP id h7TGl9cX077342 for ; Fri, 29 Aug 2003 18:48:33 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Fri, 29 Aug 2003 18:48:33 +0200 (CEST) Message-ID: <16670.212.238.227.182.1062175713.squirrel@webmail.xs4all.nl> Date: Fri, 29 Aug 2003 18:48:33 +0200 (CEST) Subject: [chameleon] maptips From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, sorry for all the questions. I am writing an offer for a client and want to use Chameleon. Can Chameleon display maptips, where the users can select the item to use for the maptip? I could not find it in the documentation, so probably not. But is it theoretically possible, and are there plans to implement a maptip widget? Just for clarity here is an example of what I mean by maptip: http://caromap.esri.com/website/bb/MapTips/MapTips.asp Thanks for the info, Bart From woodbri@swoodbridge.com Tue Sep 2 00:14:57 2003 Received: from swoodbridge.com (dpvc-129-44-191-48.bos.east.verizon.net [129.44.191.48]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h824Evp5004457 for ; Tue, 2 Sep 2003 00:14:57 -0400 Received: from myst.swoodbridge.com ([10.1.1.7] helo=MYST) by swoodbridge.com with esmtp (Exim 3.33 #1) id 19u2NV-0007Ym-00 for chameleon@lists.maptools.org; Tue, 02 Sep 2003 00:02:49 -0400 From: woodbri@swoodbridge.com To: chameleon@lists.maptools.org Date: Tue, 02 Sep 2003 00:01:20 -0400 MIME-Version: 1.0 Reply-to: woodbri@swoodbridge.com Message-ID: <3F53DDD0.6243.19CB6FEB@localhost> Priority: normal X-mailer: Pegasus Mail for Windows (v4.02) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: [Chameleon] Help on new install Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi all, I just downloaded Chameleon 1.1 alpha (June 12, 2003) from the website. I found: http://woodbri/web2/cwc2/htdocs_admin/edit_xml_frameset.phtml and got everything configured. Problem: When I try http://woodbri/web2/cwc2/htdocs/test.php it redirects to http://woodbri/web2/cwc2/htdocs/cwc2.php?TEMPLATE=test.html&CONTEXT=gm ap_context.xml but the tarball does not include cwc2.php! So what do I do next? -Steve From pagameba@magma.ca Wed Aug 27 20:52:38 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h7S0qcp5006933 for ; Wed, 27 Aug 2003 20:52:38 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id h7S0g4bD003575 for ; Wed, 27 Aug 2003 20:42:04 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail3.magma.ca (Magma's Mail Server) with ESMTP id h7S0fwdH007808 for ; Wed, 27 Aug 2003 20:42:03 -0400 Message-ID: <3F4D4FCE.50105@magma.ca> Date: Wed, 27 Aug 2003 20:41:50 -0400 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: chameleon@lists.maptools.org Subject: [Fwd: Re: [Chameleon] configuration problems !] Content-Type: multipart/mixed; boundary="------------070203020905060107050101" Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. --------------070203020905060107050101 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit opps, forgot to cc: mailing list. --------------070203020905060107050101 Content-Type: message/rfc822; name="Re: [Chameleon] configuration problems !" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Re: [Chameleon] configuration problems !" Message-ID: <3F4D4FA1.9000208@magma.ca> Date: Wed, 27 Aug 2003 20:41:05 -0400 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jordy Keighan Subject: Re: [Chameleon] configuration problems ! References: <3F4B9C13.8010707@cubewerx.com> In-Reply-To: <3F4B9C13.8010707@cubewerx.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Jordy I think that your configuration of cwc2_url is incorrect. If you type in http://jordy/cwc2/ do you see a list of directories like config, data, htdocs, htdocs_admin or do you see images, js, widgets and some php files (including cwc2.php)? If it is the first case, then cwc2_url should be http://jordy/cwc2/htdocs. If it is the second case, then you should be attempting to access http://jordy/cwc2/cwc2.php?... I think, from the other parameters, that it is the first case. This may be affecting loading of images. Cheers, Paul Jordy Keighan wrote: > Hello, i'm trying this string , > > http://jordy/cwc2/htdocs/cwc2.php?TEMPLATE=simplest.html&CONTEXT=gmap_context.xml > > > The page apears with broken images. I'm not shure if my config file is > set wrong or not? > or what is the problem. Can someone help me. > > Here it is: > > > > > cwc2_url > http://jordy/cwc2/ > This is the URL that points to the HTDOCS > directory of the local cwc2 inst > allation. > > > > server_data_path > /home/httpd/html/cwc2/data/ > This is where cached capabilities and other > information, common to each se > ssion, should be. When a user start a new session, all files from that > directory are copied to > user_session_tmp_path > > > > ows_schemas_location > http://ogc.dmsolutions.ca > URL pointing to the root of a repository of OGC > schemas. See http://ogc.d > msolutions.ca for an example. > > > > wms_parse_file > > /home/httpd/html/cwc2/htdocs/common/wmsparse/wmsparse > > Full file path to the binary wms parser executable > ('/path/to/wmsparse' on > Unix, '/path/to/wmsparse.exe' on Windows). Leave empty to use the > built in PHP parser (slower > ). > > > > wms_connectiontimeout > 30 > Maximum time in seconds that MapServer will wait > for an answer from a WMS > server. > > > > allow_upload_context > true > Enable the "Upload map context" feature? (true or > false). > > > > allow_upload_template > true > Allow use of the 'TEMPLATE=' parameter when > calling the CWC2 instance to s > pecify any CWC2 HTML template url? (true or false) If set to false > then the value of 'default_ > template' config parameter is always used. > > > > cache_template > true > If template come from a remote server > (http://....), the template is downl > oad from that remote server and saved on local server for further > loading. For performace, it i > s prefered to set this value to "true". If the remote server template > is dynamic, this value sh > ould be set to "false" so the template will be loaded remotely every > page load. > > > > validate_template > true > Validate the attributes of each tag in the input > template. This should be > set to true for debugging but may be set to false in a production > environment to enhance perfo > rmance. > > > > default_language > en-CA > Default language specifier. (en-CA or > fr-CA) > > > > default_template > > /home/httpd/html/cwc2/htdocs/simplest.html > Default HTML template to use with this CWC2 > instance. Used when TEMPLATE= > parameter not set, or when allow_upload_template config parameter is > set to false. n> > > > > default_context > > /home/httpd/html/cwc2/htdocs/gmap_context.xml > Default map context to load when starting this > application > > > > map_template > > /home/httpd/html/cwc2/htdocs/template.map > Default MapServer mapfile template to use when > uploading a context file. description> > > > > mapscript_module > php_mapscript_40.so > Mapscript module name (i.e. php_mapscript_40.dll > for Windows installations > or php_mapscript_40.so for Unix installations). > > > > log_path > /home/httpd/html/cwc2/tmp/ > Directory in which to write log files. > > > > log_level > LOG_NONE > Control the application runtime logging level. > Must be one of LOG_OFF, LO > G_QUIET, LOG_VERBOSE or LOG_ALL. > > > > image_type > PNG > Output image type (eg: PNG, GIF). Must be > uppercase. This image format MUS > T be supported by your browser and GD (on the server). Please don't > change that value unless yo > u know what you'r doing. > > > > button_cache_path > > /home/httpd/html/cwc2/tmp/ms_tmp/buttons/ > Directory in which to write image files generated > for buttons. This direc > tory must be writable by the web server user and web accessible. For > performance reasons, this > directory should not be cleaned out automatically. > > > > button_cache_web_path > /cwc2/tmp/ms_tmp/buttons/ > The URL where a browser can find cached button > images. > > > > tmp_web_path > /cwc2/tmp/ms_tmp/ > URL where browser can find temporary files as > context or images on> > > > > tmp_img_path > /home/httpd/html/cwc2/tmp/ms_tmp/ > Directory where temporary image files are > put. > > > > context_root > /home/httpd/html/cwc2/htdocs/ > Absolute root path to context files. All context > should be in that folder > (or sub folder). > > > > context_maxsize > 1000000 > This is the context file max size that a CWC2 user > can upload on the serve > r > > > > template_root > /home/httpd/html/cwc2/htdocs/ > Absolute root path to template files. All template > should be in that folde > r (or sub folder). > > > > fontlist_file > /home/httpd/html/cwc2/etc/fonts.txt > Path and filename of the font list file used by > MapServer (i.e. /path/to/f > ile/fonts.txt ). > > > > symbol_file > /home/httpd/html/cwc2/etc/symbols.sym > Path and filename of the symbol file used by > MapServer (i.e. /path/to/file > /symbols.sym ). > > > > textbutton_default_font_size > 11 > Buttons font size in points > > > > textbutton_default_font_antialiasing > true > Text Button font antialiasing (true or > false) > > > > gd_version > gd2 > Version of GD graphic library (gd, gd2) > > > > freetype_version > freetype > Version of Freetype library used (use "ttf" for > Freetype 1.3 or "freetype" > for Freetype 2.x) > > > > execution_timeout > 120 > The amount of time in seconds to allow PHP to > process a PHP page. This in > cludes (for now) the time required to draw remote WMS layers which can > be lengthy. > > > > > > thxs > > Jordy > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- -- Paul Spencer Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca --------------070203020905060107050101-- From pagameba@magma.ca Tue Sep 2 08:35:50 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h82CZop5006596 for ; Tue, 2 Sep 2003 08:35:50 -0400 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx2.magma.ca Magma's Mail Server with ESMTP id h82CNiL6023300; Tue, 2 Sep 2003 08:23:44 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail1.magma.ca (Magma's Mail Server) with ESMTP id h82CNg0d009897; Tue, 2 Sep 2003 08:23:44 -0400 Message-ID: <3F548BBA.2070104@magma.ca> Date: Tue, 02 Sep 2003 08:23:22 -0400 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: woodbri@swoodbridge.com CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Help on new install References: <3F53DDD0.6243.19CB6FEB@localhost> In-Reply-To: <3F53DDD0.6243.19CB6FEB@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Steve, on the chameleon download page is a sample application for Chameleon 1.1. The test.php should not actually be in Chameleon 1.1, it was part of Chameleon 1.0 and no longer works with Chameleon 1.1. Cheers, Paul woodbri@swoodbridge.com wrote: >Hi all, > >I just downloaded Chameleon 1.1 alpha (June 12, 2003) from the >website. I found: > >http://woodbri/web2/cwc2/htdocs_admin/edit_xml_frameset.phtml > >and got everything configured. > >Problem: When I try > >http://woodbri/web2/cwc2/htdocs/test.php it redirects to >http://woodbri/web2/cwc2/htdocs/cwc2.php?TEMPLATE=test.html&CONTEXT=gm >ap_context.xml > >but the tarball does not include cwc2.php! > >So what do I do next? > >-Steve >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > > -- -- Paul Spencer Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca From woodbri@swoodbridge.com Wed Sep 3 00:41:22 2003 Received: from swoodbridge.com (dpvc-129-44-191-48.bos.east.verizon.net [129.44.191.48]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h834fMp5009512 for ; Wed, 3 Sep 2003 00:41:22 -0400 Received: from myst.swoodbridge.com ([10.1.1.7] helo=MYST) by swoodbridge.com with esmtp (Exim 3.33 #1) id 19uPGB-000751-00 for Chameleon@lists.maptools.org; Wed, 03 Sep 2003 00:28:47 -0400 From: woodbri@swoodbridge.com To: Chameleon@lists.maptools.org Date: Wed, 03 Sep 2003 00:27:00 -0400 MIME-Version: 1.0 Reply-to: woodbri@swoodbridge.com Message-ID: <3F553554.7620.1F094CA4@localhost> Priority: normal X-mailer: Pegasus Mail for Windows (v4.02) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: [Chameleon] Trouble with Sample app Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I loaded the chameleon_sample app and edited the paths in index.phtml to reflect my system and all I get is a Server 500 error, nothing in the php_log file and the following in the apache error.log file: [Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] Premature end of script headers: php [Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such file or directory [Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such file or directory [Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such file or directory [Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such file or directory [Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such file or directory [Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such file or directory [Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such file or directory [Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such file or directory [Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such file or directory [Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such file or directory [Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such file or directory [Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such file or directory [Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such file or directory http://woodbri/web2/cwc2/htdocs_admin/edit_xml_frameset.phtml reports: MapServer version 4.0-beta1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE Everything else is green check marks except E_NOTICE is turned off so I don't break other apps running on the server but I added error_reporting(E_ALL); to the index.phtml file. -Steve From pagameba@magma.ca Wed Sep 3 09:33:42 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h83DXfp5011842 for ; Wed, 3 Sep 2003 09:33:42 -0400 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx2.magma.ca Magma's Mail Server with ESMTP id h83DLCSu027003; Wed, 3 Sep 2003 09:21:17 -0400 Received: from magma.ca ([216.191.227.34]) by mail1.magma.ca (Magma's Mail Server) with ESMTP id h83DLCSd019140; Wed, 3 Sep 2003 09:21:12 -0400 Message-ID: <3F55EAC6.4010102@magma.ca> Date: Wed, 03 Sep 2003 09:21:10 -0400 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: woodbri@swoodbridge.com CC: Chameleon@lists.maptools.org Subject: Re: [Chameleon] Trouble with Sample app References: <3F553554.7620.1F094CA4@localhost> In-Reply-To: <3F553554.7620.1F094CA4@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Steve, not sure exactly what is going on here. This does work at my end. I will look into this tomorrow. I suspect a configuration problem or perhaps permissions? Cheers, Paul woodbri@swoodbridge.com wrote: >I loaded the chameleon_sample app and edited the paths in index.phtml >to reflect my system and all I get is a Server 500 error, nothing in >the php_log file and the following in the apache error.log file: > >[Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] Premature end of >script headers: php >[Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such >file or directory >[Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such >file or directory >[Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such >file or directory >[Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such >file or directory >[Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such >file or directory >[Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such >file or directory >[Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such >file or directory >[Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such >file or directory >[Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such >file or directory >[Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such >file or directory >[Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such >file or directory >[Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such >file or directory >[Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such >file or directory > >http://woodbri/web2/cwc2/htdocs_admin/edit_xml_frameset.phtml >reports: > >MapServer version 4.0-beta1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG >OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ >SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER >SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER INPUT=OGR >INPUT=GDAL INPUT=SHAPEFILE > >Everything else is green check marks except E_NOTICE is turned off so >I don't break other apps running on the server but I added > >error_reporting(E_ALL); > >to the index.phtml file. > >-Steve > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > > -- -- Paul Spencer Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca From mt_link44@hotmail.com Thu Sep 4 09:57:25 2003 Received: from hotmail.com (sea1-f37.sea1.hotmail.com [207.68.163.37]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h84DvKp5017965 for ; Thu, 4 Sep 2003 09:57:25 -0400 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 4 Sep 2003 06:32:38 -0700 Received: from 212.50.30.98 by sea1fd.sea1.hotmail.msn.com with HTTP; Thu, 04 Sep 2003 13:32:36 GMT X-Originating-IP: [212.50.30.98] X-Originating-Email: [mt_link44@hotmail.com] From: "MT-Link MT-Link" To: spencer@dmsolutions.ca, woodbri@swoodbridge.com Cc: Chameleon@lists.maptools.org Subject: Re: [Chameleon] Trouble with Sample app Date: Thu, 04 Sep 2003 13:32:36 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 04 Sep 2003 13:32:38.0119 (UTC) FILETIME=[01E44770:01C372E9] Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi all, Same things here. The message [error] [client 192.168.10.100] open: No such file or directory ... 13 times exactly. After playing a few days, copping some files from cwc2 after examining the session_file i managed to reduce the number of "[error] [client 192.168.10.100] open: No such file or directory" to 2 or: [error] [client 192.168.10.100] open: No such file or directory [error] [client 192.168.10.100] open: No such file or directory [error] [client 192.168.10.100] Premature end of script headers: php Everything shows up exept THE MAP (loading Image...Please Wait) All tools are also working (on white map window) - zooming, mouse position. ruler (measurment), etc. Keymap is showing proper responce. The offending command is drawmap.php http://localhost/cwc//common/wrapper/drawmap.php? map_session_mode=1&run_query=0&sid=3f573bff58391& dummy=0.04106600+1062681602 ,when you try to open image in a new tab/window. I did diff on files in cwc and cwc2, but nothing obwious Best Regards >From: Paul Spencer >Reply-To: spencer@dmsolutions.ca >To: woodbri@swoodbridge.com >CC: Chameleon@lists.maptools.org >Subject: Re: [Chameleon] Trouble with Sample app >Date: Wed, 03 Sep 2003 09:21:10 -0400 > >Steve, > >not sure exactly what is going on here. This does work at my end. I will >look into this tomorrow. I suspect a configuration problem or perhaps >permissions? > >Cheers, > >Paul > >woodbri@swoodbridge.com wrote: > >>I loaded the chameleon_sample app and edited the paths in index.phtml to >>reflect my system and all I get is a Server 500 error, nothing in the >>php_log file and the following in the apache error.log file: >> >>[Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] Premature end of >>script headers: php >>[Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such file or >>directory >>[Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such file or >>directory >>[Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such file or >>directory >>[Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such file or >>directory >>[Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such file or >>directory >>[Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such file or >>directory >>[Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such file or >>directory >>[Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such file or >>directory >>[Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such file or >>directory >>[Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such file or >>directory >>[Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such file or >>directory >>[Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such file or >>directory >>[Wed Sep 03 00:23:39 2003] [error] [client 10.1.1.7] open: No such file or >>directory >> >>http://woodbri/web2/cwc2/htdocs_admin/edit_xml_frameset.phtml >>reports: >> >>MapServer version 4.0-beta1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP >>OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER >>SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER INPUT=OGR INPUT=GDAL >>INPUT=SHAPEFILE >> >>Everything else is green check marks except E_NOTICE is turned off so I >>don't break other apps running on the server but I added >> >>error_reporting(E_ALL); >> >>to the index.phtml file. >> >>-Steve >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> >> >> > >-- >-- >Paul Spencer >Applications and Software Development >DM Solutions Group Inc. >http://www.dmsolutions.ca > > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From mt_link44@hotmail.com Thu Sep 4 09:59:11 2003 Received: from hotmail.com (sea1-f18.sea1.hotmail.com [207.68.163.18]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h84DxAp5017984 for ; Thu, 4 Sep 2003 09:59:11 -0400 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 4 Sep 2003 06:46:28 -0700 Received: from 212.50.30.98 by sea1fd.sea1.hotmail.msn.com with HTTP; Thu, 04 Sep 2003 13:46:28 GMT X-Originating-IP: [212.50.30.98] X-Originating-Email: [mt_link44@hotmail.com] From: "MT-Link MT-Link" To: spencer@dmsolutions.ca, woodbri@swoodbridge.com Cc: Chameleon@lists.maptools.org Subject: Re: [Chameleon] Trouble with Sample app Date: Thu, 04 Sep 2003 13:46:28 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 04 Sep 2003 13:46:28.0817 (UTC) FILETIME=[F106BC10:01C372EA] Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: And one more thing. In the beginning I got suspisios about map-parser but shp2img works perfectly on the map file generated in session_directory B.R. _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From pagameba@magma.ca Thu Sep 4 22:02:02 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h85222p5020164 for ; Thu, 4 Sep 2003 22:02:02 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca Magma's Mail Server with ESMTP id h851n7q8004389; Thu, 4 Sep 2003 21:49:07 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail3.magma.ca (Magma's Mail Server) with ESMTP id h851n7C2009289; Thu, 4 Sep 2003 21:49:07 -0400 Message-ID: <3F57EB91.3060505@magma.ca> Date: Thu, 04 Sep 2003 21:49:05 -0400 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: chameleon@lists.maptools.org Subject: Re: [chameleon] maptips References: <16670.212.238.227.182.1062175713.squirrel@webmail.xs4all.nl> In-Reply-To: <16670.212.238.227.182.1062175713.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, no there is not a widget that does this. However, we have a project that we will likely need this for and will probably implement it within the next 3 months or so. If you have a need for this sooner, you can always change our priorities with some $$ :) If you are a PHP programmer and are willing to jump in and try this out, I can provide you with some details on how I would approach it, and will help out with the implementation if possible. However, this is likely to be a reasonably tricky widget! Cheers, Paul bartvde@xs4all.nl wrote: >Hi list, > >sorry for all the questions. I am writing an offer for a client and want >to use Chameleon. > >Can Chameleon display maptips, where the users can select the item to use >for the maptip? I could not find it in the documentation, so probably not. >But is it theoretically possible, and are there plans to implement a >maptip widget? > >Just for clarity here is an example of what I mean by maptip: > >http://caromap.esri.com/website/bb/MapTips/MapTips.asp > >Thanks for the info, > >Bart >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > > -- -- Paul Spencer Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca From michel_brunet007@yahoo.ca Mon Sep 8 17:36:40 2003 Received: from web11606.mail.yahoo.com (web11606.mail.yahoo.com [216.136.172.58]) by www.maptools.org (8.12.5/8.12.5) with SMTP id h88Ladp5011219 for ; Mon, 8 Sep 2003 17:36:40 -0400 Message-ID: <20030908212237.33815.qmail@web11606.mail.yahoo.com> Received: from [64.230.144.33] by web11606.mail.yahoo.com via HTTP; Mon, 08 Sep 2003 17:22:37 EDT Date: Mon, 8 Sep 2003 17:22:37 -0400 (EDT) From: michel brunet To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-793694116-1063056157=:30031" Subject: [Chameleon] wmsparse.exe error !! Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: --0-793694116-1063056157=:30031 Content-Type: text/plain; charset=us-ascii Hello list, I just installed cwc2 on my winXP pro machine and everything is working well but when I try to connect to a wms server: Adding server :http://www2.dmsolutions.ca/cgi-bin/mswms_gmap? I get this error. [allo] to list....OK Testing server [allo]....OK Refreshing server [allo]....Failed Building treemenu file....OK Building server list....OK The following errors occurred: 1) Parse returned 1 2) The output was: 3) An error occurred parsing capabilities. *** Execution complete - Errors Occurred *** Mike --------------------------------- Post your free ad now! Yahoo! Canada Personals --0-793694116-1063056157=:30031 Content-Type: text/html; charset=us-ascii
Hello list,
 
I just installed cwc2 on my winXP pro machine
and everything is working well but when
I try to connect to a wms server: Adding server :http://www2.dmsolutions.ca/cgi-bin/mswms_gmap?
I get this error.
 
 [allo] to list....OK
Testing server [allo]....OK
Refreshing server [allo]....Failed
Building treemenu file....OK
Building server list....OK
The following errors occurred:
1) Parse returned 1
2) The output was:
3) An error occurred parsing capabilities.
*** Execution complete - Errors Occurred ***
 
Mike




Post your free ad now! Yahoo! Canada Personals
--0-793694116-1063056157=:30031-- From mcilhagga@dmsolutions.ca Tue Sep 9 13:36:54 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h89Hasp5015419 for ; Tue, 9 Sep 2003 13:36:54 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca Magma's Mail Server with ESMTP id h89HMctK012822; Tue, 9 Sep 2003 13:22:38 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail3.magma.ca (Magma's Mail Server) with ESMTP id h89HMbsl020258; Tue, 9 Sep 2003 13:22:38 -0400 Message-ID: <3F5E0C57.4030706@dmsolutions.ca> Date: Tue, 09 Sep 2003 13:22:31 -0400 From: Dave McIlhagga User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-ca, en, en-us, fr-ca MIME-Version: 1.0 To: Chameleon , mapserver Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Chameleon] Hawaii Application Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, For anyone interested in seeing a demo of Chameleon 1.1 with MapServer 4.0 in action, here's our redeveloped Hawaii application. http://www.mapsherpa.com/hawaii2/ Comments welcome, Dave -- Dave McIlhagga DM Solutions Group http://www.dmsolutions.ca From bartvde@xs4all.nl Tue Sep 9 15:27:15 2003 Received: from smtpzilla2.xs4all.nl (smtpzilla2.xs4all.nl [194.109.127.138]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h89JREp5015778 for ; Tue, 9 Sep 2003 15:27:14 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla2.xs4all.nl (8.12.9/8.12.9) with ESMTP id h89JCeaf036110; Tue, 9 Sep 2003 21:12:41 +0200 (CEST) To: Dave McIlhagga , Chameleon , mapserver Subject: Re: [Chameleon] Hawaii Application Reply-To: bartvde@xs4all.nl References: <3F5E0C57.4030706@dmsolutions.ca> Message-ID: Content-Type: text/plain; charset=iso-8859-15; format=flowed From: Bart van den Eijnden MIME-Version: 1.0 Date: Tue, 09 Sep 2003 21:12:20 +0200 In-Reply-To: <3F5E0C57.4030706@dmsolutions.ca> User-Agent: Opera7.10/Win32 M2 build 2840 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Dave, thanks for sharing this with us. I use mainly IE 6.0. I am even amazed how much of the functionality works in Opera 7.10, exceot for the zoom-in box (big red panel in map). I do have some questions about it though: * How much time does it take an average developer, familiar with Chameleon, to build this kind of site? * I see the key map, which is unchanged in extent during zoom actions, is refreshed all the time. Is it cached at the serverside or created all the time? * Is there a way with Chameleon to move layers up and down? This is not so important for your demo with mostly point symbols. * Are all the legend images prepared at the server-side, i.e. not generated? * Is there a reason why Chameleon does not use frames? Would it require a lot of rebuilding? * What worries me a bit is the performance, is it due to your server environment or due to Chameleon? I see now after testing in Opera that the average download speed I get from your server is only 15-20 KB/s, with lows in the 5 KB/s, and highs in the 40 KB/s. * When I use the Quick view dropdown, I sometimes get a Javascript error: invalid syntax, line 690, and then a really big URL which seems to have returns after the coordinates (so I see KEYMAP_EXTENTS_MAXX=-on one line, and the actual X value on the next line of the details panel of the javascript error). I sometimes get the same error when selecting layers and updating the map. After this error almost nothing works anymore. I could not generate this error using Opera. Best regards, Bart On Tue, 09 Sep 2003 13:22:31 -0400, Dave McIlhagga wrote: > Hi, > > For anyone interested in seeing a demo of Chameleon 1.1 with MapServer > 4.0 in action, here's our redeveloped Hawaii application. > > http://www.mapsherpa.com/hawaii2/ > > Comments welcome, > > Dave -- From pagameba@magma.ca Tue Sep 9 15:45:04 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h89Jj3p5015837 for ; Tue, 9 Sep 2003 15:45:04 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca Magma's Mail Server with ESMTP id h89JUqiN023239; Tue, 9 Sep 2003 15:30:52 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail4.magma.ca (Magma's Mail Server) with ESMTP id h89JUpHV020392; Tue, 9 Sep 2003 15:30:52 -0400 Message-ID: <3F5E2A68.2060301@magma.ca> Date: Tue, 09 Sep 2003 15:30:48 -0400 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: Chameleon Subject: Re: [Chameleon] Hawaii Application References: <3F5E0C57.4030706@dmsolutions.ca> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Bart, (note I've removed the mapserver list) answers/comments in line ... Bart van den Eijnden wrote: > Hi Dave, > > thanks for sharing this with us. I use mainly IE 6.0. I am even amazed > how much of the functionality works in Opera 7.10, exceot for the > zoom-in box (big red panel in map). cool. If I get a chance to try with Opera, I will try to sort this out. It is likely something to do with differences in the javascript api implemented in Opera that we are not aware of. > > I do have some questions about it though: > > * How much time does it take an average developer, familiar with > Chameleon, to build this kind of site? This site took several days, but that was because we were also fixing issues with the legend widget at the same time. If we were doing a similar application and all the widgets we needed were working already, this would take probably about 1-2 days of template design and graphic design, 3 tops. All the work should be in laying out the page and designing graphics. > * I see the key map, which is unchanged in extent during zoom actions, > is refreshed all the time. Is it cached at the serverside or created > all the time? The keymap is re-drawn on every page refresh. There are definite optimizations that could happen here. Interestingly, the keymap is being rendered by PHP rather than by MapServer to allow for some interesting effects such as changing projections. There is a bug registered in MapServer to handle this in the lower level code, however. > * Is there a way with Chameleon to move layers up and down? This is > not so important for your demo with mostly point symbols. yes and no. There are no widgets that accomplish this directly, but there is a javascript API (cwcjsapi widget) that provides a javascript interface to moving layers around. There are also some plans for promote/demote widgets but we have no project that really needs that yet. > * Are all the legend images prepared at the server-side, i.e. not > generated? The images in this case pre-exist as gif files (or png?). There is an option to have MapServer return the key image it would have placed in the legend, although there are some issues with that (such as being limited to a preset size by the legend object in the map file). > * Is there a reason why Chameleon does not use frames? Would it > require a lot of rebuilding? Chameleon will work in frames. We are currently embedding Chameleon functionality into MapLab (well, MapEdit), which is frames-based. > * What worries me a bit is the performance, is it due to your server > environment or due to Chameleon? I see now after testing in Opera that > the average download speed I get from your server is only 15-20 KB/s, > with lows in the 5 KB/s, and highs in the 40 KB/s. Chameleon, or at least the widgets in this application, are a bit javascript heavy. This is by design and was to meet the requirements of the contract that built the technical foundation of Chameleon. It is possible to build widgets that do not use javascript at all. We are doing this for some of our clients, and it is pretty snappy in this case. There are probably many performance enhancements that we could consider in the core of Chameleon as well. These will be undertaken when we have an opportunity to do so, right now the focus is on getting the functionality all there. The connection speeds we get locally are quite a bit faster than yours (to be expected), it could be just a general internet bandwidth issue between you and us? > * When I use the Quick view dropdown, I sometimes get a Javascript > error: invalid syntax, line 690, and then a really big URL which seems > to have returns after the coordinates (so I see > KEYMAP_EXTENTS_MAXX=-on one line, and the actual X value on the next > line of the details panel of the javascript error). > I sometimes get the same error when selecting layers and updating the > map. After this error almost nothing works anymore. I could not > generate this error using Opera. This was using IE? I suspect that the form is using the GET method, which is generating URLs longer than IE can handle (known IE issue), and Opera does not have this limitation. I will ask the maintain to switch the form to POST and let you know. Cheers and thanks for taking the time to evaluate this so thoroughly. Paul > > > Best regards, > Bart > > On Tue, 09 Sep 2003 13:22:31 -0400, Dave McIlhagga > wrote: > >> Hi, >> >> For anyone interested in seeing a demo of Chameleon 1.1 with >> MapServer 4.0 in action, here's our redeveloped Hawaii application. >> >> http://www.mapsherpa.com/hawaii2/ >> >> Comments welcome, >> >> Dave > > > > -- -- Paul Spencer Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca From uli.mueller@gmx.ch Tue Sep 9 19:03:01 2003 Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by www.maptools.org (8.12.5/8.12.5) with SMTP id h89N30p5016455 for ; Tue, 9 Sep 2003 19:03:01 -0400 Received: (qmail 29497 invoked by uid 65534); 9 Sep 2003 22:48:45 -0000 Received: from p5083E23B.dip0.t-ipconnect.de (HELO thunderbird) (80.131.226.59) by mail.gmx.net (mp027) with SMTP; 10 Sep 2003 00:48:45 +0200 From: "uli" To: Date: Wed, 10 Sep 2003 00:47:38 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Subject: [Chameleon] cwcjsapi causes errors Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi I got the latest chameleon sample with chamleon-1.1alpha-20030902 to work. However when I tried to include the CWC2JSAPI, I got two error messages: 1) Some session variables had not been initialized. I could fix this by adding some code to chamelon.php. I added after line 389: $_SESSION['gszSchemasLocation'] = $this->moContext->getContextValue("ows_schemas_location"); ... the same for all missing variables 2) Now I get an "Fatal error: Call to a member function on a non-object in /opt/cwc2/htdocs/common/wrapper/map_session.php on line 1046". This line tries to access a php_mapscript-function ($anDrawingOrder = $this->oMap->getlayersdrawingorder()). $this->oMap is defined and has the correct values corresponding to my mapfile. Earlier in map_session.php, php_mapscript also seems to work (e.g. in line 238 with "$this->oMap->setextent(...);"). In the end, I can't use the navigation tools. For all of them, "loading image...please wait" shows up, but I have to wait forever. The new map does not draw. Help ? > Many thanks Uli From edwiebe@codesymphonics.com Tue Sep 9 18:59:17 2003 Received: from webdude.hobbyworkshop.biz ([205.170.222.54]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h89MxFp5016428 for ; Tue, 9 Sep 2003 18:59:17 -0400 From: "Edward Wiebe" To: "Dave McIlhagga" Cc: "Chameleon" , "mapserver" Date: Tue, 9 Sep 2003 15:44:50 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit In-Reply-To: <3F5E0C57.4030706@dmsolutions.ca> Subject: [Chameleon] RE: [Mapserver-users] Hawaii Application Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Dave, I started to take a look and right away got an error. I am running Internet Explorer 5.0 on Windows 2000. I did a little troubleshooting and found that lines 38, 111, and 268 of the 'cwc_cs.js' file are all sources of the same error. These statements are all attempting to use the 'push' method, which are not supported in IE 5.0. Just thought you'd like to know. Best Regards, Ed -----Original Message----- From: mapserver-users-admin@lists.gis.umn.edu [mailto:mapserver-users-admin@lists.gis.umn.edu]On Behalf Of Dave McIlhagga Sent: Tuesday, September 09, 2003 10:23 AM To: Chameleon; mapserver Subject: [Mapserver-users] Hawaii Application Hi, For anyone interested in seeing a demo of Chameleon 1.1 with MapServer 4.0 in action, here's our redeveloped Hawaii application. http://www.mapsherpa.com/hawaii2/ Comments welcome, Dave -- Dave McIlhagga DM Solutions Group http://www.dmsolutions.ca _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/2003 From pagameba@magma.ca Tue Sep 9 21:06:50 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h8A16op5016808 for ; Tue, 9 Sep 2003 21:06:50 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id h8A0qWcK026259; Tue, 9 Sep 2003 20:52:32 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail4.magma.ca (Magma's Mail Server) with ESMTP id h8A0qU0G020808; Tue, 9 Sep 2003 20:52:32 -0400 Message-ID: <3F5E75CB.1040309@magma.ca> Date: Tue, 09 Sep 2003 20:52:27 -0400 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: uli CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] cwcjsapi causes errors References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Uli, the cwcjsapi is one of the widgets that still remains to be ported from Chameleon 1.0 to Chameleon 1.1. I will actually be starting on it this week. so hang in there and a new dev version of Chameleon will include a working cwcjsapi widget in a few days. You should be able to work on your application without the cwcjsapi and add it in after. Cheers, Paul uli wrote: >Hi > >I got the latest chameleon sample with chamleon-1.1alpha-20030902 to work. >However when I tried to include the CWC2JSAPI, I got two error messages: > >1) Some session variables had not been initialized. I could fix this by >adding some code to chamelon.php. I added after line 389: >$_SESSION['gszSchemasLocation'] = >$this->moContext->getContextValue("ows_schemas_location"); >... the same for all missing variables > >2) Now I get an "Fatal error: Call to a member function on a non-object in >/opt/cwc2/htdocs/common/wrapper/map_session.php on line 1046". This line >tries to access a php_mapscript-function ($anDrawingOrder = >$this->oMap->getlayersdrawingorder()). >$this->oMap is defined and has the correct values corresponding to my >mapfile. Earlier in map_session.php, php_mapscript also seems to work (e.g. >in line 238 with "$this->oMap->setextent(...);"). > >In the end, I can't use the navigation tools. For all of them, "loading >image...please wait" shows up, but I have to wait forever. The new map does >not draw. > >Help ? > Many thanks > >Uli > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > > -- -- Paul Spencer Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca From pagameba@magma.ca Wed Sep 10 09:14:38 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h8ADEbp5019560 for ; Wed, 10 Sep 2003 09:14:38 -0400 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx2.magma.ca Magma's Mail Server with ESMTP id h8AD06Dl018095; Wed, 10 Sep 2003 09:00:06 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail1.magma.ca (Magma's Mail Server) with ESMTP id h8AD04cA025679; Wed, 10 Sep 2003 09:00:07 -0400 Message-ID: <3F5F2050.7060108@magma.ca> Date: Wed, 10 Sep 2003 09:00:00 -0400 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Edward Wiebe CC: Chameleon , mapserver Subject: Re: [Chameleon] RE: [Mapserver-users] Hawaii Application References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Edward, thanks for the prompt feedback. I have replaced this code in our cvs with a slightly different implementation that should be backwards compatible. The application will be updated shortly. If anyone cares ... myArray.push( obj ); is a javascript 1.2/1.3 feature. It can be replaced with: myArray[myArray.length] = obj; I was using the return value from push() which returns the new array size, as in mySize = myArray.push( obj );, this can be done as: mySize = myArray.length; myArray[mySize] = obj; Cheers, Paul Edward Wiebe wrote: >Hi Dave, > >I started to take a look and right away got an error. I am running Internet >Explorer 5.0 on Windows 2000. I did a little troubleshooting and found that >lines 38, 111, and 268 of the 'cwc_cs.js' file are all sources of the same >error. These statements are all attempting to use the 'push' method, which >are not supported in IE 5.0. > >Just thought you'd like to know. > >Best Regards, > >Ed > >-----Original Message----- >From: mapserver-users-admin@lists.gis.umn.edu >[mailto:mapserver-users-admin@lists.gis.umn.edu]On Behalf Of Dave >McIlhagga >Sent: Tuesday, September 09, 2003 10:23 AM >To: Chameleon; mapserver >Subject: [Mapserver-users] Hawaii Application > > >Hi, > >For anyone interested in seeing a demo of Chameleon 1.1 with MapServer >4.0 in action, here's our redeveloped Hawaii application. > >http://www.mapsherpa.com/hawaii2/ > >Comments welcome, > >Dave >-- >Dave McIlhagga >DM Solutions Group >http://www.dmsolutions.ca > > > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users@lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > >--- >Incoming mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/2003 > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/2003 > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > > -- -- Paul Spencer Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca From pagameba@magma.ca Wed Sep 10 09:40:57 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h8ADeup5019641 for ; Wed, 10 Sep 2003 09:40:56 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id h8ADQV58008446; Wed, 10 Sep 2003 09:26:31 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail2.magma.ca (Magma's Mail Server) with ESMTP id h8ADQUI6028172; Wed, 10 Sep 2003 09:26:31 -0400 Message-ID: <3F5F2683.5060600@magma.ca> Date: Wed, 10 Sep 2003 09:26:27 -0400 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: MT-Link MT-Link CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] cwcjsapi causes errors References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I would suspect that they do not yet work, although fixing them up should not be too difficult. The LayerManager widget was pretty much an application specific widget for version 1.0, it may not end up in 1.1 for a while. Actually, the Legend and LegendTemplate widgets should work with 1.1, perhaps a configuration problem? I will test them today if I get a chance. Cheers, Paul MT-Link MT-Link wrote: > Hi all, > Does "query" "LayerManager", "Legend" and "LegendTemplate" > widgets work in current Chameleon 1.1 > (chamleon-1.1alpha-20030902) ? > > All my attempts to incorporate them into the demo > failed > > For example "LayerManager" widgets results in: > Fatal error: Call to a member function on a non-object in > /opt/chameleon-1.1alpha-20030902/htdocs/widgets/Layer.phtml > on line 51 > > Best Regards > > _________________________________________________________________ > Help STOP SPAM with the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=features/junkmail > > -- -- Paul Spencer Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca From mt_link44@hotmail.com Wed Sep 10 09:44:52 2003 Received: from hotmail.com (sea1-f163.sea1.hotmail.com [207.68.163.163]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h8ADipp5019664 for ; Wed, 10 Sep 2003 09:44:52 -0400 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 10 Sep 2003 06:18:32 -0700 Received: from 212.50.30.98 by sea1fd.sea1.hotmail.msn.com with HTTP; Wed, 10 Sep 2003 13:18:32 GMT X-Originating-IP: [212.50.30.98] X-Originating-Email: [mt_link44@hotmail.com] From: "MT-Link MT-Link" To: spencer@dmsolutions.ca, uli.mueller@gmx.ch Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] cwcjsapi causes errors Date: Wed, 10 Sep 2003 13:18:32 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 10 Sep 2003 13:18:32.0594 (UTC) FILETIME=[0865E720:01C3779E] Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi all, Does "query" "LayerManager", "Legend" and "LegendTemplate" widgets work in current Chameleon 1.1 (chamleon-1.1alpha-20030902) ? All my attempts to incorporate them into the demo failed For example "LayerManager" widgets results in: Fatal error: Call to a member function on a non-object in /opt/chameleon-1.1alpha-20030902/htdocs/widgets/Layer.phtml on line 51 Best Regards _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From pagameba@magma.ca Thu Sep 11 10:25:36 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h8BEPap5025088 for ; Thu, 11 Sep 2003 10:25:36 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca Magma's Mail Server with ESMTP id h8BEApD0018481; Thu, 11 Sep 2003 10:10:51 -0400 Received: from magma.ca ([216.191.227.34]) by mail4.magma.ca (Magma's Mail Server) with ESMTP id h8BEAkgb005828; Thu, 11 Sep 2003 10:10:51 -0400 Message-ID: <3F608263.2070303@magma.ca> Date: Thu, 11 Sep 2003 10:10:43 -0400 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Edward Wiebe , Chameleon on Subject: Re: [Chameleon] RE: [Mapserver-users] Hawaii Application References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, this is a known issue and is very difficult to resolve because of how the browser event model works, essentially the mouse events available to javascript tell the application that the mouse is over the image when in fact, it is not. This is still on our list of things to try to work around, but thanks for bringing it up. I will add to the chameleon bugzilla (which you can also use to report issues, access via http://www.maptools.org/chameleon/). Cheers, Paul Edward Wiebe wrote: >Hi Paul, > >It looks good! My error went away. > >I've been playing with the application (which is very cool by the way). I >have found another anomaly for you. If you size the browser such that the >map extends either beyond the right side or the bottom and click the scroll >bar in a location that would be directly over the map, the page is refreshed >as if you clicked a point on the map. I think what may be happening is the >scrollbars are not being accounted for by the code and the mouse-click is >being captured thinking the user clicked the map when in fact they are >trying to scroll the browser window. > >I hope this clear enough for you to duplicate the problem. Let me know if >you need any more clarification. > >Otherwise, great looking app! > >Ed > >-----Original Message----- >From: mapserver-users-admin@lists.gis.umn.edu >[mailto:mapserver-users-admin@lists.gis.umn.edu]On Behalf Of Paul >Spencer >Sent: Wednesday, September 10, 2003 6:00 AM >To: Edward Wiebe >Cc: Chameleon; mapserver >Subject: Re: [Chameleon] RE: [Mapserver-users] Hawaii Application > > >Edward, > >thanks for the prompt feedback. I have replaced this code in our cvs >with a slightly different implementation that should be backwards >compatible. The application will be updated shortly. > >If anyone cares ... > >myArray.push( obj ); is a javascript 1.2/1.3 feature. It can be >replaced with: > >myArray[myArray.length] = obj; > >I was using the return value from push() which returns the new array >size, as in mySize = myArray.push( obj );, this can be done as: > >mySize = myArray.length; >myArray[mySize] = obj; > >Cheers, > >Paul > >Edward Wiebe wrote: > > > >>Hi Dave, >> >>I started to take a look and right away got an error. I am running Internet >>Explorer 5.0 on Windows 2000. I did a little troubleshooting and found that >>lines 38, 111, and 268 of the 'cwc_cs.js' file are all sources of the same >>error. These statements are all attempting to use the 'push' method, which >>are not supported in IE 5.0. >> >>Just thought you'd like to know. >> >>Best Regards, >> >>Ed >> >>-----Original Message----- >>From: mapserver-users-admin@lists.gis.umn.edu >>[mailto:mapserver-users-admin@lists.gis.umn.edu]On Behalf Of Dave >>McIlhagga >>Sent: Tuesday, September 09, 2003 10:23 AM >>To: Chameleon; mapserver >>Subject: [Mapserver-users] Hawaii Application >> >> >>Hi, >> >>For anyone interested in seeing a demo of Chameleon 1.1 with MapServer >>4.0 in action, here's our redeveloped Hawaii application. >> >>http://www.mapsherpa.com/hawaii2/ >> >>Comments welcome, >> >>Dave >>-- >>Dave McIlhagga >>DM Solutions Group >>http://www.dmsolutions.ca >> >> >> >>_______________________________________________ >>Mapserver-users mailing list >>Mapserver-users@lists.gis.umn.edu >>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users >> >>--- >>Incoming mail is certified Virus Free. >>Checked by AVG anti-virus system (http://www.grisoft.com). >>Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/2003 >> >>--- >>Outgoing mail is certified Virus Free. >>Checked by AVG anti-virus system (http://www.grisoft.com). >>Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/2003 >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> >> >> >> >> > >-- >-- >Paul Spencer >Applications and Software Development >DM Solutions Group Inc. >http://www.dmsolutions.ca > > > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users@lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > >--- >Incoming mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/2003 > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/2003 > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users@lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > -- -- Paul Spencer Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca From woodbri@swoodbridge.com Thu Sep 11 12:30:02 2003 Received: from swoodbridge.com (dpvc-129-44-191-48.bos.east.verizon.net [129.44.191.48]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h8BGU2p5025663 for ; Thu, 11 Sep 2003 12:30:02 -0400 Received: from myst.swoodbridge.com ([10.1.1.7] helo=MYST) by swoodbridge.com with esmtp (Exim 3.33 #1) id 19xU6E-0003y7-00 for Chameleon@lists.maptools.org; Thu, 11 Sep 2003 12:15:14 -0400 From: woodbri@swoodbridge.com To: Chameleon@lists.maptools.org Date: Thu, 11 Sep 2003 12:13:56 -0400 MIME-Version: 1.0 Reply-to: woodbri@swoodbridge.com Message-ID: <3F606704.5418.2F7D98B@localhost> Priority: normal X-mailer: Pegasus Mail for Windows (v4.02) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: [Chameleon] Hawaii Application Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Nice jobs guys. I am using IE 6.0.2... and noticed some strange behavior. If I widen the browser window enough the map image dis- associates from the rest of the page. IE as the page layout widens you get to a point where the text is centered on the page is dragged to the right but the image is not. -Steve From pagameba@magma.ca Thu Sep 11 12:51:14 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h8BGpDp5025731 for ; Thu, 11 Sep 2003 12:51:14 -0400 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx2.magma.ca Magma's Mail Server with ESMTP id h8BGaTN4010080; Thu, 11 Sep 2003 12:36:29 -0400 Received: from magma.ca ([216.191.227.34]) by mail1.magma.ca (Magma's Mail Server) with ESMTP id h8BGaSlP025795; Thu, 11 Sep 2003 12:36:30 -0400 Message-ID: <3F60A488.90103@magma.ca> Date: Thu, 11 Sep 2003 12:36:24 -0400 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: woodbri@swoodbridge.com, Chameleon Subject: Re: [Chameleon] Hawaii Application References: <3F606704.5418.2F7D98B@localhost> In-Reply-To: <3F606704.5418.2F7D98B@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Steve, thanks for pointing that out. This highlights an interesting problem. The map image is a DHTML layer that is positioned as the page loads. It can be repositioned, but we don't (I don't even know if we can) trap page resizes ... in NS/Mozilla, they reload the page on a resize. IE doesn't. The issue can be resolved with template design, I believe. In this case, the page could be kept at a fixed position from the left of the page. I *think* another option that could be used in pages that want to center themselves would be to connect to the window resize event (from http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/events.asp you can see the onresize event properties) using something like: (note: not tested, should test for browser version etc first) I may consider looking into repositioning the map image on a resize event in IE as well, I'll add an enhancement bug for that. Cheers, Paul woodbri@swoodbridge.com wrote: >Nice jobs guys. I am using IE 6.0.2... and noticed some strange >behavior. If I widen the browser window enough the map image dis- >associates from the rest of the page. IE as the page layout widens >you get to a point where the text is centered on the page is dragged >to the right but the image is not. > >-Steve >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > > -- -- Paul Spencer Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca From edwiebe@codesymphonics.com Wed Sep 10 22:22:01 2003 Received: from webdude.hobbyworkshop.biz ([205.170.222.54]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h8B2M0p5022013 for ; Wed, 10 Sep 2003 22:22:01 -0400 From: "Edward Wiebe" To: Cc: "Chameleon" , "mapserver" Subject: RE: [Chameleon] RE: [Mapserver-users] Hawaii Application Date: Wed, 10 Sep 2003 19:07:17 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit In-Reply-To: <3F5F2050.7060108@magma.ca> Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Paul, It looks good! My error went away. I've been playing with the application (which is very cool by the way). I have found another anomaly for you. If you size the browser such that the map extends either beyond the right side or the bottom and click the scroll bar in a location that would be directly over the map, the page is refreshed as if you clicked a point on the map. I think what may be happening is the scrollbars are not being accounted for by the code and the mouse-click is being captured thinking the user clicked the map when in fact they are trying to scroll the browser window. I hope this clear enough for you to duplicate the problem. Let me know if you need any more clarification. Otherwise, great looking app! Ed -----Original Message----- From: mapserver-users-admin@lists.gis.umn.edu [mailto:mapserver-users-admin@lists.gis.umn.edu]On Behalf Of Paul Spencer Sent: Wednesday, September 10, 2003 6:00 AM To: Edward Wiebe Cc: Chameleon; mapserver Subject: Re: [Chameleon] RE: [Mapserver-users] Hawaii Application Edward, thanks for the prompt feedback. I have replaced this code in our cvs with a slightly different implementation that should be backwards compatible. The application will be updated shortly. If anyone cares ... myArray.push( obj ); is a javascript 1.2/1.3 feature. It can be replaced with: myArray[myArray.length] = obj; I was using the return value from push() which returns the new array size, as in mySize = myArray.push( obj );, this can be done as: mySize = myArray.length; myArray[mySize] = obj; Cheers, Paul Edward Wiebe wrote: >Hi Dave, > >I started to take a look and right away got an error. I am running Internet >Explorer 5.0 on Windows 2000. I did a little troubleshooting and found that >lines 38, 111, and 268 of the 'cwc_cs.js' file are all sources of the same >error. These statements are all attempting to use the 'push' method, which >are not supported in IE 5.0. > >Just thought you'd like to know. > >Best Regards, > >Ed > >-----Original Message----- >From: mapserver-users-admin@lists.gis.umn.edu >[mailto:mapserver-users-admin@lists.gis.umn.edu]On Behalf Of Dave >McIlhagga >Sent: Tuesday, September 09, 2003 10:23 AM >To: Chameleon; mapserver >Subject: [Mapserver-users] Hawaii Application > > >Hi, > >For anyone interested in seeing a demo of Chameleon 1.1 with MapServer >4.0 in action, here's our redeveloped Hawaii application. > >http://www.mapsherpa.com/hawaii2/ > >Comments welcome, > >Dave >-- >Dave McIlhagga >DM Solutions Group >http://www.dmsolutions.ca > > > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users@lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > >--- >Incoming mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/2003 > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/2003 > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > > -- -- Paul Spencer Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/2003 From pagameba@magma.ca Fri Sep 12 09:31:34 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h8CDVYp5030476 for ; Fri, 12 Sep 2003 09:31:34 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca Magma's Mail Server with ESMTP id h8CDGUch008164; Fri, 12 Sep 2003 09:16:30 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail2.magma.ca (Magma's Mail Server) with ESMTP id h8CDGTfq020295; Fri, 12 Sep 2003 09:16:30 -0400 Message-ID: <3F61C72A.8010907@magma.ca> Date: Fri, 12 Sep 2003 09:16:26 -0400 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Chameleon , cwc2@dmsolutions.ca Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Chameleon] CWC2 1.01 released Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: All, I have released CWC 1.01, a minor update to the final release of CWC2 1.0. This release adds two new widgets requested by CCRS: * ExtractContext - a button that sends the user's current context (what they are viewing) to some URL defined in the widget tag. The expectation is that this would be a web service that accepts CONTEXT= as a GET parameter and performs some service (i.e. extraction) based on the context. * ROIMode - a Navigation widget that reverses the default order of selecting a tool then dragging an ROI to allow for the selection of an ROI first, then the selection of a tool to operate on the ROI. The ROIMode widget generated some changes in several other places, most notably the MapDHTMLImage widget and the CWC JSAPI code. This has been tested and appears to work with the browsers and configurations I have available to me. You are encouraged to test this in your own test environment before production use. I have also updated the documentation a bit and fixed a few minor issues in some javascript compatibility. If you discover any problems with this update, please report bugs through bugzilla at http://www.maptools.org/bugzilla. Cheers, Paul -- -- Paul Spencer Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca From pagameba@magma.ca Fri Sep 12 09:41:40 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h8CDfep5030532 for ; Fri, 12 Sep 2003 09:41:40 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id h8CDQa4i006310; Fri, 12 Sep 2003 09:26:36 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail4.magma.ca (Magma's Mail Server) with ESMTP id h8CDQZsV008150; Fri, 12 Sep 2003 09:26:36 -0400 Message-ID: <3F61C988.1040804@magma.ca> Date: Fri, 12 Sep 2003 09:26:32 -0400 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 CC: Chameleon , cwc2@dmsolutions.ca Subject: Re: [Chameleon] CWC2 1.01 released References: <3F61C72A.8010907@magma.ca> In-Reply-To: <3F61C72A.8010907@magma.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: minor typo ... I meant to say 1.0.1 ... the website will be updated to reflect the correct version number. Cheers, Paul -- -- Paul Spencer Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca From Tom.Kralidis@CCRS.NRCan.gc.ca Fri Sep 12 09:47:18 2003 Received: from dns1.ccrs.nrcan.gc.ca (dns1.ccrs.nrcan.gc.ca [132.156.11.189]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h8CDlIp5030563 for ; Fri, 12 Sep 2003 09:47:18 -0400 Received: from s5-ccr-r1.ccrs.nrn.nrcan.gc.ca (s5-ccr-r1.ccrs.nrcan.gc.ca [132.156.20.32]) by dns1.ccrs.nrcan.gc.ca (8.12.9/8.12.9) with ESMTP id h8CDWBRx084862; Fri, 12 Sep 2003 09:32:11 -0400 (EDT) Received: by s5-ccr-r1.ccrs.nrcan.gc.ca with Internet Mail Service (5.5.2653.19) id ; Fri, 12 Sep 2003 09:32:10 -0400 Message-ID: <7CDD7B94357FD5119E800002A537C46E04FA2517@s5-ccr-r1.ccrs.nrcan.gc.ca> From: Tom.Kralidis@CCRS.NRCan.gc.ca To: spencer@dmsolutions.ca, chameleon@lists.maptools.org, cwc2@dmsolutions.ca Date: Fri, 12 Sep 2003 09:32:09 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" X-CCRS-Hits: 0.5 X-CCRS-Initial-Recip: X-Scanned-By: MIMEDefang 2.35 Subject: [Chameleon] RE: CWC2 1.01 released Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: > -----Original Message----- > From: Paul Spencer [mailto:pagameba@magma.ca] > Sent: Friday, September 12, 2003 9:16 AM > To: Chameleon; cwc2@dmsolutions.ca > Subject: CWC2 1.01 released > > > All, > > I have released CWC 1.01, a minor update to the final release of CWC2 > 1.0. This release adds two new widgets requested by CCRS: > Thanks for the update, and the updated functionality. One issue is versioning. If this is 1.0.1, http://www.maptools.org/chameleon/ downloads page is up to 1.1. Are these updates done outside of the main chameleon tree? The reason I ask is that I'd like chameleon itself to have these updates, as we, soon enough, will be keeping current instead of cwc2 as per the contract. > * ExtractContext - a button that sends the user's current > context (what > they are viewing) to some URL defined in the widget tag. The > expectation is that this would be a web service that accepts > CONTEXT= as a GET parameter and performs some > service (i.e. extraction) based on the context. > > * ROIMode - a Navigation widget that reverses the default order of > selecting a tool then dragging an ROI to allow for the > selection of an > ROI first, then the selection of a tool to operate on the ROI. The > ROIMode widget generated some changes in several other places, most > notably the MapDHTMLImage widget and the CWC JSAPI code. > This has been > tested and appears to work with the browsers and > configurations I have > available to me. You are encouraged to test this in your own test > environment before production use. > > I have also updated the documentation a bit and fixed a few > minor issues > in some javascript compatibility. > > If you discover any problems with this update, please report bugs > through bugzilla at http://www.maptools.org/bugzilla. > > Cheers, > > Paul > > -- > -- > Paul Spencer > Applications and Software Development > DM Solutions Group Inc. > http://www.dmsolutions.ca > > > From bartvde@xs4all.nl Mon Sep 15 17:00:14 2003 Received: from smtpzilla5.xs4all.nl (smtpzilla5.xs4all.nl [194.109.127.141]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h8FL09p5030265 for ; Mon, 15 Sep 2003 17:00:13 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla5.xs4all.nl (8.12.9/8.12.9) with ESMTP id h8FKi6mP055607 for ; Mon, 15 Sep 2003 22:44:12 +0200 (CEST) Date: Mon, 15 Sep 2003 22:43:40 +0200 To: "chameleon@lists.maptools.org" Subject: [chameleon] CVS access? Content-Type: text/plain; charset=iso-8859-15; format=flowed Reply-To: bartvde@xs4all.nl From: Bart van den Eijnden MIME-Version: 1.0 Message-ID: User-Agent: Opera7.10/Win32 M2 build 2840 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, is there already CVS access to the source code of Chameleon? Any directions welcome on how to access it. Best regards, Bart From sfournier@dmsolutions.ca Tue Sep 16 16:02:43 2003 Received: from xcalibur.dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h8GK2hp5002831 for ; Tue, 16 Sep 2003 16:02:43 -0400 Received: from dmsolutions.ca ([10.1.0.2]) by xcalibur.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id h8GJkNT18091; Tue, 16 Sep 2003 15:46:23 -0400 Message-ID: <3F6768E3.9070707@dmsolutions.ca> Date: Tue, 16 Sep 2003 15:47:47 -0400 From: Sacha Fournier Reply-To: sfournier@dmsolutions.ca Organization: DM Solutions Group User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: "chameleon@lists.maptools.org" Subject: Re: [chameleon] CVS access? References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, For now there's no public CVS access for Chameleon yet. We're working hard to make it available soon. Bart van den Eijnden wrote: > Hi list, > > is there already CVS access to the source code of Chameleon? > > Any directions welcome on how to access it. > > Best regards, > Bart > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- Sacha Fournier Applications Developer DM Solutions Group sfournier@dmsolutions.ca tel: 418.696.5056 fax: 418.696.5056 www.dmsolutions.ca -- ------------------------------------------------- /"\ ASCII Ribbon Campaign against HTML \ / email and proprietary format X attachments. / \ ------------------------------------------------- From mcilhagga@dmsolutions.ca Tue Sep 16 17:22:20 2003 Received: from quebec.interneqc.com ([67.70.246.222]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h8GLMKp5003066 for ; Tue, 16 Sep 2003 17:22:20 -0400 Received: from dmsolutions.ca (quebec.interneqc.com [127.0.0.1]) by quebec.interneqc.com (8.11.6/8.11.6) with ESMTP id h8GL8w332645 for ; Tue, 16 Sep 2003 17:08:58 -0400 Message-ID: <3F677B3A.8010504@dmsolutions.ca> Date: Tue, 16 Sep 2003 17:06:02 -0400 From: Dave McIlhagga User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-ca, en, en-us, fr-ca MIME-Version: 1.0 To: Chameleon Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Chameleon] [Fwd: Re: Chameleon] Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I think a lot of this discussion would be interesting for all chameleon users ... at least I learned a lot. ;) I've editted this discussion to remove anything that would be too specific to given clients etc... -------- Original Message -------- Subject: Re: Chameleon Date: Tue, 16 Sep 2003 12:38:46 -0400 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc To: bart.van.den.eijnden@geodan.nl CC: Daniel Morissette , Dave McIlhagga References: <3F672D18.30301@magma.ca> Bart van den Eijnden wrote: > Hi Paul, > > thanks for the quick reply. > > With regard to the Chameleon version. I think we will be conforming as > much as we can to OGC interfaces, because our client thinks this is > very important. But if I understand correctly from the maptools > website the best option is to use Chameleon 1.1 anyway? interesting observation. There is a significant difference between the two versions. Chameleon version 1.0 is an OGC-only version. It was built to satisfy the requirements of a contract with GeoConnections, and was responsible for adding Context support to mapserver as well as creating a Service Instance called CWC2. This service instance is an application that ingests a template file and a context file and spits out a web application. The template file contains all the tags for widgets required in the application. The core technology that processes the template file and widgets is what we took out of CWC2 and turned into Chameleon for version 1.1. So version 1.1 has no specific integration into OGC-specific stuff. It works with a template, some widgets, and a php-mapscript map object (not necessarily a map file, just a map object, and even this is optional in some circumstances). Many of the widgets created for version 1.0 relied on some very specific OGC functionality provided by the CWC2 service instance. In the new version, the CWC2 service instance needs to be re-written as a chameleon application. In the old version, the two were the same thing. The de-coupling of the underlying technology from the service instance is taking some time. The core of Chameleon 1.1 is pretty much stable now. The work is mostly in converting and testing the widgets, and this is driven by our contract priorities. These priorities currently do not include converting the CWC2 service instance and related OGC-specific widgets that may have relied on the service instance. This does not mean that you cannot use Chameleon 1.1 for OGC-centric applications, just that the existing widgets that may have helped cannot be used without some redesign. The future of Chameleon is definitely with the 1.1 version. While the web-site says alpha, it is really quite stable but some of the widgets are definitely broken. I will be repackaging the widgets into groups and distributing each group of widgets as separate downloads, which will allow us to distribute a stable Chameleon and stable widgets, while keeping some unstable use-at-your-own-risk widgets available for future work. If you are willing, it is probably worthwhile to work with Chameleon 1.1. The core is more stable, and probably faster. It can still work with all the OGC stuff that mapserver supports, this is not a problem. Plus we are more likely to fix bugs and improve Chameleon 1.1. > With regard to the query builder widget, why would you choose not to > conform to the OGC specification? Because at the mapserver side, > DmSolutions is already working on implementing SLD in combination with > Filter. Is it possible for us to join efforts on this widget? This is a client-specific requirement. They have a custom metadata database they want to build queries for in quite a specific way. We do have a couple of other projects ongoing that will be working with WFS. If you share your requirements/design for this widget with me, I may be able to push some of our efforts along the same path in these other projects, or at least identify if there will be any overlap. > With regard to the stateless catalog widget, how can there already be > one in Chameleon when the OGC only comes with a prelimenary > specification at the TC meeting in October this year? I.e. to which > specification does it comply? um. Perhaps I am talking out of the top of my hat! However, the widget queries the following location: http://ceomap2.ccrs.nrcan.gc.ca/cslt/wes/stateless-search.html which, if you load this in a browser, you will see that they call it a OGC Stateless Catalog Query Interface. :) > With regard to the extract shapefile option, it would be a small > enhancement I guess to send the URL to the user to get a "download" > option. By when do you know whether or not DmSolutions will build this > kind of functionality in the near future? This is still considered to be a potential project to be followed up at this point, I would expect to know more in a couple of weeks. Cheers, Paul > > Best regards, > Bart > > On Tue, 16 Sep 2003 11:32:40 -0400, Paul Spencer > wrote: > >> Bart, >> >> I'll take the liberty of replying in line ... >> >> Bart van den Eijnden wrote: >> >>> Hi Daniel, Paul, >>> >>> Geodan, the company I work for, is going to do a project using >>> Chameleon. This means we will internationalize Chameleon to a >>> Dutch version (all we need to do is >>> adapt the dbf files or not?). >> >> >> More or less. The main mechanism for translation is to provide >> separate templates in each language, and the main application then >> switches templates based on some application-specific logic. For >> CWC2 (Chameleon 1.0) there is a language widget that was provided for >> this purpose, it has no interface and just provides a javascript >> function called setlanguage() that can be called from your own code. >> In Chameleon 1.1, there widget will no longer work (it hasn't been >> modified to work with 1.1), and may actually be redundant (I have to >> think about it). But in 1.1 you can easily provide the functionality >> to choose between templates in your Chameleon subclass. >> >> The widgets themselves try to get user-interface-specific text out of >> dbf files, so for these, it is a matter of adding a new column to the >> dbf files and providing the translations. Be careful with extended >> characters and use HTML encoded versions if you can. >> >>> With regard to this project we want to add some functionality >>> (widgets) to Chameleon, but perhaps it is useful to outline the >>> functionality we want to add, so there won't be any things done >>> which are not useful or which DmSolutions is already doing or >>> planning to do. >>> >>> Basically, we want to add the following functionality: >>> >>> * a query builder widget (communicating through the OGC WMS >>> interface, SLD + Filter), also combining the alphanumeric part with >>> a box selection in the map >> >> >> this sounds useful. We may be working on a query building widget, >> but it would not be in the OGC world. >> >>> * a treeview widget (analog to the one in Maplab), the treeview >>> would need to combine meta information with layermanager >>> functionality (add layer to map etc.) >> >> >> We will probably build something like this to replace the one in >> MapLab since we are currently converting MapLab into a Chameleon >> application. However, this replacement is low on our list. If you >> do implement something like this, we would be happy to help with the >> design in case it can be made to serve both projects. >> >>> * a widget which can communicate to a OGC stateless web catalog (and >>> web registry server) >> >> >> One exists already that uses the GeoConnections catalog service, the >> CatalogSearch widget. I have not checked this widget against >> Chameleon 1.1, it may need some work (although probably not a lot). >> You could use this widget as is, if it does the right thing, or base >> a new widget on it. >> >>> * a download widget to download a shapefile of the (vector) data >> >> >> We have a lead on a project to do something similiar (extract >> shapefile from selected region), but without the download component >> (zip and put in web-accessible directory). >> >>> Does DmSolutions have PHP coding standards which we could follow? >>> And is there a way we could integrate our efforts, using CVS for >>> example? >> >> >> Nothing very formal, we try to include a standard comment block at >> the top of each page that includes some identifying info and a >> license. You can see from the existing code the formatting style we >> (try) to conform to. >> >> Integration would have to be manual for the moment, although we will >> have a public cvs on www.maptools.org soon. I am currently >> developing a strategy for packaging and distributing widgets >> separately from the core of Chameleon. I would envision these >> widgets as being either distributed in your own package, or >> integrated into the other packages that are being created. More on >> the website in a week or two on this, I hope. >> >>> What also is very important for our project is layout functionality >>> in PDF (map, legend, north arrow etc.), in several paper sizes, but >>> for this I don't know what is the best path to follow, PHP or the >>> CGI PDF output option? >> >> >> We have a PrintWidget (Print in Chameleon 1.1) that supports output >> to PDF (actually to all formats supported by the mapserver >> installation). It lacks a north arrow, but this would be an easy >> addition to the existing widget. >> >>> >>> >>> Hope to get some input from you on this. >>> >>> Best regards, >>> Bart >>> >> HTH. Please keep me in the loop on this project, it sounds very >> interesting. >> >> I hope to be putting together a public roadmap for Chameleon and to >> encourage contributions to it. >> >> Can you let me know which version of Chameleon you are using for your >> development? This would be very helpful to me in answering some of >> your questions :) >> >> Cheers, >> >> Paul >> > > > -- -- Paul Spencer Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca -- Dave McIlhagga President, DM Solutions Group http://www.dmsolutions.ca EMail : mcilhagga@dmsolutions.ca Phone : 613-565-5056 x15 Fax : 613-565-0925 From pagameba@magma.ca Tue Sep 16 19:09:39 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h8GN9dp5003519 for ; Tue, 16 Sep 2003 19:09:39 -0400 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id h8GMrP21019758; Tue, 16 Sep 2003 18:53:25 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail1.magma.ca (Magma's Mail Server) with ESMTP id h8GMrOD3032310; Tue, 16 Sep 2003 18:53:25 -0400 Message-ID: <3F67945E.6030402@magma.ca> Date: Tue, 16 Sep 2003 18:53:18 -0400 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cwc2@dmsolutions.ca, cwc-dev@dmsolutions.ca, Chameleon Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Chameleon] CWC2 1.0.2 released Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: All, If you downloaded version 1.0.1, please update immediately to version 1.0.2, there was a serious bug with IE that prevented drawing a zoom box, and some of the code for the new ROIMode widget was missing (not committed before the release), which caused some javascript errors in IE. The maptools site will not be updated until tomorrow, but you can access the updated packages at: http://www.maptools.org/dl/chameleon-1.0.2-20030916.zip http://www.maptools.org/dl/chameleon-1.0.2-20030916.tar.gz These problems were not in version 1.0, but it is still recommended to update to 1.0.2 to get the fixes from 1.0.1 and 1.0.2. Sorry for any inconvenience, Paul -- -- Paul Spencer Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca From jeff@planyukon.ca Tue Sep 23 17:45:58 2003 Received: from athena-landuse.polarcom.com (athena-landuse.polarcom.com [199.247.156.83]) by www.maptools.org (8.12.5/8.12.5) with SMTP id h8NLjvPh022369 for ; Tue, 23 Sep 2003 17:45:57 -0400 Received: (qmail 31489 invoked from network); 23 Sep 2003 21:45:56 -0000 Received: from machine2.anydomain.net (HELO planyukon.ca) (192.168.1.2) by athena-landuse.polarcom.com with SMTP; 23 Sep 2003 21:45:56 -0000 Message-ID: <3F70BF2E.2627FF29@planyukon.ca> Date: Tue, 23 Sep 2003 14:46:22 -0700 From: Jeff Hamm Organization: Yukon Land Use Planning Council X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: chameleon@lists.maptools.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [Chameleon] Chameleon 1.1 - Raster Processing Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I am able to use Mapserver 4.0 to process and display selected bands of a raster image (Landsat7) using an application built with MapLab(2.0.1). However, with Chameleon 1.1, the "Processing=" element causes the waitimage to 'hang', and a map image is never produced. Commenting out the "Processing=" lines is sufficient to workaround the problem, but of course my image is rendered useless. Has anyone else encountered and/or resolved this porblem? Jeff Hamm Yukon Land Use Planning Council From bartvde@xs4all.nl Tue Sep 30 14:34:17 2003 Received: from smtpzilla3.xs4all.nl (smtpzilla3.xs4all.nl [194.109.127.139]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h8UIYG8W032150 for ; Tue, 30 Sep 2003 14:34:17 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla3.xs4all.nl (8.12.9/8.12.9) with ESMTP id h8UIY9tA002848 for ; Tue, 30 Sep 2003 20:34:15 +0200 (CEST) Reply-To: bartvde@xs4all.nl Content-Type: text/plain; charset=iso-8859-15; format=flowed To: "chameleon@lists.maptools.org" Subject: [chameleon] does Chameleon need MySQL From: Bart van den Eijnden MIME-Version: 1.0 Date: Tue, 30 Sep 2003 20:33:30 +0200 Message-ID: User-Agent: Opera7.10/Win32 M2 build 2840 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, I have trouble installing Chameleon 1.1. When I look in the session.log file, I see some MySQL error messages. I do not have MySQL installed on the machine. Is MySQL a prerequisite for Chameleon? It does not say so in the install document. Opened() chameleon, session, localhost, root, session_id() says 3f69ae8dd7aa6 MySQL connection error: Can't connect to MySQL server on 'localhost' (10061) Read() 3f69ae8dd7aa6 MySQL connection error: Can't connect to MySQL server on 'localhost' (10061) Write() 3f69ae8dd7aa6 gszRemoteAdd|s:9:"127.0.0.1";test|i:0; MySQL connection error: Can't connect to MySQL server on 'localhost' (10061) Close session Best regards, Bart From pagameba@magma.ca Tue Sep 30 14:46:57 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h8UIkj8W032209 for ; Tue, 30 Sep 2003 14:46:57 -0400 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id h8UIkYbH019332; Tue, 30 Sep 2003 14:46:34 -0400 Received: from [192.168.0.144] (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail1.magma.ca (Magma's Mail Server) with ESMTP id h8UIkYOd011987; Tue, 30 Sep 2003 14:46:34 -0400 Subject: Re: [chameleon] does Chameleon need MySQL From: Paul Spencer Reply-To: spencer@dmsolutions.ca To: bartvde@xs4all.nl Cc: "chameleon@lists.maptools.org" In-Reply-To: References: Content-Type: text/plain Organization: DM Solutions Group Inc Message-Id: <1064947592.5139.4.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Date: 30 Sep 2003 14:46:33 -0400 Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, no, it does not. My first guess would be that your php.ini has something set in it to cause PHP to use MySQL to store session data. Chameleon provides it's own session handlers, but it is also possible that you have session.auto_start set to true and PHP tries to re-establish it's session via MySQL before chameleon even gets to run. Just a guess. Cheers, Paul On Tue, 2003-09-30 at 14:33, Bart van den Eijnden wrote: > Hi list, > > I have trouble installing Chameleon 1.1. > > When I look in the session.log file, I see some MySQL error messages. I do > not have MySQL installed on the machine. > > Is MySQL a prerequisite for Chameleon? It does not say so in the install > document. > > Opened() chameleon, session, localhost, root, session_id() says > 3f69ae8dd7aa6 > MySQL connection error: Can't connect to MySQL server on 'localhost' > (10061) > Read() 3f69ae8dd7aa6 > MySQL connection error: Can't connect to MySQL server on 'localhost' > (10061) > Write() 3f69ae8dd7aa6 gszRemoteAdd|s:9:"127.0.0.1";test|i:0; > MySQL connection error: Can't connect to MySQL server on 'localhost' > (10061) > Close session > > Best regards, > Bart > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon From sfournier@dmsolutions.ca Tue Sep 30 14:51:38 2003 Received: from xcalibur.dmsolutions.ca (www2.dmsolutions.ca [209.217.116.146]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h8UIpc8W032237 for ; Tue, 30 Sep 2003 14:51:38 -0400 Received: from dmsolutions.ca ([10.1.0.2]) by xcalibur.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id h8UIpYT09749; Tue, 30 Sep 2003 14:51:34 -0400 Message-ID: <3F79D0B6.5050203@dmsolutions.ca> Date: Tue, 30 Sep 2003 14:51:34 -0400 From: Sacha Fournier User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: "chameleon@lists.maptools.org" Subject: Re: [chameleon] does Chameleon need MySQL References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, Wich build are you using ? Sacha Bart van den Eijnden wrote: > Hi list, > > I have trouble installing Chameleon 1.1. > > When I look in the session.log file, I see some MySQL error messages. > I do not have MySQL installed on the machine. > > Is MySQL a prerequisite for Chameleon? It does not say so in the > install document. > > Opened() chameleon, session, localhost, root, session_id() says > 3f69ae8dd7aa6 > MySQL connection error: Can't connect to MySQL server on 'localhost' > (10061) > Read() 3f69ae8dd7aa6 > MySQL connection error: Can't connect to MySQL server on 'localhost' > (10061) > Write() 3f69ae8dd7aa6 gszRemoteAdd|s:9:"127.0.0.1";test|i:0; > MySQL connection error: Can't connect to MySQL server on 'localhost' > (10061) > Close session > > Best regards, > Bart > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From bartvde@xs4all.nl Tue Sep 30 15:45:53 2003 Received: from smtpzilla5.xs4all.nl (smtpzilla5.xs4all.nl [194.109.127.141]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h8UJjm8W032427 for ; Tue, 30 Sep 2003 15:45:53 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla5.xs4all.nl (8.12.9/8.12.9) with ESMTP id h8UJjYWj031189 for ; Tue, 30 Sep 2003 21:45:47 +0200 (CEST) To: "chameleon@lists.maptools.org" Subject: Re: [chameleon] install troubles Chameleon 1.1 Reply-To: bartvde@xs4all.nl References: <1064947592.5139.4.camel@localhost.localdomain> Message-ID: Content-Type: text/plain; charset=iso-8859-15; format=flowed From: Bart van den Eijnden MIME-Version: 1.0 Date: Tue, 30 Sep 2003 21:44:55 +0200 In-Reply-To: <1064947592.5139.4.camel@localhost.localdomain> User-Agent: Opera7.10/Win32 M2 build 2840 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, does anybody have a clue why I get these errors in my php log file when I run the following URL: http://localhost/ms4w/apps/chameleon_sample/htdocs/index.phtml BTW when I type http://localhost/ms4w/apps/chameleon/htdocs/chameleon.php I get an empty page. [30-Sep-2003 21:41:34] PHP Warning: main(/ms4w/apps/chameleon/htdocs/chameleon.php): failed to open stream: No such file or directory in D:\www\MapServer\apps\chameleon_sample\htdocs\index.phtml on line 9 [30-Sep-2003 21:41:34] PHP Warning: main(): Failed opening '/ms4w/apps/chameleon/htdocs/chameleon.php' for inclusion (include_path='.;c:\php4\pear') in D:\www\MapServer\apps\chameleon_sample\htdocs\index.phtml on line 9 [30-Sep-2003 21:41:34] PHP Fatal error: Class sampleapp: Cannot inherit from undefined class chameleon in D:\www\MapServer\apps\chameleon_sample\htdocs\index.phtml on line 14 Thanks in advance, Bart On 30 Sep 2003 14:46:33 -0400, Paul Spencer wrote: > Bart, > > no, it does not. My first guess would be that your php.ini has > something set in it to cause PHP to use MySQL to store session data. > Chameleon provides it's own session handlers, but it is also possible > that you have session.auto_start set to true and PHP tries to > re-establish it's session via MySQL before chameleon even gets to run. > Just a guess. > > Cheers, > > Paul > > On Tue, 2003-09-30 at 14:33, Bart van den Eijnden wrote: >> Hi list, >> >> I have trouble installing Chameleon 1.1. >> >> When I look in the session.log file, I see some MySQL error messages. I >> do not have MySQL installed on the machine. >> >> Is MySQL a prerequisite for Chameleon? It does not say so in the install >> document. >> >> Opened() chameleon, session, localhost, root, session_id() says >> 3f69ae8dd7aa6 >> MySQL connection error: Can't connect to MySQL server on 'localhost' >> (10061) >> Read() 3f69ae8dd7aa6 >> MySQL connection error: Can't connect to MySQL server on 'localhost' >> (10061) >> Write() 3f69ae8dd7aa6 gszRemoteAdd|s:9:"127.0.0.1";test|i:0; >> MySQL connection error: Can't connect to MySQL server on 'localhost' >> (10061) >> Close session >> >> Best regards, >> Bart >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon > > > -- From pagameba@magma.ca Tue Sep 30 15:59:24 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h8UJxN8W032487 for ; Tue, 30 Sep 2003 15:59:24 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id h8UJxMUV020888; Tue, 30 Sep 2003 15:59:22 -0400 Received: from [192.168.0.144] (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail2.magma.ca (Magma's Mail Server) with ESMTP id h8UJxMVD012456; Tue, 30 Sep 2003 15:59:22 -0400 Subject: Re: [chameleon] install troubles Chameleon 1.1 From: Paul Spencer Reply-To: spencer@dmsolutions.ca To: bartvde@xs4all.nl Cc: "chameleon@lists.maptools.org" In-Reply-To: References: <1064947592.5139.4.camel@localhost.localdomain> Content-Type: text/plain Organization: DM Solutions Group Inc Message-Id: <1064951960.5082.14.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Date: 30 Sep 2003 15:59:21 -0400 Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, the sample is intended to be installed in /ms4w/apps/ in parallel to chameleon. It looks like you have installed it in /www/MapServer. You will need to edit the configuration file of chameleon to make sure that the various paths are correct. You will need to edit the index.phtml in the chameleon_sample to reflect the correct path to chameleon. Cheers, Paul On Tue, 2003-09-30 at 15:44, Bart van den Eijnden wrote: > Hi list, > > does anybody have a clue why I get these errors in my php log file when I > run the following URL: > > http://localhost/ms4w/apps/chameleon_sample/htdocs/index.phtml > > BTW when I type http://localhost/ms4w/apps/chameleon/htdocs/chameleon.php I > get an empty page. > > [30-Sep-2003 21:41:34] PHP Warning: > main(/ms4w/apps/chameleon/htdocs/chameleon.php): failed to open stream: No > such file or directory in > D:\www\MapServer\apps\chameleon_sample\htdocs\index.phtml on line 9 > [30-Sep-2003 21:41:34] PHP Warning: main(): Failed opening > '/ms4w/apps/chameleon/htdocs/chameleon.php' for inclusion > (include_path='.;c:\php4\pear') in > D:\www\MapServer\apps\chameleon_sample\htdocs\index.phtml on line 9 > [30-Sep-2003 21:41:34] PHP Fatal error: Class sampleapp: Cannot inherit > from undefined class chameleon in > D:\www\MapServer\apps\chameleon_sample\htdocs\index.phtml on line 14 > > Thanks in advance, > Bart > > On 30 Sep 2003 14:46:33 -0400, Paul Spencer wrote: > > > Bart, > > > > no, it does not. My first guess would be that your php.ini has > > something set in it to cause PHP to use MySQL to store session data. > > Chameleon provides it's own session handlers, but it is also possible > > that you have session.auto_start set to true and PHP tries to > > re-establish it's session via MySQL before chameleon even gets to run. > > Just a guess. > > > > Cheers, > > > > Paul > > > > On Tue, 2003-09-30 at 14:33, Bart van den Eijnden wrote: > >> Hi list, > >> > >> I have trouble installing Chameleon 1.1. > >> > >> When I look in the session.log file, I see some MySQL error messages. I > >> do not have MySQL installed on the machine. > >> > >> Is MySQL a prerequisite for Chameleon? It does not say so in the install > >> document. > >> > >> Opened() chameleon, session, localhost, root, session_id() says > >> 3f69ae8dd7aa6 > >> MySQL connection error: Can't connect to MySQL server on 'localhost' > >> (10061) > >> Read() 3f69ae8dd7aa6 > >> MySQL connection error: Can't connect to MySQL server on 'localhost' > >> (10061) > >> Write() 3f69ae8dd7aa6 gszRemoteAdd|s:9:"127.0.0.1";test|i:0; > >> MySQL connection error: Can't connect to MySQL server on 'localhost' > >> (10061) > >> Close session > >> > >> Best regards, > >> Bart > >> _______________________________________________ > >> Chameleon mailing list > >> Chameleon@lists.maptools.org > >> http://lists.maptools.org/mailman/listinfo/chameleon > > > > > > > > From bartvde@xs4all.nl Tue Sep 30 16:07:21 2003 Received: from smtpzilla1.xs4all.nl (smtpzilla1.xs4all.nl [194.109.127.137]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h8UK7J8W032532 for ; Tue, 30 Sep 2003 16:07:20 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla1.xs4all.nl (8.12.9/8.12.9) with ESMTP id h8UK7Ajv000325; Tue, 30 Sep 2003 22:07:10 +0200 (CEST) To: spencer@dmsolutions.ca Cc: "chameleon@lists.maptools.org" Subject: Re: [chameleon] install troubles Chameleon 1.1 Reply-To: bartvde@xs4all.nl References: <1064947592.5139.4.camel@localhost.localdomain> <1064951960.5082.14.camel@localhost.localdomain> Message-ID: Content-Type: text/plain; charset=iso-8859-15; format=flowed From: Bart van den Eijnden MIME-Version: 1.0 Date: Tue, 30 Sep 2003 22:06:30 +0200 In-Reply-To: <1064951960.5082.14.camel@localhost.localdomain> User-Agent: Opera7.10/Win32 M2 build 2840 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Paul, that is not the problem I think. I have edited the config xml file and checked all the paths in the index.phtml of the sample. I have an alias in Apache which redirects this: Alias /ms4w "D:/www/mapserver/" http://localhost/ms4w/apps/chameleon_sample/htdocs/index.phtml http://localhost/ms4w/apps/chameleon/htdocs/chameleon.php If I look at the URLs Chameleon and the sample are installed parallel (also if I look at the directories ofcourse). Best regards, Bart On 30 Sep 2003 15:59:21 -0400, Paul Spencer wrote: > Bart, > > the sample is intended to be installed in /ms4w/apps/ in parallel to > chameleon. It looks like you have installed it in /www/MapServer. > > You will need to edit the configuration file of chameleon to make sure > that the various paths are correct. > > You will need to edit the index.phtml in the chameleon_sample to reflect > the correct path to chameleon. > > Cheers, > > Paul > > On Tue, 2003-09-30 at 15:44, Bart van den Eijnden wrote: >> Hi list, >> >> does anybody have a clue why I get these errors in my php log file when >> I run the following URL: >> >> http://localhost/ms4w/apps/chameleon_sample/htdocs/index.phtml >> >> BTW when I type >> http://localhost/ms4w/apps/chameleon/htdocs/chameleon.php I get an empty >> page. >> >> [30-Sep-2003 21:41:34] PHP Warning: >> main(/ms4w/apps/chameleon/htdocs/chameleon.php): failed to open stream: >> No such file or directory in >> D:\www\MapServer\apps\chameleon_sample\htdocs\index.phtml on line 9 >> [30-Sep-2003 21:41:34] PHP Warning: main(): Failed opening >> '/ms4w/apps/chameleon/htdocs/chameleon.php' for inclusion >> (include_path='.;c:\php4\pear') in >> D:\www\MapServer\apps\chameleon_sample\htdocs\index.phtml on line 9 >> [30-Sep-2003 21:41:34] PHP Fatal error: Class sampleapp: Cannot >> inherit from undefined class chameleon in >> D:\www\MapServer\apps\chameleon_sample\htdocs\index.phtml on line 14 >> >> Thanks in advance, >> Bart >> >> On 30 Sep 2003 14:46:33 -0400, Paul Spencer wrote: >> >> > Bart, >> > >> > no, it does not. My first guess would be that your php.ini has >> > something set in it to cause PHP to use MySQL to store session data. > >> Chameleon provides it's own session handlers, but it is also possible >> > that you have session.auto_start set to true and PHP tries to >> > re-establish it's session via MySQL before chameleon even gets to run. >> > Just a guess. >> > >> > Cheers, >> > >> > Paul >> > >> > On Tue, 2003-09-30 at 14:33, Bart van den Eijnden wrote: >> >> Hi list, >> >> >> >> I have trouble installing Chameleon 1.1. >> >> >> >> When I look in the session.log file, I see some MySQL error messages. >> I >> do not have MySQL installed on the machine. >> >> >> >> Is MySQL a prerequisite for Chameleon? It does not say so in the >> install >> document. >> >> >> >> Opened() chameleon, session, localhost, root, session_id() says >> >> 3f69ae8dd7aa6 >> >> MySQL connection error: Can't connect to MySQL server on 'localhost' >> >> (10061) >> >> Read() 3f69ae8dd7aa6 >> >> MySQL connection error: Can't connect to MySQL server on 'localhost' >> >> (10061) >> >> Write() 3f69ae8dd7aa6 gszRemoteAdd|s:9:"127.0.0.1";test|i:0; >> >> MySQL connection error: Can't connect to MySQL server on 'localhost' >> >> (10061) >> >> Close session >> >> >> >> Best regards, >> >> Bart >> >> _______________________________________________ >> >> Chameleon mailing list >> >> Chameleon@lists.maptools.org >> >> http://lists.maptools.org/mailman/listinfo/chameleon >> > >> > >> > >> >> > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > -- From sfournier@dmsolutions.ca Tue Sep 30 16:11:24 2003 Received: from xcalibur.dmsolutions.ca (www2.dmsolutions.ca [209.217.116.146]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h8UKBN8W032561 for ; Tue, 30 Sep 2003 16:11:24 -0400 Received: from dmsolutions.ca ([10.1.0.2]) by xcalibur.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id h8UKBLT11082; Tue, 30 Sep 2003 16:11:21 -0400 Message-ID: <3F79E369.8070803@dmsolutions.ca> Date: Tue, 30 Sep 2003 16:11:21 -0400 From: Sacha Fournier User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: "chameleon@lists.maptools.org" Subject: Re: [chameleon] does Chameleon need MySQL References: <3F79D0B6.5050203@dmsolutions.ca> <3F79D761.50308@dmsolutions.ca> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Humm, Then only mysql code that can be called is inside the SQLQuery widget. So unless you have that widget inside your templates, no mysql code should be called by Chameleon. Did you check what Paul Spencer said ? Bart van den Eijnden wrote: > Hi, > > this is the file. > > Best regards, > Bart > > On Tue, 30 Sep 2003 15:20:01 -0400, Sacha Fournier > wrote: > >> Hi, >> >> Can you send me the file >> [chameleon_dir]/htdocs/common/session/session.php please. I'm >> suspecting something. >> >> Bart van den Eijnden wrote: >> >>> Hi, >>> >>> I am using this version: >>> >>> Chameleon 1.1 alpha (September 2, 2003) >>> >>> Together with Mapscript: >>> Version MapServer version 4.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG >>> OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE >>> SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER >>> SUPPORTS=WFS_CLIENT INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE >>> >>> Best regards, >>> Bart >>> >>> On Tue, 30 Sep 2003 14:51:34 -0400, Sacha Fournier >>> wrote: >>> >>>> Hi, >>>> >>>> Wich build are you using ? >>>> >>>> Sacha >>>> >>>> Bart van den Eijnden wrote: >>>> >>>>> Hi list, >>>>> >>>>> I have trouble installing Chameleon 1.1. >>>>> >>>>> When I look in the session.log file, I see some MySQL error >>>>> messages. I do not have MySQL installed on the machine. >>>>> >>>>> Is MySQL a prerequisite for Chameleon? It does not say so in the >>>>> install document. >>>>> >>>>> Opened() chameleon, session, localhost, root, session_id() says >>>>> 3f69ae8dd7aa6 >>>>> MySQL connection error: Can't connect to MySQL server on >>>>> 'localhost' (10061) >>>>> Read() 3f69ae8dd7aa6 >>>>> MySQL connection error: Can't connect to MySQL server on >>>>> 'localhost' (10061) >>>>> Write() 3f69ae8dd7aa6 gszRemoteAdd|s:9:"127.0.0.1";test|i:0; >>>>> MySQL connection error: Can't connect to MySQL server on >>>>> 'localhost' (10061) >>>>> Close session >>>>> >>>>> Best regards, >>>>> Bart >>>>> >>>>> _______________________________________________ >>>>> Chameleon mailing list >>>>> Chameleon@lists.maptools.org >>>>> http://lists.maptools.org/mailman/listinfo/chameleon >>>>> >>>> >>>> >>>> _______________________________________________ >>>> Chameleon mailing list >>>> Chameleon@lists.maptools.org >>>> http://lists.maptools.org/mailman/listinfo/chameleon >>>> >>>> >>> >>> >>> >> >> >> >> > > > From pagameba@magma.ca Tue Sep 30 16:25:27 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h8UKPR8W032614 for ; Tue, 30 Sep 2003 16:25:27 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id h8UKPRUV003530; Tue, 30 Sep 2003 16:25:27 -0400 Received: from [192.168.0.144] (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail3.magma.ca (Magma's Mail Server) with ESMTP id h8UKPRAb014985; Tue, 30 Sep 2003 16:25:27 -0400 Subject: Re: [chameleon] install troubles Chameleon 1.1 From: Paul Spencer Reply-To: spencer@dmsolutions.ca To: bartvde@xs4all.nl Cc: "chameleon@lists.maptools.org" In-Reply-To: References: <1064947592.5139.4.camel@localhost.localdomain> <1064951960.5082.14.camel@localhost.localdomain> Content-Type: text/plain Organization: DM Solutions Group Inc Message-Id: <1064953520.5082.22.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Date: 30 Sep 2003 16:25:22 -0400 Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, the /ms4w is not a web location but rather a filesystem directory. An apache alias will not suffice, you will need to change the paths. These files were pre-configured to be installed in the root of a drive on windows (like c:/ or d:/), all references to the drive letters were removed to make it possible to move the installation to a different drive without requiring a lot of reconfiguring. The directory structure that is expected in this case is: /ms4w/apps/chameleon /ms4w/apps/chameleon/htdocs <- apache alias "chameleon" to this /ms4w/apps/chameleon_sample /ms4w/apps/chameleon_sample/htdocs <- alias to here as well /ms4w/tmp/ /ms4w/tmp/ms_tmp/ <- alias "ms_tmp" to here /ms4w/tmp/ms_tmp/buttons/ The map file that comes with the chameleon_sample has it's web object set up for these tmp directories. If you don't use this structure then you will need to edit some paths. Cheers, Paul (ps if you want a preconfigured environment, email me) On Tue, 2003-09-30 at 16:06, Bart van den Eijnden wrote: > Hi Paul, > > that is not the problem I think. I have edited the config xml file and > checked all the paths in the index.phtml of the sample. > > I have an alias in Apache which redirects this: > > Alias /ms4w "D:/www/mapserver/" > > http://localhost/ms4w/apps/chameleon_sample/htdocs/index.phtml > http://localhost/ms4w/apps/chameleon/htdocs/chameleon.php > > If I look at the URLs Chameleon and the sample are installed parallel (also > if I look at the directories ofcourse). > > Best regards, > Bart > > On 30 Sep 2003 15:59:21 -0400, Paul Spencer wrote: > > > Bart, > > > > the sample is intended to be installed in /ms4w/apps/ in parallel to > > chameleon. It looks like you have installed it in /www/MapServer. > > > > You will need to edit the configuration file of chameleon to make sure > > that the various paths are correct. > > > > You will need to edit the index.phtml in the chameleon_sample to reflect > > the correct path to chameleon. > > > > Cheers, > > > > Paul > > > > On Tue, 2003-09-30 at 15:44, Bart van den Eijnden wrote: > >> Hi list, > >> > >> does anybody have a clue why I get these errors in my php log file when > >> I run the following URL: > >> > >> http://localhost/ms4w/apps/chameleon_sample/htdocs/index.phtml > >> > >> BTW when I type > >> http://localhost/ms4w/apps/chameleon/htdocs/chameleon.php I get an empty > >> page. > >> > >> [30-Sep-2003 21:41:34] PHP Warning: > >> main(/ms4w/apps/chameleon/htdocs/chameleon.php): failed to open stream: > >> No such file or directory in > >> D:\www\MapServer\apps\chameleon_sample\htdocs\index.phtml on line 9 > >> [30-Sep-2003 21:41:34] PHP Warning: main(): Failed opening > >> '/ms4w/apps/chameleon/htdocs/chameleon.php' for inclusion > >> (include_path='.;c:\php4\pear') in > >> D:\www\MapServer\apps\chameleon_sample\htdocs\index.phtml on line 9 > >> [30-Sep-2003 21:41:34] PHP Fatal error: Class sampleapp: Cannot > >> inherit from undefined class chameleon in > >> D:\www\MapServer\apps\chameleon_sample\htdocs\index.phtml on line 14 > >> > >> Thanks in advance, > >> Bart > >> > >> On 30 Sep 2003 14:46:33 -0400, Paul Spencer wrote: > >> > >> > Bart, > >> > > >> > no, it does not. My first guess would be that your php.ini has > >> > something set in it to cause PHP to use MySQL to store session data. > > >> Chameleon provides it's own session handlers, but it is also possible > >> > that you have session.auto_start set to true and PHP tries to > >> > re-establish it's session via MySQL before chameleon even gets to run. > >> > Just a guess. > >> > > >> > Cheers, > >> > > >> > Paul > >> > > >> > On Tue, 2003-09-30 at 14:33, Bart van den Eijnden wrote: > >> >> Hi list, > >> >> > >> >> I have trouble installing Chameleon 1.1. > >> >> > >> >> When I look in the session.log file, I see some MySQL error messages. > >> I >> do not have MySQL installed on the machine. > >> >> > >> >> Is MySQL a prerequisite for Chameleon? It does not say so in the > >> install >> document. > >> >> > >> >> Opened() chameleon, session, localhost, root, session_id() says >> > >> 3f69ae8dd7aa6 > >> >> MySQL connection error: Can't connect to MySQL server on 'localhost' > >> >> (10061) > >> >> Read() 3f69ae8dd7aa6 > >> >> MySQL connection error: Can't connect to MySQL server on 'localhost' > >> >> (10061) > >> >> Write() 3f69ae8dd7aa6 gszRemoteAdd|s:9:"127.0.0.1";test|i:0; > >> >> MySQL connection error: Can't connect to MySQL server on 'localhost' > >> >> (10061) > >> >> Close session > >> >> > >> >> Best regards, > >> >> Bart > >> >> _______________________________________________ > >> >> Chameleon mailing list > >> >> Chameleon@lists.maptools.org > >> >> http://lists.maptools.org/mailman/listinfo/chameleon > >> > > >> > > >> > > >> > >> > > > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > http://lists.maptools.org/mailman/listinfo/chameleon > > > > > > From jeff@planyukon.ca Wed Oct 1 17:30:26 2003 Received: from athena-landuse.polarcom.com (athena-landuse.polarcom.com [199.247.156.83]) by www.maptools.org (8.12.5/8.12.5) with SMTP id h91LUP8W005704 for ; Wed, 1 Oct 2003 17:30:26 -0400 Received: (qmail 17573 invoked from network); 1 Oct 2003 21:30:24 -0000 Received: from machine2.anydomain.net (HELO planyukon.ca) (192.168.1.2) by athena-landuse.polarcom.com with SMTP; 1 Oct 2003 21:30:24 -0000 Message-ID: <3F7B478E.6191D748@planyukon.ca> Date: Wed, 01 Oct 2003 14:30:54 -0700 From: Jeff Hamm Organization: Yukon Land Use Planning Council X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: chameleon@lists.maptools.org, maplab-users@dmsolutions.ca Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [Chameleon] PROCESSING directive produces parsing errors in Mapbrowser (Maplab 2.1-RC1) Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: For a given map file, using PROCESSING "BANDS=5,4,3" directive causes the following error: Warning: [MapServer Error]: getString(): Parsing error near (END):(line 192) in /maplab21/htdocs/common/wrapper/map_session.php on line 215 Under Maplab/MapBrowser, no map output is generated (just the error). Under Chameleon 1.1, the waitimage remains active indefinitely (no image produced). Commenting out the PROCESSING directive allows the map to be rendered (under Mapbrowser, or Chameleon). Incidentally, GMapFactory will produce the correct multiband image when using the PROCESSING "BANDS=5,4,3" directive (using the same map file). So I know that my mapfile/mapserver configuration is capable of producing the desired output. The Maplab(MapEdit) XML template is maplab_40.xml. I've checked logs etc. for more detail, but to no avail. The parsed mapfile created in the /tmp directory DOES contain the PROCESSING Directive string (when not commented out in the source mapfile), but there is an extra 'END' inserted after 'PROCESSING' , which effectively truncates the mapfile. I'm not certain that the problem lies in the parsing, but somewhere along the line, this directive gets lost. Can anyone tell me if this is a GDAL version/multicopy problem, or a PNG driver problem (possibly related to Mapserver bug 397 - Color problems when using raster symbols and 8 bits PNG) ?? TIA for any help. Jeff Hamm Yukon Land Use Planning Council Whitehorse, Yukon jeff@planyukon.ca (867) 667-7397 ---ENVIRONMENT and MAP Configuration details follow:--- RedHat8 Apache PHP 4.3.2. Mapserver 4.0 PHP Mapscript ($Revision: 1.177 $ $Date: 2003/07/30 19:01:31 $) Maplab 2.1-RC1 InternetExplorer 5.50.4522.1800 MapServer version 4.0 OUTPUT=PNG OUTPUT=WBMP SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT INPUT=TIFF INPUT=EPPL7 INPUT=POSTGIS INPUT=GDAL INPUT=SHAPEFILE GDAL-config --version 1.1.8 GDAL-config --formats gtiff gif png (+ others) .... and finally.... MAP SIZE 600 400 EXTENT -595040 462926 1461280 1834443 NAME "Plan Yukon" PROJECTION "init=epsg:42304" END IMAGETYPE png24 OUTPUTFORMAT NAME png24 MIMETYPE image/png DRIVER GD/PNG EXTENSION png IMAGEMODE RGBA TRANSPARENT TRUE END SYMBOLSET "./etc/symbols.sym" WEB IMAGEPATH "/tmp/img/" IMAGEURL "http://www.planyukon.ca/tmp/img/" METADATA "wms_title" "Planning Atlas" "wms_onlineresource" "http://www.planyukon.ca/cgi-bin/mapserv?map=wms.map&" END IMAGETYPE png24 OUTPUTFORMAT NAME png24 MIMETYPE image/png DRIVER GD/PNG EXTENSION png IMAGEMODE RGBA TRANSPARENT TRUE END LAYER DATA "o64_13ref.tif" TYPE RASTER METADATA "wms_title" "Scene 64_13" "wms_extent" "146400 1263720 418560 1521150" "wms_opaque" "1" "wms_srs" "epsg:42304" END NAME "Scene 64_13" PROJECTION "init=epsg:42304" END SIZEUNITS PIXELS STATUS ON TOLERANCE 0 TOLERANCEUNITS PIXELS TRANSPARENCY 75 UNITS METERS PROCESSING "BANDS=5,4,3" OFFSITE 0 0 0 END END ---end of message--- From Hans.Verlouw@Geodan.nl Thu Oct 2 05:32:03 2003 Received: from mail.vz.geodan.nl (host-3.geodan.demon.nl [212.238.227.179]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h929W18W008478 for ; Thu, 2 Oct 2003 05:32:03 -0400 Received: from cp93489-a.Geodan.nl ([212.238.227.182]) by mail.vz.geodan.nl (mail.vz.geodan.nl [212.238.227.179]) (MDaemon.PRO.v6.8.4.R) with ESMTP id 20-md50000000024.tmp for ; Thu, 02 Oct 2003 11:31:55 +0200 Message-Id: <5.1.0.14.2.20031002111514.00b9f250@mail.vz.geodan.nl> X-Sender: HansV@mail.vz.geodan.nl X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Thu, 02 Oct 2003 11:31:51 +0200 To: chameleon@lists.maptools.org From: Hans Verlouw Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Processed: mail.vz.geodan.nl, Thu, 02 Oct 2003 11:31:55 +0200 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 212.238.227.182 X-Return-Path: Hans.Verlouw@Geodan.nl X-MDaemon-Deliver-To: chameleon@lists.maptools.org Subject: [Chameleon] Problem running chameleon demo in Zend Studio Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hello list, As I'm new to this list, I apologize if my question can be found in the archives, but I don't know how to search them. My question concerns running the chameleon demo in Zend Studio. I'm running PHP 4.3.2 and chameleon 1.1 on MS windows Without Zend the demo runs fine, but when I want to use Zend to 'debug' (that is: learn chameleon), I get an error in line 182 of session.php saying the program failed to open the session_file. fopen (....../session_file): failed to open stream: No such file or directory When I ignore this, I get the next (same) error about opening cwc2.dbf Can somebody tell me if this is a known problem and if there is a workaround? Thanks in advance, Hans Hans Verlouw ------------------------------------- Geodan SDT b.v. Buitenhaven 27-A 5211 TP 's-Hertogenbosch (NL) ------------------------------------- Tel: +31 (0)73 - 692 5151 Fax: +31 (0)73 - 692 5150 ------------------------------------- Postadres / mailing address President Kennedylaan 1 1079 MB Amsterdam (NL) ------------------------------------- E-mail: Hans.Verlouw@Geodan.nl Website: www.geodan.nl Disclaimer: www.geodan.nl/disclaimer ------------------------------------- From sfournier@dmsolutions.ca Thu Oct 2 08:14:58 2003 Received: from xcalibur.dmsolutions.ca (www2.dmsolutions.ca [209.217.116.146]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h92CEw8W009005 for ; Thu, 2 Oct 2003 08:14:58 -0400 Received: from dmsolutions.ca ([10.1.0.2]) by xcalibur.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id h92CEsT02267; Thu, 2 Oct 2003 08:14:55 -0400 Message-ID: <3F7C16BE.3080602@dmsolutions.ca> Date: Thu, 02 Oct 2003 08:14:54 -0400 From: Sacha Fournier Reply-To: sfournier@dmsolutions.ca Organization: DM Solutions Group User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030701 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Hans Verlouw CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Problem running chameleon demo in Zend Studio References: <5.1.0.14.2.20031002111514.00b9f250@mail.vz.geodan.nl> In-Reply-To: <5.1.0.14.2.20031002111514.00b9f250@mail.vz.geodan.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, I'm no sure what is going on but you can try first by checking if the session file created by your web server is accessible (read, write) by Zend Studio. Depending of your configuration, Zend debugger could run under a different user name than your web server. Make sense ? Hans Verlouw wrote: > Hello list, > > As I'm new to this list, I apologize if my question can be found in the > archives, but I don't know how to search them. > > My question concerns running the chameleon demo in Zend Studio. > I'm running PHP 4.3.2 and chameleon 1.1 on MS windows > Without Zend the demo runs fine, but when I want to use Zend to 'debug' > (that is: learn chameleon), I get an error in line 182 of session.php > saying the program failed to open the session_file. > fopen (....../session_file): failed to open stream: No such file or > directory > > When I ignore this, I get the next (same) error about opening cwc2.dbf > > Can somebody tell me if this is a known problem and if there is a > workaround? > > Thanks in advance, > > Hans > > > Hans Verlouw > ------------------------------------- > Geodan SDT b.v. > Buitenhaven 27-A > 5211 TP 's-Hertogenbosch (NL) > ------------------------------------- > Tel: +31 (0)73 - 692 5151 > Fax: +31 (0)73 - 692 5150 > ------------------------------------- > Postadres / mailing address > President Kennedylaan 1 > 1079 MB Amsterdam (NL) > ------------------------------------- > E-mail: Hans.Verlouw@Geodan.nl > Website: www.geodan.nl > Disclaimer: www.geodan.nl/disclaimer > ------------------------------------- > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- Sacha Fournier Applications Developer DM Solutions Group sfournier@dmsolutions.ca tel: 418.696.5056 fax: 418.696.5056 www.dmsolutions.ca -- ------------------------------------------------- /"\ ASCII Ribbon Campaign against HTML \ / email and proprietary format X attachments. / \ ------------------------------------------------- From Hans.Verlouw@Geodan.nl Thu Oct 2 08:48:29 2003 Received: from mail.vz.geodan.nl (host-3.geodan.demon.nl [212.238.227.179]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h92CmS8W009104 for ; Thu, 2 Oct 2003 08:48:29 -0400 Received: from cp93489-a.Geodan.nl ([212.238.227.182]) by mail.vz.geodan.nl (mail.vz.geodan.nl [212.238.227.179]) (MDaemon.PRO.v6.8.4.R) with ESMTP id 16-md50000000026.tmp for ; Thu, 02 Oct 2003 14:47:29 +0200 Message-Id: <5.1.0.14.2.20031002144145.00b95358@mail.vz.geodan.nl> X-Sender: HansV@mail.vz.geodan.nl X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Thu, 02 Oct 2003 14:47:26 +0200 To: sfournier@dmsolutions.ca From: Hans Verlouw Subject: Re: [Chameleon] Problem running chameleon demo in Zend Studio Cc: chameleon@lists.maptools.org In-Reply-To: <3F7C16BE.3080602@dmsolutions.ca> References: <5.1.0.14.2.20031002111514.00b9f250@mail.vz.geodan.nl> <5.1.0.14.2.20031002111514.00b9f250@mail.vz.geodan.nl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Processed: mail.vz.geodan.nl, Thu, 02 Oct 2003 14:47:29 +0200 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 212.238.227.182 X-Return-Path: Hans.Verlouw@Geodan.nl X-MDaemon-Deliver-To: chameleon@lists.maptools.org Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, Makes sense, but this wasn't the reason. It seemed that a php configuration was causing the problem. The solution is changing "session.auto_start" in php.ini to 1 Thanks, Hans Geodan SDT b.v. Buitenhaven 27-A 5211 TP 's-Hertogenbosch (NL) ------------------------------------- Tel: +31 (0)73 - 692 5151 Fax: +31 (0)73 - 692 5150 ------------------------------------- Postadres / mailing address President Kennedylaan 1 1079 MB Amsterdam (NL) ------------------------------------- E-mail: Hans.Verlouw@Geodan.nl Website: www.geodan.nl Disclaimer: www.geodan.nl/disclaimer ------------------------------------- From bartvde@xs4all.nl Tue Oct 7 04:34:16 2003 Received: from mxzilla4.xs4all.nl (mxzilla4.xs4all.nl [194.109.6.48]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h978YE8W006133 for ; Tue, 7 Oct 2003 04:34:15 -0400 Received: from webmail.xs4all.nl (webmail8.xs4all.nl [194.109.127.33]) by mxzilla4.xs4all.nl (8.12.10/8.12.10) with SMTP id h978Y0Nv077484 for ; Tue, 7 Oct 2003 10:34:07 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Tue, 7 Oct 2003 10:34:07 +0200 (CEST) Message-ID: <23811.212.238.227.182.1065515647.squirrel@webmail.xs4all.nl> Date: Tue, 7 Oct 2003 10:34:07 +0200 (CEST) Subject: [chameleon] cookies? From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, does Chameleon 1.1 need cookies to be enabled in a browser? Best regards, Bart From pagameba@magma.ca Tue Oct 7 07:59:51 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h97Bxo8W006866 for ; Tue, 7 Oct 2003 07:59:51 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca Magma's Mail Server with ESMTP id h97BxnFd019129; Tue, 7 Oct 2003 07:59:49 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail4.magma.ca (Magma's Mail Server) with ESMTP id h97Bxnxt011622; Tue, 7 Oct 2003 07:59:49 -0400 Message-ID: <3F82AAB3.9060902@magma.ca> Date: Tue, 07 Oct 2003 07:59:47 -0400 From: Paul Spencer User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: chameleon@lists.maptools.org Subject: Re: [chameleon] cookies? References: <23811.212.238.227.182.1065515647.squirrel@webmail.xs4all.nl> In-Reply-To: <23811.212.238.227.182.1065515647.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, it should not require cookies. The only component of Chameleon that may use cookies is the PHP session handling code, but we have taken some pains to remove use of cookies from this. If you are having problems related to this, please send details. Of course, this does not prevent you from using cookies in applications you build on Chameleon if you wish. Cheers, Paul bartvde@xs4all.nl wrote: > Hi list, > > does Chameleon 1.1 need cookies to be enabled in a browser? > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From remi.baud@eivd.ch Thu Oct 9 08:03:34 2003 Received: from smtp-relay (mail1.eivd.ch [193.134.216.148]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h99C3X8W017530 for ; Thu, 9 Oct 2003 08:03:34 -0400 Received: from eint11.einet.ad.eivd.ch ([10.192.41.23]) by smtp-relay (8.12.7/8.12.7/YCOM SA SMTPGateway 1.31) with ESMTP id h99C3Cen030419; Thu, 9 Oct 2003 14:03:13 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Date: Thu, 9 Oct 2003 14:03:11 +0200 Message-ID: <22CD7A0EA6070A4DB932011F3429F190B7FF02@eint11.einet.ad.eivd.ch> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Problem using chameleon demo. Thread-Index: AcOOXU/Z5XmIYxUmTRSV/7eoxLsS4Q== From: "BAUD remi" To: Cc: X-Virus-Scanned: Scanned by Amavisd / YCOM SA Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by www.maptools.org id h99C3X8W017530 Subject: [Chameleon] Problem using chameleon demo. Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, I've got a problem when I open http://localhost/ms4w/apps/chameleon_sample/htdocs/index.phtml. The fellowing error appear: Fatal error: Class sampleapp: Cannot inherit from undefined class chameleon in D:\apps\chameleon_sample\htdocs\index.phtml on line 14 What should i do? Best regard! From bartvde@xs4all.nl Thu Oct 9 10:57:55 2003 Received: from smtpzilla3.xs4all.nl (smtpzilla3.xs4all.nl [194.109.127.139]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h99Evs8W018165 for ; Thu, 9 Oct 2003 10:57:55 -0400 Received: from webmail.xs4all.nl (webmail8.xs4all.nl [194.109.127.33]) by smtpzilla3.xs4all.nl (8.12.9/8.12.9) with SMTP id h99EvcMA045572; Thu, 9 Oct 2003 16:57:38 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Thu, 9 Oct 2003 16:57:44 +0200 (CEST) Message-ID: <19973.212.238.227.182.1065711464.squirrel@webmail.xs4all.nl> In-Reply-To: <22CD7A0EA6070A4DB932011F3429F190B7FF02@eint11.einet.ad.eivd.ch> References: <22CD7A0EA6070A4DB932011F3429F190B7FF02@eint11.einet.ad.eivd.ch> Date: Thu, 9 Oct 2003 16:57:44 +0200 (CEST) Subject: Re: [Chameleon] Problem using chameleon demo. From: bartvde@xs4all.nl To: "BAUD remi" Cc: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, did you check all your paths in index.phtml, especially the include( "/ms4w/apps/chameleon/htdocs/chameleon.php" ); Is your chameleon_sample directory parallel to your chameleon directory? Best regards, Bart > Hi, > I've got a problem when I open > http://localhost/ms4w/apps/chameleon_sample/htdocs/index.phtml. > The fellowing error appear: > > Fatal error: Class sampleapp: Cannot inherit from undefined class > chameleon in D:\apps\chameleon_sample\htdocs\index.phtml on line 14 > > What should i do? > Best regard! > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From remi.baud@eivd.ch Thu Oct 9 11:37:03 2003 Received: from smtp-relay (mail1.eivd.ch [193.134.216.148]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h99Fb38W018289 for ; Thu, 9 Oct 2003 11:37:03 -0400 Received: from eint11.einet.ad.eivd.ch ([10.192.41.23]) by smtp-relay (8.12.7/8.12.7/YCOM SA SMTPGateway 1.31) with ESMTP id h99Faxen007677; Thu, 9 Oct 2003 17:36:59 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Date: Thu, 9 Oct 2003 17:36:59 +0200 Message-ID: <22CD7A0EA6070A4DB932011F3429F190B7FF06@eint11.einet.ad.eivd.ch> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Chameleon] Problem using chameleon demo. Thread-Index: AcOOdbeE+bn+08OiQv2fDgz7NoLVUgABTnCF From: "BAUD remi" To: Cc: X-Virus-Scanned: Scanned by Amavisd / YCOM SA Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by www.maptools.org id h99Fb38W018289 Subject: [Chameleon] =?utf-8?Q?RE=C2=A0=3A_=5BChameleon=5D_Problem_using_c?= =?utf-8?Q?hameleon_demo=2E?= Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, yes, all the paths are ok and the two directories are parallel. It's only a strange little thing: when I set: include( /ms4w/apps/chameleon/htdocs/chameleon.php " ); It fails to open chameleon.php but if i set include( "http://localhost/ms4w/apps/chameleon/htdocs/chameleon.php" ); there is no problem. (Just the fatal error) I set in http.conf (for apache) an Alias for my root disc "D:\" as /ms4w/ Was it the right thing to do? best regards -------- Message d'origine-------- De: bartvde@xs4all.nl [mailto:bartvde@xs4all.nl] Date: jeu. 09.10.2003 16:57 À: BAUD remi Cc: chameleon@lists.maptools.org Objet: Re: [Chameleon] Problem using chameleon demo. Hi, did you check all your paths in index.phtml, especially the include( "/ms4w/apps/chameleon/htdocs/chameleon.php" ); Is your chameleon_sample directory parallel to your chameleon directory? Best regards, Bart > Hi, > I've got a problem when I open > http://localhost/ms4w/apps/chameleon_sample/htdocs/index.phtml. > The fellowing error appear: > > Fatal error: Class sampleapp: Cannot inherit from undefined class > chameleon in D:\apps\chameleon_sample\htdocs\index.phtml on line 14 > > What should i do? > Best regard! > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From pagameba@webmail1.magma.ca Fri Oct 10 07:06:02 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h9AB628W022499 for ; Fri, 10 Oct 2003 07:06:02 -0400 Received: from webmail1.magma.ca (webmail1.magma.ca [206.191.0.241]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id h9AB5qaP011391; Fri, 10 Oct 2003 07:05:52 -0400 Received: (from pagameba@localhost) by webmail1.magma.ca (Magma's Mail Server) id h9AB5qrj010307; Fri, 10 Oct 2003 07:05:52 -0400 (EDT) Date: Fri, 10 Oct 2003 07:05:52 -0400 (EDT) Message-Id: <200310101105.h9AB5qrj010307@webmail1.magma.ca> To: "BAUD remi" , From: "Paul Spencer" Cc: X-Account: pagameba X-Sender-IP: 64.26.169.56 X-INFO: Folder - 0, Message - 0, MimeBody - 0 Mime-Version: 1.0 Content-Type: text/plain Subject: [Chameleon] Re: Problem runnig chameleon demo Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, I'm not exactly sure what the problem is. PHP is complaining because it cannot find the class definition for Chameleon, which is defined in chameleon.php. According to what you have told me below, this should be in d:/ms4w/apps/chameleon/htdocs i.e. include_once( "d:/ms4w/apps/chameleon/htdocs/chameleon.php" ); Your apache alias should have no bearing on this particular error since it is not a web-related problem, just a file path problem. As a side note, it is recommended that you use two aliases in this kind of setup: /chameleon/ => d:/ms4w/apps/chameleon/htdocs - and this web path would also need to be put into the chameleon configuration file /chameleon_sample/ => d:/ms4w/apps/chameleon_sample/htdocs that way you access your app throught http://localhost/chameleon_sample/. Not only is it shorter, but it is more secure since you are only exposing the htdocs directory to web surfers, and the other potentially sensitive directories are kept hidden. Cheers, Paul On Oct 10, "BAUD remi" wrote: > > Hi, > > I got a problem when I run: http://localhost/ms4w/apps/chameleon_sample/htdocs/index.phtml > the fatal error is: > > Fatal error: Class sampleapp: Cannot inherit from undefined class chameleon in D:\ms4w\apps\chameleon_sample\htdocs\index.phtml on line 14 > > My directories configuration is: D:\ms4w\apps and then I place the two directories chameleon and chameleon_sample. > > when I set (in index.phtml : include( /ms4w/apps/chameleon/htdocs/chameleon.php <http://localhost/ms4w/apps/chameleon/htdocs/chameleon.php> " ); It fails to open chameleon.php > but if i set include( "http://localhost/ms4w/apps/chameleon/htdocs/chameleon.php" ); there is no problem. > (Just the fatal error) > > I've set in http.conf (for apache) an Alias for "D:\ms4w\" as /ms4w/ > Was it the right thing to do?? > > > > Best Regards ! > > > From remi.baud@eivd.ch Fri Oct 10 04:21:40 2003 Received: from smtp-relay (mail1.eivd.ch [193.134.216.148]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h9A8Lc8W021994 for ; Fri, 10 Oct 2003 04:21:39 -0400 Received: from eint11.einet.ad.eivd.ch ([10.192.41.23]) by smtp-relay (8.12.7/8.12.7/YCOM SA SMTPGateway 1.31) with ESMTP id h9A8LTen030650; Fri, 10 Oct 2003 10:21:29 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Date: Fri, 10 Oct 2003 10:21:29 +0200 Message-ID: <22CD7A0EA6070A4DB932011F3429F190B7FF0B@eint11.einet.ad.eivd.ch> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Problem runnig chameleon demo Thread-Index: AcOPB1/HdNuuRDzuTkOQmz4p53cn0Q== From: "BAUD remi" To: Cc: X-Virus-Scanned: Scanned by Amavisd / YCOM SA Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by www.maptools.org id h9A8Lc8W021994 Subject: [Chameleon] Problem runnig chameleon demo Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, I got a problem when I run: http://localhost/ms4w/apps/chameleon_sample/htdocs/index.phtml the fatal error is: Fatal error: Class sampleapp: Cannot inherit from undefined class chameleon in D:\ms4w\apps\chameleon_sample\htdocs\index.phtml on line 14 My directories configuration is: D:\ms4w\apps and then I place the two directories chameleon and chameleon_sample. when I set (in index.phtml : include( /ms4w/apps/chameleon/htdocs/chameleon.php " ); It fails to open chameleon.php but if i set include( "http://localhost/ms4w/apps/chameleon/htdocs/chameleon.php" ); there is no problem. (Just the fatal error) I've set in http.conf (for apache) an Alias for "D:\ms4w\" as /ms4w/ Was it the right thing to do?? Best Regards ! From godwinl@agr.gc.ca Fri Oct 10 10:05:38 2003 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h9AE5a8W023017 for ; Fri, 10 Oct 2003 10:05:38 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.11.6/8.11.6) with ESMTP id h9AE12003825 for ; Fri, 10 Oct 2003 10:01:02 -0400 Received: from ncrxem6 ([10.117.15.110]) by agrin1.agr.gc.ca (8.11.6/8.11.6) with SMTP id h9ADvB910194 for ; Fri, 10 Oct 2003 09:57:12 -0400 Received: From agr.gc.ca ([10.117.15.106]) by ncrxem6 (WebShield SMTP v4.5 MR1a); id 1065794922562; Fri, 10 Oct 2003 10:08:42 -0400 Received: from AGCAN-MTA by agr.gc.ca with Novell_GroupWise; Fri, 10 Oct 2003 10:05:19 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.2 Date: Fri, 10 Oct 2003 10:05:12 -0400 From: "Liz Godwin" To: Cc: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [Chameleon] Chameleon vs CWC2 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Paul, I've CC'ed the Chameleon List on this one as I think it's something others may be interested in, or also may know answers to. I'm trying to work with Chameleon (v 1.1 alpha) instead of CWC2 in order to take advantage of the ability to read map files directly. I'm running into some problems, and while I've been able to solve some of them, I am becoming more confused. Hopefully you can help. Is Chameleon really just a later version of CWC2? If it is, than why are many of the widgets included with the alpha release of Chameleon much older than those included with CWC2 v1.0.3? The release dates are different obviously, but which is being worked on more currently? Can I replace Chameleon widgets with CWC2 widgets? The reason I ask this is because the documentation seems to follow the CWC2 usage better than it does for Chameleon. My Widget names are different, and in some cases they just don't work. BUT they do with CWC2. I still can't seem to get a legend to draw. I guess I'm wondering how they fit together if they do? I know Chameleon is alpha...but it seems behind CWC2 not ahead. Should I just hold off on trying Chameleon until another release is posted? Thanks for your help, Liz Godwin From pagameba@magma.ca Fri Oct 10 10:40:03 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h9AEe28W023205 for ; Fri, 10 Oct 2003 10:40:03 -0400 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id h9AEe1Hp020216; Fri, 10 Oct 2003 10:40:01 -0400 Received: from magma.ca ([216.191.227.34]) by mail1.magma.ca (Magma's Mail Server) with ESMTP id h9AEe1ZQ004824; Fri, 10 Oct 2003 10:40:01 -0400 Message-ID: <3F86C4BE.4050009@magma.ca> Date: Fri, 10 Oct 2003 10:39:58 -0400 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Liz Godwin CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Chameleon vs CWC2 References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Liz There is not a quick or easy answer to your question, but I will try :) Here's my take: Chameleon is a derivative of CWC2. We took the core technology for template processing, widget handling, etc. out of CWC2 and made it a stand-alone component. Chameleon does not provide the Service Instance that CWC2 does (although the CWC2 Service Instance can now be re-written as a Chameleon application). Many of the widgets in Chameleon may appear older than the CWC2 version for a couple of reasons: 1. bug fixes in the CWC2 branch. When we find problems, or problems are reported, they are fixed in CWC2 but may not always be fixed in Chameleon. This could be an oversight. Or it could be a fix that is only pertinent to CWC2 (because the fix relates only to the service instance component of CWC2, which isn't yet part of Chameleon). Or it could be a widget that does not work with Chameleon because it is a CWC2-specific widget. 2. To help optimization in Chameleon, some of the widgets names changed (this also addresses your other problem). Widgets by the older name may still appear in Chameleon but are deprecated (and would not work). Regarding documentation, the existing documentation relates to CWC2, not Chameleon. Because chameleon is not a directly funded product for us (as CWC2 was), the development of documentation is taking more time. Documentation will be ready for the first release of Chameleon 1.1. The core of Chameleon is actually pretty stable. However, the problem is with the widgets. Many widgets made assumptions about being in a CWC2 environment. Others used naming conventions that make them incompatible with the new version (optimizations). We are slowly transitioning widgets from CWC2 to Chameleon 1.1 as required by our clients for ongoing projects. Also effort is going into building new widgets. We have deployed several applications using 1.1 and are doing active development on it. Development on CWC2 is now limited to bug fixes only. If you can provide me with details on the problems you are running into, I will try to assist you in solving them. Cheers, Paul Liz Godwin wrote: > Paul, > > I've CC'ed the Chameleon List on this one as I think it's something > others may be interested in, or also may know answers to. > > I'm trying to work with Chameleon (v 1.1 alpha) instead of CWC2 in > order to take advantage of the ability to read map files directly. I'm > running into some problems, and while I've been able to solve some of > them, I am becoming more confused. Hopefully you can help. > > Is Chameleon really just a later version of CWC2? If it is, than why > are many of the widgets included with the alpha release of Chameleon > much older than those included with CWC2 v1.0.3? The release dates are > different obviously, but which is being worked on more currently? Can I > replace Chameleon widgets with CWC2 widgets? The reason I ask this is > because the documentation seems to follow the CWC2 usage better than it > does for Chameleon. My Widget names are different, and in some cases > they just don't work. BUT they do with CWC2. I still can't seem to get > a legend to draw. > > I guess I'm wondering how they fit together if they do? I know > Chameleon is alpha...but it seems behind CWC2 not ahead. > > Should I just hold off on trying Chameleon until another release is > posted? > > Thanks for your help, > > Liz Godwin > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From bartvde@xs4all.nl Sun Oct 12 04:59:44 2003 Received: from smtpzilla1.xs4all.nl (smtpzilla1.xs4all.nl [194.109.127.137]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h9C8xh8W006330 for ; Sun, 12 Oct 2003 04:59:44 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla1.xs4all.nl (8.12.9/8.12.9) with ESMTP id h9C8xKcQ057423; Sun, 12 Oct 2003 10:59:20 +0200 (CEST) Reply-To: bartvde@xs4all.nl Content-Type: text/plain; charset=iso-8859-15; format=flowed To: "mapserver-users@lists.gis.umn.edu" Cc: "chameleon@lists.maptools.org" From: Bart van den Eijnden MIME-Version: 1.0 Date: Sun, 12 Oct 2003 10:58:31 +0200 Message-ID: User-Agent: Opera7.10/Win32 M2 build 2840 Subject: [Chameleon] [mapserver-users] map print functionality Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, Sorry for the cross-post, but this applies to both lists in my opinion. I have a question about the different implementations of map print functionality in PDF format. If I am not mistaken there are 2 options available: -have mapserver print a map using pdflib (outputformat PDF) -have Chameleon print a map using the Chameleon map production widget (php code) What is the difference between the options, and does one have other features than the other? Is there a way to define what my layout would look like, e.g. portrait or landscape, and where certain items as legend, scalebar will be on the page? Best regards, Bart From remi.baud@eivd.ch Mon Oct 13 10:43:43 2003 Received: from smtp-relay (mail1.eivd.ch [193.134.216.148]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h9DEhg8W012268 for ; Mon, 13 Oct 2003 10:43:43 -0400 Received: from eint11.einet.ad.eivd.ch ([10.192.41.23]) by smtp-relay (8.12.7/8.12.7/YCOM SA SMTPGateway 1.31) with ESMTP id h9DEhcen001086 for ; Mon, 13 Oct 2003 16:43:38 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Date: Mon, 13 Oct 2003 16:43:38 +0200 Message-ID: <22CD7A0EA6070A4DB932011F3429F190B7FF14@eint11.einet.ad.eivd.ch> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: searching for the CWC2 Adminstrator's Guide. Thread-Index: AcORmDbleLImKZW9Q/ePJOX7nUnQWA== From: "BAUD remi" To: X-Virus-Scanned: Scanned by Amavisd / YCOM SA Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by www.maptools.org id h9DEhg8W012268 Subject: [Chameleon] searching for the CWC2 Adminstrator's Guide. Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi the list I tri to find documentation about cwc2, specialy the CWC2 Adminstrator's Guide. I've an html document named CWC2AdministratorsGuide.html in cwc2\html but its content is the same as the CWC2Documentation.html file. So that's the problem. Could someone tell me where i can get this administrator's guide? Best regards! From pagameba@magma.ca Mon Oct 13 13:13:22 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h9DHDM8W012721 for ; Mon, 13 Oct 2003 13:13:22 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id h9DHDD25021727; Mon, 13 Oct 2003 13:13:13 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail2.magma.ca (Magma's Mail Server) with ESMTP id h9DHDDKT018108; Mon, 13 Oct 2003 13:13:13 -0400 Message-ID: <3F8ADD22.6020709@magma.ca> Date: Mon, 13 Oct 2003 13:13:06 -0400 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2 X-Accept-Language: en-us, en MIME-Version: 1.0 To: BAUD remi CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] searching for the CWC2 Adminstrator's Guide. References: <22CD7A0EA6070A4DB932011F3429F190B7FF14@eint11.einet.ad.eivd.ch> In-Reply-To: <22CD7A0EA6070A4DB932011F3429F190B7FF14@eint11.einet.ad.eivd.ch> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, there is no administrators guide for CWC2 yet, this document is just a place holder. Hopefully one will be completed this fall, Cheers, Paul BAUD remi wrote: > Hi the list > > I tri to find documentation about cwc2, specialy the CWC2 Adminstrator's Guide. > > I've an html document named CWC2AdministratorsGuide.html in cwc2\html > > but its content is the same as the CWC2Documentation.html file. So that's the problem. > > Could someone tell me where i can get this administrator's guide? > > Best regards! > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From collao_andres@hotmail.com Wed Oct 15 09:53:58 2003 Received: from hotmail.com (bay1-f3.bay1.hotmail.com [65.54.245.3]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h9FDrv8W028384 for ; Wed, 15 Oct 2003 09:53:58 -0400 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 15 Oct 2003 06:42:44 -0700 Received: from 200.1.20.57 by by1fd.bay1.hotmail.msn.com with HTTP; Wed, 15 Oct 2003 13:42:43 GMT X-Originating-IP: [200.1.20.57] X-Originating-Email: [collao_andres@hotmail.com] From: =?iso-8859-1?B?QW5kculzIENvbGxhbw==?= To: chameleon@lists.maptools.org Date: Wed, 15 Oct 2003 13:42:43 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 15 Oct 2003 13:42:44.0125 (UTC) FILETIME=[360934D0:01C39322] Subject: [Chameleon] problem with chameleon install Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I'm working with Mapserver 4.0 and PHP 4.3.3 over redhat 9 plataform without problems When i try install chameleon , it appears the following message: Warning: dl(): Unable to load dynamic library '/usr/local/lib/php/php_gd2.so' - /usr/local/lib/php/php_gd2.so: cannot open shared object file: No such file or directory in /usr/local/apache2/htdocs/cwc2/htdocs_admin/info.php on line 88 I have compiled GD2 and it is located in /usr/local/lib under the name libgd.so.2 that I can do?? ::: Andrés Collao Pérez ::: [ collao_andres@hotmail.com ] [ andres@mapserver.cl ] ::: :::El hombre es un Dios cuando sueña y un mendigo cuando reflexiona. ::: :::Il peggior nemico del succeso è la pauta del fallimiento :::El peor enemigo del éxito es el miedo al fracaso ::: _________________________________________________________________ Charla con tus amigos en línea mediante MSN Messenger: http://messenger.yupimsn.com/ From morissette@dmsolutions.ca Wed Oct 15 11:47:36 2003 Received: from xcalibur.dmsolutions.ca (www2.dmsolutions.ca [209.217.116.146]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h9FFlZ8W028798 for ; Wed, 15 Oct 2003 11:47:36 -0400 Received: from dmsolutions.ca ([192.168.4.100]) by xcalibur.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id h9FFkPT03726; Wed, 15 Oct 2003 11:46:25 -0400 Message-ID: <3F8D6BCA.702@dmsolutions.ca> Date: Wed, 15 Oct 2003 11:46:18 -0400 From: Daniel Morissette User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Andr=E9s_Collao?= CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] problem with chameleon install References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Andrés Collao wrote: > > When i try install chameleon , it appears the following message: > > Warning: dl(): Unable to load dynamic library > '/usr/local/lib/php/php_gd2.so' - /usr/local/lib/php/php_gd2.so: cannot > open shared object file: No such file or directory in > /usr/local/apache2/htdocs/cwc2/htdocs_admin/info.php on line 88 > > I have compiled GD2 and it is located in /usr/local/lib under the name > libgd.so.2 > What Chameleon is looking for is PHP's GD extension. libgd.so.2 is a Unix shared library, but PHP can't load that directly. You need to build the PHP GD extension. The simplest is probably to add --with-gd=/usr/local to your PHP configure options, then Chameleon will detect that GD is built into PHP and won't try to look for php_gd2.so any more. Daniel -- ------------------------------------------------------------ Daniel Morissette morissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From bartvde@xs4all.nl Thu Oct 16 11:26:13 2003 Received: from smtpzilla3.xs4all.nl (smtpzilla3.xs4all.nl [194.109.127.139]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h9GFQC8W001550 for ; Thu, 16 Oct 2003 11:26:13 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla3.xs4all.nl (8.12.9/8.12.9) with ESMTP id h9GFPreq045935 for ; Thu, 16 Oct 2003 17:26:12 +0200 (CEST) Reply-To: bartvde@xs4all.nl Content-Type: text/plain; charset=iso-8859-15; format=flowed To: "chameleon@lists.maptools.org" From: Bart van den Eijnden MIME-Version: 1.0 Date: Thu, 16 Oct 2003 17:24:59 +0200 Message-ID: User-Agent: Opera7.10/Win32 M2 build 2840 Subject: [Chameleon] curiosity with rulertool Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, I found a curiosity in the behaviour of the rulertool. This applies to Chameleon 1.1. For the rulertool to work properly (i.e. measure distance correctly) on the first map which is generated, the size of the MAP object (SIZE X Y) needs to be the same as the size of DHTMLWidget in the HTML template. Otherwise the distance is not calculated correctly. When a user zooms, or pans, the rulertool works fine. So I guess this possible problem only applies to the first generated map (initialization of the map object?). Is this behaviour intended, i.e. do we always need to adjust the size of the MAP object to the size of the DHTMLWidget? Best regards, Bart From pagameba@magma.ca Thu Oct 16 11:34:34 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h9GFYY8W001599 for ; Thu, 16 Oct 2003 11:34:34 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca Magma's Mail Server with ESMTP id h9GFYXUj002876; Thu, 16 Oct 2003 11:34:33 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail3.magma.ca (Magma's Mail Server) with ESMTP id h9GFYX02013644; Thu, 16 Oct 2003 11:34:33 -0400 Message-ID: <3F8EBA86.5020201@magma.ca> Date: Thu, 16 Oct 2003 11:34:30 -0400 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: "chameleon@lists.maptools.org" Subject: Re: [Chameleon] curiosity with rulertool References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, this would be a bug :) Please enter it into the Chameleon bugzilla, I will look into solving it. Cheers, Paul Bart van den Eijnden wrote: > Hi list, > > I found a curiosity in the behaviour of the rulertool. This applies to > Chameleon 1.1. > > For the rulertool to work properly (i.e. measure distance correctly) on > the first map which is generated, the size of the MAP object (SIZE X Y) > needs to be the same as the size of DHTMLWidget in the HTML template. > Otherwise the distance is not calculated correctly. > > When a user zooms, or pans, the rulertool works fine. So I guess this > possible problem only applies to the first generated map (initialization > of the map object?). > > Is this behaviour intended, i.e. do we always need to adjust the size of > the MAP object to the size of the DHTMLWidget? > > Best regards, > Bart > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Hans.Verlouw@Geodan.nl Fri Oct 24 08:35:25 2003 Received: from mail.vz.geodan.nl (host-3.geodan.demon.nl [212.238.227.179]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h9OCZK8o018456 for ; Fri, 24 Oct 2003 08:35:25 -0400 Received: from cp93489-a.Geodan.nl ([212.238.227.182]) by mail.vz.geodan.nl (mail.vz.geodan.nl [212.238.227.179]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 59-md50000000058.tmp for ; Fri, 24 Oct 2003 14:34:42 +0200 Message-Id: <5.1.0.14.2.20031024141130.029e5e48@mail.vz.geodan.nl> X-Sender: HansV@mail.vz.geodan.nl X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 24 Oct 2003 14:34:45 +0200 To: chameleon@lists.maptools.org From: Hans Verlouw Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_15920031==_.ALT" X-Spam-Processed: mail.vz.geodan.nl, Fri, 24 Oct 2003 14:34:42 +0200 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 212.238.227.182 X-Return-Path: Hans.Verlouw@Geodan.nl X-MDaemon-Deliver-To: chameleon@lists.maptools.org Subject: [Chameleon] Problem with Catalog Search Widget Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: --=====================_15920031==_.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed Hi list, While attempting to implement Chameleon's Catalog Search Widget I'm running into problems. When I hit the search button (having typed a non-empty keyword) I get a message in the search results area saying: Wrong DTD version. 1.1.0 or higher required I had a look at the URL being generated by the widget and after submitting that one directly I get an error message saying: The XML page cannot be displayed Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later. XML document must have a top level element. Error processing resource 'http://ceomap2.ccrs.nrcan.gc.ca/cgi-bin/cslt/wes/service_manager/catquery?RS=XML&catalog=http://ceomap2.ccrs.nrcan.gc.ca/cgi-bin/cslt/wes/service_manager/catquery&QUERY=SRS='EPSG:4326'+AND+title+like+'%water%'+AND+Format='gif'+AND+ServiceType='Web+Mapping+Layer'+AND+Intersects(LatLongBoundingBox,+Envelope())&SCHEMA=ISO19119&ESN=f&WANTCONTENT=XML%20HTTP/1.0'. The same problem occurs when I hit the search button at the Compusult catalog demo. I asked Compusult what the problem might be, but as I didn't get an answer from them in a couple of days and Chameleon generates the same request, I post it to this list, hoping somebody here can help. Thanks in advance, Hans Verlouw ------------------------------------- Geodan SDT b.v. Buitenhaven 27-A 5211 TP 's-Hertogenbosch (NL) ------------------------------------- Tel: +31 (0)73 - 692 5151 Fax: +31 (0)73 - 692 5150 ------------------------------------- Postadres / mailing address President Kennedylaan 1 1079 MB Amsterdam (NL) ------------------------------------- E-mail: Hans.Verlouw@Geodan.nl Website: www.geodan.nl Disclaimer: www.geodan.nl/disclaimer ------------------------------------- --=====================_15920031==_.ALT Content-Type: text/html; charset="us-ascii" Hi list,

While attempting to implement Chameleon's Catalog Search Widget I'm running into problems.
When I hit the search button (having typed a non-empty keyword) I get a message in the search results area saying:
Wrong DTD version. 1.1.0 or higher required

I had a look at the URL being generated by the widget and after submitting that one directly I get an error message saying:

<PASTED-TEXT>
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.

XML document must have a top level element. Error processing resource 'http://ceomap2.ccrs.nrcan.gc.ca/cgi-bin/cslt/wes/service_manager/catquery?RS=XML&catalog=http://ceomap2.ccrs.nrcan.gc.ca/cgi-bin/cslt/wes/service_manager/catquery&QUERY=SRS='EPSG:4326'+AND+title+like+'%water%'+AND+Format='gif'+AND+ServiceType='Web+Mapping+Layer'+AND+Intersects(LatLongBoundingBox,+Envelope())&SCHEMA=ISO19119&ESN=f&WANTCONTENT=XML%20HTTP/1.0'.
</PASTED-TEXT>

The same problem occurs when I hit the search button at the Compusult catalog demo.
I asked Compusult what the problem might be, but as I didn't get an answer from them in a couple of days and Chameleon generates the same request, I post it to this list, hoping somebody here can help.

Thanks in advance,

Hans Verlouw

-------------------------------------
Geodan SDT b.v.
Buitenhaven 27-A
5211 TP 's-Hertogenbosch (NL)
-------------------------------------
Tel: +31 (0)73 - 692 5151
Fax:  +31 (0)73 - 692 5150
-------------------------------------
Postadres / mailing address
President Kennedylaan 1
1079 MB Amsterdam (NL)
-------------------------------------
E-mail: Hans.Verlouw@Geodan.nl
Website: www.geodan.nl
Disclaimer: www.geodan.nl/disclaimer
-------------------------------------
--=====================_15920031==_.ALT-- From huub.fleuren@geodan.nl Fri Oct 24 09:15:26 2003 Received: from mail.vz.geodan.nl (host-3.geodan.demon.nl [212.238.227.179]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h9ODFM8o018620 for ; Fri, 24 Oct 2003 09:15:25 -0400 Received: from geodan.nl ([212.238.227.182]) (authenticated user huub@mail.vz.geodan.nl) by mail.vz.geodan.nl (mail.vz.geodan.nl [212.238.227.179]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 21-md50000000059.tmp for ; Fri, 24 Oct 2003 15:15:18 +0200 Message-ID: <3F9933F3.9060804@geodan.nl> Date: Fri, 24 Oct 2003 15:15:15 +0100 From: Huub Fleuren User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Hans Verlouw CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Problem with Catalog Search Widget References: <5.1.0.14.2.20031024141130.029e5e48@mail.vz.geodan.nl> In-Reply-To: <5.1.0.14.2.20031024141130.029e5e48@mail.vz.geodan.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: huub@mail.vz.geodan.nl X-Spam-Processed: mail.vz.geodan.nl, Fri, 24 Oct 2003 15:15:18 +0200 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 212.238.227.182 X-Return-Path: huub.fleuren@geodan.nl X-MDaemon-Deliver-To: chameleon@lists.maptools.org Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Hans & list request="RS=XML&catalog=http://ceomap2.ccrs.nrcan.gc.ca/cgi-bin/cslt/wes/service_manager/catquery&QUERY=\"SRS='EPSG:4326'+AND+title+like+'%water%'+AND+Format='gif'+AND+ServiceType='Web+Mapping+Layer'+AND+Intersects(LatLongBoundingBox,+Envelope())&SCHEMA=ISO19119&ESN=f&WANTCONTENT=XML%20HTTP/1.0\"" server="/cgi-bin/cslt/wes/service_manager/catquery" hostname="ceomap2.ccrs.nrcan.gc.ca" h = httplib.HTTP(hostname) h.putrequest("GET", server) h.putheader("Content-type", "text/xml") h.putheader("Content-length", "%d" % len(request)) h.putheader('Accept', 'text/xml') h.putheader('Host', hostname) h.endheaders() h.send(request) reply, msg, hdrs = h.getreply() print reply print msg print h.getfile().read() --- --- 200 OK Unrecognized request. Missing QUERY or DOCID You're using the wrong request. Correct it and maybe you'll quickly hop along again your truly, Huub Hans Verlouw wrote: > Hi list, > > While attempting to implement Chameleon's Catalog Search Widget I'm > running into problems. > When I hit the search button (having typed a non-empty keyword) I get > a message in the search results area saying: > Wrong DTD version. 1.1.0 or higher required > > I had a look at the URL being generated by the widget and after > submitting that one directly I get an error message saying: > > > The XML page cannot be displayed > Cannot view XML input using style sheet. Please correct the error and > then click the Refresh button, or try again later. > > XML document must have a top level element. Error processing resource > 'http://ceomap2.ccrs.nrcan.gc.ca/cgi-bin/cslt/wes/service_manager/catquery?RS=XML&catalog=http://ceomap2.ccrs.nrcan.gc.ca/cgi-bin/cslt/wes/service_manager/catquery&QUERY=SRS='EPSG:4326'+AND+title+like+'%water%'+AND+Format='gif'+AND+ServiceType='Web+Mapping+Layer'+AND+Intersects(LatLongBoundingBox,+Envelope())&SCHEMA=ISO19119&ESN=f&WANTCONTENT=XML%20HTTP/1.0 > '. > > > > The same problem occurs when I hit the search button at the Compusult > catalog demo. > I asked Compusult what the problem might be, but as I didn't get an > answer from them in a couple of days and Chameleon generates the same > request, I post it to this list, hoping somebody here can help. > > Thanks in advance, > > Hans Verlouw From Hans.Verlouw@Geodan.nl Sun Oct 26 12:44:44 2003 Received: from mail.vz.geodan.nl (host-3.geodan.demon.nl [212.238.227.179]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h9QHih8o003240 for ; Sun, 26 Oct 2003 12:44:44 -0500 Received: from cp93489-a.Geodan.nl ([217.120.34.104]) by mail.vz.geodan.nl (mail.vz.geodan.nl [212.238.227.179]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 51-md50000000067.tmp for ; Sun, 26 Oct 2003 18:43:40 +0100 Message-Id: <5.1.0.14.2.20031026184225.00b804b8@mail.home.nl> X-Sender: HansV@mail.vz.geodan.nl X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sun, 26 Oct 2003 18:43:36 +0100 To: chameleon@lists.maptools.org From: Hans Verlouw Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_20939539==_.ALT" X-MDRemoteIP: 217.120.34.104 X-Return-Path: Hans.Verlouw@Geodan.nl X-MDaemon-Deliver-To: chameleon@lists.maptools.org X-Spam-Status: No, hits=1.6 required=5.0 tests=HTML_10_20,HTML_FONT_COLOR_BLUE,HTML_MESSAGE version=2.55 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-Spam-Report: ---- Start SpamAssassin results 1.60 points, 5 required; * 0.1 -- BODY: HTML included in message * 0.1 -- BODY: HTML font color is blue * 1.4 -- BODY: Message is 10% to 20% HTML ---- End of SpamAssassin results X-Spam-Processed: mail.vz.geodan.nl, Sun, 26 Oct 2003 18:43:41 +0100 Subject: [Chameleon] Problem with Catalog Search Widget Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: --=====================_20939539==_.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed Just wanted to inform you all that the OGC Stateless Catalog Query Interface at http://ceomap2.ccrs.nrcan.gc.ca/cslt/wes/stateless-search.html now suddenly works (again?). This solves the problem I wrote about in this thread. Thanks to the one(s) that fixed the ceomap demo. BTW Huub, even after solving the problem with the quotes in the Python script you showed, I still got the same error replied. Hans --=====================_20939539==_.ALT Content-Type: text/html; charset="us-ascii" Just wanted to inform you all that the OGC Stateless Catalog Query Interface
at http://ceomap2.ccrs.nrcan.gc.ca/cslt/wes/stateless-search.html
now suddenly works (again?).
This solves the problem I wrote about in this thread.
Thanks to the one(s) that fixed the ceomap demo.

BTW Huub, even after solving the problem with the quotes in the Python script you showed, I still got the same error replied.

Hans
--=====================_20939539==_.ALT-- From hans.verlouw@home.nl Sun Oct 26 12:37:24 2003 Received: from smtpq3.home.nl (smtpq3.home.nl [213.51.128.198]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h9QHbN8o003211 for ; Sun, 26 Oct 2003 12:37:24 -0500 Received: from [213.51.128.132] (port=36737 helo=smtp1.home.nl) by smtpq3.home.nl with esmtp (Exim 4.20) id 1ADopO-0005zy-D6; Sun, 26 Oct 2003 18:37:22 +0100 Received: from cp93489-a.dbsch1.nb.home.nl ([217.120.34.104]:1688 helo=cp93489-a.Home.nl) by smtp1.home.nl with esmtp (Exim 4.20) id 1ADopN-0003zX-6j; Sun, 26 Oct 2003 18:37:21 +0100 Message-Id: <5.1.0.14.2.20031026182249.00b6be78@mail.home.nl> X-Sender: Hans.Verlouw@mail.home.nl X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sun, 26 Oct 2003 18:37:19 +0100 To: chameleon@lists.maptools.org From: Hans Verlouw Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-AtHome-MailScanner-Information: Neem contact op met support@home.nl voor meer informatie X-AtHome-MailScanner: Found to be clean Subject: [Chameleon] Problem with Catalog Search Widget Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hello, Just wanted to inform you all that the OGC Stateless Catalog Query Interface at http://ceomap2.ccrs.nrcan.gc.ca/cslt/wes/stateless-search.html now suddenly works (again?). This solves the problem I wrote about in this thread. Thanks to the one(s) that fixed the ceomap demo. BTW Huub, even after solving the problem with the quotes in the Python script you showed, I still got the same error replied. Hans From woodbri@swoodbridge.com Mon Oct 27 09:43:37 2003 Received: from swoodbridge.com (dpvc-129-44-191-48.bos.east.verizon.net [129.44.191.48]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h9REhb8o007774 for ; Mon, 27 Oct 2003 09:43:37 -0500 Received: from myst.swoodbridge.com ([10.1.1.7] helo=MYST) by swoodbridge.com with esmtp (Exim 3.33 #1) id 1AE8aj-0002mm-00 for chameleon@lists.maptools.org; Mon, 27 Oct 2003 09:43:33 -0500 From: woodbri@swoodbridge.com To: chameleon@lists.maptools.org Date: Mon, 27 Oct 2003 09:41:44 -0500 MIME-Version: 1.0 Reply-to: woodbri@swoodbridge.com Message-ID: <3F9CE858.9925.231A97B0@localhost> Priority: normal X-mailer: Pegasus Mail for Windows (v4.02) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: [Chameleon] Trying to get Chameleon Installed - round 2 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi all, I'm trying to get Chameleon installed and grabbed the latest tar files from maptools.org. Running RH8.0, PHP-4.3.2-rc2, MS 4.0 (probably pre-release). I have narrowed down my problems with the sample applications to the following two: 1) I get a Server 500 error that is being caused by the Scalebar widget. If i change the cwc2 tag to cwc3 on the scalebar widget the page loads fine without the scalebar, but leave it as cwc2 and it dies. 2) I can not get the key map to display. I thought it might be a path problem so I set the IMAGE= tag to the absolute web path (not file system path), but that didn't work. and when I look at the page source it is calling drawmap.php to generate the image which seems strange if you are passing an image location. A couple of other comments on installing the chameleon that are probably just the fact that I didn't read all of the docs on installing it, but I think you should clean these up anyway to make it more user friendly: 1) you have a lot of hard coded paths in the code and the sample app, just grep for ms4w. I think I found occurrences in the map file, index.phtml, session.php 2) you also have assumptions that the sample images are located at /chameleon_demo/images but the sample untar's into chameleon_sample/htdocs/images which does not have to be at the users web root as is my case. I would recommend moving these definitions into one file that you can tell the user to edit as part of the install process. So I got farther than last time, and any suggestions on debugging the Scalebar issue would be appreciated. Thanks for providing a very cool product, -Stephen Woodbridge From woodbri@swoodbridge.com Mon Oct 27 09:57:13 2003 Received: from swoodbridge.com (dpvc-129-44-191-48.bos.east.verizon.net [129.44.191.48]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h9REv38o007823 for ; Mon, 27 Oct 2003 09:57:13 -0500 Received: from myst.swoodbridge.com ([10.1.1.7] helo=MYST) by swoodbridge.com with esmtp (Exim 3.33 #1) id 1AE8nj-0002oA-00 for chameleon@lists.maptools.org; Mon, 27 Oct 2003 09:56:59 -0500 From: woodbri@swoodbridge.com To: chameleon@lists.maptools.org Date: Mon, 27 Oct 2003 09:55:10 -0500 MIME-Version: 1.0 Reply-to: woodbri@swoodbridge.com Message-ID: <3F9CEB7E.6413.2326E577@localhost> Priority: normal X-mailer: Pegasus Mail for Windows (v4.02) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: [Chameleon] Additional note on install problems Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Looking at the source code for the generated page I also noticed at the top of the page: ... Are these "ParseURL Failed" messages normal? What do they mean, how do I fix them? Thanks again, Steve From pagameba@magma.ca Mon Oct 27 10:21:46 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h9RFLk8o007969 for ; Mon, 27 Oct 2003 10:21:46 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca Magma's Mail Server with ESMTP id h9RFLjIM003254; Mon, 27 Oct 2003 10:21:45 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id h9RFLe36014819; Mon, 27 Oct 2003 10:21:45 -0500 Message-ID: <3F9D37FD.7030800@magma.ca> Date: Mon, 27 Oct 2003 10:21:33 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: woodbri@swoodbridge.com CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Additional note on install problems References: <3F9CEB7E.6413.2326E577@localhost> In-Reply-To: <3F9CEB7E.6413.2326E577@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Steve, these do not actually indicate errors but just a lack of return value from the ParseURL functions in the widgets noted below. A recent CVS version should have fixed these widgets. Cheers, Paul woodbri@swoodbridge.com wrote: > Looking at the source code for the generated page I also noticed at > the top of the page: > > > > > > > > > > > > ... > > Are these "ParseURL Failed" messages normal? What do they mean, how > do I fix them? > > Thanks again, > Steve > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Mon Oct 27 10:28:10 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h9RFSA8o008009 for ; Mon, 27 Oct 2003 10:28:10 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id h9RFSAOq032744; Mon, 27 Oct 2003 10:28:10 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id h9RFS9NY025365; Mon, 27 Oct 2003 10:28:10 -0500 Message-ID: <3F9D3981.40101@magma.ca> Date: Mon, 27 Oct 2003 10:28:01 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: woodbri@swoodbridge.com CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Trying to get Chameleon Installed - round 2 References: <3F9CE858.9925.231A97B0@localhost> In-Reply-To: <3F9CE858.9925.231A97B0@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Steve, comments in line ... woodbri@swoodbridge.com wrote: > Hi all, > > I'm trying to get Chameleon installed and grabbed the latest tar > files from maptools.org. Running RH8.0, PHP-4.3.2-rc2, MS 4.0 > (probably pre-release). > > I have narrowed down my problems with the sample applications to the > following two: > > 1) I get a Server 500 error that is being caused by the Scalebar > widget. If i change the cwc2 tag to cwc3 on the scalebar widget the > page loads fine without the scalebar, but leave it as cwc2 and it > dies. um. if you right-click on where the scalebar image *should be* and get the image url, you can copy that url to a separate tab/window and load the scalebar image directly. This may give you some error messages. > 2) I can not get the key map to display. I thought it might be a path > problem so I set the IMAGE= tag to the absolute web path (not file > system path), but that didn't work. and when I look at the page > source it is calling drawmap.php to generate the image which seems > strange if you are passing an image location. The keymap image needs to be a filesystem path, and it should be able to be either absolute or relative to the template if provided in the template, or relative to the map file if set in the map file. It uses drawmap.php because we are manually rendering the extents box to account for differences in projection between the current image and the projection that the keymap was rendered in. This may be a bit flaky right now. > > A couple of other comments on installing the chameleon that are > probably just the fact that I didn't read all of the docs on > installing it, but I think you should clean these up anyway to make > it more user friendly: > > 1) you have a lot of hard coded paths in the code and the sample app, > just grep for ms4w. I think I found occurrences in the map file, > index.phtml, session.php the sample app is a work in progress. We'll try to accomodate your comments here. I believe the paths are absolute in the map file because of a problem we are having getting mapserver to use relative paths correctly, still not sure if that is a mapserver problem or a chameleon problem. > 2) you also have assumptions that the sample images are located at > /chameleon_demo/images but the sample untar's into > chameleon_sample/htdocs/images which does not have to be at the users > web root as is my case. The sample assumes that there is a /chameleon_demo/ alias in the web server which points to chameleon_sample/htdocs/. If this is set up then the image references work :) We'll work on this too. > > I would recommend moving these definitions into one file that you can > tell the user to edit as part of the install process. This should not be necessary (at least, beyond telling the sample where chameleon is installed). > > So I got farther than last time, and any suggestions on debugging the > Scalebar issue would be appreciated. > > Thanks for providing a very cool product, > -Stephen Woodbridge > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > Cheers, Paul -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From woodbri@swoodbridge.com Mon Oct 27 10:57:54 2003 Received: from swoodbridge.com (dpvc-129-44-191-48.bos.east.verizon.net [129.44.191.48]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h9RFvr8o008322 for ; Mon, 27 Oct 2003 10:57:53 -0500 Received: from myst.swoodbridge.com ([10.1.1.7] helo=MYST) by swoodbridge.com with esmtp (Exim 3.33 #1) id 1AE9ka-0002rw-00; Mon, 27 Oct 2003 10:57:48 -0500 From: woodbri@swoodbridge.com To: spencer@dmsolutions.ca Date: Mon, 27 Oct 2003 10:55:59 -0500 MIME-Version: 1.0 Subject: Re: [Chameleon] Trying to get Chameleon Installed - round 2 Reply-to: woodbri@swoodbridge.com CC: chameleon@lists.maptools.org Message-ID: <3F9CF9BF.5435.235E918B@localhost> Priority: normal In-reply-to: <3F9D3981.40101@magma.ca> References: <3F9CE858.9925.231A97B0@localhost> X-mailer: Pegasus Mail for Windows (v4.02) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: On 27 Oct 2003 at 10:28, Paul Spencer wrote: > > 1) I get a Server 500 error that is being caused by the Scalebar > > widget. If i change the cwc2 tag to cwc3 on the scalebar widget the > > page loads fine without the scalebar, but leave it as cwc2 and it > > dies. > > um. if you right-click on where the scalebar image *should be* and get > the image url, you can copy that url to a separate tab/window and load > the scalebar image directly. This may give you some error messages. If I leave the tag as cwc2 then I get a server 500 error and there is not page rendered, just the premature end of headers message. So no URL to chase down. Changing the tag to cwc3, is the same as removing the tag from the template as it is just processed as an unrecognizable html tag and hence does not have an html generated so there again is nothing to look at and no url to chase down. I suppose I can chase down the crashing line in the widget by move a print "
Here\n"; exit; pair through the widget code until I can localize the line that crashes. This is pretty tedious and I was hoping you might have some insight into what might be causing it. -Steve From Hans.Verlouw@Geodan.nl Mon Oct 27 11:28:28 2003 Received: from mail.vz.geodan.nl (host-3.geodan.demon.nl [212.238.227.179]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h9RGSR8o008445 for ; Mon, 27 Oct 2003 11:28:28 -0500 Received: from cp93489-a.Geodan.nl ([212.238.227.182]) by mail.vz.geodan.nl (mail.vz.geodan.nl [212.238.227.179]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 12-md50000000076.tmp for ; Mon, 27 Oct 2003 17:27:58 +0100 Message-Id: <5.1.0.14.2.20031027162458.0234b558@mail.vz.geodan.nl> X-Sender: HansV@mail.vz.geodan.nl X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 27 Oct 2003 17:27:58 +0100 To: chameleon@lists.maptools.org From: Hans Verlouw Subject: Re: [Chameleon] Problem with Catalog Search Widget In-Reply-To: <5.1.0.14.2.20031026184225.00b804b8@mail.home.nl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Processed: mail.vz.geodan.nl, Mon, 27 Oct 2003 17:27:58 +0100 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 212.238.227.182 X-Return-Path: Hans.Verlouw@Geodan.nl X-MDaemon-Deliver-To: chameleon@lists.maptools.org Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: My conclusion was a bit too optimistic ;-) so let me clarify things. There are 2 similar looking demo sites: http://ogc.compusult.nf.ca/OGC/stateless-search.html http://ceomap2.ccrs.nrcan.gc.ca/cslt/wes/stateless-search.html The first one is still not working, although I believe it's the same software as the second one. The second one works fine, both as a stand alone service as well as being called from within Chameleon's CatalogSearch. When I started this thread I tested with Compusult, which didn't work, so I wrote to this list. In my next message, when I wrote it worked again, I tested with Ceomap, not being aware that I was testing another site. So I can continue working on my Chameleon app now, that's great. But there still are two remaining questions I have: 1. What is the difference between Compusult's and Ceomap's catquery? 2. Where can I find the specs that Ceomap's catquery is using? I noticed some differences between the draft OGC Web Services Stateless Catalog Profile from August 29, 2001 en the actually XML returned by catquery. For the moment I changed my local CatalogSearchPopup.phtml. Hans From remi.baud@eivd.ch Tue Oct 28 07:17:35 2003 Received: from smtp-relay (mail1.eivd.ch [193.134.216.148]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h9SCHY8o014597 for ; Tue, 28 Oct 2003 07:17:35 -0500 Received: from eint11.einet.ad.eivd.ch ([10.192.41.23]) by smtp-relay (8.12.7/8.12.7/YCOM SA SMTPGateway 1.31) with ESMTP id h9SCHVen032041 for ; Tue, 28 Oct 2003 13:17:31 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Date: Tue, 28 Oct 2003 13:17:31 +0100 Message-ID: <22CD7A0EA6070A4DB932011F3429F190B7FF35@eint11.einet.ad.eivd.ch> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: testing chameleon Thread-Index: AcOdTXY7/mhLHd+MROCrTxtdcyuixA== From: "BAUD remi" To: X-Virus-Scanned: Scanned by Amavisd / YCOM SA Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by www.maptools.org id h9SCHY8o014597 Subject: [Chameleon] testing chameleon Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi the list, Does anyone can give me a small example of context file and template file for testing my service instance (chameleon.php) and my configuration? I've tried with the small example in the HOWTO but I don't know what I have to write in my context file. Is it mandatory to use context file when a don't work with remote datas (only local files)?? Can I use with chameleon a mapserver's .map file that I created with maplab for example or another existing map file? thank you in advance... cheers! From remi.baud@eivd.ch Tue Oct 28 05:02:25 2003 Received: from smtp-relay (mail1.eivd.ch [193.134.216.148]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h9SA2O8o014088 for ; Tue, 28 Oct 2003 05:02:24 -0500 Received: from eint11.einet.ad.eivd.ch ([10.192.41.23]) by smtp-relay (8.12.7/8.12.7/YCOM SA SMTPGateway 1.31) with ESMTP id h9SA2Ken025067 for ; Tue, 28 Oct 2003 11:02:20 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Date: Tue, 28 Oct 2003 11:02:20 +0100 Message-ID: <22CD7A0EA6070A4DB932011F3429F190B7FF30@eint11.einet.ad.eivd.ch> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: chameleon service instance Thread-Index: AcOdOpNSM9Q3nVtqQhOG78dJRnKMhA== From: "BAUD remi" To: X-Virus-Scanned: Scanned by Amavisd / YCOM SA Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by www.maptools.org id h9SA2O8o014088 Subject: [Chameleon] chameleon service instance Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi the list, Does anyone can give me a small example of context file and template file for testing my service instance (chameleon.php) and my configuration? I've tried with the small example in the HOWTO but I don't know what I have to write in my context file. Is it mandatory to use context file when a don't work with remote datas (only local files)?? Can I use with chameleon a mapserver's .map file that I created with maplab for example or another existing map file? thank you in advance... cheers! From john.pulles@geodan.nl Tue Oct 28 08:40:48 2003 Received: from mail.vz.geodan.nl (host-3.geodan.demon.nl [212.238.227.179]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h9SDel8o014912 for ; Tue, 28 Oct 2003 08:40:48 -0500 Received: from JOHN ([212.238.227.182]) by mail.vz.geodan.nl (mail.vz.geodan.nl [212.238.227.179]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 41-md50000000084.tmp for ; Tue, 28 Oct 2003 14:39:56 +0100 From: john.pulles@geodan.nl To: chameleon@lists.maptools.org Date: Tue, 28 Oct 2003 14:40:04 +0100 MIME-Version: 1.0 Message-ID: <3F9E7FC4.7549.513DC13@localhost> Priority: normal X-mailer: Pegasus Mail for Windows (v4.11) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Spam-Processed: mail.vz.geodan.nl, Tue, 28 Oct 2003 14:39:56 +0100 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 212.238.227.182 X-Return-Path: john.pulles@geodan.nl X-MDaemon-Deliver-To: chameleon@lists.maptools.org Subject: [Chameleon] map widget in alpha3 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Using chameleon alpha2, I made an application (= an index.phtml, template file, and map file) which correctly showed the map, and also zoomed in/out. Unfortunately, after having moved to chameleon alpha3 the same application behaves differently now: zoom-in/out doesn't work anymore (although the scalebar shows the right distance). In addition, when the mapdhtml widget has a width/height ration which is different from that used in the map, it streches the image to fill the entire widget box? Does anyone have a clue about this behaviour? What changes from alpha2 to 3 are related to it, and how can I solve it? Thanks, John. From thorne@dmsolutions.ca Tue Oct 28 09:02:18 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h9SE2H8o015081 for ; Tue, 28 Oct 2003 09:02:17 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id h9SE2Gfm028056 for ; Tue, 28 Oct 2003 09:02:16 -0500 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id h9SE2FjK023014 for ; Tue, 28 Oct 2003 09:02:16 -0500 Message-ID: <3F9E772F.7070609@dmsolutions.ca> Date: Tue, 28 Oct 2003 09:03:27 -0500 From: "Christopher R. Thorne" Reply-To: thorne@dmsolutions.ca Organization: DM Solutions Group Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] testing chameleon References: <22CD7A0EA6070A4DB932011F3429F190B7FF35@eint11.einet.ad.eivd.ch> In-Reply-To: <22CD7A0EA6070A4DB932011F3429F190B7FF35@eint11.einet.ad.eivd.ch> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hello, I can understand your confusion. Currently there are two parallel versions of Chameleon. 1) Chameleon version 1.0.3 -> which only uses context files as well as has the ability to call a Server Instance. A sample context (gmap_context.xml) file and template (test.html) using the cwc2.php are all located in /cwc2/htdocs/ if you are calling this sample app locally the server instance would be: http://localhost/cwc2/cwc2.php?template=cwc2/htdocs/test.html&context=cwc2/htdocs/gmap_context.xml 2) Chameleon version 1.1 -> Can use both Context and mapserver's *.map which you can create in maplab. The only real set back of the current Chameleon 1.1 version is that does not handle Server instances. There is a sample Chameleon 1.1 application that you can separately download on Maptools.org. the sample application uses an index.phtml to call the map file , template and chameleon.php Hopefully in the next couple of months Chameleon 1.0.x will be phased out and only the current version Chameleon 1.1.x will take over. Thanks Chris BAUD remi wrote: > Hi the list, > > Does anyone can give me a small example of context file and template file for testing my service instance (chameleon.php) and my configuration? I've tried with the small example in the HOWTO but I don't know what I have to write in my context file. > > Is it mandatory to use context file when a don't work with remote datas (only local files)?? > > Can I use with chameleon a mapserver's .map file that I created with maplab for example or another existing map file? > > thank you in advance... > > cheers! > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- Christopher R. Thorne GIS Specialist, DM Solutions Group Inc. http://www.dmsolutions.ca email: thorne@dmsolutions.ca Phone: (613) 565-5056 ext.22 Fax : (613) 565-0925 ------------------------------ From bartvde@xs4all.nl Tue Oct 28 09:30:43 2003 Received: from smtpzilla5.xs4all.nl (smtpzilla5.xs4all.nl [194.109.127.141]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h9SEUg8o015210 for ; Tue, 28 Oct 2003 09:30:43 -0500 Received: from webmail.xs4all.nl (webmail8.xs4all.nl [194.109.127.33]) by smtpzilla5.xs4all.nl (8.12.9/8.12.9) with SMTP id h9SEUVZ2025866 for ; Tue, 28 Oct 2003 15:30:41 +0100 (CET) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Tue, 28 Oct 2003 15:30:41 +0100 (CET) Message-ID: <8007.212.238.227.182.1067351441.squirrel@webmail.xs4all.nl> In-Reply-To: <3F9E7FC4.7549.513DC13@localhost> References: <3F9E7FC4.7549.513DC13@localhost> Date: Tue, 28 Oct 2003 15:30:41 +0100 (CET) Subject: Re: [Chameleon] map widget in alpha3 From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, we found the solution to the problem of no zoomin. Between the two alpha versions the constructor of the Application object (which extends Chameleon) has changed. It used to be: class SampleApp extends Chameleon { function SampleApp() { parent::Chameleon(); } And now it is: class SampleApp extends Chameleon { function SampleApp() { parent::Chameleon(); $this->moMapSession = new MapSession_RW; $this->moMapSession->setTempDir( getSessionSavePath()); } Best regards, Bart > Using chameleon alpha2, I made an application (= an index.phtml, template > file, and map file) which correctly showed the map, and also zoomed > in/out. > Unfortunately, after having moved to chameleon alpha3 the same application > behaves differently now: zoom-in/out doesn't work anymore (although the > scalebar shows the right distance). > In addition, when the mapdhtml widget has a width/height ration which is > different from that used in the map, it streches the image to fill the > entire widget box? > > Does anyone have a clue about this behaviour? What changes from alpha2 to > 3 are related to it, and how can I solve it? > > Thanks, > John. > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From Tom.Kralidis@CCRS.NRCan.gc.ca Tue Oct 28 17:45:18 2003 Received: from dns1.ccrs.nrcan.gc.ca (dns1.ccrs.nrcan.gc.ca [132.156.11.189]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h9SMjI8o017243 for ; Tue, 28 Oct 2003 17:45:18 -0500 Received: from s5-ccr-r1.ccrs.nrn.nrcan.gc.ca (s5-ccr-r1.ccrs.nrcan.gc.ca [132.156.20.32]) by dns1.ccrs.nrcan.gc.ca (8.12.9/8.12.10) with ESMTP id h9SMjBtO088741; Tue, 28 Oct 2003 17:45:12 -0500 (EST) Received: by s5-ccr-r1.ccrs.nrcan.gc.ca with Internet Mail Service (5.5.2657.72) id ; Tue, 28 Oct 2003 17:45:11 -0500 Message-ID: <7CDD7B94357FD5119E800002A537C46E04FA2755@s5-ccr-r1.ccrs.nrcan.gc.ca> From: Tom.Kralidis@CCRS.NRCan.gc.ca To: Hans.Verlouw@Geodan.nl, chameleon@lists.maptools.org Subject: RE: [Chameleon] Problem with Catalog Search Widget Date: Tue, 28 Oct 2003 17:45:08 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" X-CCRS-Hits: 0.285 X-CCRS-Initial-Recip: X-Scanned-By: MIMEDefang 2.35 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, The catalog may have had some intermittent performance issues. Chameleon has no control over the performance, quality of service and / or availability of the catalog, or any other remote service, for that matter. Cheers ..Tom -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org]On Behalf Of Hans Verlouw Sent: Sunday, October 26, 2003 12:44 PM To: chameleon@lists.maptools.org Subject: [Chameleon] Problem with Catalog Search Widget Just wanted to inform you all that the OGC Stateless Catalog Query Interface at http://ceomap2.ccrs.nrcan.gc.ca/cslt/wes/stateless-search.html now suddenly works (again?). This solves the problem I wrote about in this thread. Thanks to the one(s) that fixed the ceomap demo. BTW Huub, even after solving the problem with the quotes in the Python script you showed, I still got the same error replied. Hans From Tom.Kralidis@CCRS.NRCan.gc.ca Tue Oct 28 18:04:01 2003 Received: from dns1.ccrs.nrcan.gc.ca (dns1.ccrs.nrcan.gc.ca [132.156.11.189]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h9SN408o017355 for ; Tue, 28 Oct 2003 18:04:00 -0500 Received: from s5-ccr-r1.ccrs.nrn.nrcan.gc.ca (s5-ccr-r1.ccrs.nrcan.gc.ca [132.156.20.32]) by dns1.ccrs.nrcan.gc.ca (8.12.9/8.12.10) with ESMTP id h9SN3rtO089185; Tue, 28 Oct 2003 18:03:53 -0500 (EST) Received: by s5-ccr-r1.ccrs.nrcan.gc.ca with Internet Mail Service (5.5.2657.72) id ; Tue, 28 Oct 2003 18:03:52 -0500 Message-ID: <7CDD7B94357FD5119E800002A537C46E04FA275B@s5-ccr-r1.ccrs.nrcan.gc.ca> From: Tom.Kralidis@CCRS.NRCan.gc.ca To: Hans.Verlouw@Geodan.nl, chameleon@lists.maptools.org Subject: RE: [Chameleon] Problem with Catalog Search Widget Date: Tue, 28 Oct 2003 18:03:44 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" X-CCRS-Hits: 0.285 X-CCRS-Initial-Recip: X-Scanned-By: MIMEDefang 2.35 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: > -----Original Message----- > From: chameleon-admin@lists.maptools.org > [mailto:chameleon-admin@lists.maptools.org]On Behalf Of Hans Verlouw > Sent: Monday, October 27, 2003 11:28 AM > To: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Problem with Catalog Search Widget > > > My conclusion was a bit too optimistic ;-) > so let me clarify things. > There are 2 similar looking demo sites: > http://ogc.compusult.nf.ca/OGC/stateless-search.html > http://ceomap2.ccrs.nrcan.gc.ca/cslt/wes/stateless-search.html > > The first one is still not working, although I believe it's the same > software as the second one. > The second one works fine, both as a stand alone service as > well as being > called from within Chameleon's CatalogSearch. > > When I started this thread I tested with Compusult, which > didn't work, so I > wrote to this list. > In my next message, when I wrote it worked again, I tested > with Ceomap, not > being aware that I was testing another site. > > So I can continue working on my Chameleon app now, that's > great. But there > still are two remaining questions I have: > 1. What is the difference between Compusult's and Ceomap's catquery? They are both interfaces to services which support the OGC Catalog 1.0 specification. The difference is the data which is housed and discoverable. > 2. Where can I find the specs that Ceomap's catquery is using? > I noticed some differences between the draft OGC Web Services > Stateless > Catalog Profile from August 29, 2001 en the actually XML returned by > catquery. For the moment I changed my local CatalogSearchPopup.phtml. > Which draft spec are you looking at? ..Tom > Hans > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From Hans.Verlouw@Geodan.nl Wed Oct 29 05:00:29 2003 Received: from mail.vz.geodan.nl (host-3.geodan.demon.nl [212.238.227.179]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id h9TA0S8o020287 for ; Wed, 29 Oct 2003 05:00:29 -0500 Received: from cp93489-a.Geodan.nl ([212.238.227.182]) by mail.vz.geodan.nl (mail.vz.geodan.nl [212.238.227.179]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 4-md50000000092.tmp for ; Wed, 29 Oct 2003 11:00:09 +0100 Message-Id: <5.1.0.14.2.20031029102507.024ca9c0@mail.vz.geodan.nl> X-Sender: HansV@mail.vz.geodan.nl X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 29 Oct 2003 11:00:11 +0100 To: chameleon@lists.maptools.org From: Hans Verlouw Subject: RE: [Chameleon] Problem with Catalog Search Widget In-Reply-To: <7CDD7B94357FD5119E800002A537C46E04FA275B@s5-ccr-r1.ccrs.nr can.gc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Processed: mail.vz.geodan.nl, Wed, 29 Oct 2003 11:00:09 +0100 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 212.238.227.182 X-Return-Path: Hans.Verlouw@Geodan.nl X-MDaemon-Deliver-To: chameleon@lists.maptools.org Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Thank you Tom for your reply. I still have some questions. At 10/28/2003 06:03 PM -0500, Tom.Kralidis@CCRS.NRCan.gc.ca wrote: > > 1. What is the difference between Compusult's and Ceomap's catquery? > >They are both interfaces to services which support the OGC Catalog 1.0 >specification. The difference is the data which is housed and discoverable. But what I meant is that Compusult always returns invalid XML, while Ceomap always returns valid XML, so despite their different data, I assume there's something else different. > > 2. Where can I find the specs that Ceomap's catquery is using? > > I noticed some differences between the draft OGC Web Services > > Stateless > > Catalog Profile from August 29, 2001 en the actually XML returned by > > catquery. For the moment I changed my local CatalogSearchPopup.phtml. > > > >Which draft spec are you looking at? I used the draft (version 0.06, August 29, 2001) by Lou Reich (Computer Sciences Corp.) and Panagiotis (Peter) A. Vretanos (CubeWerx Inc.). On the OGC site I only see the 1.1.1 specs December 13, 2002 by Doug Nebert, but this is non-HTML. Could you please send me the 1.0 specs you used? Thanks, Hans From info@pescatoreluca.com Sat Nov 1 10:22:58 2003 Received: from ms002msg.fastwebnet.it (ms002msg.fastwebnet.it [213.140.2.52]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hA1FMu8o009105 for ; Sat, 1 Nov 2003 10:22:58 -0500 Received: from pescatoreluca.com (1.92.139.73) by ms002msg.fastwebnet.it (6.7.019) id 3F69F1A30070EA7A for chameleon@lists.maptools.org; Sat, 1 Nov 2003 16:22:55 +0100 Message-ID: <3FA3CFD7.7030506@pescatoreluca.com> Date: Sat, 01 Nov 2003 16:23:03 +0100 From: Luca Pescatore User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2 X-Accept-Language: en-us, en MIME-Version: 1.0 To: chameleon@lists.maptools.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Chameleon] Problem Running Chameleon Demo Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, I'm trying to run demo of Chameleon but i can't get it work. My system is running Mapserver 4.0 : MapServer version 4.0 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=GDAL INPUT=SHAPEFILE When i run demo i get a "Loading Image please Wait..." and some error, may be inclusion error, for some javascripts. (MapDHTMLWidget ParseURL Failed ! KeyMap ParseURL Failed ! BoundingBoxPopup ParseURL Failed ! ZoomIn ParseURL Failed ! ZoomOut ParseURL Failed ! ZoomAllLayers ParseURL Failed ! PanMap ParseURL Failed ! ) Dirs are, seems, configured correctly. In the same machine i get running a small map application, that works correctly. What i need to check for running demo ? Best Regards, Luca From Hans.Verlouw@Geodan.nl Tue Nov 4 13:43:10 2003 Received: from mail.vz.geodan.nl (host-3.geodan.demon.nl [212.238.227.179]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hA4Ih58o002556 for ; Tue, 4 Nov 2003 13:43:06 -0500 Received: from cp93489-a.Geodan.nl ([212.238.227.182]) by mail.vz.geodan.nl (mail.vz.geodan.nl [212.238.227.179]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 56-md50000000146.tmp for ; Tue, 04 Nov 2003 19:42:48 +0100 Message-Id: <5.1.0.14.2.20031104193128.024f5600@mail.vz.geodan.nl> X-Sender: HansV@mail.vz.geodan.nl X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 04 Nov 2003 19:42:46 +0100 To: chameleon@lists.maptools.org From: Hans Verlouw Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_35018223==_.ALT" X-Spam-Processed: mail.vz.geodan.nl, Tue, 04 Nov 2003 19:42:48 +0100 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 212.238.227.182 X-Return-Path: Hans.Verlouw@Geodan.nl X-MDaemon-Deliver-To: chameleon@lists.maptools.org Subject: [Chameleon] Problem interpreting results from CatalogSearch widget Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: --=====================_35018223==_.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed I have a problem interpreting results from the Catalog Search widget. Don't know if it's a Chameleon problem or PHP problem, but when I get results from the catalog server ($oXMLDoc->searchResponse->value->searchStatus->attributes['numberOfRecords'] > 0) I cannot retrieve the subelements of array ISO19119 in the XML doc. The core of the original code goes like: $nbIso = count($oXMLDoc->searchResponse->value->searchResults->value->ISO19119); for($i=0; $i < $nbIso; $i++) { $oRes =& $oXMLDoc->searchResponse->value->searchResults->value->ISO19119[$i]; $szLayerTitle = $oRes->value->citation->value->title->value; echo $szLayerTitle; } So I can interprete the response I get up to the level of $oXMLDoc->searchResponse->value->searchStatus but not deeper. My query was fulll response, so URL parameter ESN=f Can somebody tell me what is wrong here? Thanks in advance, Hans Verlouw ------------------------------------- Geodan SDT b.v. Buitenhaven 27-A 5211 TP 's-Hertogenbosch (NL) ------------------------------------- Tel: +31 (0)73 - 692 5151 Fax: +31 (0)73 - 692 5150 ------------------------------------- Postadres / mailing address President Kennedylaan 1 1079 MB Amsterdam (NL) ------------------------------------- E-mail: Hans.Verlouw@Geodan.nl Website: www.geodan.nl Disclaimer: www.geodan.nl/disclaimer ------------------------------------- --=====================_35018223==_.ALT Content-Type: text/html; charset="us-ascii" I have a problem interpreting results from the Catalog Search widget.
Don't know if it's a Chameleon problem or PHP problem,
but when I get results from the catalog server ($oXMLDoc->searchResponse->value->searchStatus->attributes['numberOfRecords'] > 0)
I cannot retrieve the subelements of array ISO19119 in the XML doc.
The core of the original code goes like:

$nbIso = count($oXMLDoc->searchResponse->value->searchResults->value->ISO19119);
for($i=0; $i < $nbIso; $i++)
{
     $oRes =& $oXMLDoc->searchResponse->value->searchResults->value->ISO19119[$i];
     $szLayerTitle    = $oRes->value->citation->value->title->value;
     echo $szLayerTitle;
}

So I can interprete the response I get up to the level of   $oXMLDoc->searchResponse->value->searchStatus
but not deeper.
My query was fulll response, so URL parameter ESN=f
Can somebody tell me what is wrong here?

Thanks in advance,

Hans Verlouw
-------------------------------------
Geodan SDT b.v.
Buitenhaven 27-A
5211 TP 's-Hertogenbosch (NL)
-------------------------------------
Tel: +31 (0)73 - 692 5151
Fax:  +31 (0)73 - 692 5150
-------------------------------------
Postadres / mailing address
President Kennedylaan 1
1079 MB Amsterdam (NL)
-------------------------------------
E-mail: Hans.Verlouw@Geodan.nl
Website: www.geodan.nl
Disclaimer: www.geodan.nl/disclaimer
-------------------------------------
--=====================_35018223==_.ALT-- From Tom.Kralidis@ec.gc.ca Tue Nov 4 13:55:04 2003 Received: from ecnwri1.ontario.int.ec.gc.ca (ecolink.cciw.ca [192.75.68.254]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hA4It48o005572 for ; Tue, 4 Nov 2003 13:55:04 -0500 Received: by ECNWRI1.ontario.int.ec.gc.ca with Internet Mail Service (5.5.2657.72) id ; Tue, 4 Nov 2003 13:55:00 -0500 Message-ID: <2576812186CDD411BF1500508B6DCE950583D14A@ECNWRI1.ontario.int.ec.gc.ca> From: "Tom Kralidis [Burlington]" To: "'Hans Verlouw'" , chameleon@lists.maptools.org Subject: RE: [Chameleon] Problem interpreting results from CatalogSearch w idget Date: Tue, 4 Nov 2003 13:54:51 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, This may be because a Service Exception report is being returned in the response, instead of the structure you are expecting. Can you print out the query string for the catalog URL and test in a web browser? What does the raw XML response say? ..Tom ========================= Tom Kralidis Systems Scientist Environment Canada Tel: +01-905-336-4409 http://www.ec.gc.ca/cise/ ========================= -----Original Message----- From: Hans Verlouw [mailto:Hans.Verlouw@Geodan.nl] Sent: Tuesday, November 04, 2003 1:43 PM To: chameleon@lists.maptools.org Subject: [Chameleon] Problem interpreting results from CatalogSearch widget I have a problem interpreting results from the Catalog Search widget. Don't know if it's a Chameleon problem or PHP problem, but when I get results from the catalog server ($oXMLDoc->searchResponse->value->searchStatus->attributes['numberOfRecords' ] > 0) I cannot retrieve the subelements of array ISO19119 in the XML doc. The core of the original code goes like: $nbIso = count($oXMLDoc->searchResponse->value->searchResults->value->ISO19119); for($i=0; $i < $nbIso; $i++) { $oRes =& $oXMLDoc->searchResponse->value->searchResults->value->ISO19119[$i]; $szLayerTitle = $oRes->value->citation->value->title->value; echo $szLayerTitle; } So I can interprete the response I get up to the level of $oXMLDoc->searchResponse->value->searchStatus but not deeper. My query was fulll response, so URL parameter ESN=f Can somebody tell me what is wrong here? Thanks in advance, Hans Verlouw ------------------------------------- Geodan SDT b.v. Buitenhaven 27-A 5211 TP 's-Hertogenbosch (NL) ------------------------------------- Tel: +31 (0)73 - 692 5151 Fax: +31 (0)73 - 692 5150 ------------------------------------- Postadres / mailing address President Kennedylaan 1 1079 MB Amsterdam (NL) ------------------------------------- E-mail: Hans.Verlouw@Geodan.nl Website: www.geodan.nl Disclaimer: www.geodan.nl/disclaimer ------------------------------------- From Hans.Verlouw@Geodan.nl Tue Nov 4 18:48:57 2003 Received: from mail.vz.geodan.nl (host-3.geodan.demon.nl [212.238.227.179]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hA4Nms8o015713 for ; Tue, 4 Nov 2003 18:48:55 -0500 Received: from cp93489-a.Geodan.nl ([217.120.34.104]) by mail.vz.geodan.nl (mail.vz.geodan.nl [212.238.227.179]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 19-md50000000148.tmp for ; Wed, 05 Nov 2003 00:48:14 +0100 Message-Id: <5.1.0.14.2.20031105003312.00b5fd88@mail.vz.geodan.nl> X-Sender: HansV@mail.vz.geodan.nl X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 05 Nov 2003 00:48:10 +0100 To: "Tom Kralidis [Burlington]" From: Hans Verlouw Subject: RE: [Chameleon] Problem interpreting results from CatalogSearch w idget Cc: chameleon@lists.maptools.org In-Reply-To: <2576812186CDD411BF1500508B6DCE950583D14A@ECNWRI1.ontario.i nt.ec.gc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-MDRemoteIP: 217.120.34.104 X-Return-Path: Hans.Verlouw@Geodan.nl X-MDaemon-Deliver-To: chameleon@lists.maptools.org X-Spam-Status: No, hits=-2.0 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REPLY_WITH_QUOTES version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-Spam-Report: ---- Start SpamAssassin results -2.00 points, 5 required; * -0.5 -- Has a In-Reply-To header * -0.5 -- BODY: Contains what looks like an email attribution * -0.5 -- BODY: Contains what looks like a quoted email text * -0.5 -- Reply with quoted text ---- End of SpamAssassin results X-Spam-Processed: mail.vz.geodan.nl, Wed, 05 Nov 2003 00:48:18 +0100 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Tom, I forgot to mention, but I caught the request that was generated, and tested this in a browser. The request generated is: http://ceomap2.ccrs.nrcan.gc.ca/cgi-bin/cslt/wes/service_manager/catquery?RS=XML&catalog=http%3A%2F%2Fceomap2.ccrs.nrcan.gc.ca%2Fcgi-bin%2Fcslt%2Fwes%2Fservice_manager%2Fcatquery&QUERY=SRS%3D%27EPSG%3A4326%27%0D%0AAND+title+like+%27%25Drainage%20Network%201M%20-%20Island%20(lines)%25%27%0D%0AAND+Format%3D%27gif%27%0D%0AAND+ServiceType%3D%27Web+Mapping+Layer%27+%0D%0AAND+Intersects%28LatLongBoundingBox%2C%0D%0A%09%09Envelope%28-160%2C+-50%2C+50%2C+10%29%29%0D%0A%09%09%09&SCHEMA=ISO19119&ESN=f&WANTCONTENT=XML&SEARCH=SEARCH I get a normal response, that is the one dataset I requested, and the response is complete. If I make my request 'wider', so it results in over 5 datasets I get a timeout in Chameleon, even if I increase the timeout in cwc2.xml. But that's another problem, which I hope will be solved when we have our own WCaS up and running. So that's not the real problem. So the XML returned looks good. The problem is interpreting this returned XML. Do you have a CatalogSearch widget running well in an app? Hans At 11/4/2003 07:54 PM, Tom Kralidis [Burlington] wrote: >Hi, > >This may be because a Service Exception report is being returned in the >response, instead of the structure you are expecting. Can you print out the >query string for the catalog URL and test in a web browser? What does the >raw XML response say? > >..Tom > >========================= >Tom Kralidis >Systems Scientist >Environment Canada >Tel: +01-905-336-4409 >http://www.ec.gc.ca/cise/ >========================= > >-----Original Message----- >From: Hans Verlouw [mailto:Hans.Verlouw@Geodan.nl] >Sent: Tuesday, November 04, 2003 1:43 PM >To: chameleon@lists.maptools.org >Subject: [Chameleon] Problem interpreting results from CatalogSearch widget > > >I have a problem interpreting results from the Catalog Search widget. >Don't know if it's a Chameleon problem or PHP problem, >but when I get results from the catalog server >($oXMLDoc->searchResponse->value->searchStatus->attributes['numberOfRecords' >] > 0) >I cannot retrieve the subelements of array ISO19119 in the XML doc. >The core of the original code goes like: > >$nbIso = >count($oXMLDoc->searchResponse->value->searchResults->value->ISO19119); >for($i=0; $i < $nbIso; $i++) >{ > $oRes =& >$oXMLDoc->searchResponse->value->searchResults->value->ISO19119[$i]; > $szLayerTitle = $oRes->value->citation->value->title->value; > echo $szLayerTitle; >} > >So I can interprete the response I get up to the level of >$oXMLDoc->searchResponse->value->searchStatus >but not deeper. >My query was fulll response, so URL parameter ESN=f >Can somebody tell me what is wrong here? > >Thanks in advance, > > >Hans Verlouw >------------------------------------- >Geodan SDT b.v. >Buitenhaven 27-A >5211 TP 's-Hertogenbosch (NL) >------------------------------------- >Tel: +31 (0)73 - 692 5151 >Fax: +31 (0)73 - 692 5150 >------------------------------------- >Postadres / mailing address >President Kennedylaan 1 >1079 MB Amsterdam (NL) >------------------------------------- >E-mail: Hans.Verlouw@Geodan.nl >Website: www.geodan.nl >Disclaimer: www.geodan.nl/disclaimer >------------------------------------- From pagameba@magma.ca Tue Nov 4 19:14:05 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hA50E48o015829 for ; Tue, 4 Nov 2003 19:14:05 -0500 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id hA50E2kK002018; Tue, 4 Nov 2003 19:14:02 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail1.magma.ca (8.12.10/8.12.9) with ESMTP id hA50Dv1s013219; Tue, 4 Nov 2003 19:14:01 -0500 Message-ID: <3FA840C4.3060200@magma.ca> Date: Tue, 04 Nov 2003 19:13:56 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Hans Verlouw CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Problem interpreting results from CatalogSearch widget References: <5.1.0.14.2.20031104193128.024f5600@mail.vz.geodan.nl> In-Reply-To: <5.1.0.14.2.20031104193128.024f5600@mail.vz.geodan.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hans, there may have been some change to the XML object code that we use for interpreting the response, I will try to check it. There is a potential issue with how we have implemented this widget, it is not particularly efficient and will timeout on larger requests ... well, almost any request with more than 3-4 results I think. There are almost certainly opportunites to improve this, specifically with not requesting full results until a layer is selected, for instance. Cheers, Paul Hans Verlouw wrote: > I have a problem interpreting results from the Catalog Search widget. > Don't know if it's a Chameleon problem or PHP problem, > but when I get results from the catalog server > ($oXMLDoc->searchResponse->value->searchStatus->attributes['numberOfRecords'] > > 0) > I cannot retrieve the subelements of array ISO19119 in the XML doc. > The core of the original code goes like: > > $nbIso = > count($oXMLDoc->searchResponse->value->searchResults->value->ISO19119); > for($i=0; $i < $nbIso; $i++) > { > $oRes =& > $oXMLDoc->searchResponse->value->searchResults->value->ISO19119[$i]; > $szLayerTitle = $oRes->value->citation->value->title->value; > echo $szLayerTitle; > } > > So I can interprete the response I get up to the level of > $oXMLDoc->searchResponse->value->searchStatus > but not deeper. > My query was fulll response, so URL parameter ESN=f > Can somebody tell me what is wrong here? > > Thanks in advance, > > Hans Verlouw > ------------------------------------- > Geodan SDT b.v. > Buitenhaven 27-A > 5211 TP 's-Hertogenbosch (NL) > ------------------------------------- > Tel: +31 (0)73 - 692 5151 > Fax: +31 (0)73 - 692 5150 > ------------------------------------- > Postadres / mailing address > President Kennedylaan 1 > 1079 MB Amsterdam (NL) > ------------------------------------- > E-mail: Hans.Verlouw@Geodan.nl > Website: www.geodan.nl > Disclaimer: www.geodan.nl/disclaimer > ------------------------------------- > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From bartvde@xs4all.nl Fri Nov 7 08:43:32 2003 Received: from smtpzilla5.xs4all.nl (smtpzilla5.xs4all.nl [194.109.127.141]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hA7DhV8o031935 for ; Fri, 7 Nov 2003 08:43:32 -0500 Received: from webmail.xs4all.nl (webmail8.xs4all.nl [194.109.127.33]) by smtpzilla5.xs4all.nl (8.12.9/8.12.9) with SMTP id hA7DhFkH073261 for ; Fri, 7 Nov 2003 14:43:30 +0100 (CET) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Fri, 7 Nov 2003 14:43:30 +0100 (CET) Message-ID: <19265.212.238.227.182.1068212610.squirrel@webmail.xs4all.nl> Date: Fri, 7 Nov 2003 14:43:30 +0100 (CET) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [Chameleon] error in CWC2ApplicationDevelopersGuide Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, there is an error in the ApplicationDevelopersGuide (or it has changed between Chameleon 1.0 and Chameleon 1.1). It says in the guide that to get a different popup.css for all popups in your application you should define a shared resource like: This should be: Best regards, Bart From huub.fleuren@geodan.nl Fri Nov 7 09:09:33 2003 Received: from mail.vz.geodan.nl (host-3.geodan.demon.nl [212.238.227.179]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hA7E9X8o032026 for ; Fri, 7 Nov 2003 09:09:33 -0500 Received: from geodan.nl ([212.238.227.182]) (authenticated user huub@mail.vz.geodan.nl) by mail.vz.geodan.nl (mail.vz.geodan.nl [212.238.227.179]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 51-md50000000175.tmp for ; Fri, 07 Nov 2003 15:08:51 +0100 Message-ID: <3FABA769.4080302@geodan.nl> Date: Fri, 07 Nov 2003 15:08:41 +0100 From: Huub Fleuren User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: chameleon@lists.maptools.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: huub@mail.vz.geodan.nl X-Spam-Processed: mail.vz.geodan.nl, Fri, 07 Nov 2003 15:08:51 +0100 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 212.238.227.182 X-Return-Path: huub.fleuren@geodan.nl X-MDaemon-Deliver-To: chameleon@lists.maptools.org Subject: [Chameleon] ImageObjects and gd images Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hello I would like to compose a final layout image from a drawn map and scalebar image from the mapserver and a default layout, which is a PNG on disk. I found that a $layout_img gd image object create with $layout_img=imagecreatefrompng("a4portrait.png"); is not the same as an imageobject create with mapscript like $oImage = oMap->draw(); A solution to this would be to save the map $szMapUrl = $oImage->saveWebImage("") and read such file with gd to paste a new image together from diskfiles But i would rather paste the final layout with oMap->pasteImage functionality. This would be possible, if a MapScript imageObject coould be read from file or i'm missing something: can a gd image be cast into a mapscript image object? Greetings Huub -- ------------------------------------- Geodan IT b.v. Buitenhaven 27-A 5211 TP 's-Hertogenbosch (NL) ------------------------------------- Tel: +31 (0)73 - 692 5151 Fax: +31 (0)73 - 692 5150 Mobiel: ------------------------------------- Postadres / mailing address President Kennedylaan 1 1079 MB Amsterdam (NL) ------------------------------------- E-mail: huub.fleuren@geodan.nl Website: www.geodan.nl Disclaimer: www.geodan.nl/disclaimer ------------------------------------- From jfournier@dmsolutions.ca Fri Nov 7 09:41:27 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hA7EfR8o032140 for ; Fri, 7 Nov 2003 09:41:27 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca Magma's Mail Server with ESMTP id hA7EfLuD015020; Fri, 7 Nov 2003 09:41:21 -0500 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id hA7EfGxr020934; Fri, 7 Nov 2003 09:41:21 -0500 Message-ID: <3FABAFC2.9030307@dmsolutions.ca> Date: Fri, 07 Nov 2003 09:44:18 -0500 From: Jason Fournier Reply-To: jfournier@dmsolutions.ca User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] error in CWC2ApplicationDevelopersGuide References: <19265.212.238.227.182.1068212610.squirrel@webmail.xs4all.nl> In-Reply-To: <19265.212.238.227.182.1068212610.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Thanks Bart ... we will update documentation. Best Regards, Jason bartvde@xs4all.nl wrote: >Hi list, > >there is an error in the ApplicationDevelopersGuide (or it has changed >between Chameleon 1.0 and Chameleon 1.1). > >It says in the guide that to get a different popup.css for all popups in >your application you should define a shared resource like: > > > >This should be: > >value=""/> > >Best regards, >Bart >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > > -- -- |Jason Fournier |DM Solutions Group |Application Developer |Ottawa, ON |613.565.5056 x 18 |jfournier@dmsolutions.ca -- From pagameba@magma.ca Fri Nov 7 10:21:10 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hA7FL98o032314 for ; Fri, 7 Nov 2003 10:21:09 -0500 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id hA7FL6Md016054; Fri, 7 Nov 2003 10:21:06 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail1.magma.ca (8.12.10/8.12.9) with ESMTP id hA7FL4Ae014941; Fri, 7 Nov 2003 10:21:06 -0500 Message-ID: <3FABB85D.8060304@magma.ca> Date: Fri, 07 Nov 2003 10:21:01 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Huub Fleuren CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] ImageObjects and gd images References: <3FABA769.4080302@geodan.nl> In-Reply-To: <3FABA769.4080302@geodan.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Huub, AFAIK, even though the mapserver imageobj is a GD image, it is not compatible with the PHP GD image objects. This is unfortunate, but something that is possible because they share a common data structure at some level in the code. There is an existing bug in MapServer bugzilla, http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=110 that discusses this issue. Please contact me directly if you are interested in funding this work. Otherwise, it will likely wait until someone either takes an interest in this issue or funds it. Another suggestion is to create a layer with TRANSFORM FALSE, ensure that the image is transparent in the appropriate places for the map to show through, and then draw this layer last as a mask on top of the map. You can then set the source for the layer to your PNG file and it should work. Cheers, Paul Huub Fleuren wrote: > Hello > > I would like to compose a final layout image from a drawn map and > scalebar image from the mapserver and a default layout, which is a PNG > on disk. > > I found that a $layout_img gd image object create with > $layout_img=imagecreatefrompng("a4portrait.png"); > > is not the same as an imageobject create with mapscript like > $oImage = oMap->draw(); > > > A solution to this would be to save the map > > $szMapUrl = $oImage->saveWebImage("") > > and read such file with gd to paste a new image together from diskfiles > > > But i would rather paste the final layout with oMap->pasteImage > functionality. > > This would be possible, if a MapScript imageObject coould be read from file > > or i'm missing something: can a gd image be cast into a mapscript image > object? > > > Greetings > > Huub > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From bmay@mapwise.com Fri Nov 7 15:04:40 2003 Received: from mapwise.com (mail17.safesecureweb.com [65.36.132.5]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hA7K4d8o001283 for ; Fri, 7 Nov 2003 15:04:40 -0500 Date: Fri, 7 Nov 2003 15:04:38 -0500 Message-Id: <200311071504.AA201327274@mapwise.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Brian May" Reply-To: To: CC: X-Mailer: Subject: [Chameleon] geobase Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I am looking for information on how to use (and whether I should use) the geobasecontextselectorwidget. I can't find anything besides the basic documentation in the chameleon docs that don't really say much about it. Brian May MapWise, Inc. From pagameba@magma.ca Fri Nov 7 18:51:30 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hA7NpT8o003713 for ; Fri, 7 Nov 2003 18:51:30 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca Magma's Mail Server with ESMTP id hA7NpMgJ027521; Fri, 7 Nov 2003 18:51:23 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id hA7NpDmQ001588; Fri, 7 Nov 2003 18:51:17 -0500 Message-ID: <3FAC2FED.3070301@magma.ca> Date: Fri, 07 Nov 2003 18:51:09 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bmay@mapwise.com CC: chameleon@lists.maptools.org, bfucile@mapwise.com Subject: Re: [Chameleon] geobase References: <200311071504.AA201327274@mapwise.com> In-Reply-To: <200311071504.AA201327274@mapwise.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Brian, the geobasecontextselector widget is not well documented because it was developed specifically for GeoBase. There should be another widget, the ContextSelector widget, that was developed as a generic version of this widget. If you can find that widget, I would suggest using it. I can post some instructions on its use if needed, but I think there is some documentation included with it. Cheers, Paul Brian May wrote: > I am looking for information on how to use (and whether I should use) the geobasecontextselectorwidget. I can't find anything besides the basic documentation in the chameleon docs that don't really say much about it. > > Brian May > MapWise, Inc. > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From darren_redfern2000@hotmail.com Mon Nov 10 07:58:31 2003 Received: from hotmail.com (law9-f35.law9.hotmail.com [64.4.9.35]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hAACwU8o023686 for ; Mon, 10 Nov 2003 07:58:31 -0500 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 10 Nov 2003 04:47:27 -0800 Received: from 65.93.109.12 by lw9fd.law9.hotmail.msn.com with HTTP; Mon, 10 Nov 2003 12:47:27 GMT X-Originating-IP: [65.93.109.12] X-Originating-Email: [darren_redfern2000@hotmail.com] From: "Darren Redfern" To: chameleon@lists.maptools.org Date: Mon, 10 Nov 2003 07:47:27 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 10 Nov 2003 12:47:27.0917 (UTC) FILETIME=[CC2985D0:01C3A788] Subject: [Chameleon] Fwd: RE: CWC2 Training Course Pre-package Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: >From: "Suddaby, Rod" >To: 'Darren Redfern' >Subject: RE: CWC2 Training Course Pre-package >Date: Fri, 7 Nov 2003 11:55:01 -0500 > >Hi Darren: >I was hoping you could help me solve a configuration problem I'm having >with >the latest Chameleon release. When I try to access any of the demo >applications, the CWC2 tags are merely dumped to the browser without any >processing. Any idea on what I've done wrong? > >Oh... the system configuration is: >Win2000 >Apache 2.0.44 >PHP 4.3.1 (loaded as a CGI app) >Mapserver/Mapscript 4.1 (precompiled Win32 release) > >Thanks, >Rod Suddaby _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca From hduong0@hotmail.com Mon Nov 10 12:36:54 2003 Received: from hotmail.com (bay2-dav58.bay2.hotmail.com [65.54.246.193]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hAAHar8o031110 for ; Mon, 10 Nov 2003 12:36:54 -0500 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 10 Nov 2003 09:35:53 -0800 Received: from 64.231.81.150 by bay2-dav58.bay2.hotmail.com with DAV; Mon, 10 Nov 2003 17:35:52 +0000 X-Originating-IP: [64.231.81.150] X-Originating-Email: [hduong0@hotmail.com] From: "Hoang Duong" To: Date: Mon, 10 Nov 2003 12:36:05 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0000_01C3A787.359D4A30" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcOnbvJJHYvxsf6iSGycnwA/9uryVQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: X-OriginalArrivalTime: 10 Nov 2003 17:35:53.0096 (UTC) FILETIME=[16DA4880:01C3A7B1] Subject: [Chameleon] jsp/servlet Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0000_01C3A787.359D4A30 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, I am new to Chameleon/Mapserver. I would like to know how to use JSP/Servlet with Chameleon. Thank you and regards, Hoang ______________________ Hoang Duong Senior Software Engineer E: hduong@mail.com T: 416.744.3698 C: 416.826.3544 ------=_NextPart_000_0000_01C3A787.359D4A30 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

I am new to Chameleon/Mapserver.  I would like to know how to use = JSP/Servlet with Chameleon. 

 

Thank you and regards,

Hoang

 

______________________

Hoang Duong

Senior Software = Engineer

E<= font size=3D2 face=3DArial>hduong@mail.com

T<= font size=3D2 face=3DArial>:  416.744.3698

C<= font size=3D2 face=3DArial>:  416.826.3544

 

------=_NextPart_000_0000_01C3A787.359D4A30-- From thorne@dmsolutions.ca Tue Nov 11 13:08:08 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hABI878o004778 for ; Tue, 11 Nov 2003 13:08:08 -0500 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx2.magma.ca Magma's Mail Server with ESMTP id hABI82BD014413 for ; Tue, 11 Nov 2003 13:08:07 -0500 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail1.magma.ca (8.12.10/8.12.9) with ESMTP id hABI81Nc001131 for ; Tue, 11 Nov 2003 13:08:01 -0500 Message-ID: <3FB125AF.1020903@dmsolutions.ca> Date: Tue, 11 Nov 2003 13:08:47 -0500 From: "Christopher R. Thorne" Reply-To: thorne@dmsolutions.ca Organization: DM Solutions Group Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: chameleon@lists.maptools.org Subject: Re: [Chameleon] Fwd: RE: CWC2 Training Course Pre-package References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hello, The information you have given is important, but the mailing list probably requires a little more details in order to get to the bottom of it. What version of Chameleon are you using? eg. 1.1 vs. 1.0 What demo are you using? How are you calling this application? Are you calling it through a Server instance (this currently only apply to version 1.0.x. eg. for Chameleon 1.0.x http://localhost/cwc2/cwc2.php?template=cwc2/htdocs/test.html&context=cwc2/htdocs/gmap_context.xml OR eg. for Chameleon 1.1 A regular url where you would call the index.phtml file which bring chameleon.php your template and mapfile together. http://localhost/chameleon_demo/index.phtml >> When I try to access any of the demo >> applications, the CWC2 tags are merely dumped to the browser without >> any processing. Any idea on what I've done wrong? If CWC2 tags are displayed in "RED" this means that Chameleon is reading the CWC2 tags in your template, but have some general problem, the the specific tag. Hope this helps, Chris Darren Redfern wrote: > >> From: "Suddaby, Rod" >> To: 'Darren Redfern' >> Subject: RE: CWC2 Training Course Pre-package >> Date: Fri, 7 Nov 2003 11:55:01 -0500 >> >> Hi Darren: >> I was hoping you could help me solve a configuration problem I'm >> having with >> the latest Chameleon release. When I try to access any of the demo >> applications, the CWC2 tags are merely dumped to the browser without any >> processing. Any idea on what I've done wrong? >> >> Oh... the system configuration is: >> Win2000 >> Apache 2.0.44 >> PHP 4.3.1 (loaded as a CGI app) >> Mapserver/Mapscript 4.1 (precompiled Win32 release) >> >> Thanks, >> Rod Suddaby > > > _________________________________________________________________ > STOP MORE SPAM with the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- Christopher R. Thorne GIS Specialist, DM Solutions Group Inc. http://www.dmsolutions.ca email: thorne@dmsolutions.ca Phone: (613) 565-5056 ext.22 Fax : (613) 565-0925 ------------------------------ From hduong@mail.com Tue Nov 11 16:54:01 2003 Received: from spf13.us4.outblaze.com (205-158-62-67.outblaze.com [205.158.62.67]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hABLrx8o006288 for ; Tue, 11 Nov 2003 16:54:00 -0500 Received: from 205-158-62-68.outblaze.com (205-158-62-68.outblaze.com [205.158.62.68]) by spf13.us4.outblaze.com (Postfix) with QMQP id C54A11800F35 for ; Tue, 11 Nov 2003 21:53:57 +0000 (GMT) Received: (qmail 68496 invoked from network); 11 Nov 2003 21:53:57 -0000 Received: from unknown (HELO ws1-5.us4.outblaze.com) (205.158.62.51) by 205-158-62-153.outblaze.com with SMTP; 11 Nov 2003 21:53:57 -0000 Received: (qmail 29828 invoked by uid 1001); 11 Nov 2003 21:53:57 -0000 Message-ID: <20031111215357.29826.qmail@mail.com> Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Received: from [64.231.81.150] by ws1-5.us4.outblaze.com with http for hduong@mail.com; Tue, 11 Nov 2003 16:53:57 -0500 From: "Hoang Duong" To: chameleon@lists.maptools.org Date: Tue, 11 Nov 2003 16:53:57 -0500 X-Originating-Ip: 64.231.81.150 X-Originating-Server: ws1-5.us4.outblaze.com Subject: [Chameleon] need help on cwc2 sample on ms4w (for windows) Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, Can someone provide baby steps to run cwc2 samples on windows platform. I don't have enough knowledge for now to figure out what I am missing. This is the steps that I have done: 1. Install ms4w on drive C (e.g. c:\ms4w) 2. Unzip chameleon_ms4w-1.0.3.zip to create c:\ms4w\apps\cwc2 and its contents. 3. Start Apache 4. Type http://localhost on browser. In the Applications section of the website, I see: Applications CWC2 1.0 (Chameleon 1.0) CWC2 Service Instance url. CWC2 Administration. CWC2 Documentation. 5. I click on the "CWC2 Service Instance url" link to get to the follow page with these contents: Index of /cwc2 Name Last modified Size Description-------------------------------------------------------------------------------- Parent Directory - CWC2_INSTALLATION.txt 22-Sep-2003 14:22 5.9K HttpFormVars.php 22-Sep-2003 14:22 6.4K TemplateParser.php 22-Sep-2003 14:22 6.5K TemplateProcessor.php 22-Sep-2003 14:22 8.9K UIManager.php 22-Sep-2003 14:22 13K UpdateMap.php 22-Sep-2003 14:22 28K WidgetManager.php 22-Sep-2003 14:22 5.2K common/ 11-Nov-2003 16:40 - cwc.css 22-Sep-2003 14:22 514 cwc2.css 22-Sep-2003 14:22 1.8K cwc2.php 22-Sep-2003 14:22 32K demo.html 22-Sep-2003 14:22 14K demo.php 22-Sep-2003 14:22 86 generic_renderer.html 22-Sep-2003 14:22 1.0K gmap_context.xml 22-Sep-2003 14:22 7.3K help.html 22-Sep-2003 14:22 482 help_en.html 22-Sep-2003 14:22 4.2K help_fr.html 22-Sep-2003 14:22 343 images/ 11-Nov-2003 16:40 - issues.txt 22-Sep-2003 14:22 1.5K legend_template.html 22-Sep-2003 14:22 401 legend_template_widg..> 22-Sep-2003 14:22 798 simplest.html 22-Sep-2003 14:22 825 template.map 22-Sep-2003 14:22 1.5K test.html 22-Sep-2003 14:22 19K test.php 22-Sep-2003 14:22 86 test_cs.html 22-Sep-2003 14:22 1.4K test_theme.xml 22-Sep-2003 14:22 1.4K widgets/ 11-Nov-2003 16:40 - 6. I click on demo.html. And this is what I got: CWC2 Demo Template This template contains a sampling of widgets that are available for CWC2. Note that the KeyMap image used in this template is specific to Canada in LCC projection and may not be appropriate for an arbitrary context. Layers: Map Size: x: y: x: y: There seems to be no buttons, icons, or maps. 7. Or if I click on test.html. Also, icons, maps, or buttons. Thank you. Hoang -- __________________________________________________________ Sign-up for your own personalized E-mail at Mail.com http://www.mail.com/?sr=signup Search Smarter - get the new eXact Search Bar for free! http://www.exactsearchbar.com/ From pagameba@magma.ca Tue Nov 11 17:19:01 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hABMJ08o006399; Tue, 11 Nov 2003 17:19:01 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id hABMJ0iT002327; Tue, 11 Nov 2003 17:19:00 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id hABMItLK015159; Tue, 11 Nov 2003 17:19:00 -0500 Message-ID: <3FB1604E.3000208@magma.ca> Date: Tue, 11 Nov 2003 17:18:54 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Hoang Duong CC: "chameleon@lists.maptools.org" , ms4w-users@lists.maptools.org Subject: Re: [Chameleon] need help on cwc2 sample on ms4w (for windows) References: <20031111215357.29826.qmail@mail.com> In-Reply-To: <20031111215357.29826.qmail@mail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hoang, there appears to be a problem with this version of the installer, I think that something got missed. You should be able to enter the following URL to see a CWC2 application: http://localhost/cwc2/cwc2.php?template=cwc2/htdocs/demo.html The CWC2 Service Instance link is not meant to be clickable - it just shows you the base URL at which CWC2 is installed. Demo.html is just a sample template. CWC2 uses templates to render the application interface. The complete URL for a CWC2 application points at the service instance (http://localhost/cwc2/cwc2.php) and optionally provides a template and a context. This is done by passing two parameters, template and context, on the URL to cwc2.php. I say optionally because the administrator can set default template and context values that will be used if cwc2.php is called with no extra parameters. HTH Paul Hoang Duong wrote: > Hi, > > Can someone provide baby steps to run cwc2 samples on windows platform. I don't have enough knowledge for now to figure out what I am missing. This is the steps that I have done: > > 1. Install ms4w on drive C (e.g. c:\ms4w) > 2. Unzip chameleon_ms4w-1.0.3.zip to create c:\ms4w\apps\cwc2 and its contents. > 3. Start Apache > 4. Type http://localhost on browser. In the Applications section of the website, I see: > > Applications > CWC2 1.0 (Chameleon 1.0) > CWC2 Service Instance url. > CWC2 Administration. > CWC2 Documentation. > > 5. I click on the "CWC2 Service Instance url" link to get to the follow page with these contents: > > Index of /cwc2 > Name Last modified Size Description-------------------------------------------------------------------------------- Parent Directory - > CWC2_INSTALLATION.txt 22-Sep-2003 14:22 5.9K > HttpFormVars.php 22-Sep-2003 14:22 6.4K > TemplateParser.php 22-Sep-2003 14:22 6.5K > TemplateProcessor.php 22-Sep-2003 14:22 8.9K > UIManager.php 22-Sep-2003 14:22 13K > UpdateMap.php 22-Sep-2003 14:22 28K > WidgetManager.php 22-Sep-2003 14:22 5.2K > common/ 11-Nov-2003 16:40 - > cwc.css 22-Sep-2003 14:22 514 > cwc2.css 22-Sep-2003 14:22 1.8K > cwc2.php 22-Sep-2003 14:22 32K > demo.html 22-Sep-2003 14:22 14K > demo.php 22-Sep-2003 14:22 86 > generic_renderer.html 22-Sep-2003 14:22 1.0K > gmap_context.xml 22-Sep-2003 14:22 7.3K > help.html 22-Sep-2003 14:22 482 > help_en.html 22-Sep-2003 14:22 4.2K > help_fr.html 22-Sep-2003 14:22 343 > images/ 11-Nov-2003 16:40 - > issues.txt 22-Sep-2003 14:22 1.5K > legend_template.html 22-Sep-2003 14:22 401 > legend_template_widg..> 22-Sep-2003 14:22 798 > simplest.html 22-Sep-2003 14:22 825 > template.map 22-Sep-2003 14:22 1.5K > test.html 22-Sep-2003 14:22 19K > test.php 22-Sep-2003 14:22 86 > test_cs.html 22-Sep-2003 14:22 1.4K > test_theme.xml 22-Sep-2003 14:22 1.4K > widgets/ 11-Nov-2003 16:40 - > > 6. I click on demo.html. And this is what I got: > > CWC2 Demo Template > This template contains a sampling of widgets that are available for CWC2. > Note that the KeyMap image used in this template is specific to Canada in LCC projection and may not be appropriate for an arbitrary context. > > > Layers: > > > > > Map Size: > > > > x: > y: > > > x: > y: > > > There seems to be no buttons, icons, or maps. > > 7. Or if I click on test.html. Also, icons, maps, or buttons. > > Thank you. > Hoang > > > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From hduong@mail.com Wed Nov 12 00:01:25 2003 Received: from spf13.us4.outblaze.com (205-158-62-67.outblaze.com [205.158.62.67]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hAC51O8o007915 for ; Wed, 12 Nov 2003 00:01:24 -0500 Received: from 205-158-62-68.outblaze.com (205-158-62-68.outblaze.com [205.158.62.68]) by spf13.us4.outblaze.com (Postfix) with QMQP id E25E71801B94 for ; Wed, 12 Nov 2003 05:01:22 +0000 (GMT) Received: (qmail 86696 invoked from network); 12 Nov 2003 05:01:22 -0000 Received: from unknown (HELO ws1-3.us4.outblaze.com) (205.158.62.55) by 205-158-62-153.outblaze.com with SMTP; 12 Nov 2003 05:01:22 -0000 Received: (qmail 3010 invoked by uid 1001); 12 Nov 2003 05:01:22 -0000 Message-ID: <20031112050122.3009.qmail@mail.com> Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Received: from [64.231.81.150] by ws1-3.us4.outblaze.com with http for hduong@mail.com; Wed, 12 Nov 2003 00:01:22 -0500 From: "Hoang Duong" To: spencer@dmsolutions.ca Cc: "chameleon@lists.maptools.org" , ms4w-users@lists.maptools.org Date: Wed, 12 Nov 2003 00:01:22 -0500 Subject: Re: [Chameleon] need help on cwc2 sample on ms4w (for windows) X-Originating-Ip: 64.231.81.150 X-Originating-Server: ws1-3.us4.outblaze.com Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Thanks Paul. The demo, using the URL you provided, is up. I am learning bit by bit. Thanks. ----- Original Message ----- From: Paul Spencer Date: Tue, 11 Nov 2003 17:18:54 -0500 To: Hoang Duong Subject: Re: [Chameleon] need help on cwc2 sample on ms4w (for windows) > Hoang, there appears to be a problem with this version of the installer, > I think that something got missed. > > You should be able to enter the following URL to see a CWC2 application: > > http://localhost/cwc2/cwc2.php?template=cwc2/htdocs/demo.html > > The CWC2 Service Instance link is not meant to be clickable - it just > shows you the base URL at which CWC2 is installed. > > Demo.html is just a sample template. CWC2 uses templates to render the > application interface. The complete URL for a CWC2 application points > at the service instance (http://localhost/cwc2/cwc2.php) and optionally > provides a template and a context. This is done by passing two > parameters, template and context, on the URL to cwc2.php. I say > optionally because the administrator can set default template and > context values that will be used if cwc2.php is called with no extra > parameters. > > HTH > > Paul > > Hoang Duong wrote: > > > Hi, > > > > Can someone provide baby steps to run cwc2 samples on windows platform. I don't have enough knowledge for now to figure out what I am missing. This is the steps that I have done: > > > > 1. Install ms4w on drive C (e.g. c:\ms4w) > > 2. Unzip chameleon_ms4w-1.0.3.zip to create c:\ms4w\apps\cwc2 and its contents. > > 3. Start Apache > > 4. Type http://localhost on browser. In the Applications section of the website, I see: > > > > Applications > > CWC2 1.0 (Chameleon 1.0) > > CWC2 Service Instance url. > > CWC2 Administration. > > CWC2 Documentation. > > > > 5. I click on the "CWC2 Service Instance url" link to get to the follow page with these contents: > > > > Index of /cwc2 > > Name Last modified Size Description-------------------------------------------------------------------------------- Parent Directory - > > CWC2_INSTALLATION.txt 22-Sep-2003 14:22 5.9K > > HttpFormVars.php 22-Sep-2003 14:22 6.4K > > TemplateParser.php 22-Sep-2003 14:22 6.5K > > TemplateProcessor.php 22-Sep-2003 14:22 8.9K > > UIManager.php 22-Sep-2003 14:22 13K > > UpdateMap.php 22-Sep-2003 14:22 28K > > WidgetManager.php 22-Sep-2003 14:22 5.2K > > common/ 11-Nov-2003 16:40 - > > cwc.css 22-Sep-2003 14:22 514 > > cwc2.css 22-Sep-2003 14:22 1.8K > > cwc2.php 22-Sep-2003 14:22 32K > > demo.html 22-Sep-2003 14:22 14K > > demo.php 22-Sep-2003 14:22 86 > > generic_renderer.html 22-Sep-2003 14:22 1.0K > > gmap_context.xml 22-Sep-2003 14:22 7.3K > > help.html 22-Sep-2003 14:22 482 > > help_en.html 22-Sep-2003 14:22 4.2K > > help_fr.html 22-Sep-2003 14:22 343 > > images/ 11-Nov-2003 16:40 - > > issues.txt 22-Sep-2003 14:22 1.5K > > legend_template.html 22-Sep-2003 14:22 401 > > legend_template_widg..> 22-Sep-2003 14:22 798 > > simplest.html 22-Sep-2003 14:22 825 > > template.map 22-Sep-2003 14:22 1.5K > > test.html 22-Sep-2003 14:22 19K > > test.php 22-Sep-2003 14:22 86 > > test_cs.html 22-Sep-2003 14:22 1.4K > > test_theme.xml 22-Sep-2003 14:22 1.4K > > widgets/ 11-Nov-2003 16:40 - > > > > 6. I click on demo.html. And this is what I got: > > > > CWC2 Demo Template > > This template contains a sampling of widgets that are available for CWC2. > > Note that the KeyMap image used in this template is specific to Canada in LCC projection and may not be appropriate for an arbitrary context. > > > > > > Layers: > > > > > > > > > > Map Size: > > > > > > > > x: > > y: > > > > > > x: > > y: > > > > > > There seems to be no buttons, icons, or maps. > > > > 7. Or if I click on test.html. Also, icons, maps, or buttons. > > > > Thank you. > > Hoang > > > > > > > > > > -- > ----------------------------------------------------------------- > |Paul Spencer spencer@dmsolutions.ca | > |-----------------------------------------------------------------| > |Applications & Software Development | > |DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > > -- __________________________________________________________ Sign-up for your own personalized E-mail at Mail.com http://www.mail.com/?sr=signup Search Smarter - get the new eXact Search Bar for free! http://www.exactsearchbar.com/ From john.pulles@geodan.nl Wed Nov 12 06:02:51 2003 Received: from mail.vz.geodan.nl (host-3.geodan.demon.nl [212.238.227.179]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hACB2o8o009755 for ; Wed, 12 Nov 2003 06:02:51 -0500 Received: from geodan.nl ([212.238.227.182]) (authenticated user john@mail.vz.geodan.nl) by mail.vz.geodan.nl (mail.vz.geodan.nl [212.238.227.179]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 3-md50000000010.tmp for ; Wed, 12 Nov 2003 12:02:04 +0100 Message-ID: <3FB2132C.1080808@geodan.nl> Date: Wed, 12 Nov 2003 12:02:04 +0100 From: John Pulles Organization: Geodan User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; nl-NL; rv:1.5) Gecko/20031007 X-Accept-Language: nl, en, en-us MIME-Version: 1.0 To: chameleon@lists.maptools.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: john@mail.vz.geodan.nl X-Spam-Processed: mail.vz.geodan.nl, Wed, 12 Nov 2003 12:02:04 +0100 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 212.238.227.182 X-Return-Path: john.pulles@geodan.nl X-MDaemon-Deliver-To: chameleon@lists.maptools.org Subject: [Chameleon] zoomtoscale for Locate widget Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, In chameleon 1.1 alpha6 I am using the Locate widget with a zoomtoscale of 50000. As far as I know, this means that if a gazetteer service finds certain locations, a zoom to that location should return a map at scale 50000. The map I am looking at is showing a much larger area? Is there something wrong with how chameleon zooms in, or am I using the zoomtoscale parameter incorrectly? Thanks, John. From pagameba@magma.ca Wed Nov 12 08:56:45 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hACDui8o010408 for ; Wed, 12 Nov 2003 08:56:45 -0500 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx2.magma.ca Magma's Mail Server with ESMTP id hACDuN7R012849; Wed, 12 Nov 2003 08:56:29 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail1.magma.ca (8.12.10/8.12.9) with ESMTP id hACDuBor007136; Wed, 12 Nov 2003 08:56:14 -0500 Message-ID: <3FB23BF8.9060308@magma.ca> Date: Wed, 12 Nov 2003 08:56:08 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: John Pulles CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] zoomtoscale for Locate widget References: <3FB2132C.1080808@geodan.nl> In-Reply-To: <3FB2132C.1080808@geodan.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: John, I believe you are using it correctly, there is likely a bug. 50000 is zoomed in pretty far. You can always add a 'Scale' widget to see what the current scale is ... that would, in fact, be very useful to me to know what it is doing. Cheers, Paul John Pulles wrote: > Hi list, > > In chameleon 1.1 alpha6 I am using the Locate widget with a zoomtoscale > of 50000. As far as I know, this means that if a gazetteer service finds > certain locations, a zoom to that location should return a map at scale > 50000. The map I am looking at is showing a much larger area? Is there > something wrong with how chameleon zooms in, or am I using the > zoomtoscale parameter incorrectly? > > Thanks, > John. > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From thorne@dmsolutions.ca Wed Nov 12 14:24:05 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hACJO58o013264 for ; Wed, 12 Nov 2003 14:24:05 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id hACJO5wY009829; Wed, 12 Nov 2003 14:24:05 -0500 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id hACJNp5L014663; Wed, 12 Nov 2003 14:23:55 -0500 Message-ID: <3FB28909.7080108@dmsolutions.ca> Date: Wed, 12 Nov 2003 14:24:57 -0500 From: "Christopher R. Thorne" Reply-To: thorne@dmsolutions.ca Organization: DM Solutions Group Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Suddaby, Rod" CC: Chameleon Mail List Subject: [Chameleon] CWC2 Training Course Pre-package References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Rod, Probably the biggest tip I can give you is make sure the paths to the context file and template are correct. It is very easy to get confused. The path that you gave me: http://localhost/cwc2/cwc2.php?TEMPLATE=demo.html&CONTEXT=gmap_context.xml This path will not work if the Template and Context file you are referring to is located within /cwc2/htdocs/* http://localhost/cwc2/cwc2.php?template=cwc2/htdocs/demo.html&context=cwc2/htdocs/gmap_context.xml If I am wrong please let me know the paths to your files. I have posted your questions to the Chameleon mail List. My hope is that others will give further input ;) The Chameleon Mail List is an excellent resource for getting questions answered. If you like you can join the list on Maptools.org. http://lists.maptools.org/mailman/listinfo/chameleon Chris Suddaby, Rod wrote: > Hi Chris, > Thank you for your response. I'm using version 1.0.3 and accessing the demo > as: > > > The CWC2 tags (all of them) appearing in the browser are colored red. > Being new to Chameleon I don't know where to begin looking :-) > > Thank you. > Rod. > > -----Original Message----- > From: Christopher R. Thorne [mailto:thorne@dmsolutions.ca] > Sent: Wednesday, November 12, 2003 7:19 AM > To: RSuddaby@NRCan.gc.ca > Subject: [Fwd: Re: [Chameleon] Fwd: RE: CWC2 Training Course > Pre-package] > > > Hello, > The information you have given is important, but the mailing list > probably requires a little more details in order to get to the bottom of it. > > What version of Chameleon are you using? eg. 1.1 vs. 1.0 > > What demo are you using? > > How are you calling this application? Are you calling it through a > Server instance (this currently only apply to version 1.0.x. > > eg. for Chameleon 1.0.x > http://localhost/cwc2/cwc2.php?template=cwc2/htdocs/test.html&context=cwc2/h > tdocs/gmap_context.xml > > OR > eg. for Chameleon 1.1 > > A regular url where you would call the index.phtml file which bring > chameleon.php your template and mapfile together. > > http://localhost/chameleon_demo/index.phtml > > >> When I try to access any of the demo > >> applications, the CWC2 tags are merely dumped to the browser without > >> any processing. Any idea on what I've done wrong? > > If CWC2 tags are displayed in "RED" this means that Chameleon is reading > the CWC2 tags in your template, but have some general problem, the the > specific tag. > > Hope this helps, > Chris > > > Darren Redfern wrote: > > > > >> From: "Suddaby, Rod" > >> To: 'Darren Redfern' > >> Subject: RE: CWC2 Training Course Pre-package > >> Date: Fri, 7 Nov 2003 11:55:01 -0500 > >> > >> Hi Darren: > >> I was hoping you could help me solve a configuration problem I'm > having with > >> the latest Chameleon release. When I try to access any of the demo > >> applications, the CWC2 tags are merely dumped to the browser without any > >> processing. Any idea on what I've done wrong? > >> > >> Oh... the system configuration is: > >> Win2000 > >> Apache 2.0.44 > >> PHP 4.3.1 (loaded as a CGI app) > >> Mapserver/Mapscript 4.1 (precompiled Win32 release) > >> > >> Thanks, > >> Rod Suddaby > > > > > > > > _________________________________________________________________ > > STOP MORE SPAM with the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn > .com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca > > > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > http://lists.maptools.org/mailman/listinfo/chameleon > > > > -- Christopher R. Thorne GIS Specialist, DM Solutions Group Inc. http://www.dmsolutions.ca email: thorne@dmsolutions.ca Phone: (613) 565-5056 ext.22 Fax : (613) 565-0925 ------------------------------ From thorne@dmsolutions.ca Wed Nov 12 14:46:02 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hACJk08o013394 for ; Wed, 12 Nov 2003 14:46:02 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id hACJjxwY021212; Wed, 12 Nov 2003 14:45:59 -0500 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id hACJjU5L009941; Wed, 12 Nov 2003 14:45:48 -0500 Message-ID: <3FB28E1F.9020103@dmsolutions.ca> Date: Wed, 12 Nov 2003 14:46:39 -0500 From: "Christopher R. Thorne" Reply-To: thorne@dmsolutions.ca Organization: DM Solutions Group Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 CC: "Suddaby, Rod" , Chameleon Mail List Subject: Re: [Chameleon] CWC2 Training Course Pre-package References: <3FB28909.7080108@dmsolutions.ca> In-Reply-To: <3FB28909.7080108@dmsolutions.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I missed one thing that you should check and that is in the cwc admin configuration page. Make sure your "map_template:" is correct. Chris PS if this is not the problem please send me your template file (demo.html). I will see if it works for me. Christopher R. Thorne wrote: > Rod, > > Probably the biggest tip I can give you is make sure the paths to the > context file and template are correct. It is very easy to get confused. > > The path that you gave me: > http://localhost/cwc2/cwc2.php?TEMPLATE=demo.html&CONTEXT=gmap_context.xml > > This path will not work if the Template and Context file you are > referring to is located within /cwc2/htdocs/* > > http://localhost/cwc2/cwc2.php?template=cwc2/htdocs/demo.html&context=cwc2/htdocs/gmap_context.xml > > > If I am wrong please let me know the paths to your files. > > I have posted your questions to the Chameleon mail List. My hope is that > others will give further input ;) > > The Chameleon Mail List is an excellent resource for getting questions > answered. If you like you can join the list on Maptools.org. > > http://lists.maptools.org/mailman/listinfo/chameleon > > Chris > > > Suddaby, Rod wrote: > >> Hi Chris, >> Thank you for your response. I'm using version 1.0.3 and accessing the >> demo >> as: >> >> >> >> The CWC2 tags (all of them) appearing in the browser are colored red. >> Being new to Chameleon I don't know where to begin looking :-) >> >> Thank you. >> Rod. >> >> -----Original Message----- >> From: Christopher R. Thorne [mailto:thorne@dmsolutions.ca] >> Sent: Wednesday, November 12, 2003 7:19 AM >> To: RSuddaby@NRCan.gc.ca >> Subject: [Fwd: Re: [Chameleon] Fwd: RE: CWC2 Training Course >> Pre-package] >> >> >> Hello, >> The information you have given is important, but the mailing list >> probably requires a little more details in order to get to the bottom >> of it. >> >> What version of Chameleon are you using? eg. 1.1 vs. 1.0 >> >> What demo are you using? >> >> How are you calling this application? Are you calling it through a >> Server instance (this currently only apply to version 1.0.x. >> >> eg. for Chameleon 1.0.x >> http://localhost/cwc2/cwc2.php?template=cwc2/htdocs/test.html&context=cwc2/h >> >> tdocs/gmap_context.xml >> >> OR >> eg. for Chameleon 1.1 >> >> A regular url where you would call the index.phtml file which bring >> chameleon.php your template and mapfile together. >> >> http://localhost/chameleon_demo/index.phtml >> >> >> When I try to access any of the demo >> >> applications, the CWC2 tags are merely dumped to the browser >> without >> any processing. Any idea on what I've done wrong? >> >> If CWC2 tags are displayed in "RED" this means that Chameleon is >> reading the CWC2 tags in your template, but have some general problem, >> the the specific tag. >> >> Hope this helps, >> Chris >> >> >> Darren Redfern wrote: >> >> > >> >> From: "Suddaby, Rod" >> >> To: 'Darren Redfern' >> >> Subject: RE: CWC2 Training Course Pre-package >> >> Date: Fri, 7 Nov 2003 11:55:01 -0500 >> >> >> >> Hi Darren: >> >> I was hoping you could help me solve a configuration problem I'm >> having with >> >> the latest Chameleon release. When I try to access any of the demo >> >> applications, the CWC2 tags are merely dumped to the browser >> without any >> >> processing. Any idea on what I've done wrong? >> >> >> >> Oh... the system configuration is: >> >> Win2000 >> >> Apache 2.0.44 >> >> PHP 4.3.1 (loaded as a CGI app) >> >> Mapserver/Mapscript 4.1 (precompiled Win32 release) >> >> >> >> Thanks, >> >> Rod Suddaby >> > >> > >> > >> > _________________________________________________________________ >> > STOP MORE SPAM with the new MSN 8 and get 2 months FREE* >> http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn >> >> .com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca >> > >> > _______________________________________________ >> > Chameleon mailing list >> > Chameleon@lists.maptools.org >> > http://lists.maptools.org/mailman/listinfo/chameleon >> > >> >> > > -- Christopher R. Thorne GIS Specialist, DM Solutions Group Inc. http://www.dmsolutions.ca email: thorne@dmsolutions.ca Phone: (613) 565-5056 ext.22 Fax : (613) 565-0925 ------------------------------ From syurman@spatialfocus.com Sat Nov 15 15:35:22 2003 Received: from mail.speakeasy.net (mail8.speakeasy.net [216.254.0.208]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hAFKZL8o000768 for ; Sat, 15 Nov 2003 15:35:21 -0500 Received: (qmail 19894 invoked from network); 15 Nov 2003 20:35:19 -0000 Received: from unknown (HELO spatialfocus.com) (syurman@[216.27.169.100]) (envelope-sender ) by mail8.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 15 Nov 2003 20:35:19 -0000 Message-ID: <3FB68E06.6050707@spatialfocus.com> Date: Sat, 15 Nov 2003 15:35:18 -0500 From: Sara Yurman Organization: Spatial Focus, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en MIME-Version: 1.0 To: chameleon@lists.maptools.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Chameleon] my widgets don't widge Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I've been trying without success to make the widgets on my chameleon installation work. I would be intensely grateful for any help at all. ******What doesn't work****** ZoomIn********* Red box draws on the screen, screen refreshes, map redisplays at full extent. If I start a new session, the scalebar comes up with zoomed distances. If I then try zooming again the scalebar again represents the full extent ZoomOut******** I click, the watch displays, the map remains stolidly in place. Pan************ The entire image moves with the hand, then the map returns to its original display. Manage Layers***************** This shows a blank screen, and throws some errors in the apache log: PHP Notice: Undefined index: gszMapTemplate in /var/www/cwc2/htdocs/widgets/Layer.phtml on line 20 PHP Notice: Undefined index: gszMapTemplate in /var/www/cwc2/htdocs/widgets/Layer.phtml on line 21 PHP Fatal error: Call to a member function on a non-object in /var/www/cwc2/htdocs/widgets/Layer.phtml on line 51 PHP Notice: Undefined index: bShowPreview in /var/www/cwc2/htdocs/widgets/production.phtml on line 561 PHP Notice: Undefined index: bShowDownload in /var/www/cwc2/htdocs/widgets/production.phtml on line 562 PHP Notice: Undefined variable: txtFootDesc in /var/www/cwc2/htdocs/widgets/production.phtml on line 567 Print***************** Doesn't work, throws this error in the apache log: Undefined variable: txtFootDesc in /var/www/cwc2/htdocs/widgets/production.phtml on line 567 **********What does work*************** The map layer (the .map file only describes one at this point) displays properly and the ruler works, even in feet. ******About my installation****** I'm using Chameleon-1.1 alpha6, running with MapServer 4.01 on Debian. ******What I did to check my installation****** I've checked my environment with the screens at htdocs_admin/index.phtml. Everything looked good: mapscript 4.01 located, png supported, php 4.3.3 found, all mandatory settings and required modules with little green OK checks. ******More installation checking: the apache error log****** Got " Undefined index: gszServerDataPath in /var/www/cwc2/htdocs/common/phpwms/manage_servers.phtml on line 133". Wasn't too perturbed about it, since I wanted to work with a .map file. ******How I made my tiny little application****** I started by copying and editing the demo.php and demo.html files, and edited the following widget names (From > To ) to reflect the actual widget names I found: PrintPopup > PrintWidget MapDHTMLImage > MapDHTMLWidget CursorPosition > Cursorpos (once each for X and Y) I edited the template.map file and made sure that it produced an image with the 4.01 shp2img utility. Thanks for any help, Sara -- Sara Yurman Spatial Focus, Inc. Geodata Architects http://www.spatialfocus.com/ Office: (404) 378-0989 Fax: (209) 254-9531 From bartvde@xs4all.nl Sat Nov 15 15:48:55 2003 Received: from smtpzilla1.xs4all.nl (smtpzilla1.xs4all.nl [194.109.127.137]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hAFKmo8o000823 for ; Sat, 15 Nov 2003 15:48:55 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla1.xs4all.nl (8.12.9/8.12.9) with ESMTP id hAFKmbAN017231; Sat, 15 Nov 2003 21:48:37 +0100 (CET) To: Sara Yurman , chameleon@lists.maptools.org Subject: Re: [Chameleon] my widgets don't widge Reply-To: bartvde@xs4all.nl References: <3FB68E06.6050707@spatialfocus.com> Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Sat, 15 Nov 2003 21:47:14 +0100 In-Reply-To: <3FB68E06.6050707@spatialfocus.com> User-Agent: Opera7.22/Win32 M2 build 3221 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Sara, what browser are you using? I know the red box feature with zoomin only from Opera. With respect to the no zoom-in action, I have seen this problem and it is caused by an old version of the sample application. Make sure your constructor in index.phtml contains the following (in the old version it only contains the call to the parent constructor): class MyApp extends Chameleon { function MyApp() { parent::Chameleon(); $this->moMapSession = new MapSession_RW; $this->moMapSession->setTempDir( getSessionSavePath()); } } The Manage Layers widget is gonna be deprecated as far as I know, and will be replaced by the LegendTemplate widget among others. I think it is not recommendable to use it. Hope this helps. Best regards, Bart On Sat, 15 Nov 2003 15:35:18 -0500, Sara Yurman wrote: > I've been trying without success to make the widgets on my chameleon > installation work. I would be intensely grateful for any help at all. > > ******What doesn't work****** > > ZoomIn********* > Red box draws on the screen, screen refreshes, map redisplays at full > extent. If I start a new session, the scalebar comes up with zoomed > distances. If I then try zooming again the scalebar again represents > the full extent > > ZoomOut******** > I click, the watch displays, the map remains stolidly in place. > > Pan************ > The entire image moves with the hand, then the map returns to its > original display. > > Manage Layers***************** > This shows a blank screen, and throws some errors in the apache log: > > PHP Notice: Undefined index: gszMapTemplate in > /var/www/cwc2/htdocs/widgets/Layer.phtml on line 20 > PHP Notice: Undefined index: gszMapTemplate in > /var/www/cwc2/htdocs/widgets/Layer.phtml on line 21 > PHP Fatal error: Call to a member function on a non-object in > /var/www/cwc2/htdocs/widgets/Layer.phtml on line 51 > PHP Notice: Undefined index: bShowPreview in > /var/www/cwc2/htdocs/widgets/production.phtml on line 561 > PHP Notice: Undefined index: bShowDownload in > /var/www/cwc2/htdocs/widgets/production.phtml on line 562 > PHP Notice: Undefined variable: txtFootDesc in > /var/www/cwc2/htdocs/widgets/production.phtml on line 567 > > Print***************** > Doesn't work, throws this error in the apache log: > Undefined variable: txtFootDesc in > /var/www/cwc2/htdocs/widgets/production.phtml on line 567 > > > **********What does work*************** > > The map layer (the .map file only describes one at this point) displays > properly and the ruler works, even in feet. > > > > ******About my installation****** > > I'm using Chameleon-1.1 alpha6, running with MapServer 4.01 on Debian. > > ******What I did to check my installation****** > > I've checked my environment with the screens at > htdocs_admin/index.phtml. Everything looked good: mapscript 4.01 > located, png supported, php 4.3.3 found, all mandatory settings and > required modules with little green OK checks. > > ******More installation checking: the apache error log****** > > Got " Undefined index: gszServerDataPath in > /var/www/cwc2/htdocs/common/phpwms/manage_servers.phtml on line 133". > Wasn't too perturbed about it, since I wanted to work with a .map file. > > ******How I made my tiny little application****** > > I started by copying and editing the demo.php and demo.html files, and > edited the following widget names (From > To ) to reflect the actual > widget names I found: > > PrintPopup > PrintWidget > MapDHTMLImage > MapDHTMLWidget > CursorPosition > Cursorpos (once each for X and Y) > > I edited the template.map file and made sure that it produced an image > with the 4.01 shp2img utility. > > Thanks for any help, > > Sara > -- From bartvde@xs4all.nl Sat Nov 15 15:54:07 2003 Received: from smtpzilla5.xs4all.nl (smtpzilla5.xs4all.nl [194.109.127.141]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hAFKs48o000853 for ; Sat, 15 Nov 2003 15:54:06 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla5.xs4all.nl (8.12.9/8.12.9) with ESMTP id hAFKrpk8031469; Sat, 15 Nov 2003 21:53:51 +0100 (CET) To: bartvde@xs4all.nl, Sara Yurman , chameleon@lists.maptools.org Subject: Re: [Chameleon] my widgets don't widge Reply-To: bartvde@xs4all.nl References: <3FB68E06.6050707@spatialfocus.com> Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Sat, 15 Nov 2003 21:52:29 +0100 In-Reply-To: User-Agent: Opera7.22/Win32 M2 build 3221 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Sara, With red box you mean the box with the red outline ofcourse, and not the complete map widget turning red like it does in Opera (this is a known issue). Sorry for the confusion in the first line. My guess is that the problem will be in the constructor of your sample application. Best regards, Bart On Sat, 15 Nov 2003 21:47:14 +0100, Bart van den Eijnden wrote: > Hi Sara, > > what browser are you using? I know the red box feature with zoomin only > from Opera. > > With respect to the no zoom-in action, I have seen this problem and it > is caused by an old version of the sample application. Make sure your > constructor in index.phtml contains the following (in the old version it > only contains the call to the parent constructor): > > class MyApp extends Chameleon > { > function MyApp() > { > parent::Chameleon(); > $this->moMapSession = new MapSession_RW; > $this->moMapSession->setTempDir( getSessionSavePath()); > } > } > > The Manage Layers widget is gonna be deprecated as far as I know, and > will be replaced by the LegendTemplate widget among others. I think it > is not recommendable to use it. > > Hope this helps. > > Best regards, > Bart > > On Sat, 15 Nov 2003 15:35:18 -0500, Sara Yurman > wrote: > >> I've been trying without success to make the widgets on my chameleon >> installation work. I would be intensely grateful for any help at all. >> >> ******What doesn't work****** >> >> ZoomIn********* >> Red box draws on the screen, screen refreshes, map redisplays at full >> extent. If I start a new session, the scalebar comes up with zoomed >> distances. If I then try zooming again the scalebar again represents >> the full extent >> >> ZoomOut******** >> I click, the watch displays, the map remains stolidly in place. >> >> Pan************ >> The entire image moves with the hand, then the map returns to its >> original display. >> >> Manage Layers***************** >> This shows a blank screen, and throws some errors in the apache log: >> >> PHP Notice: Undefined index: gszMapTemplate in >> /var/www/cwc2/htdocs/widgets/Layer.phtml on line 20 >> PHP Notice: Undefined index: gszMapTemplate in >> /var/www/cwc2/htdocs/widgets/Layer.phtml on line 21 >> PHP Fatal error: Call to a member function on a non-object in >> /var/www/cwc2/htdocs/widgets/Layer.phtml on line 51 >> PHP Notice: Undefined index: bShowPreview in >> /var/www/cwc2/htdocs/widgets/production.phtml on line 561 >> PHP Notice: Undefined index: bShowDownload in >> /var/www/cwc2/htdocs/widgets/production.phtml on line 562 >> PHP Notice: Undefined variable: txtFootDesc in >> /var/www/cwc2/htdocs/widgets/production.phtml on line 567 >> >> Print***************** >> Doesn't work, throws this error in the apache log: >> Undefined variable: txtFootDesc in >> /var/www/cwc2/htdocs/widgets/production.phtml on line 567 >> >> >> **********What does work*************** >> >> The map layer (the .map file only describes one at this point) displays >> properly and the ruler works, even in feet. >> >> >> >> ******About my installation****** >> >> I'm using Chameleon-1.1 alpha6, running with MapServer 4.01 on Debian. >> >> ******What I did to check my installation****** >> >> I've checked my environment with the screens at >> htdocs_admin/index.phtml. Everything looked good: mapscript 4.01 >> located, png supported, php 4.3.3 found, all mandatory settings and >> required modules with little green OK checks. >> >> ******More installation checking: the apache error log****** >> >> Got " Undefined index: gszServerDataPath in >> /var/www/cwc2/htdocs/common/phpwms/manage_servers.phtml on line 133". >> Wasn't too perturbed about it, since I wanted to work with a .map file. >> >> ******How I made my tiny little application****** >> >> I started by copying and editing the demo.php and demo.html files, and >> edited the following widget names (From > To ) to reflect the actual >> widget names I found: >> >> PrintPopup > PrintWidget >> MapDHTMLImage > MapDHTMLWidget >> CursorPosition > Cursorpos (once each for X and Y) >> >> I edited the template.map file and made sure that it produced an image >> with the 4.01 shp2img utility. >> >> Thanks for any help, >> >> Sara >> > > > -- From bartvde@xs4all.nl Sun Nov 16 05:03:04 2003 Received: from smtpzilla2.xs4all.nl (smtpzilla2.xs4all.nl [194.109.127.138]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hAGA338o009405 for ; Sun, 16 Nov 2003 05:03:04 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla2.xs4all.nl (8.12.9/8.12.9) with ESMTP id hAGA2nVU037958; Sun, 16 Nov 2003 11:02:54 +0100 (CET) Date: Sun, 16 Nov 2003 11:01:27 +0100 To: Sara Yurman , "spencer@dmsolutions.ca" Subject: Re: [Chameleon] my widgets don't widge Cc: "chameleon@lists.maptools.org" Reply-To: bartvde@xs4all.nl References: <3FB6A1A0.4070900@spatialfocus.com> From: Bart van den Eijnden Content-Type: multipart/mixed; boundary=----------vIriDREmyLAfwSFX3ICLiK MIME-Version: 1.0 Message-ID: In-Reply-To: <3FB6A1A0.4070900@spatialfocus.com> User-Agent: Opera7.22/Win32 M2 build 3221 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: ------------vIriDREmyLAfwSFX3ICLiK Content-Type: text/plain; format=flowed; charset=iso-8859-15 Content-Transfer-Encoding: 8bit Hi Sara, you should change the following part in your index.phtml file, so add the 2 lines starting with $this: class SampleApp extends Chameleon { function SampleApp() { parent::Chameleon(); $this->moMapSession = new MapSession_RW; $this->moMapSession->setTempDir( getSessionSavePath()); } You can leave out the CWCInitializeMap() function. For clarity I have attached a changed index.phtml file which should work for you. Paul: shouldn't we update the sample app on www.maptools.org so no more people will run into these problems? Perhaps we can put the Geodan sample there instead of the old sample application? Best regards, Bart PS: it is a good habit to always CC the list, so other people with similar problems in the future can search the archives. On Sat, 15 Nov 2003 16:58:56 -0500, Sara Yurman wrote: > Hi Bart, > > Many thanks for your email. Here are some responses to your questions > >> With red box you mean the box with the red outline ofcourse, and not >> the complete map widget turning red like it does in Opera (this is a >> known issue). > > Yes, that's right. No, I'm not an Opera user. > >> what browser are you using? > > I was using Mozilla 1.5 when I wrote. I've tried IE from our one and > only Windows client and Galeon after that and got basically the same > results. Cutting off the Ruler works reliably in IE, and doesn't in > Mozilla, but no other differences. > > > My guess is that the problem will be in the constructor of your > sample > application. > > I've listed the index.phtml file below. I might be missing something > here -- I'm still not seeing the problem. It would be so wonderful if > it were something I did in here -- it could be easily fixed. > > Thanks again for your help. If you see anything in here, I would so > appreciate hearing about it. > > Best, > > Sara > > *******************index.phtml below********************************** > /* > * this is a sample of a minimal application script required to > * get a chameleon application running with a template and a > * local map file. Most applications should actually just > * copy this file and modify the template and mapfile > * parts and should not need to do a lot more here. > */ > include( "/var/www/cwc2/htdocs/chameleon.php" ); > > $szTemplate = "nlr.html"; > $szMapFile = "/var/www/cwc2/map/nlr.map"; > > class SampleApp extends Chameleon > { > function SampleApp() > { > parent::Chameleon(); > } > > function CWCInitializeMap() > { > $this->moMapSession = new MapSession_RW; > $this->moMapSession->setTempDir( getSessionSavePath()); > parent::CWCInitializeMap(); > } > > function CWCLoadTemplate($szTemplateName) > { > $this->mszTemplate = implode("\n", file($szTemplateName)); > } > } > > $oApp = new SampleApp(); > $oApp->CWCInitialize( $szTemplate, $szMapFile ); > $oApp->CWCExecute(); > ?> -- ------------vIriDREmyLAfwSFX3ICLiK Content-Disposition: attachment; filename=index.phtml Content-Type: application/octet-stream; name=index.phtml Content-Transfer-Encoding: 8bit moMapSession = new MapSession_RW; $this->moMapSession->setTempDir( getSessionSavePath()); } function CWCLoadTemplate($szTemplateName) { $this->mszTemplate = implode("\n", file($szTemplateName)); } } $oApp = new SampleApp(); $oApp->CWCInitialize( $szTemplate, $szMapFile ); $oApp->CWCExecute(); ?> ------------vIriDREmyLAfwSFX3ICLiK-- From syurman@spatialfocus.com Sun Nov 16 12:02:40 2003 Received: from mail.speakeasy.net (mail8.speakeasy.net [216.254.0.208]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hAGH2d8o010947 for ; Sun, 16 Nov 2003 12:02:40 -0500 Received: (qmail 13540 invoked from network); 16 Nov 2003 17:02:37 -0000 Received: from unknown (HELO spatialfocus.com) (syurman@[216.27.169.100]) (envelope-sender ) by mail8.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 16 Nov 2003 17:02:37 -0000 Message-ID: <3FB7ADAD.8040202@spatialfocus.com> Date: Sun, 16 Nov 2003 12:02:37 -0500 From: Sara Yurman Organization: Spatial Focus, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: "spencer@dmsolutions.ca" , "chameleon@lists.maptools.org" Subject: Re: [Chameleon] my widgets don't widge References: <3FB6A1A0.4070900@spatialfocus.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Thanks, Bart, The index.phtml file works much better, except for the zoom in -- which turns out to be an incredible zoom out. I've renamed it nlr.phtml: http://meadow.spatialfocus.com/cwc2/htdocs/nlr.phtml I'm sorry, I'm in the woods here. I am continually impressed with the ability of GIS work to restrain one's ego. Sara Bart van den Eijnden wrote: > Hi Sara, > > you should change the following part in your index.phtml file, so add > the 2 lines starting with $this: > > class SampleApp extends Chameleon > { > function SampleApp() > { > parent::Chameleon(); > $this->moMapSession = new MapSession_RW; > $this->moMapSession->setTempDir( getSessionSavePath()); > } > > You can leave out the CWCInitializeMap() function. For clarity I have > attached a changed index.phtml file which should work for you. > > Paul: shouldn't we update the sample app on www.maptools.org so no more > people will run into these problems? Perhaps we can put the Geodan > sample there instead of the old sample application? > > Best regards, > Bart > > PS: it is a good habit to always CC the list, so other people with > similar problems in the future can search the archives. > > On Sat, 15 Nov 2003 16:58:56 -0500, Sara Yurman > wrote: > >> Hi Bart, >> >> Many thanks for your email. Here are some responses to your questions >> >>> With red box you mean the box with the red outline ofcourse, and not >>> the complete map widget turning red like it does in Opera (this is a >>> known issue). >> >> >> Yes, that's right. No, I'm not an Opera user. >> >>> what browser are you using? >> >> >> I was using Mozilla 1.5 when I wrote. I've tried IE from our one and >> only Windows client and Galeon after that and got basically the same >> results. Cutting off the Ruler works reliably in IE, and doesn't in >> Mozilla, but no other differences. >> >> > My guess is that the problem will be in the constructor of your >> sample > application. >> >> I've listed the index.phtml file below. I might be missing something >> here -- I'm still not seeing the problem. It would be so wonderful if >> it were something I did in here -- it could be easily fixed. >> >> Thanks again for your help. If you see anything in here, I would so >> appreciate hearing about it. >> >> Best, >> >> Sara >> >> *******************index.phtml below********************************** >> > /* >> * this is a sample of a minimal application script required to >> * get a chameleon application running with a template and a >> * local map file. Most applications should actually just >> * copy this file and modify the template and mapfile >> * parts and should not need to do a lot more here. >> */ >> include( "/var/www/cwc2/htdocs/chameleon.php" ); >> >> $szTemplate = "nlr.html"; >> $szMapFile = "/var/www/cwc2/map/nlr.map"; >> >> class SampleApp extends Chameleon >> { >> function SampleApp() >> { >> parent::Chameleon(); >> } >> >> function CWCInitializeMap() >> { >> $this->moMapSession = new MapSession_RW; >> $this->moMapSession->setTempDir( getSessionSavePath()); >> parent::CWCInitializeMap(); >> } >> >> function CWCLoadTemplate($szTemplateName) >> { >> $this->mszTemplate = implode("\n", file($szTemplateName)); >> } >> } >> >> $oApp = new SampleApp(); >> $oApp->CWCInitialize( $szTemplate, $szMapFile ); >> $oApp->CWCExecute(); >> ?> > > > > -- Sara Yurman Spatial Focus, Inc. Geodata Architects http://www.spatialfocus.com/ Office: (404) 378-0989 Fax: (209) 254-9531 From bartvde@xs4all.nl Sun Nov 16 12:14:55 2003 Received: from smtpzilla3.xs4all.nl (smtpzilla3.xs4all.nl [194.109.127.139]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hAGHEs8o010999 for ; Sun, 16 Nov 2003 12:14:55 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla3.xs4all.nl (8.12.9/8.12.9) with ESMTP id hAGHEg4R057579; Sun, 16 Nov 2003 18:14:47 +0100 (CET) Cc: "chameleon@lists.maptools.org" To: Sara Yurman Subject: Re: [Chameleon] my widgets don't widge Reply-To: bartvde@xs4all.nl References: <3FB6A1A0.4070900@spatialfocus.com> <3FB7ADAD.8040202@spatialfocus.com> Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Sun, 16 Nov 2003 18:13:20 +0100 In-Reply-To: <3FB7ADAD.8040202@spatialfocus.com> User-Agent: Opera7.22/Win32 M2 build 3221 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Sara, what are the values of EXTENT in the top part of your mapfile? And also, what are the values of SIZE? Best regards, Bart On Sun, 16 Nov 2003 12:02:37 -0500, Sara Yurman wrote: > Thanks, Bart, > > The index.phtml file works much better, except for the zoom in -- which > turns out to be an incredible zoom out. I've renamed it nlr.phtml: > > http://meadow.spatialfocus.com/cwc2/htdocs/nlr.phtml > > I'm sorry, I'm in the woods here. I am continually impressed with the > ability of GIS work to restrain one's ego. > > Sara > > > > Bart van den Eijnden wrote: >> Hi Sara, >> >> you should change the following part in your index.phtml file, so add >> the 2 lines starting with $this: >> >> class SampleApp extends Chameleon >> { >> function SampleApp() >> { >> parent::Chameleon(); >> $this->moMapSession = new MapSession_RW; >> $this->moMapSession->setTempDir( getSessionSavePath()); >> } >> >> You can leave out the CWCInitializeMap() function. For clarity I have >> attached a changed index.phtml file which should work for you. >> >> Paul: shouldn't we update the sample app on www.maptools.org so no more >> people will run into these problems? Perhaps we can put the Geodan >> sample there instead of the old sample application? >> >> Best regards, >> Bart >> >> PS: it is a good habit to always CC the list, so other people with >> similar problems in the future can search the archives. >> >> On Sat, 15 Nov 2003 16:58:56 -0500, Sara Yurman >> wrote: >> >>> Hi Bart, >>> >>> Many thanks for your email. Here are some responses to your questions >>> >>>> With red box you mean the box with the red outline ofcourse, and not >>>> the complete map widget turning red like it does in Opera (this is a >>>> known issue). >>> >>> >>> Yes, that's right. No, I'm not an Opera user. >>> >>>> what browser are you using? >>> >>> >>> I was using Mozilla 1.5 when I wrote. I've tried IE from our one and >>> only Windows client and Galeon after that and got basically the same >>> results. Cutting off the Ruler works reliably in IE, and doesn't in >>> Mozilla, but no other differences. >>> >>> > My guess is that the problem will be in the constructor of your >>> sample > application. >>> >>> I've listed the index.phtml file below. I might be missing something >>> here -- I'm still not seeing the problem. It would be so wonderful if >>> it were something I did in here -- it could be easily fixed. >>> >>> Thanks again for your help. If you see anything in here, I would so >>> appreciate hearing about it. >>> >>> Best, >>> >>> Sara >>> >>> *******************index.phtml below********************************** >>> >> /* >>> * this is a sample of a minimal application script required to >>> * get a chameleon application running with a template and a >>> * local map file. Most applications should actually just >>> * copy this file and modify the template and mapfile >>> * parts and should not need to do a lot more here. >>> */ >>> include( "/var/www/cwc2/htdocs/chameleon.php" ); >>> >>> $szTemplate = "nlr.html"; >>> $szMapFile = "/var/www/cwc2/map/nlr.map"; >>> >>> class SampleApp extends Chameleon >>> { >>> function SampleApp() >>> { >>> parent::Chameleon(); >>> } >>> >>> function CWCInitializeMap() >>> { >>> $this->moMapSession = new MapSession_RW; >>> $this->moMapSession->setTempDir( getSessionSavePath()); >>> parent::CWCInitializeMap(); >>> } >>> >>> function CWCLoadTemplate($szTemplateName) >>> { >>> $this->mszTemplate = implode("\n", file($szTemplateName)); >>> } >>> } >>> >>> $oApp = new SampleApp(); >>> $oApp->CWCInitialize( $szTemplate, $szMapFile ); >>> $oApp->CWCExecute(); >>> ?> >> >> >> >> > > -- From syurman@spatialfocus.com Sun Nov 16 13:54:14 2003 Received: from mail.speakeasy.net (mail8.speakeasy.net [216.254.0.208]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hAGIsE8o011291 for ; Sun, 16 Nov 2003 13:54:14 -0500 Received: (qmail 29907 invoked from network); 16 Nov 2003 18:54:12 -0000 Received: from unknown (HELO spatialfocus.com) (syurman@[216.27.169.100]) (envelope-sender ) by mail8.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 16 Nov 2003 18:54:12 -0000 Message-ID: <3FB7C7D3.2090608@spatialfocus.com> Date: Sun, 16 Nov 2003 13:54:11 -0500 From: Sara Yurman Organization: Spatial Focus, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: "chameleon@lists.maptools.org" Subject: Re: [Chameleon] my widgets don't widge References: <3FB6A1A0.4070900@spatialfocus.com> <3FB7ADAD.8040202@spatialfocus.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Bart, Thanks -- it was a MINSCALE, MAXSCALE problem brought over from the template.map file. Appropriate scales for Canada just don't suit a medium-sized city from the southern US. Problem completely solved now. Best, Sara Bart van den Eijnden wrote: > Hi Sara, > > what are the values of EXTENT in the top part of your mapfile? > And also, what are the values of SIZE? > > Best regards, > Bart > -- Sara Yurman Spatial Focus, Inc. Geodata Architects http://www.spatialfocus.com/ Office: (404) 378-0989 Fax: (209) 254-9531 From pagameba@magma.ca Sun Nov 16 20:03:18 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hAH13I8o012562 for ; Sun, 16 Nov 2003 20:03:18 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca Magma's Mail Server with ESMTP id hAH13HQL024214; Sun, 16 Nov 2003 20:03:17 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id hAH13ExL030524; Sun, 16 Nov 2003 20:03:17 -0500 Message-ID: <3FB81E4B.8030408@magma.ca> Date: Sun, 16 Nov 2003 20:03:07 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: Sara Yurman , "chameleon@lists.maptools.org" Subject: Re: [Chameleon] my widgets don't widge References: <3FB6A1A0.4070900@spatialfocus.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, thanks for helping Sara out with this problem. You are very right, I do need to update the sample app on maptools ... I will add that to my high priority items and try to get to it this week :) Cheers, Paul Bart van den Eijnden wrote: > Hi Sara, > > you should change the following part in your index.phtml file, so add > the 2 lines starting with $this: > > class SampleApp extends Chameleon > { > function SampleApp() > { > parent::Chameleon(); > $this->moMapSession = new MapSession_RW; > $this->moMapSession->setTempDir( getSessionSavePath()); > } > > You can leave out the CWCInitializeMap() function. For clarity I have > attached a changed index.phtml file which should work for you. > > Paul: shouldn't we update the sample app on www.maptools.org so no more > people will run into these problems? Perhaps we can put the Geodan > sample there instead of the old sample application? > > Best regards, > Bart > > PS: it is a good habit to always CC the list, so other people with > similar problems in the future can search the archives. > > On Sat, 15 Nov 2003 16:58:56 -0500, Sara Yurman > wrote: > >> Hi Bart, >> >> Many thanks for your email. Here are some responses to your questions >> >>> With red box you mean the box with the red outline ofcourse, and not >>> the complete map widget turning red like it does in Opera (this is a >>> known issue). >> >> >> Yes, that's right. No, I'm not an Opera user. >> >>> what browser are you using? >> >> >> I was using Mozilla 1.5 when I wrote. I've tried IE from our one and >> only Windows client and Galeon after that and got basically the same >> results. Cutting off the Ruler works reliably in IE, and doesn't in >> Mozilla, but no other differences. >> >> > My guess is that the problem will be in the constructor of your >> sample > application. >> >> I've listed the index.phtml file below. I might be missing something >> here -- I'm still not seeing the problem. It would be so wonderful if >> it were something I did in here -- it could be easily fixed. >> >> Thanks again for your help. If you see anything in here, I would so >> appreciate hearing about it. >> >> Best, >> >> Sara >> >> *******************index.phtml below********************************** >> > /* >> * this is a sample of a minimal application script required to >> * get a chameleon application running with a template and a >> * local map file. Most applications should actually just >> * copy this file and modify the template and mapfile >> * parts and should not need to do a lot more here. >> */ >> include( "/var/www/cwc2/htdocs/chameleon.php" ); >> >> $szTemplate = "nlr.html"; >> $szMapFile = "/var/www/cwc2/map/nlr.map"; >> >> class SampleApp extends Chameleon >> { >> function SampleApp() >> { >> parent::Chameleon(); >> } >> >> function CWCInitializeMap() >> { >> $this->moMapSession = new MapSession_RW; >> $this->moMapSession->setTempDir( getSessionSavePath()); >> parent::CWCInitializeMap(); >> } >> >> function CWCLoadTemplate($szTemplateName) >> { >> $this->mszTemplate = implode("\n", file($szTemplateName)); >> } >> } >> >> $oApp = new SampleApp(); >> $oApp->CWCInitialize( $szTemplate, $szMapFile ); >> $oApp->CWCExecute(); >> ?> > > > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From RSuddaby@NRCan.gc.ca Tue Nov 18 17:42:55 2003 Received: from s0-ott-xsmtp2.nrn.nrcan.gc.ca (S0-OTT-XSMTP2.NRCan.gc.ca [132.156.36.49]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hAIMgt8o024678 for ; Tue, 18 Nov 2003 17:42:55 -0500 Received: by S0-OTT-XSMTP2.NRCan.gc.ca with Internet Mail Service (5.5.2657.72) id ; Tue, 18 Nov 2003 17:40:51 -0500 Message-ID: From: "Suddaby, Rod" To: "'chameleon@lists.maptools.org'" Subject: RE: [Chameleon] CWC2 Training Course Pre-package Date: Tue, 18 Nov 2003 17:38:34 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I had to leave this for a few days, but I'm back at it again. I created my own template and context files and tried those with cwc2.php... same result: the CWC2 tags appear in red font in the browser. However I noticed that indeed the map image was generated and cached properly as was the temporary .map file. So all the backend stuff seems to be working. I then peeked inside one of the session files and noticed the following errors: ERROR: Widget Definition for "MapDHTMLImage not found" Perhaps this info can help narrow down where my problem lies? Thanks, Rod. P.S. Joined this list a few days ago, but not receiving any posts?? -----Original Message----- From: Christopher R. Thorne [mailto:thorne@dmsolutions.ca] Sent: Wednesday, November 12, 2003 12:47 PM Cc: Suddaby, Rod; Chameleon Mail List Subject: Re: [Chameleon] CWC2 Training Course Pre-package I missed one thing that you should check and that is in the cwc admin configuration page. Make sure your "map_template:" is correct. Chris PS if this is not the problem please send me your template file (demo.html). I will see if it works for me. Christopher R. Thorne wrote: > Rod, > > Probably the biggest tip I can give you is make sure the paths to the > context file and template are correct. It is very easy to get confused. > > The path that you gave me: > http://localhost/cwc2/cwc2.php?TEMPLATE=demo.html&CONTEXT=gmap_context.xml > > This path will not work if the Template and Context file you are > referring to is located within /cwc2/htdocs/* > > http://localhost/cwc2/cwc2.php?template=cwc2/htdocs/demo.html&context=cwc2/h tdocs/gmap_context.xml > > > If I am wrong please let me know the paths to your files. > > I have posted your questions to the Chameleon mail List. My hope is that > others will give further input ;) > > The Chameleon Mail List is an excellent resource for getting questions > answered. If you like you can join the list on Maptools.org. > > http://lists.maptools.org/mailman/listinfo/chameleon > > Chris > > > Suddaby, Rod wrote: > >> Hi Chris, >> Thank you for your response. I'm using version 1.0.3 and accessing the >> demo >> as: >> >> >> >> The CWC2 tags (all of them) appearing in the browser are colored red. >> Being new to Chameleon I don't know where to begin looking :-) >> >> Thank you. >> Rod. >> >> -----Original Message----- >> From: Christopher R. Thorne [mailto:thorne@dmsolutions.ca] >> Sent: Wednesday, November 12, 2003 7:19 AM >> To: RSuddaby@NRCan.gc.ca >> Subject: [Fwd: Re: [Chameleon] Fwd: RE: CWC2 Training Course >> Pre-package] >> >> >> Hello, >> The information you have given is important, but the mailing list >> probably requires a little more details in order to get to the bottom >> of it. >> >> What version of Chameleon are you using? eg. 1.1 vs. 1.0 >> >> What demo are you using? >> >> How are you calling this application? Are you calling it through a >> Server instance (this currently only apply to version 1.0.x. >> >> eg. for Chameleon 1.0.x >> http://localhost/cwc2/cwc2.php?template=cwc2/htdocs/test.html&context=cwc2/h >> >> tdocs/gmap_context.xml >> >> OR >> eg. for Chameleon 1.1 >> >> A regular url where you would call the index.phtml file which bring >> chameleon.php your template and mapfile together. >> >> http://localhost/chameleon_demo/index.phtml >> >> >> When I try to access any of the demo >> >> applications, the CWC2 tags are merely dumped to the browser >> without >> any processing. Any idea on what I've done wrong? >> >> If CWC2 tags are displayed in "RED" this means that Chameleon is >> reading the CWC2 tags in your template, but have some general problem, >> the the specific tag. >> >> Hope this helps, >> Chris >> >> >> Darren Redfern wrote: >> >> > >> >> From: "Suddaby, Rod" >> >> To: 'Darren Redfern' >> >> Subject: RE: CWC2 Training Course Pre-package >> >> Date: Fri, 7 Nov 2003 11:55:01 -0500 >> >> >> >> Hi Darren: >> >> I was hoping you could help me solve a configuration problem I'm >> having with >> >> the latest Chameleon release. When I try to access any of the demo >> >> applications, the CWC2 tags are merely dumped to the browser >> without any >> >> processing. Any idea on what I've done wrong? >> >> >> >> Oh... the system configuration is: >> >> Win2000 >> >> Apache 2.0.44 >> >> PHP 4.3.1 (loaded as a CGI app) >> >> Mapserver/Mapscript 4.1 (precompiled Win32 release) >> >> >> >> Thanks, >> >> Rod Suddaby >> > >> > >> > >> > _________________________________________________________________ >> > STOP MORE SPAM with the new MSN 8 and get 2 months FREE* >> http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn >> >> .com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca >> > >> > _______________________________________________ >> > Chameleon mailing list >> > Chameleon@lists.maptools.org >> > http://lists.maptools.org/mailman/listinfo/chameleon >> > >> >> > > -- Christopher R. Thorne GIS Specialist, DM Solutions Group Inc. http://www.dmsolutions.ca email: thorne@dmsolutions.ca Phone: (613) 565-5056 ext.22 Fax : (613) 565-0925 ------------------------------ From syurman@spatialfocus.com Wed Nov 19 13:19:20 2003 Received: from mail.speakeasy.net (mail7.speakeasy.net [216.254.0.207]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hAJIJJ8o029741 for ; Wed, 19 Nov 2003 13:19:20 -0500 Received: (qmail 1243 invoked from network); 19 Nov 2003 18:19:17 -0000 Received: from unknown (HELO spatialfocus.com) (syurman@[216.27.169.100]) (envelope-sender ) by mail7.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 19 Nov 2003 18:19:17 -0000 Message-ID: <3FBBB424.1050308@spatialfocus.com> Date: Wed, 19 Nov 2003 13:19:16 -0500 From: Sara Yurman Organization: Spatial Focus, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en MIME-Version: 1.0 To: "Suddaby, Rod" CC: "'chameleon@lists.maptools.org'" Subject: Re: [Chameleon] CWC2 Training Course Pre-package References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Rod, I had this problem last weekend. The names of the widgets are changing as they migrate. You'll find the current widgets in ../cwc2/htdocs/widgets, along with their respective help files. This post provides a nice explanation of what's going on: http://lists.maptools.org/pipermail/chameleon/2003-September/000081.html Cheers, Sara Suddaby, Rod wrote: > I had to leave this for a few days, but I'm back at it again. > > I created my own template and context files and tried those with cwc2.php... > same result: the CWC2 tags appear in red font in the browser. However I > noticed that indeed the map image was generated and cached properly as was > the temporary .map file. So all the backend stuff seems to be working. I > then peeked inside one of the session files and noticed the following > errors: > > ERROR: Widget Definition for "MapDHTMLImage not found" > > Perhaps this info can help narrow down where my problem lies? > > Thanks, > Rod. -- Sara Yurman Spatial Focus, Inc. Geodata Architects http://www.spatialfocus.com/ Office: (404) 378-0989 Fax: (209) 254-9531 From RSuddaby@NRCan.gc.ca Wed Nov 19 14:34:29 2003 Received: from s0-ott-xsmtp2.nrn.nrcan.gc.ca (S0-OTT-XSMTP2.NRCan.gc.ca [132.156.36.49]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hAJJYT8o030083 for ; Wed, 19 Nov 2003 14:34:29 -0500 Received: by S0-OTT-XSMTP2.NRCan.gc.ca with Internet Mail Service (5.5.2657.72) id ; Wed, 19 Nov 2003 14:33:57 -0500 Message-ID: From: "Suddaby, Rod" To: "'Sara Yurman'" Cc: "'chameleon@lists.maptools.org'" Subject: RE: [Chameleon] CWC2 Training Course Pre-package Date: Wed, 19 Nov 2003 14:33:21 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Thanks Sara, but it appears this problem is somewhat different: I installed the CWC2 package on a different system and everything worked fine. So it would seem that the problem is specific to my development machine. Ah well, I'll poke around some more to see if I can zero in on the problem. Rod. -----Original Message----- From: Sara Yurman [mailto:syurman@spatialfocus.com] Sent: Wednesday, November 19, 2003 11:19 AM To: Suddaby, Rod Cc: 'chameleon@lists.maptools.org' Subject: Re: [Chameleon] CWC2 Training Course Pre-package Hi Rod, I had this problem last weekend. The names of the widgets are changing as they migrate. You'll find the current widgets in ../cwc2/htdocs/widgets, along with their respective help files. This post provides a nice explanation of what's going on: http://lists.maptools.org/pipermail/chameleon/2003-September/000081.html Cheers, Sara Suddaby, Rod wrote: > I had to leave this for a few days, but I'm back at it again. > > I created my own template and context files and tried those with cwc2.php... > same result: the CWC2 tags appear in red font in the browser. However I > noticed that indeed the map image was generated and cached properly as was > the temporary .map file. So all the backend stuff seems to be working. I > then peeked inside one of the session files and noticed the following > errors: > > ERROR: Widget Definition for "MapDHTMLImage not found" > > Perhaps this info can help narrow down where my problem lies? > > Thanks, > Rod. -- Sara Yurman Spatial Focus, Inc. Geodata Architects http://www.spatialfocus.com/ Office: (404) 378-0989 Fax: (209) 254-9531 From morissette@dmsolutions.ca Wed Nov 19 19:42:17 2003 Received: from xcalibur.dmsolutions.ca (www2.dmsolutions.ca [209.217.116.146]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hAK0gH8o031294 for ; Wed, 19 Nov 2003 19:42:17 -0500 Received: from dmsolutions.ca ([192.168.2.218]) by xcalibur.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id hAK0gG531772; Wed, 19 Nov 2003 19:42:16 -0500 Message-ID: <3FBC0CF8.4060301@dmsolutions.ca> Date: Wed, 19 Nov 2003 19:38:16 -0500 From: Daniel Morissette User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: chameleon@lists.maptools.org CC: Ryan Belcher References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Chameleon] Re: Trouble Setting up Chameleon Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Ryan Belcher wrote: > I'm having a little trouble setting up the latest Chameleon from the > website. If I go to /htdocs_admin/index.phtml I have green checks on > everything except for a few optional image types. However, if I go to > /htdocs_admin/info.phtml I get MapScript Not Found - configuration problem? > and red X's on Mapscript and all images. Does anyone know what info.phtml > does differently? I know that php can load the php_mapscript_40.so > > When I try to load the sample application I get ERROR: Invalid map file > file, then the path to the map file which is correct. Trying to run > chameleon.php in the htdocs directory yields a blank page. Any ideas on > where I need to start troubleshooting. > > Thanks, > > Ryan > > > From bartvde@xs4all.nl Fri Nov 21 08:37:09 2003 Received: from smtpzilla3.xs4all.nl (smtpzilla3.xs4all.nl [194.109.127.139]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hALDb88o010999 for ; Fri, 21 Nov 2003 08:37:09 -0500 Received: from webmail.xs4all.nl (webmail8.xs4all.nl [194.109.127.33]) by smtpzilla3.xs4all.nl (8.12.9/8.12.9) with SMTP id hALDaqvS060439 for ; Fri, 21 Nov 2003 14:37:07 +0100 (CET) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Fri, 21 Nov 2003 14:37:07 +0100 (CET) Message-ID: <18163.212.238.227.182.1069421827.squirrel@webmail.xs4all.nl> Date: Fri, 21 Nov 2003 14:37:07 +0100 (CET) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [Chameleon] problem in HelpWidget.widget.php Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, there is a problem with the code in HelpWidget.widget.php in the last alpha version. It used to work in previous versions to get a help text from a widget. The path to the help.html files seems to have changed, don't know why. In code it says: if (!file_exists("widgets/".$this->maParams["WIDGET"].".help.html")) But at this location nothing is found. When I change this to: if (!file_exists("../../chameleon/htdocs/widgets/".$this->maParams["WIDGET"].".help.html")) it works. So apparently the help.html files are searched starting from the location where the index.phtml of the application resides, and not starting from the /ms4w/apps/chameleon/htdocs/ path. Can anybody explain this behaviour, is it a bug? Best regards, Bart P.S. This also applies to the second code line which contains the same path: $aFile = file("../../chameleon/htdocs/widgets/".$this->maParams["WIDGET"].".help.html"); From pagameba@magma.ca Fri Nov 21 09:05:32 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hALE5V8o011110 for ; Fri, 21 Nov 2003 09:05:32 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca Magma's Mail Server with ESMTP id hALE5UJ9026868; Fri, 21 Nov 2003 09:05:30 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id hALE5R49002545; Fri, 21 Nov 2003 09:05:30 -0500 Message-ID: <3FBE1BA4.1050100@magma.ca> Date: Fri, 21 Nov 2003 09:05:24 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] problem in HelpWidget.widget.php References: <18163.212.238.227.182.1069421827.squirrel@webmail.xs4all.nl> In-Reply-To: <18163.212.238.227.182.1069421827.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, thanks for pointing this out, it is indeed a bug. There are a couple of issues with this ... one being that widgets can now come from different directories, and the other being that we are redesigning the widget documentation structure somewhat. In any case, this is a bug and will be fixed in the cvs version in the next week or so. Your workaround is an acceptable solution for the moment, the final code will actually search all possible widget directories. Chees, Paul bartvde@xs4all.nl wrote: > Hi list, > > there is a problem with the code in HelpWidget.widget.php in the last > alpha version. It used to work in previous versions to get a help text > from a widget. > > The path to the help.html files seems to have changed, don't know why. > > In code it says: > if (!file_exists("widgets/".$this->maParams["WIDGET"].".help.html")) > > But at this location nothing is found. When I change this to: > if > (!file_exists("../../chameleon/htdocs/widgets/".$this->maParams["WIDGET"].".help.html")) > > it works. So apparently the help.html files are searched starting from the > location where the index.phtml of the application resides, and not > starting from the /ms4w/apps/chameleon/htdocs/ path. > > Can anybody explain this behaviour, is it a bug? > > Best regards, > Bart > > P.S. This also applies to the second code line which contains the same path: > $aFile = > file("../../chameleon/htdocs/widgets/".$this->maParams["WIDGET"].".help.html"); > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From thorne@dmsolutions.ca Fri Nov 21 09:12:55 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hALECt8o011187 for ; Fri, 21 Nov 2003 09:12:55 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca Magma's Mail Server with ESMTP id hALECtJ9030435; Fri, 21 Nov 2003 09:12:55 -0500 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id hALECpRP015662; Fri, 21 Nov 2003 09:12:55 -0500 Message-ID: <3FBE1DAE.1040207@dmsolutions.ca> Date: Fri, 21 Nov 2003 09:14:06 -0500 From: "Christopher R. Thorne" Reply-To: thorne@dmsolutions.ca Organization: DM Solutions Group Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] problem in HelpWidget.widget.php References: <18163.212.238.227.182.1069421827.squirrel@webmail.xs4all.nl> In-Reply-To: <18163.212.238.227.182.1069421827.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Thank you, for reviewing the issues with this widget. As you know this widget currently does not work. We are are currently rebuilding our documentation framework for Chameleon, and probably will not be resolved for another couple of months. This widget as well as other basic widgets will be reviewed and cleaned up for our next release, which will be within the next couple of months. Chris bartvde@xs4all.nl wrote: > Hi list, > > there is a problem with the code in HelpWidget.widget.php in the last > alpha version. It used to work in previous versions to get a help text > from a widget. > > The path to the help.html files seems to have changed, don't know why. > > In code it says: > if (!file_exists("widgets/".$this->maParams["WIDGET"].".help.html")) > > But at this location nothing is found. When I change this to: > if > (!file_exists("../../chameleon/htdocs/widgets/".$this->maParams["WIDGET"].".help.html")) > > it works. So apparently the help.html files are searched starting from the > location where the index.phtml of the application resides, and not > starting from the /ms4w/apps/chameleon/htdocs/ path. > > Can anybody explain this behaviour, is it a bug? > > Best regards, > Bart > > P.S. This also applies to the second code line which contains the same path: > $aFile = > file("../../chameleon/htdocs/widgets/".$this->maParams["WIDGET"].".help.html"); > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- Christopher R. Thorne GIS Specialist, DM Solutions Group Inc. http://www.dmsolutions.ca email: thorne@dmsolutions.ca Phone: (613) 565-5056 ext.22 Fax : (613) 565-0925 ------------------------------ From RSuddaby@NRCan.gc.ca Fri Nov 21 10:21:37 2003 Received: from s0-ott-xsmtp2.nrn.nrcan.gc.ca (S0-OTT-XSMTP2.NRCan.gc.ca [132.156.36.49]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hALFLb8o011482 for ; Fri, 21 Nov 2003 10:21:37 -0500 Received: by S0-OTT-XSMTP2.NRCan.gc.ca with Internet Mail Service (5.5.2657.72) id ; Fri, 21 Nov 2003 10:21:11 -0500 Message-ID: From: "Suddaby, Rod" To: "'chameleon@lists.maptools.org'" Date: Fri, 21 Nov 2003 10:21:05 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Subject: [Chameleon] Buttonizer not buttonizing Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hello all, I can't seem to figure out why the textbuttons are not rendering the images, text or colors. The border images appear (top, topleft and so on) but nothing else. Has anyone else encountered this? Rod. From pagameba@magma.ca Fri Nov 21 10:33:40 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hALFXZ8o011555 for ; Fri, 21 Nov 2003 10:33:40 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca Magma's Mail Server with ESMTP id hALFXXJ9003513; Fri, 21 Nov 2003 10:33:33 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id hALFXEt8015465; Fri, 21 Nov 2003 10:33:31 -0500 Message-ID: <3FBE302A.1090307@magma.ca> Date: Fri, 21 Nov 2003 10:32:58 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Suddaby, Rod" CC: "'chameleon@lists.maptools.org'" Subject: Re: [Chameleon] Buttonizer not buttonizing References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Rod, it sounds like the buttonizer is at least buttonizing ;) something, which indicates that the problem is likely in your template rather than a bug in the code (well, its probably a bug in the code that your template is exposing because it is a case we didn't think to trap and report errors on). Can you post a copy of your template minimized to just one button and related sharedresource that replicates the problem, or send it to me directly if this is something you would rather not share publicly. Another thought: paths are often the cause of this type of problem. Do you have a template that does work? Can you compare them to find the difference? Cheers Paul Suddaby, Rod wrote: > Hello all, > I can't seem to figure out why the textbuttons are not rendering the images, > text or colors. The border images appear (top, topleft and so on) but > nothing else. Has anyone else encountered this? > > Rod. > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From bartvde@xs4all.nl Fri Nov 21 11:36:16 2003 Received: from smtpzilla2.xs4all.nl (smtpzilla2.xs4all.nl [194.109.127.138]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hALGaB8o011813 for ; Fri, 21 Nov 2003 11:36:15 -0500 Received: from webmail.xs4all.nl (webmail8.xs4all.nl [194.109.127.33]) by smtpzilla2.xs4all.nl (8.12.9/8.12.9) with SMTP id hALGa3uG034825 for ; Fri, 21 Nov 2003 17:36:09 +0100 (CET) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Fri, 21 Nov 2003 17:36:09 +0100 (CET) Message-ID: <17378.212.238.227.182.1069432569.squirrel@webmail.xs4all.nl> Date: Fri, 21 Nov 2003 17:36:09 +0100 (CET) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [Chameleon] 2 more bugs Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, we found 2 more bugs in Chameleon 1.1. 1) When you use the pan tool and do not drag but just click on the map half the time an error message appears: "ERROR: no input type specified in" 2) When you have a quickzoom widget that is above the Map DHTML widget and you have e.g. selected the Query tool as the active tool, when clicking an option in the quickzoom list you also get a popup from the Query results! Best regards, Bart From pagameba@magma.ca Fri Nov 21 11:46:48 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hALGkm8o011896 for ; Fri, 21 Nov 2003 11:46:48 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca Magma's Mail Server with ESMTP id hALGklN7002566; Fri, 21 Nov 2003 11:46:47 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id hALGkjKQ022210; Fri, 21 Nov 2003 11:46:48 -0500 Message-ID: <3FBE4172.7050901@magma.ca> Date: Fri, 21 Nov 2003 11:46:42 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] 2 more bugs References: <17378.212.238.227.182.1069432569.squirrel@webmail.xs4all.nl> In-Reply-To: <17378.212.238.227.182.1069432569.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, PanMap error is a known bug, I think there is one in Bugzilla. The other issue is an interesting one and has to do with how browsers implement the DOM and events. Essentially, the browser is not preventing the event associated with the mouse click in the drop down list from 'bubbling' up to the document object's event handlers. There are some work-arounds for this kind of thing, but it can end up being a nightmare of cross-browser hacks. A redesign of javascript event handling may be required. I will record this bug for future reference, but we probably won't attempt to address it for the next release. Cheers, Paul PS bug 138 for the javascript event thing and bug 139 for the PanMap (it wasn't in the public bugzilla) bartvde@xs4all.nl wrote: > Hi list, > > we found 2 more bugs in Chameleon 1.1. > > 1) > When you use the pan tool and do not drag but just click on the map half > the time an error message appears: "ERROR: no input type specified in" > > 2) > When you have a quickzoom widget that is above the Map DHTML widget and > you have e.g. selected the Query tool as the active tool, when clicking an > option in the quickzoom list you also get a popup from the Query results! > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From huub.fleuren@geodan.nl Tue Nov 25 07:11:26 2003 Received: from mail.vz.geodan.nl (host-3.geodan.demon.nl [212.238.227.179]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hAPCBP8o010214 for ; Tue, 25 Nov 2003 07:11:26 -0500 Received: from geodan.nl ([212.238.227.182]) (authenticated user huub@mail.vz.geodan.nl) by mail.vz.geodan.nl (mail.vz.geodan.nl [212.238.227.179]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 8-md50000000129.tmp for ; Tue, 25 Nov 2003 13:10:44 +0100 Message-ID: <3FC346BA.9040409@geodan.nl> Date: Tue, 25 Nov 2003 13:10:34 +0100 From: Huub Fleuren User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: chameleon@lists.maptools.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: huub@mail.vz.geodan.nl X-Spam-Processed: mail.vz.geodan.nl, Tue, 25 Nov 2003 13:10:44 +0100 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 212.238.227.182 X-Return-Path: huub.fleuren@geodan.nl X-MDaemon-Deliver-To: chameleon@lists.maptools.org Subject: [Chameleon] legend_single_template works delayed Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, I created two new widgets called LayerOrderDown and LayerOrderUp (based on the MapUpdateWidget) What the ParseURL function does is, loop through the $oMaps Layers list and if the name is the selected_layer $oMap->moveLayerUp($i) in the LayerDown widget and $oMap->moveLayerDown($i) in the LayerUp widget I'm proud to say that this works. That is: the map is recreated in the new order, but, there is a delay in the legend Only a second /pan/update/zoomin event shows the selected layer in the new position in the legendlist Its like the legend_template uses a session number of the previous cicle What is going wrong? Greetings, Huub -- ------------------------------------- Geodan IT b.v. Buitenhaven 27-A 5211 TP 's-Hertogenbosch (NL) ------------------------------------- Tel: +31 (0)73 - 692 5151 Fax: +31 (0)73 - 692 5150 Mobiel: ------------------------------------- Postadres / mailing address President Kennedylaan 1 1079 MB Amsterdam (NL) ------------------------------------- E-mail: huub.fleuren@geodan.nl Website: www.geodan.nl Disclaimer: www.geodan.nl/disclaimer ------------------------------------- From pagameba@magma.ca Tue Nov 25 08:36:03 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hAPDa28o010494 for ; Tue, 25 Nov 2003 08:36:03 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca Magma's Mail Server with ESMTP id hAPDZwAN012945; Tue, 25 Nov 2003 08:35:58 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id hAPDZuUp026877; Tue, 25 Nov 2003 08:35:58 -0500 Message-ID: <3FC35ABB.5030903@magma.ca> Date: Tue, 25 Nov 2003 08:35:55 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Huub Fleuren CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] legend_single_template works delayed References: <3FC346BA.9040409@geodan.nl> In-Reply-To: <3FC346BA.9040409@geodan.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Huub, Great Stuff! My first guess is that the legend template is somehow processing a different map object than the LayerOrderUp/Down widgets. There are a couple of ways this can happen ... mostly due to how PHP handles references to objects (i.e. it doesn't, it makes copies by default). This doesn't seem to be the case here, since some other operation will cause the legend to update. It may be a bug in the move functions also. One way to test if this is a bug would be to write a small script that loads the map, moves a layer then processes the legend template. I would start there to rule out that possibility. The next thing to check would be the order of execution of the widgets. In general, all widgets are executed in order of appearance in the template, but widgets can be given a priority that causes them to execute before or after other widgets. Again, I'm not sure this is the problem because the LegendTemplate widget does not actually process the legend template until DrawPublish. In the widget cycle, all widgets have ParseURL called, then a second loop calls DrawPublish, so there should be no interaction at this point. Other than that, I would need to run your code through a debugger to figure out exactly what is going on. Cheers, Paul Huub Fleuren wrote: > Hi list, > > I created two new widgets called LayerOrderDown and LayerOrderUp (based > on the MapUpdateWidget) > > What the ParseURL function does is, loop through the $oMaps Layers list > and if the name is the selected_layer $oMap->moveLayerUp($i) in the > LayerDown widget and $oMap->moveLayerDown($i) in the LayerUp widget > > I'm proud to say that this works. > > That is: the map is recreated in the new order, but, there is a delay in > the legend > Only a second /pan/update/zoomin event shows the selected layer in the > new position in the legendlist > > Its like the legend_template uses a session number of the previous cicle > > What is going wrong? > > > > Greetings, > Huub > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From huub.fleuren@geodan.nl Tue Nov 25 10:50:37 2003 Received: from mail.vz.geodan.nl (host-3.geodan.demon.nl [212.238.227.179]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hAPFoU8o011304 for ; Tue, 25 Nov 2003 10:50:36 -0500 Received: from geodan.nl ([212.238.227.182]) (authenticated user huub@mail.vz.geodan.nl) by mail.vz.geodan.nl (mail.vz.geodan.nl [212.238.227.179]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 40-md50000000132.tmp for ; Tue, 25 Nov 2003 16:49:47 +0100 Message-ID: <3FC37A11.2000507@geodan.nl> Date: Tue, 25 Nov 2003 16:49:37 +0100 From: Huub Fleuren User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: chameleon@lists.maptools.org CC: spencer@dmsolutions.ca Subject: [Chameleon] legend_single_template works delayed Content-Type: multipart/mixed; boundary="------------030503070507000705040304" X-Authenticated-Sender: huub@mail.vz.geodan.nl X-Spam-Processed: mail.vz.geodan.nl, Tue, 25 Nov 2003 16:49:47 +0100 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 212.238.227.182 X-Return-Path: huub.fleuren@geodan.nl X-MDaemon-Deliver-To: chameleon@lists.maptools.org Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. --------------030503070507000705040304 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi list I checked Pauls suggestions for a great deal === > My first guess is that the legend template is somehow > processing a different map object than the LayerOrderUp/Down widgets. > There are a couple of ways this can happen ... mostly due to how PHP > handles references to objects (i.e. it doesn't, it makes copies by > default). This doesn't seem to be the case here, since some other > operation will cause the legend to update. I won't pretend that i understand what exacty happens but how could any widget change de $oMap object if they all refer to it as $oMap = $this->moMapObject->oMap; They would all operate on a different object. my imression is that it works out right somehow. The SelectLayers widget writes a "selected" metadatatag in de session mapfile I would write a "moved" metadatatag in the sessionmapfile, through a complete different oMap Object since i created it by $oMap = $this->moMapObject->oMap; and $oLayer = $oMap->getLayer($i); as SelectLayers does it in at a diffent time in a different object and function Both tags appear in the same session mapfile == > It may be a bug in the move functions also. If the session map file is updated (and it is) i don't see how it could be a bug in these functions > One way to test if this is > a bug would be to write a small script that loads the map, moves a > layer > then processes the legend template. I would start there to rule out > that possibility. so i didn't try this other the via the template and chameleon framework == > The next thing to check would be the order of execution of the widgets. > In general, all widgets are executed in order of appearance in the > template, but widgets can be given a priority that causes them to > execute before or after other widgets. Again, I'm not sure this is the > problem because the LegendTemplate widget does not actually process the > legend template until DrawPublish. In the widget cycle, all widgets > have ParseURL called, then a second loop calls DrawPublish, so there > should be no interaction at this point. i changed the order of the CWC2 tags and also gave the widgets a high priority in the widget constructor, but no effect == > > Other than that, I would need to run your code through a debugger to > figure out exactly what is going on. > == attachments included > Cheers, > Huub ================================== > Huub Fleuren wrote: > > > Hi list, > > > > I created two new widgets called LayerOrderDown and LayerOrderUp > (based > > on the MapUpdateWidget) > > > > What the ParseURL function does is, loop through the $oMaps Layers > list > > and if the name is the selected_layer $oMap->moveLayerUp($i) in the > > LayerDown widget and $oMap->moveLayerDown($i) in the LayerUp widget > > > > I'm proud to say that this works. > > > > That is: the map is recreated in the new order, but, there is a delay > in > > the legend > > Only a second /pan/update/zoomin event shows the selected layer in > the > > new position in the legendlist > > > > Its like the legend_template uses a session number of the previous > cicle > > > > What is going wrong? > > > > > > > > Greetings, > > Huub > > > > > > -- > ----------------------------------------------------------------- > |Paul Spencer spencer@dmsolutions.ca | > |-----------------------------------------------------------------| > |Applications & Software Development | > |DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon --------------030503070507000705040304 Content-Type: application/x-zip-compressed; name="2widgets.zip" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="2widgets.zip" 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 BQYAAAAAAgACAI4AAACkFgAAAAA= --------------030503070507000705040304-- From huub@geodan.nl Tue Nov 25 13:59:43 2003 Received: from smtpq1.home.nl (smtpq1.home.nl [213.51.128.196]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hAPIxQ8o012123 for ; Tue, 25 Nov 2003 13:59:43 -0500 Received: from [213.51.128.132] (port=48885 helo=smtp1.home.nl) by smtpq1.home.nl with esmtp (Exim 4.20) id 1AOiPB-0005Nv-4T for chameleon@lists.maptools.org; Tue, 25 Nov 2003 19:59:21 +0100 Received: from cp12037-a.dbsch1.nb.home.nl ([217.120.112.6]:1658 helo=huub) by smtp1.home.nl with esmtp (Exim 4.20) id 1AOiP9-0001Xr-V3 for chameleon@lists.maptools.org; Tue, 25 Nov 2003 19:59:20 +0100 Date: Tue, 25 Nov 2003 19:59:23 +0100 From: huub fleuren X-Mailer: The Bat! (v1.61) Reply-To: huub fleuren Organization: Geodan X-Priority: 3 (Normal) Message-ID: <1507905677.20031125195923@geodan.nl> To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-AtHome-MailScanner-Information: Neem contact op met support@home.nl voor meer informatie X-AtHome-MailScanner: Found to be clean Subject: [Chameleon] another widget that works Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hallo list, If you remember, i contributed two widgets that worked, partly, earlier today. I asked everybody why the map was updated but the legend list was not. Well i have here another widget, that will remove the selected layer from the map. Basically is does the same thing. Except that the LayerOrder widgets use $oMap->moveLayerDown($i); and $oMap->moveLayerUp($i); and this one uses $oLayer->set("status",MS_DELETE); and guess what... the legend list is updated correctly. (In an older version of chameleon it happened only once. I swear. In a later version it seemes to be stable) the tag the listing (because it works better). Copyright (c) 2002, DM Solutions Group Inc. * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. */ include_once("NavTool.php"); include_once("TextButton.php"); /** * RemoveLayer * * @desc Removes a SELECTED_LAYER (SelectLayer.Widget) from the map */ class RemoveLayer extends CWCWidget { /** * RemoveLayer * * Constructor for the RemoveLayer */ function RemoveLayer() { // invoke constructor of parent parent::CWCWidget(); $this->moParent =& $oParent; // set the description for this widget $this->szWidgetDescription = <<moTextButton = new CWCTextButton($this); } function InitDefaults() { $this->moTextButton->InitDefaults(); } /** * GetHTMLHiddenVariables * * Return HTML hidden variables. */ function GetHTMLHiddenVariables() { $szVariable = "REMOVE_LAYER"; $szValue = " "; $aReturn[$szVariable] = $szValue; return $aReturn; } /** * GetJavascriptFunctions * * Return the Javacriptfunctions needed by the widget. */ function GetJavascriptFunctions() { $aReturn = array(); $szJsFunctionName = "clickRemoveLayer"; $szFunction = <<mszHTMLForm}) { REMOVE_LAYER.value = "1"; submit(); } return; } EOT; $aReturn[$szJsFunctionName] = $szFunction; return $aReturn; } /** * DrawPublish * * Return the HTML code using the name in the map file and the * parameters of the CWC tag. */ function DrawPublish() { if (!$this->mbVisible) return ""; $this->moTextButton->SetOnClickEvent( "clickRemoveLayer()" ); return $this->moTextButton->DrawPublish(); } /** * ParseURL * * Look for selected layers and move them UP */ function ParseURL() { if (isset($this->moURLArray['REMOVE_LAYER'])) { if ($this->moURLArray['REMOVE_LAYER'] == "1") { if (isset($this->moURLArray['SELECTED_LAYERS'])) { if (strlen($this->moURLArray['SELECTED_LAYERS']) > 0) { $szSelectedLayers = $this->moURLArray['SELECTED_LAYERS'] ; $oMap = $this -> moMapObject -> oMap; for($i=0; $i < $oMap->numlayers; $i++) { $oLayer = $oMap->getLayer($i); if ( $oLayer->name == $szSelectedLayers ) { $oLayer->set("status",MS_DELETE); } } } } } } } } ?> -- Huub Fleuren Geodan IT Vestiging Zuid Buitenhaven 27A 5711 TP 's-Hertogenbosch huub@geodan.nl Tel. +31 (0)73 - 6925 160 Fax. +31 (0)73 - 6925 150 Website http://www.vz.geodan.nl/ -- Geodan IT b.v. President Kennedylaan 1 1079 MB Amsterdam (NL) Tel. +31 (0)20 - 5711 311 Fax +31 (0)20 - 5711 333 Website http://www.geodan.nl/ From mcilhagga@dmsolutions.ca Tue Nov 25 15:10:58 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hAPKAr8o012529 for ; Tue, 25 Nov 2003 15:10:58 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id hAPKAqva028149; Tue, 25 Nov 2003 15:10:52 -0500 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id hAPKAnaI020590; Tue, 25 Nov 2003 15:10:51 -0500 Message-ID: <3FC3B742.4070405@dmsolutions.ca> Date: Tue, 25 Nov 2003 15:10:42 -0500 From: Dave McIlhagga User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-ca, en, en-us, fr-ca MIME-Version: 1.0 To: maplab-users@dmsolutions.ca, chameleon@lists.maptools.org, gianluigi.nozza@tiscali.it References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Chameleon] Re: Fwd: info chamaleon Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi MapLab and Chameleon users, We received an email asking about the differences between Chameleon and Maplab, and why there appears to be two pieces of software that effectively do the same thing (create a mapserver based web mapping application) but do it in different ways. I figured this would be a good opportunity to share with both user groups some of the developments that are ongoing with MapLab and Chameleon in order to clear this up. Chameleon: Chameleon, as many of you are aware, is a new tag-based system for implementing MapServer-based web mapping applications. The original incarnation of this (1.0) was released as an OGC toolkit for deploying applications that only read map data through WMS. This is known as the CGDI WMS Client Component or CWC2. We are now working towards the release of Chameleon 2.0 which represents the core of the CWC2 technology, but allows data to come from any source (local or remote). Chameleon 2.0 when released will come with a set of base widgets that will provide many of the standard capabilities we have come to expect from web mapping software -- namely navigation, querying, legend, keymap, etc... Chameleon 2.0 in itself will leverage Map Files, but when used in conjunction with the OGC widget pack, will enable the use of Context files instead of Map files for referencing WMS data sources -- just as the current 1.0.x release operates. In the short-term, you can get snapshots of alpha versions of Chameleon 2.0 in the form of the Chameleon 1.1 download through the MapTools site. MapLab: MapLab is currently undergoing a major transformation in an effort to make MapLab work in conjunction with Chameleon. The goal of MapLab 3.0 is to act as a much improved web cartography and OGC data discovery tool. It is important to note, that the current capability to generate GMapFactory applications as is done in the 2.x release stream will no longer be possible in the MapLab 3.x releases. Instead, Chameleon will act as the application deployment environment with Map Files created/maintained with MapLab. There is no *absolute* date for release of either Maplab 3.0 or Chameleon 2.0 at this point ... however I think it is safe to expect to see initial versions (perhapse beta, but hopefully full releases) sometime this winter. Due to projects we are currently engaged in, it will be necessary for stable versions of both of these to exist sometime during the first couple of months of 2004. I just wanted to give everyone a head's up about this now as it will represent some significant changes (but neccessary and very good ones) for anyone currently leveraging Chameleon, and mostly MapLab. We're very excited about the new releases of both of these tools as we see them as being much more intuitive and useful tools for the future. Our apologies that we haven't been able to get more information out to you before this, but we have been so busy getting the work completed on these initiatives that we have not had much time to inform and consult with the community this time around. However, we do look forward to opening up both projects to more active participation by the open source community in the future. Dave -- Dave McIlhagga President, DM Solutions Group http://www.dmsolutions.ca EMail : mcilhagga@dmsolutions.ca tuan@openspacemarketing.com wrote: > Tuan Nguyen > Marketing Specialist > DM Solutions Group > (613)565-5056 ext. 17 > www.dmsolutions.ca > > > > --- the forwarded message follows --- > > > ------------------------------------------------------------------------ > > Subject: > info chamaleon > From: > > Date: > Mon, 24 Nov 2003 11:12:39 +0100 > To: > > > > Surfing on the web looking for internet mapping solutions I have found > mapserver and maplab technology. I tried to set up a demo application > and after a lot of tries I got the result (very nice). > Now I have discovered a similar solution named chamaleon (I dint'n test > it directly) I tried to understand the differences with maplab but I > still have the following doubts. > Questions: > are maplab and chamaleon two differents approach to the same problem ? > they are mutually exclusive or they can integrate each other ? > If I decide to use maplab, what are the benefits of using also chamaleon ? > > Thanks Gianluigi Nozza, geologist, GIS analyst > From bartvde@xs4all.nl Tue Nov 25 16:59:06 2003 Received: from smtpzilla5.xs4all.nl (smtpzilla5.xs4all.nl [194.109.127.141]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hAPLx58o012954 for ; Tue, 25 Nov 2003 16:59:05 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla5.xs4all.nl (8.12.9/8.12.9) with ESMTP id hAPLwwRS095504 for ; Tue, 25 Nov 2003 22:59:03 +0100 (CET) Reply-To: bartvde@xs4all.nl To: "chameleon@lists.maptools.org" From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Tue, 25 Nov 2003 22:57:27 +0100 Message-ID: User-Agent: Opera7.22/Win32 M2 build 3221 Subject: [Chameleon] potential problem with zoomin Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, we have encountered a strange potential problem with zoomin, which I cannot explain. The Hawaii2 demo does not show this problem. When a user zooms in and draws a box, but then immediately after this clicks "accidently" in the map again, it takes a really long while (approximately 20 seconds) before the next image appears. Nothing happens in the IE status bar during this time. Does anybody have an idea what could be causing this behaviour? Best regards, Bart From bartvde@xs4all.nl Tue Nov 25 17:19:29 2003 Received: from smtpzilla1.xs4all.nl (smtpzilla1.xs4all.nl [194.109.127.137]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hAPMJM8o013043 for ; Tue, 25 Nov 2003 17:19:28 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla1.xs4all.nl (8.12.9/8.12.9) with ESMTP id hAPMJGge066055 for ; Tue, 25 Nov 2003 23:19:22 +0100 (CET) Reply-To: bartvde@xs4all.nl To: "chameleon@lists.maptools.org" From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Tue, 25 Nov 2003 23:17:45 +0100 Message-ID: User-Agent: Opera7.22/Win32 M2 build 3221 Subject: [Chameleon] theme selector Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, I have a question about some functionality. I do not know whether or not this functionality is present in Chameleon. I have a Chameleon application which has 3 themes. Each theme uses a different classification on the same data. Let's call them Theme A, B and C for simplicity. These 3 themes are available for three moments in time, 1980, 1990 and 2000. So at the moment I have 9 layers in my application. I want to present the user a select box with the three themes, based on which the layers are shown, in the map and in the LegendTemplate widget. In what way would it be possible to implement this functionality? By using a simple convention in the layer names for instance? Also, Chameleon has a TimeFilter widget which would perform this kind of functionality based on the time instead of based on the theme. But if I understand correctly Mapserver does not support the time parameter from the WMS spec yet? Best regards, Bart From pagameba@magma.ca Tue Nov 25 19:55:43 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hAQ0th8o013583 for ; Tue, 25 Nov 2003 19:55:43 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca Magma's Mail Server with ESMTP id hAQ0tgoi029988; Tue, 25 Nov 2003 19:55:42 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id hAQ0teJ1012357; Tue, 25 Nov 2003 19:55:42 -0500 Message-ID: <3FC3FA0B.20400@magma.ca> Date: Tue, 25 Nov 2003 19:55:39 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: "chameleon@lists.maptools.org" Subject: Re: [Chameleon] theme selector References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, it is possible that the XMLThemeLegend may do the job for you. One way of displaying layers using the XMLThemeLegend widget is as a 'radio' group, which means that only one layer in a 'theme' can be on at a time. The XMLThemeLegend uses Themes and Groups. Themes contain Groups, Groups contain Layers ... and a Layer is a mapserver layer. This means that you can control groups of layers with a single control. This allows you do do things that are not possible within mapserver's current 'group' support. The Hawaii demo uses this widget. It is a bit complicated to set up, and not very well documented, but it may be worthwhile. A second option would be the creative use of the mapserver GROUP attribute, it can be used with the html legend control quite nicely. Cheers, Paul Bart van den Eijnden wrote: > Hi list, > > I have a question about some functionality. I do not know whether or not > this functionality is present in Chameleon. > > I have a Chameleon application which has 3 themes. Each theme uses a > different classification on the same data. Let's call them Theme A, B > and C for simplicity. These 3 themes are available for three moments in > time, 1980, 1990 and 2000. So at the moment I have 9 layers in my > application. > > I want to present the user a select box with the three themes, based on > which the layers are shown, in the map and in the LegendTemplate widget. > > In what way would it be possible to implement this functionality? By > using a simple convention in the layer names for instance? > > Also, Chameleon has a TimeFilter widget which would perform this kind of > functionality based on the time instead of based on the theme. But if I > understand correctly Mapserver does not support the time parameter from > the WMS spec yet? > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From uchoa@estudemais.com.br Thu Nov 27 06:05:33 2003 Received: from smtp.dominal.com (relay02.dominal.com [200.150.150.28]) by www.maptools.org (8.12.5/8.12.5) with SMTP id hARB5V8o022821 for ; Thu, 27 Nov 2003 06:05:33 -0500 Message-Id: <200311271105.hARB5V8o022821@www.maptools.org> Received: (qmail 29465 invoked from network); 27 Nov 2003 11:05:18 -0000 Received: from unknown (HELO DominalWebmail) (127.0.0.1) by 0 with SMTP; 27 Nov 2003 11:05:18 -0000 Received: from client 200.165.242.208 for UebiMiau (webmail client); Thu, 27 Nov 2003 9:05:18 -0300 Date: Thu, 27 Nov 2003 9:05:18 -0300 From: Uchoa To: Reply-to: Uchoa X-Priority: 3 X-Mailer: Dominal Webmail 1.0 Content-Transfer-Encoding: 8bit X-MSMail-Priority: Medium Importance: Medium Content-Type: text/html; charset="iso-8859-1"; MIME-Version: 1.0 Subject: [Chameleon] enter in user list Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive:

Hi,

I´d like to know how I enter into chameleon user list.

Thanks,

Uchoa

Rio de Janeiro - Brazil

________________________________________________Este email foi enviado pelo Dominal Webmail From pagurekd@agr.gc.ca Thu Nov 27 11:31:40 2003 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hARGVd8o024067 for ; Thu, 27 Nov 2003 11:31:39 -0500 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id hARGJShg013165 for ; Thu, 27 Nov 2003 11:19:29 -0500 Received: from ncrxem6 ([10.117.15.110]) by agrin1.agr.gc.ca (8.11.6/8.11.6) with SMTP id hARGVK921445 for ; Thu, 27 Nov 2003 11:31:20 -0500 Received: From agr.gc.ca ([10.117.15.106]) by ncrxem6 (WebShield SMTP v4.5 MR1a); id 1069950881250; Thu, 27 Nov 2003 11:34:41 -0500 Received: from AGCAN-MTA by agr.gc.ca with Novell_GroupWise; Thu, 27 Nov 2003 11:31:18 -0500 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.2 Date: Thu, 27 Nov 2003 11:31:14 -0500 From: "Debbie Pagurek" To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id hARGVd8o024067 Subject: [Chameleon] dataurl question Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi all, I'm using a CWC installation, and am trying to work around the ongoing legend issue. I notice that when you add a wms layer to CWC, and you click on the layer link, it opens up a box that shows "dataURL". I would like to try to use this for my legend url, by putting a mapserver mode=legend url in there, as in: http://wms1.agr.gc.ca/cgi-bin/soil/ns/pockwock?mode=legend&layer=kind_dom Question is, where do I put this data url in the mapfile so that it will appear in the CWC dataURL part? I tried to put it in the metadata section of the layer under "wms_dataurl" but that doesn't seem to work? Can anyone help? Debbie Pagurek Debbie Pagurek, M.Sc. GIS and Remote Sensing Analyst / Télédétection, SIG Research Branch / D.G. Recherche Agriculture and Agri-Food Canada / Agriculture et Agroalimentaire Canada Telephone / Téléphone: 613-759-1543 Facsimile / Télécopieur: 613-759-1937 960 Carling Avenue Ottawa, Ontario K1A 0C6 pagurekd@agr.gc.ca From uli.mueller@gmx.ch Fri Nov 28 17:00:14 2003 Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by www.maptools.org (8.12.5/8.12.5) with SMTP id hASM0C8o000512 for ; Fri, 28 Nov 2003 17:00:14 -0500 Received: (qmail 17387 invoked by uid 65534); 28 Nov 2003 22:00:11 -0000 Received: from p5083E833.dip0.t-ipconnect.de (HELO thunderbird) (80.131.232.51) by mail.gmx.net (mp026) with SMTP; 28 Nov 2003 23:00:11 +0100 X-Authenticated: #1415726 From: "uli" To: Date: Fri, 28 Nov 2003 22:59:27 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Importance: Normal Subject: [Chameleon] RGB raster display, GDAL PROCESSING Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list I am trying to implement RGB images (landsat and colored hillshading) in Chameleon. In the only some 10-20 colors seem to be rendered. When I use the mapfile that is the base of my Chameleon application directly (through a httpd://...mapserv?mode=map...) request, the image looks fine with all RGB colors. Is there any mechanism in Chameleon that reduces the colors to 256 or even less? I also tried to use some of GDAL's PROCESSING directives, however Chameleon could not interpret them and crashed. Uli mapserv -v: MapServer version 4.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=EPPL7 INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE Extracts from my mapfile: PROJECTION "init=epsg:31467" # Germany, Gauss-Krueger Zone 3 END #OutputFormat Objects IMAGETYPE png_rgb OUTPUTFORMAT NAME png_rgb DRIVER "GD/PNG" MIMETYPE "image/png" IMAGEMODE RGB EXTENSION "png" FORMATOPTION "TRANSPARENT=ON" FORMATOPTION "INTERLACE=ON" END ... LAYER NAME "Topographie" TYPE raster STATUS default PROJECTION "init=epsg:31467" END MINSCALE 350000 MAXSCALE 1000000 DATA "/geodata/europe/ger/bw/_data/dem/hillshadecolored.tif" #PROCESSING "COLOR_MATCH_THRESHOLD=3" END #all other layers switched off ... From john.pulles@geodan.nl Mon Dec 1 05:46:25 2003 Received: from mail.vz.geodan.nl (host-3.geodan.demon.nl [212.238.227.179]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hB1AkO8o021474 for ; Mon, 1 Dec 2003 05:46:25 -0500 Received: from geodan.nl ([212.238.227.182]) (authenticated user john@mail.vz.geodan.nl) by mail.vz.geodan.nl (mail.vz.geodan.nl [212.238.227.179]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 14-md50000000174.tmp for ; Mon, 01 Dec 2003 11:46:13 +0100 Message-ID: <3FCB1BF8.1080304@geodan.nl> Date: Mon, 01 Dec 2003 11:46:16 +0100 From: John Pulles Organization: Geodan User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; nl-NL; rv:1.5) Gecko/20031007 X-Accept-Language: nl, en, en-us MIME-Version: 1.0 To: chameleon@lists.maptools.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: john@mail.vz.geodan.nl X-Spam-Processed: mail.vz.geodan.nl, Mon, 01 Dec 2003 11:46:13 +0100 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 212.238.227.182 X-Return-Path: john.pulles@geodan.nl X-MDaemon-Deliver-To: chameleon@lists.maptools.org Subject: [Chameleon] server treemenu Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, I try to use the manage_servers.phtml dialog to manage servers; as a result a server.treemenu file is written in the data directory together with 4 dbase files: capab.dbf, server.dbf, bbox.dbf and style.dbf. To show the available servers and their layers in a treeview fails when using the WMSCache widget to populate the sharedresources. The php error messages I get are: *Notice*: Undefined index: style_id in *d:\ms4w\apps\chameleon-1.1alpha6\htdocs\widgets\WMSCache.widget.php* on line *300* *Warning*: Tried to read bad record 0 in *d:\ms4w\apps\chameleon-1.1alpha6\htdocs\widgets\WMSCache.widget.php* on line *312* Use of the MapEditFullTree functie gives the following error: *Fatal error*: Call to undefined function: renderastreemenuarray() in *d:\ms4w\apps\chameleon-1.1alpha6\htdocs\widgets\MapEditFullTree.widget.php* on line *132* Why these errors? Greetings, John. -- ------------------------------------- Geodan IT b.v. Buitenhaven 27-A 5211 TP 's-Hertogenbosch (NL) ------------------------------------- Tel: +31 (0)73 - 692 5151 Fax: +31 (0)73 - 692 5150 Mobiel: +(0)6 - 1234 5678 ------------------------------------- Postadres / mailing address President Kennedylaan 1 1079 MB Amsterdam (NL) ------------------------------------- E-mail: john.pulles@geodan.nl Website: http://www.geodan.nl Disclaimer: http://www.geodan.nl/disclaimer ------------------------------------- From pagameba@magma.ca Mon Dec 1 10:30:18 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hB1FUH8o022603 for ; Mon, 1 Dec 2003 10:30:18 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca Magma's Mail Server with ESMTP id hB1FUFaJ025451; Mon, 1 Dec 2003 10:30:15 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id hB1FUCpA010078; Mon, 1 Dec 2003 10:30:16 -0500 Message-ID: <3FCB5E7D.2070503@magma.ca> Date: Mon, 01 Dec 2003 10:30:05 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Debbie Pagurek CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] dataurl question References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Debbie, you raise a good issue relating to legends and how MapServer handles (or doesn't) handle them. I just checked with Assefa and there is no support in MapServer for DataURL via metadata. By this, I mean that setting a metadata item for wms_dataurl will not result in the dataurl appearing in either the WMS capabilities. What is a bit confusing is that it is handled in Context documents (or at least it should be). By this, I mean that when you load a context file, mapserver will create a wms_dataurl metadata (if necessary), and when you save a context, it should read the wms_dataurl metadata and include it in the context. It is not clear to me if this is not working for you, or if you are trying to get it to work with the WMS server (which it won't yet). As an aside, you mentioned that this is a work around :) The SLD support being added into MapServer WMS will include GetLegendGraphic requests as well. How this will be implemented is not yet clear to me, but I am expecting that legend graphic url information will be propogated to the WMS capabilities document will include a GetLegendGraphic request. This may be driven by metadata, or automatically generated, or a combination of the two. I would also like to see WMS client support for this in MapServer, so that if you are working with WMS layers in a mapfile (as is the case with CWC2), you could use the standard MapServer legend functionality and it would trigger a call to get the graphic associated with a WMS layer (as defined from capabilities or context), this would have to be driven by metadata. There is already a preliminary implementation of this for legend icon information coming from contexts, I believe the metadata entry ends up being four space separated values as in: " " Supporting legend graphics doesn't seem to be too difficult, but there are many issues surrounding it because of the interconnection between the various specs, including WMC, WMS, and SLD (getting a legend graphic should take into account any applied SLD). There is also an issue with classes on layers, I don't know how that is handled (but I think there is a way). Cheers, Paul Debbie Pagurek wrote: > Hi all, > I'm using a CWC installation, and am trying to work around the ongoing > legend issue. I notice that when you add a wms layer to CWC, and you > click on the layer link, it opens up a box that shows "dataURL". I > would like to try to use this for my legend url, by putting a mapserver > mode=legend url in there, as in: > http://wms1.agr.gc.ca/cgi-bin/soil/ns/pockwock?mode=legend&layer=kind_dom > > Question is, where do I put this data url in the mapfile so that it > will appear in the CWC dataURL part? I tried to put it in the metadata > section of the layer under "wms_dataurl" but that doesn't seem to work? > > Can anyone help? > Debbie Pagurek > > Debbie Pagurek, M.Sc. > GIS and Remote Sensing Analyst / Télédétection, SIG > Research Branch / D.G. Recherche > Agriculture and Agri-Food Canada / Agriculture et Agroalimentaire > Canada > Telephone / Téléphone: 613-759-1543 > Facsimile / Télécopieur: 613-759-1937 > 960 Carling Avenue > Ottawa, Ontario > K1A 0C6 > pagurekd@agr.gc.ca > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagurekd@agr.gc.ca Tue Dec 2 10:30:41 2003 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hB2FUf8o028989 for ; Tue, 2 Dec 2003 10:30:41 -0500 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id hB2FHjhg026608 for ; Tue, 2 Dec 2003 10:17:45 -0500 Received: from ncrxem6 ([10.117.15.110]) by agrin1.agr.gc.ca (8.11.6/8.11.6) with SMTP id hB2FUD923655 for ; Tue, 2 Dec 2003 10:30:13 -0500 Received: From agr.gc.ca ([10.117.15.106]) by ncrxem6 (WebShield SMTP v4.5 MR1a); id 1070379215968; Tue, 2 Dec 2003 10:33:35 -0500 Received: from AGCAN-MTA by agr.gc.ca with Novell_GroupWise; Tue, 02 Dec 2003 10:30:12 -0500 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.2 Date: Tue, 02 Dec 2003 10:30:09 -0500 From: "Debbie Pagurek" To: Cc: Subject: Re: [Chameleon] dataurl question Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_3F61C114.F899DF6A" Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=_3F61C114.F899DF6A Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Paul, thanks for your reply. So I played around with a context document, one created from CWC. I modified it (see below) and added a dataURL tag so that I could try to point to a URL for a legend. Then I uploaded this context document into CWC but unfortunately it doesn't seem to fill in that dataURL box when I click on the layer in the legend. Oh well, I guess I'm going to have to be patient and wait for legend support, unless someone has another suggestion. Thanks, Debbie >>> pagameba@magma.ca 12/01/03 10:30AM >>> Debbie, you raise a good issue relating to legends and how MapServer handles (or doesn't) handle them. I just checked with Assefa and there is no support in MapServer for=20 DataURL via metadata. By this, I mean that setting a metadata item for=20 wms_dataurl will not result in the dataurl appearing in either the WMS=20 capabilities. What is a bit confusing is that it is handled in Context=20 documents (or at least it should be). By this, I mean that when you=20 load a context file, mapserver will create a wms_dataurl metadata (if=20 necessary), and when you save a context, it should read the wms_dataurl=20 metadata and include it in the context. It is not clear to me if this=20 is not working for you, or if you are trying to get it to work with the=20 WMS server (which it won't yet). As an aside, you mentioned that this is a work around :) The SLD=20 support being added into MapServer WMS will include GetLegendGraphic=20 requests as well. How this will be implemented is not yet clear to me,=20 but I am expecting that legend graphic url information will be=20 propogated to the WMS capabilities document will include a=20 GetLegendGraphic request. This may be driven by metadata, or=20 automatically generated, or a combination of the two. I would also like to see WMS client support for this in MapServer, so=20 that if you are working with WMS layers in a mapfile (as is the case=20 with CWC2), you could use the standard MapServer legend functionality=20 and it would trigger a call to get the graphic associated with a WMS=20 layer (as defined from capabilities or context), this would have to be=20 driven by metadata. There is already a preliminary implementation of=20 this for legend icon information coming from contexts, I believe the=20 metadata entry ends up being four space separated values as in: " " Supporting legend graphics doesn't seem to be too difficult, but there=20 are many issues surrounding it because of the interconnection between=20 the various specs, including WMC, WMS, and SLD (getting a legend graphic should take into account any applied SLD). There is also an issue with=20 classes on layers, I don't know how that is handled (but I think there=20 is a way). Cheers, Paul Debbie Pagurek wrote: > Hi all, > I'm using a CWC installation, and am trying to work around the ongoing > legend issue. I notice that when you add a wms layer to CWC, and you > click on the layer link, it opens up a box that shows "dataURL". I > would lik e to try to use this for my legend url, by putting a mapserver > mode=3Dlegend url in there, as in: > http://wms1.agr.gc.ca/cgi-bin/soil/ns/pockwock?mode=3Dlegend&layer=3Dkind_d= om >=20 > Question is, where do I put this data url in the mapfile so that it > will appear in the CWC dataURL part? I tried to put it in the metadata > section of the layer under "wms_dataurl" but that doesn't seem to work? >=20 > Can anyone help? > Debbie Pagurek >=20 > Debbie Pagurek, M.Sc. > GIS and Remote Sensing Analyst / T=E9l=E9d=E9tection, SIG > Research Branch / D.G. Recherche > Agriculture and Agri-Food Canada / Agriculture et Agroalimentaire > Canada > Telephone / T=E9l=E9phone: 613-759-1543 > Facsimile / T=E9l=E9copieur: 613-759-1937 > 960 Carling Avenue > Ottawa, Ontario > K1A 0C6 > pagurekd@agr.gc.ca >=20 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon >=20 --=20 ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- --=_3F61C114.F899DF6A Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Description: HTML
Hi Paul,
thanks for your reply.
So I played around with a context document, one created from CWC.  I modified it (see below) and added a dataURL tag so that I could try to point to a URL for a legend.  Then I uploaded this context document into CWC but unfortunately it doesn't seem to fill in that dataURL box when I click on the layer in the legend.
 
Oh well, I guess I'm going to have to be patient and wait for legend support, unless someone has another suggestion.
 
Thanks,
Debbie
 
<Layer queryable="1" hidden="0">
      <Server service="WMS" version="1.1.0" title="Soil Order (dominant)">
        <OnlineResource xlink:type="simple" xlink:href="http://wms1.agr.gc.ca/cgi-bin/soil/ns/pockwock?"/>
      </Server>
      <Name>order_dom</Name>
      <Title>Soil Order (dominant)</Title>
      <Abstract>The dominant Soil Order recorded for the soil components in the polygon.</Abstract>
      <SRS>EPSG:42304 EPSG:42101 EPSG:4269 EPSG:4326 EPSG:4267 latlong</SRS>
      <FormatList>
        <Format current="1">image/gif</Format>
        <Format>image/png</Format>
        <Format>image/jpeg</Format>
        <Format>image/wbmp</Format>
        <Format>text/html</Format>
        <Format>image/tiff</Format>
      </FormatList>
 <dataURL>
   <OnlineResource xlink:type="simple" xlink:href=" http://wms1.agr.gc.ca/cgi-bin/soil/ns/pockwock?mode=legend&layer=order_dom"/>
 </dataURL>
      <StyleList>
      </StyleList>
    </Layer>

>>> pagameba@magma.ca 12/01/03 10:30AM >>>
Debbie,

you raise a good issue relating to legends and how MapServer handles (or
doesn't) handle them.

I just checked with Assefa and there is no support in MapServer for
DataURL via metadata.  By this, I mean that setting a metadata item for
wms_dataurl will not result in the dataurl appearing in either the WMS
capabilities.  What is a bit confusing is that it is handled in Context
documents (or at least it should be).  By this, I mean that when you
load a context file, mapserver will create a wms_dataurl metadata (if
necessary), and when you save a context, it should read the wms_dataurl
metadata and include it in the context.  It is not clear to me if this
is not working for you, or if you are trying to get it to work with the
WMS server (which it won't yet).

As an aside, you mentioned that this is a work around :)  The SLD
support being added into MapServer WMS will include GetLegendGraphic
requests as well.  How this will be implemented is not yet clear to me,
but I am expecting that legend graphic url information will be
propogated to the WMS capabilities document will include a
GetLegendGraphic request.  This may be driven by metadata, or
automatically generated, or a combination of the two.

I would also like to see WMS client support for this in MapServer, so
that if you are working with WMS layers in a mapfile (as is the case
with CWC2), you could use the standard MapServer legend functionality
and it would trigger a call to get the graphic associated with a WMS
layer (as defined from capabilities or context), this would have to be
driven by metadata.  There is already a preliminary implementation of
this for legend icon information coming from contexts, I believe the
metadata entry ends up being four space separated values as in: "<mime
type> <width> <height> <url>"

Supporting legend graphics doesn't seem to be too difficult, but there
are many issues surrounding it because of the interconnection between
the various specs, including WMC, WMS, and SLD (getting a legend graphic
should take into account any applied SLD).  There is also an issue with
classes on layers, I don't know how that is handled (but I think there
is a way).

Cheers,

Paul


Debbie Pagurek wrote:

> Hi all,
> I'm using a CWC installation, and am trying to work around the ongoing
> legend issue.  I notice that when you add a wms layer to CWC, and you
> click on the layer link, it opens up a box that shows "dataURL".  I
> would like to try to use this for my legend url, by putting a mapserver
> mode=legend url in there, as in:
> http://wms1.agr.gc.ca/cgi-bin/soil/ns/pockwock?mode=legend&layer=kind_dom
>
> Question is, where do I put this data url in the mapfile so that it
> will appear in the CWC dataURL part?  I tried to put it in the metadata
> section of the layer under "wms_dataurl" but that doesn't seem to work?
>
> Can anyone help?
> Debbie Pagurek
>
> Debbie Pagurek, M.Sc.
> GIS and Remote Sensing Analyst / Télédétection, SIG
> Research Branch / D.G. Recherche
> Agriculture and Agri-Food Canada / Agriculture et Agroalimentaire
> Canada
> Telephone / Téléphone: 613-759-1543
> Facsimile / Télécopieur: 613-759-1937
> 960 Carling Avenue
> Ottawa, Ontario
> K1A 0C6
> pagurekd@agr.gc.ca
>
> _______________________________________________
> Chameleon mailing list
> Chameleon@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
>

--
  -----------------------------------------------------------------
|Paul Spencer                           spencer@dmsolutions.ca    |
|-----------------------------------------------------------------|
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
  -----------------------------------------------------------------


--=_3F61C114.F899DF6A-- From thowlett@whistlermuseum.org Thu Dec 4 15:35:11 2003 Received: from smtp.inetwave.com (smtp1000.radiant.net [216.21.149.210]) by www.maptools.org (8.12.5/8.12.5) with SMTP id hB4KZA8o010439 for ; Thu, 4 Dec 2003 15:35:10 -0500 Message-Id: <200312042035.hB4KZA8o010439@www.maptools.org> Received: (qmail 10185 invoked from network); 4 Dec 2003 20:26:54 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp1000.radiant.net with SMTP; 4 Dec 2003 20:26:54 -0000 Reply-To: From: "Tracy Howlett" To: Date: Thu, 4 Dec 2003 12:34:59 -0800 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01C3BA63.07FC26C0" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcO6phYAY/n6Ynm8Q6eFoDEc5RzIWA== Subject: [Chameleon] Newbie Startup Question Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C3BA63.07FC26C0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, I'm a complete beginner with all things MapServer/MapScript/PHP related so please bare with me. I've had MapServer 3.6 running for a couple of weeks with no trouble. It was recommended to me that I upgrade and install Chameleon for some enhanced features. I have installed MapServer 4.0.1 and PHP 4.3.4 and both seem to be working fine. I am, however, having trouble with the Chameleon install. I'm sure that the problem is with the paths I've set in the config file. When I try to open http://localhost/cwc2/chameleon.php I get a blank page. When I try to open http://localhost/cwc2/demo.php I get a page not found error. Should I be putting absolute or relative paths in my config file? Is there something I'm missing? I don't have wmsparse.exe installed because despite all documentation to the contrary, it was not included in my installation package and I haven't installed the GDAL component. I'd appreciate any help that anyone might be able to offer. I've done a lot of searching for help in the documentation but a lot of it seems incomplete. Perhaps I'm looking in the wrong place. Thanks, Tracy Howlett ------=_NextPart_000_0007_01C3BA63.07FC26C0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

I’m a complete beginner with all things MapServer/MapScript/PHP related so please bare with = me.

 

I’ve had MapServer 3.6 running for a couple of = weeks with no trouble.  It was recommended to me that I upgrade and = install Chameleon for some enhanced features.  I have installed MapServer = 4.0.1 and PHP 4.3.4 and both seem to be working fine.  I am, however, having = trouble with the Chameleon install.  I’m sure that the problem is = with the paths I’ve set in the config file.  When I try to open http://localhost/cwc2/chamel= eon.php I get a blank page.  When I try to open http://localhost/cwc2/demo.php I get a page not found error.  Should I be putting absolute or relative = paths in my config file?  Is there something I’m missing?  I = don’t have wmsparse.exe installed because despite all documentation to the = contrary, it was not included in my installation package and I haven’t = installed the GDAL component.

 

I’d appreciate any help that anyone might be = able to offer.  I’ve done a lot of searching for help in the = documentation but a lot of it seems incomplete.  Perhaps I’m looking in the = wrong place.

 

Thanks,

 

Tracy = Howlett

------=_NextPart_000_0007_01C3BA63.07FC26C0-- From thowlett@whistlermuseum.org Thu Dec 4 17:45:03 2003 Received: from smtp.inetwave.com (smtp1000.radiant.net [216.21.149.210]) by www.maptools.org (8.12.5/8.12.5) with SMTP id hB4Mj38o010899 for ; Thu, 4 Dec 2003 17:45:03 -0500 Message-Id: <200312042245.hB4Mj38o010899@www.maptools.org> Received: (qmail 10515 invoked from network); 4 Dec 2003 22:36:50 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp1000.radiant.net with SMTP; 4 Dec 2003 22:36:50 -0000 Reply-To: From: "Tracy Howlett" To: Date: Thu, 4 Dec 2003 14:44:55 -0800 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0000_01C3BA75.2EEBC850" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcO6uDzJFDQPSMNmTMSgxa9Zn0NVjQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: [Chameleon] Chameleon Sample Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0000_01C3BA75.2EEBC850 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello List: I just found this post in the archive but it appears to have no answer. I'm having the exact same problem. Did this ever get resolved? Can anyone offer any advice. The error that I get when I try to load the index.phtml varies depending on which path I use in the html script however in all cases I get an 'invalid map file' error. Cwc2 is installed in c:\apps\ and so is chameleon_sample. Thanks , Tracy Howlett Daniel Morissette morissette@dmsolutions.ca Wed, 19 Nov 2003 19:38:16 -0500 * Previous message: [Chameleon] CWC2 Training Course Pre-package * Next message: [Chameleon] problem in HelpWidget.widget.php * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] _____ Ryan Belcher wrote: > I'm having a little trouble setting up the latest Chameleon from the > website. If I go to /htdocs_admin/index.phtml I have green checks on > everything except for a few optional image types. However, if I go to > /htdocs_admin/info.phtml I get MapScript Not Found - configuration problem? > and red X's on Mapscript and all images. Does anyone know what info.phtml > does differently? I know that php can load the php_mapscript_40.so > > When I try to load the sample application I get ERROR: Invalid map file > file, then the path to the map file which is correct. Trying to run > chameleon.php in the htdocs directory yields a blank page. Any ideas on > where I need to start troubleshooting. > > Thanks, > > Ryan > > > ------=_NextPart_000_0000_01C3BA75.2EEBC850 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello List:

 

I just found this post in the archive but it = appears to have no answer.  I’m having the exact same problem.  = Did this ever get resolved?  Can anyone offer any advice.  The error = that I get when I try to load the index.phtml varies depending on which path = I use in the html script however in all cases I get an ‘invalid map = file’ error.  Cwc2 is installed in c:\apps\ and so is = chameleon_sample.

 

Thanks ,

 

Tracy Howlett

 

Daniel Morissette = morissette@dmsolutions.ca
Wed, 19 Nov 2003 19:38:16 = -0500

3D"*"       Previous message: [Chameleon] CWC2 Training Course Pre-package =

3D"*"       Next message: [Chameleon] problem in HelpWidget.widget.php =

3D"*"       Messages = sorted by: [ date ] [ thread ] [ subject ] [ author ]


Ryan Belcher =
wrote:
> I'm having a little trouble setting up the =
latest Chameleon from =
the
> website.  If I go to =
/htdocs_admin/index.phtml I have green checks =
on
> everything except for a few optional image =
types.  However, if I go =
to
> /htdocs_admin/info.phtml I get MapScript =
Not Found - configuration =
problem?
> and red X's on Mapscript and all =
images.  Does anyone know what =
info.phtml
> does differently?  I know that php can =
load the =
php_mapscript_40.so
> =
> When I try to load the sample application I =
get ERROR: Invalid map =
file
> file, then the path to the map file which =
is correct.  Trying to =
run
> chameleon.php in the htdocs directory =
yields a blank page.  Any ideas =
on
> where I need to start =
troubleshooting.
> =
> =
Thanks,
> =
> =
Ryan
> =
> =
> 

 

------=_NextPart_000_0000_01C3BA75.2EEBC850-- From ryan.belcher@mma1.com Thu Dec 4 17:46:43 2003 Received: from mail.mma1.com (mail.mma1.com [65.168.117.135]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hB4Mkg8o010919 for ; Thu, 4 Dec 2003 17:46:43 -0500 Received: from ryanb (porky.mma1.com [65.168.117.131]) by mail.mma1.com (Postfix on SuSE Linux eMail Server 3.1) with ESMTP id EEEA99F00C1; Thu, 4 Dec 2003 17:54:22 -0500 (EST) From: "Ryan Belcher" To: , Subject: RE: [Chameleon] Newbie Startup Question Date: Thu, 4 Dec 2003 17:47:18 -0500 Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00B5_01C3BA8E.A96B9BF0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <200312042035.hB4KZA8o010439@www.maptools.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_00B5_01C3BA8E.A96B9BF0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I had the same problem when I was first trying to get chameleon running. If you look at demo.php, it's just a redirect to cwc2.php which doesn't come with chameleon 1.1.x and I think that's why you're getting the page not found error. What you need to do is download the sample application and install it right along with chameleon. Then you will probably need to edit index.phtml in htdocs and correct the paths to chameleon.php and your map file. Then try to load index.phtml I think that was all I had to do besides correcting paths in my config file. Be sure to check the error log of your web server for more information on any errors you are getting. Hope that helps. Ryan -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org]On Behalf Of Tracy Howlett Sent: Thursday, December 04, 2003 3:35 PM To: chameleon@lists.maptools.org Subject: [Chameleon] Newbie Startup Question Hi, I'm a complete beginner with all things MapServer/MapScript/PHP related so please bare with me. I've had MapServer 3.6 running for a couple of weeks with no trouble. It was recommended to me that I upgrade and install Chameleon for some enhanced features. I have installed MapServer 4.0.1 and PHP 4.3.4 and both seem to be working fine. I am, however, having trouble with the Chameleon install. I'm sure that the problem is with the paths I've set in the config file. When I try to open http://localhost/cwc2/chameleon.php I get a blank page. When I try to open http://localhost/cwc2/demo.php I get a page not found error. Should I be putting absolute or relative paths in my config file? Is there something I'm missing? I don't have wmsparse.exe installed because despite all documentation to the contrary, it was not included in my installation package and I haven't installed the GDAL component. I'd appreciate any help that anyone might be able to offer. I've done a lot of searching for help in the documentation but a lot of it seems incomplete. Perhaps I'm looking in the wrong place. Thanks, Tracy Howlett ------=_NextPart_000_00B5_01C3BA8E.A96B9BF0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
I had=20 the same problem when I was first trying to get chameleon running.  = If you=20 look at demo.php, it's just a redirect to cwc2.php which doesn't come = with=20 chameleon 1.1.x and I think that's why you're getting the page not found = error.  What you need to do is download the sample application and = install=20 it right along with chameleon.  Then you will probably need to edit = index.phtml in htdocs and correct the paths to chameleon.php = and your map=20 file.  Then try to load index.phtml
 
I=20 think that was all I had to do besides correcting paths in my config = file. =20 Be sure to check the error log of your web server for more information = on any=20 errors you are getting.  Hope that helps.
 
Ryan
-----Original Message-----
From:=20 chameleon-admin@lists.maptools.org=20 [mailto:chameleon-admin@lists.maptools.org]On Behalf Of Tracy=20 Howlett
Sent: Thursday, December 04, 2003 3:35 = PM
To:=20 chameleon@lists.maptools.org
Subject: [Chameleon] Newbie = Startup=20 Question

Hi, =

 

I’m a complete = beginner with all=20 things MapServer/MapScript/PHP related so please bare with=20 me.

 

I’ve had MapServer = 3.6 running for=20 a couple of weeks with no trouble.  It was recommended to me that = I=20 upgrade and install Chameleon for some enhanced features.  I have = installed MapServer 4.0.1 and PHP 4.3.4 and both seem to be working=20 fine.  I am, however, having trouble with the Chameleon = install. =20 I’m sure that the problem is with the paths I’ve set in = the config file. =20 When I try to open http://localhost/cwc2/chamel= eon.php=20 I get a blank page.  When I try to open http://localhost/cwc2/demo.php I get=20 a page not found error.  Should I be putting absolute or relative = paths=20 in my config file?  Is there something I’m missing?  I = don’t have=20 wmsparse.exe installed because despite all documentation to the = contrary, it=20 was not included in my installation package and I haven’t = installed the GDAL=20 component.

 

I’d appreciate any = help that=20 anyone might be able to offer.  I’ve done a lot of = searching for help in=20 the documentation but a lot of it seems incomplete.  Perhaps = I’m looking=20 in the wrong place.

 

Thanks,

 

Tracy=20 Howlett

------=_NextPart_000_00B5_01C3BA8E.A96B9BF0-- From thowlett@whistlermuseum.org Fri Dec 5 13:26:34 2003 Received: from smtp1000.radiant.net (smtp1000.radiant.net [216.21.149.209]) by www.maptools.org (8.12.5/8.12.5) with SMTP id hB5IQX8o015620 for ; Fri, 5 Dec 2003 13:26:33 -0500 Message-Id: <200312051826.hB5IQX8o015620@www.maptools.org> Received: (qmail 14782 invoked from network); 5 Dec 2003 18:15:32 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp1000.radiant.net with SMTP; 5 Dec 2003 18:15:32 -0000 Reply-To: From: "Tracy Howlett" To: "'Ryan Belcher'" , Subject: RE: [Chameleon] Newbie Startup Question Date: Fri, 5 Dec 2003 10:26:22 -0800 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0010_01C3BB1A.3A87D4B0" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: Thread-Index: AcO7NFVIDwO+V/OWQl2Q1QC0uDQbrAAKJ8WQ Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0010_01C3BB1A.3A87D4B0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Thanks for the encouragement!! I noticed you posted a question about getting the sample app to work - did you ever get a response? I am having the exact same issue and it doesn't seem to matter what paths I put in to my phtml file I always end up with those same errors. How did you end up resolving your problems? Also - this is probably a really silly question but where can I find the web server error log? Tracy _____ From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Ryan Belcher Sent: Thursday, December 04, 2003 2:47 PM To: thowlett@whistlermuseum.org; chameleon@lists.maptools.org Subject: RE: [Chameleon] Newbie Startup Question I had the same problem when I was first trying to get chameleon running. If you look at demo.php, it's just a redirect to cwc2.php which doesn't come with chameleon 1.1.x and I think that's why you're getting the page not found error. What you need to do is download the sample application and install it right along with chameleon. Then you will probably need to edit index.phtml in htdocs and correct the paths to chameleon.php and your map file. Then try to load index.phtml I think that was all I had to do besides correcting paths in my config file. Be sure to check the error log of your web server for more information on any errors you are getting. Hope that helps. Ryan -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org]On Behalf Of Tracy Howlett Sent: Thursday, December 04, 2003 3:35 PM To: chameleon@lists.maptools.org Subject: [Chameleon] Newbie Startup Question Hi, I'm a complete beginner with all things MapServer/MapScript/PHP related so please bare with me. I've had MapServer 3.6 running for a couple of weeks with no trouble. It was recommended to me that I upgrade and install Chameleon for some enhanced features. I have installed MapServer 4.0.1 and PHP 4.3.4 and both seem to be working fine. I am, however, having trouble with the Chameleon install. I'm sure that the problem is with the paths I've set in the config file. When I try to open http://localhost/cwc2/chameleon.php I get a blank page. When I try to open http://localhost/cwc2/demo.php I get a page not found error. Should I be putting absolute or relative paths in my config file? Is there something I'm missing? I don't have wmsparse.exe installed because despite all documentation to the contrary, it was not included in my installation package and I haven't installed the GDAL component. I'd appreciate any help that anyone might be able to offer. I've done a lot of searching for help in the documentation but a lot of it seems incomplete. Perhaps I'm looking in the wrong place. Thanks, Tracy Howlett ------=_NextPart_000_0010_01C3BB1A.3A87D4B0 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

Thanks for the = encouragement!!  I noticed you posted a question about getting the sample app to work = – did you ever get a response?  I am having the exact same issue and it = doesn’t seem to matter what paths I put in to my phtml file I always end up with = those same errors.

 

How did you end up resolving your problems?

 

Also – this is probably a = really silly question but where can I find the web server error = log?

 

Tracy

 


From: chameleon-admin@lists.maptools.org = [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Ryan Belcher
Sent: Thursday, December = 04, 2003 2:47 PM
To: thowlett@whistlermuseum.org; chameleon@lists.maptools.org
Subject: RE: [Chameleon] = Newbie Startup Question

 

I had the same problem when I was = first trying to get chameleon running.  If you look at demo.php, it's = just a redirect to cwc2.php which doesn't come with chameleon 1.1.x and I think = that's why you're getting the page not found error.  What you need to do = is download the sample application and install it right along with chameleon.  Then you will probably need to edit index.phtml in = htdocs and correct the paths to chameleon.php and your map file.  Then = try to load index.phtml

 

I think that was all I had to do = besides correcting paths in my config file.  Be sure to check the error log = of your web server for more information on any errors you are = getting.  Hope that helps.

 

Ryan

-----Original = Message-----
From: = chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org]On Behalf Of Tracy = Howlett
Sent: Thursday, December = 04, 2003 3:35 PM
To: chameleon@lists.maptools.org
Subject: [Chameleon] = Newbie Startup Question

Hi,

 

I’m a complete beginner with all things = MapServer/MapScript/PHP related so please bare with me.

 

I’ve had MapServer 3.6 running for a couple of = weeks with no trouble.  It was recommended to me that I upgrade and = install Chameleon for some enhanced features.  I have installed MapServer = 4.0.1 and PHP 4.3.4 and both seem to be working fine.  I am, however, = having trouble with the Chameleon install.  I’m sure that the = problem is with the paths I’ve set in the config file.  When I try to = open http://localhost/cwc2/chamel= eon.php I get a blank page.  When I try to open http://localhost/cwc2/demo.php I get a page not found error.  Should I be putting absolute or relative = paths in my config file?  Is there something I’m missing?  I = don’t have wmsparse.exe installed because despite all documentation to the = contrary, it was not included in my installation package and I haven’t = installed the GDAL component.

 

I’d appreciate any help that anyone might be = able to offer.  I’ve done a lot of searching for help in the = documentation but a lot of it seems incomplete.  Perhaps I’m looking in the = wrong place.

 

Thanks,

 

Tracy = Howlett

------=_NextPart_000_0010_01C3BB1A.3A87D4B0-- From pagameba@magma.ca Fri Dec 5 13:32:39 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hB5IWd8o015655 for ; Fri, 5 Dec 2003 13:32:39 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca Magma's Mail Server with ESMTP id hB5IWdJV019780; Fri, 5 Dec 2003 13:32:39 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id hB5IWRLC028140; Fri, 5 Dec 2003 13:32:38 -0500 Message-ID: <3FD0CF30.5080009@magma.ca> Date: Fri, 05 Dec 2003 13:32:16 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: thowlett@whistlermuseum.org CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Newbie Startup Question References: <200312051826.hB5IQX8o015620@www.maptools.org> In-Reply-To: <200312051826.hB5IQX8o015620@www.maptools.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Tracy, what platform are you running on (windows/linux) and web server? Cheers, Paul Tracy Howlett wrote: > Thanks for the encouragement!! I noticed you posted a question about > getting the sample app to work – did you ever get a response? I am > having the exact same issue and it doesn’t seem to matter what paths I > put in to my phtml file I always end up with those same errors. > > > > How did you end up resolving your problems? > > > > Also – this is probably a really silly question but where can I find the > web server error log? > > > > Tracy > > > > ------------------------------------------------------------------------ > > *From:* chameleon-admin@lists.maptools.org > [mailto:chameleon-admin@lists.maptools.org] *On Behalf Of *Ryan Belcher > *Sent:* Thursday, December 04, 2003 2:47 PM > *To:* thowlett@whistlermuseum.org; chameleon@lists.maptools.org > *Subject:* RE: [Chameleon] Newbie Startup Question > > > > I had the same problem when I was first trying to get chameleon > running. If you look at demo.php, it's just a redirect to cwc2.php > which doesn't come with chameleon 1.1.x and I think that's why you're > getting the page not found error. What you need to do is download the > sample application and install it right along with chameleon. Then you > will probably need to edit index.phtml in htdocs and correct the paths > to chameleon.php and your map file. Then try to load index.phtml > > > > I think that was all I had to do besides correcting paths in my config > file. Be sure to check the error log of your web server for more > information on any errors you are getting. Hope that helps. > > > > Ryan > > -----Original Message----- > *From:* chameleon-admin@lists.maptools.org > [mailto:chameleon-admin@lists.maptools.org]*On Behalf Of *Tracy Howlett > *Sent:* Thursday, December 04, 2003 3:35 PM > *To:* chameleon@lists.maptools.org > *Subject:* [Chameleon] Newbie Startup Question > > Hi, > > > > I’m a complete beginner with all things MapServer/MapScript/PHP > related so please bare with me. > > > > I’ve had MapServer 3.6 running for a couple of weeks with no > trouble. It was recommended to me that I upgrade and install > Chameleon for some enhanced features. I have installed MapServer > 4.0.1 and PHP 4.3.4 and both seem to be working fine. I am, > however, having trouble with the Chameleon install. I’m sure that > the problem is with the paths I’ve set in the config file. When I > try to open http://localhost/cwc2/chameleon.php I get a blank page. > When I try to open http://localhost/cwc2/demo.php I get a page not > found error. Should I be putting absolute or relative paths in my > config file? Is there something I’m missing? I don’t have > wmsparse.exe installed because despite all documentation to the > contrary, it was not included in my installation package and I > haven’t installed the GDAL component. > > > > I’d appreciate any help that anyone might be able to offer. I’ve > done a lot of searching for help in the documentation but a lot of > it seems incomplete. Perhaps I’m looking in the wrong place. > > > > Thanks, > > > > Tracy Howlett > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From thowlett@whistlermuseum.org Fri Dec 5 14:09:08 2003 Received: from smtp1000.radiant.net (smtp1000.radiant.net [216.21.149.209]) by www.maptools.org (8.12.5/8.12.5) with SMTP id hB5J988o015913 for ; Fri, 5 Dec 2003 14:09:08 -0500 Message-Id: <200312051909.hB5J988o015913@www.maptools.org> Received: (qmail 2766 invoked from network); 5 Dec 2003 18:58:10 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp1000.radiant.net with SMTP; 5 Dec 2003 18:58:10 -0000 Reply-To: From: "Tracy Howlett" To: Cc: Subject: RE: [Chameleon] Newbie Startup Question Date: Fri, 5 Dec 2003 11:08:57 -0800 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <3FD0CF30.5080009@magma.ca> Thread-Index: AcO7XilBTIegTnY/TFeqOnigIsWtHwABOIdg Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Windows XP with IIS -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: Friday, December 05, 2003 10:32 AM To: thowlett@whistlermuseum.org Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Newbie Startup Question Tracy, what platform are you running on (windows/linux) and web server? Cheers, Paul Tracy Howlett wrote: > Thanks for the encouragement!! I noticed you posted a question about > getting the sample app to work - did you ever get a response? I am > having the exact same issue and it doesn't seem to matter what paths I > put in to my phtml file I always end up with those same errors. > > > > How did you end up resolving your problems? > > > > Also - this is probably a really silly question but where can I find the > web server error log? > > > > Tracy > > > > ------------------------------------------------------------------------ > > *From:* chameleon-admin@lists.maptools.org > [mailto:chameleon-admin@lists.maptools.org] *On Behalf Of *Ryan Belcher > *Sent:* Thursday, December 04, 2003 2:47 PM > *To:* thowlett@whistlermuseum.org; chameleon@lists.maptools.org > *Subject:* RE: [Chameleon] Newbie Startup Question > > > > I had the same problem when I was first trying to get chameleon > running. If you look at demo.php, it's just a redirect to cwc2.php > which doesn't come with chameleon 1.1.x and I think that's why you're > getting the page not found error. What you need to do is download the > sample application and install it right along with chameleon. Then you > will probably need to edit index.phtml in htdocs and correct the paths > to chameleon.php and your map file. Then try to load index.phtml > > > > I think that was all I had to do besides correcting paths in my config > file. Be sure to check the error log of your web server for more > information on any errors you are getting. Hope that helps. > > > > Ryan > > -----Original Message----- > *From:* chameleon-admin@lists.maptools.org > [mailto:chameleon-admin@lists.maptools.org]*On Behalf Of *Tracy Howlett > *Sent:* Thursday, December 04, 2003 3:35 PM > *To:* chameleon@lists.maptools.org > *Subject:* [Chameleon] Newbie Startup Question > > Hi, > > > > I'm a complete beginner with all things MapServer/MapScript/PHP > related so please bare with me. > > > > I've had MapServer 3.6 running for a couple of weeks with no > trouble. It was recommended to me that I upgrade and install > Chameleon for some enhanced features. I have installed MapServer > 4.0.1 and PHP 4.3.4 and both seem to be working fine. I am, > however, having trouble with the Chameleon install. I'm sure that > the problem is with the paths I've set in the config file. When I > try to open http://localhost/cwc2/chameleon.php I get a blank page. > When I try to open http://localhost/cwc2/demo.php I get a page not > found error. Should I be putting absolute or relative paths in my > config file? Is there something I'm missing? I don't have > wmsparse.exe installed because despite all documentation to the > contrary, it was not included in my installation package and I > haven't installed the GDAL component. > > > > I'd appreciate any help that anyone might be able to offer. I've > done a lot of searching for help in the documentation but a lot of > it seems incomplete. Perhaps I'm looking in the wrong place. > > > > Thanks, > > > > Tracy Howlett > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From thowlett@whistlermuseum.org Sat Dec 6 16:16:12 2003 Received: from smtp1000.radiant.net (smtp1000.radiant.net [216.21.149.209]) by www.maptools.org (8.12.5/8.12.5) with SMTP id hB6LGB8o022833 for ; Sat, 6 Dec 2003 16:16:12 -0500 Message-Id: <200312062116.hB6LGB8o022833@www.maptools.org> Received: (qmail 22248 invoked from network); 6 Dec 2003 21:05:12 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp1000.radiant.net with SMTP; 6 Dec 2003 21:05:12 -0000 Reply-To: From: "Tracy Howlett" To: Date: Sat, 6 Dec 2003 13:15:58 -0800 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcO6o3KBQzZ8fvBrRX2FaSaWUj7FoQBmdPEAAAATq6A= Subject: [Chameleon] FW: Welcome to the "Chameleon" mailing list Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Can anyone tell me what this error means? PHP Warning: [MapServer Error]: msProcessProjection(): no system list I've got Proj4 loaded into my C:\PROJ directory and I've updated the epsg file as instructed in another thread. Is there something I need to change in a configuration file somewhere? Tracy From pagameba@magma.ca Sat Dec 6 17:27:58 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hB6MRv8o023182 for ; Sat, 6 Dec 2003 17:27:58 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id hB6MRvGV023528; Sat, 6 Dec 2003 17:27:57 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id hB6MRqgi023921; Sat, 6 Dec 2003 17:27:57 -0500 Message-ID: <3FD257DB.9050206@magma.ca> Date: Sat, 06 Dec 2003 17:27:39 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: thowlett@whistlermuseum.org CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] FW: Welcome to the "Chameleon" mailing list References: <200312062116.hB6LGB8o022833@www.maptools.org> In-Reply-To: <200312062116.hB6LGB8o022833@www.maptools.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Tracy, this means that mapserver cannot find proj definitions for the projection you have named. This may be because: 1. the projection you typed in is incorrect (ie 43204 instead of 42034) 2. the system cannot find the epsg file. This may mean that it needs to go in a "nad" subdirectory of c:\proj Check 1. and then try 2. :) Cheers, Paul Tracy Howlett wrote: > Can anyone tell me what this error means? > > PHP Warning: [MapServer Error]: msProcessProjection(): no system list > > I've got Proj4 loaded into my C:\PROJ directory and I've updated the epsg > file as instructed in another thread. Is there something I need to change > in a configuration file somewhere? > > Tracy > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From bartvde@xs4all.nl Sun Dec 7 08:45:53 2003 Received: from smtpzilla2.xs4all.nl (smtpzilla2.xs4all.nl [194.109.127.138]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hB7Djp8o032539 for ; Sun, 7 Dec 2003 08:45:53 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla2.xs4all.nl (8.12.9/8.12.9) with ESMTP id hB7Dji56010783 for ; Sun, 7 Dec 2003 14:45:50 +0100 (CET) Reply-To: bartvde@xs4all.nl To: "chameleon@lists.maptools.org" From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Sun, 07 Dec 2003 14:44:02 +0100 Message-ID: User-Agent: Opera7.22/Win32 M2 build 3221 Subject: [Chameleon] ROI tool changes clipboard behaviour? Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, I have noticed that the ROI tool changes the clipboard behaviour in Chameleon. When there is no ROI tool in the template, clipboard (i.e. save image as) functionality works. When there is a ROI tool, the image that gets saved is an empty image. If somebody draws a ROI then this ROI is in the saved image. Is there anything possible that could prevent the clipboard functionality from getting broken when using ROI? Best regards, Bart From godwinl@agr.gc.ca Mon Dec 8 13:07:25 2003 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hB8I7M8o007492 for ; Mon, 8 Dec 2003 13:07:25 -0500 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id hB8Hrfhg027263 for ; Mon, 8 Dec 2003 12:53:41 -0500 Received: from ncrxem6 ([10.117.15.110]) by agrin1.agr.gc.ca (8.11.6/8.11.6) with SMTP id hB8I6t904133 for ; Mon, 8 Dec 2003 13:06:55 -0500 Received: From agr.gc.ca ([10.117.15.106]) by ncrxem6 (WebShield SMTP v4.5 MR1a); id 1070907017906; Mon, 8 Dec 2003 13:10:17 -0500 Received: from AGCAN-MTA by agr.gc.ca with Novell_GroupWise; Mon, 08 Dec 2003 13:06:54 -0500 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.2 Date: Mon, 08 Dec 2003 13:06:49 -0500 From: "Liz Godwin" To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [Chameleon] PHP Mapscript and Chameleon Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I would like to know the extent to which I can use PHP / Mapscript with Chameleon while avoiding making a new widget. Has anyone done this, or know about it? I talked briefly with Tom Kralidis about this, and he said that I could use a php file as a template if I reference it http://path/template.php, because the php would be interpreted by the server before being passsed to Chameleon. However, can I send this template requests stored in form variables much the same way I would with a normal self processing php page? How does that interfere with Chameleon? Why do I want to do this? There are some things I want to do, or may want to do, that are not written into widgets, and that I may not want to write into a widget. I'm still exploring my options, this is just part of it. I have some dynamic layers, special query templates, and HTML legends. Cheers, Liz From nicolas.fortin@ec.gc.ca Tue Dec 9 09:36:28 2003 Received: from ecstfexch00.quebec.int.ec.gc.ca (fwstl1-1.wul.qc.ec.gc.ca [205.211.132.24]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hB9EaQ8o013154 for ; Tue, 9 Dec 2003 09:36:27 -0500 Received: by ecstfexch00.quebec.int.ec.gc.ca with Internet Mail Service (5.5.2653.19) id ; Tue, 9 Dec 2003 09:36:11 -0500 Message-ID: From: nicolas.fortin@ec.gc.ca To: chameleon@lists.maptools.org Date: Tue, 9 Dec 2003 09:34:35 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C3BE61.916DC060" Subject: [Chameleon] Chameleon with Windows 2k and IIS Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C3BE61.916DC060 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi list, =20 I'm using Mapserver for some time now and want to add Chameleon to get = more functionnality. I'm using Windows 2000 SP4 with IIS. =20 Unfortunately, there's no doc about installing chameleon on Windows = platform with IIS with all steps. =20 First I manually installed PHP in C:\PHP\ successfully. Then I installed the PHP Mapscript extensions. I tested with and saw the PHP Mapscript extensions. Last I installed Chameleon 1.0.4 in C:\cwc2\ and made a virtual = directory from IIS that point to C:\cwc2\htdocs I made the C:\cwc2 dir readable-writable by IUSR_ I made some change to the C:\cwc2\config\cwc2.xml file but I don't know = if the paths in there are absolute or relative and if relative...to what? =20 If I try this : = http://localhost/cwc2/cwc2.php?TEMPLATE=3Dcwc2/demo.html &CONTEXT=3Dcwc2/gmap_context.xml I got: FATAL ERROR: Session save path (/tmp) doesn't exist or is not writable Notice: Undefined index: gszSessId in C:\cwc2\htdocs\common\session\session.php on line 135 PHP: Error parsing C:\winnt\system32\inetsrv\browscap.ini on line 1169 = PHP Notice: Undefined index: gszSessId in C:\cwc2\htdocs\common\session\session.php on line 135=20 =20 I have a writable tmp dir at the root of IIS. Line 1167-1170 of browscap.ini: [Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461)] parent=3DIE 5.5 platform=3DWindows 2000 (T312461) beta=3DFalse =20 1) What do I have to do to set up Chameleon correctly for Windows/IIS ? 2) I used Mapserver with Oracle 9.2. There's no INPUT=3DORACLESPATIAL = for the version of Mapserver Mapscript use. Do Mapscript has a precompiled = version of Mapserver or it will use the version I already have? =20 Thx a lot, Nicolas Fortin=20 Math=E9maticien, Programmeur, Analyste de donn=E9es=20 SMC-Qu=E9bec Hydrologie, Environnement Canada=20 1141, Rte de l'=C9glise, Sainte-Foy(QC) G1V 4H5=20 (418)648-2516=20 nicolas.fortin@ec.gc.ca >=20 =20 ------_=_NextPart_001_01C3BE61.916DC060 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message
Hi=20 list,
 
I'm = using Mapserver=20 for some time now and want to add Chameleon to get more = functionnality. =20 I'm using Windows 2000 SP4 with IIS.
 
Unfortunately,=20 there's no doc about installing chameleon on Windows platform with IIS = with all=20 steps.
 
First = I manually=20 installed PHP in C:\PHP\ successfully.
Then = I installed the=20 PHP Mapscript extensions. I tested with <?php phpinfo();?> and = saw the PHP=20 Mapscript extensions.
Last I=20 installed Chameleon 1.0.4 in C:\cwc2\ and made a virtual directory from IIS that = point to=20 C:\cwc2\htdocs
I made the=20 C:\cwc2 dir readable-writable by IUSR_
I made some=20 change to the C:\cwc2\config\cwc2.xml file but I don't know if the = paths in=20 there are absolute or relative and if relative...to=20 what?
 
I=20 got:
FATAL = ERROR:=20 Session save path (/tmp) doesn't exist or is not=20 writable
Notice: Undefined index: gszSessId in=20 C:\cwc2\htdocs\common\session\session.php on line = 135
PHP:=20 Error parsing C:\winnt\system32\inetsrv\browscap.ini on line 1169 PHP = Notice:=20 Undefined index: gszSessId in C:\cwc2\htdocs\common\session\session.php = on line=20 135
 
I = have a writable=20 tmp dir at the root of IIS.
Line = 1167-1170 of=20 browscap.ini:
  [Mozilla/4.0=20 (compatible; MSIE 5.5; Windows NT 5.0; T312461)]
  parent=3DIE=20 5.5
  platform=3DWindows 2000 (T312461)
 =20 beta=3DFalse
 
1) = What do I have to=20 do to set up Chameleon correctly for Windows/IIS ?
2) I = used Mapserver=20 with Oracle 9.2.  There's no INPUT=3DORACLESPATIAL for the version = of=20 Mapserver Mapscript use.  Do Mapscript has a precompiled version = of=20 Mapserver or it will use the version I already = have?
 
Thx a = lot,

Nicolas=20 Fortin
Math=E9maticien,=20 Programmeur, Analyste de donn=E9es
SMC-Qu=E9bec Hydrologie, Environnement Canada =
1141, Rte de l'=C9glise, Sainte-Foy(QC) G1V = 4H5
=20
(418)648-2516 =
nicolas.fortin@ec.gc.ca <mailto:nicolas.fortin@ec.gc.ca>=20

 
------_=_NextPart_001_01C3BE61.916DC060-- From bartvde@xs4all.nl Tue Dec 9 10:33:25 2003 Received: from smtpzilla3.xs4all.nl (smtpzilla3.xs4all.nl [194.109.127.139]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hB9FXO8o013568 for ; Tue, 9 Dec 2003 10:33:25 -0500 Received: from webmail.xs4all.nl (webmail8.xs4all.nl [194.109.127.33]) by smtpzilla3.xs4all.nl (8.12.9/8.12.9) with SMTP id hB9FXCtp012057; Tue, 9 Dec 2003 16:33:13 +0100 (CET) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Tue, 9 Dec 2003 16:33:18 +0100 (CET) Message-ID: <15323.212.238.227.182.1070983998.squirrel@webmail.xs4all.nl> In-Reply-To: References: Date: Tue, 9 Dec 2003 16:33:18 +0100 (CET) Subject: Re: [Chameleon] Chameleon with Windows 2k and IIS From: bartvde@xs4all.nl To: nicolas.fortin@ec.gc.ca Cc: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Nicolas, I can give some brief answers, but for more elaborate ones you will need input from the guys at DmSolutions. I can tell you what needs to be done in Apache, and perhaps you are able to translate this to IIS. ---- In httpd.conf from Apache: Alias /ms_tmp/ /ms4w/tmp/ms_tmp/ SetEnv PROJ_LIB /ms4w/proj/nad/ For PHP Chameleon "needs" the following: session.save_path = /ms4w/tmp ---- Is there a specific reason why you are using the 1.0.4 version? The 1.0 version will be deprecated in time and the 1.1 version is the one to go with. Although it is alpha, the core is pretty stable. I would recommend installing MS4W (with Apache and PHP preconfigured), then see how everything functions, and map this to IIS. -MS4W -latest Chameleon 1.1 alpha as an MS4W package -Chameleon sample application With regard to the Mapscript binaries with Oracle. The binaries for Mapserver which have Oracle Spatial support are built by somebody at the University of Minnesota. The PHP Mapscript are built by DmSolutions, and they don't provide one with Oracle Spatial support as far as I know. But you can always use the principle of Cascading WMS to have the mapserv.exe serve the Oracle Spatial data. Hope this is of some help. Best regards, Bart > Hi list, > > I'm using Mapserver for some time now and want to add Chameleon to get > more > functionnality. I'm using Windows 2000 SP4 with IIS. > > Unfortunately, there's no doc about installing chameleon on Windows > platform > with IIS with all steps. > > First I manually installed PHP in C:\PHP\ successfully. > Then I installed the PHP Mapscript extensions. I tested with phpinfo();?> and saw the PHP Mapscript extensions. > Last I installed Chameleon 1.0.4 in C:\cwc2\ and made a virtual directory > from IIS that point to C:\cwc2\htdocs > I made the C:\cwc2 dir readable-writable by IUSR_ > I made some change to the C:\cwc2\config\cwc2.xml file but I don't know if > the paths in there are absolute or relative and if relative...to what? > > If I try this : http://localhost/cwc2/cwc2.php?TEMPLATE=cwc2/demo.html > ntext.xml> &CONTEXT=cwc2/gmap_context.xml > I got: > FATAL ERROR: Session save path (/tmp) doesn't exist or is not writable > Notice: Undefined index: gszSessId in > C:\cwc2\htdocs\common\session\session.php on line 135 > PHP: Error parsing C:\winnt\system32\inetsrv\browscap.ini on line 1169 PHP > Notice: Undefined index: gszSessId in > C:\cwc2\htdocs\common\session\session.php on line 135 > > I have a writable tmp dir at the root of IIS. > Line 1167-1170 of browscap.ini: > [Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461)] > parent=IE 5.5 > platform=Windows 2000 (T312461) > beta=False > > > 1) What do I have to do to set up Chameleon correctly for Windows/IIS ? > 2) I used Mapserver with Oracle 9.2. There's no INPUT=ORACLESPATIAL for > the > version of Mapserver Mapscript use. Do Mapscript has a precompiled > version > of Mapserver or it will use the version I already have? > > Thx a lot, > > Nicolas Fortin > Mathématicien, Programmeur, Analyste de données > SMC-Québec Hydrologie, Environnement Canada > 1141, Rte de l'Église, Sainte-Foy(QC) G1V 4H5 > (418)648-2516 > nicolas.fortin@ec.gc.ca > > > > From nicolas.fortin@ec.gc.ca Tue Dec 9 11:18:04 2003 Received: from ecstfexch00.quebec.int.ec.gc.ca (fwstl1-1.wul.qc.ec.gc.ca [205.211.132.24]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hB9GI28o013972 for ; Tue, 9 Dec 2003 11:18:03 -0500 Received: by ecstfexch00.quebec.int.ec.gc.ca with Internet Mail Service (5.5.2653.19) id ; Tue, 9 Dec 2003 11:17:48 -0500 Message-ID: From: nicolas.fortin@ec.gc.ca To: bartvde@xs4all.nl Cc: chameleon@lists.maptools.org Subject: RE : [Chameleon] Chameleon with Windows 2k and IIS Date: Tue, 9 Dec 2003 11:16:12 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id hB9GI28o013972 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Bart, Thx for your fast answer! Unfortunately, I have to work with IIS only but I got it to work now! The /tmp was refering to the session.save_path in the php.ini file I comment all the (...) in the browscap.ini I change some path in the cwc2.xml And now the demo works :) Nicolas -----Message d'origine----- De : bartvde@xs4all.nl [mailto:bartvde@xs4all.nl] Envoyé : Tuesday, December 09, 2003 10:33 AM À : nicolas.fortin@ec.gc.ca Cc : chameleon@lists.maptools.org Objet : Re: [Chameleon] Chameleon with Windows 2k and IIS Hi Nicolas, I can give some brief answers, but for more elaborate ones you will need input from the guys at DmSolutions. I can tell you what needs to be done in Apache, and perhaps you are able to translate this to IIS. ---- In httpd.conf from Apache: Alias /ms_tmp/ /ms4w/tmp/ms_tmp/ SetEnv PROJ_LIB /ms4w/proj/nad/ For PHP Chameleon "needs" the following: session.save_path = /ms4w/tmp ---- Is there a specific reason why you are using the 1.0.4 version? The 1.0 version will be deprecated in time and the 1.1 version is the one to go with. Although it is alpha, the core is pretty stable. I would recommend installing MS4W (with Apache and PHP preconfigured), then see how everything functions, and map this to IIS. -MS4W -latest Chameleon 1.1 alpha as an MS4W package -Chameleon sample application With regard to the Mapscript binaries with Oracle. The binaries for Mapserver which have Oracle Spatial support are built by somebody at the University of Minnesota. The PHP Mapscript are built by DmSolutions, and they don't provide one with Oracle Spatial support as far as I know. But you can always use the principle of Cascading WMS to have the mapserv.exe serve the Oracle Spatial data. Hope this is of some help. Best regards, Bart > Hi list, > > I'm using Mapserver for some time now and want to add Chameleon to get > more functionnality. I'm using Windows 2000 SP4 with IIS. > > Unfortunately, there's no doc about installing chameleon on Windows > platform with IIS with all steps. > > First I manually installed PHP in C:\PHP\ successfully. > Then I installed the PHP Mapscript extensions. I tested with phpinfo();?> and saw the PHP Mapscript extensions. Last I installed > Chameleon 1.0.4 in C:\cwc2\ and made a virtual directory from IIS that > point to C:\cwc2\htdocs I made the C:\cwc2 dir readable-writable by > IUSR_ I made some change to the C:\cwc2\config\cwc2.xml file but I > don't know if the paths in there are absolute or relative and if > relative...to what? > > If I try this : http://localhost/cwc2/cwc2.php?TEMPLATE=cwc2/demo.html > map_co > ntext.xml> &CONTEXT=cwc2/gmap_context.xml > I got: > FATAL ERROR: Session save path (/tmp) doesn't exist or is not writable > Notice: Undefined index: gszSessId in > C:\cwc2\htdocs\common\session\session.php on line 135 > PHP: Error parsing C:\winnt\system32\inetsrv\browscap.ini on line 1169 PHP > Notice: Undefined index: gszSessId in > C:\cwc2\htdocs\common\session\session.php on line 135 > > I have a writable tmp dir at the root of IIS. > Line 1167-1170 of browscap.ini: > [Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461)] > parent=IE 5.5 > platform=Windows 2000 (T312461) > beta=False > > > 1) What do I have to do to set up Chameleon correctly for Windows/IIS > ? > 2) I used Mapserver with Oracle 9.2. There's no INPUT=ORACLESPATIAL for > the > version of Mapserver Mapscript use. Do Mapscript has a precompiled > version > of Mapserver or it will use the version I already have? > > Thx a lot, > > Nicolas Fortin > Mathématicien, Programmeur, Analyste de données > SMC-Québec Hydrologie, Environnement Canada > 1141, Rte de l'Église, Sainte-Foy(QC) G1V 4H5 > (418)648-2516 > nicolas.fortin@ec.gc.ca > > > > From matt.frost@mma1.com Tue Dec 9 16:23:04 2003 Received: from mail.mma1.com (mail.mma1.com [65.168.117.135]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hB9LN38o016758 for ; Tue, 9 Dec 2003 16:23:04 -0500 Received: from mattf (porky.mma1.com [65.168.117.131]) by mail.mma1.com (Postfix on SuSE Linux eMail Server 3.1) with ESMTP id C59829F0090 for ; Tue, 9 Dec 2003 16:30:44 -0500 (EST) Message-ID: <007f01c3be9a$aa5739b0$63c809c0@mattf> From: "Matt Frost" To: References: <20031209170001.14403.37108.Mailman@www.maptools.org> Date: Tue, 9 Dec 2003 16:23:18 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: [Chameleon] XMLThemeLegend Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Is there any documentation available for the XMLThemeLegend widget? Even just the list of required arguments would be nice, but the XML file from the Hawaii demo would also help. Thanks, Matt Frost ----- Original Message ----- From: To: Sent: Tuesday, December 09, 2003 12:00 PM Subject: Chameleon digest, Vol 1 #67 - 4 msgs > Send Chameleon mailing list submissions to > chameleon@lists.maptools.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.maptools.org/mailman/listinfo/chameleon > or, via email, send a message with subject or body 'help' to > chameleon-request@lists.maptools.org > > You can reach the person managing the list at > chameleon-admin@lists.maptools.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Chameleon digest..." > > > Today's Topics: > > 1. PHP Mapscript and Chameleon (Liz Godwin) > 2. Chameleon with Windows 2k and IIS (nicolas.fortin@ec.gc.ca) > 3. Re: Chameleon with Windows 2k and IIS (bartvde@xs4all.nl) > 4. RE : [Chameleon] Chameleon with Windows 2k and IIS (nicolas.fortin@ec.gc.ca) > > --__--__-- > > Message: 1 > Date: Mon, 08 Dec 2003 13:06:49 -0500 > From: "Liz Godwin" > To: > Subject: [Chameleon] PHP Mapscript and Chameleon > > I would like to know the extent to which I can use PHP / Mapscript with > Chameleon while avoiding making a new widget. Has anyone done this, or > know about it? > > I talked briefly with Tom Kralidis about this, and he said that I could > use a php file as a template if I reference it http://path/template.php, > because the php would be interpreted by the server before being passsed > to Chameleon. > > However, can I send this template requests stored in form variables > much the same way I would with a normal self processing php page? How > does that interfere with Chameleon? > > Why do I want to do this? > > There are some things I want to do, or may want to do, that are not > written into widgets, and that I may not want to write into a widget. > I'm still exploring my options, this is just part of it. I have some > dynamic layers, special query templates, and HTML legends. > > Cheers, > > Liz > > --__--__-- > > Message: 2 > From: nicolas.fortin@ec.gc.ca > To: chameleon@lists.maptools.org > Date: Tue, 9 Dec 2003 09:34:35 -0500 > Subject: [Chameleon] Chameleon with Windows 2k and IIS > > This message is in MIME format. Since your mail reader does not understand > this format, some or all of this message may not be legible. > > ------_=_NextPart_001_01C3BE61.916DC060 > Content-Type: text/plain; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > Hi list, > =20 > I'm using Mapserver for some time now and want to add Chameleon to get = > more > functionnality. I'm using Windows 2000 SP4 with IIS. > =20 > Unfortunately, there's no doc about installing chameleon on Windows = > platform > with IIS with all steps. > =20 > First I manually installed PHP in C:\PHP\ successfully. > Then I installed the PHP Mapscript extensions. I tested with phpinfo();?> and saw the PHP Mapscript extensions. > Last I installed Chameleon 1.0.4 in C:\cwc2\ and made a virtual = > directory > from IIS that point to C:\cwc2\htdocs > I made the C:\cwc2 dir readable-writable by IUSR_ > I made some change to the C:\cwc2\config\cwc2.xml file but I don't know = > if > the paths in there are absolute or relative and if relative...to what? > =20 > If I try this : = > http://localhost/cwc2/cwc2.php?TEMPLATE=3Dcwc2/demo.html > /gmap_co > ntext.xml> &CONTEXT=3Dcwc2/gmap_context.xml > I got: > FATAL ERROR: Session save path (/tmp) doesn't exist or is not writable > Notice: Undefined index: gszSessId in > C:\cwc2\htdocs\common\session\session.php on line 135 > PHP: Error parsing C:\winnt\system32\inetsrv\browscap.ini on line 1169 = > PHP > Notice: Undefined index: gszSessId in > C:\cwc2\htdocs\common\session\session.php on line 135=20 > =20 > I have a writable tmp dir at the root of IIS. > Line 1167-1170 of browscap.ini: > [Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461)] > parent=3DIE 5.5 > platform=3DWindows 2000 (T312461) > beta=3DFalse > > =20 > 1) What do I have to do to set up Chameleon correctly for Windows/IIS ? > 2) I used Mapserver with Oracle 9.2. There's no INPUT=3DORACLESPATIAL = > for the > version of Mapserver Mapscript use. Do Mapscript has a precompiled = > version > of Mapserver or it will use the version I already have? > =20 > Thx a lot, > > Nicolas Fortin=20 > Math=E9maticien, Programmeur, Analyste de donn=E9es=20 > SMC-Qu=E9bec Hydrologie, Environnement Canada=20 > 1141, Rte de l'=C9glise, Sainte-Foy(QC) G1V 4H5=20 > (418)648-2516=20 > nicolas.fortin@ec.gc.ca >=20 > > =20 > > ------_=_NextPart_001_01C3BE61.916DC060 > Content-Type: text/html; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > > > charset=3Diso-8859-1"> > Message > > > >
Hi=20 > list,
>
size=3D2> 
>
I'm = > using Mapserver=20 > for some time now and want to add Chameleon to get more = > functionnality. =20 > I'm using Windows 2000 SP4 with IIS.
>
size=3D2> 
>
size=3D2>Unfortunately,=20 > there's no doc about installing chameleon on Windows platform with IIS = > with all=20 > steps.
>
size=3D2> 
>
First = > I manually=20 > installed PHP in C:\PHP\ successfully.
>
Then = > I installed the=20 > PHP Mapscript extensions. I tested with <?php phpinfo();?> and = > saw the PHP=20 > Mapscript extensions.
>
class=3D620201214-09122003>Last I=20 > installed Chameleon 1.0.4 in C:\cwc2\  class=3D620201214-09122003>and made a virtual directory from IIS that = > point to=20 > C:\cwc2\htdocs
>
class=3D620201214-09122003>I made the=20 > C:\cwc2 dir readable-writable by IUSR_
>
class=3D620201214-09122003>I made some=20 > change to the C:\cwc2\config\cwc2.xml file but I don't know if the = > paths in=20 > there are absolute or relative and if relative...to=20 > what?
>
class=3D620201214-09122003> 
>
class=3D620201214-09122003>If I try this=20 > : href=3D"http://localhost/cwc2/cwc2.php?TEMPLATE=3Dcwc2/demo.html&CON= > TEXT=3Dcwc2/gmap_context.xml">http://localhost/cwc2/cwc2.php?TEMPLATE=3D= > cwc2/demo.html&CONTEXT=3Dcwc2/gmap_context.xml NT>
>
class=3D620201214-09122003>I=20 > got:
>
FATAL = > ERROR:=20 > Session save path (/tmp) doesn't exist or is not=20 > writable
Notice: Undefined index: gszSessId in=20 > C:\cwc2\htdocs\common\session\session.php on line = > 135
PHP:=20 > Error parsing C:\winnt\system32\inetsrv\browscap.ini on line 1169 PHP = > Notice:=20 > Undefined index: gszSessId in C:\cwc2\htdocs\common\session\session.php = > on line=20 > 135
>
 
>
I = > have a writable=20 > tmp dir at the root of IIS.
>
Line = > 1167-1170 of=20 > browscap.ini:
>
class=3D620201214-09122003>  [Mozilla/4.0=20 > (compatible; MSIE 5.5; Windows NT 5.0; T312461)]
  parent=3DIE=20 > 5.5
  platform=3DWindows 2000 (T312461)
 =20 > beta=3DFalse
>
class=3D620201214-09122003> 
>
1) = > What do I have to=20 > do to set up Chameleon correctly for Windows/IIS ?
>
2) I = > used Mapserver=20 > with Oracle 9.2.  There's no INPUT=3DORACLESPATIAL for the version = > of=20 > Mapserver Mapscript use.  Do Mapscript has a precompiled version = > of=20 > Mapserver or it will use the version I already = > have?
>
class=3D620201214-09122003> 
>
Thx a = > > lot,
>

size=3D2>Nicolas=20 > Fortin
size=3D1>Math=E9maticien,=20 > Programmeur, Analyste de donn=E9es
> size=3D1>SMC-Qu=E9bec Hydrologie, Environnement Canada = >
face=3DArial size=3D1>1141, Rte de l'=C9glise, Sainte-Foy(QC) G1V = > 4H5
=20 >
(418)648-2516 = >
color=3D#0000ff size=3D1>nicolas.fortin@ec.gc.ca < href=3D"mailto:nicolas.fortin@ec.gc.ca">mailto:nicolas.fortin@ec.gc.ca A>>=20 >

>
 
> > ------_=_NextPart_001_01C3BE61.916DC060-- > > --__--__-- > > Message: 3 > Date: Tue, 9 Dec 2003 16:33:18 +0100 (CET) > Subject: Re: [Chameleon] Chameleon with Windows 2k and IIS > From: bartvde@xs4all.nl > To: nicolas.fortin@ec.gc.ca > Cc: chameleon@lists.maptools.org > > Hi Nicolas, > > I can give some brief answers, but for more elaborate ones you will need > input from the guys at DmSolutions. > > I can tell you what needs to be done in Apache, and perhaps you are able > to translate this to IIS. > > ---- > In httpd.conf from Apache: > > Alias /ms_tmp/ /ms4w/tmp/ms_tmp/ > > SetEnv PROJ_LIB /ms4w/proj/nad/ > > For PHP Chameleon "needs" the following: > > session.save_path = /ms4w/tmp > ---- > > Is there a specific reason why you are using the 1.0.4 version? The 1.0 > version will be deprecated in time and the 1.1 version is the one to go > with. Although it is alpha, the core is pretty stable. > > I would recommend installing MS4W (with Apache and PHP preconfigured), > then see how everything functions, and map this to IIS. > > -MS4W > -latest Chameleon 1.1 alpha as an MS4W package > -Chameleon sample application > > With regard to the Mapscript binaries with Oracle. The binaries for > Mapserver which have Oracle Spatial support are built by somebody at the > University of Minnesota. The PHP Mapscript are built by DmSolutions, and > they don't provide one with Oracle Spatial support as far as I know. > > But you can always use the principle of Cascading WMS to have the > mapserv.exe serve the Oracle Spatial data. > > Hope this is of some help. > > Best regards, > Bart > > > Hi list, > > > > I'm using Mapserver for some time now and want to add Chameleon to get > > more > > functionnality. I'm using Windows 2000 SP4 with IIS. > > > > Unfortunately, there's no doc about installing chameleon on Windows > > platform > > with IIS with all steps. > > > > First I manually installed PHP in C:\PHP\ successfully. > > Then I installed the PHP Mapscript extensions. I tested with > phpinfo();?> and saw the PHP Mapscript extensions. > > Last I installed Chameleon 1.0.4 in C:\cwc2\ and made a virtual directory > > from IIS that point to C:\cwc2\htdocs > > I made the C:\cwc2 dir readable-writable by IUSR_ > > I made some change to the C:\cwc2\config\cwc2.xml file but I don't know if > > the paths in there are absolute or relative and if relative...to what? > > > > If I try this : http://localhost/cwc2/cwc2.php?TEMPLATE=cwc2/demo.html > > > ntext.xml> &CONTEXT=cwc2/gmap_context.xml > > I got: > > FATAL ERROR: Session save path (/tmp) doesn't exist or is not writable > > Notice: Undefined index: gszSessId in > > C:\cwc2\htdocs\common\session\session.php on line 135 > > PHP: Error parsing C:\winnt\system32\inetsrv\browscap.ini on line 1169 PHP > > Notice: Undefined index: gszSessId in > > C:\cwc2\htdocs\common\session\session.php on line 135 > > > > I have a writable tmp dir at the root of IIS. > > Line 1167-1170 of browscap.ini: > > [Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461)] > > parent=IE 5.5 > > platform=Windows 2000 (T312461) > > beta=False > > > > > > 1) What do I have to do to set up Chameleon correctly for Windows/IIS ? > > 2) I used Mapserver with Oracle 9.2. There's no INPUT=ORACLESPATIAL for > > the > > version of Mapserver Mapscript use. Do Mapscript has a precompiled > > version > > of Mapserver or it will use the version I already have? > > > > Thx a lot, > > > > Nicolas Fortin > > Mathématicien, Programmeur, Analyste de données > > SMC-Québec Hydrologie, Environnement Canada > > 1141, Rte de l'Église, Sainte-Foy(QC) G1V 4H5 > > (418)648-2516 > > nicolas.fortin@ec.gc.ca > > > > > > > > > > > --__--__-- > > Message: 4 > From: nicolas.fortin@ec.gc.ca > To: bartvde@xs4all.nl > Cc: chameleon@lists.maptools.org > Subject: RE : [Chameleon] Chameleon with Windows 2k and IIS > Date: Tue, 9 Dec 2003 11:16:12 -0500 > > > Hi Bart, > > Thx for your fast answer! > > Unfortunately, I have to work with IIS only but I got it to work now! > > The /tmp was refering to the session.save_path in the php.ini file > I comment all the (...) in the browscap.ini > I change some path in the cwc2.xml > > And now the demo works :) > > Nicolas > > -----Message d'origine----- > De : bartvde@xs4all.nl [mailto:bartvde@xs4all.nl] > Envoyé : Tuesday, December 09, 2003 10:33 AM > À : nicolas.fortin@ec.gc.ca > Cc : chameleon@lists.maptools.org > Objet : Re: [Chameleon] Chameleon with Windows 2k and IIS > > > Hi Nicolas, > > I can give some brief answers, but for more elaborate ones you will need > input from the guys at DmSolutions. > > I can tell you what needs to be done in Apache, and perhaps you are able to > translate this to IIS. > > ---- > In httpd.conf from Apache: > > Alias /ms_tmp/ /ms4w/tmp/ms_tmp/ > > SetEnv PROJ_LIB /ms4w/proj/nad/ > > For PHP Chameleon "needs" the following: > > session.save_path = /ms4w/tmp > ---- > > Is there a specific reason why you are using the 1.0.4 version? The 1.0 > version will be deprecated in time and the 1.1 version is the one to go > with. Although it is alpha, the core is pretty stable. > > I would recommend installing MS4W (with Apache and PHP preconfigured), then > see how everything functions, and map this to IIS. > > -MS4W > -latest Chameleon 1.1 alpha as an MS4W package > -Chameleon sample application > > With regard to the Mapscript binaries with Oracle. The binaries for > Mapserver which have Oracle Spatial support are built by somebody at the > University of Minnesota. The PHP Mapscript are built by DmSolutions, and > they don't provide one with Oracle Spatial support as far as I know. > > But you can always use the principle of Cascading WMS to have the > mapserv.exe serve the Oracle Spatial data. > > Hope this is of some help. > > Best regards, > Bart > > > Hi list, > > > > I'm using Mapserver for some time now and want to add Chameleon to get > > more functionnality. I'm using Windows 2000 SP4 with IIS. > > > > Unfortunately, there's no doc about installing chameleon on Windows > > platform with IIS with all steps. > > > > First I manually installed PHP in C:\PHP\ successfully. > > Then I installed the PHP Mapscript extensions. I tested with > phpinfo();?> and saw the PHP Mapscript extensions. Last I installed > > Chameleon 1.0.4 in C:\cwc2\ and made a virtual directory from IIS that > > point to C:\cwc2\htdocs I made the C:\cwc2 dir readable-writable by > > IUSR_ I made some change to the C:\cwc2\config\cwc2.xml file but I > > don't know if the paths in there are absolute or relative and if > > relative...to what? > > > > If I try this : http://localhost/cwc2/cwc2.php?TEMPLATE=cwc2/demo.html > > > map_co > > ntext.xml> &CONTEXT=cwc2/gmap_context.xml > > I got: > > FATAL ERROR: Session save path (/tmp) doesn't exist or is not writable > > Notice: Undefined index: gszSessId in > > C:\cwc2\htdocs\common\session\session.php on line 135 > > PHP: Error parsing C:\winnt\system32\inetsrv\browscap.ini on line 1169 PHP > > Notice: Undefined index: gszSessId in > > C:\cwc2\htdocs\common\session\session.php on line 135 > > > > I have a writable tmp dir at the root of IIS. > > Line 1167-1170 of browscap.ini: > > [Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461)] > > parent=IE 5.5 > > platform=Windows 2000 (T312461) > > beta=False > > > > > > 1) What do I have to do to set up Chameleon correctly for Windows/IIS > > ? > > 2) I used Mapserver with Oracle 9.2. There's no INPUT=ORACLESPATIAL for > > the > > version of Mapserver Mapscript use. Do Mapscript has a precompiled > > version > > of Mapserver or it will use the version I already have? > > > > Thx a lot, > > > > Nicolas Fortin > > Mathématicien, Programmeur, Analyste de données > > SMC-Québec Hydrologie, Environnement Canada > > 1141, Rte de l'Église, Sainte-Foy(QC) G1V 4H5 > > (418)648-2516 > > nicolas.fortin@ec.gc.ca > > > > > > > > > > > > --__--__-- > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > > End of Chameleon Digest From thorne@dmsolutions.ca Tue Dec 9 17:19:46 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hB9MJh8o017047 for ; Tue, 9 Dec 2003 17:19:45 -0500 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id hB9MJhrf029008; Tue, 9 Dec 2003 17:19:43 -0500 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail1.magma.ca (8.12.10/8.12.9) with ESMTP id hB9MJe5h028044; Tue, 9 Dec 2003 17:19:42 -0500 Message-ID: <3FD64ACC.6040605@dmsolutions.ca> Date: Tue, 09 Dec 2003 17:21:00 -0500 From: "Christopher R. Thorne" Reply-To: thorne@dmsolutions.ca Organization: DM Solutions Group Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matt Frost CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] XMLThemeLegend References: <20031209170001.14403.37108.Mailman@www.maptools.org> <007f01c3be9a$aa5739b0$63c809c0@mattf> In-Reply-To: <007f01c3be9a$aa5739b0$63c809c0@mattf> Content-Type: multipart/mixed; boundary="------------080702020601080906020203" Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. --------------080702020601080906020203 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sorry, No documentation has been produced for this widget. It is still under development and QA review. But here is the xml file and renderer file from the hawaii demo. it would be your best help here is also the widget definition found in the hamaii demo. Thanks, Chris Matt Frost wrote: > Is there any documentation available for the XMLThemeLegend widget? Even > just the list of required arguments would be nice, but the XML file from the > Hawaii demo would also help. > Thanks, > Matt Frost > -- Christopher R. Thorne GIS Product Specialist, DM Solutions Group Inc. http://www.dmsolutions.ca email: thorne@dmsolutions.ca Phone: (613) 565-5056 ext.22 Fax : (613) 565-0925 ------------------------------ --------------080702020601080906020203 Content-Type: text/xml; name="hawaii_theme.xml" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="hawaii_theme.xml" --------------080702020601080906020203 Content-Type: text/html; name="hawaii_renderer.html" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="hawaii_renderer.html" [repeat theme] [theme_input] [if theme_numlayers = "0"] [theme_name] [else] [theme_name] [end] [repeat group] [if group_theme_id = theme_id] [if group_visible = "true"]   [group_input] [if group_numlayers = "0"] [group_name] [else] [group_name] [end] [end] [end] [end] [end] --------------080702020601080906020203-- From pagameba@magma.ca Tue Dec 9 20:14:12 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBA1EB8o018007 for ; Tue, 9 Dec 2003 20:14:12 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca Magma's Mail Server with ESMTP id hBA1EBQU015141 for ; Tue, 9 Dec 2003 20:14:11 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id hBA1E85Z021200 for ; Tue, 9 Dec 2003 20:14:11 -0500 Message-ID: <3FD6735E.9020004@magma.ca> Date: Tue, 09 Dec 2003 20:14:06 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 CC: chameleon@lists.maptools.org Subject: Re: RE : [Chameleon] Chameleon with Windows 2k and IIS References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Nicholas/Bart, this is great stuff. It would be really great if you could add your experiences (esp the IIS stuff) to the chameleon wiki, perhaps in the FAQ page? The wiki (for those who have forgotten already ;)) is available at: http://www.maptools.org/chameleon/wiki (also from the Docs page on the chameleon site) Cheers, Paul nicolas.fortin@ec.gc.ca wrote: > Hi Bart, > > Thx for your fast answer! > > Unfortunately, I have to work with IIS only but I got it to work now! > > The /tmp was refering to the session.save_path in the php.ini file > I comment all the (...) in the browscap.ini > I change some path in the cwc2.xml > > And now the demo works :) > > Nicolas > > -----Message d'origine----- > De : bartvde@xs4all.nl [mailto:bartvde@xs4all.nl] > Envoyé : Tuesday, December 09, 2003 10:33 AM > À : nicolas.fortin@ec.gc.ca > Cc : chameleon@lists.maptools.org > Objet : Re: [Chameleon] Chameleon with Windows 2k and IIS > > > Hi Nicolas, > > I can give some brief answers, but for more elaborate ones you will need > input from the guys at DmSolutions. > > I can tell you what needs to be done in Apache, and perhaps you are able to > translate this to IIS. > > ---- > In httpd.conf from Apache: > > Alias /ms_tmp/ /ms4w/tmp/ms_tmp/ > > SetEnv PROJ_LIB /ms4w/proj/nad/ > > For PHP Chameleon "needs" the following: > > session.save_path = /ms4w/tmp > ---- > > Is there a specific reason why you are using the 1.0.4 version? The 1.0 > version will be deprecated in time and the 1.1 version is the one to go > with. Although it is alpha, the core is pretty stable. > > I would recommend installing MS4W (with Apache and PHP preconfigured), then > see how everything functions, and map this to IIS. > > -MS4W > -latest Chameleon 1.1 alpha as an MS4W package > -Chameleon sample application > > With regard to the Mapscript binaries with Oracle. The binaries for > Mapserver which have Oracle Spatial support are built by somebody at the > University of Minnesota. The PHP Mapscript are built by DmSolutions, and > they don't provide one with Oracle Spatial support as far as I know. > > But you can always use the principle of Cascading WMS to have the > mapserv.exe serve the Oracle Spatial data. > > Hope this is of some help. > > Best regards, > Bart > > >>Hi list, >> >>I'm using Mapserver for some time now and want to add Chameleon to get >>more functionnality. I'm using Windows 2000 SP4 with IIS. >> >>Unfortunately, there's no doc about installing chameleon on Windows >>platform with IIS with all steps. >> >>First I manually installed PHP in C:\PHP\ successfully. >>Then I installed the PHP Mapscript extensions. I tested with >phpinfo();?> and saw the PHP Mapscript extensions. Last I installed >>Chameleon 1.0.4 in C:\cwc2\ and made a virtual directory from IIS that >>point to C:\cwc2\htdocs I made the C:\cwc2 dir readable-writable by >>IUSR_ I made some change to the C:\cwc2\config\cwc2.xml file but I >>don't know if the paths in there are absolute or relative and if >>relative...to what? >> >>If I try this : http://localhost/cwc2/cwc2.php?TEMPLATE=cwc2/demo.html >>>map_co >>ntext.xml> &CONTEXT=cwc2/gmap_context.xml >>I got: >>FATAL ERROR: Session save path (/tmp) doesn't exist or is not writable >>Notice: Undefined index: gszSessId in >>C:\cwc2\htdocs\common\session\session.php on line 135 >>PHP: Error parsing C:\winnt\system32\inetsrv\browscap.ini on line 1169 PHP >>Notice: Undefined index: gszSessId in >>C:\cwc2\htdocs\common\session\session.php on line 135 >> >>I have a writable tmp dir at the root of IIS. >>Line 1167-1170 of browscap.ini: >> [Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461)] >> parent=IE 5.5 >> platform=Windows 2000 (T312461) >> beta=False >> >> >>1) What do I have to do to set up Chameleon correctly for Windows/IIS >>? >>2) I used Mapserver with Oracle 9.2. There's no INPUT=ORACLESPATIAL for >>the >>version of Mapserver Mapscript use. Do Mapscript has a precompiled >>version >>of Mapserver or it will use the version I already have? >> >>Thx a lot, >> >>Nicolas Fortin >>Mathématicien, Programmeur, Analyste de données >>SMC-Québec Hydrologie, Environnement Canada >>1141, Rte de l'Église, Sainte-Foy(QC) G1V 4H5 >>(418)648-2516 >>nicolas.fortin@ec.gc.ca > > >> >> >> > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Tue Dec 9 20:48:41 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBA1mf8o018250 for ; Tue, 9 Dec 2003 20:48:41 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id hBA1me8H001316; Tue, 9 Dec 2003 20:48:40 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id hBA1mbGT010756; Tue, 9 Dec 2003 20:48:40 -0500 Message-ID: <3FD67B74.3030203@magma.ca> Date: Tue, 09 Dec 2003 20:48:36 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Liz Godwin CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] PHP Mapscript and Chameleon References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Liz, I don't think that it would really be possible to do this. Tom's suggestion is correct, you can point the 'template' attribute at any valid url which could be a php script to generate the template. However, this script would not know about the current user's session (unless we came up with a way to pass the session id as part of the template request), and if the script was on a different url, there may be a security issue (cross-site-scripting-attacks). Even if this was possible and a good idea, it may cause unexpected side effects due to the order in which things are done (I don't know this for sure, this is just a speculation), i.e. if chameleon loads the map before loading the template for some reason. I am hesitant to recommend any sort of non-widget approach for what you want because changing state on the fly is something that is fairly intrinsic to the operation of the framework and widgets, and could be fairly brittle to this kind of outside alteration. I will say that in Chameleon 1.1/2.0, you have much better control over the application if you chose not to use the service instance (which doesn't exist yet ;)) in that you have a main PHP file that you can use to alter how map files and templates are processed ... I am sure this would solve your issues in fact. If you are willing to live with a few growing pains, it may be worth going this route ... or if you can wait about 8 weeks :) Cheers, Paul Liz Godwin wrote: > I would like to know the extent to which I can use PHP / Mapscript with > Chameleon while avoiding making a new widget. Has anyone done this, or > know about it? > > I talked briefly with Tom Kralidis about this, and he said that I could > use a php file as a template if I reference it http://path/template.php, > because the php would be interpreted by the server before being passsed > to Chameleon. > > However, can I send this template requests stored in form variables > much the same way I would with a normal self processing php page? How > does that interfere with Chameleon? > > Why do I want to do this? > > There are some things I want to do, or may want to do, that are not > written into widgets, and that I may not want to write into a widget. > I'm still exploring my options, this is just part of it. I have some > dynamic layers, special query templates, and HTML legends. > > Cheers, > > Liz > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Tue Dec 9 21:38:20 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBA2cK8o018414 for ; Tue, 9 Dec 2003 21:38:20 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id hBA2cKVs014501 for ; Tue, 9 Dec 2003 21:38:20 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id hBA2cHq4012066 for ; Tue, 9 Dec 2003 21:38:20 -0500 Message-ID: <3FD68718.2020402@magma.ca> Date: Tue, 09 Dec 2003 21:38:16 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 CC: "chameleon@lists.maptools.org" Subject: Re: [Chameleon] ROI tool changes clipboard behaviour? References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: for the list, we are looking into this. This is very odd since the ROI tool doesn't actually draw anything on the map, it just draws an image in a DHTML layer *over* the map. Cheers, Paul Bart van den Eijnden wrote: > Hi list, > > I have noticed that the ROI tool changes the clipboard behaviour in > Chameleon. > > When there is no ROI tool in the template, clipboard (i.e. save image > as) functionality works. > > When there is a ROI tool, the image that gets saved is an empty image. > If somebody draws a ROI then this ROI is in the saved image. > > Is there anything possible that could prevent the clipboard > functionality from getting broken when using ROI? > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Tue Dec 9 21:39:04 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBA2d48o018425 for ; Tue, 9 Dec 2003 21:39:04 -0500 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx2.magma.ca Magma's Mail Server with ESMTP id hBA2d2Fh029240; Tue, 9 Dec 2003 21:39:02 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail1.magma.ca (8.12.10/8.12.9) with ESMTP id hBA2d0J2028847; Tue, 9 Dec 2003 21:39:03 -0500 Message-ID: <3FD68742.6040607@magma.ca> Date: Tue, 09 Dec 2003 21:38:58 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 CC: thowlett@whistlermuseum.org, chameleon@lists.maptools.org Subject: Re: [Chameleon] FW: Welcome to the "Chameleon" mailing list References: <200312062116.hB6LGB8o022833@www.maptools.org> <3FD257DB.9050206@magma.ca> In-Reply-To: <3FD257DB.9050206@magma.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Tracy, did this work? Paul Spencer wrote: > Tracy, > > this means that mapserver cannot find proj definitions for the > projection you have named. This may be because: > > 1. the projection you typed in is incorrect (ie 43204 instead of 42034) > 2. the system cannot find the epsg file. This may mean that it needs to > go in a "nad" subdirectory of c:\proj > > Check 1. and then try 2. :) > > Cheers, > > Paul > > Tracy Howlett wrote: > >> Can anyone tell me what this error means? >> >> PHP Warning: [MapServer Error]: msProcessProjection(): no system list >> >> I've got Proj4 loaded into my C:\PROJ directory and I've updated the epsg >> file as instructed in another thread. Is there something I need to >> change >> in a configuration file somewhere? >> >> Tracy >> >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Tue Dec 9 21:40:44 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBA2ei8o018470 for ; Tue, 9 Dec 2003 21:40:44 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca Magma's Mail Server with ESMTP id hBA2ehFh029499; Tue, 9 Dec 2003 21:40:43 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id hBA2eeJD029581; Tue, 9 Dec 2003 21:40:43 -0500 Message-ID: <3FD687A7.9090603@magma.ca> Date: Tue, 09 Dec 2003 21:40:39 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: thowlett@whistlermuseum.org CC: spencer@dmsolutions.ca, chameleon@lists.maptools.org Subject: Re: [Chameleon] Newbie Startup Question References: <200312051909.hB5J988o015913@www.maptools.org> In-Reply-To: <200312051909.hB5J988o015913@www.maptools.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Tracy did you see the recent emails regarding setup with IIS? Did this solve your problem? Cheers, Paul Tracy Howlett wrote: > Windows XP with IIS > > -----Original Message----- > From: Paul Spencer [mailto:pagameba@magma.ca] > Sent: Friday, December 05, 2003 10:32 AM > To: thowlett@whistlermuseum.org > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Newbie Startup Question > > Tracy, what platform are you running on (windows/linux) and web server? > > Cheers, > > Paul > > Tracy Howlett wrote: > >>Thanks for the encouragement!! I noticed you posted a question about >>getting the sample app to work - did you ever get a response? I am >>having the exact same issue and it doesn't seem to matter what paths I >>put in to my phtml file I always end up with those same errors. >> >> >> >>How did you end up resolving your problems? >> >> >> >>Also - this is probably a really silly question but where can I find the >>web server error log? >> >> >> >>Tracy >> >> >> >>------------------------------------------------------------------------ >> >>*From:* chameleon-admin@lists.maptools.org >>[mailto:chameleon-admin@lists.maptools.org] *On Behalf Of *Ryan Belcher >>*Sent:* Thursday, December 04, 2003 2:47 PM >>*To:* thowlett@whistlermuseum.org; chameleon@lists.maptools.org >>*Subject:* RE: [Chameleon] Newbie Startup Question >> >> >> >>I had the same problem when I was first trying to get chameleon >>running. If you look at demo.php, it's just a redirect to cwc2.php >>which doesn't come with chameleon 1.1.x and I think that's why you're >>getting the page not found error. What you need to do is download the >>sample application and install it right along with chameleon. Then you >>will probably need to edit index.phtml in htdocs and correct the paths >>to chameleon.php and your map file. Then try to load index.phtml >> >> >> >>I think that was all I had to do besides correcting paths in my config >>file. Be sure to check the error log of your web server for more >>information on any errors you are getting. Hope that helps. >> >> >> >>Ryan >> >> -----Original Message----- >> *From:* chameleon-admin@lists.maptools.org >> [mailto:chameleon-admin@lists.maptools.org]*On Behalf Of *Tracy > > Howlett > >> *Sent:* Thursday, December 04, 2003 3:35 PM >> *To:* chameleon@lists.maptools.org >> *Subject:* [Chameleon] Newbie Startup Question >> >> Hi, >> >> >> >> I'm a complete beginner with all things MapServer/MapScript/PHP >> related so please bare with me. >> >> >> >> I've had MapServer 3.6 running for a couple of weeks with no >> trouble. It was recommended to me that I upgrade and install >> Chameleon for some enhanced features. I have installed MapServer >> 4.0.1 and PHP 4.3.4 and both seem to be working fine. I am, >> however, having trouble with the Chameleon install. I'm sure that >> the problem is with the paths I've set in the config file. When I >> try to open http://localhost/cwc2/chameleon.php I get a blank page. >> When I try to open http://localhost/cwc2/demo.php I get a page not >> found error. Should I be putting absolute or relative paths in my >> config file? Is there something I'm missing? I don't have >> wmsparse.exe installed because despite all documentation to the >> contrary, it was not included in my installation package and I >> haven't installed the GDAL component. >> >> >> >> I'd appreciate any help that anyone might be able to offer. I've >> done a lot of searching for help in the documentation but a lot of >> it seems incomplete. Perhaps I'm looking in the wrong place. >> >> >> >> Thanks, >> >> >> >> Tracy Howlett >> > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From matt.frost@mma1.com Wed Dec 10 09:26:16 2003 Received: from mail.mma1.com (mail.mma1.com [65.168.117.135]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBAEQD8o022119 for ; Wed, 10 Dec 2003 09:26:15 -0500 Received: from mattf (porky.mma1.com [65.168.117.131]) by mail.mma1.com (Postfix on SuSE Linux eMail Server 3.1) with ESMTP id AD7509F0088 for ; Wed, 10 Dec 2003 09:33:51 -0500 (EST) Message-ID: <004a01c3bf29$8e392560$63c809c0@mattf> From: "Matt Frost" To: References: <20031209170001.14403.37108.Mailman@www.maptools.org> Date: Wed, 10 Dec 2003 09:26:09 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: [Chameleon] line breaks in Hidden input items Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Suddenly my page is including several line breaks at the beginning, pushing everything down the page. The source code shows many of the hidden input variables followed by
tags, as shown in the following excerpt:



Where did these come from and how can I remove them? -Matt Frost ----- Original Message ----- From: To: Sent: Tuesday, December 09, 2003 12:00 PM Subject: Chameleon digest, Vol 1 #67 - 4 msgs > Send Chameleon mailing list submissions to > chameleon@lists.maptools.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.maptools.org/mailman/listinfo/chameleon > or, via email, send a message with subject or body 'help' to > chameleon-request@lists.maptools.org > > You can reach the person managing the list at > chameleon-admin@lists.maptools.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Chameleon digest..." > > > Today's Topics: > > 1. PHP Mapscript and Chameleon (Liz Godwin) > 2. Chameleon with Windows 2k and IIS (nicolas.fortin@ec.gc.ca) > 3. Re: Chameleon with Windows 2k and IIS (bartvde@xs4all.nl) > 4. RE : [Chameleon] Chameleon with Windows 2k and IIS (nicolas.fortin@ec.gc.ca) > > --__--__-- > > Message: 1 > Date: Mon, 08 Dec 2003 13:06:49 -0500 > From: "Liz Godwin" > To: > Subject: [Chameleon] PHP Mapscript and Chameleon > > I would like to know the extent to which I can use PHP / Mapscript with > Chameleon while avoiding making a new widget. Has anyone done this, or > know about it? > > I talked briefly with Tom Kralidis about this, and he said that I could > use a php file as a template if I reference it http://path/template.php, > because the php would be interpreted by the server before being passsed > to Chameleon. > > However, can I send this template requests stored in form variables > much the same way I would with a normal self processing php page? How > does that interfere with Chameleon? > > Why do I want to do this? > > There are some things I want to do, or may want to do, that are not > written into widgets, and that I may not want to write into a widget. > I'm still exploring my options, this is just part of it. I have some > dynamic layers, special query templates, and HTML legends. > > Cheers, > > Liz > > --__--__-- > > Message: 2 > From: nicolas.fortin@ec.gc.ca > To: chameleon@lists.maptools.org > Date: Tue, 9 Dec 2003 09:34:35 -0500 > Subject: [Chameleon] Chameleon with Windows 2k and IIS > > This message is in MIME format. Since your mail reader does not understand > this format, some or all of this message may not be legible. > > ------_=_NextPart_001_01C3BE61.916DC060 > Content-Type: text/plain; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > Hi list, > =20 > I'm using Mapserver for some time now and want to add Chameleon to get = > more > functionnality. I'm using Windows 2000 SP4 with IIS. > =20 > Unfortunately, there's no doc about installing chameleon on Windows = > platform > with IIS with all steps. > =20 > First I manually installed PHP in C:\PHP\ successfully. > Then I installed the PHP Mapscript extensions. I tested with phpinfo();?> and saw the PHP Mapscript extensions. > Last I installed Chameleon 1.0.4 in C:\cwc2\ and made a virtual = > directory > from IIS that point to C:\cwc2\htdocs > I made the C:\cwc2 dir readable-writable by IUSR_ > I made some change to the C:\cwc2\config\cwc2.xml file but I don't know = > if > the paths in there are absolute or relative and if relative...to what? > =20 > If I try this : = > http://localhost/cwc2/cwc2.php?TEMPLATE=3Dcwc2/demo.html > /gmap_co > ntext.xml> &CONTEXT=3Dcwc2/gmap_context.xml > I got: > FATAL ERROR: Session save path (/tmp) doesn't exist or is not writable > Notice: Undefined index: gszSessId in > C:\cwc2\htdocs\common\session\session.php on line 135 > PHP: Error parsing C:\winnt\system32\inetsrv\browscap.ini on line 1169 = > PHP > Notice: Undefined index: gszSessId in > C:\cwc2\htdocs\common\session\session.php on line 135=20 > =20 > I have a writable tmp dir at the root of IIS. > Line 1167-1170 of browscap.ini: > [Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461)] > parent=3DIE 5.5 > platform=3DWindows 2000 (T312461) > beta=3DFalse > > =20 > 1) What do I have to do to set up Chameleon correctly for Windows/IIS ? > 2) I used Mapserver with Oracle 9.2. There's no INPUT=3DORACLESPATIAL = > for the > version of Mapserver Mapscript use. Do Mapscript has a precompiled = > version > of Mapserver or it will use the version I already have? > =20 > Thx a lot, > > Nicolas Fortin=20 > Math=E9maticien, Programmeur, Analyste de donn=E9es=20 > SMC-Qu=E9bec Hydrologie, Environnement Canada=20 > 1141, Rte de l'=C9glise, Sainte-Foy(QC) G1V 4H5=20 > (418)648-2516=20 > nicolas.fortin@ec.gc.ca >=20 > > =20 > > ------_=_NextPart_001_01C3BE61.916DC060 > Content-Type: text/html; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > > > charset=3Diso-8859-1"> > Message > > > >
Hi=20 > list,
>
size=3D2> 
>
I'm = > using Mapserver=20 > for some time now and want to add Chameleon to get more = > functionnality. =20 > I'm using Windows 2000 SP4 with IIS.
>
size=3D2> 
>
size=3D2>Unfortunately,=20 > there's no doc about installing chameleon on Windows platform with IIS = > with all=20 > steps.
>
size=3D2> 
>
First = > I manually=20 > installed PHP in C:\PHP\ successfully.
>
Then = > I installed the=20 > PHP Mapscript extensions. I tested with <?php phpinfo();?> and = > saw the PHP=20 > Mapscript extensions.
>
class=3D620201214-09122003>Last I=20 > installed Chameleon 1.0.4 in C:\cwc2\  class=3D620201214-09122003>and made a virtual directory from IIS that = > point to=20 > C:\cwc2\htdocs
>
class=3D620201214-09122003>I made the=20 > C:\cwc2 dir readable-writable by IUSR_
>
class=3D620201214-09122003>I made some=20 > change to the C:\cwc2\config\cwc2.xml file but I don't know if the = > paths in=20 > there are absolute or relative and if relative...to=20 > what?
>
class=3D620201214-09122003> 
>
class=3D620201214-09122003>If I try this=20 > : href=3D"http://localhost/cwc2/cwc2.php?TEMPLATE=3Dcwc2/demo.html&CON= > TEXT=3Dcwc2/gmap_context.xml">http://localhost/cwc2/cwc2.php?TEMPLATE=3D= > cwc2/demo.html&CONTEXT=3Dcwc2/gmap_context.xml NT>
>
class=3D620201214-09122003>I=20 > got:
>
FATAL = > ERROR:=20 > Session save path (/tmp) doesn't exist or is not=20 > writable
Notice: Undefined index: gszSessId in=20 > C:\cwc2\htdocs\common\session\session.php on line = > 135
PHP:=20 > Error parsing C:\winnt\system32\inetsrv\browscap.ini on line 1169 PHP = > Notice:=20 > Undefined index: gszSessId in C:\cwc2\htdocs\common\session\session.php = > on line=20 > 135
>
 
>
I = > have a writable=20 > tmp dir at the root of IIS.
>
Line = > 1167-1170 of=20 > browscap.ini:
>
class=3D620201214-09122003>  [Mozilla/4.0=20 > (compatible; MSIE 5.5; Windows NT 5.0; T312461)]
  parent=3DIE=20 > 5.5
  platform=3DWindows 2000 (T312461)
 =20 > beta=3DFalse
>
class=3D620201214-09122003> 
>
1) = > What do I have to=20 > do to set up Chameleon correctly for Windows/IIS ?
>
2) I = > used Mapserver=20 > with Oracle 9.2.  There's no INPUT=3DORACLESPATIAL for the version = > of=20 > Mapserver Mapscript use.  Do Mapscript has a precompiled version = > of=20 > Mapserver or it will use the version I already = > have?
>
class=3D620201214-09122003> 
>
Thx a = > > lot,
>

size=3D2>Nicolas=20 > Fortin
size=3D1>Math=E9maticien,=20 > Programmeur, Analyste de donn=E9es
> size=3D1>SMC-Qu=E9bec Hydrologie, Environnement Canada = >
face=3DArial size=3D1>1141, Rte de l'=C9glise, Sainte-Foy(QC) G1V = > 4H5
=20 >
(418)648-2516 = >
color=3D#0000ff size=3D1>nicolas.fortin@ec.gc.ca < href=3D"mailto:nicolas.fortin@ec.gc.ca">mailto:nicolas.fortin@ec.gc.ca A>>=20 >

>
 
> > ------_=_NextPart_001_01C3BE61.916DC060-- > > --__--__-- > > Message: 3 > Date: Tue, 9 Dec 2003 16:33:18 +0100 (CET) > Subject: Re: [Chameleon] Chameleon with Windows 2k and IIS > From: bartvde@xs4all.nl > To: nicolas.fortin@ec.gc.ca > Cc: chameleon@lists.maptools.org > > Hi Nicolas, > > I can give some brief answers, but for more elaborate ones you will need > input from the guys at DmSolutions. > > I can tell you what needs to be done in Apache, and perhaps you are able > to translate this to IIS. > > ---- > In httpd.conf from Apache: > > Alias /ms_tmp/ /ms4w/tmp/ms_tmp/ > > SetEnv PROJ_LIB /ms4w/proj/nad/ > > For PHP Chameleon "needs" the following: > > session.save_path = /ms4w/tmp > ---- > > Is there a specific reason why you are using the 1.0.4 version? The 1.0 > version will be deprecated in time and the 1.1 version is the one to go > with. Although it is alpha, the core is pretty stable. > > I would recommend installing MS4W (with Apache and PHP preconfigured), > then see how everything functions, and map this to IIS. > > -MS4W > -latest Chameleon 1.1 alpha as an MS4W package > -Chameleon sample application > > With regard to the Mapscript binaries with Oracle. The binaries for > Mapserver which have Oracle Spatial support are built by somebody at the > University of Minnesota. The PHP Mapscript are built by DmSolutions, and > they don't provide one with Oracle Spatial support as far as I know. > > But you can always use the principle of Cascading WMS to have the > mapserv.exe serve the Oracle Spatial data. > > Hope this is of some help. > > Best regards, > Bart > > > Hi list, > > > > I'm using Mapserver for some time now and want to add Chameleon to get > > more > > functionnality. I'm using Windows 2000 SP4 with IIS. > > > > Unfortunately, there's no doc about installing chameleon on Windows > > platform > > with IIS with all steps. > > > > First I manually installed PHP in C:\PHP\ successfully. > > Then I installed the PHP Mapscript extensions. I tested with > phpinfo();?> and saw the PHP Mapscript extensions. > > Last I installed Chameleon 1.0.4 in C:\cwc2\ and made a virtual directory > > from IIS that point to C:\cwc2\htdocs > > I made the C:\cwc2 dir readable-writable by IUSR_ > > I made some change to the C:\cwc2\config\cwc2.xml file but I don't know if > > the paths in there are absolute or relative and if relative...to what? > > > > If I try this : http://localhost/cwc2/cwc2.php?TEMPLATE=cwc2/demo.html > > > ntext.xml> &CONTEXT=cwc2/gmap_context.xml > > I got: > > FATAL ERROR: Session save path (/tmp) doesn't exist or is not writable > > Notice: Undefined index: gszSessId in > > C:\cwc2\htdocs\common\session\session.php on line 135 > > PHP: Error parsing C:\winnt\system32\inetsrv\browscap.ini on line 1169 PHP > > Notice: Undefined index: gszSessId in > > C:\cwc2\htdocs\common\session\session.php on line 135 > > > > I have a writable tmp dir at the root of IIS. > > Line 1167-1170 of browscap.ini: > > [Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461)] > > parent=IE 5.5 > > platform=Windows 2000 (T312461) > > beta=False > > > > > > 1) What do I have to do to set up Chameleon correctly for Windows/IIS ? > > 2) I used Mapserver with Oracle 9.2. There's no INPUT=ORACLESPATIAL for > > the > > version of Mapserver Mapscript use. Do Mapscript has a precompiled > > version > > of Mapserver or it will use the version I already have? > > > > Thx a lot, > > > > Nicolas Fortin > > Mathématicien, Programmeur, Analyste de données > > SMC-Québec Hydrologie, Environnement Canada > > 1141, Rte de l'Église, Sainte-Foy(QC) G1V 4H5 > > (418)648-2516 > > nicolas.fortin@ec.gc.ca > > > > > > > > > > > --__--__-- > > Message: 4 > From: nicolas.fortin@ec.gc.ca > To: bartvde@xs4all.nl > Cc: chameleon@lists.maptools.org > Subject: RE : [Chameleon] Chameleon with Windows 2k and IIS > Date: Tue, 9 Dec 2003 11:16:12 -0500 > > > Hi Bart, > > Thx for your fast answer! > > Unfortunately, I have to work with IIS only but I got it to work now! > > The /tmp was refering to the session.save_path in the php.ini file > I comment all the (...) in the browscap.ini > I change some path in the cwc2.xml > > And now the demo works :) > > Nicolas > > -----Message d'origine----- > De : bartvde@xs4all.nl [mailto:bartvde@xs4all.nl] > Envoyé : Tuesday, December 09, 2003 10:33 AM > À : nicolas.fortin@ec.gc.ca > Cc : chameleon@lists.maptools.org > Objet : Re: [Chameleon] Chameleon with Windows 2k and IIS > > > Hi Nicolas, > > I can give some brief answers, but for more elaborate ones you will need > input from the guys at DmSolutions. > > I can tell you what needs to be done in Apache, and perhaps you are able to > translate this to IIS. > > ---- > In httpd.conf from Apache: > > Alias /ms_tmp/ /ms4w/tmp/ms_tmp/ > > SetEnv PROJ_LIB /ms4w/proj/nad/ > > For PHP Chameleon "needs" the following: > > session.save_path = /ms4w/tmp > ---- > > Is there a specific reason why you are using the 1.0.4 version? The 1.0 > version will be deprecated in time and the 1.1 version is the one to go > with. Although it is alpha, the core is pretty stable. > > I would recommend installing MS4W (with Apache and PHP preconfigured), then > see how everything functions, and map this to IIS. > > -MS4W > -latest Chameleon 1.1 alpha as an MS4W package > -Chameleon sample application > > With regard to the Mapscript binaries with Oracle. The binaries for > Mapserver which have Oracle Spatial support are built by somebody at the > University of Minnesota. The PHP Mapscript are built by DmSolutions, and > they don't provide one with Oracle Spatial support as far as I know. > > But you can always use the principle of Cascading WMS to have the > mapserv.exe serve the Oracle Spatial data. > > Hope this is of some help. > > Best regards, > Bart > > > Hi list, > > > > I'm using Mapserver for some time now and want to add Chameleon to get > > more functionnality. I'm using Windows 2000 SP4 with IIS. > > > > Unfortunately, there's no doc about installing chameleon on Windows > > platform with IIS with all steps. > > > > First I manually installed PHP in C:\PHP\ successfully. > > Then I installed the PHP Mapscript extensions. I tested with > phpinfo();?> and saw the PHP Mapscript extensions. Last I installed > > Chameleon 1.0.4 in C:\cwc2\ and made a virtual directory from IIS that > > point to C:\cwc2\htdocs I made the C:\cwc2 dir readable-writable by > > IUSR_ I made some change to the C:\cwc2\config\cwc2.xml file but I > > don't know if the paths in there are absolute or relative and if > > relative...to what? > > > > If I try this : http://localhost/cwc2/cwc2.php?TEMPLATE=cwc2/demo.html > > > map_co > > ntext.xml> &CONTEXT=cwc2/gmap_context.xml > > I got: > > FATAL ERROR: Session save path (/tmp) doesn't exist or is not writable > > Notice: Undefined index: gszSessId in > > C:\cwc2\htdocs\common\session\session.php on line 135 > > PHP: Error parsing C:\winnt\system32\inetsrv\browscap.ini on line 1169 PHP > > Notice: Undefined index: gszSessId in > > C:\cwc2\htdocs\common\session\session.php on line 135 > > > > I have a writable tmp dir at the root of IIS. > > Line 1167-1170 of browscap.ini: > > [Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461)] > > parent=IE 5.5 > > platform=Windows 2000 (T312461) > > beta=False > > > > > > 1) What do I have to do to set up Chameleon correctly for Windows/IIS > > ? > > 2) I used Mapserver with Oracle 9.2. There's no INPUT=ORACLESPATIAL for > > the > > version of Mapserver Mapscript use. Do Mapscript has a precompiled > > version > > of Mapserver or it will use the version I already have? > > > > Thx a lot, > > > > Nicolas Fortin > > Mathématicien, Programmeur, Analyste de données > > SMC-Québec Hydrologie, Environnement Canada > > 1141, Rte de l'Église, Sainte-Foy(QC) G1V 4H5 > > (418)648-2516 > > nicolas.fortin@ec.gc.ca > > > > > > > > > > > > --__--__-- > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > > End of Chameleon Digest From nicolas.fortin@ec.gc.ca Wed Dec 10 09:32:56 2003 Received: from ecstfexch00.quebec.int.ec.gc.ca (fwstl1-1.wul.qc.ec.gc.ca [205.211.132.24]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBAEWq8o022197 for ; Wed, 10 Dec 2003 09:32:54 -0500 Received: by ecstfexch00.quebec.int.ec.gc.ca with Internet Mail Service (5.5.2653.19) id ; Wed, 10 Dec 2003 09:32:32 -0500 Message-ID: From: nicolas.fortin@ec.gc.ca To: spencer@dmsolutions.ca Cc: chameleon@lists.maptools.org Subject: RE : RE : [Chameleon] Chameleon with Windows 2k and IIS Date: Wed, 10 Dec 2003 09:30:49 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id hBAEWq8o022197 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Paul, I'll make a basic HowTo for the future windows2k/IIS chameleon users asap. Nicolas -----Message d'origine----- De : Paul Spencer [mailto:pagameba@magma.ca] Envoyé : Tuesday, December 09, 2003 8:14 PM Cc : chameleon@lists.maptools.org Objet : Re: RE : [Chameleon] Chameleon with Windows 2k and IIS Nicholas/Bart, this is great stuff. It would be really great if you could add your experiences (esp the IIS stuff) to the chameleon wiki, perhaps in the FAQ page? The wiki (for those who have forgotten already ;)) is available at: http://www.maptools.org/chameleon/wiki (also from the Docs page on the chameleon site) Cheers, Paul nicolas.fortin@ec.gc.ca wrote: > Hi Bart, > > Thx for your fast answer! > > Unfortunately, I have to work with IIS only but I got it to work now! > > The /tmp was refering to the session.save_path in the php.ini file I > comment all the (...) in the browscap.ini I change some path in the > cwc2.xml > > And now the demo works :) > > Nicolas > > -----Message d'origine----- > De : bartvde@xs4all.nl [mailto:bartvde@xs4all.nl] > Envoyé : Tuesday, December 09, 2003 10:33 AM > À : nicolas.fortin@ec.gc.ca > Cc : chameleon@lists.maptools.org > Objet : Re: [Chameleon] Chameleon with Windows 2k and IIS > > > Hi Nicolas, > > I can give some brief answers, but for more elaborate ones you will > need input from the guys at DmSolutions. > > I can tell you what needs to be done in Apache, and perhaps you are > able to translate this to IIS. > > ---- > In httpd.conf from Apache: > > Alias /ms_tmp/ /ms4w/tmp/ms_tmp/ > > SetEnv PROJ_LIB /ms4w/proj/nad/ > > For PHP Chameleon "needs" the following: > > session.save_path = /ms4w/tmp > ---- > > Is there a specific reason why you are using the 1.0.4 version? The > 1.0 version will be deprecated in time and the 1.1 version is the one > to go with. Although it is alpha, the core is pretty stable. > > I would recommend installing MS4W (with Apache and PHP preconfigured), > then see how everything functions, and map this to IIS. > > -MS4W > -latest Chameleon 1.1 alpha as an MS4W package > -Chameleon sample application > > With regard to the Mapscript binaries with Oracle. The binaries for > Mapserver which have Oracle Spatial support are built by somebody at > the University of Minnesota. The PHP Mapscript are built by > DmSolutions, and they don't provide one with Oracle Spatial support as > far as I know. > > But you can always use the principle of Cascading WMS to have the > mapserv.exe serve the Oracle Spatial data. > > Hope this is of some help. > > Best regards, > Bart > > >>Hi list, >> >>I'm using Mapserver for some time now and want to add Chameleon to get >>more functionnality. I'm using Windows 2000 SP4 with IIS. >> >>Unfortunately, there's no doc about installing chameleon on Windows >>platform with IIS with all steps. >> >>First I manually installed PHP in C:\PHP\ successfully. >>Then I installed the PHP Mapscript extensions. I tested with >phpinfo();?> and saw the PHP Mapscript extensions. Last I installed >>Chameleon 1.0.4 in C:\cwc2\ and made a virtual directory from IIS that >>point to C:\cwc2\htdocs I made the C:\cwc2 dir readable-writable by >>IUSR_ I made some change to the C:\cwc2\config\cwc2.xml file but I >>don't know if the paths in there are absolute or relative and if >>relative...to what? >> >>If I try this : http://localhost/cwc2/cwc2.php?TEMPLATE=cwc2/demo.html >>>map_co >>ntext.xml> &CONTEXT=cwc2/gmap_context.xml >>I got: >>FATAL ERROR: Session save path (/tmp) doesn't exist or is not writable >>Notice: Undefined index: gszSessId in >>C:\cwc2\htdocs\common\session\session.php on line 135 >>PHP: Error parsing C:\winnt\system32\inetsrv\browscap.ini on line 1169 >>PHP >>Notice: Undefined index: gszSessId in >>C:\cwc2\htdocs\common\session\session.php on line 135 >> >>I have a writable tmp dir at the root of IIS. >>Line 1167-1170 of browscap.ini: >> [Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461)] >> parent=IE 5.5 >> platform=Windows 2000 (T312461) >> beta=False >> >> >>1) What do I have to do to set up Chameleon correctly for Windows/IIS >>? >>2) I used Mapserver with Oracle 9.2. There's no INPUT=ORACLESPATIAL for >>the >>version of Mapserver Mapscript use. Do Mapscript has a precompiled >>version >>of Mapserver or it will use the version I already have? >> >>Thx a lot, >> >>Nicolas Fortin >>Mathématicien, Programmeur, Analyste de données >>SMC-Québec Hydrologie, Environnement Canada >>1141, Rte de l'Église, Sainte-Foy(QC) G1V 4H5 >>(418)648-2516 >>nicolas.fortin@ec.gc.ca > > >> >> >> > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From nicolas.fortin@ec.gc.ca Wed Dec 10 11:07:00 2003 Received: from ecstfexch00.quebec.int.ec.gc.ca (fwstl1-1.wul.qc.ec.gc.ca [205.211.132.24]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBAG6x8o023042 for ; Wed, 10 Dec 2003 11:07:00 -0500 Received: by ecstfexch00.quebec.int.ec.gc.ca with Internet Mail Service (5.5.2653.19) id ; Wed, 10 Dec 2003 11:06:43 -0500 Message-ID: From: nicolas.fortin@ec.gc.ca To: nicolas.fortin@ec.gc.ca, spencer@dmsolutions.ca Cc: chameleon@lists.maptools.org Subject: RE : RE : RE : [Chameleon] Chameleon with Windows 2k and IIS Date: Wed, 10 Dec 2003 11:04:57 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id hBAG6x8o023042 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: It's done: http://www.maptools.org/chameleon/wiki/ChameleonIISHowToInstall I hope this will work for other Win2k/IIS users. In fact, I have to install it on one of our internal server soon so I'll see by myself. Nicolas -----Message d'origine----- De : nicolas.fortin@ec.gc.ca [mailto:nicolas.fortin@ec.gc.ca] Envoyé : Wednesday, December 10, 2003 9:31 AM À : spencer@dmsolutions.ca Cc : chameleon@lists.maptools.org Objet : RE : RE : [Chameleon] Chameleon with Windows 2k and IIS Hi Paul, I'll make a basic HowTo for the future windows2k/IIS chameleon users asap. Nicolas -----Message d'origine----- De : Paul Spencer [mailto:pagameba@magma.ca] Envoyé : Tuesday, December 09, 2003 8:14 PM Cc : chameleon@lists.maptools.org Objet : Re: RE : [Chameleon] Chameleon with Windows 2k and IIS Nicholas/Bart, this is great stuff. It would be really great if you could add your experiences (esp the IIS stuff) to the chameleon wiki, perhaps in the FAQ page? The wiki (for those who have forgotten already ;)) is available at: http://www.maptools.org/chameleon/wiki (also from the Docs page on the chameleon site) Cheers, Paul nicolas.fortin@ec.gc.ca wrote: > Hi Bart, > > Thx for your fast answer! > > Unfortunately, I have to work with IIS only but I got it to work now! > > The /tmp was refering to the session.save_path in the php.ini file I > comment all the (...) in the browscap.ini I change some path in the > cwc2.xml > > And now the demo works :) > > Nicolas > > -----Message d'origine----- > De : bartvde@xs4all.nl [mailto:bartvde@xs4all.nl] > Envoyé : Tuesday, December 09, 2003 10:33 AM > À : nicolas.fortin@ec.gc.ca > Cc : chameleon@lists.maptools.org > Objet : Re: [Chameleon] Chameleon with Windows 2k and IIS > > > Hi Nicolas, > > I can give some brief answers, but for more elaborate ones you will > need input from the guys at DmSolutions. > > I can tell you what needs to be done in Apache, and perhaps you are > able to translate this to IIS. > > ---- > In httpd.conf from Apache: > > Alias /ms_tmp/ /ms4w/tmp/ms_tmp/ > > SetEnv PROJ_LIB /ms4w/proj/nad/ > > For PHP Chameleon "needs" the following: > > session.save_path = /ms4w/tmp > ---- > > Is there a specific reason why you are using the 1.0.4 version? The > 1.0 version will be deprecated in time and the 1.1 version is the one > to go with. Although it is alpha, the core is pretty stable. > > I would recommend installing MS4W (with Apache and PHP preconfigured), > then see how everything functions, and map this to IIS. > > -MS4W > -latest Chameleon 1.1 alpha as an MS4W package > -Chameleon sample application > > With regard to the Mapscript binaries with Oracle. The binaries for > Mapserver which have Oracle Spatial support are built by somebody at > the University of Minnesota. The PHP Mapscript are built by > DmSolutions, and they don't provide one with Oracle Spatial support as > far as I know. > > But you can always use the principle of Cascading WMS to have the > mapserv.exe serve the Oracle Spatial data. > > Hope this is of some help. > > Best regards, > Bart > > >>Hi list, >> >>I'm using Mapserver for some time now and want to add Chameleon to get >>more functionnality. I'm using Windows 2000 SP4 with IIS. >> >>Unfortunately, there's no doc about installing chameleon on Windows >>platform with IIS with all steps. >> >>First I manually installed PHP in C:\PHP\ successfully. >>Then I installed the PHP Mapscript extensions. I tested with >phpinfo();?> and saw the PHP Mapscript extensions. Last I installed >>Chameleon 1.0.4 in C:\cwc2\ and made a virtual directory from IIS that >>point to C:\cwc2\htdocs I made the C:\cwc2 dir readable-writable by >>IUSR_ I made some change to the C:\cwc2\config\cwc2.xml file but I >>don't know if the paths in there are absolute or relative and if >>relative...to what? >> >>If I try this : http://localhost/cwc2/cwc2.php?TEMPLATE=cwc2/demo.html >>>map_co >>ntext.xml> &CONTEXT=cwc2/gmap_context.xml >>I got: >>FATAL ERROR: Session save path (/tmp) doesn't exist or is not writable >>Notice: Undefined index: gszSessId in >>C:\cwc2\htdocs\common\session\session.php on line 135 >>PHP: Error parsing C:\winnt\system32\inetsrv\browscap.ini on line 1169 >>PHP >>Notice: Undefined index: gszSessId in >>C:\cwc2\htdocs\common\session\session.php on line 135 >> >>I have a writable tmp dir at the root of IIS. >>Line 1167-1170 of browscap.ini: >> [Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461)] >> parent=IE 5.5 >> platform=Windows 2000 (T312461) >> beta=False >> >> >>1) What do I have to do to set up Chameleon correctly for Windows/IIS >>? >>2) I used Mapserver with Oracle 9.2. There's no INPUT=ORACLESPATIAL >>for the version of Mapserver Mapscript use. Do Mapscript has a >>precompiled version >>of Mapserver or it will use the version I already have? >> >>Thx a lot, >> >>Nicolas Fortin >>Mathématicien, Programmeur, Analyste de données >>SMC-Québec Hydrologie, Environnement Canada >>1141, Rte de l'Église, Sainte-Foy(QC) G1V 4H5 >>(418)648-2516 >>nicolas.fortin@ec.gc.ca > > >> >> >> > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From pagameba@magma.ca Wed Dec 10 11:15:05 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBAGF58o023117 for ; Wed, 10 Dec 2003 11:15:05 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca Magma's Mail Server with ESMTP id hBAGF4qJ012191; Wed, 10 Dec 2003 11:15:04 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id hBAGEvaP030659; Wed, 10 Dec 2003 11:15:04 -0500 Message-ID: <3FD7467E.8050806@magma.ca> Date: Wed, 10 Dec 2003 11:14:54 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: nicolas.fortin@ec.gc.ca CC: chameleon@lists.maptools.org Subject: Re: RE : RE : RE : [Chameleon] Chameleon with Windows 2k and IIS References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: many thanks Nicolas. Cheers, Paul nicolas.fortin@ec.gc.ca wrote: > It's done: > http://www.maptools.org/chameleon/wiki/ChameleonIISHowToInstall > > I hope this will work for other Win2k/IIS users. > In fact, I have to install it on one of our internal server soon so I'll see > by myself. > > Nicolas > > > -----Message d'origine----- > De : nicolas.fortin@ec.gc.ca [mailto:nicolas.fortin@ec.gc.ca] > Envoyé : Wednesday, December 10, 2003 9:31 AM > À : spencer@dmsolutions.ca > Cc : chameleon@lists.maptools.org > Objet : RE : RE : [Chameleon] Chameleon with Windows 2k and IIS > > > > Hi Paul, > > I'll make a basic HowTo for the future windows2k/IIS chameleon users asap. > > Nicolas > > -----Message d'origine----- > De : Paul Spencer [mailto:pagameba@magma.ca] > Envoyé : Tuesday, December 09, 2003 8:14 PM > Cc : chameleon@lists.maptools.org > Objet : Re: RE : [Chameleon] Chameleon with Windows 2k and IIS > > > Nicholas/Bart, > > this is great stuff. It would be really great if you could add your > experiences (esp the IIS stuff) to the chameleon wiki, perhaps in the > FAQ page? The wiki (for those who have forgotten already ;)) is > available at: > > http://www.maptools.org/chameleon/wiki > > (also from the Docs page on the chameleon site) > > Cheers, > > Paul > > nicolas.fortin@ec.gc.ca wrote: > > >>Hi Bart, >> >>Thx for your fast answer! >> >>Unfortunately, I have to work with IIS only but I got it to work now! >> >>The /tmp was refering to the session.save_path in the php.ini file I >>comment all the (...) in the browscap.ini I change some path in the >>cwc2.xml >> >>And now the demo works :) >> >>Nicolas >> >>-----Message d'origine----- >>De : bartvde@xs4all.nl [mailto:bartvde@xs4all.nl] >>Envoyé : Tuesday, December 09, 2003 10:33 AM >>À : nicolas.fortin@ec.gc.ca >>Cc : chameleon@lists.maptools.org >>Objet : Re: [Chameleon] Chameleon with Windows 2k and IIS >> >> >>Hi Nicolas, >> >>I can give some brief answers, but for more elaborate ones you will >>need input from the guys at DmSolutions. >> >>I can tell you what needs to be done in Apache, and perhaps you are >>able to translate this to IIS. >> >>---- >>In httpd.conf from Apache: >> >>Alias /ms_tmp/ /ms4w/tmp/ms_tmp/ >> >>SetEnv PROJ_LIB /ms4w/proj/nad/ >> >>For PHP Chameleon "needs" the following: >> >>session.save_path = /ms4w/tmp >>---- >> >>Is there a specific reason why you are using the 1.0.4 version? The >>1.0 version will be deprecated in time and the 1.1 version is the one >>to go with. Although it is alpha, the core is pretty stable. >> >>I would recommend installing MS4W (with Apache and PHP preconfigured), >>then see how everything functions, and map this to IIS. >> >>-MS4W >>-latest Chameleon 1.1 alpha as an MS4W package >>-Chameleon sample application >> >>With regard to the Mapscript binaries with Oracle. The binaries for >>Mapserver which have Oracle Spatial support are built by somebody at >>the University of Minnesota. The PHP Mapscript are built by >>DmSolutions, and they don't provide one with Oracle Spatial support as >>far as I know. >> >>But you can always use the principle of Cascading WMS to have the >>mapserv.exe serve the Oracle Spatial data. >> >>Hope this is of some help. >> >>Best regards, >>Bart >> >> >> >>>Hi list, >>> >>>I'm using Mapserver for some time now and want to add Chameleon to get >>>more functionnality. I'm using Windows 2000 SP4 with IIS. >>> >>>Unfortunately, there's no doc about installing chameleon on Windows >>>platform with IIS with all steps. >>> >>>First I manually installed PHP in C:\PHP\ successfully. >>>Then I installed the PHP Mapscript extensions. I tested with >>phpinfo();?> and saw the PHP Mapscript extensions. Last I installed >>>Chameleon 1.0.4 in C:\cwc2\ and made a virtual directory from IIS that >>>point to C:\cwc2\htdocs I made the C:\cwc2 dir readable-writable by >>>IUSR_ I made some change to the C:\cwc2\config\cwc2.xml file but I >>>don't know if the paths in there are absolute or relative and if >>>relative...to what? >>> >>>If I try this : http://localhost/cwc2/cwc2.php?TEMPLATE=cwc2/demo.html >>>>>map_co >>>ntext.xml> &CONTEXT=cwc2/gmap_context.xml >>>I got: >>>FATAL ERROR: Session save path (/tmp) doesn't exist or is not writable >>>Notice: Undefined index: gszSessId in >>>C:\cwc2\htdocs\common\session\session.php on line 135 >>>PHP: Error parsing C:\winnt\system32\inetsrv\browscap.ini on line 1169 >>>PHP >>>Notice: Undefined index: gszSessId in >>>C:\cwc2\htdocs\common\session\session.php on line 135 >>> >>>I have a writable tmp dir at the root of IIS. >>>Line 1167-1170 of browscap.ini: >>> [Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461)] >>> parent=IE 5.5 >>> platform=Windows 2000 (T312461) >>> beta=False >>> >>> >>>1) What do I have to do to set up Chameleon correctly for Windows/IIS >>>? >>>2) I used Mapserver with Oracle 9.2. There's no INPUT=ORACLESPATIAL >>>for the version of Mapserver Mapscript use. Do Mapscript has a >>>precompiled version >>>of Mapserver or it will use the version I already have? >>> >>>Thx a lot, >>> >>>Nicolas Fortin >>>Mathématicien, Programmeur, Analyste de données >>>SMC-Québec Hydrologie, Environnement Canada >>>1141, Rte de l'Église, Sainte-Foy(QC) G1V 4H5 >>>(418)648-2516 >>>nicolas.fortin@ec.gc.ca >> > >>> >>> >>> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From thowlett@whistlermuseum.org Wed Dec 10 13:28:12 2003 Received: from smtp1000.radiant.net (smtp1000.radiant.net [216.21.149.209]) by www.maptools.org (8.12.5/8.12.5) with SMTP id hBAISB8o023975 for ; Wed, 10 Dec 2003 13:28:12 -0500 Message-Id: <200312101828.hBAISB8o023975@www.maptools.org> Received: (qmail 29038 invoked from network); 10 Dec 2003 18:17:04 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp1000.radiant.net with SMTP; 10 Dec 2003 18:17:04 -0000 Reply-To: From: "Tracy Howlett" To: Cc: Subject: RE: [Chameleon] FW: Welcome to the "Chameleon" mailing list Date: Wed, 10 Dec 2003 10:28:07 -0800 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <3FD68742.6040607@magma.ca> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcO+xsaGN7IoKIdZRZGJFvyaJhDicwAhEhFg Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Paul, Adding the NAD folder worked! I just downloaded the Proj4 file straight from the MapServer website but there was no folder structure inside. I've still got problems as none of the images (except for one button) have loaded but I think I read something about that somewhere else. Thanks! Tracy -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: Tuesday, December 09, 2003 6:39 PM Cc: thowlett@whistlermuseum.org; chameleon@lists.maptools.org Subject: Re: [Chameleon] FW: Welcome to the "Chameleon" mailing list Tracy, did this work? Paul Spencer wrote: > Tracy, > > this means that mapserver cannot find proj definitions for the > projection you have named. This may be because: > > 1. the projection you typed in is incorrect (ie 43204 instead of 42034) > 2. the system cannot find the epsg file. This may mean that it needs to > go in a "nad" subdirectory of c:\proj > > Check 1. and then try 2. :) > > Cheers, > > Paul > > Tracy Howlett wrote: > >> Can anyone tell me what this error means? >> >> PHP Warning: [MapServer Error]: msProcessProjection(): no system list >> >> I've got Proj4 loaded into my C:\PROJ directory and I've updated the epsg >> file as instructed in another thread. Is there something I need to >> change >> in a configuration file somewhere? >> >> Tracy >> >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From thowlett@whistlermuseum.org Wed Dec 10 14:49:54 2003 Received: from smtp1000.radiant.net (smtp1000.radiant.net [216.21.149.209]) by www.maptools.org (8.12.5/8.12.5) with SMTP id hBAJnm8o024501 for ; Wed, 10 Dec 2003 14:49:49 -0500 Message-Id: <200312101949.hBAJnm8o024501@www.maptools.org> Received: (qmail 6043 invoked from network); 10 Dec 2003 19:38:41 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp1000.radiant.net with SMTP; 10 Dec 2003 19:38:41 -0000 Reply-To: From: "Tracy Howlett" To: Cc: Subject: RE: [Chameleon] Newbie Startup Question Date: Wed, 10 Dec 2003 11:49:44 -0800 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <3FD687A7.9090603@magma.ca> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcO+xwIhr3frmmxcTVeuEaRLyEAmjwAj4vmA Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, Actually I have gone through the documentation put together by Nicolas (I'm on XP with IIS) and now the application won't load at all!! All was fine until I made the changes to the PHP.ini file. I'm now going back and undoing each change one by one to see where the problem is. Tracy -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: Tuesday, December 09, 2003 6:41 PM To: thowlett@whistlermuseum.org Cc: spencer@dmsolutions.ca; chameleon@lists.maptools.org Subject: Re: [Chameleon] Newbie Startup Question Tracy did you see the recent emails regarding setup with IIS? Did this solve your problem? Cheers, Paul Tracy Howlett wrote: > Windows XP with IIS > > -----Original Message----- > From: Paul Spencer [mailto:pagameba@magma.ca] > Sent: Friday, December 05, 2003 10:32 AM > To: thowlett@whistlermuseum.org > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Newbie Startup Question > > Tracy, what platform are you running on (windows/linux) and web server? > > Cheers, > > Paul > > Tracy Howlett wrote: > >>Thanks for the encouragement!! I noticed you posted a question about >>getting the sample app to work - did you ever get a response? I am >>having the exact same issue and it doesn't seem to matter what paths I >>put in to my phtml file I always end up with those same errors. >> >> >> >>How did you end up resolving your problems? >> >> >> >>Also - this is probably a really silly question but where can I find the >>web server error log? >> >> >> >>Tracy >> >> >> >>------------------------------------------------------------------------ >> >>*From:* chameleon-admin@lists.maptools.org >>[mailto:chameleon-admin@lists.maptools.org] *On Behalf Of *Ryan Belcher >>*Sent:* Thursday, December 04, 2003 2:47 PM >>*To:* thowlett@whistlermuseum.org; chameleon@lists.maptools.org >>*Subject:* RE: [Chameleon] Newbie Startup Question >> >> >> >>I had the same problem when I was first trying to get chameleon >>running. If you look at demo.php, it's just a redirect to cwc2.php >>which doesn't come with chameleon 1.1.x and I think that's why you're >>getting the page not found error. What you need to do is download the >>sample application and install it right along with chameleon. Then you >>will probably need to edit index.phtml in htdocs and correct the paths >>to chameleon.php and your map file. Then try to load index.phtml >> >> >> >>I think that was all I had to do besides correcting paths in my config >>file. Be sure to check the error log of your web server for more >>information on any errors you are getting. Hope that helps. >> >> >> >>Ryan >> >> -----Original Message----- >> *From:* chameleon-admin@lists.maptools.org >> [mailto:chameleon-admin@lists.maptools.org]*On Behalf Of *Tracy > > Howlett > >> *Sent:* Thursday, December 04, 2003 3:35 PM >> *To:* chameleon@lists.maptools.org >> *Subject:* [Chameleon] Newbie Startup Question >> >> Hi, >> >> >> >> I'm a complete beginner with all things MapServer/MapScript/PHP >> related so please bare with me. >> >> >> >> I've had MapServer 3.6 running for a couple of weeks with no >> trouble. It was recommended to me that I upgrade and install >> Chameleon for some enhanced features. I have installed MapServer >> 4.0.1 and PHP 4.3.4 and both seem to be working fine. I am, >> however, having trouble with the Chameleon install. I'm sure that >> the problem is with the paths I've set in the config file. When I >> try to open http://localhost/cwc2/chameleon.php I get a blank page. >> When I try to open http://localhost/cwc2/demo.php I get a page not >> found error. Should I be putting absolute or relative paths in my >> config file? Is there something I'm missing? I don't have >> wmsparse.exe installed because despite all documentation to the >> contrary, it was not included in my installation package and I >> haven't installed the GDAL component. >> >> >> >> I'd appreciate any help that anyone might be able to offer. I've >> done a lot of searching for help in the documentation but a lot of >> it seems incomplete. Perhaps I'm looking in the wrong place. >> >> >> >> Thanks, >> >> >> >> Tracy Howlett >> > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From nicolas.fortin@ec.gc.ca Wed Dec 10 15:04:32 2003 Received: from ecstfexch00.quebec.int.ec.gc.ca (fwstl1-1.wul.qc.ec.gc.ca [205.211.132.24]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBAK4V8o024623 for ; Wed, 10 Dec 2003 15:04:31 -0500 Received: by ecstfexch00.quebec.int.ec.gc.ca with Internet Mail Service (5.5.2653.19) id ; Wed, 10 Dec 2003 15:04:16 -0500 Message-ID: From: nicolas.fortin@ec.gc.ca To: thowlett@whistlermuseum.org, spencer@dmsolutions.ca Cc: chameleon@lists.maptools.org Subject: RE : [Chameleon] Newbie Startup Question Date: Wed, 10 Dec 2003 15:02:39 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id hBAK4V8o024623 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Tracy, XP is so different ... the changes I wrote with some extra notes for XP: extension_dir = "C:\PHP\extensions" Depends on your PHP installation directory -> [PHP install]\extensions doc_root = "C:\Inetpub\wwwroot" Mine is doc_root = Better if you have a virtual directory for chameleon session.save_path = C:\Inetpub\wwwroot\tmp (must exist...or C:\cwc2\htdocs\tmp) \tmp dir must exist and have write permissions for IUSR_ cgi.force_redirect = 0 no comments browscap = "C:\winnt\system32\inetsrv\browscap.ini" On winXP it's C:\WINDOWS\system32\inetsrv\browscap.ini Hope this helps Nicolas -----Message d'origine----- De : Tracy Howlett [mailto:thowlett@whistlermuseum.org] Envoyé : Wednesday, December 10, 2003 2:50 PM À : spencer@dmsolutions.ca Cc : chameleon@lists.maptools.org Objet : RE: [Chameleon] Newbie Startup Question Hi, Actually I have gone through the documentation put together by Nicolas (I'm on XP with IIS) and now the application won't load at all!! All was fine until I made the changes to the PHP.ini file. I'm now going back and undoing each change one by one to see where the problem is. Tracy -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: Tuesday, December 09, 2003 6:41 PM To: thowlett@whistlermuseum.org Cc: spencer@dmsolutions.ca; chameleon@lists.maptools.org Subject: Re: [Chameleon] Newbie Startup Question Tracy did you see the recent emails regarding setup with IIS? Did this solve your problem? Cheers, Paul Tracy Howlett wrote: > Windows XP with IIS > > -----Original Message----- > From: Paul Spencer [mailto:pagameba@magma.ca] > Sent: Friday, December 05, 2003 10:32 AM > To: thowlett@whistlermuseum.org > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Newbie Startup Question > > Tracy, what platform are you running on (windows/linux) and web > server? > > Cheers, > > Paul > > Tracy Howlett wrote: > >>Thanks for the encouragement!! I noticed you posted a question about >>getting the sample app to work - did you ever get a response? I am >>having the exact same issue and it doesn't seem to matter what paths I >>put in to my phtml file I always end up with those same errors. >> >> >> >>How did you end up resolving your problems? >> >> >> >>Also - this is probably a really silly question but where can I find >>the >>web server error log? >> >> >> >>Tracy >> >> >> >>---------------------------------------------------------------------- >>-- >> >>*From:* chameleon-admin@lists.maptools.org >>[mailto:chameleon-admin@lists.maptools.org] *On Behalf Of *Ryan Belcher >>*Sent:* Thursday, December 04, 2003 2:47 PM >>*To:* thowlett@whistlermuseum.org; chameleon@lists.maptools.org >>*Subject:* RE: [Chameleon] Newbie Startup Question >> >> >> >>I had the same problem when I was first trying to get chameleon >>running. If you look at demo.php, it's just a redirect to cwc2.php >>which doesn't come with chameleon 1.1.x and I think that's why you're >>getting the page not found error. What you need to do is download the >>sample application and install it right along with chameleon. Then you >>will probably need to edit index.phtml in htdocs and correct the paths >>to chameleon.php and your map file. Then try to load index.phtml >> >> >> >>I think that was all I had to do besides correcting paths in my config >>file. Be sure to check the error log of your web server for more >>information on any errors you are getting. Hope that helps. >> >> >> >>Ryan >> >> -----Original Message----- >> *From:* chameleon-admin@lists.maptools.org >> [mailto:chameleon-admin@lists.maptools.org]*On Behalf Of *Tracy > > Howlett > >> *Sent:* Thursday, December 04, 2003 3:35 PM >> *To:* chameleon@lists.maptools.org >> *Subject:* [Chameleon] Newbie Startup Question >> >> Hi, >> >> >> >> I'm a complete beginner with all things MapServer/MapScript/PHP >> related so please bare with me. >> >> >> >> I've had MapServer 3.6 running for a couple of weeks with no >> trouble. It was recommended to me that I upgrade and install >> Chameleon for some enhanced features. I have installed MapServer >> 4.0.1 and PHP 4.3.4 and both seem to be working fine. I am, >> however, having trouble with the Chameleon install. I'm sure that >> the problem is with the paths I've set in the config file. When I >> try to open http://localhost/cwc2/chameleon.php I get a blank page. >> When I try to open http://localhost/cwc2/demo.php I get a page not >> found error. Should I be putting absolute or relative paths in my >> config file? Is there something I'm missing? I don't have >> wmsparse.exe installed because despite all documentation to the >> contrary, it was not included in my installation package and I >> haven't installed the GDAL component. >> >> >> >> I'd appreciate any help that anyone might be able to offer. I've >> done a lot of searching for help in the documentation but a lot of >> it seems incomplete. Perhaps I'm looking in the wrong place. >> >> >> >> Thanks, >> >> >> >> Tracy Howlett >> > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From nicolas.fortin@ec.gc.ca Wed Dec 10 15:09:53 2003 Received: from ecstfexch00.quebec.int.ec.gc.ca (fwstl1-1.wul.qc.ec.gc.ca [205.211.132.24]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBAK9q8o024654 for ; Wed, 10 Dec 2003 15:09:53 -0500 Received: by ecstfexch00.quebec.int.ec.gc.ca with Internet Mail Service (5.5.2653.19) id ; Wed, 10 Dec 2003 15:09:36 -0500 Message-ID: From: nicolas.fortin@ec.gc.ca To: nicolas.fortin@ec.gc.ca, thowlett@whistlermuseum.org, spencer@dmsolutions.ca Cc: chameleon@lists.maptools.org Subject: RE : RE : [Chameleon] Newbie Startup Question Date: Wed, 10 Dec 2003 15:07:54 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id hBAK9q8o024654 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Sorry about the format...nevertheless it looks good when I sent it with outlook... Second try... extension_dir = "C:\PHP\extensions" Depends on your PHP installation directory -> [PHP install]\extensions doc_root = "C:\Inetpub\wwwroot" Mine is doc_root = Better if you have a virtual directory for chameleon session.save_path = C:\Inetpub\wwwroot\tmp (must exist...or C:\cwc2\htdocs\tmp) \tmp dir must exist and have write permissions for IUSR_ cgi.force_redirect = 0 no comments browscap = "C:\winnt\system32\inetsrv\browscap.ini" On winXP it's C:\WINDOWS\system32\inetsrv\browscap.ini Nic -----Message d'origine----- De : nicolas.fortin@ec.gc.ca [mailto:nicolas.fortin@ec.gc.ca] Envoyé : Wednesday, December 10, 2003 3:03 PM À : thowlett@whistlermuseum.org; spencer@dmsolutions.ca Cc : chameleon@lists.maptools.org Objet : RE : [Chameleon] Newbie Startup Question Hi Tracy, XP is so different ... the changes I wrote with some extra notes for XP: extension_dir = "C:\PHP\extensions" Depends on your PHP installation directory -> [PHP install]\extensions doc_root = "C:\Inetpub\wwwroot" Mine is doc_root = Better if you have a virtual directory for chameleon session.save_path = C:\Inetpub\wwwroot\tmp (must exist...or C:\cwc2\htdocs\tmp) \tmp dir must exist and have write permissions for IUSR_ cgi.force_redirect = 0 no comments browscap = "C:\winnt\system32\inetsrv\browscap.ini" On winXP it's C:\WINDOWS\system32\inetsrv\browscap.ini Hope this helps Nicolas -----Message d'origine----- De : Tracy Howlett [mailto:thowlett@whistlermuseum.org] Envoyé : Wednesday, December 10, 2003 2:50 PM À : spencer@dmsolutions.ca Cc : chameleon@lists.maptools.org Objet : RE: [Chameleon] Newbie Startup Question Hi, Actually I have gone through the documentation put together by Nicolas (I'm on XP with IIS) and now the application won't load at all!! All was fine until I made the changes to the PHP.ini file. I'm now going back and undoing each change one by one to see where the problem is. Tracy -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: Tuesday, December 09, 2003 6:41 PM To: thowlett@whistlermuseum.org Cc: spencer@dmsolutions.ca; chameleon@lists.maptools.org Subject: Re: [Chameleon] Newbie Startup Question Tracy did you see the recent emails regarding setup with IIS? Did this solve your problem? Cheers, Paul Tracy Howlett wrote: > Windows XP with IIS > > -----Original Message----- > From: Paul Spencer [mailto:pagameba@magma.ca] > Sent: Friday, December 05, 2003 10:32 AM > To: thowlett@whistlermuseum.org > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Newbie Startup Question > > Tracy, what platform are you running on (windows/linux) and web > server? > > Cheers, > > Paul > > Tracy Howlett wrote: > >>Thanks for the encouragement!! I noticed you posted a question about >>getting the sample app to work - did you ever get a response? I am >>having the exact same issue and it doesn't seem to matter what paths I >>put in to my phtml file I always end up with those same errors. >> >> >> >>How did you end up resolving your problems? >> >> >> >>Also - this is probably a really silly question but where can I find >>the >>web server error log? >> >> >> >>Tracy >> >> >> >>---------------------------------------------------------------------- >>-- >> >>*From:* chameleon-admin@lists.maptools.org >>[mailto:chameleon-admin@lists.maptools.org] *On Behalf Of *Ryan >>Belcher >>*Sent:* Thursday, December 04, 2003 2:47 PM >>*To:* thowlett@whistlermuseum.org; chameleon@lists.maptools.org >>*Subject:* RE: [Chameleon] Newbie Startup Question >> >> >> >>I had the same problem when I was first trying to get chameleon >>running. If you look at demo.php, it's just a redirect to cwc2.php >>which doesn't come with chameleon 1.1.x and I think that's why you're >>getting the page not found error. What you need to do is download the >>sample application and install it right along with chameleon. Then >>you will probably need to edit index.phtml in htdocs and correct the >>paths to chameleon.php and your map file. Then try to load >>index.phtml >> >> >> >>I think that was all I had to do besides correcting paths in my config >>file. Be sure to check the error log of your web server for more >>information on any errors you are getting. Hope that helps. >> >> >> >>Ryan >> >> -----Original Message----- >> *From:* chameleon-admin@lists.maptools.org >> [mailto:chameleon-admin@lists.maptools.org]*On Behalf Of *Tracy > > Howlett > >> *Sent:* Thursday, December 04, 2003 3:35 PM >> *To:* chameleon@lists.maptools.org >> *Subject:* [Chameleon] Newbie Startup Question >> >> Hi, >> >> >> >> I'm a complete beginner with all things MapServer/MapScript/PHP >> related so please bare with me. >> >> >> >> I've had MapServer 3.6 running for a couple of weeks with no >> trouble. It was recommended to me that I upgrade and install >> Chameleon for some enhanced features. I have installed MapServer >> 4.0.1 and PHP 4.3.4 and both seem to be working fine. I am, >> however, having trouble with the Chameleon install. I'm sure that >> the problem is with the paths I've set in the config file. When I >> try to open http://localhost/cwc2/chameleon.php I get a blank page. >> When I try to open http://localhost/cwc2/demo.php I get a page not >> found error. Should I be putting absolute or relative paths in my >> config file? Is there something I'm missing? I don't have >> wmsparse.exe installed because despite all documentation to the >> contrary, it was not included in my installation package and I >> haven't installed the GDAL component. >> >> >> >> I'd appreciate any help that anyone might be able to offer. I've >> done a lot of searching for help in the documentation but a lot of >> it seems incomplete. Perhaps I'm looking in the wrong place. >> >> >> >> Thanks, >> >> >> >> Tracy Howlett >> > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From thowlett@whistlermuseum.org Wed Dec 10 15:15:30 2003 Received: from smtp1000.radiant.net (smtp1000.radiant.net [216.21.149.209]) by www.maptools.org (8.12.5/8.12.5) with SMTP id hBAKFT8o024696 for ; Wed, 10 Dec 2003 15:15:29 -0500 Message-Id: <200312102015.hBAKFT8o024696@www.maptools.org> Received: (qmail 17433 invoked from network); 10 Dec 2003 20:04:22 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp1000.radiant.net with SMTP; 10 Dec 2003 20:04:22 -0000 Reply-To: From: "Tracy Howlett" To: , Cc: Subject: RE: RE : [Chameleon] Newbie Startup Question Date: Wed, 10 Dec 2003 12:15:25 -0800 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcO/WZIPhSCCeKoCQoqjzBxQ3BOkqAAAH7hg Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id hBAKFT8o024696 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Thanks Nicolas, I did actually take all of those things into consideration but there must be something else somewhere. The closest I've got to having the application run is to have the chameleon_sample application load but with all the images missing. Now I'm getting a blank screen or a 'page not found' error. I'll let you know if I figure it out. Tracy -----Original Message----- From: nicolas.fortin@ec.gc.ca [mailto:nicolas.fortin@ec.gc.ca] Sent: Wednesday, December 10, 2003 12:08 PM To: nicolas.fortin@ec.gc.ca; thowlett@whistlermuseum.org; spencer@dmsolutions.ca Cc: chameleon@lists.maptools.org Subject: RE : RE : [Chameleon] Newbie Startup Question Sorry about the format...nevertheless it looks good when I sent it with outlook... Second try... extension_dir = "C:\PHP\extensions" Depends on your PHP installation directory -> [PHP install]\extensions doc_root = "C:\Inetpub\wwwroot" Mine is doc_root = Better if you have a virtual directory for chameleon session.save_path = C:\Inetpub\wwwroot\tmp (must exist...or C:\cwc2\htdocs\tmp) \tmp dir must exist and have write permissions for IUSR_ cgi.force_redirect = 0 no comments browscap = "C:\winnt\system32\inetsrv\browscap.ini" On winXP it's C:\WINDOWS\system32\inetsrv\browscap.ini Nic -----Message d'origine----- De : nicolas.fortin@ec.gc.ca [mailto:nicolas.fortin@ec.gc.ca] Envoyé : Wednesday, December 10, 2003 3:03 PM À : thowlett@whistlermuseum.org; spencer@dmsolutions.ca Cc : chameleon@lists.maptools.org Objet : RE : [Chameleon] Newbie Startup Question Hi Tracy, XP is so different ... the changes I wrote with some extra notes for XP: extension_dir = "C:\PHP\extensions" Depends on your PHP installation directory -> [PHP install]\extensions doc_root = "C:\Inetpub\wwwroot" Mine is doc_root = Better if you have a virtual directory for chameleon session.save_path = C:\Inetpub\wwwroot\tmp (must exist...or C:\cwc2\htdocs\tmp) \tmp dir must exist and have write permissions for IUSR_ cgi.force_redirect = 0 no comments browscap = "C:\winnt\system32\inetsrv\browscap.ini" On winXP it's C:\WINDOWS\system32\inetsrv\browscap.ini Hope this helps Nicolas -----Message d'origine----- De : Tracy Howlett [mailto:thowlett@whistlermuseum.org] Envoyé : Wednesday, December 10, 2003 2:50 PM À : spencer@dmsolutions.ca Cc : chameleon@lists.maptools.org Objet : RE: [Chameleon] Newbie Startup Question Hi, Actually I have gone through the documentation put together by Nicolas (I'm on XP with IIS) and now the application won't load at all!! All was fine until I made the changes to the PHP.ini file. I'm now going back and undoing each change one by one to see where the problem is. Tracy -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: Tuesday, December 09, 2003 6:41 PM To: thowlett@whistlermuseum.org Cc: spencer@dmsolutions.ca; chameleon@lists.maptools.org Subject: Re: [Chameleon] Newbie Startup Question Tracy did you see the recent emails regarding setup with IIS? Did this solve your problem? Cheers, Paul Tracy Howlett wrote: > Windows XP with IIS > > -----Original Message----- > From: Paul Spencer [mailto:pagameba@magma.ca] > Sent: Friday, December 05, 2003 10:32 AM > To: thowlett@whistlermuseum.org > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Newbie Startup Question > > Tracy, what platform are you running on (windows/linux) and web > server? > > Cheers, > > Paul > > Tracy Howlett wrote: > >>Thanks for the encouragement!! I noticed you posted a question about >>getting the sample app to work - did you ever get a response? I am >>having the exact same issue and it doesn't seem to matter what paths I >>put in to my phtml file I always end up with those same errors. >> >> >> >>How did you end up resolving your problems? >> >> >> >>Also - this is probably a really silly question but where can I find >>the >>web server error log? >> >> >> >>Tracy >> >> >> >>---------------------------------------------------------------------- >>-- >> >>*From:* chameleon-admin@lists.maptools.org >>[mailto:chameleon-admin@lists.maptools.org] *On Behalf Of *Ryan >>Belcher >>*Sent:* Thursday, December 04, 2003 2:47 PM >>*To:* thowlett@whistlermuseum.org; chameleon@lists.maptools.org >>*Subject:* RE: [Chameleon] Newbie Startup Question >> >> >> >>I had the same problem when I was first trying to get chameleon >>running. If you look at demo.php, it's just a redirect to cwc2.php >>which doesn't come with chameleon 1.1.x and I think that's why you're >>getting the page not found error. What you need to do is download the >>sample application and install it right along with chameleon. Then >>you will probably need to edit index.phtml in htdocs and correct the >>paths to chameleon.php and your map file. Then try to load >>index.phtml >> >> >> >>I think that was all I had to do besides correcting paths in my config >>file. Be sure to check the error log of your web server for more >>information on any errors you are getting. Hope that helps. >> >> >> >>Ryan >> >> -----Original Message----- >> *From:* chameleon-admin@lists.maptools.org >> [mailto:chameleon-admin@lists.maptools.org]*On Behalf Of *Tracy > > Howlett > >> *Sent:* Thursday, December 04, 2003 3:35 PM >> *To:* chameleon@lists.maptools.org >> *Subject:* [Chameleon] Newbie Startup Question >> >> Hi, >> >> >> >> I'm a complete beginner with all things MapServer/MapScript/PHP >> related so please bare with me. >> >> >> >> I've had MapServer 3.6 running for a couple of weeks with no >> trouble. It was recommended to me that I upgrade and install >> Chameleon for some enhanced features. I have installed MapServer >> 4.0.1 and PHP 4.3.4 and both seem to be working fine. I am, >> however, having trouble with the Chameleon install. I'm sure that >> the problem is with the paths I've set in the config file. When I >> try to open http://localhost/cwc2/chameleon.php I get a blank page. >> When I try to open http://localhost/cwc2/demo.php I get a page not >> found error. Should I be putting absolute or relative paths in my >> config file? Is there something I'm missing? I don't have >> wmsparse.exe installed because despite all documentation to the >> contrary, it was not included in my installation package and I >> haven't installed the GDAL component. >> >> >> >> I'd appreciate any help that anyone might be able to offer. I've >> done a lot of searching for help in the documentation but a lot of >> it seems incomplete. Perhaps I'm looking in the wrong place. >> >> >> >> Thanks, >> >> >> >> Tracy Howlett >> > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From nicolas.fortin@ec.gc.ca Wed Dec 10 15:21:32 2003 Received: from ecstfexch00.quebec.int.ec.gc.ca (fwstl1-1.wul.qc.ec.gc.ca [205.211.132.24]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBAKLV8o024765 for ; Wed, 10 Dec 2003 15:21:31 -0500 Received: by ecstfexch00.quebec.int.ec.gc.ca with Internet Mail Service (5.5.2653.19) id ; Wed, 10 Dec 2003 15:21:16 -0500 Message-ID: From: nicolas.fortin@ec.gc.ca To: thowlett@whistlermuseum.org, nicolas.fortin@ec.gc.ca, spencer@dmsolutions.ca Cc: chameleon@lists.maptools.org Subject: RE : RE : [Chameleon] Newbie Startup Question Date: Wed, 10 Dec 2003 15:19:33 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id hBAKLV8o024765 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Tracy, If your problem is the images, try checking in the View Source and searching for [PHP install]\extensions doc_root = "C:\Inetpub\wwwroot" Mine is doc_root = Better if you have a virtual directory for chameleon session.save_path = C:\Inetpub\wwwroot\tmp (must exist...or C:\cwc2\htdocs\tmp) \tmp dir must exist and have write permissions for IUSR_ cgi.force_redirect = 0 no comments browscap = "C:\winnt\system32\inetsrv\browscap.ini" On winXP it's C:\WINDOWS\system32\inetsrv\browscap.ini Nic -----Message d'origine----- De : nicolas.fortin@ec.gc.ca [mailto:nicolas.fortin@ec.gc.ca] Envoyé : Wednesday, December 10, 2003 3:03 PM À : thowlett@whistlermuseum.org; spencer@dmsolutions.ca Cc : chameleon@lists.maptools.org Objet : RE : [Chameleon] Newbie Startup Question Hi Tracy, XP is so different ... the changes I wrote with some extra notes for XP: extension_dir = "C:\PHP\extensions" Depends on your PHP installation directory -> [PHP install]\extensions doc_root = "C:\Inetpub\wwwroot" Mine is doc_root = Better if you have a virtual directory for chameleon session.save_path = C:\Inetpub\wwwroot\tmp (must exist...or C:\cwc2\htdocs\tmp) \tmp dir must exist and have write permissions for IUSR_ cgi.force_redirect = 0 no comments browscap = "C:\winnt\system32\inetsrv\browscap.ini" On winXP it's C:\WINDOWS\system32\inetsrv\browscap.ini Hope this helps Nicolas -----Message d'origine----- De : Tracy Howlett [mailto:thowlett@whistlermuseum.org] Envoyé : Wednesday, December 10, 2003 2:50 PM À : spencer@dmsolutions.ca Cc : chameleon@lists.maptools.org Objet : RE: [Chameleon] Newbie Startup Question Hi, Actually I have gone through the documentation put together by Nicolas (I'm on XP with IIS) and now the application won't load at all!! All was fine until I made the changes to the PHP.ini file. I'm now going back and undoing each change one by one to see where the problem is. Tracy -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: Tuesday, December 09, 2003 6:41 PM To: thowlett@whistlermuseum.org Cc: spencer@dmsolutions.ca; chameleon@lists.maptools.org Subject: Re: [Chameleon] Newbie Startup Question Tracy did you see the recent emails regarding setup with IIS? Did this solve your problem? Cheers, Paul Tracy Howlett wrote: > Windows XP with IIS > > -----Original Message----- > From: Paul Spencer [mailto:pagameba@magma.ca] > Sent: Friday, December 05, 2003 10:32 AM > To: thowlett@whistlermuseum.org > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Newbie Startup Question > > Tracy, what platform are you running on (windows/linux) and web > server? > > Cheers, > > Paul > > Tracy Howlett wrote: > >>Thanks for the encouragement!! I noticed you posted a question about >>getting the sample app to work - did you ever get a response? I am >>having the exact same issue and it doesn't seem to matter what paths I >>put in to my phtml file I always end up with those same errors. >> >> >> >>How did you end up resolving your problems? >> >> >> >>Also - this is probably a really silly question but where can I find >>the web server error log? >> >> >> >>Tracy >> >> >> >>---------------------------------------------------------------------- >>-- >> >>*From:* chameleon-admin@lists.maptools.org >>[mailto:chameleon-admin@lists.maptools.org] *On Behalf Of *Ryan >>Belcher >>*Sent:* Thursday, December 04, 2003 2:47 PM >>*To:* thowlett@whistlermuseum.org; chameleon@lists.maptools.org >>*Subject:* RE: [Chameleon] Newbie Startup Question >> >> >> >>I had the same problem when I was first trying to get chameleon >>running. If you look at demo.php, it's just a redirect to cwc2.php >>which doesn't come with chameleon 1.1.x and I think that's why you're >>getting the page not found error. What you need to do is download the >>sample application and install it right along with chameleon. Then >>you will probably need to edit index.phtml in htdocs and correct the >>paths to chameleon.php and your map file. Then try to load >>index.phtml >> >> >> >>I think that was all I had to do besides correcting paths in my config >>file. Be sure to check the error log of your web server for more >>information on any errors you are getting. Hope that helps. >> >> >> >>Ryan >> >> -----Original Message----- >> *From:* chameleon-admin@lists.maptools.org >> [mailto:chameleon-admin@lists.maptools.org]*On Behalf Of *Tracy > > Howlett > >> *Sent:* Thursday, December 04, 2003 3:35 PM >> *To:* chameleon@lists.maptools.org >> *Subject:* [Chameleon] Newbie Startup Question >> >> Hi, >> >> >> >> I'm a complete beginner with all things MapServer/MapScript/PHP >> related so please bare with me. >> >> >> >> I've had MapServer 3.6 running for a couple of weeks with no >> trouble. It was recommended to me that I upgrade and install >> Chameleon for some enhanced features. I have installed MapServer >> 4.0.1 and PHP 4.3.4 and both seem to be working fine. I am, >> however, having trouble with the Chameleon install. I'm sure that >> the problem is with the paths I've set in the config file. When I >> try to open http://localhost/cwc2/chameleon.php I get a blank page. >> When I try to open http://localhost/cwc2/demo.php I get a page not >> found error. Should I be putting absolute or relative paths in my >> config file? Is there something I'm missing? I don't have >> wmsparse.exe installed because despite all documentation to the >> contrary, it was not included in my installation package and I >> haven't installed the GDAL component. >> >> >> >> I'd appreciate any help that anyone might be able to offer. I've >> done a lot of searching for help in the documentation but a lot of >> it seems incomplete. Perhaps I'm looking in the wrong place. >> >> >> >> Thanks, >> >> >> >> Tracy Howlett >> > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From thowlett@whistlermuseum.org Wed Dec 10 15:30:30 2003 Received: from smtp1000.radiant.net (smtp1000.radiant.net [216.21.149.209]) by www.maptools.org (8.12.5/8.12.5) with SMTP id hBAKUU8o024813 for ; Wed, 10 Dec 2003 15:30:30 -0500 Message-Id: <200312102030.hBAKUU8o024813@www.maptools.org> Received: (qmail 24167 invoked from network); 10 Dec 2003 20:19:23 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp1000.radiant.net with SMTP; 10 Dec 2003 20:19:23 -0000 Reply-To: From: "Tracy Howlett" To: , Cc: Subject: RE: RE : [Chameleon] Newbie Startup Question Date: Wed, 10 Dec 2003 12:30:25 -0800 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcO/WZIPhSCCeKoCQoqjzBxQ3BOkqAAArkIw Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id hBAKUU8o024813 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, Just to follow up on my problem. It was the doc_root = "C:\Inetpub\wwwroot" - I had to leave this blank. As soon as I put that value in there the application fails. Now to fix those images! Tracy -----Original Message----- From: nicolas.fortin@ec.gc.ca [mailto:nicolas.fortin@ec.gc.ca] Sent: Wednesday, December 10, 2003 12:08 PM To: nicolas.fortin@ec.gc.ca; thowlett@whistlermuseum.org; spencer@dmsolutions.ca Cc: chameleon@lists.maptools.org Subject: RE : RE : [Chameleon] Newbie Startup Question Sorry about the format...nevertheless it looks good when I sent it with outlook... Second try... extension_dir = "C:\PHP\extensions" Depends on your PHP installation directory -> [PHP install]\extensions doc_root = "C:\Inetpub\wwwroot" Mine is doc_root = Better if you have a virtual directory for chameleon session.save_path = C:\Inetpub\wwwroot\tmp (must exist...or C:\cwc2\htdocs\tmp) \tmp dir must exist and have write permissions for IUSR_ cgi.force_redirect = 0 no comments browscap = "C:\winnt\system32\inetsrv\browscap.ini" On winXP it's C:\WINDOWS\system32\inetsrv\browscap.ini Nic -----Message d'origine----- De : nicolas.fortin@ec.gc.ca [mailto:nicolas.fortin@ec.gc.ca] Envoyé : Wednesday, December 10, 2003 3:03 PM À : thowlett@whistlermuseum.org; spencer@dmsolutions.ca Cc : chameleon@lists.maptools.org Objet : RE : [Chameleon] Newbie Startup Question Hi Tracy, XP is so different ... the changes I wrote with some extra notes for XP: extension_dir = "C:\PHP\extensions" Depends on your PHP installation directory -> [PHP install]\extensions doc_root = "C:\Inetpub\wwwroot" Mine is doc_root = Better if you have a virtual directory for chameleon session.save_path = C:\Inetpub\wwwroot\tmp (must exist...or C:\cwc2\htdocs\tmp) \tmp dir must exist and have write permissions for IUSR_ cgi.force_redirect = 0 no comments browscap = "C:\winnt\system32\inetsrv\browscap.ini" On winXP it's C:\WINDOWS\system32\inetsrv\browscap.ini Hope this helps Nicolas -----Message d'origine----- De : Tracy Howlett [mailto:thowlett@whistlermuseum.org] Envoyé : Wednesday, December 10, 2003 2:50 PM À : spencer@dmsolutions.ca Cc : chameleon@lists.maptools.org Objet : RE: [Chameleon] Newbie Startup Question Hi, Actually I have gone through the documentation put together by Nicolas (I'm on XP with IIS) and now the application won't load at all!! All was fine until I made the changes to the PHP.ini file. I'm now going back and undoing each change one by one to see where the problem is. Tracy -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: Tuesday, December 09, 2003 6:41 PM To: thowlett@whistlermuseum.org Cc: spencer@dmsolutions.ca; chameleon@lists.maptools.org Subject: Re: [Chameleon] Newbie Startup Question Tracy did you see the recent emails regarding setup with IIS? Did this solve your problem? Cheers, Paul Tracy Howlett wrote: > Windows XP with IIS > > -----Original Message----- > From: Paul Spencer [mailto:pagameba@magma.ca] > Sent: Friday, December 05, 2003 10:32 AM > To: thowlett@whistlermuseum.org > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Newbie Startup Question > > Tracy, what platform are you running on (windows/linux) and web > server? > > Cheers, > > Paul > > Tracy Howlett wrote: > >>Thanks for the encouragement!! I noticed you posted a question about >>getting the sample app to work - did you ever get a response? I am >>having the exact same issue and it doesn't seem to matter what paths I >>put in to my phtml file I always end up with those same errors. >> >> >> >>How did you end up resolving your problems? >> >> >> >>Also - this is probably a really silly question but where can I find >>the >>web server error log? >> >> >> >>Tracy >> >> >> >>---------------------------------------------------------------------- >>-- >> >>*From:* chameleon-admin@lists.maptools.org >>[mailto:chameleon-admin@lists.maptools.org] *On Behalf Of *Ryan >>Belcher >>*Sent:* Thursday, December 04, 2003 2:47 PM >>*To:* thowlett@whistlermuseum.org; chameleon@lists.maptools.org >>*Subject:* RE: [Chameleon] Newbie Startup Question >> >> >> >>I had the same problem when I was first trying to get chameleon >>running. If you look at demo.php, it's just a redirect to cwc2.php >>which doesn't come with chameleon 1.1.x and I think that's why you're >>getting the page not found error. What you need to do is download the >>sample application and install it right along with chameleon. Then >>you will probably need to edit index.phtml in htdocs and correct the >>paths to chameleon.php and your map file. Then try to load >>index.phtml >> >> >> >>I think that was all I had to do besides correcting paths in my config >>file. Be sure to check the error log of your web server for more >>information on any errors you are getting. Hope that helps. >> >> >> >>Ryan >> >> -----Original Message----- >> *From:* chameleon-admin@lists.maptools.org >> [mailto:chameleon-admin@lists.maptools.org]*On Behalf Of *Tracy > > Howlett > >> *Sent:* Thursday, December 04, 2003 3:35 PM >> *To:* chameleon@lists.maptools.org >> *Subject:* [Chameleon] Newbie Startup Question >> >> Hi, >> >> >> >> I'm a complete beginner with all things MapServer/MapScript/PHP >> related so please bare with me. >> >> >> >> I've had MapServer 3.6 running for a couple of weeks with no >> trouble. It was recommended to me that I upgrade and install >> Chameleon for some enhanced features. I have installed MapServer >> 4.0.1 and PHP 4.3.4 and both seem to be working fine. I am, >> however, having trouble with the Chameleon install. I'm sure that >> the problem is with the paths I've set in the config file. When I >> try to open http://localhost/cwc2/chameleon.php I get a blank page. >> When I try to open http://localhost/cwc2/demo.php I get a page not >> found error. Should I be putting absolute or relative paths in my >> config file? Is there something I'm missing? I don't have >> wmsparse.exe installed because despite all documentation to the >> contrary, it was not included in my installation package and I >> haven't installed the GDAL component. >> >> >> >> I'd appreciate any help that anyone might be able to offer. I've >> done a lot of searching for help in the documentation but a lot of >> it seems incomplete. Perhaps I'm looking in the wrong place. >> >> >> >> Thanks, >> >> >> >> Tracy Howlett >> > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From thowlett@whistlermuseum.org Wed Dec 10 15:56:57 2003 Received: from smtp1000.radiant.net (smtp1000.radiant.net [216.21.149.209]) by www.maptools.org (8.12.5/8.12.5) with SMTP id hBAKuu8o024936 for ; Wed, 10 Dec 2003 15:56:56 -0500 Message-Id: <200312102056.hBAKuu8o024936@www.maptools.org> Received: (qmail 7559 invoked from network); 10 Dec 2003 20:45:46 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp1000.radiant.net with SMTP; 10 Dec 2003 20:45:46 -0000 Reply-To: From: "Tracy Howlett" To: , Cc: Subject: RE: RE : [Chameleon] Newbie Startup Question Date: Wed, 10 Dec 2003 12:56:49 -0800 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcO/W3Tbon+g+qOaQReW1X4nzlMIpwABD6+g Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id hBAKuu8o024936 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Nearly got it sorted. Now all of the images load except the main map which says it is loading but just sits there forever. I've narrowed the problem down to this line (this is the resultant index.phtml code) which really doesn't look right to me. Does anyone know how and where I can make the change. content = ""; CWCDHTML_CreateLayer("MapLayerDiv", gMapWhspc, gMapWvspc, gMapWiWidth, gMapWiHeight, true, content); Thanks Tracy -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of nicolas.fortin@ec.gc.ca Sent: Wednesday, December 10, 2003 12:20 PM To: thowlett@whistlermuseum.org; nicolas.fortin@ec.gc.ca; spencer@dmsolutions.ca Cc: chameleon@lists.maptools.org Subject: RE : RE : [Chameleon] Newbie Startup Question Tracy, If your problem is the images, try checking in the View Source and searching for [PHP install]\extensions doc_root = "C:\Inetpub\wwwroot" Mine is doc_root = Better if you have a virtual directory for chameleon session.save_path = C:\Inetpub\wwwroot\tmp (must exist...or C:\cwc2\htdocs\tmp) \tmp dir must exist and have write permissions for IUSR_ cgi.force_redirect = 0 no comments browscap = "C:\winnt\system32\inetsrv\browscap.ini" On winXP it's C:\WINDOWS\system32\inetsrv\browscap.ini Nic -----Message d'origine----- De : nicolas.fortin@ec.gc.ca [mailto:nicolas.fortin@ec.gc.ca] Envoyé : Wednesday, December 10, 2003 3:03 PM À : thowlett@whistlermuseum.org; spencer@dmsolutions.ca Cc : chameleon@lists.maptools.org Objet : RE : [Chameleon] Newbie Startup Question Hi Tracy, XP is so different ... the changes I wrote with some extra notes for XP: extension_dir = "C:\PHP\extensions" Depends on your PHP installation directory -> [PHP install]\extensions doc_root = "C:\Inetpub\wwwroot" Mine is doc_root = Better if you have a virtual directory for chameleon session.save_path = C:\Inetpub\wwwroot\tmp (must exist...or C:\cwc2\htdocs\tmp) \tmp dir must exist and have write permissions for IUSR_ cgi.force_redirect = 0 no comments browscap = "C:\winnt\system32\inetsrv\browscap.ini" On winXP it's C:\WINDOWS\system32\inetsrv\browscap.ini Hope this helps Nicolas -----Message d'origine----- De : Tracy Howlett [mailto:thowlett@whistlermuseum.org] Envoyé : Wednesday, December 10, 2003 2:50 PM À : spencer@dmsolutions.ca Cc : chameleon@lists.maptools.org Objet : RE: [Chameleon] Newbie Startup Question Hi, Actually I have gone through the documentation put together by Nicolas (I'm on XP with IIS) and now the application won't load at all!! All was fine until I made the changes to the PHP.ini file. I'm now going back and undoing each change one by one to see where the problem is. Tracy -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: Tuesday, December 09, 2003 6:41 PM To: thowlett@whistlermuseum.org Cc: spencer@dmsolutions.ca; chameleon@lists.maptools.org Subject: Re: [Chameleon] Newbie Startup Question Tracy did you see the recent emails regarding setup with IIS? Did this solve your problem? Cheers, Paul Tracy Howlett wrote: > Windows XP with IIS > > -----Original Message----- > From: Paul Spencer [mailto:pagameba@magma.ca] > Sent: Friday, December 05, 2003 10:32 AM > To: thowlett@whistlermuseum.org > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Newbie Startup Question > > Tracy, what platform are you running on (windows/linux) and web > server? > > Cheers, > > Paul > > Tracy Howlett wrote: > >>Thanks for the encouragement!! I noticed you posted a question about >>getting the sample app to work - did you ever get a response? I am >>having the exact same issue and it doesn't seem to matter what paths I >>put in to my phtml file I always end up with those same errors. >> >> >> >>How did you end up resolving your problems? >> >> >> >>Also - this is probably a really silly question but where can I find >>the web server error log? >> >> >> >>Tracy >> >> >> >>---------------------------------------------------------------------- >>-- >> >>*From:* chameleon-admin@lists.maptools.org >>[mailto:chameleon-admin@lists.maptools.org] *On Behalf Of *Ryan >>Belcher >>*Sent:* Thursday, December 04, 2003 2:47 PM >>*To:* thowlett@whistlermuseum.org; chameleon@lists.maptools.org >>*Subject:* RE: [Chameleon] Newbie Startup Question >> >> >> >>I had the same problem when I was first trying to get chameleon >>running. If you look at demo.php, it's just a redirect to cwc2.php >>which doesn't come with chameleon 1.1.x and I think that's why you're >>getting the page not found error. What you need to do is download the >>sample application and install it right along with chameleon. Then >>you will probably need to edit index.phtml in htdocs and correct the >>paths to chameleon.php and your map file. Then try to load >>index.phtml >> >> >> >>I think that was all I had to do besides correcting paths in my config >>file. Be sure to check the error log of your web server for more >>information on any errors you are getting. Hope that helps. >> >> >> >>Ryan >> >> -----Original Message----- >> *From:* chameleon-admin@lists.maptools.org >> [mailto:chameleon-admin@lists.maptools.org]*On Behalf Of *Tracy > > Howlett > >> *Sent:* Thursday, December 04, 2003 3:35 PM >> *To:* chameleon@lists.maptools.org >> *Subject:* [Chameleon] Newbie Startup Question >> >> Hi, >> >> >> >> I'm a complete beginner with all things MapServer/MapScript/PHP >> related so please bare with me. >> >> >> >> I've had MapServer 3.6 running for a couple of weeks with no >> trouble. It was recommended to me that I upgrade and install >> Chameleon for some enhanced features. I have installed MapServer >> 4.0.1 and PHP 4.3.4 and both seem to be working fine. I am, >> however, having trouble with the Chameleon install. I'm sure that >> the problem is with the paths I've set in the config file. When I >> try to open http://localhost/cwc2/chameleon.php I get a blank page. >> When I try to open http://localhost/cwc2/demo.php I get a page not >> found error. Should I be putting absolute or relative paths in my >> config file? Is there something I'm missing? I don't have >> wmsparse.exe installed because despite all documentation to the >> contrary, it was not included in my installation package and I >> haven't installed the GDAL component. >> >> >> >> I'd appreciate any help that anyone might be able to offer. I've >> done a lot of searching for help in the documentation but a lot of >> it seems incomplete. Perhaps I'm looking in the wrong place. >> >> >> >> Thanks, >> >> >> >> Tracy Howlett >> > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From jmckenna@connect.carleton.ca Thu Dec 11 14:51:21 2003 Received: from connectmail.carleton.ca (connectmail.carleton.ca [134.117.2.12]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBBJpI8o031645 for ; Thu, 11 Dec 2003 14:51:19 -0500 Received: from connect (connect.carleton.ca [134.117.2.33]) by connectmail.carleton.ca (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with SMTP id <0HPQ00I7OXTHH6@connectmail.carleton.ca> for chameleon@lists.maptools.org; Thu, 11 Dec 2003 14:51:17 -0500 (EST) Date: Thu, 11 Dec 2003 14:51:16 -0500 (EST) From: Jeff McKenna To: chameleon@lists.maptools.org Message-id: <6353512.1071172276489.JavaMail.jmckenna@connect.carleton.ca> MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Subject: [Chameleon] KeyMap problem with Chameleon 1.1 Alpha6 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hello everyone, I am using the 1.1 Sample Application and trying to get sample.html to display the keymap. As mentioned in the subject line, I am running Chameleon 1.1 Alpha6 (October 31st release). I have followed instructions in a previous post, but no success (http://lists.maptools.org/pipermail/chameleon/2003-October/000119.html) . Here's what I've tried: - removed the keymap section in the sample mapfile - relative path from the sample.html template in the keymap tag (image="images/keymap.png") - absolute path to keymap.png in the keymap tag (image="C:/GCRC/www/chameleon_sample/htdocs/images/keymap.png") - even some oddball attempts: placing the keymap in the /htdocs/common/wrapper folder and image='keymap.png' I've correctly specified the size, and extents of the keymap image. win2003-server. thanks. Jeff From thowlett@whistlermuseum.org Thu Dec 11 18:39:58 2003 Received: from smtp.inetwave.com (smtp1000.radiant.net [216.21.149.210] (may be forged)) by www.maptools.org (8.12.5/8.12.5) with SMTP id hBBNds8o032450 for ; Thu, 11 Dec 2003 18:39:55 -0500 Message-Id: <200312112339.hBBNds8o032450@www.maptools.org> Received: (qmail 19451 invoked from network); 11 Dec 2003 23:31:35 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp1000.radiant.net with SMTP; 11 Dec 2003 23:31:35 -0000 Reply-To: From: "Tracy Howlett" To: "'Jeff McKenna'" , Subject: RE: [Chameleon] KeyMap problem with Chameleon 1.1 Alpha6 Date: Thu, 11 Dec 2003 15:39:47 -0800 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPAPe7kotNoWA1+Q6uqhrK2ksVwLgAAfjgA In-Reply-To: <6353512.1071172276489.JavaMail.jmckenna@connect.carleton.ca> Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Have you tried looking in your .map file? I'm also using Chameleon 1.1 and I couldn't get the key map to show until I edited the chameleon.map file - it was looking for keymap.gif, just change that to keymap.png. -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Jeff McKenna Sent: Thursday, December 11, 2003 11:51 AM To: chameleon@lists.maptools.org Subject: [Chameleon] KeyMap problem with Chameleon 1.1 Alpha6 Hello everyone, I am using the 1.1 Sample Application and trying to get sample.html to display the keymap. As mentioned in the subject line, I am running Chameleon 1.1 Alpha6 (October 31st release). I have followed instructions in a previous post, but no success (http://lists.maptools.org/pipermail/chameleon/2003-October/000119.html) . Here's what I've tried: - removed the keymap section in the sample mapfile - relative path from the sample.html template in the keymap tag (image="images/keymap.png") - absolute path to keymap.png in the keymap tag (image="C:/GCRC/www/chameleon_sample/htdocs/images/keymap.png") - even some oddball attempts: placing the keymap in the /htdocs/common/wrapper folder and image='keymap.png' I've correctly specified the size, and extents of the keymap image. win2003-server. thanks. Jeff _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From pagameba@magma.ca Fri Dec 12 08:16:48 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBCDGj8o003405 for ; Fri, 12 Dec 2003 08:16:46 -0500 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id hBCDGiPL016343; Fri, 12 Dec 2003 08:16:44 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail1.magma.ca (8.12.10/8.12.9) with ESMTP id hBCDGfu2007524; Fri, 12 Dec 2003 08:16:44 -0500 Message-ID: <3FD9BFB8.8020108@magma.ca> Date: Fri, 12 Dec 2003 08:16:40 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jeff McKenna CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] KeyMap problem with Chameleon 1.1 Alpha6 References: <6353512.1071172276489.JavaMail.jmckenna@connect.carleton.ca> In-Reply-To: <6353512.1071172276489.JavaMail.jmckenna@connect.carleton.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Jeff, do you get no keymap image at all? If not, then try right clicking on the broken image and selecting 'properties', then copy the url and paste it into a new browser window and submit it. You should, hopefully, get some sort of error message. cheers, Paul Jeff McKenna wrote: > Hello everyone, > > I am using the 1.1 Sample Application and trying to get sample.html to > display the keymap. As mentioned in the subject line, I am running > Chameleon 1.1 Alpha6 (October 31st release). > > I have followed instructions in a previous post, but no success > (http://lists.maptools.org/pipermail/chameleon/2003-October/000119.html) > . > > Here's what I've tried: > > - removed the keymap section in the sample mapfile > - relative path from the sample.html template in the keymap tag > (image="images/keymap.png") > - absolute path to keymap.png in the keymap tag > (image="C:/GCRC/www/chameleon_sample/htdocs/images/keymap.png") > - even some oddball attempts: placing the keymap in the > /htdocs/common/wrapper folder and image='keymap.png' > > I've correctly specified the size, and extents of the keymap image. > win2003-server. > > thanks. > > Jeff > > > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From thowlett@whistlermuseum.org Fri Dec 12 13:06:01 2003 Received: from smtp1000.radiant.net (smtp1000.radiant.net [216.21.149.209]) by www.maptools.org (8.12.5/8.12.5) with SMTP id hBCI5v8o004375 for ; Fri, 12 Dec 2003 13:06:00 -0500 Message-Id: <200312121806.hBCI5v8o004375@www.maptools.org> Received: (qmail 1415 invoked from network); 12 Dec 2003 17:54:43 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp1000.radiant.net with SMTP; 12 Dec 2003 17:54:43 -0000 Reply-To: From: "Tracy Howlett" To: Date: Fri, 12 Dec 2003 10:05:48 -0800 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <3FD9BFB8.8020108@magma.ca> Thread-Index: AcPAsmnnRcRhKrNUTPyCNeQj5vdUcwAJ9uxA Subject: [Chameleon] Map Loading Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hello Again, I'm lost again! My index.phtml page loads with all of the buttons and the keymap image but the map image never loads. The 'map loading...please wait' notice pops up and seems to spin forever. I had it going for over an hour yesterday before I closed the page down. Can anyone suggest where I can look to find the error? Tracy -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Paul Spencer Sent: Friday, December 12, 2003 5:17 AM To: Jeff McKenna Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] KeyMap problem with Chameleon 1.1 Alpha6 Jeff, do you get no keymap image at all? If not, then try right clicking on the broken image and selecting 'properties', then copy the url and paste it into a new browser window and submit it. You should, hopefully, get some sort of error message. cheers, Paul Jeff McKenna wrote: > Hello everyone, > > I am using the 1.1 Sample Application and trying to get sample.html to > display the keymap. As mentioned in the subject line, I am running > Chameleon 1.1 Alpha6 (October 31st release). > > I have followed instructions in a previous post, but no success > (http://lists.maptools.org/pipermail/chameleon/2003-October/000119.html) > . > > Here's what I've tried: > > - removed the keymap section in the sample mapfile > - relative path from the sample.html template in the keymap tag > (image="images/keymap.png") > - absolute path to keymap.png in the keymap tag > (image="C:/GCRC/www/chameleon_sample/htdocs/images/keymap.png") > - even some oddball attempts: placing the keymap in the > /htdocs/common/wrapper folder and image='keymap.png' > > I've correctly specified the size, and extents of the keymap image. > win2003-server. > > thanks. > > Jeff > > > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From pagameba@magma.ca Fri Dec 12 16:34:03 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBCLY18o005170 for ; Fri, 12 Dec 2003 16:34:01 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id hBCLY00C023372; Fri, 12 Dec 2003 16:34:00 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id hBCLXqUV006121; Fri, 12 Dec 2003 16:33:59 -0500 Message-ID: <3FDA3440.7050109@magma.ca> Date: Fri, 12 Dec 2003 16:33:52 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: thowlett@whistlermuseum.org CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Map Loading References: <200312121806.hBCI5v8o004375@www.maptools.org> In-Reply-To: <200312121806.hBCI5v8o004375@www.maptools.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Tracey, there are a couple of things that can cause this problem, but you should be able to isolate it by right clicking on the broken image link in the main map and selecting properties, copying the URL (should be to '/drawmap.php?') into a new browser and loading it directly. This will try to draw the map into a separate browser window and hopefully you will get some sort of error message that will tell you what the error is. My first suspicision is some sort of error in the map file. To test this, you can create a small php script to make sure the map loads and can draw ... " ); $oImage = $oMap->draw(); $szURL = $oImage->saveWebImage(); echo ""; ?> this script, and variations of it are very useful to make sure that the map file is both syntatically correct, and the data for the layers is set up correctly. If this works, then the error is somewhere in the chameleon configuration or it is a bug in chameleon. Cheers, Paul Tracy Howlett wrote: > Hello Again, > > I'm lost again! My index.phtml page loads with all of the buttons and the > keymap image but the map image never loads. The 'map loading...please wait' > notice pops up and seems to spin forever. I had it going for over an hour > yesterday before I closed the page down. Can anyone suggest where I can > look to find the error? > > Tracy > > -----Original Message----- > From: chameleon-admin@lists.maptools.org > [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Paul Spencer > Sent: Friday, December 12, 2003 5:17 AM > To: Jeff McKenna > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] KeyMap problem with Chameleon 1.1 Alpha6 > > Jeff, > > do you get no keymap image at all? If not, then try right clicking on > the broken image and selecting 'properties', then copy the url and paste > it into a new browser window and submit it. You should, hopefully, get > some sort of error message. > > cheers, > > Paul > > Jeff McKenna wrote: > > >>Hello everyone, >> >>I am using the 1.1 Sample Application and trying to get sample.html to >>display the keymap. As mentioned in the subject line, I am running >>Chameleon 1.1 Alpha6 (October 31st release). >> >>I have followed instructions in a previous post, but no success >>(http://lists.maptools.org/pipermail/chameleon/2003-October/000119.html) >>. >> >>Here's what I've tried: >> >>- removed the keymap section in the sample mapfile >>- relative path from the sample.html template in the keymap tag >>(image="images/keymap.png") >>- absolute path to keymap.png in the keymap tag >>(image="C:/GCRC/www/chameleon_sample/htdocs/images/keymap.png") >>- even some oddball attempts: placing the keymap in the >>/htdocs/common/wrapper folder and image='keymap.png' >> >>I've correctly specified the size, and extents of the keymap image. >>win2003-server. >> >>thanks. >> >>Jeff >> >> >> >> >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From thowlett@whistlermuseum.org Fri Dec 12 18:03:25 2003 Received: from smtp1000.radiant.net (smtp1000.radiant.net [216.21.149.209]) by www.maptools.org (8.12.5/8.12.5) with SMTP id hBCN3L8o005520 for ; Fri, 12 Dec 2003 18:03:23 -0500 Message-Id: <200312122303.hBCN3L8o005520@www.maptools.org> Received: (qmail 29267 invoked from network); 12 Dec 2003 22:52:08 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp1000.radiant.net with SMTP; 12 Dec 2003 22:52:08 -0000 Reply-To: From: "Tracy Howlett" To: Cc: Subject: RE: [Chameleon] Map Loading Date: Fri, 12 Dec 2003 15:03:13 -0800 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <3FDA3440.7050109@magma.ca> Thread-Index: AcPA96mE3OqfApCrTvOt8doakikeGgAC69Rg Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Paul, Thanks for the help. When I copy the URL directly into the browser I was getting this error: PHP Warning: dl(): Unable to load dynamic library 'C:\PHP\extensions\php_mapscript.dll' - The specified module could not be found. in C:\apps\cwc2\htdocs\common\wrapper\drawmap.php on line 271 PHP Fatal error: Call to undefined function: ms_getversion() in C:\apps\cwc2\htdocs\common\wrapper\drawmap.php on line 272 PHP Notice: Undefined index: gszSessId in C:\apps\cwc2\htdocs\common\session\session.php on line 135 I adjusted the drawmap.php to look for php_mapscript_4.0.1.dll(my version) and then I get this error: PHP Notice: Undefined index: map_session_mode in C:\apps\cwc2\htdocs\common\wrapper\drawmap.php on line 332 PHP Fatal error: Call to a member function on a non-object in C:\apps\cwc2\htdocs\common\wrapper\drawmap.php on line 375 PHP Notice: Undefined index: gszSessId in C:\apps\cwc2\htdocs\common\session\session.php on line 135 I've checked my session paths in the php.ini file, the session.php file and they seem to be correct. I tried using your sample php script and running it from my chameleon_sample/htdocs directory and this is the result: PHP Warning: [MapServer Error]: msGetLabelSize(): Could not find/open font in C:\Apps\chameleon_sample\htdocs\maptest.php on line 4 PHP Fatal error: Call to a member function on a non-object in C:\Apps\chameleon_sample\htdocs\maptest.php on line 5 I've checked every path that I can find relative to the font files and they all appear to be correct. Any thoughts? Tracy -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: Friday, December 12, 2003 1:34 PM To: thowlett@whistlermuseum.org Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Map Loading Tracey, there are a couple of things that can cause this problem, but you should be able to isolate it by right clicking on the broken image link in the main map and selecting properties, copying the URL (should be to '/drawmap.php?') into a new browser and loading it directly. This will try to draw the map into a separate browser window and hopefully you will get some sort of error message that will tell you what the error is. My first suspicision is some sort of error in the map file. To test this, you can create a small php script to make sure the map loads and can draw ... " ); $oImage = $oMap->draw(); $szURL = $oImage->saveWebImage(); echo ""; ?> this script, and variations of it are very useful to make sure that the map file is both syntatically correct, and the data for the layers is set up correctly. If this works, then the error is somewhere in the chameleon configuration or it is a bug in chameleon. Cheers, Paul Tracy Howlett wrote: > Hello Again, > > I'm lost again! My index.phtml page loads with all of the buttons and the > keymap image but the map image never loads. The 'map loading...please wait' > notice pops up and seems to spin forever. I had it going for over an hour > yesterday before I closed the page down. Can anyone suggest where I can > look to find the error? > > Tracy > > -----Original Message----- > From: chameleon-admin@lists.maptools.org > [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Paul Spencer > Sent: Friday, December 12, 2003 5:17 AM > To: Jeff McKenna > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] KeyMap problem with Chameleon 1.1 Alpha6 > > Jeff, > > do you get no keymap image at all? If not, then try right clicking on > the broken image and selecting 'properties', then copy the url and paste > it into a new browser window and submit it. You should, hopefully, get > some sort of error message. > > cheers, > > Paul > > Jeff McKenna wrote: > > >>Hello everyone, >> >>I am using the 1.1 Sample Application and trying to get sample.html to >>display the keymap. As mentioned in the subject line, I am running >>Chameleon 1.1 Alpha6 (October 31st release). >> >>I have followed instructions in a previous post, but no success >>(http://lists.maptools.org/pipermail/chameleon/2003-October/000119.html) >>. >> >>Here's what I've tried: >> >>- removed the keymap section in the sample mapfile >>- relative path from the sample.html template in the keymap tag >>(image="images/keymap.png") >>- absolute path to keymap.png in the keymap tag >>(image="C:/GCRC/www/chameleon_sample/htdocs/images/keymap.png") >>- even some oddball attempts: placing the keymap in the >>/htdocs/common/wrapper folder and image='keymap.png' >> >>I've correctly specified the size, and extents of the keymap image. >>win2003-server. >> >>thanks. >> >>Jeff >> >> >> >> >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From thowlett@whistlermuseum.org Fri Dec 12 18:19:01 2003 Received: from smtp1000.radiant.net (smtp1000.radiant.net [216.21.149.209]) by www.maptools.org (8.12.5/8.12.5) with SMTP id hBCNIw8o005591 for ; Fri, 12 Dec 2003 18:19:00 -0500 Message-Id: <200312122319.hBCNIw8o005591@www.maptools.org> Received: (qmail 5896 invoked from network); 12 Dec 2003 23:07:45 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp1000.radiant.net with SMTP; 12 Dec 2003 23:07:45 -0000 Reply-To: From: "Tracy Howlett" To: Cc: Subject: RE: [Chameleon] Map Loading Date: Fri, 12 Dec 2003 15:18:51 -0800 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <3FDA3440.7050109@magma.ca> Thread-Index: AcPA96mE3OqfApCrTvOt8doakikeGgADm6Kg Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Holy Moly!! The problem was that the fonts were not included in the binary I installed. I was missing 4 fritqut*.ttf files. Now that they are installed everything is working fine. Thanks for your help. Tracy -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: Friday, December 12, 2003 1:34 PM To: thowlett@whistlermuseum.org Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Map Loading Tracey, there are a couple of things that can cause this problem, but you should be able to isolate it by right clicking on the broken image link in the main map and selecting properties, copying the URL (should be to '/drawmap.php?') into a new browser and loading it directly. This will try to draw the map into a separate browser window and hopefully you will get some sort of error message that will tell you what the error is. My first suspicision is some sort of error in the map file. To test this, you can create a small php script to make sure the map loads and can draw ... " ); $oImage = $oMap->draw(); $szURL = $oImage->saveWebImage(); echo ""; ?> this script, and variations of it are very useful to make sure that the map file is both syntatically correct, and the data for the layers is set up correctly. If this works, then the error is somewhere in the chameleon configuration or it is a bug in chameleon. Cheers, Paul Tracy Howlett wrote: > Hello Again, > > I'm lost again! My index.phtml page loads with all of the buttons and the > keymap image but the map image never loads. The 'map loading...please wait' > notice pops up and seems to spin forever. I had it going for over an hour > yesterday before I closed the page down. Can anyone suggest where I can > look to find the error? > > Tracy > > -----Original Message----- > From: chameleon-admin@lists.maptools.org > [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Paul Spencer > Sent: Friday, December 12, 2003 5:17 AM > To: Jeff McKenna > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] KeyMap problem with Chameleon 1.1 Alpha6 > > Jeff, > > do you get no keymap image at all? If not, then try right clicking on > the broken image and selecting 'properties', then copy the url and paste > it into a new browser window and submit it. You should, hopefully, get > some sort of error message. > > cheers, > > Paul > > Jeff McKenna wrote: > > >>Hello everyone, >> >>I am using the 1.1 Sample Application and trying to get sample.html to >>display the keymap. As mentioned in the subject line, I am running >>Chameleon 1.1 Alpha6 (October 31st release). >> >>I have followed instructions in a previous post, but no success >>(http://lists.maptools.org/pipermail/chameleon/2003-October/000119.html) >>. >> >>Here's what I've tried: >> >>- removed the keymap section in the sample mapfile >>- relative path from the sample.html template in the keymap tag >>(image="images/keymap.png") >>- absolute path to keymap.png in the keymap tag >>(image="C:/GCRC/www/chameleon_sample/htdocs/images/keymap.png") >>- even some oddball attempts: placing the keymap in the >>/htdocs/common/wrapper folder and image='keymap.png' >> >>I've correctly specified the size, and extents of the keymap image. >>win2003-server. >> >>thanks. >> >>Jeff >> >> >> >> >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Fri Dec 12 23:21:37 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBD4LT8o006571 for ; Fri, 12 Dec 2003 23:21:34 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id hBD4LOa3022239; Fri, 12 Dec 2003 23:21:24 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id hBD4LHTL008812; Fri, 12 Dec 2003 23:21:23 -0500 Message-ID: <3FDA93BB.1050004@magma.ca> Date: Fri, 12 Dec 2003 23:21:15 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: thowlett@whistlermuseum.org CC: spencer@dmsolutions.ca, chameleon@lists.maptools.org Subject: Re: [Chameleon] Map Loading References: <200312122303.hBCN3L8o005520@www.maptools.org> In-Reply-To: <200312122303.hBCN3L8o005520@www.maptools.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Tracy, you should be able to set the name of the mapscript module to use in the configuration file (cwc2.xml) for chameleon, it should not be necessary to change drawmap.php. Cheers, Paul Tracy Howlett wrote: > Paul, > > Thanks for the help. > > When I copy the URL directly into the browser I was getting this error: > PHP Warning: dl(): Unable to load dynamic library > 'C:\PHP\extensions\php_mapscript.dll' - The specified module could not be > found. in C:\apps\cwc2\htdocs\common\wrapper\drawmap.php on line 271 PHP > Fatal error: Call to undefined function: ms_getversion() in > C:\apps\cwc2\htdocs\common\wrapper\drawmap.php on line 272 PHP Notice: > Undefined index: gszSessId in C:\apps\cwc2\htdocs\common\session\session.php > on line 135 > > I adjusted the drawmap.php to look for php_mapscript_4.0.1.dll(my version) > and then I get this error: > PHP Notice: Undefined index: map_session_mode in > C:\apps\cwc2\htdocs\common\wrapper\drawmap.php on line 332 PHP Fatal error: > Call to a member function on a non-object in > C:\apps\cwc2\htdocs\common\wrapper\drawmap.php on line 375 PHP Notice: > Undefined index: gszSessId in C:\apps\cwc2\htdocs\common\session\session.php > on line 135 > I've checked my session paths in the php.ini file, the session.php file and > they seem to be correct. > > I tried using your sample php script and running it from my > chameleon_sample/htdocs directory and this is the result: > PHP Warning: [MapServer Error]: msGetLabelSize(): Could not find/open font > in C:\Apps\chameleon_sample\htdocs\maptest.php on line 4 PHP Fatal error: > Call to a member function on a non-object in > C:\Apps\chameleon_sample\htdocs\maptest.php on line 5 > I've checked every path that I can find relative to the font files and they > all appear to be correct. > > Any thoughts? > > Tracy > > > -----Original Message----- > From: Paul Spencer [mailto:pagameba@magma.ca] > Sent: Friday, December 12, 2003 1:34 PM > To: thowlett@whistlermuseum.org > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Map Loading > > Tracey, there are a couple of things that can cause this problem, but > you should be able to isolate it by right clicking on the broken image > link in the main map and selecting properties, copying the URL (should > be to '/drawmap.php?') into a new browser and > loading it directly. This will try to draw the map into a separate > browser window and hopefully you will get some sort of error message > that will tell you what the error is. > > My first suspicision is some sort of error in the map file. > > To test this, you can create a small php script to make sure the map > loads and can draw ... > > dl('php_mapscript_40.dll'); //or whatever version you are using > $oMap = ms_newMapObj( "" ); > $oImage = $oMap->draw(); > $szURL = $oImage->saveWebImage(); > echo ""; > ?> > > this script, and variations of it are very useful to make sure that the > map file is both syntatically correct, and the data for the layers is > set up correctly. If this works, then the error is somewhere in the > chameleon configuration or it is a bug in chameleon. > > Cheers, > > Paul > > Tracy Howlett wrote: > >>Hello Again, >> >>I'm lost again! My index.phtml page loads with all of the buttons and the >>keymap image but the map image never loads. The 'map loading...please > > wait' > >>notice pops up and seems to spin forever. I had it going for over an hour >>yesterday before I closed the page down. Can anyone suggest where I can >>look to find the error? >> >>Tracy >> >>-----Original Message----- >>From: chameleon-admin@lists.maptools.org >>[mailto:chameleon-admin@lists.maptools.org] On Behalf Of Paul Spencer >>Sent: Friday, December 12, 2003 5:17 AM >>To: Jeff McKenna >>Cc: chameleon@lists.maptools.org >>Subject: Re: [Chameleon] KeyMap problem with Chameleon 1.1 Alpha6 >> >>Jeff, >> >>do you get no keymap image at all? If not, then try right clicking on >>the broken image and selecting 'properties', then copy the url and paste >>it into a new browser window and submit it. You should, hopefully, get >>some sort of error message. >> >>cheers, >> >>Paul >> >>Jeff McKenna wrote: >> >> >> >>>Hello everyone, >>> >>>I am using the 1.1 Sample Application and trying to get sample.html to >>>display the keymap. As mentioned in the subject line, I am running >>>Chameleon 1.1 Alpha6 (October 31st release). >>> >>>I have followed instructions in a previous post, but no success >>>(http://lists.maptools.org/pipermail/chameleon/2003-October/000119.html) >>>. >>> >>>Here's what I've tried: >>> >>>- removed the keymap section in the sample mapfile >>>- relative path from the sample.html template in the keymap tag >>>(image="images/keymap.png") >>>- absolute path to keymap.png in the keymap tag >>>(image="C:/GCRC/www/chameleon_sample/htdocs/images/keymap.png") >>>- even some oddball attempts: placing the keymap in the >>>/htdocs/common/wrapper folder and image='keymap.png' >>> >>>I've correctly specified the size, and extents of the keymap image. >>>win2003-server. >>> >>>thanks. >>> >>>Jeff >>> >>> >>> >>> >>> >>>_______________________________________________ >>>Chameleon mailing list >>>Chameleon@lists.maptools.org >>>http://lists.maptools.org/mailman/listinfo/chameleon >>> >> >> > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From bartvde@xs4all.nl Sat Dec 13 12:56:56 2003 Received: from smtpzilla2.xs4all.nl (smtpzilla2.xs4all.nl [194.109.127.138]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBDHuq8o011195 for ; Sat, 13 Dec 2003 12:56:54 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla2.xs4all.nl (8.12.9/8.12.9) with ESMTP id hBDHujUU079710 for ; Sat, 13 Dec 2003 18:56:51 +0100 (CET) Date: Sat, 13 Dec 2003 18:54:56 +0100 To: "chameleon@lists.maptools.org" Reply-To: bartvde@xs4all.nl From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera7.22/Win32 M2 build 3221 Subject: [Chameleon] DHTML library Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, Chameleon has its own DHTML stuff which is mostly present in cwc_dhtml.js and dynlayer.js. Is there an intention to move to a more heavily used DHTML cross-browser API, such as DynAPI or CBE? Or are these libraries too heavy or unsuited for the purpose that Chameleon has? Best regards, Bart From delfos18@yahoo.com Sun Dec 14 22:31:10 2003 Received: from web12107.mail.yahoo.com (web12107.mail.yahoo.com [216.136.172.27]) by www.maptools.org (8.12.5/8.12.5) with SMTP id hBF3V98o025049 for ; Sun, 14 Dec 2003 22:31:09 -0500 Message-ID: <20031215033109.72521.qmail@web12107.mail.yahoo.com> Received: from [202.139.2.65] by web12107.mail.yahoo.com via HTTP; Sun, 14 Dec 2003 19:31:09 PST Date: Sun, 14 Dec 2003 19:31:09 -0800 (PST) From: "J. Delfos" Reply-To: delfosj@ses.curtin.edu.au To: Chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Chameleon] legend for non-WMS sources Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi All, I'm having some difficulties getting the legend in Chameleon to work. It's probably because I'm getting my data from a mapserver mapfile, in stead of through WMS. The reason I use a mapfile, is because my data consists of shapefiles. Can anyone tell me what would be the best way to access shapefiles from Chameleon? Can it be done through the context, and if so, will this make the legend work properly? It does pick up the metadata in the layer manager.... but the legend widget seems to be set up not to work, unless layers have a WMS source.... Also, the production popup for printing gives me some bugs. I tried running it on different systems (IIS and apache), and got the same error. It says "$szfilename" not defined. I managed to get around it by writing some javascript which creates scaled output for at user-specified scale on a user-specified pagesize. Most engineers (the sort of people I develop this for) are after that. If anyone could give me some useful advise, I'd appreciate it. I am quite experienced in (web) programming, but not in PHP.... Thanks, Jacob __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ From pagameba@magma.ca Sun Dec 14 22:34:38 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBF3Yc8o025071 for ; Sun, 14 Dec 2003 22:34:38 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca Magma's Mail Server with ESMTP id hBF3Ycv5010479; Sun, 14 Dec 2003 22:34:38 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id hBF3YaYQ018084; Sun, 14 Dec 2003 22:34:37 -0500 Message-ID: <3FDD2BC7.2020203@magma.ca> Date: Sun, 14 Dec 2003 22:34:31 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl, "chameleon@lists.maptools.org" Subject: Re: [Chameleon] DHTML library References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, we looked at a couple of libraries, including CBE if I recall correctly. At the time, I think we decided that they added a lot of weight. In hindsight, we may have been better off just using it. However, in the mean time, we've learnt a lot about javascript :) The DHTML stuff will eventually end up in cwc_dhtml.js. The other files were contributed early on and don't really fit the design of the rest of chameleon ... we are starting to rewrite those files, or remove them, as time permits. Cheers, Paul Bart van den Eijnden wrote: > Hi list, > > Chameleon has its own DHTML stuff which is mostly present in > cwc_dhtml.js and dynlayer.js. > > Is there an intention to move to a more heavily used DHTML cross-browser > API, such as DynAPI or CBE? Or are these libraries too heavy or unsuited > for the purpose that Chameleon has? > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Sun Dec 14 22:48:42 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBF3mg8o025150 for ; Sun, 14 Dec 2003 22:48:42 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id hBF3mdhx027082; Sun, 14 Dec 2003 22:48:39 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id hBF3mbSn007891; Sun, 14 Dec 2003 22:48:39 -0500 Message-ID: <3FDD2F11.3080709@magma.ca> Date: Sun, 14 Dec 2003 22:48:33 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: John Pulles CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] server treemenu References: <3FCB1BF8.1080304@geodan.nl> In-Reply-To: <3FCB1BF8.1080304@geodan.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: John, I haven't had a chance to take a look at this issue yet, and it will probably be a while before we do have a chance to. These widgets are still pretty new and will probably require some more work before the MapLab release. Cheers, Paul John Pulles wrote: > Hi list, > > I try to use the manage_servers.phtml dialog to manage servers; as a > result a server.treemenu file is written in the data directory together > with 4 dbase files: capab.dbf, server.dbf, bbox.dbf and style.dbf. > To show the available servers and their layers in a treeview fails when > using the WMSCache widget to populate the sharedresources. The php error > messages I get are: > > *Notice*: Undefined index: style_id in > *d:\ms4w\apps\chameleon-1.1alpha6\htdocs\widgets\WMSCache.widget.php* on > line *300* > > *Warning*: Tried to read bad record 0 in > *d:\ms4w\apps\chameleon-1.1alpha6\htdocs\widgets\WMSCache.widget.php* on > line *312* > > Use of the MapEditFullTree functie gives the following error: > > *Fatal error*: Call to undefined function: renderastreemenuarray() in > *d:\ms4w\apps\chameleon-1.1alpha6\htdocs\widgets\MapEditFullTree.widget.php* > on line *132* > > Why these errors? > > Greetings, > John. > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From jmckenna@connect.carleton.ca Sun Dec 14 21:44:32 2003 Received: from connectmail.carleton.ca (connectmail.carleton.ca [134.117.2.12]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBF2iW8o024750 for ; Sun, 14 Dec 2003 21:44:32 -0500 Received: from connect (connect.carleton.ca [134.117.2.33]) by connectmail.carleton.ca (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with SMTP id <0HPX007KG0Y8BY@connectmail.carleton.ca> for chameleon@lists.maptools.org; Sun, 14 Dec 2003 21:44:32 -0500 (EST) Date: Sun, 14 Dec 2003 21:44:31 -0500 (EST) From: Jeff McKenna Subject: Re: RE: [Chameleon] KeyMap problem with Chameleon 1.1 Alpha6 To: thowlett@whistlermuseum.org Cc: chameleon@lists.maptools.org Message-id: <1738760.1071456271882.JavaMail.jmckenna@connect.carleton.ca> MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: hi tracey, Yes, the first thing I did in fact was remove the reference to the keymap in the mapfile (as Paul suggested in the previous post you should be able to use a relative or absolute path to keymap in the template), just to make it easier to debug...so the only reference is the one in the sample.html template. hmmm Jeff Tracy Howlett wrote: >Have you tried looking in your .map file? I'm also using Chameleon 1.1 and >I couldn't get the key map to show until I edited the chameleon.map file - >it was looking for keymap.gif, just change that to keymap.png. > >-----Original Message----- >From: chameleon-admin@lists.maptools.org >[mailto:chameleon-admin@lists.maptools.org] On Behalf Of Jeff McKenna >Sent: Thursday, December 11, 2003 11:51 AM >To: chameleon@lists.maptools.org >Subject: [Chameleon] KeyMap problem with Chameleon 1.1 Alpha6 > >Hello everyone, > >I am using the 1.1 Sample Application and trying to get sample.html to >display the keymap. As mentioned in the subject line, I am running >Chameleon 1.1 Alpha6 (October 31st release). > >I have followed instructions in a previous post, but no success >(http://lists.maptools.org/pipermail/chameleon/2003-October/000119.html) >. > >Here's what I've tried: > >- removed the keymap section in the sample mapfile >- relative path from the sample.html template in the keymap tag >(image="images/keymap.png") >- absolute path to keymap.png in the keymap tag >(image="C:/GCRC/www/chameleon_sample/htdocs/images/keymap.png") >- even some oddball attempts: placing the keymap in the >/htdocs/common/wrapper folder and image='keymap.png' > >I've correctly specified the size, and extents of the keymap image. >win2003-server. > >thanks. > >Jeff > > > > > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > > From jmckenna@connect.carleton.ca Sun Dec 14 21:48:59 2003 Received: from connectmail.carleton.ca (connectmail.carleton.ca [134.117.2.12]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBF2mw8o024848 for ; Sun, 14 Dec 2003 21:48:58 -0500 Received: from connect (connect.carleton.ca [134.117.2.33]) by connectmail.carleton.ca (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with SMTP id <0HPX007MN15NBY@connectmail.carleton.ca> for chameleon@lists.maptools.org; Sun, 14 Dec 2003 21:48:59 -0500 (EST) Date: Sun, 14 Dec 2003 21:48:58 -0500 (EST) From: Jeff McKenna Subject: Re: [Chameleon] KeyMap problem with Chameleon 1.1 Alpha6 To: spencer@dmsolutions.ca Cc: chameleon@lists.maptools.org Message-id: <817614.1071456538137.JavaMail.jmckenna@connect.carleton.ca> MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Paul, I have been paying close attention to the url of the broken keymap link...it is as follows: http://gcrc-serv-02/www/chameleon-1.1alpha-20031031/htdocs/common/wrapper/drawmap.php? yes, it points to drawmap.php. I tried making the keymap path in the template relative to this drawmap.php, no go. I tried placing the keymap.png in the /htdocs/common/wrapper folder and image='keymap.png' in the template file, no go. any ideas? thanks, jeff. Paul Spencer wrote: >Jeff, > >do you get no keymap image at all? If not, then try right clicking on >the broken image and selecting 'properties', then copy the url and paste >it into a new browser window and submit it. You should, hopefully, get >some sort of error message. > >cheers, > >Paul > >Jeff McKenna wrote: > >> Hello everyone, >> >> I am using the 1.1 Sample Application and trying to get sample.html to >> display the keymap. As mentioned in the subject line, I am running >> Chameleon 1.1 Alpha6 (October 31st release). >> >> I have followed instructions in a previous post, but no success >> (http://lists.maptools.org/pipermail/chameleon/2003-October/000119.html) >> . >> >> Here's what I've tried: >> >> - removed the keymap section in the sample mapfile >> - relative path from the sample.html template in the keymap tag >> (image="images/keymap.png") >> - absolute path to keymap.png in the keymap tag >> (image="C:/GCRC/www/chameleon_sample/htdocs/images/keymap.png") >> - even some oddball attempts: placing the keymap in the >> /htdocs/common/wrapper folder and image='keymap.png' >> >> I've correctly specified the size, and extents of the keymap image. >> win2003-server. >> >> thanks. >> >> Jeff >> >> >> >> >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > >-- > ----------------------------------------------------------------- >|Paul Spencer spencer@dmsolutions.ca | >|-----------------------------------------------------------------| >|Applications & Software Development | >|DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > > > From delfos18@yahoo.com Mon Dec 15 19:15:22 2003 Received: from web12108.mail.yahoo.com (web12108.mail.yahoo.com [216.136.172.28]) by www.maptools.org (8.12.5/8.12.5) with SMTP id hBG0FL8o003056 for ; Mon, 15 Dec 2003 19:15:21 -0500 Message-ID: <20031216001520.55532.qmail@web12108.mail.yahoo.com> Received: from [202.139.2.65] by web12108.mail.yahoo.com via HTTP; Mon, 15 Dec 2003 16:15:20 PST Date: Mon, 15 Dec 2003 16:15:20 -0800 (PST) From: "J. Delfos" Reply-To: delfosj@ses.curtin.edu.au Subject: Re: [Chameleon] KeyMap problem with Chameleon 1.1 Alpha6 To: chameleon@lists.maptools.org In-Reply-To: <817614.1071456538137.JavaMail.jmckenna@connect.carleton.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I have had a lot of trouble initially with the keymap as well. Have you tried a different image format? I turned mine into a JPG (my imagetype for the application is JPEG too), and placed it in the htdocs/images directory. I refer to it as 'images/reference.jpg'. --- Jeff McKenna wrote: > Paul, > > I have been paying close attention to the url of the broken keymap > link...it is as follows: > > http://gcrc-serv-02/www/chameleon-1.1alpha-20031031/htdocs/common/wrapper/drawmap.php? > > yes, it points to drawmap.php. I tried making the keymap path in the > template relative to this drawmap.php, no go. I tried placing the > keymap.png in the /htdocs/common/wrapper folder and image='keymap.png' > in the template file, no go. > > any ideas? > > thanks, jeff. > > > > > > Paul Spencer wrote: > > > >Jeff, > > > >do you get no keymap image at all? If not, then try right clicking on > >the broken image and selecting 'properties', then copy the url and > paste > >it into a new browser window and submit it. You should, hopefully, get > > >some sort of error message. > > > >cheers, > > > >Paul > > > >Jeff McKenna wrote: > > > >> Hello everyone, > >> > >> I am using the 1.1 Sample Application and trying to get sample.html > to > >> display the keymap. As mentioned in the subject line, I am running > >> Chameleon 1.1 Alpha6 (October 31st release). > >> > >> I have followed instructions in a previous post, but no success > >> > (http://lists.maptools.org/pipermail/chameleon/2003-October/000119.html) > >> . > >> > >> Here's what I've tried: > >> > >> - removed the keymap section in the sample mapfile > >> - relative path from the sample.html template in the keymap tag > >> (image="images/keymap.png") > >> - absolute path to keymap.png in the keymap tag > >> (image="C:/GCRC/www/chameleon_sample/htdocs/images/keymap.png") > >> - even some oddball attempts: placing the keymap in the > >> /htdocs/common/wrapper folder and image='keymap.png' > >> > >> I've correctly specified the size, and extents of the keymap image. > >> win2003-server. > >> > >> thanks. > >> > >> Jeff > >> > >> > >> > >> > >> > >> _______________________________________________ > >> Chameleon mailing list > >> Chameleon@lists.maptools.org > >> http://lists.maptools.org/mailman/listinfo/chameleon > >> > > > >-- > > ----------------------------------------------------------------- > >|Paul Spencer spencer@dmsolutions.ca | > >|-----------------------------------------------------------------| > >|Applications & Software Development | > >|DM Solutions Group Inc http://www.dmsolutions.ca/| > > ----------------------------------------------------------------- > > > > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ From Jean-Francois.Doyon@CCRS.NRCan.gc.ca Tue Dec 16 13:37:03 2003 Received: from dns1.ccrs.nrcan.gc.ca (dns1.ccrs.nrcan.gc.ca [132.156.11.189]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBGIaw8o007732 for ; Tue, 16 Dec 2003 13:37:02 -0500 Received: from s5-ccr-r1.ccrs.nrn.nrcan.gc.ca (s5-ccr-r1.ccrs.nrcan.gc.ca [132.156.20.32]) by dns1.ccrs.nrcan.gc.ca (8.12.9/8.12.10) with ESMTP id hBGIawuJ046468 for ; Tue, 16 Dec 2003 13:36:58 -0500 (EST) Received: by s5-ccr-r1.ccrs.nrcan.gc.ca with Internet Mail Service (5.5.2657.72) id ; Tue, 16 Dec 2003 13:36:56 -0500 Message-ID: <7CDD7B94357FD5119E800002A537C46E0B8B71E6@s5-ccr-r1.ccrs.nrcan.gc.ca> From: Jean-Francois.Doyon@CCRS.NRCan.gc.ca To: chameleon@lists.maptools.org Date: Tue, 16 Dec 2003 13:36:54 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" X-CCRS-Hits: 0.339 X-CCRS-Initial-Recip: X-Scanned-By: MIMEDefang 2.35 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id hBGIaw8o007732 Subject: [Chameleon] Chameleon 1.1 Alpha 6 PHP requirement ? Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Which is best ? 4.2.3 ? 4.3.3 ? The original CWC2 docs say 4.2.3, but the PHPMapScript Wiki says 4.3.3 ... And I'm hoping this one will use a more recent PHP :P Thanks, Jean-François Doyon Internet Service Development and Systems Support GeoAccess Division Canadian Center for Remote Sensing Natural Resources Canada http://atlas.gc.ca Phone: (613) 992-4902 Fax: (613) 947-2410 From bartvde@xs4all.nl Tue Dec 16 13:43:01 2003 Received: from smtpzilla3.xs4all.nl (smtpzilla3.xs4all.nl [194.109.127.139]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBGIgw8o007764 for ; Tue, 16 Dec 2003 13:43:00 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla3.xs4all.nl (8.12.9/8.12.9) with ESMTP id hBGIgU9D054385; Tue, 16 Dec 2003 19:42:31 +0100 (CET) To: Jean-Francois.Doyon@CCRS.NRCan.gc.ca, chameleon@lists.maptools.org Subject: Re: [Chameleon] Chameleon 1.1 Alpha 6 PHP requirement ? Reply-To: bartvde@xs4all.nl References: <7CDD7B94357FD5119E800002A537C46E0B8B71E6@s5-ccr-r1.ccrs.nrcan.gc.ca> Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Tue, 16 Dec 2003 19:40:39 +0100 In-Reply-To: <7CDD7B94357FD5119E800002A537C46E0B8B71E6@s5-ccr-r1.ccrs.nrcan.gc.ca> User-Agent: Opera7.22/Win32 M2 build 3221 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Jean-Francois, you should use 4.3.3. This is also the version which is used in the current release of MS4W (see http://www.maptools.org/ms4w/index.phtml). Best regards, Bart On Tue, 16 Dec 2003 13:36:54 -0500, wrote: > Which is best ? 4.2.3 ? 4.3.3 ? > > The original CWC2 docs say 4.2.3, but the PHPMapScript Wiki says 4.3.3 > ... > And I'm hoping this one will use a more recent PHP :P > > Thanks, > > Jean-François Doyon > Internet Service Development and Systems Support > GeoAccess Division > Canadian Center for Remote Sensing > Natural Resources Canada > http://atlas.gc.ca > Phone: (613) 992-4902 > Fax: (613) 947-2410 > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- From bartvde@xs4all.nl Wed Dec 17 05:25:54 2003 Received: from smtpzilla3.xs4all.nl (smtpzilla3.xs4all.nl [194.109.127.139]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBHAPn8o011728 for ; Wed, 17 Dec 2003 05:25:53 -0500 Received: from webmail.xs4all.nl (webmail8.xs4all.nl [194.109.127.33]) by smtpzilla3.xs4all.nl (8.12.9/8.12.9) with SMTP id hBHAPloT050271 for ; Wed, 17 Dec 2003 11:25:47 +0100 (CET) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Wed, 17 Dec 2003 11:25:47 +0100 (CET) Message-ID: <14532.212.238.227.182.1071656747.squirrel@webmail.xs4all.nl> Date: Wed, 17 Dec 2003 11:25:47 +0100 (CET) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [Chameleon] adding several layers from the same external WMS Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, in Chameleon there is the possibility to add layers from a treeview to the map. In this case if a user adds e.g. 5 layers from the same external WMS, 5 LAYERS are created in the session MAP file, all with a connection type WMS. This means 5 requests to the external WMS per Chameleon MAP refresh. In theory, this could be solved by asking just one image to the WMS server (layers=A,B,C,D,E). Ofcourse, this has the assumption that the five layers from the external WMS are in sequence on top of each other, and not some other layer in between. I have also noticed that when using the layers=A,B,C,D,E type of syntax, the Web Map Context (save, upload) does not function any more. Any thoughts on this, could this be a potential performance enhancement for Chameleon, and would this require changes in PHP/Mapscript or in the Chameleon PHP code? Best regards, Bart From pagameba@magma.ca Wed Dec 17 14:23:49 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBHJNn8o013710 for ; Wed, 17 Dec 2003 14:23:49 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca Magma's Mail Server with ESMTP id hBHJNhmO025662; Wed, 17 Dec 2003 14:23:43 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id hBHJNfvE005840; Wed, 17 Dec 2003 14:23:43 -0500 Message-ID: <3FE0AD37.1060406@magma.ca> Date: Wed, 17 Dec 2003 14:23:35 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jean-Francois.Doyon@ccrs.nrcan.gc.ca CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Chameleon 1.1 Alpha 6 PHP requirement ? References: <7CDD7B94357FD5119E800002A537C46E0B8B71E6@s5-ccr-r1.ccrs.nrcan.gc.ca> In-Reply-To: <7CDD7B94357FD5119E800002A537C46E0B8B71E6@s5-ccr-r1.ccrs.nrcan.gc.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: JF, chameleon 1.1/2.0 (and probably cwc2) will work with PHP 4.2.x and PHP 4.3.x I think. I am personally using PHP 4.3.3 right now without problems in both CWC2 and Chameleon. Cheers, Paul Jean-Francois.Doyon@ccrs.nrcan.gc.ca wrote: > Which is best ? 4.2.3 ? 4.3.3 ? > > The original CWC2 docs say 4.2.3, but the PHPMapScript Wiki says 4.3.3 ... > And I'm hoping this one will use a more recent PHP :P > > Thanks, > > Jean-François Doyon > Internet Service Development and Systems Support > GeoAccess Division > Canadian Center for Remote Sensing > Natural Resources Canada > http://atlas.gc.ca > Phone: (613) 992-4902 > Fax: (613) 947-2410 > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Jean-Francois.Doyon@CCRS.NRCan.gc.ca Wed Dec 17 16:04:25 2003 Received: from dns1.ccrs.nrcan.gc.ca (dns1.ccrs.nrcan.gc.ca [132.156.11.189]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBHL4P8o014203 for ; Wed, 17 Dec 2003 16:04:25 -0500 Received: from s5-ccr-r1.ccrs.nrn.nrcan.gc.ca (s5-ccr-r1.ccrs.nrcan.gc.ca [132.156.20.32]) by dns1.ccrs.nrcan.gc.ca (8.12.9/8.12.10) with ESMTP id hBHL4PuJ064533 for ; Wed, 17 Dec 2003 16:04:25 -0500 (EST) Received: by s5-ccr-r1.ccrs.nrcan.gc.ca with Internet Mail Service (5.5.2657.72) id ; Wed, 17 Dec 2003 16:04:22 -0500 Message-ID: <7CDD7B94357FD5119E800002A537C46E0B8B71ED@s5-ccr-r1.ccrs.nrcan.gc.ca> From: Jean-Francois.Doyon@CCRS.NRCan.gc.ca To: chameleon@lists.maptools.org Date: Wed, 17 Dec 2003 16:04:12 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C3C4E1.521EBC1C" X-CCRS-Hits: 0.499 X-CCRS-Initial-Recip: X-Scanned-By: MIMEDefang 2.35 Subject: [Chameleon] Problems getting started ... Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C3C4E1.521EBC1C Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable OK, so I've got PHP 4.3.3 compiled the way I want to, as well as mapserver/mapscript. (Except that I've hacked PHP/MapScript to work = with PHP as a module for Apache to test the thread safety). I've also configured cwc2.xml and renamed it removing the -dist ... I've made the web user owner of the data directory ... I've added /tmp/ms_tmp and /tmp/ms_tmp/buttons ... And I've aliased as such: Alias /ms_tmp/ /tmp/ms_tmp/ =20 Alias /chameleon/ /usr/local/chameleon/htdocs/ Now I'm trying the following URL: /chameleon/chameleon.php?TEMPLATE=3Ddemo.html&CONTEXT=3Dgmap_context.xml= And am just getting a blank page ... To be exact, it contains the following code: I've also built the "wmsparse" utility. I guess I'm missing something but I'm all out of ideas ! Find my cwc2.xml attached. <>=20 Any help would be greatly appreciated ! Thanks, Jean-Fran=E7ois Doyon Internet Service Development and Systems Support / D=E9veloppement des services et soutien de syst=E8mes Internet GeoAccess Division / Division G=E9oAcc=E8s Canada Center for Remote Sensing / Centre canadien de = t=E9l=E9d=E9tection Natural Resources Canada / Ressources naturelles Canada http://atlas.gc.ca Phone: (613) 992-4902 Fax: (613) 947-2410 ------_=_NextPart_000_01C3C4E1.521EBC1C Content-Type: application/octet-stream; name="cwc2.xml" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="cwc2.xml" =0A= =0A= cwc2_url=0A= = http://gadtemp.ccrs.nrcan.gc.ca/chameleon/=0A= This is the URL that points to the HTDOCS = directory of the local cwc2 installation.=0A= =0A= =0A= =0A= server_data_path=0A= /usr/local/chameleon/data/=0A= This is where cached capabilities and other = information, common to each session, should be. When a user start a new = session, all files from that directory are copied to = user_session_tmp_path=0A= =0A= =0A= =0A= web_server_path=0A= /usr/local/chameleon/htdocs/=0A= This is where chameleon.php script is = located.=0A= =0A= =0A= =0A= ows_schemas_location=0A= http://ogc.dmsolutions.ca=0A= URL pointing to the root of a repository of OGC = schemas. See http://ogc.dmsolutions.ca for an = example.=0A= =0A= =0A= =0A= wms_parse_file=0A= = /usr/local/chameleon/htdocs/common/wmsparse/wmsparse=0A= Full file path to the binary wms parser executable = ('/path/to/wmsparse' on Unix, '/path/to/wmsparse.exe' on Windows). = Leave empty to use the built in PHP parser (slower).=0A= =0A= =0A= =0A= wms_connectiontimeout=0A= 30=0A= Maximum time in seconds that MapServer will wait = for an answer from a WMS server.=0A= =0A= =0A= =0A= allow_upload_context=0A= true=0A= Enable the "Upload map context" feature? (true or = false).=0A= =0A= =0A= =0A= allow_upload_template=0A= true=0A= Allow use of the 'TEMPLATE=3D' parameter when = calling the CWC2 instance to specify any CWC2 HTML template url? (true = or false) If set to false then the value of 'default_template' config = parameter is always used.=0A= =0A= =0A= =0A= cache_template=0A= true=0A= If template come from a remote server = (http://....), the template is download from that remote server and = saved on local server for further loading. For performace, it is = prefered to set this value to "true". If the remote server template is = dynamic, this value should be set to "false" so the template will be = loaded remotely every page load.=0A= =0A= =0A= =0A= validate_template=0A= true=0A= Validate the attributes of each tag in the input = template. This should be set to true for debugging but may be set to = false in a production environment to enhance = performance.=0A= =0A= =0A= =0A= default_language=0A= en-CA=0A= Default language specifier. (en-CA or = fr-CA)=0A= =0A= =0A= =0A= default_template=0A= = /usr/local/chameleon/htdocs/demo.html=0A= Default HTML template to use with this CWC2 = instance. Used when TEMPLATE=3D parameter not set, or when = allow_upload_template config parameter is set to = false.=0A= =0A= =0A= =0A= invalid_session_template=0A= =0A= Template to display if session is = invalid.=0A= =0A= =0A= =0A= default_context=0A= = /usr/local/chameleon/htdocs/gmap_context.xml=0A= Default map context to load when starting this = application=0A= =0A= =0A= =0A= map_template=0A= = /usr/local/chameleon/htdocs/template.map=0A= Default MapServer mapfile template to use when = uploading a context file.=0A= =0A= =0A= =0A= mapscript_module=0A= php_mapscript.so=0A= Mapscript module name (i.e. php_mapscript_40.dll = for Windows installations or php_mapscript_40.so for Unix = installations).=0A= =0A= =0A= =0A= log_path=0A= /tmp/=0A= Directory in which to write log = files.=0A= =0A= =0A= =0A= log_error=0A= true=0A= This define if chameleon should log errors in = session. If set to false, no errors will be logged at = all.=0A= =0A= =0A= =0A= log_level=0A= LOG_ALL=0A= Control the application runtime logging level. = Must be one of LOG_OFF, LOG_QUIET, LOG_VERBOSE or = LOG_ALL.=0A= =0A= =0A= =0A= image_type=0A= GIF=0A= Output image type (eg: PNG, GIF). Must be uppercase. = This image format MUST be supported by your browser and GD (on the = server). Please don't change that value unless you know what you'r = doing.=0A= =0A= =0A= =0A= button_cache_path=0A= /tmp/ms_tmp/buttons/=0A= Directory in which to write image files generated = for buttons. This directory must be writable by the web server user = and web accessible. For performance reasons, this directory should not = be cleaned out automatically.=0A= =0A= =0A= =0A= button_cache_web_path=0A= /ms_tmp/buttons/=0A= The URL where a browser can find cached button = images.=0A= =0A= =0A= =0A= tmp_web_path=0A= /ms_tmp/=0A= URL where browser can find temporary files as = context or images=0A= =0A= =0A= =0A= tmp_img_path=0A= /tmp/ms_tmp/=0A= Directory where temporary image files are = put.=0A= =0A= =0A= =0A= context_root=0A= /tmp/=0A= Absolute root path to context files. All context = should be in that folder (or sub folder).=0A= =0A= =0A= =0A= context_maxsize=0A= 1000000=0A= This is the context file max size that a CWC2 user = can upload on the server=0A= =0A= =0A= =0A= template_root=0A= /tmp/=0A= Absolute root path to template files. All template = should be in that folder (or sub folder).=0A= =0A= =0A= =0A= fontlist_file=0A= = /usr/local/chameleon/etc/fonts.txt=0A= Path and filename of the font list file used by = MapServer (i.e. /path/to/file/fonts.txt ).=0A= =0A= =0A= =0A= symbol_file=0A= = /usr/local/chameleon/etc/symbols.sym=0A= Path and filename of the symbol file used by = MapServer (i.e. /path/to/file/symbols.sym ).=0A= =0A= =0A= =0A= textbutton_default_font_size=0A= 11=0A= Buttons font size in points=0A= =0A= =0A= =0A= = textbutton_default_font_antialiasing=0A= true=0A= Text Button font antialiasing (true or = false)=0A= =0A= =0A= =0A= gd_version=0A= gd2=0A= Version of GD graphic library (gd, = gd2)=0A= =0A= =0A= =0A= freetype_version=0A= freetype=0A= Version of Freetype library used (use "ttf" for = Freetype 1.3 or "freetype" for Freetype 2.x)=0A= =0A= =0A= =0A= execution_timeout=0A= 120=0A= The amount of time in seconds to allow PHP to = process a PHP page. This includes (for now) the time required to draw = remote WMS layers which can be lengthy.=0A= =0A= =0A= =0A= ------_=_NextPart_000_01C3C4E1.521EBC1C-- From bartvde@xs4all.nl Wed Dec 17 16:17:32 2003 Received: from smtpzilla3.xs4all.nl (smtpzilla3.xs4all.nl [194.109.127.139]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBHLHU8o014268 for ; Wed, 17 Dec 2003 16:17:31 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla3.xs4all.nl (8.12.9/8.12.9) with ESMTP id hBHLH346046422; Wed, 17 Dec 2003 22:17:07 +0100 (CET) To: Jean-Francois.Doyon@CCRS.NRCan.gc.ca, chameleon@lists.maptools.org Subject: Re: [Chameleon] Problems getting started ... Reply-To: bartvde@xs4all.nl References: <7CDD7B94357FD5119E800002A537C46E0B8B71ED@s5-ccr-r1.ccrs.nrcan.gc.ca> Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Wed, 17 Dec 2003 22:15:11 +0100 In-Reply-To: <7CDD7B94357FD5119E800002A537C46E0B8B71ED@s5-ccr-r1.ccrs.nrcan.gc.ca> User-Agent: Opera7.22/Win32 M2 build 3221 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Jean-Francois, in an earlier post you said you were using Chameleon 1.1 Alpha 6. I think what you are trying now is the Chameleon 1.0 way (/chameleon/chameleon.php?TEMPLATE=demo.html&CONTEXT=gmap_context.xml). Try installing the Chameleon sample application and then run that by trying the URL (create the sample_app alias to "sampleapp"/htdocs directory): /sample_app/index.phtml Make sure the paths in index.phtml to MAP/Context file and template are correct. Best regards, Bart On Wed, 17 Dec 2003 16:04:12 -0500, wrote: > OK, so I've got PHP 4.3.3 compiled the way I want to, as well as > mapserver/mapscript. (Except that I've hacked PHP/MapScript to work with > PHP > as a module for Apache to test the thread safety). > > I've also configured cwc2.xml and renamed it removing the -dist ... > > I've made the web user owner of the data directory ... > > I've added /tmp/ms_tmp and /tmp/ms_tmp/buttons ... > > And I've aliased as such: > > Alias /ms_tmp/ /tmp/ms_tmp/ > > Alias /chameleon/ /usr/local/chameleon/htdocs/ > > Now I'm trying the following URL: > > /chameleon/chameleon.php?TEMPLATE=demo.html&CONTEXT=gmap_context.xml > > And am just getting a blank page ... > > To be exact, it contains the following code: > > > > > > > I've also built the "wmsparse" utility. > > I guess I'm missing something but I'm all out of ideas ! > > Find my cwc2.xml attached. <> > > Any help would be greatly appreciated ! > > Thanks, > > Jean-François Doyon > Internet Service Development and Systems Support / Développement des > services et soutien de systèmes Internet > GeoAccess Division / Division GéoAccès > Canada Center for Remote Sensing / Centre canadien de télédétection > Natural Resources Canada / Ressources naturelles Canada > http://atlas.gc.ca > Phone: (613) 992-4902 > Fax: (613) 947-2410 > -- From pagameba@magma.ca Wed Dec 17 16:47:05 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBHLl58o014382 for ; Wed, 17 Dec 2003 16:47:05 -0500 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx2.magma.ca Magma's Mail Server with ESMTP id hBHLl5Bu023477 for ; Wed, 17 Dec 2003 16:47:05 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail1.magma.ca (8.12.10/8.12.9) with ESMTP id hBHLkxQW005371 for ; Wed, 17 Dec 2003 16:47:05 -0500 Message-ID: <3FE0CECD.7070302@magma.ca> Date: Wed, 17 Dec 2003 16:46:53 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Problems getting started ... References: <7CDD7B94357FD5119E800002A537C46E0B8B71ED@s5-ccr-r1.ccrs.nrcan.gc.ca> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: JF, Bart is correct. In Chameleon, there is no service instance (yet), so you create a simple php script that ties together your map file and template using the base class in chameleon.php As Bart suggests, there is a sample of this that should work for simple applications without modification. We can extend the sample to load a context file, which is simply loading a map file and then loading the context into the map file. Or we can use a map file with WMS layers. Same difference. I still owe you a response on the previous email, I haven't worked my way up to it but will try to respond tonight. Cheers, Paul Bart van den Eijnden wrote: > Hi Jean-Francois, > > in an earlier post you said you were using Chameleon 1.1 Alpha 6. > > I think what you are trying now is the Chameleon 1.0 way > (/chameleon/chameleon.php?TEMPLATE=demo.html&CONTEXT=gmap_context.xml). > > Try installing the Chameleon sample application and then run that by > trying the URL (create the sample_app alias to "sampleapp"/htdocs > directory): > > /sample_app/index.phtml > > Make sure the paths in index.phtml to MAP/Context file and template are > correct. > > Best regards, > Bart > > On Wed, 17 Dec 2003 16:04:12 -0500, > wrote: > >> OK, so I've got PHP 4.3.3 compiled the way I want to, as well as >> mapserver/mapscript. (Except that I've hacked PHP/MapScript to work >> with PHP >> as a module for Apache to test the thread safety). >> >> I've also configured cwc2.xml and renamed it removing the -dist ... >> >> I've made the web user owner of the data directory ... >> >> I've added /tmp/ms_tmp and /tmp/ms_tmp/buttons ... >> >> And I've aliased as such: >> >> Alias /ms_tmp/ /tmp/ms_tmp/ >> >> Alias /chameleon/ /usr/local/chameleon/htdocs/ >> >> Now I'm trying the following URL: >> >> /chameleon/chameleon.php?TEMPLATE=demo.html&CONTEXT=gmap_context.xml >> >> And am just getting a blank page ... >> >> To be exact, it contains the following code: >> >> >> >> >> >> >> I've also built the "wmsparse" utility. >> >> I guess I'm missing something but I'm all out of ideas ! >> >> Find my cwc2.xml attached. <> >> >> Any help would be greatly appreciated ! >> >> Thanks, >> >> Jean-François Doyon >> Internet Service Development and Systems Support / Développement des >> services et soutien de systèmes Internet >> GeoAccess Division / Division GéoAccès >> Canada Center for Remote Sensing / Centre canadien de télédétection >> Natural Resources Canada / Ressources naturelles Canada >> http://atlas.gc.ca >> Phone: (613) 992-4902 >> Fax: (613) 947-2410 >> > > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From huub.fleuren@geodan.nl Wed Dec 17 05:38:35 2003 Received: from mail.vz.geodan.nl (host-3.geodan.demon.nl [212.238.227.179]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBHAcY8o011774 for ; Wed, 17 Dec 2003 05:38:35 -0500 Received: from geodan.nl ([212.238.227.182]) (authenticated user huub@mail.vz.geodan.nl) by mail.vz.geodan.nl (mail.vz.geodan.nl [212.238.227.179]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 31-md50000000317.tmp for ; Wed, 17 Dec 2003 11:37:50 +0100 Message-ID: <3FE031F6.20405@geodan.nl> Date: Wed, 17 Dec 2003 11:37:42 +0100 From: Huub Fleuren User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] adding several layers from the same external WMS References: <14532.212.238.227.182.1071656747.squirrel@webmail.xs4all.nl> In-Reply-To: <14532.212.238.227.182.1071656747.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: huub@mail.vz.geodan.nl X-Spam-Processed: mail.vz.geodan.nl, Wed, 17 Dec 2003 11:37:50 +0100 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 212.238.227.182 X-Return-Path: huub.fleuren@geodan.nl X-MDaemon-Deliver-To: chameleon@lists.maptools.org Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: one of the Geodan mapswing components (the java mApplet) uses a combine=true setting for this purpose. the applet 'combines' a request to the server if the layers are al from the same server url into a sigle GET request to the Geodan mapserver in the chameleon/mapserv setup this would have to be done by the mapserver after reading the map file Huub bartvde@xs4all.nl wrote: >Hi list, > >in Chameleon there is the possibility to add layers from a treeview to the >map. > >In this case if a user adds e.g. 5 layers from the same external WMS, 5 >LAYERS are created in the session MAP file, all with a connection type >WMS. > >This means 5 requests to the external WMS per Chameleon MAP refresh. In >theory, this could be solved by asking just one image to the WMS server >(layers=A,B,C,D,E). Ofcourse, this has the assumption that the five layers >from the external WMS are in sequence on top of each other, and not some >other layer in between. > >I have also noticed that when using the layers=A,B,C,D,E type of syntax, >the Web Map Context (save, upload) does not function any more. > >Any thoughts on this, could this be a potential performance enhancement >for Chameleon, and would this require changes in PHP/Mapscript or in the >Chameleon PHP code? > >Best regards, >Bart >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > > > -- ------------------------------------- Geodan IT b.v. Buitenhaven 27-A 5211 TP 's-Hertogenbosch (NL) ------------------------------------- Tel: +31 (0)73 - 692 5151 Fax: +31 (0)73 - 692 5150 Mobiel: ------------------------------------- Postadres / mailing address President Kennedylaan 1 1079 MB Amsterdam (NL) ------------------------------------- E-mail: huub.fleuren@geodan.nl Website: www.geodan.nl Disclaimer: www.geodan.nl/disclaimer ------------------------------------- From pagameba@magma.ca Wed Dec 17 17:47:15 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBHMlE8o014597 for ; Wed, 17 Dec 2003 17:47:14 -0500 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id hBHMlBJS017010; Wed, 17 Dec 2003 17:47:11 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail1.magma.ca (8.12.10/8.12.9) with ESMTP id hBHMl8BK026278; Wed, 17 Dec 2003 17:47:11 -0500 Message-ID: <3FE0DCE5.5060904@magma.ca> Date: Wed, 17 Dec 2003 17:47:01 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Huub Fleuren CC: bartvde@xs4all.nl, chameleon@lists.maptools.org Subject: Re: [Chameleon] adding several layers from the same external WMS References: <14532.212.238.227.182.1071656747.squirrel@webmail.xs4all.nl> <3FE031F6.20405@geodan.nl> In-Reply-To: <3FE031F6.20405@geodan.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Yes, we have discussed this performance enhancement internally because of issues another client was having with performance. The intention, I believe, is to implement the combining 'automagically' in mapserver wms client code, it would detect that more than one layer is coming from the same wms server in the same projection etc and would combine the requests if possible (i.e. if the layers are together). I don't know if there is a bug in mapserver bugzilla on this or not, but I suspect there is ... in fact it is bug 116, and it has been marked P1 for version 4.1 which means that it should get implemented in time for the next release sometime before March (hopefully). I have cc'd Bart on this bug. Re the combining of layers in a context, I know this works because I have been using it recently. However, it does cause some funny side effects, like layer transparency doesn't seem to work correctly. I would recommend that you create a bug in chameleon on maptools regarding the interaction with the upload/download context and I will try to take a look at it before the release. Cheers, Paul Huub Fleuren wrote: > > one of the Geodan mapswing components (the java mApplet) uses a > combine=true setting for this purpose. > the applet 'combines' a request to the server if the layers are al from > the same server url into a sigle GET request to the Geodan mapserver > > in the chameleon/mapserv setup this would have to be done by the > mapserver after reading the map file > > Huub > > bartvde@xs4all.nl wrote: > >> Hi list, >> >> in Chameleon there is the possibility to add layers from a treeview to >> the >> map. >> >> In this case if a user adds e.g. 5 layers from the same external WMS, 5 >> LAYERS are created in the session MAP file, all with a connection type >> WMS. >> >> This means 5 requests to the external WMS per Chameleon MAP refresh. In >> theory, this could be solved by asking just one image to the WMS server >> (layers=A,B,C,D,E). Ofcourse, this has the assumption that the five >> layers >> from the external WMS are in sequence on top of each other, and not some >> other layer in between. >> >> I have also noticed that when using the layers=A,B,C,D,E type of syntax, >> the Web Map Context (save, upload) does not function any more. >> >> Any thoughts on this, could this be a potential performance enhancement >> for Chameleon, and would this require changes in PHP/Mapscript or in the >> Chameleon PHP code? >> >> Best regards, >> Bart >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> >> >> >> > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Jean-Francois.Doyon@CCRS.NRCan.gc.ca Wed Dec 17 17:56:33 2003 Received: from dns1.ccrs.nrcan.gc.ca (dns1.ccrs.nrcan.gc.ca [132.156.11.189]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBHMuX8o014647 for ; Wed, 17 Dec 2003 17:56:33 -0500 Received: from s5-ccr-r1.ccrs.nrn.nrcan.gc.ca (s5-ccr-r1.ccrs.nrcan.gc.ca [132.156.20.32]) by dns1.ccrs.nrcan.gc.ca (8.12.9/8.12.10) with ESMTP id hBHMuVuJ071205; Wed, 17 Dec 2003 17:56:31 -0500 (EST) Received: by s5-ccr-r1.ccrs.nrcan.gc.ca with Internet Mail Service (5.5.2657.72) id ; Wed, 17 Dec 2003 17:56:29 -0500 Message-ID: <7CDD7B94357FD5119E800002A537C46E0B8B71EF@s5-ccr-r1.ccrs.nrcan.gc.ca> From: Jean-Francois.Doyon@CCRS.NRCan.gc.ca To: bartvde@xs4all.nl, chameleon@lists.maptools.org Subject: RE: [Chameleon] Problems getting started ... Date: Wed, 17 Dec 2003 17:56:19 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-15" X-CCRS-Hits: 0.499 X-CCRS-Initial-Recip: X-Scanned-By: MIMEDefang 2.35 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id hBHMuX8o014647 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, Ah ... Yes indeed I was ! I forgot about that sample app ... things work much better now ! One last thing: Actions on the map do nothing but return the previous map, so basically I'm stuck at the initial view ... If I try to zoom in the map does refresh and so on, but I get the same map I was at before ... Once I get that working I right I should be on my way ! Thanks for all the help, J.F. -----Original Message----- From: Bart van den Eijnden [mailto:bartvde@xs4all.nl] Sent: Wednesday, December 17, 2003 4:15 PM To: Jean-Francois.Doyon@CCRS.NRCan.gc.ca; chameleon@lists.maptools.org Subject: Re: [Chameleon] Problems getting started ... Hi Jean-Francois, in an earlier post you said you were using Chameleon 1.1 Alpha 6. I think what you are trying now is the Chameleon 1.0 way (/chameleon/chameleon.php?TEMPLATE=demo.html&CONTEXT=gmap_context.xml). Try installing the Chameleon sample application and then run that by trying the URL (create the sample_app alias to "sampleapp"/htdocs directory): /sample_app/index.phtml Make sure the paths in index.phtml to MAP/Context file and template are correct. Best regards, Bart On Wed, 17 Dec 2003 16:04:12 -0500, wrote: > OK, so I've got PHP 4.3.3 compiled the way I want to, as well as > mapserver/mapscript. (Except that I've hacked PHP/MapScript to work with > PHP > as a module for Apache to test the thread safety). > > I've also configured cwc2.xml and renamed it removing the -dist ... > > I've made the web user owner of the data directory ... > > I've added /tmp/ms_tmp and /tmp/ms_tmp/buttons ... > > And I've aliased as such: > > Alias /ms_tmp/ /tmp/ms_tmp/ > > Alias /chameleon/ /usr/local/chameleon/htdocs/ > > Now I'm trying the following URL: > > /chameleon/chameleon.php?TEMPLATE=demo.html&CONTEXT=gmap_context.xml > > And am just getting a blank page ... > > To be exact, it contains the following code: > > > > > > > I've also built the "wmsparse" utility. > > I guess I'm missing something but I'm all out of ideas ! > > Find my cwc2.xml attached. <> > > Any help would be greatly appreciated ! > > Thanks, > > Jean-François Doyon > Internet Service Development and Systems Support / Développement des > services et soutien de systèmes Internet > GeoAccess Division / Division GéoAccès > Canada Center for Remote Sensing / Centre canadien de télédétection > Natural Resources Canada / Ressources naturelles Canada > http://atlas.gc.ca > Phone: (613) 992-4902 > Fax: (613) 947-2410 > -- From Jean-Francois.Doyon@CCRS.NRCan.gc.ca Wed Dec 17 18:01:52 2003 Received: from dns1.ccrs.nrcan.gc.ca (dns1.ccrs.nrcan.gc.ca [132.156.11.189]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBHN1q8o014694 for ; Wed, 17 Dec 2003 18:01:52 -0500 Received: from s5-ccr-r1.ccrs.nrn.nrcan.gc.ca (s5-ccr-r1.ccrs.nrcan.gc.ca [132.156.20.32]) by dns1.ccrs.nrcan.gc.ca (8.12.9/8.12.10) with ESMTP id hBHN1puJ071615; Wed, 17 Dec 2003 18:01:51 -0500 (EST) Received: by s5-ccr-r1.ccrs.nrcan.gc.ca with Internet Mail Service (5.5.2657.72) id ; Wed, 17 Dec 2003 18:01:49 -0500 Message-ID: <7CDD7B94357FD5119E800002A537C46E0B8B71F0@s5-ccr-r1.ccrs.nrcan.gc.ca> From: Jean-Francois.Doyon@CCRS.NRCan.gc.ca To: spencer@dmsolutions.ca Cc: chameleon@lists.maptools.org Subject: RE: [Chameleon] Problems getting started ... Date: Wed, 17 Dec 2003 18:01:39 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-15" X-CCRS-Hits: 0.499 X-CCRS-Initial-Recip: X-Scanned-By: MIMEDefang 2.35 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id hBHN1q8o014694 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Paul, Indeed my next step will probably be to try a context instead of a map file ... I see there's the UploadContext widget there, so I guess I could try that ... If I wanted to initialize the entire app from a context file instead of a map file, how would I do that ? Thanks, J.F. -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org]On Behalf Of Paul Spencer Sent: Wednesday, December 17, 2003 4:47 PM Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Problems getting started ... JF, Bart is correct. In Chameleon, there is no service instance (yet), so you create a simple php script that ties together your map file and template using the base class in chameleon.php As Bart suggests, there is a sample of this that should work for simple applications without modification. We can extend the sample to load a context file, which is simply loading a map file and then loading the context into the map file. Or we can use a map file with WMS layers. Same difference. I still owe you a response on the previous email, I haven't worked my way up to it but will try to respond tonight. Cheers, Paul Bart van den Eijnden wrote: > Hi Jean-Francois, > > in an earlier post you said you were using Chameleon 1.1 Alpha 6. > > I think what you are trying now is the Chameleon 1.0 way > (/chameleon/chameleon.php?TEMPLATE=demo.html&CONTEXT=gmap_context.xml). > > Try installing the Chameleon sample application and then run that by > trying the URL (create the sample_app alias to "sampleapp"/htdocs > directory): > > /sample_app/index.phtml > > Make sure the paths in index.phtml to MAP/Context file and template are > correct. > > Best regards, > Bart > > On Wed, 17 Dec 2003 16:04:12 -0500, > wrote: > >> OK, so I've got PHP 4.3.3 compiled the way I want to, as well as >> mapserver/mapscript. (Except that I've hacked PHP/MapScript to work >> with PHP >> as a module for Apache to test the thread safety). >> >> I've also configured cwc2.xml and renamed it removing the -dist ... >> >> I've made the web user owner of the data directory ... >> >> I've added /tmp/ms_tmp and /tmp/ms_tmp/buttons ... >> >> And I've aliased as such: >> >> Alias /ms_tmp/ /tmp/ms_tmp/ >> >> Alias /chameleon/ /usr/local/chameleon/htdocs/ >> >> Now I'm trying the following URL: >> >> /chameleon/chameleon.php?TEMPLATE=demo.html&CONTEXT=gmap_context.xml >> >> And am just getting a blank page ... >> >> To be exact, it contains the following code: >> >> >> >> >> >> >> I've also built the "wmsparse" utility. >> >> I guess I'm missing something but I'm all out of ideas ! >> >> Find my cwc2.xml attached. <> >> >> Any help would be greatly appreciated ! >> >> Thanks, >> >> Jean-François Doyon >> Internet Service Development and Systems Support / Développement des >> services et soutien de systèmes Internet >> GeoAccess Division / Division GéoAccès >> Canada Center for Remote Sensing / Centre canadien de télédétection >> Natural Resources Canada / Ressources naturelles Canada >> http://atlas.gc.ca >> Phone: (613) 992-4902 >> Fax: (613) 947-2410 >> > > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From pagameba@magma.ca Wed Dec 17 18:34:55 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBHNYt8o014831 for ; Wed, 17 Dec 2003 18:34:55 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id hBHNYjw6000450; Wed, 17 Dec 2003 18:34:45 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id hBHNYfaO031625; Wed, 17 Dec 2003 18:34:45 -0500 Message-ID: <3FE0E80A.2010107@magma.ca> Date: Wed, 17 Dec 2003 18:34:34 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jean-Francois.Doyon@ccrs.nrcan.gc.ca CC: bartvde@xs4all.nl, chameleon@lists.maptools.org Subject: Re: [Chameleon] Problems getting started ... References: <7CDD7B94357FD5119E800002A537C46E0B8B71EF@s5-ccr-r1.ccrs.nrcan.gc.ca> In-Reply-To: <7CDD7B94357FD5119E800002A537C46E0B8B71EF@s5-ccr-r1.ccrs.nrcan.gc.ca> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: JF ... there is a small bug in the sample app code, if you open the index.phtml file and change it to look like this: moMapSession = new MapSession_RW; $this->moMapSession->setTempDir( getSessionSavePath()); } } $oApp = new SampleApp(); $oApp->CWCInitialize( $szTemplate, $szMapFile ); $oApp->CWCExecute(); ?> The real culprit are the two $this->moMapSession lines, they need to be moved from where they are into the constructor. Just making that change will fix the problem, although the above is the cleanest I could come up with ... and will become the sample app on its next release (I hope). Also, it should work (faster) to remove the two $this->moMapSession lines which would cause the chameleon framework to work in MapSession_R mode (read only) which should be faster but doesn't allow persistent changes like adding layers. If you want to be able to add layers then leave the two lines in. Cheers, Paul Jean-Francois.Doyon@ccrs.nrcan.gc.ca wrote: > Bart, > > Ah ... Yes indeed I was ! I forgot about that sample app ... things work > much better now ! > > One last thing: > > Actions on the map do nothing but return the previous map, so basically I'm > stuck at the initial view ... If I try to zoom in the map does refresh and > so on, but I get the same map I was at before ... > > Once I get that working I right I should be on my way ! > > Thanks for all the help, > J.F. > > -----Original Message----- > From: Bart van den Eijnden [mailto:bartvde@xs4all.nl] > Sent: Wednesday, December 17, 2003 4:15 PM > To: Jean-Francois.Doyon@CCRS.NRCan.gc.ca; chameleon@lists.maptools.org > Subject: Re: [Chameleon] Problems getting started ... > > > Hi Jean-Francois, > > in an earlier post you said you were using Chameleon 1.1 Alpha 6. > > I think what you are trying now is the Chameleon 1.0 way > (/chameleon/chameleon.php?TEMPLATE=demo.html&CONTEXT=gmap_context.xml). > > Try installing the Chameleon sample application and then run that by > trying the URL (create the sample_app alias to "sampleapp"/htdocs > directory): > > /sample_app/index.phtml > > Make sure the paths in index.phtml to MAP/Context file and template are > correct. > > Best regards, > Bart > > On Wed, 17 Dec 2003 16:04:12 -0500, > wrote: > > >>OK, so I've got PHP 4.3.3 compiled the way I want to, as well as >>mapserver/mapscript. (Except that I've hacked PHP/MapScript to work with >>PHP >>as a module for Apache to test the thread safety). >> >>I've also configured cwc2.xml and renamed it removing the -dist ... >> >>I've made the web user owner of the data directory ... >> >>I've added /tmp/ms_tmp and /tmp/ms_tmp/buttons ... >> >>And I've aliased as such: >> >> Alias /ms_tmp/ /tmp/ms_tmp/ >> >> Alias /chameleon/ /usr/local/chameleon/htdocs/ >> >>Now I'm trying the following URL: >> >>/chameleon/chameleon.php?TEMPLATE=demo.html&CONTEXT=gmap_context.xml >> >>And am just getting a blank page ... >> >>To be exact, it contains the following code: >> >> >> >> >> >> >>I've also built the "wmsparse" utility. >> >>I guess I'm missing something but I'm all out of ideas ! >> >>Find my cwc2.xml attached. <> >> >>Any help would be greatly appreciated ! >> >>Thanks, >> >>Jean-François Doyon >>Internet Service Development and Systems Support / Développement des >>services et soutien de systèmes Internet >>GeoAccess Division / Division GéoAccès >>Canada Center for Remote Sensing / Centre canadien de télédétection >>Natural Resources Canada / Ressources naturelles Canada >>http://atlas.gc.ca >>Phone: (613) 992-4902 >>Fax: (613) 947-2410 >> > > > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Wed Dec 17 18:37:42 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBHNbg8o014855 for ; Wed, 17 Dec 2003 18:37:42 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca Magma's Mail Server with ESMTP id hBHNbURr029076; Wed, 17 Dec 2003 18:37:30 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id hBHNbSaO000601; Wed, 17 Dec 2003 18:37:30 -0500 Message-ID: <3FE0E8B2.6080500@magma.ca> Date: Wed, 17 Dec 2003 18:37:22 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jean-Francois.Doyon@ccrs.nrcan.gc.ca CC: spencer@dmsolutions.ca, chameleon@lists.maptools.org Subject: Re: [Chameleon] Problems getting started ... References: <7CDD7B94357FD5119E800002A537C46E0B8B71F0@s5-ccr-r1.ccrs.nrcan.gc.ca> In-Reply-To: <7CDD7B94357FD5119E800002A537C46E0B8B71F0@s5-ccr-r1.ccrs.nrcan.gc.ca> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: JF, you would override the CWCLoadMap function from the Chameleon base class and use the mapscript function $oMap->loadMapContext( ) to load the context. Note this requires a valid map object to begin with. It may be possible to start with $oMap = ms_newMapObj( "" ); but it is safer to start with a real map file that defines the minimal configuration for your web server paths, image color, transparency etc. Let me know if that doesn't make sense and I will implement something in the sample app that I just sent to demonstrate. Using the UploadContext widget would allow you to load a Context at run time, you would still need a map file somewhere to initialize with. Cheers, Paul Jean-Francois.Doyon@ccrs.nrcan.gc.ca wrote: > Paul, > > Indeed my next step will probably be to try a context instead of a map file > ... > > I see there's the UploadContext widget there, so I guess I could try that > ... > > If I wanted to initialize the entire app from a context file instead of a > map file, how would I do that ? > > Thanks, > J.F. > > -----Original Message----- > From: chameleon-admin@lists.maptools.org > [mailto:chameleon-admin@lists.maptools.org]On Behalf Of Paul Spencer > Sent: Wednesday, December 17, 2003 4:47 PM > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Problems getting started ... > > > JF, > > Bart is correct. In Chameleon, there is no service instance (yet), so > you create a simple php script that ties together your map file and > template using the base class in chameleon.php > > As Bart suggests, there is a sample of this that should work for simple > applications without modification. We can extend the sample to load a > context file, which is simply loading a map file and then loading the > context into the map file. Or we can use a map file with WMS layers. > Same difference. > > I still owe you a response on the previous email, I haven't worked my > way up to it but will try to respond tonight. > > Cheers, > > Paul > > > Bart van den Eijnden wrote: > >>Hi Jean-Francois, >> >>in an earlier post you said you were using Chameleon 1.1 Alpha 6. >> >>I think what you are trying now is the Chameleon 1.0 way >>(/chameleon/chameleon.php?TEMPLATE=demo.html&CONTEXT=gmap_context.xml). >> >>Try installing the Chameleon sample application and then run that by >>trying the URL (create the sample_app alias to "sampleapp"/htdocs >>directory): >> >>/sample_app/index.phtml >> >>Make sure the paths in index.phtml to MAP/Context file and template are >>correct. >> >>Best regards, >>Bart >> >>On Wed, 17 Dec 2003 16:04:12 -0500, >> wrote: >> >> >>>OK, so I've got PHP 4.3.3 compiled the way I want to, as well as >>>mapserver/mapscript. (Except that I've hacked PHP/MapScript to work >>>with PHP >>>as a module for Apache to test the thread safety). >>> >>>I've also configured cwc2.xml and renamed it removing the -dist ... >>> >>>I've made the web user owner of the data directory ... >>> >>>I've added /tmp/ms_tmp and /tmp/ms_tmp/buttons ... >>> >>>And I've aliased as such: >>> >>> Alias /ms_tmp/ /tmp/ms_tmp/ >>> >>> Alias /chameleon/ /usr/local/chameleon/htdocs/ >>> >>>Now I'm trying the following URL: >>> >>>/chameleon/chameleon.php?TEMPLATE=demo.html&CONTEXT=gmap_context.xml >>> >>>And am just getting a blank page ... >>> >>>To be exact, it contains the following code: >>> >>> >>> >>> >>> >>> >>>I've also built the "wmsparse" utility. >>> >>>I guess I'm missing something but I'm all out of ideas ! >>> >>>Find my cwc2.xml attached. <> >>> >>>Any help would be greatly appreciated ! >>> >>>Thanks, >>> >>>Jean-François Doyon >>>Internet Service Development and Systems Support / Développement des >>>services et soutien de systèmes Internet >>>GeoAccess Division / Division GéoAccès >>>Canada Center for Remote Sensing / Centre canadien de télédétection >>>Natural Resources Canada / Ressources naturelles Canada >>>http://atlas.gc.ca >>>Phone: (613) 992-4902 >>>Fax: (613) 947-2410 >>> >> >> >> > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Wed Dec 17 22:55:20 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBI3tK8o015956 for ; Wed, 17 Dec 2003 22:55:20 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id hBI3tJMX010312; Wed, 17 Dec 2003 22:55:19 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id hBI3tEBw016449; Wed, 17 Dec 2003 22:55:19 -0500 Message-ID: <3FE1251C.7080804@magma.ca> Date: Wed, 17 Dec 2003 22:55:08 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: delfosj@ses.curtin.edu.au CC: Chameleon@lists.maptools.org Subject: Re: [Chameleon] legend for non-WMS sources References: <20031215033109.72521.qmail@web12107.mail.yahoo.com> In-Reply-To: <20031215033109.72521.qmail@web12107.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Jacob, regarding legends and WMS, this is a known issue in mapserver that will likely get resolved for the next MapServer release as part of the work we are doing now on SLD support. Using contexts will only exaggerate this issue since it is entirely WMS based. As you are using Chameleon 1.1/2.0, using a mapfile is actually the only way that you can get the legend to work properly. Um. It now occurs to me that I don't know what exactly your problem is. It is possible to produce useable legends in both CWC2 (Chameleon 1.0) and Chameleon 1.1. In Chameleon 1.1 you should be using the LegendTemplate widget. This widget uses MapServer legend templates (see http://mapserver.gis.umn.edu/doc40/html-legend-howto.html) which are very flexible and allow you to build an astonishing range of legends. The LegendTemplate widget does allow you to control layer visibility too. You need to use a specific name for your per-layer checkboxes (legendlayername[] I think, check the legend_template_widget.html in the chameleon/htdocs directory for an example). If you are currently getting a legend, but cannot get class or layer images, that is simply a matter of setting up the template correctly (which I would encourage you to use the mapserver users list for support). If you cannot get any legend at all using the LegendTemplate widget, let me know what it is you are trying to do, including sending the widget tag you are using and the legend template file. Please file a bug in the Chameleon bugzilla regarding the production widget. But check first to see if it has already been reported. Cheers, Paul J. Delfos wrote: > Hi All, > > I'm having some difficulties getting the legend in Chameleon to work. It's > probably because I'm getting my data from a mapserver mapfile, in stead of > through WMS. The reason I use a mapfile, is because my data consists of > shapefiles. Can anyone tell me what would be the best way to access > shapefiles from Chameleon? Can it be done through the context, and if so, > will this make the legend work properly? It does pick up the metadata in > the layer manager.... but the legend widget seems to be set up not to > work, unless layers have a WMS source.... > > Also, the production popup for printing gives me some bugs. I tried > running it on different systems (IIS and apache), and got the same error. > It says "$szfilename" not defined. I managed to get around it by writing > some javascript which creates scaled output for at user-specified scale on > a user-specified pagesize. Most engineers (the sort of people I develop > this for) are after that. > > If anyone could give me some useful advise, I'd appreciate it. I am quite > experienced in (web) programming, but not in PHP.... > > > Thanks, > > Jacob > > __________________________________ > Do you Yahoo!? > New Yahoo! Photos - easier uploading and sharing. > http://photos.yahoo.com/ > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Tom.Kralidis@ec.gc.ca Thu Dec 18 08:11:41 2003 Received: from ecnwri1.ontario.int.ec.gc.ca (ecolink.cciw.ca [192.75.68.254]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBIDBe8o018499 for ; Thu, 18 Dec 2003 08:11:41 -0500 Received: by ECNWRI1.ontario.int.ec.gc.ca with Internet Mail Service (5.5.2657.72) id ; Thu, 18 Dec 2003 08:11:40 -0500 Message-ID: <2576812186CDD411BF1500508B6DCE9505D49363@ECNWRI1.ontario.int.ec.gc.ca> From: "Kralidis,Tom [Burlington]" To: "'spencer@dmsolutions.ca'" , delfosj@ses.curtin.edu.au Cc: Chameleon@lists.maptools.org Subject: RE: [Chameleon] legend for non-WMS sources Date: Thu, 18 Dec 2003 08:11:29 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: > > Using contexts will only exaggerate this issue since it is > entirely WMS > based. As you are using Chameleon 1.1/2.0, using a mapfile > is actually > the only way that you can get the legend to work properly. > Is this to say LegendURL support from Context is gone? If yes, why? ..Tom ========================= Tom Kralidis Systems Scientist Environment Canada Tel: +01-905-336-4409 http://www.ec.gc.ca/cise/ ========================= From pagameba@magma.ca Thu Dec 18 09:03:35 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBIE3Y8o018667 for ; Thu, 18 Dec 2003 09:03:35 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca Magma's Mail Server with ESMTP id hBIE3VmY016676; Thu, 18 Dec 2003 09:03:31 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id hBIE3Oje020100; Thu, 18 Dec 2003 09:03:31 -0500 Message-ID: <3FE1B3A4.3050401@magma.ca> Date: Thu, 18 Dec 2003 09:03:16 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Kralidis,Tom [Burlington]" CC: "'spencer@dmsolutions.ca'" , delfosj@ses.curtin.edu.au, Chameleon@lists.maptools.org Subject: Re: [Chameleon] legend for non-WMS sources References: <2576812186CDD411BF1500508B6DCE9505D49363@ECNWRI1.ontario.int.ec.gc.ca> In-Reply-To: <2576812186CDD411BF1500508B6DCE9505D49363@ECNWRI1.ontario.int.ec.gc.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: No, that is not what I meant when I wrote that, and I can see the confusion. My interpretation of the question was (when I started writing) that the legend graphics were not showing up, which is a problem when using mapserver as a WMS server (to be fixed shortly), and that since Contexts are WMS only, this wouldn't fix the problem. Then I realized that it was perhaps a more fundamental problem. The Chameleon legends work equally as well (or not) regardless of source of layers ... Cheers, Paul Kralidis,Tom [Burlington] wrote: >>Using contexts will only exaggerate this issue since it is >>entirely WMS >>based. As you are using Chameleon 1.1/2.0, using a mapfile >>is actually >>the only way that you can get the legend to work properly. >> > > > Is this to say LegendURL support from Context is gone? If yes, why? > > ..Tom > > ========================= > Tom Kralidis > Systems Scientist > Environment Canada > Tel: +01-905-336-4409 > http://www.ec.gc.ca/cise/ > ========================= > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Jean-Francois.Doyon@CCRS.NRCan.gc.ca Thu Dec 18 12:51:06 2003 Received: from dns1.ccrs.nrcan.gc.ca (dns1.ccrs.nrcan.gc.ca [132.156.11.189]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBIHp68o019676 for ; Thu, 18 Dec 2003 12:51:06 -0500 Received: from s5-ccr-r1.ccrs.nrn.nrcan.gc.ca (s5-ccr-r1.ccrs.nrcan.gc.ca [132.156.20.32]) by dns1.ccrs.nrcan.gc.ca (8.12.9/8.12.10) with ESMTP id hBIHp6uJ034695; Thu, 18 Dec 2003 12:51:06 -0500 (EST) Received: by s5-ccr-r1.ccrs.nrcan.gc.ca with Internet Mail Service (5.5.2657.72) id ; Thu, 18 Dec 2003 12:51:03 -0500 Message-ID: <7CDD7B94357FD5119E800002A537C46E0B8B71F5@s5-ccr-r1.ccrs.nrcan.gc.ca> From: Jean-Francois.Doyon@CCRS.NRCan.gc.ca To: spencer@dmsolutions.ca Cc: chameleon@lists.maptools.org Subject: RE: [Chameleon] Problems getting started ... Date: Thu, 18 Dec 2003 12:51:02 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-15" X-CCRS-Hits: 0.499 X-CCRS-Initial-Recip: X-Scanned-By: MIMEDefang 2.35 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Paul, I think it makes sense, I'm sure I'll manage around that once I get to reading the Chameleon Base class ! About the UploadContext widget. I noticed I setup a template mapfile in cwc2.xml ... I'm guessing this is what it's for ? So I could edit this mapfile and give the widget a try ? Thanks, J.F. -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: Wednesday, December 17, 2003 6:37 PM To: Jean-Francois.Doyon@ccrs.nrcan.gc.ca Cc: spencer@dmsolutions.ca; chameleon@lists.maptools.org Subject: Re: [Chameleon] Problems getting started ... JF, you would override the CWCLoadMap function from the Chameleon base class and use the mapscript function $oMap->loadMapContext( ) to load the context. Note this requires a valid map object to begin with. It may be possible to start with $oMap = ms_newMapObj( "" ); but it is safer to start with a real map file that defines the minimal configuration for your web server paths, image color, transparency etc. Let me know if that doesn't make sense and I will implement something in the sample app that I just sent to demonstrate. Using the UploadContext widget would allow you to load a Context at run time, you would still need a map file somewhere to initialize with. Cheers, Paul Jean-Francois.Doyon@ccrs.nrcan.gc.ca wrote: > Paul, > > Indeed my next step will probably be to try a context instead of a map file > ... > > I see there's the UploadContext widget there, so I guess I could try that > ... > > If I wanted to initialize the entire app from a context file instead of a > map file, how would I do that ? > > Thanks, > J.F. > > -----Original Message----- > From: chameleon-admin@lists.maptools.org > [mailto:chameleon-admin@lists.maptools.org]On Behalf Of Paul Spencer > Sent: Wednesday, December 17, 2003 4:47 PM > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Problems getting started ... > > > JF, > > Bart is correct. In Chameleon, there is no service instance (yet), so > you create a simple php script that ties together your map file and > template using the base class in chameleon.php > > As Bart suggests, there is a sample of this that should work for simple > applications without modification. We can extend the sample to load a > context file, which is simply loading a map file and then loading the > context into the map file. Or we can use a map file with WMS layers. > Same difference. > > I still owe you a response on the previous email, I haven't worked my > way up to it but will try to respond tonight. > > Cheers, > > Paul > > > Bart van den Eijnden wrote: > >>Hi Jean-Francois, >> >>in an earlier post you said you were using Chameleon 1.1 Alpha 6. >> >>I think what you are trying now is the Chameleon 1.0 way >>(/chameleon/chameleon.php?TEMPLATE=demo.html&CONTEXT=gmap_context.xml). >> >>Try installing the Chameleon sample application and then run that by >>trying the URL (create the sample_app alias to "sampleapp"/htdocs >>directory): >> >>/sample_app/index.phtml >> >>Make sure the paths in index.phtml to MAP/Context file and template are >>correct. >> >>Best regards, >>Bart >> >>On Wed, 17 Dec 2003 16:04:12 -0500, >> wrote: >> >> >>>OK, so I've got PHP 4.3.3 compiled the way I want to, as well as >>>mapserver/mapscript. (Except that I've hacked PHP/MapScript to work >>>with PHP >>>as a module for Apache to test the thread safety). >>> >>>I've also configured cwc2.xml and renamed it removing the -dist ... >>> >>>I've made the web user owner of the data directory ... >>> >>>I've added /tmp/ms_tmp and /tmp/ms_tmp/buttons ... >>> >>>And I've aliased as such: >>> >>> Alias /ms_tmp/ /tmp/ms_tmp/ >>> >>> Alias /chameleon/ /usr/local/chameleon/htdocs/ >>> >>>Now I'm trying the following URL: >>> >>>/chameleon/chameleon.php?TEMPLATE=demo.html&CONTEXT=gmap_context.xml >>> >>>And am just getting a blank page ... >>> >>>To be exact, it contains the following code: >>> >>> >>> >>> >>> >>> >>>I've also built the "wmsparse" utility. >>> >>>I guess I'm missing something but I'm all out of ideas ! >>> >>>Find my cwc2.xml attached. <> >>> >>>Any help would be greatly appreciated ! >>> >>>Thanks, >>> >>>Jean-François Doyon >>>Internet Service Development and Systems Support / Développement des >>>services et soutien de systèmes Internet >>>GeoAccess Division / Division GéoAccès >>>Canada Center for Remote Sensing / Centre canadien de télédétection >>>Natural Resources Canada / Ressources naturelles Canada >>>http://atlas.gc.ca >>>Phone: (613) 992-4902 >>>Fax: (613) 947-2410 >>> >> >> >> > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From jean-charles.guimard2@etud.univ-ubs.fr Fri Dec 19 04:43:16 2003 Received: from vohkoohe.univ-ubs.fr (vohkoohe.univ-ubs.fr [193.52.32.68]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBJ9hE8o023591 for ; Fri, 19 Dec 2003 04:43:15 -0500 Received: from homae.univ-ubs.fr (homae.univ-ubs.fr [193.52.48.69]) by vohkoohe.univ-ubs.fr (8.12.9/8.12.6) with ESMTP id hBJ9h8q0057452 for ; Fri, 19 Dec 2003 10:43:09 +0100 (CET) (envelope-from jean-charles.guimard2@etud.univ-ubs.fr) Received: (from nobody@localhost) by homae.univ-ubs.fr (8.11.6/8.11.6/$RCSfile: homae.mc,v $Revision: 1.5 $) id hBJ9h8221394 for chameleon@lists.maptools.org; Fri, 19 Dec 2003 10:43:08 +0100 (CET) (envelope-from jean-charles.guimard2@etud.univ-ubs.fr) From: jean-charles.guimard2@etud.univ-ubs.fr X-Authentication-Warning: homae.univ-ubs.fr: nobody set sender to jean-charles.guimard2@etud.univ-ubs.fr using -f Received: from 81.250.153.191 ( [81.250.153.191]) as user e2guimar@localhost by homae.univ-ubs.fr with HTTP; Fri, 19 Dec 2003 10:43:08 +0100 Message-ID: <1071826988.3fe2c82c3c707@homae.univ-ubs.fr> Date: Fri, 19 Dec 2003 10:43:08 +0100 To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) X-Originating-IP: 81.250.153.191 X-Scanned-By: MIMEDefang 2.30 (www . roaringpenguin . com / mimedefang) Subject: [Chameleon] Chameleon install - blank page demo Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, I have install Apache2, PHP4.3.3, PHP-Mapscript on a WinXP OS and that runs. Then I have install Chameleon (cwc2-1.0.4-20031112.tar.gz). The problem happens when I launch the demo.php, it's redirect to : http://127.0.0.1/cwc2/htdocs/cwc2.phpTEMPLATE=demo.html&CONTEXT=gmap_context.xm l I have a "blank" page with just : context value is gmap_context.xml. If I put CONTEXT to blabla/gmap_context.xml : http://127.0.0.1/cwc2/htdocs/cwc2.phpTEMPLATE=demo.html&CONTEXT=blabla/gmap_con text.xml I also have a page "CWC2 Demo Template", with buttons : open, save, print ... zoom ..., but the keymap and map are not display, and I have an Error Report popup : Warning(s) (C:/apache/Apache2/htdocs/cwc2/htdocs/blabla/gmap_context.xml) Unable to read C:/apache/Apache2/htdocs/cwc2/htdocs/blabla/gmap_context.xml ERROR: Invalid context file. ERROR: Invalid or no access to context (C:/apache/Apache2/htdocs/cwc2/htdocs/blabla/gmap_context.xml). I am beginner with Chameleon and I don't succeed to solve this problem myself. Thank you for any help or suggestion. Jc -------------------------------------------------------------------------------- Université de Bretagne sud http://www.univ-ubs.fr/ From TENIERER@gov.ns.ca Mon Dec 22 10:49:18 2003 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBMFnE8o013811 for ; Mon, 22 Dec 2003 10:49:16 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 22 Dec 2003 11:49:12 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 22 Dec 2003 11:49:12 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Mon, 22 Dec 2003 11:49:07 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Mon, 22 Dec 2003 11:48:49 -0400 From: "Rene Teniere " To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [Chameleon] Map and keymap not loading Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi all, I am using Chameleon 1.1 alpha6. I have used the sample given on the website as a template to test with using my own data to no avail. It seems that both the sample and the test I created do not load up the map and keymap. On my test page, the scalebar loads fine, and all buttons and their functionality (cursorpos, ruler, etc.). The scalebar image and map file are created in the temp directory, but that is all. I am pretty sure the map file works, because I have gotten it to load up in php. The 'loading image please wait' icon stays visible all the time, and when I click on the keymap, or try to use one of the zoom buttons, I get a new browser window that says that the page cannot be displayed. I can't seem to be able to figure this one out, but I feel really close to figuring it out. I hope I have provided enough background info. Thanks a bunch! Rene PS Here is the cwc2.xml file: cwc2_url http://10.2.185.9/chameleon This is the URL that points to the HTDOCS directory of the local cwc2 installation. server_data_path c:/chameleon11a/data This is where cached capabilities and other information, common to each session, should be. When a user start a new session, all files from that directory are copied to user_session_tmp_path web_server_path c:/chameleon11a/htdocs This is where chameleon.php script is located. ows_schemas_location http://ogc.dmsolutions.ca URL pointing to the root of a repository of OGC schemas. See http://ogc.dmsolutions.ca for an example. wms_parse_file c:/chameleon11a/htdocs/common/wmsparse/win32/wmsparse.exe Full file path to the binary wms parser executable ('/path/to/wmsparse' on Unix, '/path/to/wmsparse.exe' on Windows). Leave empty to use the built in PHP parser (slower). wms_connectiontimeout 240 Maximum time in seconds that MapServer will wait for an answer from a WMS server. allow_upload_context true Enable the "Upload map context" feature? (true or false). allow_upload_template true Allow use of the 'TEMPLATE=' parameter when calling the CWC2 instance to specify any CWC2 HTML template url? (true or false) If set to false then the value of 'default_template' config parameter is always used. cache_template true If template come from a remote server (http://....), the template is download from that remote server and saved on local server for further loading. For performace, it is prefered to set this value to "true". If the remote server template is dynamic, this value should be set to "false" so the template will be loaded remotely every page load. validate_template true Validate the attributes of each tag in the input template. This should be set to true for debugging but may be set to false in a production environment to enhance performance. default_language en-CA Default language specifier. (en-CA or fr-CA) default_template c:/chameleon11a/htdocs/geobase_en.html Default HTML template to use with this CWC2 instance. Used when TEMPLATE= parameter not set, or when allow_upload_template config parameter is set to false. invalid_session_template Template to display if session is invalid. default_context c:/chameleon11a/htdocs/gmap_context.xml Default map context to load when starting this application map_template c:/chameleon11a/htdocs/template.map Default MapServer mapfile template to use when uploading a context file. mapscript_module php_mapscript_4.0.1.dll Mapscript module name (i.e. php_mapscript_40.dll for Windows installations or php_mapscript_40.so for Unix installations). log_path c:/temp Directory in which to write log files. log_error true This define if chameleon should log errors in session. If set to false, no errors will be logged at all. log_level LOG_ALL Control the application runtime logging level. Must be one of LOG_OFF, LOG_QUIET, LOG_VERBOSE or LOG_ALL. image_type PNG Output image type (eg: PNG, GIF). Must be uppercase. This image format MUST be supported by your browser and GD (on the server). Please don't change that value unless you know what you'r doing. button_cache_path c:/temp Directory in which to write image files generated for buttons. This directory must be writable by the web server user and web accessible. For performance reasons, this directory should not be cleaned out automatically. button_cache_web_path http://10.2.185.9/temp The URL where a browser can find cached button images. tmp_web_path http://10.2.185.9/temp URL where browser can find temporary files as context or images tmp_img_path c:/temp Directory where temporary image files are put. context_root c:/chameleon11a/websites/mapfiles Absolute root path to context files. All context should be in that folder (or sub folder). context_maxsize 1000000 This is the context file max size that a CWC2 user can upload on the server template_root c:/chameleon11a/websites/template Absolute root path to template files. All template should be in that folder (or sub folder). fontlist_file c:/chameleon11a/etc/fonts.txt Path and filename of the font list file used by MapServer (i.e. /path/to/file/fonts.txt ). symbol_file c:/chameleon11a/etc/symbols.sym Path and filename of the symbol file used by MapServer (i.e. /path/to/file/symbols.sym ). textbutton_default_font_size 11 Buttons font size in points textbutton_default_font_antialiasing true Text Button font antialiasing (true or false) gd_version gd2 Version of GD graphic library (gd, gd2) freetype_version freetype Version of Freetype library used (use "ttf" for Freetype 1.3 or "freetype" for Freetype 2.x) execution_timeout 240 The amount of time in seconds to allow PHP to process a PHP page. This includes (for now) the time required to draw remote WMS layers which can be lengthy. Rene J.R. Teniere - BSc., D.GIS GIS Technician Nova Scotia Department of Natural Resources Forestry Division (GIS) - Truro Phone: (902) 893-5655 Mobile: (902) 209-8956 From bartvde@xs4all.nl Tue Dec 23 07:27:34 2003 Received: from smtpzilla1.xs4all.nl (smtpzilla1.xs4all.nl [194.109.127.137]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBNCRU8o018661 for ; Tue, 23 Dec 2003 07:27:32 -0500 Received: from webmail.xs4all.nl (webmail8.xs4all.nl [194.109.127.33]) by smtpzilla1.xs4all.nl (8.12.9/8.12.9) with SMTP id hBNCROw5028609 for ; Tue, 23 Dec 2003 13:27:29 +0100 (CET) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Tue, 23 Dec 2003 13:27:29 +0100 (CET) Message-ID: <8698.212.238.227.182.1072182449.squirrel@webmail.xs4all.nl> Date: Tue, 23 Dec 2003 13:27:29 +0100 (CET) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [Chameleon] session expired and popups Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, we have noticed some strange behaviour (lots of error messages) in Chameleon when a session has expired and popup windows are still open. Is there a way to close all popups when a session expires to prevent this behaviour, or can't anything be done about this and is it the responsibility of the user? Best regards, Bart From pagameba@magma.ca Tue Dec 23 15:09:15 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBNK9F8o020527 for ; Tue, 23 Dec 2003 15:09:15 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id hBNK9Chk007429; Tue, 23 Dec 2003 15:09:12 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id hBNK9AZw016427; Tue, 23 Dec 2003 15:09:12 -0500 Message-ID: <3FE8A0DA.8020606@magma.ca> Date: Tue, 23 Dec 2003 15:08:58 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] session expired and popups References: <8698.212.238.227.182.1072182449.squirrel@webmail.xs4all.nl> In-Reply-To: <8698.212.238.227.182.1072182449.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, this is not something that is very easy to handle which is why we have avoided it. One suggestion ... in your application template, you could write a custom piece of javascript that starts a timer for, say, 29 minutes and closes open popups if it expires. The only problem then is that there is no central place where popups window handles are registered. There may be some hooks in javascript to determine the handles of windows opened via window.open ... you may also be able to close them by window name (in the window.open call, a window is assigned a unique name) and then search the source of your page for all the window names (by looking for window.open calls) Cheers, Paul PS this would be a nice addition to chameleon at some point, to have all open windows go through a popup manager that keeps all the window handles and manages the callback mechanism, and also handles session expiry automagically. It won't be in the next version though. bartvde@xs4all.nl wrote: > Hi list, > > we have noticed some strange behaviour (lots of error messages) in > Chameleon when a session has expired and popup windows are still open. > > Is there a way to close all popups when a session expires to prevent this > behaviour, or can't anything be done about this and is it the > responsibility of the user? > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pxniw69@yahoo.com Tue Dec 23 10:33:57 2003 Received: from web41906.mail.yahoo.com (web41906.mail.yahoo.com [66.218.93.157]) by www.maptools.org (8.12.5/8.12.5) with SMTP id hBNFXu8o019438 for ; Tue, 23 Dec 2003 10:33:57 -0500 Message-ID: <20031223153324.36742.qmail@web41906.mail.yahoo.com> Received: from [69.160.68.72] by web41906.mail.yahoo.com via HTTP; Tue, 23 Dec 2003 07:33:24 PST Date: Tue, 23 Dec 2003 07:33:24 -0800 (PST) From: pxniw pxniw To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Chameleon] What does chameleon do? Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Just downloaded and installed chameleon. (1.1 Alpha 6) Its so confusing what is the demo/sample file? (I could not find cwc2.php on my files , I think its in the old files) I downloaded files from http://www.maptools.org/chameleon/index.phtml?page=home.html and see other site http://www.dmsolutions.ca/techserv/chameleon.html this is getting more confusing. Installed http://www.maptools.org/dl/chameleon-sample.zip and it works, after few changes in paths. I tried and understand maplab ok. How do I use chameleon? Is there a screenshot somewhere, so I could see what it is used for? (My understanding it has all these widgets, but where, and how do I use them... copy and paste the code? I think I am missing something major here. Im completely nubie so explain with that in mind. Thanks __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ From bartvde@xs4all.nl Wed Dec 24 03:34:33 2003 Received: from smtpzilla1.xs4all.nl (smtpzilla1.xs4all.nl [194.109.127.137]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBO8YW8o022918 for ; Wed, 24 Dec 2003 03:34:32 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla1.xs4all.nl (8.12.9/8.12.9) with ESMTP id hBO8YPKr027468; Wed, 24 Dec 2003 09:34:25 +0100 (CET) To: pxniw pxniw , chameleon@lists.maptools.org Subject: Re: [Chameleon] What does chameleon do? Reply-To: bartvde@xs4all.nl References: <20031223153324.36742.qmail@web41906.mail.yahoo.com> Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Wed, 24 Dec 2003 09:32:27 +0100 In-Reply-To: <20031223153324.36742.qmail@web41906.mail.yahoo.com> User-Agent: Opera7.22/Win32 M2 build 3221 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, basically Chameleon is being fed a HTML template with special tags in it, you can recognize them by "CWC". A zoom-in tool for instance is a widget and is recognized by the CWC in the HTML template. The basic unit of Chameleon is the widget, the HTML template is a collection of widgets. Chameleon interprets this template and creates HTML and javascript, which will turn into a full-featured web mapping client. Also, it needs to know which map layers to draw, that's the second configuration element, so always a Mapserver MAP file which you can create with Maplab if you want (or a Web Map Context document, but this is harder), is needed. In the index.phtml of your sample application both the HTML template and the MAP file are linked. This is specific for Chameleon 1.1 and was different in Chameleon 1.0 (which had a service instance which interpreted templates instead of one application per HTML template/MAP file combination). In short you could say Chameleon is the toolkit to easily build webmapping clients, which could be configured by someone who knows HTML. You can see an example at: http://mapsherpa.dmsolutions.ca/hawaii2/ Hope this helps. Best regards, Bart On Tue, 23 Dec 2003 07:33:24 -0800 (PST), pxniw pxniw wrote: > Just downloaded and installed chameleon. (1.1 Alpha 6) > Its so confusing what is the demo/sample file? > (I could not find cwc2.php on my files , I think its > in the old files) I downloaded files from > http://www.maptools.org/chameleon/index.phtml?page=home.html > > and see other site > http://www.dmsolutions.ca/techserv/chameleon.html > > this is getting more confusing. > Installed > http://www.maptools.org/dl/chameleon-sample.zip and it > works, after few changes in paths. > > I tried and understand maplab ok. > > How do I use chameleon? Is there a screenshot > somewhere, so I could see what it is used for? (My > understanding it has all these widgets, but where, and > how do I use them... copy and paste the code? I think > I am missing something major here. Im completely nubie > so explain with that in mind. > > Thanks > > __________________________________ > Do you Yahoo!? > New Yahoo! Photos - easier uploading and sharing. > http://photos.yahoo.com/ > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- From bartvde@xs4all.nl Wed Dec 24 08:08:22 2003 Received: from smtpzilla2.xs4all.nl (smtpzilla2.xs4all.nl [194.109.127.138]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBOD8L8o024569 for ; Wed, 24 Dec 2003 08:08:22 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla2.xs4all.nl (8.12.9/8.12.9) with ESMTP id hBOD8Ewk063222 for ; Wed, 24 Dec 2003 14:08:19 +0100 (CET) To: chameleon@lists.maptools.org Subject: Re: [Chameleon] session expired and popups Reply-To: bartvde@xs4all.nl References: <8698.212.238.227.182.1072182449.squirrel@webmail.xs4all.nl> <3FE8A0DA.8020606@magma.ca> Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Wed, 24 Dec 2003 14:06:15 +0100 In-Reply-To: <3FE8A0DA.8020606@magma.ca> User-Agent: Opera7.22/Win32 M2 build 3221 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Paul, would not the "easy and safe" way be to propragate the session to all of the popups, so they will expire as well? Okay, the windows will not automatically close, but they won't cause any errors as they do now when pressing buttons. Or can't this be done with the session mechanism present in Chameleon? Best regards, Bart On Tue, 23 Dec 2003 15:08:58 -0500, Paul Spencer wrote: > Bart, > > this is not something that is very easy to handle which is why we have > avoided it. > > One suggestion ... in your application template, you could write a > custom piece of javascript that starts a timer for, say, 29 minutes and > closes open popups if it expires. The only problem then is that there > is no central place where popups window handles are registered. There > may be some hooks in javascript to determine the handles of windows > opened via window.open ... you may also be able to close them by window > name (in the window.open call, a window is assigned a unique name) and > then search the source of your page for all the window names (by looking > for window.open calls) > > Cheers, > > Paul > > PS this would be a nice addition to chameleon at some point, to have > all open windows go through a popup manager that keeps all the window > handles and manages the callback mechanism, and also handles session > expiry automagically. It won't be in the next version though. > > bartvde@xs4all.nl wrote: > >> Hi list, >> >> we have noticed some strange behaviour (lots of error messages) in >> Chameleon when a session has expired and popup windows are still open. >> >> Is there a way to close all popups when a session expires to prevent >> this >> behaviour, or can't anything be done about this and is it the >> responsibility of the user? >> >> Best regards, >> Bart >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > -- From TENIERER@gov.ns.ca Wed Dec 24 08:23:56 2003 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBODNt8o024623 for ; Wed, 24 Dec 2003 08:23:56 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Wed, 24 Dec 2003 09:23:55 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Wed, 24 Dec 2003 09:23:54 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Wed, 24 Dec 2003 09:23:50 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Wed, 24 Dec 2003 09:23:41 -0400 From: "Rene Teniere " To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Guinevere: 2.0.13 ; Province of Nova Sco Subject: [Chameleon] Page not found Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Again. I finally got the keymap and map area to load up fine, however, whenever I try a tool that requires the map area to refresh like zoom in, out, etc. I get a page cannot be displayed error in the browser. Also, when I click on the keymap, the same thing happens. I re-activated the ErrorReportWidget, and it says that I have no errors. I don't know what's up with this. Possibly a path error in a config file? RT Rene J.R. Teniere - BSc., D.GIS GIS Technician Nova Scotia Department of Natural Resources Forestry Division (GIS) - Truro Phone: (902) 893-5655 Mobile: (902) 209-8956 From TENIERER@gov.ns.ca Wed Dec 24 09:24:35 2003 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBOEOX8o024800 for ; Wed, 24 Dec 2003 09:24:34 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Wed, 24 Dec 2003 10:24:33 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Wed, 24 Dec 2003 10:24:33 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Wed, 24 Dec 2003 10:24:31 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Wed, 24 Dec 2003 10:24:20 -0400 From: "Rene Teniere " To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Guinevere: 2.0.13 ; Province of Nova Sco Subject: [Chameleon] keymap and map display fix Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi again, thought I'd share to everyone who is having problems setting up chameleon 1.1a or the sample application. I found that for me the main map and keymap would not appear unless the web_server_path value in the cwc2.xml config file was set to the URL and not the path, therefore http:///chameleon/ or whatever. Also, the keymap will not work unless you specify the projection in the mapfile: PROJECTION "init=epsg:42304" END Although, you would need to update the espg projection file in the proj/nad folder by downloading and installing the file: http://www2.dmsolutions.ca/mapserver/dl/proj4-espg-with-42xxx-and-esri.zip This should fix some problems, hopefully. Anyhow... Back to my own problems. RT Rene J.R. Teniere - BSc., D.GIS GIS Technician Nova Scotia Department of Natural Resources Forestry Division (GIS) - Truro Phone: (902) 893-5655 Mobile: (902) 209-8956 From bartvde@xs4all.nl Wed Dec 24 11:12:14 2003 Received: from smtpzilla2.xs4all.nl (smtpzilla2.xs4all.nl [194.109.127.138]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBOGC58o025371 for ; Wed, 24 Dec 2003 11:12:14 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla2.xs4all.nl (8.12.9/8.12.9) with ESMTP id hBOGBtWu067984; Wed, 24 Dec 2003 17:11:55 +0100 (CET) Cc: chameleon@lists.maptools.org To: spencer@dmsolutions.ca Subject: Re: [Chameleon] adding several layers from the same external WMS Reply-To: bartvde@xs4all.nl References: <14532.212.238.227.182.1071656747.squirrel@webmail.xs4all.nl> <3FE031F6.20405@geodan.nl> <3FE0DCE5.5060904@magma.ca> Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Wed, 24 Dec 2003 17:09:56 +0100 In-Reply-To: <3FE0DCE5.5060904@magma.ca> User-Agent: Opera7.22/Win32 M2 build 3221 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Paul, just to clarify things. I have tested whether or not the Web Map Context functionality works correctly with the layers=A,B,C,D,E syntax and as you said it works fine. Must be an older version of Chameleon in which I saw this fail, or at that time I did something wrong. The most important thing is that the "wms_name" metadata is correct in the LAYER definition ("wms_name" "A,B,C,D,E"). So I will not file a bug for this. Best regards, Bart On Wed, 17 Dec 2003 17:47:01 -0500, Paul Spencer wrote: > Yes, we have discussed this performance enhancement internally because > of issues another client was having with performance. The intention, I > believe, is to implement the combining 'automagically' in mapserver wms > client code, it would detect that more than one layer is coming from the > same wms server in the same projection etc and would combine the > requests if possible (i.e. if the layers are together). I don't know if > there is a bug in mapserver bugzilla on this or not, but I suspect there > is ... in fact it is bug 116, and it has been marked P1 for version 4.1 > which means that it should get implemented in time for the next release > sometime before March (hopefully). > > I have cc'd Bart on this bug. > > Re the combining of layers in a context, I know this works because I > have been using it recently. However, it does cause some funny side > effects, like layer transparency doesn't seem to work correctly. > > I would recommend that you create a bug in chameleon on maptools > regarding the interaction with the upload/download context and I will > try to take a look at it before the release. > > Cheers, > > Paul > > Huub Fleuren wrote: > >> >> one of the Geodan mapswing components (the java mApplet) uses a >> combine=true setting for this purpose. >> the applet 'combines' a request to the server if the layers are al from >> the same server url into a sigle GET request to the Geodan mapserver >> >> in the chameleon/mapserv setup this would have to be done by the >> mapserver after reading the map file >> >> Huub >> >> bartvde@xs4all.nl wrote: >> >>> Hi list, >>> >>> in Chameleon there is the possibility to add layers from a treeview to >>> the >>> map. >>> >>> In this case if a user adds e.g. 5 layers from the same external WMS, 5 >>> LAYERS are created in the session MAP file, all with a connection type >>> WMS. >>> >>> This means 5 requests to the external WMS per Chameleon MAP refresh. In >>> theory, this could be solved by asking just one image to the WMS server >>> (layers=A,B,C,D,E). Ofcourse, this has the assumption that the five >>> layers >>> from the external WMS are in sequence on top of each other, and not >>> some >>> other layer in between. >>> >>> I have also noticed that when using the layers=A,B,C,D,E type of >>> syntax, >>> the Web Map Context (save, upload) does not function any more. >>> >>> Any thoughts on this, could this be a potential performance enhancement >>> for Chameleon, and would this require changes in PHP/Mapscript or in >>> the >>> Chameleon PHP code? >>> >>> Best regards, >>> Bart >>> _______________________________________________ >>> Chameleon mailing list >>> Chameleon@lists.maptools.org >>> http://lists.maptools.org/mailman/listinfo/chameleon >>> >>> >>> >> > -- From pagameba@magma.ca Wed Dec 24 11:22:31 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBOGMU8o025415 for ; Wed, 24 Dec 2003 11:22:31 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id hBOGMUvW004777; Wed, 24 Dec 2003 11:22:30 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id hBOGMS8e017308; Wed, 24 Dec 2003 11:22:30 -0500 Message-ID: <3FE9BD37.8000605@magma.ca> Date: Wed, 24 Dec 2003 11:22:15 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] adding several layers from the same external WMS References: <14532.212.238.227.182.1071656747.squirrel@webmail.xs4all.nl> <3FE031F6.20405@geodan.nl> <3FE0DCE5.5060904@magma.ca> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, there is one potentially serious side effect of this that appears to be a mapserver issue, which is transparency. I have not isolated this, but it appears that there is a problem with transparency when requesting multiple layers in this way. I am not entirely sure where I saw the problem but I know it was recently. If you see anything like this, can you please report it ... Paul Bart van den Eijnden wrote: > Hi Paul, > > just to clarify things. > > I have tested whether or not the Web Map Context functionality works > correctly with the layers=A,B,C,D,E syntax and as you said it works > fine. Must be an older version of Chameleon in which I saw this fail, or > at that time I did something wrong. > > The most important thing is that the "wms_name" metadata is correct in > the LAYER definition ("wms_name" "A,B,C,D,E"). > > So I will not file a bug for this. > > Best regards, > Bart > > On Wed, 17 Dec 2003 17:47:01 -0500, Paul Spencer wrote: > >> Yes, we have discussed this performance enhancement internally because >> of issues another client was having with performance. The intention, >> I believe, is to implement the combining 'automagically' in mapserver >> wms client code, it would detect that more than one layer is coming >> from the same wms server in the same projection etc and would combine >> the requests if possible (i.e. if the layers are together). I don't >> know if there is a bug in mapserver bugzilla on this or not, but I >> suspect there is ... in fact it is bug 116, and it has been marked P1 >> for version 4.1 which means that it should get implemented in time for >> the next release sometime before March (hopefully). >> >> I have cc'd Bart on this bug. >> >> Re the combining of layers in a context, I know this works because I >> have been using it recently. However, it does cause some funny side >> effects, like layer transparency doesn't seem to work correctly. >> >> I would recommend that you create a bug in chameleon on maptools >> regarding the interaction with the upload/download context and I will >> try to take a look at it before the release. >> >> Cheers, >> >> Paul >> >> Huub Fleuren wrote: >> >>> >>> one of the Geodan mapswing components (the java mApplet) uses a >>> combine=true setting for this purpose. >>> the applet 'combines' a request to the server if the layers are al >>> from the same server url into a sigle GET request to the Geodan >>> mapserver >>> >>> in the chameleon/mapserv setup this would have to be done by the >>> mapserver after reading the map file >>> >>> Huub >>> >>> bartvde@xs4all.nl wrote: >>> >>>> Hi list, >>>> >>>> in Chameleon there is the possibility to add layers from a treeview >>>> to the >>>> map. >>>> >>>> In this case if a user adds e.g. 5 layers from the same external WMS, 5 >>>> LAYERS are created in the session MAP file, all with a connection type >>>> WMS. >>>> >>>> This means 5 requests to the external WMS per Chameleon MAP refresh. In >>>> theory, this could be solved by asking just one image to the WMS server >>>> (layers=A,B,C,D,E). Ofcourse, this has the assumption that the five >>>> layers >>>> from the external WMS are in sequence on top of each other, and not >>>> some >>>> other layer in between. >>>> >>>> I have also noticed that when using the layers=A,B,C,D,E type of >>>> syntax, >>>> the Web Map Context (save, upload) does not function any more. >>>> >>>> Any thoughts on this, could this be a potential performance enhancement >>>> for Chameleon, and would this require changes in PHP/Mapscript or in >>>> the >>>> Chameleon PHP code? >>>> >>>> Best regards, >>>> Bart >>>> _______________________________________________ >>>> Chameleon mailing list >>>> Chameleon@lists.maptools.org >>>> http://lists.maptools.org/mailman/listinfo/chameleon >>>> >>>> >>>> >>> >> > > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From bartvde@xs4all.nl Wed Dec 24 12:39:30 2003 Received: from smtpzilla2.xs4all.nl (smtpzilla2.xs4all.nl [194.109.127.138]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBOHdP8o025683 for ; Wed, 24 Dec 2003 12:39:29 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla2.xs4all.nl (8.12.9/8.12.9) with ESMTP id hBOHdN30022309 for ; Wed, 24 Dec 2003 18:39:23 +0100 (CET) Reply-To: bartvde@xs4all.nl To: "chameleon@lists.maptools.org" From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Wed, 24 Dec 2003 18:37:25 +0100 Message-ID: User-Agent: Opera7.22/Win32 M2 build 3221 Subject: [Chameleon] WFS client and HTTP GET/POST Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, I would like to discuss an "issue" which has come accross my path when trying to implement Chameleon functionality, and then especially the ExtractWFSData widget, on a server different from Mapserver. I know this is probably a long term issue, but anyway, always good to discuss these things a.s.a.p in my opinion. Also, it is both a PHP Mapscript and a Chameleon issue. In the code of the ExtractWFSData widget it is assumed that the WFS server supports the DCPTYPE HTTP GET request for GetFeature on the WFS interface. For Mapserver this is true, but when I am using the ArcIMS WFS Connector, it only supports DCPTYPE HTTP POST. Ofcourse those things are advertized through the GetCapabilities interface, but for many requests the GetCapabilities interface is skipped which is quite logical taking into account performance. Will the PHP/Mapscript code be enhanced in future, to support also an advanced WFS Client which can use both GET and POST, and will Chameleon use this functionality from PHP/Mapscript? And will there be more wfs metadata tags then describing which DCPTYPE (HTTP GET/POST) is supported for the various WFS interfaces, so the WFS client will know what to do, or will the capabilities be parsed for this? Best regards, Bart From pxniw69@yahoo.com Wed Dec 24 15:47:24 2003 Received: from web41903.mail.yahoo.com (web41903.mail.yahoo.com [66.218.93.154]) by www.maptools.org (8.12.5/8.12.5) with SMTP id hBOKlO8o026307 for ; Wed, 24 Dec 2003 15:47:24 -0500 Message-ID: <20031224204653.11779.qmail@web41903.mail.yahoo.com> Received: from [69.160.68.72] by web41903.mail.yahoo.com via HTTP; Wed, 24 Dec 2003 12:46:53 PST Date: Wed, 24 Dec 2003 12:46:53 -0800 (PST) From: pxniw pxniw Subject: Re: [Chameleon] What does chameleon do? To: bartvde@xs4all.nl, chameleon@lists.maptools.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Thanks this cleared up things a bit. Basically its copy and Paste type of environment rather than swyg system. Ie if I want to add something for the sample file, I would add " some widget here " to sample html file. Ok going for more advanced stuff: I noticed that Chameleon will handle MySQL? Found this: http://www.maptools.org/chameleon/wiki/SQLQuery Is this able to do this? I have php and perl scripts working for mapserver with Chameleon and MapLab. I also have some other data in MySQL database. Tables have info like: RestaurantName;City;Lat;Lon How do I query either in PHP or Perl RestaurantName and provide a Pin Label (Marker) for Lat Lon coordinates on my existing mapserver layout for single restaurant? Ie: I have a map of Georgia displayed. User have options to type city in text box (ie Atlanta), and hit Go button. How do I query the MySQL db and show restaurant locations in existing map? Thank You for all of who have provided their time for these projects, I will try to do the same, once I learn things a bit more. Happy Holidays --- Bart van den Eijnden wrote: > Hi, > > basically Chameleon is being fed a HTML template > with special tags in it, > you can recognize them by "CWC". A zoom-in tool for > instance is a widget > and is recognized by the CWC in the HTML template. > The basic unit of > Chameleon is the widget, the HTML template is a > collection of widgets. > > Chameleon interprets this template and creates HTML > and javascript, which > will turn into a full-featured web mapping client. > > Also, it needs to know which map layers to draw, > that's the second > configuration element, so always a Mapserver MAP > file which you can create > with Maplab if you want (or a Web Map Context > document, but this is > harder), is needed. > > In the index.phtml of your sample application both > the HTML template and > the MAP file are linked. This is specific for > Chameleon 1.1 and was > different in Chameleon 1.0 (which had a service > instance which interpreted > templates instead of one application per HTML > template/MAP file > combination). > > In short you could say Chameleon is the toolkit to > easily build webmapping > clients, which could be configured by someone who > knows HTML. > > You can see an example at: > > http://mapsherpa.dmsolutions.ca/hawaii2/ > > Hope this helps. > > Best regards, > Bart > > On Tue, 23 Dec 2003 07:33:24 -0800 (PST), pxniw > pxniw > wrote: > > > Just downloaded and installed chameleon. (1.1 > Alpha 6) > > Its so confusing what is the demo/sample file? > > (I could not find cwc2.php on my files , I think > its > > in the old files) I downloaded files from > > > http://www.maptools.org/chameleon/index.phtml?page=home.html > > > > and see other site > > http://www.dmsolutions.ca/techserv/chameleon.html > > > > this is getting more confusing. > > Installed > > http://www.maptools.org/dl/chameleon-sample.zip > and it > > works, after few changes in paths. > > > > I tried and understand maplab ok. > > > > How do I use chameleon? Is there a screenshot > > somewhere, so I could see what it is used for? (My > > understanding it has all these widgets, but where, > and > > how do I use them... copy and paste the code? I > think > > I am missing something major here. Im completely > nubie > > so explain with that in mind. > > > > Thanks > > > > __________________________________ > > Do you Yahoo!? > > New Yahoo! Photos - easier uploading and sharing. > > http://photos.yahoo.com/ > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > > http://lists.maptools.org/mailman/listinfo/chameleon > > > > > > -- > __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ From pagameba@magma.ca Thu Dec 25 00:14:20 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBP5EK8o027916 for ; Thu, 25 Dec 2003 00:14:20 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id hBP5EKIp023488; Thu, 25 Dec 2003 00:14:20 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id hBP5EF4T009596; Thu, 25 Dec 2003 00:14:19 -0500 Message-ID: <3FEA7227.2090004@magma.ca> Date: Thu, 25 Dec 2003 00:14:15 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pxniw pxniw CC: bartvde@xs4all.nl, chameleon@lists.maptools.org Subject: Re: [Chameleon] What does chameleon do? References: <20031224204653.11779.qmail@web41903.mail.yahoo.com> In-Reply-To: <20031224204653.11779.qmail@web41903.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, don't have time to respond properly for a few days given the holidays, but I don't think the SQLQuery widget will do what you want, but it should be possible to do it with mapserver and ogr using virtual datasources ... will discuss when I have time. Cheers, Paul pxniw pxniw wrote: > Thanks this cleared up things a bit. > Basically its copy and Paste type of environment > rather than swyg system. Ie if I want to add something > for the sample file, I would add " some widget > here " to sample html file. > > Ok going for more advanced stuff: > I noticed that Chameleon will handle MySQL? > Found this: > http://www.maptools.org/chameleon/wiki/SQLQuery > > Is this able to do this? > > I have php and perl scripts working for mapserver with > Chameleon and MapLab. > I also have some other data in MySQL database. > Tables have info like: RestaurantName;City;Lat;Lon > > How do I query either in PHP or Perl RestaurantName > and provide a Pin Label (Marker) for Lat Lon > coordinates on my existing mapserver layout for single > restaurant? > > Ie: I have a map of Georgia displayed. User have > options to type city in text box (ie Atlanta), and hit > Go button. > > How do I query the MySQL db and show restaurant > locations in existing map? > > Thank You for all of who have provided their time for > these projects, I will try to do the same, once I > learn things a bit more. > Happy Holidays > > > --- Bart van den Eijnden wrote: > >>Hi, >> >>basically Chameleon is being fed a HTML template >>with special tags in it, >>you can recognize them by "CWC". A zoom-in tool for >>instance is a widget >>and is recognized by the CWC in the HTML template. >>The basic unit of >>Chameleon is the widget, the HTML template is a >>collection of widgets. >> >>Chameleon interprets this template and creates HTML >>and javascript, which >>will turn into a full-featured web mapping client. >> >>Also, it needs to know which map layers to draw, >>that's the second >>configuration element, so always a Mapserver MAP >>file which you can create >>with Maplab if you want (or a Web Map Context >>document, but this is >>harder), is needed. >> >>In the index.phtml of your sample application both >>the HTML template and >>the MAP file are linked. This is specific for >>Chameleon 1.1 and was >>different in Chameleon 1.0 (which had a service >>instance which interpreted >>templates instead of one application per HTML >>template/MAP file >>combination). >> >>In short you could say Chameleon is the toolkit to >>easily build webmapping >>clients, which could be configured by someone who >>knows HTML. >> >>You can see an example at: >> >>http://mapsherpa.dmsolutions.ca/hawaii2/ >> >>Hope this helps. >> >>Best regards, >>Bart >> >>On Tue, 23 Dec 2003 07:33:24 -0800 (PST), pxniw >>pxniw >>wrote: >> >> >>>Just downloaded and installed chameleon. (1.1 >> >>Alpha 6) >> >>>Its so confusing what is the demo/sample file? >>>(I could not find cwc2.php on my files , I think >> >>its >> >>>in the old files) I downloaded files from >>> >> > http://www.maptools.org/chameleon/index.phtml?page=home.html > >>>and see other site >>>http://www.dmsolutions.ca/techserv/chameleon.html >>> >>>this is getting more confusing. >>>Installed >>>http://www.maptools.org/dl/chameleon-sample.zip >> >>and it >> >>>works, after few changes in paths. >>> >>>I tried and understand maplab ok. >>> >>>How do I use chameleon? Is there a screenshot >>>somewhere, so I could see what it is used for? (My >>>understanding it has all these widgets, but where, >> >>and >> >>>how do I use them... copy and paste the code? I >> >>think >> >>>I am missing something major here. Im completely >> >>nubie >> >>>so explain with that in mind. >>> >>>Thanks >>> >>>__________________________________ >>>Do you Yahoo!? >>>New Yahoo! Photos - easier uploading and sharing. >>>http://photos.yahoo.com/ >>>_______________________________________________ >>>Chameleon mailing list >>>Chameleon@lists.maptools.org >>> >> >>http://lists.maptools.org/mailman/listinfo/chameleon >> >> >> >>-- >> > > > > __________________________________ > Do you Yahoo!? > New Yahoo! Photos - easier uploading and sharing. > http://photos.yahoo.com/ > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From delfos18@yahoo.com Thu Dec 25 10:53:18 2003 Received: from web12107.mail.yahoo.com (web12107.mail.yahoo.com [216.136.172.27]) by www.maptools.org (8.12.5/8.12.5) with SMTP id hBPFrI8o030484 for ; Thu, 25 Dec 2003 10:53:18 -0500 Message-ID: <20031225155302.38150.qmail@web12107.mail.yahoo.com> Received: from [212.129.22.12] by web12107.mail.yahoo.com via HTTP; Thu, 25 Dec 2003 07:53:02 PST Date: Thu, 25 Dec 2003 07:53:02 -0800 (PST) From: "J. Delfos" Reply-To: delfos@myrealbox.com Subject: Re: [Chameleon] legend for non-WMS sources To: Chameleon@lists.maptools.org In-Reply-To: <3FE1B3A4.3050401@magma.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: my problem is indeed that the graphics don't show. It appears that the legend template was written to deliberately ignore anything but WMS. If I overwrite that, the legend popup shows the layer names, but no images. Will clarify after holiday, french keyboard driving me nuts. --- Paul Spencer wrote: > No, that is not what I meant when I wrote that, and I can see the > confusion. My interpretation of the question was (when I started > writing) that the legend graphics were not showing up, which is a > problem when using mapserver as a WMS server (to be fixed shortly), and > that since Contexts are WMS only, this wouldn't fix the problem. Then I > > realized that it was perhaps a more fundamental problem. > > The Chameleon legends work equally as well (or not) regardless of source > > of layers ... > > Cheers, > > Paul > > Kralidis,Tom [Burlington] wrote: > > >>Using contexts will only exaggerate this issue since it is > >>entirely WMS > >>based. As you are using Chameleon 1.1/2.0, using a mapfile > >>is actually > >>the only way that you can get the legend to work properly. > >> > > > > > > Is this to say LegendURL support from Context is gone? If yes, why? > > > > ..Tom > > > > ========================= > > Tom Kralidis > > Systems Scientist > > Environment Canada > > Tel: +01-905-336-4409 > > http://www.ec.gc.ca/cise/ > > ========================= > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > http://lists.maptools.org/mailman/listinfo/chameleon > > > > -- > ----------------------------------------------------------------- > |Paul Spencer spencer@dmsolutions.ca | > |-----------------------------------------------------------------| > |Applications & Software Development | > |DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ From dmsg16@webmail1.magma.ca Wed Dec 24 16:23:37 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBOLNa8o026431 for ; Wed, 24 Dec 2003 16:23:37 -0500 Received: from webmail1.magma.ca (webmail1.magma.ca [206.191.0.241]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id hBOLNaUG006238; Wed, 24 Dec 2003 16:23:36 -0500 Received: (from dmsg16@localhost) by webmail1.magma.ca (Magma's Mail Server) id hBOLNZeS001276; Wed, 24 Dec 2003 16:23:35 -0500 (EST) Date: Wed, 24 Dec 2003 16:23:35 -0500 (EST) Message-Id: <200312242123.hBOLNZeS001276@webmail1.magma.ca> To: "Rene Teniere " , From: "dmsg16" Subject: Re: [Chameleon] Page not found X-Account: dmsg16 X-Sender-IP: 65.93.201.164 X-INFO: Folder - 0, Message - 0, MimeBody - 0 Mime-Version: 1.0 Content-Type: text/plain Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Rene, Which webserver are you using? IIS? Have you tried putting index.phtml at the of your url? For instance: http://myserver/sample_app/index.phtml where http://myserver/sample_app/ is the webpath to your app (and possibly the url you're currently using). If this works then it is likely that the default document is not set for index.phtml. Hope this helps, Jason On Dec 24, "Rene Teniere " wrote: > > Hi Again. > > I finally got the keymap and map area to load up fine, however, > whenever I try a tool that requires the map area to refresh like zoom > in, out, etc. I get a page cannot be displayed error in the browser. > Also, when I click on the keymap, the same thing happens. > > I re-activated the ErrorReportWidget, and it says that I have no > errors. I don't know what's up with this. Possibly a path error in a > config file? > > RT > > Rene J.R. Teniere - BSc., D.GIS > GIS Technician > Nova Scotia Department of Natural Resources > Forestry Division (GIS) - Truro > > Phone: (902) 893-5655 > Mobile: (902) 209-8956 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mail man/listinfo/chameleon > From jean-charles.guimard2@etud.univ-ubs.fr Mon Dec 29 03:09:28 2003 Received: from vohkoohe.univ-ubs.fr (vohkoohe.univ-ubs.fr [193.52.32.68]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBT89Q8o021682 for ; Mon, 29 Dec 2003 03:09:27 -0500 Received: from homae.univ-ubs.fr (homae.univ-ubs.fr [193.52.48.69]) by vohkoohe.univ-ubs.fr (8.12.9/8.12.6) with ESMTP id hBT89Kq0043836 for ; Mon, 29 Dec 2003 09:09:21 +0100 (CET) (envelope-from jean-charles.guimard2@etud.univ-ubs.fr) Received: (from nobody@localhost) by homae.univ-ubs.fr (8.11.6/8.11.6/$RCSfile: homae.mc,v $Revision: 1.5 $) id hBT89Kc05138 for chameleon@lists.maptools.org; Mon, 29 Dec 2003 09:09:20 +0100 (CET) (envelope-from jean-charles.guimard2@etud.univ-ubs.fr) From: jean-charles.guimard2@etud.univ-ubs.fr X-Authentication-Warning: homae.univ-ubs.fr: nobody set sender to jean-charles.guimard2@etud.univ-ubs.fr using -f Received: from 81.250.154.177 ( [81.250.154.177]) as user e2guimar@localhost by homae.univ-ubs.fr with HTTP; Mon, 29 Dec 2003 09:09:20 +0100 Message-ID: <1072685360.3fefe13036665@homae.univ-ubs.fr> Date: Mon, 29 Dec 2003 09:09:20 +0100 To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) X-Originating-IP: 81.250.154.177 X-Scanned-By: MIMEDefang 2.30 (www . roaringpenguin . com / mimedefang) Subject: [Chameleon] Couldn't resolve host 'www2.dmsolutions.ca' Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: When I try the chameleon demo, I have an error report popup like this : WMS GetMap request failed for layer 'l0:bathymetry' (Status -6: Couldn't resolve host 'www2.dmsolutions.ca'). WMS GetMap request failed for layer 'l1:land_fn' (Status -6: Couldn't resolve host 'www2.dmsolutions.ca'). WMS GetMap request failed for layer 'l3:drain_fn' (Status -6: Couldn't resolve host 'www2.dmsolutions.ca'). ... ... The cwc2 demo page is display with buttons, legend, scalebar, keymap but the main map is not display. Any ideas? -------------------------------------------------------------------------------- Université de Bretagne sud http://www.univ-ubs.fr/ From bartvde@xs4all.nl Mon Dec 29 04:57:12 2003 Received: from smtpzilla1.xs4all.nl (smtpzilla1.xs4all.nl [194.109.127.137]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBT9vB8o022664 for ; Mon, 29 Dec 2003 04:57:12 -0500 Received: from webmail.xs4all.nl (webmail8.xs4all.nl [194.109.127.33]) by smtpzilla1.xs4all.nl (8.12.9/8.12.9) with SMTP id hBT9v52q043270 for ; Mon, 29 Dec 2003 10:57:11 +0100 (CET) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Mon, 29 Dec 2003 10:57:10 +0100 (CET) Message-ID: <10758.212.238.227.182.1072691830.squirrel@webmail.xs4all.nl> In-Reply-To: <1072685360.3fefe13036665@homae.univ-ubs.fr> References: <1072685360.3fefe13036665@homae.univ-ubs.fr> Date: Mon, 29 Dec 2003 10:57:10 +0100 (CET) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [Chameleon] scalehints Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, is there a possibility to have the Chameleon "Map widget" use a certain set of scalehints? We have ECW raster layers which, when read at a scale different from the original scale, take a really long time to render (this is a known problem in GDAL). So in order not to have them read in scales different from the original data, we need to have the map client fixed to a certain set of scales. Is this possible, or how would one go about creating this functionality? Thanks in advance for the info. Best regards, Bart From bartvde@xs4all.nl Mon Dec 29 05:14:12 2003 Received: from smtpzilla1.xs4all.nl (smtpzilla1.xs4all.nl [194.109.127.137]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBTAEB8o022736 for ; Mon, 29 Dec 2003 05:14:11 -0500 Received: from webmail.xs4all.nl (webmail8.xs4all.nl [194.109.127.33]) by smtpzilla1.xs4all.nl (8.12.9/8.12.9) with SMTP id hBTAE9Eq053684; Mon, 29 Dec 2003 11:14:09 +0100 (CET) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Mon, 29 Dec 2003 11:14:09 +0100 (CET) Message-ID: <21750.212.238.227.182.1072692849.squirrel@webmail.xs4all.nl> In-Reply-To: <1072685360.3fefe13036665@homae.univ-ubs.fr> References: <1072685360.3fefe13036665@homae.univ-ubs.fr> Date: Mon, 29 Dec 2003 11:14:09 +0100 (CET) Subject: Re: [Chameleon] Couldn't resolve host 'www2.dmsolutions.ca' From: bartvde@xs4all.nl To: jean-charles.guimard2@etud.univ-ubs.fr Cc: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, which version of Chameleon are you using (1.0 or 1.1, and which exact version)? The only files containing a reference to www2.dmsolutions.ca are as far as I know the gmap_context.xml and the production_draw_legend.php (reference to gifsample.exe). Try doing this in your browser: http://www2.dmsolutions.ca/cgi-bin/mswms_gmap?request=GetCapabilities&version=1.0.7 do you get results back? Best regards, Bart > When I try the chameleon demo, I have an error report popup like this : > > WMS GetMap request failed for layer 'l0:bathymetry' (Status -6: Couldn't > resolve host 'www2.dmsolutions.ca'). > WMS GetMap request failed for layer 'l1:land_fn' (Status -6: Couldn't > resolve > host 'www2.dmsolutions.ca'). > WMS GetMap request failed for layer 'l3:drain_fn' (Status -6: Couldn't > resolve > host 'www2.dmsolutions.ca'). > ... > ... > > The cwc2 demo page is display with buttons, legend, scalebar, keymap > but the > main map is not display. Any ideas? > > -------------------------------------------------------------------------------- > Universiti de Bretagne sud > http://www.univ-ubs.fr/ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From TENIERER@gov.ns.ca Mon Dec 29 06:52:59 2003 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBTBqw8o023147 for ; Mon, 29 Dec 2003 06:52:59 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 29 Dec 2003 07:38:26 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 29 Dec 2003 07:38:26 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Mon, 29 Dec 2003 07:38:20 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Mon, 29 Dec 2003 07:38:03 -0400 From: "Rene Teniere " To: , Subject: Re: [Chameleon] Page not found Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Guinevere: 2.0.13 ; Province of Nova Sco Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Jason, I am using IIS, and I do have the index.phtml listed as a default document. It works on initial startup without the index.phtml, it is only when you change anything on the map display when it goes to refresh and send the new parameters that is doesn't know where it is. Weirdest thing ever, since it works fine in every other sense. Thanks, Rene >>> "dmsg16" 2003-12-24 5:23:35 PM >>> Hi Rene, Which webserver are you using? IIS? Have you tried putting index.phtml at the of your url? For instance: http://myserver/sample_app/index.phtml where http://myserver/sample_app/ is the webpath to your app (and possibly the url you're currently using). If this works then it is likely that the default document is not set for index.phtml. Hope this helps, Jason On Dec 24, "Rene Teniere " wrote: > > Hi Again. > > I finally got the keymap and map area to load up fine, however, > whenever I try a tool that requires the map area to refresh like zoom > in, out, etc. I get a page cannot be displayed error in the browser. > Also, when I click on the keymap, the same thing happens. > > I re-activated the ErrorReportWidget, and it says that I have no > errors. I don't know what's up with this. Possibly a path error in a > config file? > > RT > > Rene J.R. Teniere - BSc., D.GIS > GIS Technician > Nova Scotia Department of Natural Resources > Forestry Division (GIS) - Truro > > Phone: (902) 893-5655 > Mobile: (902) 209-8956 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mail man/listinfo/chameleon > _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From TENIERER@gov.ns.ca Mon Dec 29 06:53:03 2003 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBTBr38o023152 for ; Mon, 29 Dec 2003 06:53:03 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 29 Dec 2003 07:44:50 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 29 Dec 2003 07:44:49 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Mon, 29 Dec 2003 07:44:46 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Mon, 29 Dec 2003 07:44:32 -0400 From: "Rene Teniere " To: , Subject: Re: [Chameleon] Page not found Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Guinevere: 2.0.13 ; Province of Nova Sco Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Jason, I misinterpreted your message and was thinking of something different. That did solve my problem, which means that I must set the site so that it reads the index.phtml file before anything else, correct? Sorry about the confusion. First day back from the 4 day holiday :( Hope everyone had a great one ;) Rene >>> "dmsg16" 2003-12-24 5:23:35 PM >>> Hi Rene, Which webserver are you using? IIS? Have you tried putting index.phtml at the of your url? For instance: http://myserver/sample_app/index.phtml where http://myserver/sample_app/ is the webpath to your app (and possibly the url you're currently using). If this works then it is likely that the default document is not set for index.phtml. Hope this helps, Jason On Dec 24, "Rene Teniere " wrote: > > Hi Again. > > I finally got the keymap and map area to load up fine, however, > whenever I try a tool that requires the map area to refresh like zoom > in, out, etc. I get a page cannot be displayed error in the browser. > Also, when I click on the keymap, the same thing happens. > > I re-activated the ErrorReportWidget, and it says that I have no > errors. I don't know what's up with this. Possibly a path error in a > config file? > > RT > > Rene J.R. Teniere - BSc., D.GIS > GIS Technician > Nova Scotia Department of Natural Resources > Forestry Division (GIS) - Truro > > Phone: (902) 893-5655 > Mobile: (902) 209-8956 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mail man/listinfo/chameleon > _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From jean-charles.guimard2@etud.univ-ubs.fr Mon Dec 29 08:15:19 2003 Received: from vohkoohe.univ-ubs.fr (vohkoohe.univ-ubs.fr [193.52.32.68]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBTDFI8o023453 for ; Mon, 29 Dec 2003 08:15:19 -0500 Received: from homae.univ-ubs.fr (homae.univ-ubs.fr [193.52.48.69]) by vohkoohe.univ-ubs.fr (8.12.9/8.12.6) with ESMTP id hBTDFGq0049996; Mon, 29 Dec 2003 14:15:17 +0100 (CET) (envelope-from jean-charles.guimard2@etud.univ-ubs.fr) Received: (from nobody@localhost) by homae.univ-ubs.fr (8.11.6/8.11.6/$RCSfile: homae.mc,v $Revision: 1.5 $) id hBTDFGu12748; Mon, 29 Dec 2003 14:15:16 +0100 (CET) (envelope-from jean-charles.guimard2@etud.univ-ubs.fr) From: jean-charles.guimard2@etud.univ-ubs.fr X-Authentication-Warning: homae.univ-ubs.fr: nobody set sender to jean-charles.guimard2@etud.univ-ubs.fr using -f Received: from 81.250.154.177 ( [81.250.154.177]) as user e2guimar@localhost by homae.univ-ubs.fr with HTTP; Mon, 29 Dec 2003 14:15:16 +0100 Message-ID: <1072703716.3ff028e42d3b3@homae.univ-ubs.fr> Date: Mon, 29 Dec 2003 14:15:16 +0100 To: bartvde@xs4all.nl Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Couldn't resolve host 'www2.dmsolutions.ca' References: <1072685360.3fefe13036665@homae.univ-ubs.fr> <21750.212.238.227.182.1072692849.squirrel@webmail.xs4all.nl> In-Reply-To: <21750.212.238.227.182.1072692849.squirrel@webmail.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) X-Originating-IP: 81.250.154.177 X-Scanned-By: MIMEDefang 2.30 (www . roaringpenguin . com / mimedefang) Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: When I try the url : http://www2.dmsolutions.ca/cgi-bin/mswms_gmap? request=GetCapabilities&version=1.0.7 I have an xml page (mswms_gmap.xml) like this : - - - - ... ... I have unzip the cwc2-1.0.5-20031210.tar.gz. Also I may use the 1.1 chameleon version. If I try with the geobase.xml context, I have the same error report popup : WMS GetMap request failed for layer 'l0:DNEC:Elevation/Bathymetry' (Status -6: Couldn't resolve host 'geobase.ca'). WMS GetMap request failed for layer 'l4:URB_250K:Reference' (Status -6: Couldn't resolve host 'geobase.ca'). WMS GetMap request failed for layer 'l5:HYDRO_250K:Reference' (Status -6: Couldn't resolve host 'geobase.ca'). ... ... I think the problem is link to WMS, perhaps I can't connect to any WMS. I would try with a context file unless WMS but I don't find such examples. All the examples I have found use WMS (http://www2.dmsolutions.ca/msapps/contexts/). Surlignage bartvde@xs4all.nl: > Hi, > > which version of Chameleon are you using (1.0 or 1.1, and which exact > version)? > > The only files containing a reference to www2.dmsolutions.ca are as far as > I know the gmap_context.xml and the production_draw_legend.php (reference > to gifsample.exe). > > Try doing this in your browser: > > http://www2.dmsolutions.ca/cgi-bin/mswms_gmap? request=GetCapabilities&version=1.0.7 > > do you get results back? > > Best regards, > Bart > > > When I try the chameleon demo, I have an error report popup like this > : > > > > WMS GetMap request failed for layer 'l0:bathymetry' (Status -6: Couldn't > > resolve host 'www2.dmsolutions.ca'). > > WMS GetMap request failed for layer 'l1:land_fn' (Status -6: Couldn't > > resolve > > host 'www2.dmsolutions.ca'). > > WMS GetMap request failed for layer 'l3:drain_fn' (Status -6: Couldn't > > resolve > > host 'www2.dmsolutions.ca'). > > ... > > ... > > > > The cwc2 demo page is display with buttons, legend, scalebar, keymap > > but the > > main map is not display. Any ideas? > > > > > ------------------------------------------------------------------------------ -- > > Universiti de Bretagne sud > > http://www.univ-ubs.fr/ > > > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > http://lists.maptools.org/mailman/listinfo/chameleon > > > > > > -------------------------------------------------------------------------------- Université de Bretagne sud http://www.univ-ubs.fr/ From jfournier@dmsolutions.ca Mon Dec 29 09:03:36 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBTE3a8o023638 for ; Mon, 29 Dec 2003 09:03:36 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id hBTE3YXp003790; Mon, 29 Dec 2003 09:03:34 -0500 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id hBTE3YsN030365; Mon, 29 Dec 2003 09:03:35 -0500 Message-ID: <3FF034F4.2030007@dmsolutions.ca> Date: Mon, 29 Dec 2003 09:06:44 -0500 From: Jason Fournier Reply-To: jfournier@dmsolutions.ca User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rene Teniere CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Page not found References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------040205030701030308030706" Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. --------------040205030701030308030706 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi Rene, Yes, under the 'Default Document' tab of your website in the IIS snapin place index.phtml as the first page to hit. Happy holidays all. Cheers, Jay Rene Teniere wrote: >Hi Jason, I misinterpreted your message and was thinking of something >different. That did solve my problem, which means that I must set the >site so that it reads the index.phtml file before anything else, >correct? Sorry about the confusion. First day back from the 4 day >holiday :( Hope everyone had a great one ;) > >Rene > > > >>>>"dmsg16" 2003-12-24 5:23:35 PM >>> >>>> >>>> >Hi Rene, > >Which webserver are you using? IIS? > >Have you tried putting index.phtml at the of your url? For instance: >http://myserver/sample_app/index.phtml where >http://myserver/sample_app/ is the webpath >to your app (and possibly the url you're currently using). If this >works then it is >likely that the default document is not set for index.phtml. > >Hope this helps, >Jason > > > >On Dec 24, "Rene Teniere " wrote: > > >>Hi Again. >> >> I finally got the keymap and map area to load up fine, however, >>whenever I try a tool that requires the map area to refresh like >> >> >zoom > > >>in, out, etc. I get a page cannot be displayed error in the browser. >>Also, when I click on the keymap, the same thing happens. >> >> I re-activated the ErrorReportWidget, and it says that I have no >>errors. I don't know what's up with this. Possibly a path error in a >>config file? >> >>RT >> >>Rene J.R. Teniere - BSc., D.GIS >>GIS Technician >>Nova Scotia Department of Natural Resources >>Forestry Division (GIS) - Truro >> >>Phone: (902) 893-5655 >>Mobile: (902) 209-8956 >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>> >> >href='http://lists.maptools.org/mailman/listinfo/chameleon'>http://lists.maptools.org/mail > >man/listinfo/chameleon > > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > > -- -- |Jason Fournier |DM Solutions Group |Application Developer |Ottawa, ON |613.565.5056 x 18 |jfournier@dmsolutions.ca -- --------------040205030701030308030706 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Rene,

Yes, under the 'Default Document' tab of your website in the IIS snapin place index.phtml as the first page to hit.

Happy holidays all.

Cheers,
Jay




Rene Teniere wrote:
Hi Jason, I misinterpreted your message and was thinking of something
different. That did solve my problem, which means that I must set the
site so that it reads the index.phtml file before anything else,
correct? Sorry about the confusion. First day back from the 4 day
holiday :( Hope everyone had a great one ;)

Rene

  
"dmsg16" <dmsg16@magma.ca> 2003-12-24 5:23:35 PM >>>
        
Hi Rene,

Which webserver are you using?  IIS?

Have you tried putting index.phtml at the of your url?  For instance: 
http://myserver/sample_app/index.phtml where
http://myserver/sample_app/ is the webpath 
to your app (and possibly the url you're currently using).  If this
works then it is 
likely that the default document is not set for index.phtml.

Hope this helps,
Jason



On Dec 24, "Rene  Teniere " <TENIERER@gov.ns.ca> wrote:
  
Hi Again.

 I finally got the keymap and map area to load up fine, however,
whenever I try a tool that requires the map area to refresh like
    
zoom
  
in, out, etc. I get a page cannot be displayed error in the browser.
Also, when I click on the keymap, the same thing happens.

 I re-activated the ErrorReportWidget, and it says that I have no
errors. I don't know what's up with this. Possibly a path error in a
config file?

RT

Rene J.R. Teniere - BSc., D.GIS
GIS Technician
Nova Scotia Department of Natural Resources
Forestry Division (GIS) - Truro

Phone: (902) 893-5655
Mobile: (902) 209-8956
_______________________________________________
Chameleon mailing list
Chameleon@lists.maptools.org 
<a 
    
href='http://lists.maptools.org/mailman/listinfo/chameleon'>http://lists.maptools.org/mail

man/listinfo/chameleon</a>
  
_______________________________________________
Chameleon mailing list
Chameleon@lists.maptools.org 
http://lists.maptools.org/mailman/listinfo/chameleon
_______________________________________________
Chameleon mailing list
Chameleon@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/chameleon

  

-- 
 --
 |Jason Fournier
 |DM Solutions Group
 |Application Developer
 |Ottawa, ON
 |613.565.5056 x 18
 |jfournier@dmsolutions.ca
 --
--------------040205030701030308030706-- From bartvde@xs4all.nl Mon Dec 29 09:09:25 2003 Received: from smtpzilla3.xs4all.nl (smtpzilla3.xs4all.nl [194.109.127.139]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBTE9P8o023670 for ; Mon, 29 Dec 2003 09:09:25 -0500 Received: from webmail.xs4all.nl (webmail8.xs4all.nl [194.109.127.33]) by smtpzilla3.xs4all.nl (8.12.9/8.12.9) with SMTP id hBTE9FAw040654; Mon, 29 Dec 2003 15:09:16 +0100 (CET) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Mon, 29 Dec 2003 15:09:21 +0100 (CET) Message-ID: <13851.212.238.227.182.1072706961.squirrel@webmail.xs4all.nl> In-Reply-To: <1072703716.3ff028e42d3b3@homae.univ-ubs.fr> References: <1072685360.3fefe13036665@homae.univ-ubs.fr> <21750.212.238.227.182.1072692849.squirrel@webmail.xs4all.nl> <1072703716.3ff028e42d3b3@homae.univ-ubs.fr> Date: Mon, 29 Dec 2003 15:09:21 +0100 (CET) Subject: Re: [Chameleon] Couldn't resolve host 'www2.dmsolutions.ca' From: bartvde@xs4all.nl To: jean-charles.guimard2@etud.univ-ubs.fr Cc: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, when I try using http://www2.dmsolutions.ca/msapps/contexts/gmap_context_1_0_0.xml in my Chameleon 1.1 application, everything works fine. Did you try this context file already? If I use the Geobase context file I also get errors, so this must be a server issue: WMS GetMap request failed for layer 'l0:DNEC:Elevation/Bathymetry' (Status 404: ). WMS GetMap request failed for layer 'l4:URB_250K:Reference' (Status 404: ). WMS GetMap request failed for layer 'l5:HYDRO_250K:Reference' (Status 404: ). WMS GetMap request failed for layer 'l6:DRAINAGE:Reference' (Status 404: ). WMS GetMap request failed for layer 'l17:CANADA:Reference' (Status 404: ). WMS GetMap request failed for layer 'l18:CAPITALS:Reference' (Status 404: ). Best regards, Bart > When I try the url : > http://www2.dmsolutions.ca/cgi-bin/mswms_gmap? > request=GetCapabilities&version=1.0.7 > > I have an xml page (mswms_gmap.xml) like this : > > > > - > - > - > - > > ... > ... > > I have unzip the cwc2-1.0.5-20031210.tar.gz. Also I may use the 1.1 > chameleon version. > > If I try with the geobase.xml context, I have the same error report > popup : > > WMS GetMap request failed for layer 'l0:DNEC:Elevation/Bathymetry' (Status > -6: > Couldn't resolve host 'geobase.ca'). > WMS GetMap request failed for layer 'l4:URB_250K:Reference' (Status -6: > Couldn't resolve host 'geobase.ca'). > WMS GetMap request failed for layer 'l5:HYDRO_250K:Reference' (Status -6: > Couldn't resolve host 'geobase.ca'). > ... > ... > > I think the problem is link to WMS, perhaps I can't connect to any WMS. > I would try with a context file unless WMS but I don't find such > examples. > All the examples I have found use WMS > (http://www2.dmsolutions.ca/msapps/contexts/). > > > > > > Surlignage bartvde@xs4all.nl: > >> Hi, >> >> which version of Chameleon are you using (1.0 or 1.1, and which exact >> version)? >> >> The only files containing a reference to www2.dmsolutions.ca are as far >> as >> I know the gmap_context.xml and the production_draw_legend.php >> (reference >> to gifsample.exe). >> >> Try doing this in your browser: >> >> http://www2.dmsolutions.ca/cgi-bin/mswms_gmap? > request=GetCapabilities&version=1.0.7 >> >> do you get results back? >> >> Best regards, >> Bart >> >> > When I try the chameleon demo, I have an error report popup like >> this >> : >> > >> > WMS GetMap request failed for layer 'l0:bathymetry' (Status -6: >> Couldn't >> > resolve host 'www2.dmsolutions.ca'). >> > WMS GetMap request failed for layer 'l1:land_fn' (Status -6: Couldn't >> > resolve >> > host 'www2.dmsolutions.ca'). >> > WMS GetMap request failed for layer 'l3:drain_fn' (Status -6: Couldn't >> > resolve >> > host 'www2.dmsolutions.ca'). >> > ... >> > ... >> > >> > The cwc2 demo page is display with buttons, legend, scalebar, >> keymap >> > but the >> > main map is not display. Any ideas? >> > >> > >> ------------------------------------------------------------------------------ > -- >> > Universiti de Bretagne sud >> > http://www.univ-ubs.fr/ >> > >> > _________________________________________ > ______ >> > Chameleon mailing list >> > Chameleon@lists.maptools.org >> > http://lists.maptools.org/mailman/listinfo/chameleon >> > >> >> >> >> > > > > > -------------------------------------------------------------------------------- > Université de Bretagne sud > http://www.univ-ubs.fr/ > From TENIERER@gov.ns.ca Mon Dec 29 09:12:42 2003 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBTECg8o023696 for ; Mon, 29 Dec 2003 09:12:42 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 29 Dec 2003 10:12:41 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 29 Dec 2003 10:12:41 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Mon, 29 Dec 2003 10:12:40 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Mon, 29 Dec 2003 10:12:25 -0400 From: "Rene Teniere " To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Guinevere: 2.0.13 ; Province of Nova Sco Subject: [Chameleon] RGB Map Output and Keymap Problems Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi All, Wondering if there is another place besides the mapfile where you have to specify RGB output in Chameleon? The raster display works fine in MapServer and MapLab, however, in Chameleon it comes out as 256 colour. Also, has anyone else encountered a problem with the keymap location box being in the wrong place, even though the projection and extents are correct? Later, Rene Selected .MAP file MAP NAME "Hurricane Juan Page" STATUS ON EXTENT 381053 4915490 573294 5059550 SIZE 400 300 SHAPEPATH "D:/GIS_Data/" SYMBOLSET "C:/chameleon11a/websites/test/etc/symbols.sym" FONTSET "C:/chameleon11a/websites/test/etc/fonts.txt" IMAGETYPE PNG IMAGECOLOR 255 255 255 UNITS METERS RESOLUTION 90.714286 WEB IMAGEPATH "c:/temp/" IMAGEURL "/temp/" END PROJECTION "init=epsg:2038" #UTM Zone 20 NAD83 for Nova Scotia END OUTPUTFORMAT NAME "PNG" MIMETYPE "image/png" DRIVER "GD/PNG" EXTENSION "png" IMAGEMODE RGB TRANSPARENT OFF END LAYER NAME "orthov1.ecw" STATUS ON DATA "D:/GIS_Data/NSMrSIDImages/Output/orthov1.ecw" TYPE RASTER MINSCALE 0 MAXSCALE 200000 END Rene J.R. Teniere - BSc., D.GIS GIS Technician Nova Scotia Department of Natural Resources Forestry Division (GIS) - Truro Phone: (902) 893-5655 Mobile: (902) 209-8956 From pagameba@magma.ca Mon Dec 29 10:15:54 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBTFFs8o023973 for ; Mon, 29 Dec 2003 10:15:54 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id hBTFFr6B005587; Mon, 29 Dec 2003 10:15:53 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id hBTFFmw5009063; Mon, 29 Dec 2003 10:15:53 -0500 Message-ID: <3FF0451F.8000501@magma.ca> Date: Mon, 29 Dec 2003 10:15:43 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rene Teniere CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] RGB Map Output and Keymap Problems References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Rene, try imagetype png24, you should not need the outputformat object. as for the keymap, if everything is right, then it should line up. It is somewhat tricky to get all the pieces right though, I will be evaluating different options for the keymap to simplify it in January (I hope). In the mean time, look at the relative sizes of the map and keymap, the extents, and the projection of the extents ... make sure that the values are the same everywhere. Cheers, Paul Rene Teniere wrote: > Hi All, > > Wondering if there is another place besides the mapfile where you have > to specify RGB output in Chameleon? The raster display works fine in > MapServer and MapLab, however, in Chameleon it comes out as 256 colour. > > > Also, has anyone else encountered a problem with the keymap location > box being in the wrong place, even though the projection and extents are > correct? > > Later, > Rene > > Selected .MAP file > MAP > NAME "Hurricane Juan Page" > STATUS ON > EXTENT 381053 4915490 573294 5059550 > SIZE 400 300 > SHAPEPATH "D:/GIS_Data/" > SYMBOLSET "C:/chameleon11a/websites/test/etc/symbols.sym" > FONTSET "C:/chameleon11a/websites/test/etc/fonts.txt" > IMAGETYPE PNG > IMAGECOLOR 255 255 255 > UNITS METERS > RESOLUTION 90.714286 > WEB > IMAGEPATH "c:/temp/" > IMAGEURL "/temp/" > END > PROJECTION > "init=epsg:2038" > #UTM Zone 20 NAD83 for Nova Scotia > END > OUTPUTFORMAT > NAME "PNG" > MIMETYPE "image/png" > DRIVER "GD/PNG" > EXTENSION "png" > IMAGEMODE RGB > TRANSPARENT OFF > END > LAYER > NAME "orthov1.ecw" > STATUS ON > DATA "D:/GIS_Data/NSMrSIDImages/Output/orthov1.ecw" > TYPE RASTER > MINSCALE 0 > MAXSCALE 200000 > END > > > Rene J.R. Teniere - BSc., D.GIS > GIS Technician > Nova Scotia Department of Natural Resources > Forestry Division (GIS) - Truro > > Phone: (902) 893-5655 > Mobile: (902) 209-8956 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From jean-charles.guimard2@etud.univ-ubs.fr Mon Dec 29 10:17:04 2003 Received: from vohkoohe.univ-ubs.fr (vohkoohe.univ-ubs.fr [193.52.32.68]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBTFH38o023992 for ; Mon, 29 Dec 2003 10:17:04 -0500 Received: from homae.univ-ubs.fr (homae.univ-ubs.fr [193.52.48.69]) by vohkoohe.univ-ubs.fr (8.12.9/8.12.6) with ESMTP id hBTFH1q0052582; Mon, 29 Dec 2003 16:17:01 +0100 (CET) (envelope-from jean-charles.guimard2@etud.univ-ubs.fr) Received: (from nobody@localhost) by homae.univ-ubs.fr (8.11.6/8.11.6/$RCSfile: homae.mc,v $Revision: 1.5 $) id hBTFH0P13375; Mon, 29 Dec 2003 16:17:00 +0100 (CET) (envelope-from jean-charles.guimard2@etud.univ-ubs.fr) From: jean-charles.guimard2@etud.univ-ubs.fr X-Authentication-Warning: homae.univ-ubs.fr: nobody set sender to jean-charles.guimard2@etud.univ-ubs.fr using -f Received: from 81.250.151.182 ( [81.250.151.182]) as user e2guimar@localhost by homae.univ-ubs.fr with HTTP; Mon, 29 Dec 2003 16:17:00 +0100 Message-ID: <1072711020.3ff0456c888ec@homae.univ-ubs.fr> Date: Mon, 29 Dec 2003 16:17:00 +0100 To: bartvde@xs4all.nl Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Couldn't resolve host 'www2.dmsolutions.ca' References: <1072685360.3fefe13036665@homae.univ-ubs.fr> <21750.212.238.227.182.1072692849.squirrel@webmail.xs4all.nl> <1072703716.3ff028e42d3b3@homae.univ-ubs.fr> <13851.212.238.227.182.1072706961.squirrel@webmail.xs4all.nl> In-Reply-To: <13851.212.238.227.182.1072706961.squirrel@webmail.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) X-Originating-IP: 81.250.151.182 X-Scanned-By: MIMEDefang 2.30 (www . roaringpenguin . com / mimedefang) Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I have also tried http://www2.dmsolutions.ca/msapps/contexts/gmap_context_1_0_0.xml but it doesn't work more. It must be a internal error, our server configuration seems to not allow to ping external host. I will try to install my own WMS Server on my machine. Or can I make a context file without WMS? Surlignage bartvde@xs4all.nl: > Hi, > > when I try using > http://www2.dmsolutions.ca/msapps/contexts/gmap_context_1_0_0.xml > > in my Chameleon 1.1 application, everything works fine. > > Did you try this context file already? > > If I use the Geobase context file I also get errors, so this must be a > server issue: > > WMS GetMap request failed for layer 'l0:DNEC:Elevation/Bathymetry' (Status > 404: ). > WMS GetMap request failed for layer 'l4:URB_250K:Reference' (Status 404: ). > WMS GetMap request failed for layer 'l5:HYDRO_250K:Reference' (Status 404: > ). > WMS GetMap request failed for layer 'l6:DRAINAGE:Reference' (Status 404: ). > WMS GetMap request failed for layer 'l17:CANADA:Reference' (Status 404: ). > WMS GetMap request failed for layer 'l18:CAPITALS:Reference' (Status 404: > ). > > Best regards, > Bart > > > When I try the url : > > http://www2.dmsolutions.ca/cgi-bin/mswms_gmap? > > request=GetCapabilities&version=1.0.7 > > > > I have an xml page (mswms_gmap.xml) like this : > > > > > > > > - > > - > > - > > - > > > > ... > > ... > > > > I have unzip the cwc2-1.0.5-20031210.tar.gz. Also I may use the 1.1 > > chameleon version. > > > > If I try with the geobase.xml context, I have the same error report > > popup : > > > > WMS GetMap request failed for layer 'l0:DNEC:Elevation/Bathymetry' > (Status > > -6: > > Couldn't resolve host 'geobase.ca'). > > WMS GetMap request failed for layer 'l4:URB_250K:Reference' (Status -6: > > Couldn't resolve host 'geobase.ca'). > > WMS GetMap request failed for layer 'l5:HYDRO_250K:Reference' (Status -6: > > Couldn't resolve host 'geobase.ca'). > > ... > > ... > > > > I think the problem is link to WMS, perhaps I can't connect to any > WMS. > > I would try with a context file unless WMS but I don't find such > > examples. > > All the examples I have found use WMS > > (http://www2.dmsolutions.ca/msapps/contexts/). > > > > > > > > > > > > Surlignage bartvde@xs4all.nl: > > > >> Hi, > >> > >> which version of Chameleon are you using (1.0 or 1.1, and which exact > >> version)? > >> > >> The only files containing a reference to www2.dmsolutions.ca are as far > >> as > >> I know the gmap_context.xml and the production_draw_legend.php > >> (reference > >> to gifsample.exe). > >> > >> Try doing this in your browser: > >> > >> http://www2.dmsolutions.ca/cgi-bin/mswms_gmap? > > request=GetCapabilities&version=1.0.7 > >> > >> do you get results back? > >> > >> Best regards, > >> Bart > >> > >> > When I try the chameleon demo, I have an error report popup like > >> this > >> : > >> > > >> > WMS GetMap request failed for layer 'l0:bathymetry' (Status -6: > >> Couldn't > >> > resolve host 'www2.dmsolutions.ca'). > >> > WMS GetMap request failed for layer 'l1:land_fn' (Status -6: Couldn't > >> > resolve > >> > host 'www2.dmsolutions.ca'). > >> > WMS GetMap request failed for layer 'l3:drain_fn' (Status -6: Couldn't > >> > resolve > >> > host 'www2.dmsolutions.ca'). > >> > ... > >> > ... > >> > > >> > The cwc2 demo page is display with buttons, legend, scalebar, > >> keymap > >> > but the > >> > main map is not display. Any ideas? > >> > > >> > > >> > ------------------------------------------------------------------------------ > > -- > >> > Universiti de Bretagne sud > >> > http://www.univ-ubs.fr/ > >> > > >> > _________________________________________ > > ______ > >> > Chameleon mailing list > >> > Chameleon@lists.maptools.org > >> > http://lists.maptools.org/mailman/listinfo/chameleon > >> > > >> > >> > >> > >> > > > > > > > > > > > ------------------------------------------------------------------------------ -- > > Université de Bretagne sud > > http://www.univ-ubs.fr/ > > > > -------------------------------------------------------------------------------- Université de Bretagne sud http://www.univ-ubs.fr/ From pagameba@magma.ca Mon Dec 29 10:19:13 2003 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBTFJC8o024011 for ; Mon, 29 Dec 2003 10:19:12 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id hBTFJCXp021405; Mon, 29 Dec 2003 10:19:12 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id hBTFJALI022507; Mon, 29 Dec 2003 10:19:12 -0500 Message-ID: <3FF045E8.80100@magma.ca> Date: Mon, 29 Dec 2003 10:19:04 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] scalehints References: <1072685360.3fefe13036665@homae.univ-ubs.fr> <10758.212.238.227.182.1072691830.squirrel@webmail.xs4all.nl> In-Reply-To: <10758.212.238.227.182.1072691830.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, I think that you can use the scalezoom widget, which gives you the ability to step in and out at preset scales. But there is nothing to cause the map to 'snap' to a set of scales when using other widgets such as zoomin, zoomout, zoom bounding box, etc. If such a mechanism were implemented, I would think that it would be part of the map widget to enforce preset scales, but I am not sure what the best mechanism for implementing it would be. If you really want to pursue this, I can follow up with you directly. Cheers, Paul bartvde@xs4all.nl wrote: > Hi list, > > is there a possibility to have the Chameleon "Map widget" use a certain > set of scalehints? > > We have ECW raster layers which, when read at a scale different from the > original scale, take a really long time to render (this is a known problem > in GDAL). So in order not to have them read in scales different from the > original data, we need to have the map client fixed to a certain set of > scales. > > Is this possible, or how would one go about creating this functionality? > > Thanks in advance for the info. > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Tom.Kralidis@ec.gc.ca Mon Dec 29 10:52:56 2003 Received: from ecnwri1.ontario.int.ec.gc.ca (ecolink.cciw.ca [192.75.68.254]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBTFqu8o024198 for ; Mon, 29 Dec 2003 10:52:56 -0500 Received: by ECNWRI1.ontario.int.ec.gc.ca with Internet Mail Service (5.5.2657.72) id ; Mon, 29 Dec 2003 10:52:54 -0500 Message-ID: <2576812186CDD411BF1500508B6DCE9505D493AC@ECNWRI1.ontario.int.ec.gc.ca> From: "Kralidis,Tom [Burlington]" To: "'bartvde@xs4all.nl'" , chameleon@lists.maptools.org Subject: RE: [Chameleon] WFS client and HTTP GET/POST Date: Mon, 29 Dec 2003 10:52:53 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: > -----Original Message----- > From: Bart van den Eijnden [mailto:bartvde@xs4all.nl] > Sent: Wednesday, December 24, 2003 12:37 PM > To: chameleon@lists.maptools.org > Subject: [Chameleon] WFS client and HTTP GET/POST > > > Hi list, > > I would like to discuss an "issue" which has come accross my > path when > trying to implement Chameleon functionality, and then especially the > ExtractWFSData widget, on a server different from Mapserver. > I know this > is probably a long term issue, but anyway, always good to > discuss these > things a.s.a.p in my opinion. Also, it is both a PHP Mapscript and a > Chameleon issue. > > In the code of the ExtractWFSData widget it is assumed that > the WFS server > supports the DCPTYPE HTTP GET request for GetFeature on the > WFS interface. > For Mapserver this is true, but when I am using the ArcIMS > WFS Connector, > it only supports DCPTYPE HTTP POST. Ofcourse those things are > advertized > through the GetCapabilities interface, but for many requests the > GetCapabilities interface is skipped which is quite logical > taking into > account performance. > Most OGC:WFS instances will probably support HTTP POST, given the rich Filter interface they can support. > Will the PHP/Mapscript code be enhanced in future, to support also an > advanced WFS Client which can use both GET and POST, and will > Chameleon > use this functionality from PHP/Mapscript? > > And will there be more wfs metadata tags then describing > which DCPTYPE > (HTTP GET/POST) is supported for the various WFS interfaces, > so the WFS > client will know what to do, or will the capabilities be > parsed for this? > This is a general issue on how OGC:WFS is handled/parsed. I think a generic OGC:WFS widget should be able to parse Capabilities XML and all its fine grained elements/attributes. > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/cha> meleon > From TENIERER@gov.ns.ca Mon Dec 29 11:29:19 2003 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBTGTJ8o024392 for ; Mon, 29 Dec 2003 11:29:19 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 29 Dec 2003 12:29:18 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 29 Dec 2003 12:29:18 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Mon, 29 Dec 2003 12:29:15 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Mon, 29 Dec 2003 12:29:02 -0400 From: "Rene Teniere " To: , Cc: Subject: Re: [Chameleon] RGB Map Output and Keymap Problems Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Guinevere: 2.0.13 ; Province of Nova Sco Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Paul, Unfortunately, that did not work. It is still outputting in 256 colours, not RGB values. You should know that I am using the sample as a testbed for my data to make sure everything works. RT >>> pagameba@magma.ca 2003-12-29 11:15:43 AM >>> Rene, try imagetype png24, you should not need the outputformat object. as for the keymap, if everything is right, then it should line up. It is somewhat tricky to get all the pieces right though, I will be evaluating different options for the keymap to simplify it in January (I hope). In the mean time, look at the relative sizes of the map and keymap, the extents, and the projection of the extents ... make sure that the values are the same everywhere. Cheers, Paul Rene Teniere wrote: > Hi All, > > Wondering if there is another place besides the mapfile where you have > to specify RGB output in Chameleon? The raster display works fine in > MapServer and MapLab, however, in Chameleon it comes out as 256 colour. > > > Also, has anyone else encountered a problem with the keymap location > box being in the wrong place, even though the projection and extents are > correct? > > Later, > Rene > > Selected .MAP file > MAP > NAME "Hurricane Juan Page" > STATUS ON > EXTENT 381053 4915490 573294 5059550 > SIZE 400 300 > SHAPEPATH "D:/GIS_Data/" > SYMBOLSET "C:/chameleon11a/websites/test/etc/symbols.sym" > FONTSET "C:/chameleon11a/websites/test/etc/fonts.txt" > IMAGETYPE PNG > IMAGECOLOR 255 255 255 > UNITS METERS > RESOLUTION 90.714286 > WEB > IMAGEPATH "c:/temp/" > IMAGEURL "/temp/" > END > PROJECTION > "init=epsg:2038" > #UTM Zone 20 NAD83 for Nova Scotia > END > OUTPUTFORMAT > NAME "PNG" > MIMETYPE "image/png" > DRIVER "GD/PNG" > EXTENSION "png" > IMAGEMODE RGB > TRANSPARENT OFF > END > LAYER > NAME "orthov1.ecw" > STATUS ON > DATA "D:/GIS_Data/NSMrSIDImages/Output/orthov1.ecw" > TYPE RASTER > MINSCALE 0 > MAXSCALE 200000 > END > > > Rene J.R. Teniere - BSc., D.GIS > GIS Technician > Nova Scotia Department of Natural Resources > Forestry Division (GIS) - Truro > > Phone: (902) 893-5655 > Mobile: (902) 209-8956 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From pagameba@magma.ca Mon Dec 29 12:50:12 2003 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBTHoC8o024828 for ; Mon, 29 Dec 2003 12:50:12 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id hBTHoB5J031780; Mon, 29 Dec 2003 12:50:11 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id hBTHo5Q6013453; Mon, 29 Dec 2003 12:50:11 -0500 Message-ID: <3FF06948.2020208@magma.ca> Date: Mon, 29 Dec 2003 12:50:00 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rene Teniere CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] RGB Map Output and Keymap Problems References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: ok, try setting the output format in the cwc2.xml configuration file to png24. I think that it should honour the format selected in the map file, but it may override this from the configuration file. Cheers Paul Rene Teniere wrote: > Paul, > > Unfortunately, that did not work. It is still outputting in 256 > colours, not RGB values. You should know that I am using the sample as a > testbed for my data to make sure everything works. > > RT > > >>>>pagameba@magma.ca 2003-12-29 11:15:43 AM >>> > > Rene, > > try imagetype png24, you should not need the outputformat object. > > as for the keymap, if everything is right, then it should line up. It > > is somewhat tricky to get all the pieces right though, I will be > evaluating different options for the keymap to simplify it in January > (I > hope). In the mean time, look at the relative sizes of the map and > keymap, the extents, and the projection of the extents ... make sure > that the values are the same everywhere. > > Cheers, > > Paul > > Rene Teniere wrote: > >>Hi All, >> >>Wondering if there is another place besides the mapfile where you > > have > >>to specify RGB output in Chameleon? The raster display works fine in >>MapServer and MapLab, however, in Chameleon it comes out as 256 > > colour. > >> >>Also, has anyone else encountered a problem with the keymap location >>box being in the wrong place, even though the projection and extents > > are > >>correct? >> >>Later, >> Rene >> >>Selected .MAP file >>MAP >> NAME "Hurricane Juan Page" >> STATUS ON >> EXTENT 381053 4915490 573294 5059550 >> SIZE 400 300 >> SHAPEPATH "D:/GIS_Data/" >> SYMBOLSET "C:/chameleon11a/websites/test/etc/symbols.sym" >> FONTSET "C:/chameleon11a/websites/test/etc/fonts.txt" >> IMAGETYPE PNG >> IMAGECOLOR 255 255 255 >> UNITS METERS >> RESOLUTION 90.714286 >> WEB >> IMAGEPATH "c:/temp/" >> IMAGEURL "/temp/" >> END >> PROJECTION >> "init=epsg:2038" >> #UTM Zone 20 NAD83 for Nova Scotia >> END >> OUTPUTFORMAT >> NAME "PNG" >> MIMETYPE "image/png" >> DRIVER "GD/PNG" >> EXTENSION "png" >> IMAGEMODE RGB >> TRANSPARENT OFF >> END >> LAYER >> NAME "orthov1.ecw" >> STATUS ON >> DATA "D:/GIS_Data/NSMrSIDImages/Output/orthov1.ecw" >> TYPE RASTER >> MINSCALE 0 >> MAXSCALE 200000 >> END >> >> >>Rene J.R. Teniere - BSc., D.GIS >>GIS Technician >>Nova Scotia Department of Natural Resources >>Forestry Division (GIS) - Truro >> >>Phone: (902) 893-5655 >>Mobile: (902) 209-8956 >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From TENIERER@gov.ns.ca Mon Dec 29 13:10:30 2003 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBTIAT8o024921 for ; Mon, 29 Dec 2003 13:10:30 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 29 Dec 2003 14:10:28 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 29 Dec 2003 14:10:28 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Mon, 29 Dec 2003 14:10:21 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Mon, 29 Dec 2003 14:10:06 -0400 From: "Rene Teniere " To: , Cc: Subject: Re: [Chameleon] RGB Map Output and Keymap Problems Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Guinevere: 2.0.13 ; Province of Nova Sco Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Sweet, that did it! Thanks a bunch. I swear half of the problems we encounter are caused by our own stupidity or momentary lack of logical thought processes, however, it is good that there are people like you who guide us through these annoying problems. Thanks Paul RT >>> pagameba@magma.ca 2003-12-29 1:50:00 PM >>> ok, try setting the output format in the cwc2.xml configuration file to png24. I think that it should honour the format selected in the map file, but it may override this from the configuration file. Cheers Paul Rene Teniere wrote: > Paul, > > Unfortunately, that did not work. It is still outputting in 256 > colours, not RGB values. You should know that I am using the sample as a > testbed for my data to make sure everything works. > > RT > > >>>>pagameba@magma.ca 2003-12-29 11:15:43 AM >>> > > Rene, > > try imagetype png24, you should not need the outputformat object. > > as for the keymap, if everything is right, then it should line up. It > > is somewhat tricky to get all the pieces right though, I will be > evaluating different options for the keymap to simplify it in January > (I > hope). In the mean time, look at the relative sizes of the map and > keymap, the extents, and the projection of the extents ... make sure > that the values are the same everywhere. > > Cheers, > > Paul > > Rene Teniere wrote: > >>Hi All, >> >>Wondering if there is another place besides the mapfile where you > > have > >>to specify RGB output in Chameleon? The raster display works fine in >>MapServer and MapLab, however, in Chameleon it comes out as 256 > > colour. > >> >>Also, has anyone else encountered a problem with the keymap location >>box being in the wrong place, even though the projection and extents > > are > >>correct? >> >>Later, >> Rene >> >>Selected .MAP file >>MAP >> NAME "Hurricane Juan Page" >> STATUS ON >> EXTENT 381053 4915490 573294 5059550 >> SIZE 400 300 >> SHAPEPATH "D:/GIS_Data/" >> SYMBOLSET "C:/chameleon11a/websites/test/etc/symbols.sym" >> FONTSET "C:/chameleon11a/websites/test/etc/fonts.txt" >> IMAGETYPE PNG >> IMAGECOLOR 255 255 255 >> UNITS METERS >> RESOLUTION 90.714286 >> WEB >> IMAGEPATH "c:/temp/" >> IMAGEURL "/temp/" >> END >> PROJECTION >> "init=epsg:2038" >> #UTM Zone 20 NAD83 for Nova Scotia >> END >> OUTPUTFORMAT >> NAME "PNG" >> MIMETYPE "image/png" >> DRIVER "GD/PNG" >> EXTENSION "png" >> IMAGEMODE RGB >> TRANSPARENT OFF >> END >> LAYER >> NAME "orthov1.ecw" >> STATUS ON >> DATA "D:/GIS_Data/NSMrSIDImages/Output/orthov1.ecw" >> TYPE RASTER >> MINSCALE 0 >> MAXSCALE 200000 >> END >> >> >>Rene J.R. Teniere - BSc., D.GIS >>GIS Technician >>Nova Scotia Department of Natural Resources >>Forestry Division (GIS) - Truro >> >>Phone: (902) 893-5655 >>Mobile: (902) 209-8956 >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From TENIERER@gov.ns.ca Mon Dec 29 11:07:09 2003 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBTG778o024305 for ; Mon, 29 Dec 2003 11:07:07 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 29 Dec 2003 12:07:06 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 29 Dec 2003 12:07:05 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Mon, 29 Dec 2003 12:06:52 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Mon, 29 Dec 2003 12:06:35 -0400 From: "Rene Teniere " To: , Cc: Subject: Re: [Chameleon] RGB Map Output and Keymap Problems Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__PartEDB32F1B.1__=" Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: --=__PartEDB32F1B.1__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Paul, I tried what you suggested and it still will only output in 256 colour. I have included some pics for you to take a look at in case I have a totally different problem. RT >>> pagameba@magma.ca 2003-12-29 11:15:43 AM >>> Rene, try imagetype png24, you should not need the outputformat object. as for the keymap, if everything is right, then it should line up. It is somewhat tricky to get all the pieces right though, I will be evaluating different options for the keymap to simplify it in January (I hope). In the mean time, look at the relative sizes of the map and keymap, the extents, and the projection of the extents ... make sure that the values are the same everywhere. Cheers, Paul Rene Teniere wrote: > Hi All, > > Wondering if there is another place besides the mapfile where you have > to specify RGB output in Chameleon? The raster display works fine in > MapServer and MapLab, however, in Chameleon it comes out as 256 colour. > > > Also, has anyone else encountered a problem with the keymap location > box being in the wrong place, even though the projection and extents are > correct? > > Later, > Rene > > Selected .MAP file > MAP > NAME "Hurricane Juan Page" > STATUS ON > EXTENT 381053 4915490 573294 5059550 > SIZE 400 300 > SHAPEPATH "D:/GIS_Data/" > SYMBOLSET "C:/chameleon11a/websites/test/etc/symbols.sym" > FONTSET "C:/chameleon11a/websites/test/etc/fonts.txt" > IMAGETYPE PNG > IMAGECOLOR 255 255 255 > UNITS METERS > RESOLUTION 90.714286 > WEB > IMAGEPATH "c:/temp/" > IMAGEURL "/temp/" > END > PROJECTION > "init=epsg:2038" > #UTM Zone 20 NAD83 for Nova Scotia > END > OUTPUTFORMAT > NAME "PNG" > MIMETYPE "image/png" > DRIVER "GD/PNG" > EXTENSION "png" > IMAGEMODE RGB > TRANSPARENT OFF > END > LAYER > NAME "orthov1.ecw" > STATUS ON > DATA "D:/GIS_Data/NSMrSIDImages/Output/orthov1.ecw" > TYPE RASTER > MINSCALE 0 > MAXSCALE 200000 > END > > > Rene J.R. Teniere - BSc., D.GIS > GIS Technician > Nova Scotia Department of Natural Resources > Forestry Division (GIS) - Truro > > Phone: (902) 893-5655 > Mobile: (902) 209-8956 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon --=__PartEDB32F1B.1__= Content-Type: application/octet-stream; name="MapLab.jpg" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="MapLab.jpg" /9j/4AAQSkZJRgABAgEASABIAAD//gECAAAAAAEAAAABAAAAAQAAAAIAAAAEAAAABQAAAAcAAAAB AAAAAQAAAAEAAAACAAAAAgAAAAYAAAAGAAAABgAAAAEAAAABAAAAAQAAAAIAAAAEAAAABgAAAAcA AAAGAAAAAQAAAAEAAAACAAAAAwAAAAUAAAAKAAAACQAAAAcAAAACAAAAAgAAAAQAAAAGAAAABwAA AAwAAAALAAAACAAAAAIAAAAEAAAABgAAAAcAAAAJAAAACwAAAA0AAAAKAAAABQAAAAcAAAAIAAAA CgAAAAsAAAANAAAADQAAAAsAAAAIAAAACgAAAAoAAAALAAAADAAAAAsAAAALAAAACwAAAP/AABEI AccCXQMBIgACEQEDEQH/2wCEAAUDAwQDAwUEBAQFBQUGBw0IBwcHBxALDAkNExAUExIQEhIVFx4Z FRYcFhISGiMaHB8gISIhFBklJyQgJx4hISABBQUFBwYHDwgIDyAVEhUVICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIP/EAaIAAAEFAQEBAQEBAAAAAAAAAAAB AgMEBQYHCAkKCxAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS 0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4 eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi 4+Tl5ufo6erx8vP09fb3+Pn6AQADAQEBAQEBAQEBAAAAAAAAAQIDBAUGBwgJCgsRAAIBAgQEAwQH BQQEAAECdwABAgMRBAUhMQYSQVEHYXETIjKBCBRCkaGxwQkjM1LwFWJy0QoWJDThJfEXGBkaJico KSo1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoKDhIWGh4iJipKTlJWWl5iZ mqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uLj5OXm5+jp6vLz9PX29/j5+v/a AAwDAQACEQMRAD8A7T9pn4t+PPBnxRi0Xw14puNIsBolvdGKKztpd0jz3CsxMsTn7saDAIHFcBZf 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 --=__PartEDB32F1B.1__= Content-Type: application/octet-stream; name="Chameleon.jpg" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="Chameleon.jpg" /9j/4AAQSkZJRgABAgIAyADIAAD//gECwFfABAUAAAAHAAAADwAAABUAAAAgAAAAIAAAACAAAAAF AAAABgAAAAgAAAAVAAAAIAAAACAAAAAgAAAAIAAAAAcAAAAIAAAAEgAAACAAAAAgAAAAIAAAACAA AAAgAAAADwAAABUAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAA ACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAA IAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAAP/AABEI ASwBkAMBIgACEQEDEQH/2wCEAAUDAwQDAwUEBAQFBQUGBw0IBwcHBxALDAkNExAUExIQEhIVFx4Z FRYcFhISGiMaHB8gISIhFBklJyQgJx4hISABBQUFBwYHDwgIDyAVEhUVICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIP/EAaIAAAEFAQEBAQEBAAAAAAAAAAAB AgMEBQYHCAkKCxAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS 0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4 eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi 4+Tl5ufo6erx8vP09fb3+Pn6AQADAQEBAQEBAQEBAAAAAAAAAQIDBAUGBwgJCgsRAAIBAgQEAwQH BQQEAAECdwABAgMRBAUhMQYSQVEHYXETIjKBCBRCkaGxwQkjM1LwFWJy0QoWJDThJfEXGBkaJico KSo1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoKDhIWGh4iJipKTlJWWl5iZ mqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uLj5OXm5+jp6vLz9PX29/j5+v/a AAwDAQACEQMRAD8A4ew1DxVLGZ1top0YfJu2AZzjsQexrV8Z6x4g0/XdWlGn2/2aO9lxISDlN5Cn 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 --=__PartEDB32F1B.1__=-- From TENIERER@gov.ns.ca Wed Dec 31 08:44:53 2003 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hBVDiq8o003291 for ; Wed, 31 Dec 2003 08:44:52 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Wed, 31 Dec 2003 09:44:51 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Wed, 31 Dec 2003 09:44:51 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Wed, 31 Dec 2003 09:44:41 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Wed, 31 Dec 2003 09:44:23 -0400 From: "Rene Teniere " To: , , Cc: Subject: Re: [Chameleon] RGB Map Output and Keymap Problems Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Guinevere: 2.0.13 ; Province of Nova Sco Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Please disregard, I sent this out Monday. RT >>> "Rene Teniere " 2003-12-29 12:06:35 PM >>> Hi Paul, I tried what you suggested and it still will only output in 256 colour. I have included some pics for you to take a look at in case I have a totally different problem. RT >>> pagameba@magma.ca 2003-12-29 11:15:43 AM >>> Rene, try imagetype png24, you should not need the outputformat object. as for the keymap, if everything is right, then it should line up. It is somewhat tricky to get all the pieces right though, I will be evaluating different options for the keymap to simplify it in January (I hope). In the mean time, look at the relative sizes of the map and keymap, the extents, and the projection of the extents ... make sure that the values are the same everywhere. Cheers, Paul Rene Teniere wrote: > Hi All, > > Wondering if there is another place besides the mapfile where you have > to specify RGB output in Chameleon? The raster display works fine in > MapServer and MapLab, however, in Chameleon it comes out as 256 colour. > > > Also, has anyone else encountered a problem with the keymap location > box being in the wrong place, even though the projection and extents are > correct? > > Later, > Rene > > Selected .MAP file > MAP > NAME "Hurricane Juan Page" > STATUS ON > EXTENT 381053 4915490 573294 5059550 > SIZE 400 300 > SHAPEPATH "D:/GIS_Data/" > SYMBOLSET "C:/chameleon11a/websites/test/etc/symbols.sym" > FONTSET "C:/chameleon11a/websites/test/etc/fonts.txt" > IMAGETYPE PNG > IMAGECOLOR 255 255 255 > UNITS METERS > RESOLUTION 90.714286 > WEB > IMAGEPATH "c:/temp/" > IMAGEURL "/temp/" > END > PROJECTION > "init=epsg:2038" > #UTM Zone 20 NAD83 for Nova Scotia > END > OUTPUTFORMAT > NAME "PNG" > MIMETYPE "image/png" > DRIVER "GD/PNG" > EXTENSION "png" > IMAGEMODE RGB > TRANSPARENT OFF > END > LAYER > NAME "orthov1.ecw" > STATUS ON > DATA "D:/GIS_Data/NSMrSIDImages/Output/orthov1.ecw" > TYPE RASTER > MINSCALE 0 > MAXSCALE 200000 > END > > > Rene J.R. Teniere - BSc., D.GIS > GIS Technician > Nova Scotia Department of Natural Resources > Forestry Division (GIS) - Truro > > Phone: (902) 893-5655 > Mobile: (902) 209-8956 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From thowlett@whistlermuseum.org Wed Dec 31 14:12:31 2003 Received: from smtp1000.radiant.net (smtp1000.radiant.net [216.21.149.209]) by www.maptools.org (8.12.5/8.12.5) with SMTP id hBVJCU8o004699 for ; Wed, 31 Dec 2003 14:12:30 -0500 Message-Id: <200312311912.hBVJCU8o004699@www.maptools.org> Received: (qmail 25773 invoked from network); 31 Dec 2003 18:59:39 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp1000.radiant.net with SMTP; 31 Dec 2003 18:59:39 -0000 Reply-To: From: "Tracy Howlett" To: Date: Wed, 31 Dec 2003 11:11:28 -0800 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: Thread-Index: AcPONzx/22yQbIY2TOSaH39Z1QW9rgBmlxBA Subject: [Chameleon] Hidden Text Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, I've seen this question posted a couple of times but haven't found an answer yet! I've got my application working fine now but when the page loads there is a bunch of space at the top of the page. I am pretty new to html programming but I figure this is because of all the hidden text? Is there a way to make the application load at the top of the page and leave the hidden stuff at the bottom? I've tried moving the code but that doesn't seem to make any difference. Cheers and Happy New Year, Tracy From bartvde@xs4all.nl Fri Jan 2 10:08:24 2004 Received: from smtpzilla5.xs4all.nl (smtpzilla5.xs4all.nl [194.109.127.141]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i02F8N8o017662 for ; Fri, 2 Jan 2004 10:08:24 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla5.xs4all.nl (8.12.9/8.12.9) with ESMTP id i02F82Gb015398 for ; Fri, 2 Jan 2004 16:08:22 +0100 (CET) Reply-To: bartvde@xs4all.nl To: "chameleon@lists.maptools.org" From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Fri, 02 Jan 2004 16:08:02 +0100 Message-ID: User-Agent: Opera7.22/Win32 M2 build 3221 Subject: [Chameleon] object required error Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, is the following problem a known issue with Chameleon 1.1? I use IE6 on Windows 2000. When a user performs the following actions: 1. use a map navigation tool, such as zoom-in, zoom-out 2. before the map image is retrieved the user starts moving his mouse already over the map area a javascript error occurs, object required at line X depending on which widgets are in the template. Best regards, Bart From jfournier@dmsolutions.ca Fri Jan 2 14:12:09 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i02JC98o018649 for ; Fri, 2 Jan 2004 14:12:09 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i02JC8Ft007731; Fri, 2 Jan 2004 14:12:08 -0500 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i02JC8JS000435; Fri, 2 Jan 2004 14:12:08 -0500 Message-ID: <3FF5C377.7030701@dmsolutions.ca> Date: Fri, 02 Jan 2004 14:16:07 -0500 From: Jason Fournier Reply-To: jfournier@dmsolutions.ca User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: thowlett@whistlermuseum.org CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Hidden Text References: <200312311912.hBVJCU8o004699@www.maptools.org> In-Reply-To: <200312311912.hBVJCU8o004699@www.maptools.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Tracy, Are you, by chance, using the ContextSelector widget? I did a little bit of research and found that, in some cases, the ContextSelector outputted
's after each Hidden Variable it wrote out to the page. Please view the source of your page and look for the Hidden Variables (they should be just after the tag). If this is in fact the case could you please email me the ContextSelector.widget.php file from your /chameleon/htdocs/widgets/ directory? Do you have a publicly available URL of your application? I could take a look at the output as well. Thanks, Jason Tracy Howlett wrote: >Hi, > >I've seen this question posted a couple of times but haven't found an answer >yet! I've got my application working fine now but when the page loads there >is a bunch of space at the top of the page. I am pretty new to html >programming but I figure this is because of all the hidden text? Is there a >way to make the application load at the top of the page and leave the hidden >stuff at the bottom? I've tried moving the code but that doesn't seem to >make any difference. > >Cheers and Happy New Year, > >Tracy > > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > > -- -- |Jason Fournier |DM Solutions Group |Application Developer |Ottawa, ON |613.565.5056 x 18 |jfournier@dmsolutions.ca -- From lacroix@dmsolutions.ca Fri Jan 2 15:06:05 2004 Received: from angrenost.dmsolutions.ca (chic.dmsolutions.ca [207.96.191.142]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i02K648o018918 for ; Fri, 2 Jan 2004 15:06:04 -0500 Received: from dmsolutions.ca (orthanc [192.168.4.8]) by angrenost.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id i02K63422308; Fri, 2 Jan 2004 15:06:03 -0500 Message-ID: <3FF5CF2A.9010704@dmsolutions.ca> Date: Fri, 02 Jan 2004 15:06:02 -0500 From: Julien-Samuel Lacroix Organization: DM Solutions User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: chameleon@lists.maptools.org CC: pxniw pxniw Subject: Re: [Chameleon] What does chameleon do? References: <20031224204653.11779.qmail@web41903.mail.yahoo.com> <3FEA7227.2090004@magma.ca> In-Reply-To: <3FEA7227.2090004@magma.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, I fact, he SQLQuery widget can do this, but you should use it in combination with the MapImageSharedResource widget (http://www.maptools.org/chameleon/wiki/MapImageSharedResource). The SQLQuery widget take a result from an SQL query and put it in a shared resource (http://www.maptools.org/chameleon/wiki/SharedResource). A shared resource will be a kind of container for your data here. Then you can use the MapImageSharedResource widget to add point in your map. Note that your shared resource must contains a latitude and a longitude column. Here's a little example because I know that's a little bit cryptic for newbies. Don't hesitate to ask more question if you need and try multiple possibility with these two widget this will help you to understand them. First of all, you should include the SQLQuery widget in your template. This widget will take all the restaurant from your database and put it in the Shared Resource called "MyResult". Then, where you want your map, you should include the MapImageSharedResource widget: This widget will draw a map (300x275 large) that you could not navigate. In this map, there will be the points in the MyResult Shared Resource (Created by the SQLQuery widget). And this points will be placed in the map with the lat/lon defined in the SQL table columns called "lati" and "long". Finally, on each point there will be a label "Restaurant name: the_name_column_in_your_SQL_table". If you want to put a Pin marker instead of a red dot, you will need to add a MAP parameter in your widget: This will change the symbol used for the symbol markers/pin.png. The size will be 25 pixels and the color of the label on it will be green (RGB = 00FF00). You could change most (if not all) of the parameters of the layer that can be changed with php/mapscript with this widget. For other parameters check http://mapserver.gis.umn.edu/doc40/mapfile-reference.html#layer Hope this will help. Cheers, Julien Paul Spencer wrote: > Hi, > > don't have time to respond properly for a few days given the holidays, > but I don't think the SQLQuery widget will do what you want, but it > should be possible to do it with mapserver and ogr using virtual > datasources ... will discuss when I have time. > > Cheers, > > Paul > > pxniw pxniw wrote: > >> Thanks this cleared up things a bit. >> Basically its copy and Paste type of environment >> rather than swyg system. Ie if I want to add something >> for the sample file, I would add " some widget >> here " to sample html file. >> >> Ok going for more advanced stuff: >> I noticed that Chameleon will handle MySQL? >> Found this: >> http://www.maptools.org/chameleon/wiki/SQLQuery >> >> Is this able to do this? >> >> I have php and perl scripts working for mapserver with >> Chameleon and MapLab. >> I also have some other data in MySQL database. >> Tables have info like: RestaurantName;City;Lat;Lon >> >> How do I query either in PHP or Perl RestaurantName >> and provide a Pin Label (Marker) for Lat Lon >> coordinates on my existing mapserver layout for single >> restaurant? >> >> Ie: I have a map of Georgia displayed. User have >> options to type city in text box (ie Atlanta), and hit >> Go button. >> >> How do I query the MySQL db and show restaurant >> locations in existing map? >> >> Thank You for all of who have provided their time for >> these projects, I will try to do the same, once I >> learn things a bit more. >> Happy Holidays >> >> >> --- Bart van den Eijnden wrote: >> >>> Hi, >>> >>> basically Chameleon is being fed a HTML template >>> with special tags in it, you can recognize them by "CWC". A zoom-in >>> tool for >>> instance is a widget and is recognized by the CWC in the HTML template. >>> The basic unit of Chameleon is the widget, the HTML template is a >>> collection of widgets. >>> >>> Chameleon interprets this template and creates HTML >>> and javascript, which will turn into a full-featured web mapping client. >>> >>> Also, it needs to know which map layers to draw, >>> that's the second configuration element, so always a Mapserver MAP >>> file which you can create with Maplab if you want (or a Web Map Context >>> document, but this is harder), is needed. >>> >>> In the index.phtml of your sample application both >>> the HTML template and the MAP file are linked. This is specific for >>> Chameleon 1.1 and was different in Chameleon 1.0 (which had a service >>> instance which interpreted templates instead of one application per HTML >>> template/MAP file combination). >>> >>> In short you could say Chameleon is the toolkit to >>> easily build webmapping clients, which could be configured by someone >>> who >>> knows HTML. >>> >>> You can see an example at: >>> >>> http://mapsherpa.dmsolutions.ca/hawaii2/ >>> >>> Hope this helps. >>> >>> Best regards, >>> Bart >>> >>> On Tue, 23 Dec 2003 07:33:24 -0800 (PST), pxniw >>> pxniw wrote: >>> >>> >>>> Just downloaded and installed chameleon. (1.1 >>> >>> >>> Alpha 6) >>> >>>> Its so confusing what is the demo/sample file? >>>> (I could not find cwc2.php on my files , I think >>> >>> >>> its >>> >>>> in the old files) I downloaded files from >>>> >>> >> http://www.maptools.org/chameleon/index.phtml?page=home.html >> >>>> and see other site >>>> http://www.dmsolutions.ca/techserv/chameleon.html >>>> >>>> this is getting more confusing. >>>> Installed >>>> http://www.maptools.org/dl/chameleon-sample.zip >>> >>> >>> and it >>> >>>> works, after few changes in paths. >>>> >>>> I tried and understand maplab ok. >>>> >>>> How do I use chameleon? Is there a screenshot >>>> somewhere, so I could see what it is used for? (My >>>> understanding it has all these widgets, but where, >>> >>> >>> and >>> >>>> how do I use them... copy and paste the code? I >>> >>> >>> think >>> >>>> I am missing something major here. Im completely >>> >>> >>> nubie >>> >>>> so explain with that in mind. >>>> >>>> Thanks >>>> >>>> __________________________________ >>>> Do you Yahoo!? >>>> New Yahoo! Photos - easier uploading and sharing. >>>> http://photos.yahoo.com/ >>>> _______________________________________________ >>>> Chameleon mailing list >>>> Chameleon@lists.maptools.org >>>> >>> >>> http://lists.maptools.org/mailman/listinfo/chameleon >>> >>> >>> >>> -- >>> >> >> >> >> >> __________________________________ >> Do you Yahoo!? >> New Yahoo! Photos - easier uploading and sharing. >> http://photos.yahoo.com/ >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > -- ------------------------------------------------------------ Julien-Samuel Lacroix lacroix@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From pagameba@magma.ca Sat Jan 3 15:19:26 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i03KJQ8o024240 for ; Sat, 3 Jan 2004 15:19:26 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i03KJPTo006627; Sat, 3 Jan 2004 15:19:25 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i03KJNqM019763; Sat, 3 Jan 2004 15:19:25 -0500 Message-ID: <3FF723C8.9050503@magma.ca> Date: Sat, 03 Jan 2004 15:19:20 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: thowlett@whistlermuseum.org CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Hidden Text References: <200312311912.hBVJCU8o004699@www.maptools.org> In-Reply-To: <200312311912.hBVJCU8o004699@www.maptools.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Tracy, Chameleon is not yet completely clean in its output, there are places where extra stuff is output for various reasons including debugging :) In general, you *may* get stuff output before the tag if you have widgets there, like SharedResource widgets for instance, or if a widget is misbehaving and outputing some debugging information. It is also possible that we commented or removed the debugging info, but there is still an echo "\n"; or something that would cause extra spaces. I can't narrow this down much further unless you tell me what widgets you are using in you page. You could help further by removing widgets to see what happens, that would tell us which widgets are causing the problem. Cheers, Paul Tracy Howlett wrote: > Hi, > > I've seen this question posted a couple of times but haven't found an answer > yet! I've got my application working fine now but when the page loads there > is a bunch of space at the top of the page. I am pretty new to html > programming but I figure this is because of all the hidden text? Is there a > way to make the application load at the top of the page and leave the hidden > stuff at the bottom? I've tried moving the code but that doesn't seem to > make any difference. > > Cheers and Happy New Year, > > Tracy > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Sat Jan 3 15:56:56 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i03Kut8o024348 for ; Sat, 3 Jan 2004 15:56:56 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i03KutTo014451; Sat, 3 Jan 2004 15:56:55 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i03KuocF015969; Sat, 3 Jan 2004 15:56:54 -0500 Message-ID: <3FF72C8F.6080303@magma.ca> Date: Sat, 03 Jan 2004 15:56:47 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: "chameleon@lists.maptools.org" , "William A. Bronsema, C.E.T." Subject: Re: [Chameleon] WFS client and HTTP GET/POST References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, Assefa will be the best to answer this one, but my understanding is that mapserver will use XML encoded POST requests by default when acting as a WFS client. There is supposed to be a metadata that can be set to control this behaviour at the layer level. wfs_request_method : POST or GET If we get around to implementing a WFS module that supports downloading capabilities then it is likely that setting this will be done explicitly. However, for now, Chameleon will likely ignore this metadata and allow mapserver to use the default mode, which is POST. The ExtractWFSData widget probably overrides this handling in some circumstances and just sends a GET request anyway. We've never implemented a POST request in PHP code, a quick search reveals the following URL which provides two different ways of doing it: http://www.alt-php-faq.org/local/55/ I'll get Bill to take a look at his code and see if there is a way to incorporate the possibility of either a post or get request and have it honour the metadata of the layer if set. Cheers, Paul Bart van den Eijnden wrote: > Hi list, > > I would like to discuss an "issue" which has come accross my path when > trying to implement Chameleon functionality, and then especially the > ExtractWFSData widget, on a server different from Mapserver. I know this > is probably a long term issue, but anyway, always good to discuss these > things a.s.a.p in my opinion. Also, it is both a PHP Mapscript and a > Chameleon issue. > > In the code of the ExtractWFSData widget it is assumed that the WFS > server supports the DCPTYPE HTTP GET request for GetFeature on the WFS > interface. For Mapserver this is true, but when I am using the ArcIMS > WFS Connector, it only supports DCPTYPE HTTP POST. Ofcourse those things > are advertized through the GetCapabilities interface, but for many > requests the GetCapabilities interface is skipped which is quite logical > taking into account performance. > > Will the PHP/Mapscript code be enhanced in future, to support also an > advanced WFS Client which can use both GET and POST, and will Chameleon > use this functionality from PHP/Mapscript? > > And will there be more wfs metadata tags then describing which DCPTYPE > (HTTP GET/POST) is supported for the various WFS interfaces, so the WFS > client will know what to do, or will the capabilities be parsed for this? > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Sat Jan 3 16:06:11 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i03L6B8o024395 for ; Sat, 3 Jan 2004 16:06:11 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i03L6ATo016058; Sat, 3 Jan 2004 16:06:10 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i03L66kS016392; Sat, 3 Jan 2004 16:06:09 -0500 Message-ID: <3FF72EBA.6040000@magma.ca> Date: Sat, 03 Jan 2004 16:06:02 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: spencer@dmsolutions.ca CC: pxniw pxniw , chameleon@lists.maptools.org Subject: Re: [Chameleon] What does chameleon do? References: <20031224204653.11779.qmail@web41903.mail.yahoo.com> <3FEA7227.2090004@magma.ca> In-Reply-To: <3FEA7227.2090004@magma.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, Julien responded with one option using existing widgets (The SQLQuery widget and the MapImageSharedResource widget) but this ends up with a non-navigable map. A light-weight and interactive solution is to use a new build of MapServer with GDAL. GDAL is the geospatial data access library used by MapServer for a lot of raster formats, it is bundled with OGR which is used for vector formats. One of the recent additions to OGR is the ability to map an ODBC datasource with columns for point locations. If you can get a recent build of mapserver with a recent (i.e. CVS) version of GDAL, then you can use this functionality. To set it up, you need to do the following: 1. set up an ODBC DSN for your MySQL database 2. set up a virtual file for OGR, format is described at: http://www.remotesensing.org/gdal/ogr/drv_vrt.html 3. set up a map file to use this virtual file ... it is simply a layer of type OGR with connection pointing at the virtual file and data with the name of the layer in the virtual file that you want to use (a virtual file can contain multiple layers). That's it. As this is pretty new functionality, it is not for the faint of heart. There is quite a lot of development going on at the current time to provide simple utilities for doing the above steps (or most of them), but they won't be done for a few months. If you really need it in the short term, roll up your sleeves and have a go :) And let us know how it goes :) Cheers, Paul Paul Spencer wrote: > Hi, > > don't have time to respond properly for a few days given the holidays, > but I don't think the SQLQuery widget will do what you want, but it > should be possible to do it with mapserver and ogr using virtual > datasources ... will discuss when I have time. > > Cheers, > > Paul > > pxniw pxniw wrote: > >> Thanks this cleared up things a bit. >> Basically its copy and Paste type of environment >> rather than swyg system. Ie if I want to add something >> for the sample file, I would add " some widget >> here " to sample html file. >> >> Ok going for more advanced stuff: >> I noticed that Chameleon will handle MySQL? >> Found this: >> http://www.maptools.org/chameleon/wiki/SQLQuery >> >> Is this able to do this? >> >> I have php and perl scripts working for mapserver with >> Chameleon and MapLab. >> I also have some other data in MySQL database. >> Tables have info like: RestaurantName;City;Lat;Lon >> >> How do I query either in PHP or Perl RestaurantName >> and provide a Pin Label (Marker) for Lat Lon >> coordinates on my existing mapserver layout for single >> restaurant? >> >> Ie: I have a map of Georgia displayed. User have >> options to type city in text box (ie Atlanta), and hit >> Go button. >> >> How do I query the MySQL db and show restaurant >> locations in existing map? >> >> Thank You for all of who have provided their time for >> these projects, I will try to do the same, once I >> learn things a bit more. >> Happy Holidays >> >> >> --- Bart van den Eijnden wrote: >> >>> Hi, >>> >>> basically Chameleon is being fed a HTML template >>> with special tags in it, you can recognize them by "CWC". A zoom-in >>> tool for >>> instance is a widget and is recognized by the CWC in the HTML template. >>> The basic unit of Chameleon is the widget, the HTML template is a >>> collection of widgets. >>> >>> Chameleon interprets this template and creates HTML >>> and javascript, which will turn into a full-featured web mapping client. >>> >>> Also, it needs to know which map layers to draw, >>> that's the second configuration element, so always a Mapserver MAP >>> file which you can create with Maplab if you want (or a Web Map Context >>> document, but this is harder), is needed. >>> >>> In the index.phtml of your sample application both >>> the HTML template and the MAP file are linked. This is specific for >>> Chameleon 1.1 and was different in Chameleon 1.0 (which had a service >>> instance which interpreted templates instead of one application per HTML >>> template/MAP file combination). >>> >>> In short you could say Chameleon is the toolkit to >>> easily build webmapping clients, which could be configured by someone >>> who >>> knows HTML. >>> >>> You can see an example at: >>> >>> http://mapsherpa.dmsolutions.ca/hawaii2/ >>> >>> Hope this helps. >>> >>> Best regards, >>> Bart >>> >>> On Tue, 23 Dec 2003 07:33:24 -0800 (PST), pxniw >>> pxniw wrote: >>> >>> >>>> Just downloaded and installed chameleon. (1.1 >>> >>> >>> Alpha 6) >>> >>>> Its so confusing what is the demo/sample file? >>>> (I could not find cwc2.php on my files , I think >>> >>> >>> its >>> >>>> in the old files) I downloaded files from >>>> >>> >> http://www.maptools.org/chameleon/index.phtml?page=home.html >> >>>> and see other site >>>> http://www.dmsolutions.ca/techserv/chameleon.html >>>> >>>> this is getting more confusing. >>>> Installed >>>> http://www.maptools.org/dl/chameleon-sample.zip >>> >>> >>> and it >>> >>>> works, after few changes in paths. >>>> >>>> I tried and understand maplab ok. >>>> >>>> How do I use chameleon? Is there a screenshot >>>> somewhere, so I could see what it is used for? (My >>>> understanding it has all these widgets, but where, >>> >>> >>> and >>> >>>> how do I use them... copy and paste the code? I >>> >>> >>> think >>> >>>> I am missing something major here. Im completely >>> >>> >>> nubie >>> >>>> so explain with that in mind. >>>> >>>> Thanks >>>> >>>> __________________________________ >>>> Do you Yahoo!? >>>> New Yahoo! Photos - easier uploading and sharing. >>>> http://photos.yahoo.com/ >>>> _______________________________________________ >>>> Chameleon mailing list >>>> Chameleon@lists.maptools.org >>>> >>> >>> http://lists.maptools.org/mailman/listinfo/chameleon >>> >>> >>> >>> -- >>> >> >> >> >> >> __________________________________ >> Do you Yahoo!? >> New Yahoo! Photos - easier uploading and sharing. >> http://photos.yahoo.com/ >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Sat Jan 3 16:08:02 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i03L818o024414 for ; Sat, 3 Jan 2004 16:08:01 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i03L8039029672; Sat, 3 Jan 2004 16:08:00 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i03L7wqw020306; Sat, 3 Jan 2004 16:08:00 -0500 Message-ID: <3FF72F2B.3030707@magma.ca> Date: Sat, 03 Jan 2004 16:07:55 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rene Teniere CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Page not found References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: possibly, or it could be your form's action is pointing at the wrong place? Cheers, Paul Rene Teniere wrote: > Hi Again. > > I finally got the keymap and map area to load up fine, however, > whenever I try a tool that requires the map area to refresh like zoom > in, out, etc. I get a page cannot be displayed error in the browser. > Also, when I click on the keymap, the same thing happens. > > I re-activated the ErrorReportWidget, and it says that I have no > errors. I don't know what's up with this. Possibly a path error in a > config file? > > RT > > Rene J.R. Teniere - BSc., D.GIS > GIS Technician > Nova Scotia Department of Natural Resources > Forestry Division (GIS) - Truro > > Phone: (902) 893-5655 > Mobile: (902) 209-8956 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pxniw69@yahoo.com Sun Jan 4 17:21:03 2004 Received: from web41905.mail.yahoo.com (web41905.mail.yahoo.com [66.218.93.156]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i04ML28o002944 for ; Sun, 4 Jan 2004 17:21:03 -0500 Message-ID: <20040104222102.4230.qmail@web41905.mail.yahoo.com> Received: from [69.160.68.72] by web41905.mail.yahoo.com via HTTP; Sun, 04 Jan 2004 14:21:02 PST Date: Sun, 4 Jan 2004 14:21:02 -0800 (PST) From: pxniw pxniw Subject: Re: [Chameleon] What does chameleon do? To: Julien-Samuel Lacroix , chameleon@lists.maptools.org Cc: pxniw pxniw In-Reply-To: <3FF5CF2A.9010704@dmsolutions.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Well for some reason I was not on the chameleon list, so some of my questions did not show up. Anyhow, it should be working now. I got below sample to work, but still had some problems with Labels. (Labels won't show, and confused what the correct syntax should be.) ([$Shared_resource_name.first_element.second_element.etc...]) LABEL="Restaurant name: [$MyResult.Restaurant_name]"/> But still it won't work. (Restaurant_name is name of the column in mysql db) Question #2 Where do I see the values currently held with SharedResource? Or is it held in the memory? Question #3 What is good way of debugging when trying things out with Chameleon? Thanks a bunch. Rolling up my sleeves and ready to roll ;) Px --- Julien-Samuel Lacroix wrote: > Hi, > > I fact, he SQLQuery widget can do this, but you > should use it in > combination with the MapImageSharedResource widget > (http://www.maptools.org/chameleon/wiki/MapImageSharedResource). > > The SQLQuery widget take a result from an SQL query > and put it in a > shared resource > (http://www.maptools.org/chameleon/wiki/SharedResource). > > A shared resource will be a kind of container for > your data here. Then > you can use the MapImageSharedResource widget to add > point in your map. > Note that your shared resource must contains a > latitude and a longitude > column. > > Here's a little example because I know that's a > little bit cryptic for > newbies. Don't hesitate to ask more question if you > need and try > multiple possibility with these two widget this > will help you to > understand them. > > First of all, you should include the SQLQuery widget > in your template. > > SQLQuery="SELECT * > FROM table WHERE type='restaurant'" > Server="localhost" > Database="MyDatabase"/> > > This widget will take all the restaurant from your > database and put it > in the Shared Resource called "MyResult". > > Then, where you want your map, you should include > the > MapImageSharedResource widget: > > Width="300" > Height="275" Navigable="false"> > SRLATCOL="lati" > SRLONCOL="long" LABEL="Restaurant name: > [$GeocodeResult.name]"/> > > > This widget will draw a map (300x275 large) that you > could not navigate. > In this map, there will be the points in the > MyResult Shared Resource > (Created by the SQLQuery widget). And this points > will be placed in the > map with the lat/lon defined in the SQL table > columns called "lati" and > "long". Finally, on each point there will be a label > "Restaurant name: > the_name_column_in_your_SQL_table". > > If you want to put a Pin marker instead of a red > dot, you will need to > add a MAP parameter in your widget: > > Width="300" > Height="275" Navigable="false"> > SRLATCOL="latitude" > SRLONCOL="longitude" LABEL="Restaurant name: > [$GeocodeResult.name]"/> > > VALUE="markers/pin.png"/> > VALUE="25"/> > VALUE="00FF00"/> > > > This will change the symbol used for the symbol > markers/pin.png. The > size will be 25 pixels and the color of the label on > it will be green > (RGB = 00FF00). You could change most (if not all) > of the parameters of > the layer that can be changed with php/mapscript > with this widget. For > other parameters check > http://mapserver.gis.umn.edu/doc40/mapfile-reference.html#layer > > Hope this will help. > > Cheers, > > Julien > > > Paul Spencer wrote: > > Hi, > > > > don't have time to respond properly for a few days > given the holidays, > > but I don't think the SQLQuery widget will do what > you want, but it > > should be possible to do it with mapserver and ogr > using virtual > > datasources ... will discuss when I have time. > > > > Cheers, > > > > Paul > > > > pxniw pxniw wrote: > > > >> Thanks this cleared up things a bit. > >> Basically its copy and Paste type of environment > >> rather than swyg system. Ie if I want to add > something > >> for the sample file, I would add " some > widget > >> here " to sample html file. > >> > >> Ok going for more advanced stuff: > >> I noticed that Chameleon will handle MySQL? > >> Found this: > >> http://www.maptools.org/chameleon/wiki/SQLQuery > >> > >> Is this able to do this? > >> > >> I have php and perl scripts working for mapserver > with > >> Chameleon and MapLab. > >> I also have some other data in MySQL database. > >> Tables have info like: > RestaurantName;City;Lat;Lon > >> > >> How do I query either in PHP or Perl > RestaurantName > >> and provide a Pin Label (Marker) for Lat Lon > >> coordinates on my existing mapserver layout for > single > >> restaurant? > >> > >> Ie: I have a map of Georgia displayed. User have > >> options to type city in text box (ie Atlanta), > and hit > >> Go button. > >> > >> How do I query the MySQL db and show restaurant > >> locations in existing map? > >> > >> Thank You for all of who have provided their time > for > >> these projects, I will try to do the same, once I > >> learn things a bit more. > >> Happy Holidays > >> > >> > >> --- Bart van den Eijnden > wrote: > >> > >>> Hi, > >>> > >>> basically Chameleon is being fed a HTML template > >>> with special tags in it, you can recognize them > by "CWC". A zoom-in > >>> tool for > >>> instance is a widget and is recognized by the > CWC in the HTML template. > >>> The basic unit of Chameleon is the widget, the > HTML template is a > >>> collection of widgets. > >>> > >>> Chameleon interprets this template and creates > HTML > >>> and javascript, which will turn into a > full-featured web mapping client. > >>> > >>> Also, it needs to know which map layers to draw, > >>> that's the second configuration element, so > always a Mapserver MAP > >>> file which you can create with Maplab if you > want (or a Web Map Context > >>> document, but this is harder), is needed. > >>> > >>> In the index.phtml of your sample application > both > >>> the HTML template and the MAP file are linked. > This is specific for > >>> Chameleon 1.1 and was different in Chameleon 1.0 > (which had a service > >>> instance which interpreted templates instead of > one application per HTML > >>> template/MAP file combination). > === message truncated === __________________________________ Do you Yahoo!? Find out what made the Top Yahoo! Searches of 2003 http://search.yahoo.com/top2003 From pxniw69@yahoo.com Sat Jan 3 22:50:21 2004 Received: from web41904.mail.yahoo.com (web41904.mail.yahoo.com [66.218.93.155]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i043oK8o025777 for ; Sat, 3 Jan 2004 22:50:21 -0500 Message-ID: <20040104034949.12918.qmail@web41904.mail.yahoo.com> Received: from [69.160.68.72] by web41904.mail.yahoo.com via HTTP; Sat, 03 Jan 2004 19:49:49 PST Date: Sat, 3 Jan 2004 19:49:49 -0800 (PST) From: pxniw pxniw Subject: Re: [Chameleon] What does chameleon do? To: Julien-Samuel Lacroix , chameleon@lists.maptools.org Cc: pxniw pxniw In-Reply-To: <3FF5CF2A.9010704@dmsolutions.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Cool ;) I got some of the stuff working ;) Progress ;0 I found this statement from wiki: "Name : LABEL Description : This the label to apply to the point. If not specified, the label will be the index number of the point. If you do not want labels on your points you must set this parameter to nothing. A shared resource can also be used here, with the syntax [$SR.Val] ([$Shared_resource_name.first_element.second_element.etc...])." And I just can't get the image to show labels??? Just clear me up if I'am wrong.. I tought I tried every combination with this... Sample 1. Since Label ="" "...If not specified, the label will be the index number of the point..." I don't get no label with above sample. Other things I tried: LABEL="[$MyResult.Restaurant_Name]" or LABEL="Restaurant name: [$GeocodeResult.name]" or LABEL="Restaurant name: [$MyResult.name]" or LABEL="Restaurant name: [$MyResult.Restaurant_Name]" I think I'm lost. I tried several others, but cant get it to work. (This should add label right next to the red dot? Correct?) Thanks all for your help. Px __________________________________ Do you Yahoo!? Find out what made the Top Yahoo! Searches of 2003 http://search.yahoo.com/top2003 From pxniw69@yahoo.com Mon Jan 5 01:43:27 2004 Received: from web41901.mail.yahoo.com (web41901.mail.yahoo.com [66.218.93.152]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i056hR8o004525 for ; Mon, 5 Jan 2004 01:43:27 -0500 Message-ID: <20040105064256.93807.qmail@web41901.mail.yahoo.com> Received: from [69.160.68.72] by web41901.mail.yahoo.com via HTTP; Sun, 04 Jan 2004 22:42:56 PST Date: Sun, 4 Jan 2004 22:42:56 -0800 (PST) From: pxniw pxniw Subject: Re: [Chameleon] What does chameleon do? To: spencer@dmsolutions.ca Cc: pxniw pxniw , chameleon@lists.maptools.org In-Reply-To: <3FF72EBA.6040000@magma.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Well, I am still Working with Juliens suggestion. And beleive or not, I got it working with All Navigate Functions. Currently what I have is 2 images showing SqlQuery Image and then other dhtml map image (Which I could use as KeyMap) . If I click on dhtml map, it navigates as I clicked the sqlquery image. I have to play around a bit, so I can hide the dhtml map, so everything is "userfriendly" navigate. Still no luck with Labels working ;( Tomorrow is another day... maybe then. Px --- Paul Spencer wrote: > Hi, > > Julien responded with one option using existing > widgets (The SQLQuery > widget and the MapImageSharedResource widget) but > this ends up with a > non-navigable map. A light-weight and interactive > solution is to use a > new build of MapServer with GDAL. GDAL is the > geospatial data access > library used by MapServer for a lot of raster > formats, it is bundled > with OGR which is used for vector formats. One of > the recent additions > to OGR is the ability to map an ODBC datasource with > columns for point > locations. > > If you can get a recent build of mapserver with a > recent (i.e. CVS) > version of GDAL, then you can use this > functionality. To set it up, you > need to do the following: > > 1. set up an ODBC DSN for your MySQL database > 2. set up a virtual file for OGR, format is > described at: > > http://www.remotesensing.org/gdal/ogr/drv_vrt.html > > 3. set up a map file to use this virtual file ... it > is simply a layer > of type OGR with connection pointing at the virtual > file and data with > the name of the layer in the virtual file that you > want to use (a > virtual file can contain multiple layers). > > That's it. As this is pretty new functionality, it > is not for the faint > of heart. There is quite a lot of development going > on at the current > time to provide simple utilities for doing the above > steps (or most of > them), but they won't be done for a few months. If > you really need it > in the short term, roll up your sleeves and have a > go :) And let us > know how it goes :) > > > Cheers, > > Paul > > Paul Spencer wrote: > > > Hi, > > > > don't have time to respond properly for a few days > given the holidays, > > but I don't think the SQLQuery widget will do what > you want, but it > > should be possible to do it with mapserver and ogr > using virtual > > datasources ... will discuss when I have time. > > > > Cheers, > > > > Paul > > > > pxniw pxniw wrote: > > > >> Thanks this cleared up things a bit. > >> Basically its copy and Paste type of environment > >> rather than swyg system. Ie if I want to add > something > >> for the sample file, I would add " some > widget > >> here " to sample html file. > >> > >> Ok going for more advanced stuff: > >> I noticed that Chameleon will handle MySQL? > >> Found this: > >> http://www.maptools.org/chameleon/wiki/SQLQuery > >> > >> Is this able to do this? > >> > >> I have php and perl scripts working for mapserver > with > >> Chameleon and MapLab. > >> I also have some other data in MySQL database. > >> Tables have info like: > RestaurantName;City;Lat;Lon > >> > >> How do I query either in PHP or Perl > RestaurantName > >> and provide a Pin Label (Marker) for Lat Lon > >> coordinates on my existing mapserver layout for > single > >> restaurant? > >> > >> Ie: I have a map of Georgia displayed. User have > >> options to type city in text box (ie Atlanta), > and hit > >> Go button. > >> > >> How do I query the MySQL db and show restaurant > >> locations in existing map? > >> > >> Thank You for all of who have provided their time > for > >> these projects, I will try to do the same, once I > >> learn things a bit more. > >> Happy Holidays > >> > >> > >> --- Bart van den Eijnden > wrote: > >> > >>> Hi, > >>> > >>> basically Chameleon is being fed a HTML template > >>> with special tags in it, you can recognize them > by "CWC". A zoom-in > >>> tool for > >>> instance is a widget and is recognized by the > CWC in the HTML template. > >>> The basic unit of Chameleon is the widget, the > HTML template is a > >>> collection of widgets. > >>> > >>> Chameleon interprets this template and creates > HTML > >>> and javascript, which will turn into a > full-featured web mapping client. > >>> > >>> Also, it needs to know which map layers to draw, > >>> that's the second configuration element, so > always a Mapserver MAP > >>> file which you can create with Maplab if you > want (or a Web Map Context > >>> document, but this is harder), is needed. > >>> > >>> In the index.phtml of your sample application > both > >>> the HTML template and the MAP file are linked. > This is specific for > >>> Chameleon 1.1 and was different in Chameleon 1.0 > (which had a service > >>> instance which interpreted templates instead of > one application per HTML > >>> template/MAP file combination). > >>> > >>> In short you could say Chameleon is the toolkit > to > >>> easily build webmapping clients, which could be > configured by someone > >>> who > >>> knows HTML. > >>> > >>> You can see an example at: > >>> > >>> http://mapsherpa.dmsolutions.ca/hawaii2/ > >>> > >>> Hope this helps. > >>> > >>> Best regards, > >>> Bart > >>> > >>> On Tue, 23 Dec 2003 07:33:24 -0800 (PST), pxniw > >>> pxniw wrote: > >>> > >>> > >>>> Just downloaded and installed chameleon. (1.1 > >>> > >>> > >>> Alpha 6) > >>> > >>>> Its so confusing what is the demo/sample file? > >>>> (I could not find cwc2.php on my files , I > think > >>> > >>> > >>> its > >>> > >>>> in the old files) I downloaded files from > >>>> > >>> > >> > http://www.maptools.org/chameleon/index.phtml?page=home.html > >> > >>>> and see other site > >>>> > http://www.dmsolutions.ca/techserv/chameleon.html > >>>> > >>>> this is getting more confusing. > >>>> Installed > >>>> http://www.maptools.org/dl/chameleon-sample.zip > >>> > >>> > === message truncated === __________________________________ Do you Yahoo!? Find out what made the Top Yahoo! Searches of 2003 http://search.yahoo.com/top2003 From TENIERER@gov.ns.ca Mon Jan 5 07:38:03 2004 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i05Cc18o006268 for ; Mon, 5 Jan 2004 07:38:03 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 5 Jan 2004 08:37:58 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 5 Jan 2004 08:37:58 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Mon, 05 Jan 2004 08:37:54 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Mon, 05 Jan 2004 08:37:40 -0400 From: "Rene Teniere " To: Cc: Subject: Re: [Chameleon] Page not found Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Guinevere: 2.0.13 ; Province of Nova Sco Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Paul, Jason answered my question. It ends up that the index.phtml file wasn't being hit. Works fine now as long as long as I have index.phtml at the end of the web path. Thanks, RT Rene J.R. Teniere - BSc., D.GIS GIS Technician Nova Scotia Department of Natural Resources Forestry Division (GIS) - Truro Phone: (902) 893-5655 Mobile: (902) 209-8956 >>> pagameba@magma.ca 2004-01-03 5:07:55 PM >>> possibly, or it could be your form's action is pointing at the wrong place? Cheers, Paul Rene Teniere wrote: > Hi Again. > > I finally got the keymap and map area to load up fine, however, > whenever I try a tool that requires the map area to refresh like zoom > in, out, etc. I get a page cannot be displayed error in the browser. > Also, when I click on the keymap, the same thing happens. > > I re-activated the ErrorReportWidget, and it says that I have no > errors. I don't know what's up with this. Possibly a path error in a > config file? > > RT > > Rene J.R. Teniere - BSc., D.GIS > GIS Technician > Nova Scotia Department of Natural Resources > Forestry Division (GIS) - Truro > > Phone: (902) 893-5655 > Mobile: (902) 209-8956 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From lacroix@dmsolutions.ca Mon Jan 5 09:31:51 2004 Received: from angrenost.dmsolutions.ca (chic.dmsolutions.ca [207.96.191.142]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i05EVo8o006655 for ; Mon, 5 Jan 2004 09:31:51 -0500 Received: from dmsolutions.ca (orthanc [192.168.4.8]) by angrenost.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id i05EUm430023; Mon, 5 Jan 2004 09:30:48 -0500 Message-ID: <3FF97518.8030408@dmsolutions.ca> Date: Mon, 05 Jan 2004 09:30:48 -0500 From: Julien-Samuel Lacroix Organization: DM Solutions User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pxniw pxniw , chameleon@lists.maptools.org Subject: Re: [Chameleon] What does chameleon do? References: <20040104222102.4230.qmail@web41905.mail.yahoo.com> In-Reply-To: <20040104222102.4230.qmail@web41905.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, Sorry I made a mistake here. The label are a little bit problematic in this particular case. First, If you want the number on your marker remove completly the label statement. Just specicying Label="" only tell it to use an empty label. Secondly, since you have more tha one element in your shared resource, it's a kind of array. So you will have to use the syntax [$MyResult.0.Restaurant_name], [$MyResult.1....], etc.. I know it's not very usefull, but the labels were not originally design to show content of shared resource with more than one row. In future, there will probably be a keyword like [$MyResult._INDEX_.Restaurant_name] to use the current record. #2 You can only see the content of a shared resource from a widget I think. Maybe Paul or someone else can confirm that. The Table widget can be usefull for seeing the content of a shared resource. #3 Humm...I don't know. Maybe by putting echo and print_r in the code... ;) Or since yu work with 1.1, you could try using event (http://www.maptools.org/chameleon/wiki/event). Cheers, Julien pxniw pxniw wrote: > Well for some reason I was not on the chameleon list, > so some of my questions did not show up. > > Anyhow, it should be working now. > I got below sample to work, but still had some > problems with Labels. (Labels won't show, and confused > what the correct syntax should be.) > > ([$Shared_resource_name.first_element.second_element.etc...]) > > LABEL="Restaurant name: [$MyResult.Restaurant_name]"/> > But still it won't work. > (Restaurant_name is name of the column in mysql db) > > Question #2 > > Where do I see the values currently held with > SharedResource? Or is it held in the memory? > > Question #3 > > What is good way of debugging when trying things out > with Chameleon? > > Thanks a bunch. Rolling up my sleeves and ready to > roll ;) > > Px > > --- Julien-Samuel Lacroix > wrote: > >>Hi, >> >>I fact, he SQLQuery widget can do this, but you >>should use it in >>combination with the MapImageSharedResource widget >> > > (http://www.maptools.org/chameleon/wiki/MapImageSharedResource). > >>The SQLQuery widget take a result from an SQL query >>and put it in a >>shared resource >> > > (http://www.maptools.org/chameleon/wiki/SharedResource). > >>A shared resource will be a kind of container for >>your data here. Then >>you can use the MapImageSharedResource widget to add >>point in your map. >>Note that your shared resource must contains a >>latitude and a longitude >>column. >> >>Here's a little example because I know that's a >>little bit cryptic for >>newbies. Don't hesitate to ask more question if you >>need and try >>multiple possibility with these two widget this >>will help you to >>understand them. >> >>First of all, you should include the SQLQuery widget >>in your template. >> >>>SQLQuery="SELECT * >>FROM table WHERE type='restaurant'" >>Server="localhost" >>Database="MyDatabase"/> >> >>This widget will take all the restaurant from your >>database and put it >>in the Shared Resource called "MyResult". >> >>Then, where you want your map, you should include >>the >>MapImageSharedResource widget: >> >>>Width="300" >>Height="275" Navigable="false"> >> >SRLATCOL="lati" >>SRLONCOL="long" LABEL="Restaurant name: >>[$GeocodeResult.name]"/> >> >> >>This widget will draw a map (300x275 large) that you >>could not navigate. >>In this map, there will be the points in the >>MyResult Shared Resource >>(Created by the SQLQuery widget). And this points >>will be placed in the >>map with the lat/lon defined in the SQL table >>columns called "lati" and >>"long". Finally, on each point there will be a label >>"Restaurant name: >>the_name_column_in_your_SQL_table". >> >>If you want to put a Pin marker instead of a red >>dot, you will need to >>add a MAP parameter in your widget: >> >>>Width="300" >>Height="275" Navigable="false"> >> >SRLATCOL="latitude" >>SRLONCOL="longitude" LABEL="Restaurant name: >>[$GeocodeResult.name]"/> >> > >>VALUE="markers/pin.png"/> >> >VALUE="25"/> >> >VALUE="00FF00"/> >> >> >>This will change the symbol used for the symbol >>markers/pin.png. The >>size will be 25 pixels and the color of the label on >>it will be green >>(RGB = 00FF00). You could change most (if not all) >>of the parameters of >>the layer that can be changed with php/mapscript >>with this widget. For >>other parameters check >> > > http://mapserver.gis.umn.edu/doc40/mapfile-reference.html#layer > >>Hope this will help. >> >>Cheers, >> >>Julien >> >> >>Paul Spencer wrote: >> >>>Hi, >>> >>>don't have time to respond properly for a few days >> >>given the holidays, >> >>>but I don't think the SQLQuery widget will do what >> >>you want, but it >> >>>should be possible to do it with mapserver and ogr >> >>using virtual >> >>>datasources ... will discuss when I have time. >>> >>>Cheers, >>> >>>Paul >>> >>>pxniw pxniw wrote: >>> >>> >>>>Thanks this cleared up things a bit. >>>>Basically its copy and Paste type of environment >>>>rather than swyg system. Ie if I want to add >> >>something >> >>>>for the sample file, I would add " some >> >>widget >> >>>>here " to sample html file. >>>> >>>>Ok going for more advanced stuff: >>>>I noticed that Chameleon will handle MySQL? >>>>Found this: >>>>http://www.maptools.org/chameleon/wiki/SQLQuery >>>> >>>>Is this able to do this? >>>> >>>>I have php and perl scripts working for mapserver >> >>with >> >>>>Chameleon and MapLab. >>>>I also have some other data in MySQL database. >>>>Tables have info like: >> >>RestaurantName;City;Lat;Lon >> >>>>How do I query either in PHP or Perl >> >>RestaurantName >> >>>>and provide a Pin Label (Marker) for Lat Lon >>>>coordinates on my existing mapserver layout for >> >>single >> >>>>restaurant? >>>> >>>>Ie: I have a map of Georgia displayed. User have >>>>options to type city in text box (ie Atlanta), >> >>and hit >> >>>>Go button. >>>> >>>>How do I query the MySQL db and show restaurant >>>>locations in existing map? >>>> >>>>Thank You for all of who have provided their time >> >>for >> >>>>these projects, I will try to do the same, once I >>>>learn things a bit more. >>>>Happy Holidays >>>> >>>> >>>>--- Bart van den Eijnden >> >>wrote: >> >>>>>Hi, >>>>> >>>>>basically Chameleon is being fed a HTML template >>>>>with special tags in it, you can recognize them >> >>by "CWC". A zoom-in >> >>>>>tool for >>>>>instance is a widget and is recognized by the >> >>CWC in the HTML template. >> >>>>>The basic unit of Chameleon is the widget, the >> >>HTML template is a >> >>>>>collection of widgets. >>>>> >>>>>Chameleon interprets this template and creates >> >>HTML >> >>>>>and javascript, which will turn into a >> >>full-featured web mapping client. >> >>>>>Also, it needs to know which map layers to draw, >>>>>that's the second configuration element, so >> >>always a Mapserver MAP >> >>>>>file which you can create with Maplab if you >> >>want (or a Web Map Context >> >>>>>document, but this is harder), is needed. >>>>> >>>>>In the index.phtml of your sample application >> >>both >> >>>>>the HTML template and the MAP file are linked. >> >>This is specific for >> >>>>>Chameleon 1.1 and was different in Chameleon 1.0 >> >>(which had a service >> >>>>>instance which interpreted templates instead of >> >>one application per HTML >> >>>>>template/MAP file combination). >> > === message truncated === > > > __________________________________ > Do you Yahoo!? > Find out what made the Top Yahoo! Searches of 2003 > http://search.yahoo.com/top2003 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ------------------------------------------------------------ Julien-Samuel Lacroix lacroix@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From pxniw69@yahoo.com Tue Jan 6 01:00:27 2004 Received: from web41906.mail.yahoo.com (web41906.mail.yahoo.com [66.218.93.157]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i0660R8o009803 for ; Tue, 6 Jan 2004 01:00:27 -0500 Message-ID: <20040106060025.52439.qmail@web41906.mail.yahoo.com> Received: from [69.160.68.72] by web41906.mail.yahoo.com via HTTP; Mon, 05 Jan 2004 22:00:25 PST Date: Mon, 5 Jan 2004 22:00:25 -0800 (PST) From: pxniw pxniw Subject: Re: [Chameleon] What does chameleon do? To: chameleon@lists.maptools.org In-Reply-To: <3FF97518.8030408@dmsolutions.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Installed new fonts, and that took care of the problem. (Thx Julien for suggestion) Phew... Thanks all for your help. Now trying to figure out a way to include all labels. (As of right now, it will only list first Restaurant_Name in the table) Sometimes I might have 10 other times 50 listed. Any suggestions for this? Thanks Px --- Julien-Samuel Lacroix wrote: > Hi, > > Sorry I made a mistake here. The label are a little > bit problematic in > this particular case. First, If you want the number > on your marker > remove completly the label statement. Just > specicying Label="" only tell > it to use an empty label. Secondly, since you have > more tha one element > in your shared resource, it's a kind of array. So > you will have to use > the syntax [$MyResult.0.Restaurant_name], > [$MyResult.1....], etc.. I > know it's not very usefull, but the labels were not > originally design to > show content of shared resource with more than one > row. In future, there > will probably be a keyword like > [$MyResult._INDEX_.Restaurant_name] to > use the current record. > > #2 > You can only see the content of a shared resource > from a widget I think. > Maybe Paul or someone else can confirm that. The > Table widget can be > usefull for seeing the content of a shared resource. > > #3 > Humm...I don't know. Maybe by putting echo and > print_r in the code... ;) > Or since yu work with 1.1, you could try using event > > (http://www.maptools.org/chameleon/wiki/event). > > Cheers, > > Julien > > pxniw pxniw wrote: > > Well for some reason I was not on the chameleon > list, > > so some of my questions did not show up. > > > > Anyhow, it should be working now. > > I got below sample to work, but still had some > > problems with Labels. (Labels won't show, and > confused > > what the correct syntax should be.) > > > > > ([$Shared_resource_name.first_element.second_element.etc...]) > > > > LABEL="Restaurant name: > [$MyResult.Restaurant_name]"/> > > But still it won't work. > > (Restaurant_name is name of the column in mysql > db) > > > > Question #2 > > > > Where do I see the values currently held with > > SharedResource? Or is it held in the memory? > > > > Question #3 > > > > What is good way of debugging when trying things > out > > with Chameleon? > > > > Thanks a bunch. Rolling up my sleeves and ready to > > roll ;) > > > > Px > > > > --- Julien-Samuel Lacroix > > wrote: > > > >>Hi, > >> > >>I fact, he SQLQuery widget can do this, but you > >>should use it in > >>combination with the MapImageSharedResource widget > > >> > > > > > (http://www.maptools.org/chameleon/wiki/MapImageSharedResource). > > > >>The SQLQuery widget take a result from an SQL > query > >>and put it in a > >>shared resource > >> > > > > > (http://www.maptools.org/chameleon/wiki/SharedResource). > > > >>A shared resource will be a kind of container for > >>your data here. Then > >>you can use the MapImageSharedResource widget to > add > >>point in your map. > >>Note that your shared resource must contains a > >>latitude and a longitude > >>column. > >> > >>Here's a little example because I know that's a > >>little bit cryptic for > >>newbies. Don't hesitate to ask more question if > you > >>need and try > >>multiple possibility with these two widget this > >>will help you to > >>understand them. > >> > >>First of all, you should include the SQLQuery > widget > >>in your template. > >> > >> SharedResourceName="MyResult" > >>SQLQuery="SELECT * > >>FROM table WHERE type='restaurant'" > >>Server="localhost" > >>Database="MyDatabase"/> > >> > >>This widget will take all the restaurant from your > >>database and put it > >>in the Shared Resource called "MyResult". > >> > >>Then, where you want your map, you should include > >>the > >>MapImageSharedResource widget: > >> > >> name="main_map" > >>Width="300" > >>Height="275" Navigable="false"> > >> >>SRLATCOL="lati" > >>SRLONCOL="long" LABEL="Restaurant name: > >>[$GeocodeResult.name]"/> > >> > >> > >>This widget will draw a map (300x275 large) that > you > >>could not navigate. > >>In this map, there will be the points in the > >>MyResult Shared Resource > >>(Created by the SQLQuery widget). And this points > >>will be placed in the > >>map with the lat/lon defined in the SQL table > >>columns called "lati" and > >>"long". Finally, on each point there will be a > label > >>"Restaurant name: > >>the_name_column_in_your_SQL_table". > >> > >>If you want to put a Pin marker instead of a red > >>dot, you will need to > >>add a MAP parameter in your widget: > >> > >> name="main_map" > >>Width="300" > >>Height="275" Navigable="false"> > >> >>SRLATCOL="latitude" > >>SRLONCOL="longitude" LABEL="Restaurant name: > >>[$GeocodeResult.name]"/> > >> PARAM="symbolname" > >> > >>VALUE="markers/pin.png"/> > >> >>VALUE="25"/> > >> >>VALUE="00FF00"/> > >> > >> > >>This will change the symbol used for the symbol > >>markers/pin.png. The > >>size will be 25 pixels and the color of the label > on > >>it will be green > >>(RGB = 00FF00). You could change most (if not all) > >>of the parameters of > >>the layer that can be changed with php/mapscript > >>with this widget. For > >>other parameters check > >> > > > > > http://mapserver.gis.umn.edu/doc40/mapfile-reference.html#layer > > > >>Hope this will help. > >> > >>Cheers, > >> > === message truncated === __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From lacroix@dmsolutions.ca Tue Jan 6 10:31:22 2004 Received: from angrenost.dmsolutions.ca (chic.dmsolutions.ca [207.96.191.142]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i06FVI8o012287 for ; Tue, 6 Jan 2004 10:31:21 -0500 Received: from dmsolutions.ca (orthanc [192.168.4.8]) by angrenost.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id i06FTF431813; Tue, 6 Jan 2004 10:29:15 -0500 Message-ID: <3FFAD44A.3020701@dmsolutions.ca> Date: Tue, 06 Jan 2004 10:29:14 -0500 From: Julien-Samuel Lacroix Organization: DM Solutions User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pxniw pxniw CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] What does chameleon do? References: <20040106060025.52439.qmail@web41906.mail.yahoo.com> In-Reply-To: <20040106060025.52439.qmail@web41906.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, The Table widget can be what you need. Instead of showing the restairant name in the map, where they have a chance to overlap, you put them into a table below the map. Look at the documentation (http://www.maptools.org/chameleon/wiki/Table). Plus, I'm not sure its in the documentation, but the Table widget create a SharedResource containing all the element included in it's body. This shared resource is called from the named of the one used in the Table and add "_IMAGE" at the end. So if your shared resource is called "MyResult", the shared resource outputed from the Table will be "MyResult_IMAGE". If you use this one in the MapImageSharedResource, you will be sure that your map don't show more information than the table show. And in the table you will be able to show all the fields you want from the table. However if you want to match each record i the table its dot in the map you can use number in your table and in your map. Hope this will help. Best regards, Julien pxniw pxniw wrote: > Installed new fonts, and that took care of the > problem. (Thx Julien for suggestion) > > Phew... > > Thanks all for your help. > > Now trying to figure out a way to include all labels. > (As of right now, it will only list first > Restaurant_Name in the table) > > Sometimes I might have 10 other times 50 listed. > Any suggestions for this? > Thanks > Px > > --- Julien-Samuel Lacroix > wrote: > >>Hi, >> >>Sorry I made a mistake here. The label are a little >>bit problematic in >>this particular case. First, If you want the number >>on your marker >>remove completly the label statement. Just >>specicying Label="" only tell >>it to use an empty label. Secondly, since you have >>more tha one element >>in your shared resource, it's a kind of array. So >>you will have to use >>the syntax [$MyResult.0.Restaurant_name], >>[$MyResult.1....], etc.. I >>know it's not very usefull, but the labels were not >>originally design to >>show content of shared resource with more than one >>row. In future, there >>will probably be a keyword like >>[$MyResult._INDEX_.Restaurant_name] to >>use the current record. >> >>#2 >>You can only see the content of a shared resource >>from a widget I think. >>Maybe Paul or someone else can confirm that. The >>Table widget can be >>usefull for seeing the content of a shared resource. >> >>#3 >>Humm...I don't know. Maybe by putting echo and >>print_r in the code... ;) >>Or since yu work with 1.1, you could try using event >> >>(http://www.maptools.org/chameleon/wiki/event). >> >>Cheers, >> >>Julien >> >>pxniw pxniw wrote: >> >>>Well for some reason I was not on the chameleon >> >>list, >> >>>so some of my questions did not show up. >>> >>>Anyhow, it should be working now. >>>I got below sample to work, but still had some >>>problems with Labels. (Labels won't show, and >> >>confused >> >>>what the correct syntax should be.) >>> >>> >> > ([$Shared_resource_name.first_element.second_element.etc...]) > >>>LABEL="Restaurant name: >> >>[$MyResult.Restaurant_name]"/> >> >>>But still it won't work. >>>(Restaurant_name is name of the column in mysql >> >>db) >> >>>Question #2 >>> >>>Where do I see the values currently held with >>>SharedResource? Or is it held in the memory? >>> >>>Question #3 >>> >>>What is good way of debugging when trying things >> >>out >> >>>with Chameleon? >>> >>>Thanks a bunch. Rolling up my sleeves and ready to >>>roll ;) >>> >>>Px >>> >>>--- Julien-Samuel Lacroix >>>wrote: >>> >>> >>>>Hi, >>>> >>>>I fact, he SQLQuery widget can do this, but you >>>>should use it in >>>>combination with the MapImageSharedResource widget >> >>> > (http://www.maptools.org/chameleon/wiki/MapImageSharedResource). > >>>>The SQLQuery widget take a result from an SQL >> >>query >> >>>>and put it in a >>>>shared resource >>>> >>> >>> > (http://www.maptools.org/chameleon/wiki/SharedResource). > >>>>A shared resource will be a kind of container for >>>>your data here. Then >>>>you can use the MapImageSharedResource widget to >> >>add >> >>>>point in your map. >>>>Note that your shared resource must contains a >>>>latitude and a longitude >>>>column. >>>> >>>>Here's a little example because I know that's a >>>>little bit cryptic for >>>>newbies. Don't hesitate to ask more question if >> >>you >> >>>>need and try >>>>multiple possibility with these two widget this >>>>will help you to >>>>understand them. >>>> >>>>First of all, you should include the SQLQuery >> >>widget >> >>>>in your template. >>>> >>>>> >>SharedResourceName="MyResult" >> >>>>SQLQuery="SELECT * >>> >>>>FROM table WHERE type='restaurant'" >>> >>>>Server="localhost" >>>>Database="MyDatabase"/> >>>> >>>>This widget will take all the restaurant from your >>>>database and put it >>>>in the Shared Resource called "MyResult". >>>> >>>>Then, where you want your map, you should include >>>>the >>>>MapImageSharedResource widget: >>>> >>>>> >>name="main_map" >> >>>>Width="300" >>>>Height="275" Navigable="false"> >>>> >>>SRLATCOL="lati" >>>>SRLONCOL="long" LABEL="Restaurant name: >>>>[$GeocodeResult.name]"/> >>>> >>>> >>>>This widget will draw a map (300x275 large) that >> >>you >> >>>>could not navigate. >>>>In this map, there will be the points in the >>>>MyResult Shared Resource >>>>(Created by the SQLQuery widget). And this points >>>>will be placed in the >>>>map with the lat/lon defined in the SQL table >>>>columns called "lati" and >>>>"long". Finally, on each point there will be a >> >>label >> >>>>"Restaurant name: >>>>the_name_column_in_your_SQL_table". >>>> >>>>If you want to put a Pin marker instead of a red >>>>dot, you will need to >>>>add a MAP parameter in your widget: >>>> >>>>> >>name="main_map" >> >>>>Width="300" >>>>Height="275" Navigable="false"> >>>> >>>SRLATCOL="latitude" >>>>SRLONCOL="longitude" LABEL="Restaurant name: >>>>[$GeocodeResult.name]"/> >>>> > >>PARAM="symbolname" >> >>>>VALUE="markers/pin.png"/> >>>> >>>VALUE="25"/> >>>> >>>VALUE="00FF00"/> >>>> >>>> >>>>This will change the symbol used for the symbol >>>>markers/pin.png. The >>>>size will be 25 pixels and the color of the label >> >>on >> >>>>it will be green >>>>(RGB = 00FF00). You could change most (if not all) >>>>of the parameters of >>>>the layer that can be changed with php/mapscript >>>>with this widget. For >>>>other parameters check >>>> >>> >>> > http://mapserver.gis.umn.edu/doc40/mapfile-reference.html#layer > >>>>Hope this will help. >>>> >>>>Cheers, >>>> >> > === message truncated === > > > __________________________________ > Do you Yahoo!? > Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes > http://hotjobs.sweepstakes.yahoo.com/signingbonus > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ------------------------------------------------------------ Julien-Samuel Lacroix lacroix@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From pxniw69@yahoo.com Tue Jan 6 15:43:34 2004 Received: from web41906.mail.yahoo.com (web41906.mail.yahoo.com [66.218.93.157]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i06KhX8o013593 for ; Tue, 6 Jan 2004 15:43:33 -0500 Message-ID: <20040106204259.28899.qmail@web41906.mail.yahoo.com> Received: from [69.160.68.72] by web41906.mail.yahoo.com via HTTP; Tue, 06 Jan 2004 12:42:59 PST Date: Tue, 6 Jan 2004 12:42:59 -0800 (PST) From: pxniw pxniw Subject: Re: [Chameleon] What does chameleon do? To: Julien-Samuel Lacroix Cc: chameleon@lists.maptools.org In-Reply-To: <3FFAD44A.3020701@dmsolutions.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Great Suggestions Julien... I'am learning things fast here ;) Always going for new advanced stuff. So here it goes. If I am asking too much lemme know. Question 1. How do I make "MyResult" Shared resource image navigable? (I know its possible, since I have 2 images now showing and one changes). One is the DHTML map widget (Which shows map, and when I click on it, ie zoom in, it does not change, but it will change my sharedresource "MyResult" image. This is what I want. How do I do it without the Dhtml widget and click directly on the image? Question 2. I got things working out pretty nicely, with Mysql widget code in my .html page. Little confused, how to query and change the result image. What page do I need to change, or do I need to add other .php script somewhere. Ie I want this: User types State (In text box) and then output page gives him her option to click available cities. When clicked it will show all restaurants in that city. I have: index.phtml sample.html and test.map On sample.html I have: How do I programmatically change above query so I dont have to create new page for each state. Thank You Px __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From lacroix@dmsolutions.ca Wed Jan 7 10:02:52 2004 Received: from angrenost.dmsolutions.ca (chic.dmsolutions.ca [207.96.191.142]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i07F2l8o017781 for ; Wed, 7 Jan 2004 10:02:52 -0500 Received: from dmsolutions.ca (orthanc [192.168.4.8]) by angrenost.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id i07F2h401147; Wed, 7 Jan 2004 10:02:43 -0500 Message-ID: <3FFC1F93.5020402@dmsolutions.ca> Date: Wed, 07 Jan 2004 10:02:43 -0500 From: Julien-Samuel Lacroix Organization: DM Solutions User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pxniw pxniw CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] What does chameleon do? References: <20040106204259.28899.qmail@web41906.mail.yahoo.com> In-Reply-To: <20040106204259.28899.qmail@web41906.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi px, Reply 1: In theory, you set the navigable option to true and you put a navtools widget (Recenter, ScaleZoom, CompassPoint, etc.) in your template and that's it. However the MapImageSharedResource widget have not been tested with all navtools. Only Recenter, CompassPoint and ScaleZoom have been tested, but I don't see why they should not work. So it will be safe to use the ZoomIn and ZoomOut widget, and all others. Reply 2: The magic of template pre-processing can solve your problem. Check http://www.maptools.org/chameleon/wiki/pre_2dprocessing The only change that you should make to what you see there is to use a different syntax. The [Name] have changed to [$Name$]. So if your search page pass the variable "state" in the URL with a combo box or a hidden field, you can use anywhere in your widget the tag [$state$] and it will be replaced by the value in the URL. Enjoy! Best regards, Julien pxniw pxniw wrote: > Great Suggestions Julien... > > I'am learning things fast here ;) > > Always going for new advanced stuff. So here it goes. > If I am asking too much lemme know. > > Question 1. > How do I make "MyResult" Shared resource image > navigable? (I know its possible, since I have 2 images > now showing and one changes). One is the DHTML map > widget (Which shows map, and when I click on it, ie > zoom in, it does not change, but it will change my > sharedresource "MyResult" image. This is what I want. > How do I do it without the Dhtml widget and click > directly on the image? > > Question 2. > I got things working out pretty nicely, with Mysql > widget code in my .html page. Little confused, how to > query and change the result image. What page do I need > to change, or do I need to add other .php script > somewhere. Ie I want this: User types State (In text > box) and then output page gives him her option to > click available cities. When clicked it will show all > restaurants in that city. > > I have: index.phtml sample.html and test.map > On sample.html I have: > SQLQuery="SELECT * FROM test.State WHERE test.State = > 'Georgia' > " Server="localhost" Database="test"/> > > How do I programmatically change above query so I dont > have to create new page for each state. > > Thank You > Px > > > __________________________________ > Do you Yahoo!? > Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes > http://hotjobs.sweepstakes.yahoo.com/signingbonus > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ------------------------------------------------------------ Julien-Samuel Lacroix lacroix@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From bartvde@xs4all.nl Thu Jan 8 11:52:32 2004 Received: from smtpzilla2.xs4all.nl (smtpzilla2.xs4all.nl [194.109.127.138]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i08GqV8o023891 for ; Thu, 8 Jan 2004 11:52:32 -0500 Received: from webmail.xs4all.nl (webmail7.xs4all.nl [194.109.127.31]) by smtpzilla2.xs4all.nl (8.12.10/8.12.10) with SMTP id i08GqGIE024182 for ; Thu, 8 Jan 2004 17:52:30 +0100 (CET) Received: from 213.197.234.125 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Thu, 8 Jan 2004 17:52:30 +0100 (CET) Message-ID: <24190.213.197.234.125.1073580750.squirrel@webmail.xs4all.nl> Date: Thu, 8 Jan 2004 17:52:30 +0100 (CET) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [Chameleon] map image not placed correctly Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, does anybody know what is causing the map image to be displaced the first time a Chameleon page is loaded? The border is placed correctly, but the map image is mostly around 50 pixels down from the border and a bit to the right. After a zoom action, this corrects itself. Any quick and dirty solution for this? Best regards, Bart From Jean-Francois.Doyon@CCRS.NRCan.gc.ca Thu Jan 8 12:03:11 2004 Received: from dns1.ccrs.nrcan.gc.ca (dns1.ccrs.nrcan.gc.ca [132.156.11.189]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i08H3A8o023959 for ; Thu, 8 Jan 2004 12:03:11 -0500 Received: from s5-ccr-r1.ccrs.nrn.nrcan.gc.ca (s5-ccr-r1.ccrs.nrcan.gc.ca [132.156.20.32]) by dns1.ccrs.nrcan.gc.ca (8.12.9/8.12.10) with ESMTP id i08H3AWW068023; Thu, 8 Jan 2004 12:03:10 -0500 (EST) Received: by s5-ccr-r1.ccrs.nrcan.gc.ca with Internet Mail Service (5.5.2657.72) id ; Thu, 8 Jan 2004 12:03:07 -0500 Message-ID: <7CDD7B94357FD5119E800002A537C46E0B8B7225@s5-ccr-r1.ccrs.nrcan.gc.ca> From: Jean-Francois.Doyon@CCRS.NRCan.gc.ca To: bartvde@xs4all.nl, chameleon@lists.maptools.org Subject: RE: [Chameleon] map image not placed correctly Date: Thu, 8 Jan 2004 12:03:06 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="ISO-8859-1" X-CCRS-Hits: 0.339 X-CCRS-Initial-Recip: X-Scanned-By: MIMEDefang 2.35 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, That's an IE bug related to it's rendering engine. The basic problem is that IE sometimes positions things before having all necessary information ... So it trips over itself and renders elements in the wrong place, because it renders/places it TOO early. We too have noticed it and will hopefully be working with DM to get this fixed. I've run into this same bug in different circumstances myself, where images inside tables that don't have a width/height specified in the IMG element sometimes get badly positioned. In this case the problem is slightly more complicated I believe, Paul can explain further :) J.F. -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org]On Behalf Of bartvde@xs4all.nl Sent: Thursday, January 08, 2004 11:53 AM To: chameleon@lists.maptools.org Subject: [Chameleon] map image not placed correctly Hi list, does anybody know what is causing the map image to be displaced the first time a Chameleon page is loaded? The border is placed correctly, but the map image is mostly around 50 pixels down from the border and a bit to the right. After a zoom action, this corrects itself. Any quick and dirty solution for this? Best regards, Bart _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From pagameba@magma.ca Thu Jan 8 13:00:31 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i08I0V8o024128 for ; Thu, 8 Jan 2004 13:00:31 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i08I0GRk006243; Thu, 8 Jan 2004 13:00:16 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i08I0ENx025177; Thu, 8 Jan 2004 13:00:16 -0500 Message-ID: <3FFD9AA4.3050303@magma.ca> Date: Thu, 08 Jan 2004 13:00:04 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jean-Francois.Doyon@ccrs.nrcan.gc.ca CC: bartvde@xs4all.nl, chameleon@lists.maptools.org Subject: Re: [Chameleon] map image not placed correctly References: <7CDD7B94357FD5119E800002A537C46E0B8B7225@s5-ccr-r1.ccrs.nrcan.gc.ca> In-Reply-To: <7CDD7B94357FD5119E800002A537C46E0B8B7225@s5-ccr-r1.ccrs.nrcan.gc.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart JF has summed it up correctly AFAIK. I don't think there is a quick fix, but you can check the source of your page for IMG tags that don't have a width/height and if those are coming from widgets then let me know and I will try to fix them asap for you. But I don't know if this will actually correct the problem entirely. Cheers, Paul Jean-Francois.Doyon@ccrs.nrcan.gc.ca wrote: > Bart, > > That's an IE bug related to it's rendering engine. The basic problem is that > IE sometimes positions things before having all necessary information ... So > it trips over itself and renders elements in the wrong place, because it > renders/places it TOO early. > > We too have noticed it and will hopefully be working with DM to get this > fixed. I've run into this same bug in different circumstances myself, where > images inside tables that don't have a width/height specified in the IMG > element sometimes get badly positioned. > > In this case the problem is slightly more complicated I believe, Paul can > explain further :) > > J.F. > > -----Original Message----- > From: chameleon-admin@lists.maptools.org > [mailto:chameleon-admin@lists.maptools.org]On Behalf Of > bartvde@xs4all.nl > Sent: Thursday, January 08, 2004 11:53 AM > To: chameleon@lists.maptools.org > Subject: [Chameleon] map image not placed correctly > > > Hi list, > > does anybody know what is causing the map image to be displaced the first > time a Chameleon page is loaded? > > The border is placed correctly, but the map image is mostly around 50 > pixels down from the border and a bit to the right. > > After a zoom action, this corrects itself. > > Any quick and dirty solution for this? > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From TENIERER@gov.ns.ca Thu Jan 8 13:25:29 2004 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i08IPS8o024214 for ; Thu, 8 Jan 2004 13:25:29 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Thu, 8 Jan 2004 14:20:30 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Thu, 8 Jan 2004 14:20:29 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Thu, 08 Jan 2004 14:20:23 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Thu, 08 Jan 2004 14:20:09 -0400 From: "Rene Teniere " To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Guinevere: 2.0.13 ; Province of Nova Sco Subject: [Chameleon] TextButton SharedResource Problem Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi all, Has anyone figured out why the TextButton SharedResource tag will not display the text label, and textbuttonborder and image images? If so, can you let me know? I am including the code for the TextButton SharedResource: Rene Rene J.R. Teniere - BSc., D.GIS GIS Technician Nova Scotia Department of Natural Resources Forestry Division (GIS) - Truro Phone: (902) 893-5655 Mobile: (902) 209-8956 From bartvde@xs4all.nl Thu Jan 8 14:24:14 2004 Received: from smtpzilla5.xs4all.nl (smtpzilla5.xs4all.nl [194.109.127.141]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i08JOD8o024434 for ; Thu, 8 Jan 2004 14:24:14 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla5.xs4all.nl (8.12.10/8.12.10) with ESMTP id i08JNZYV016641; Thu, 8 Jan 2004 20:23:39 +0100 (CET) Cc: chameleon@lists.maptools.org To: spencer@dmsolutions.ca, Jean-Francois.Doyon@ccrs.nrcan.gc.ca Subject: Re: [Chameleon] map image not placed correctly Reply-To: bartvde@xs4all.nl References: <7CDD7B94357FD5119E800002A537C46E0B8B7225@s5-ccr-r1.ccrs.nrcan.gc.ca> <3FFD9AA4.3050303@magma.ca> Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Thu, 08 Jan 2004 20:23:28 +0100 In-Reply-To: <3FFD9AA4.3050303@magma.ca> User-Agent: Opera7.22/Win32 M2 build 3221 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Paul, JF, I am not totally convinced this is solely an IE bug. I have also seen this happen in Opera. Also, when putting Mozilla Firebird in fullscreen mode (F11), the same thing happens. Is there already a bugzilla entry for this? Best regards, Bart On Thu, 08 Jan 2004 13:00:04 -0500, Paul Spencer wrote: > Bart > > JF has summed it up correctly AFAIK. I don't think there is a quick > fix, but you can check the source of your page for IMG tags that don't > have a width/height and if those are coming from widgets then let me > know and I will try to fix them asap for you. But I don't know if this > will actually correct the problem entirely. > > Cheers, > > Paul > > Jean-Francois.Doyon@ccrs.nrcan.gc.ca wrote: > >> Bart, >> >> That's an IE bug related to it's rendering engine. The basic problem is >> that >> IE sometimes positions things before having all necessary information >> ... So >> it trips over itself and renders elements in the wrong place, because it >> renders/places it TOO early. >> >> We too have noticed it and will hopefully be working with DM to get this >> fixed. I've run into this same bug in different circumstances myself, >> where >> images inside tables that don't have a width/height specified in the IMG >> element sometimes get badly positioned. >> >> In this case the problem is slightly more complicated I believe, Paul >> can >> explain further :) >> >> J.F. >> >> -----Original Message----- >> From: chameleon-admin@lists.maptools.org >> [mailto:chameleon-admin@lists.maptools.org]On Behalf Of >> bartvde@xs4all.nl >> Sent: Thursday, January 08, 2004 11:53 AM >> To: chameleon@lists.maptools.org >> Subject: [Chameleon] map image not placed correctly >> >> >> Hi list, >> >> does anybody know what is causing the map image to be displaced the >> first >> time a Chameleon page is loaded? >> >> The border is placed correctly, but the map image is mostly around 50 >> pixels down from the border and a bit to the right. >> >> After a zoom action, this corrects itself. >> >> Any quick and dirty solution for this? >> >> Best regards, >> Bart >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > -- From bartvde@xs4all.nl Thu Jan 8 16:17:19 2004 Received: from smtpzilla5.xs4all.nl (smtpzilla5.xs4all.nl [194.109.127.141]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i08LHI8o024822 for ; Thu, 8 Jan 2004 16:17:19 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla5.xs4all.nl (8.12.10/8.12.10) with ESMTP id i08LHHng077513 for ; Thu, 8 Jan 2004 22:17:17 +0100 (CET) Date: Thu, 08 Jan 2004 22:17:10 +0100 To: "chameleon@lists.maptools.org" Reply-To: bartvde@xs4all.nl From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera7.22/Win32 M2 build 3221 Subject: [Chameleon] mousemove and CPU Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, I have been looking a little bit into the CPU usage of a Chameleon application and see that the things that occur on the mouse move event take a lot of CPU (50-100% depending on the speed of movement). Perhaps some of these functions could be on intervals which are more friendly to the CPU usage? Also, I noticed that this does not only occur when moving over the map area, but this occurs when moving over any part of the page. That's quite strange, because no coordinates etc. need to be updated when moving the mouse around outside the map area. Best regards, Bart From pagameba@magma.ca Thu Jan 8 16:31:36 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i08LVa8o024884 for ; Thu, 8 Jan 2004 16:31:36 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i08LVaSJ020565; Thu, 8 Jan 2004 16:31:36 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i08LVV4s001891; Thu, 8 Jan 2004 16:31:36 -0500 Message-ID: <3FFDCC29.5070703@magma.ca> Date: Thu, 08 Jan 2004 16:31:21 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: "chameleon@lists.maptools.org" Subject: Re: [Chameleon] mousemove and CPU References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, we are (hopefully) going to be looking into this issue with JF Doyon and NRCan. The current mechanism is to attach to the onmousemove event handler of the document object. We are proposing to replace this with an event handler on the map image (or layer or whatever works in most DOMs) with backwards compatibility to use the existing mechanism. This requires some rework since all the move movement handling is done in slightly different ways and I would like to consolidate this into one centralized handling function. As to why it happens over the document and not the map image, I have no clue! Any hints on this would be great. Cheers, Paul Bart van den Eijnden wrote: > Hi list, > > I have been looking a little bit into the CPU usage of a Chameleon > application and see that the things that occur on the mouse move event > take a lot of CPU (50-100% depending on the speed of movement). Perhaps > some of these functions could be on intervals which are more friendly to > the CPU usage? > > Also, I noticed that this does not only occur when moving over the map > area, but this occurs when moving over any part of the page. That's > quite strange, because no coordinates etc. need to be updated when > moving the mouse around outside the map area. > > Best regards, > Bart _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Jan 8 17:01:16 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i08M1G8o024987 for ; Thu, 8 Jan 2004 17:01:16 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i08M15fl003560; Thu, 8 Jan 2004 17:01:05 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i08M11Ou012209; Thu, 8 Jan 2004 17:01:04 -0500 Message-ID: <3FFDD314.1090709@magma.ca> Date: Thu, 08 Jan 2004 17:00:52 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: Jean-Francois.Doyon@ccrs.nrcan.gc.ca, chameleon@lists.maptools.org Subject: Re: [Chameleon] map image not placed correctly References: <7CDD7B94357FD5119E800002A537C46E0B8B7225@s5-ccr-r1.ccrs.nrcan.gc.ca> <3FFD9AA4.3050303@magma.ca> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, I think it is a similar problem in all browsers but due to the differences in how the pages are laid out by the browser (i.e. the order that things happen) it is not always apparent. IE seems to be the worst because it is the most accomodating and will allow the page to finish loading without knowing the sizes of images because it can move things around after the page has loaded. I am actually thinking of a new solution to this that would embed the image in the page rather than on a layer. The only reason to have it on a layer right now is to support the dynamic drag pan of the image. I think that the drag pan widget can create it's own layer and position it at the right position with a copy of the map image at the time the tool is selected. The only downside to this is that the map image is not currently stored on disk ... and I don't want to trigger two draws of the map image if I can help it. Anyway, food for thought. Cheers, Paul Bart van den Eijnden wrote: > Hi Paul, JF, > > I am not totally convinced this is solely an IE bug. > > I have also seen this happen in Opera. > > Also, when putting Mozilla Firebird in fullscreen mode (F11), the same > thing happens. > > Is there already a bugzilla entry for this? > > Best regards, > Bart > > On Thu, 08 Jan 2004 13:00:04 -0500, Paul Spencer wrote: > >> Bart >> >> JF has summed it up correctly AFAIK. I don't think there is a quick >> fix, but you can check the source of your page for IMG tags that don't >> have a width/height and if those are coming from widgets then let me >> know and I will try to fix them asap for you. But I don't know if >> this will actually correct the problem entirely. >> >> Cheers, >> >> Paul >> >> Jean-Francois.Doyon@ccrs.nrcan.gc.ca wrote: >> >>> Bart, >>> >>> That's an IE bug related to it's rendering engine. The basic problem >>> is that >>> IE sometimes positions things before having all necessary information >>> ... So >>> it trips over itself and renders elements in the wrong place, because it >>> renders/places it TOO early. >>> >>> We too have noticed it and will hopefully be working with DM to get this >>> fixed. I've run into this same bug in different circumstances >>> myself, where >>> images inside tables that don't have a width/height specified in the IMG >>> element sometimes get badly positioned. >>> >>> In this case the problem is slightly more complicated I believe, Paul >>> can >>> explain further :) >>> >>> J.F. >>> >>> -----Original Message----- >>> From: chameleon-admin@lists.maptools.org >>> [mailto:chameleon-admin@lists.maptools.org]On Behalf Of >>> bartvde@xs4all.nl >>> Sent: Thursday, January 08, 2004 11:53 AM >>> To: chameleon@lists.maptools.org >>> Subject: [Chameleon] map image not placed correctly >>> >>> >>> Hi list, >>> >>> does anybody know what is causing the map image to be displaced the >>> first >>> time a Chameleon page is loaded? >>> >>> The border is placed correctly, but the map image is mostly around 50 >>> pixels down from the border and a bit to the right. >>> >>> After a zoom action, this corrects itself. >>> >>> Any quick and dirty solution for this? >>> >>> Best regards, >>> Bart >>> _______________________________________________ >>> Chameleon mailing list >>> Chameleon@lists.maptools.org >>> http://lists.maptools.org/mailman/listinfo/chameleon >>> _______________________________________________ >>> Chameleon mailing list >>> Chameleon@lists.maptools.org >>> http://lists.maptools.org/mailman/listinfo/chameleon >>> >> > > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Jan 8 17:16:28 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i08MGS8o025063 for ; Thu, 8 Jan 2004 17:16:28 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i08MGRfl011004; Thu, 8 Jan 2004 17:16:27 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i08MGO0c029298; Thu, 8 Jan 2004 17:16:27 -0500 Message-ID: <3FFDD6AE.5040304@magma.ca> Date: Thu, 08 Jan 2004 17:16:14 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rene Teniere CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] TextButton SharedResource Problem References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Rene, I think your labelfont is incorrect. Try putting the full filesystem path to the font file in here. The code that uses the font file tries to determine its full path relative to its location in CWC2, for instance the default value is "../etc/arialbd.ttf" Cheers, Paul Rene Teniere wrote: > Hi all, > > Has anyone figured out why the TextButton SharedResource tag will not > display the text label, and textbuttonborder and image images? If so, > can you let me know? I am including the code for the TextButton > SharedResource: > > Rene > > > > > > > value="/chameleon_sites/test/images/tl_2.png"/> > value="/chameleon_sites/test/images/t_2.png"/> > value="/chameleon_sites/test/images/tr_2.png"/> > value="/chameleon_sites/test/images/r_2.png"/> > value="/chameleon_sites/test/images/br_2.png"/> > value="/chameleon_sites/test/images/b_2.png"/> > value="/chameleon_sites/test/images/bl_2.png"/> > value="/chameleon_sites/test/images/l_2.png"/> > > > > > > > > > > > > Rene J.R. Teniere - BSc., D.GIS > GIS Technician > Nova Scotia Department of Natural Resources > Forestry Division (GIS) - Truro > > Phone: (902) 893-5655 > Mobile: (902) 209-8956 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From bartvde@xs4all.nl Thu Jan 8 17:37:10 2004 Received: from smtpzilla5.xs4all.nl (smtpzilla5.xs4all.nl [194.109.127.141]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i08Mb98o025130 for ; Thu, 8 Jan 2004 17:37:10 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla5.xs4all.nl (8.12.10/8.12.10) with ESMTP id i08ManvU011887; Thu, 8 Jan 2004 23:36:49 +0100 (CET) Date: Thu, 08 Jan 2004 23:36:41 +0100 To: spencer@dmsolutions.ca Subject: Re: [Chameleon] map image not placed correctly Cc: Jean-Francois.Doyon@ccrs.nrcan.gc.ca, chameleon@lists.maptools.org Reply-To: bartvde@xs4all.nl References: <7CDD7B94357FD5119E800002A537C46E0B8B7225@s5-ccr-r1.ccrs.nrcan.gc.ca> <3FFD9AA4.3050303@magma.ca> <3FFDD314.1090709@magma.ca> From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <3FFDD314.1090709@magma.ca> User-Agent: Opera7.22/Win32 M2 build 3221 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Paul, if you look at Intergraph's WMS viewer (http://www.wmsviewer.com/main.asp) you can see they do not have the problem. Although because they do not have a marquee and they have a white background the problem would be less evident in their case, and less easy to notice. So there must be some kind of solution, likely easier than the new solution you are suggesting. Best regards, Bart On Thu, 08 Jan 2004 17:00:52 -0500, Paul Spencer wrote: > Bart, > > I think it is a similar problem in all browsers but due to the > differences in how the pages are laid out by the browser (i.e. the order > that things happen) it is not always apparent. IE seems to be the worst > because it is the most accomodating and will allow the page to finish > loading without knowing the sizes of images because it can move things > around after the page has loaded. > > I am actually thinking of a new solution to this that would embed the > image in the page rather than on a layer. The only reason to have it on > a layer right now is to support the dynamic drag pan of the image. I > think that the drag pan widget can create it's own layer and position it > at the right position with a copy of the map image at the time the tool > is selected. The only downside to this is that the map image is not > currently stored on disk ... and I don't want to trigger two draws of > the map image if I can help it. > > Anyway, food for thought. > > Cheers, > > Paul > > Bart van den Eijnden wrote: > >> Hi Paul, JF, >> >> I am not totally convinced this is solely an IE bug. >> >> I have also seen this happen in Opera. >> >> Also, when putting Mozilla Firebird in fullscreen mode (F11), the same >> thing happens. >> >> Is there already a bugzilla entry for this? >> >> Best regards, >> Bart >> >> On Thu, 08 Jan 2004 13:00:04 -0500, Paul Spencer >> wrote: >> >>> Bart >>> >>> JF has summed it up correctly AFAIK. I don't think there is a quick >>> fix, but you can check the source of your page for IMG tags that don't >>> have a width/height and if those are coming from widgets then let me >>> know and I will try to fix them asap for you. But I don't know if >>> this will actually correct the problem entirely. >>> >>> Cheers, >>> >>> Paul >>> >>> Jean-Francois.Doyon@ccrs.nrcan.gc.ca wrote: >>> >>>> Bart, >>>> >>>> That's an IE bug related to it's rendering engine. The basic problem >>>> is that >>>> IE sometimes positions things before having all necessary information >>>> ... So >>>> it trips over itself and renders elements in the wrong place, because >>>> it >>>> renders/places it TOO early. >>>> >>>> We too have noticed it and will hopefully be working with DM to get >>>> this >>>> fixed. I've run into this same bug in different circumstances >>>> myself, where >>>> images inside tables that don't have a width/height specified in the >>>> IMG >>>> element sometimes get badly positioned. >>>> >>>> In this case the problem is slightly more complicated I believe, Paul >>>> can >>>> explain further :) >>>> >>>> J.F. >>>> >>>> -----Original Message----- >>>> From: chameleon-admin@lists.maptools.org >>>> [mailto:chameleon-admin@lists.maptools.org]On Behalf Of >>>> bartvde@xs4all.nl >>>> Sent: Thursday, January 08, 2004 11:53 AM >>>> To: chameleon@lists.maptools.org >>>> Subject: [Chameleon] map image not placed correctly >>>> >>>> >>>> Hi list, >>>> >>>> does anybody know what is causing the map image to be displaced the >>>> first >>>> time a Chameleon page is loaded? >>>> >>>> The border is placed correctly, but the map image is mostly around 50 >>>> pixels down from the border and a bit to the right. >>>> >>>> After a zoom action, this corrects itself. >>>> >>>> Any quick and dirty solution for this? >>>> >>>> Best regards, >>>> Bart >>>> _______________________________________________ >>>> Chameleon mailing list >>>> Chameleon@lists.maptools.org >>>> http://lists.maptools.org/mailman/listinfo/chameleon >>>> _______________________________________________ >>>> Chameleon mailing list >>>> Chameleon@lists.maptools.org >>>> http://lists.maptools.org/mailman/listinfo/chameleon >>>> >>> >> >> >> > -- From pagameba@magma.ca Thu Jan 8 18:22:38 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i08NMb8o025329 for ; Thu, 8 Jan 2004 18:22:38 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i08NMSPJ001410; Thu, 8 Jan 2004 18:22:28 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i08NMMi4020939; Thu, 8 Jan 2004 18:22:28 -0500 Message-ID: <3FFDE624.3030109@magma.ca> Date: Thu, 08 Jan 2004 18:22:12 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: spencer@dmsolutions.ca, Jean-Francois.Doyon@ccrs.nrcan.gc.ca, chameleon@lists.maptools.org Subject: Re: [Chameleon] map image not placed correctly References: <7CDD7B94357FD5119E800002A537C46E0B8B7225@s5-ccr-r1.ccrs.nrcan.gc.ca> <3FFD9AA4.3050303@magma.ca> <3FFDD314.1090709@magma.ca> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Although if you look at the source of their page, they use an absolutely positioned div. Remember that we are attempting to provide a placeable map image anywhere on the page for any given template, regardless of the HTML that the user uses around the widget. This is somewhat more complex than having a single application. Cheers, Paul Bart van den Eijnden wrote: > Hi Paul, > > if you look at Intergraph's WMS viewer > (http://www.wmsviewer.com/main.asp) you can see they do not have the > problem. > > Although because they do not have a marquee and they have a white > background the problem would be less evident in their case, and less > easy to notice. > > So there must be some kind of solution, likely easier than the new > solution you are suggesting. > > Best regards, > Bart > > On Thu, 08 Jan 2004 17:00:52 -0500, Paul Spencer wrote: > >> Bart, >> >> I think it is a similar problem in all browsers but due to the >> differences in how the pages are laid out by the browser (i.e. the >> order that things happen) it is not always apparent. IE seems to be >> the worst because it is the most accomodating and will allow the page >> to finish loading without knowing the sizes of images because it can >> move things around after the page has loaded. >> >> I am actually thinking of a new solution to this that would embed the >> image in the page rather than on a layer. The only reason to have it >> on a layer right now is to support the dynamic drag pan of the image. >> I think that the drag pan widget can create it's own layer and >> position it at the right position with a copy of the map image at the >> time the tool is selected. The only downside to this is that the map >> image is not currently stored on disk ... and I don't want to trigger >> two draws of the map image if I can help it. >> >> Anyway, food for thought. >> >> Cheers, >> >> Paul >> >> Bart van den Eijnden wrote: >> >>> Hi Paul, JF, >>> >>> I am not totally convinced this is solely an IE bug. >>> >>> I have also seen this happen in Opera. >>> >>> Also, when putting Mozilla Firebird in fullscreen mode (F11), the >>> same thing happens. >>> >>> Is there already a bugzilla entry for this? >>> >>> Best regards, >>> Bart >>> >>> On Thu, 08 Jan 2004 13:00:04 -0500, Paul Spencer >>> wrote: >>> >>>> Bart >>>> >>>> JF has summed it up correctly AFAIK. I don't think there is a quick >>>> fix, but you can check the source of your page for IMG tags that >>>> don't have a width/height and if those are coming from widgets then >>>> let me know and I will try to fix them asap for you. But I don't >>>> know if this will actually correct the problem entirely. >>>> >>>> Cheers, >>>> >>>> Paul >>>> >>>> Jean-Francois.Doyon@ccrs.nrcan.gc.ca wrote: >>>> >>>>> Bart, >>>>> >>>>> That's an IE bug related to it's rendering engine. The basic >>>>> problem is that >>>>> IE sometimes positions things before having all necessary >>>>> information ... So >>>>> it trips over itself and renders elements in the wrong place, >>>>> because it >>>>> renders/places it TOO early. >>>>> >>>>> We too have noticed it and will hopefully be working with DM to get >>>>> this >>>>> fixed. I've run into this same bug in different circumstances >>>>> myself, where >>>>> images inside tables that don't have a width/height specified in >>>>> the IMG >>>>> element sometimes get badly positioned. >>>>> >>>>> In this case the problem is slightly more complicated I believe, >>>>> Paul can >>>>> explain further :) >>>>> >>>>> J.F. >>>>> >>>>> -----Original Message----- >>>>> From: chameleon-admin@lists.maptools.org >>>>> [mailto:chameleon-admin@lists.maptools.org]On Behalf Of >>>>> bartvde@xs4all.nl >>>>> Sent: Thursday, January 08, 2004 11:53 AM >>>>> To: chameleon@lists.maptools.org >>>>> Subject: [Chameleon] map image not placed correctly >>>>> >>>>> >>>>> Hi list, >>>>> >>>>> does anybody know what is causing the map image to be displaced the >>>>> first >>>>> time a Chameleon page is loaded? >>>>> >>>>> The border is placed correctly, but the map image is mostly around 50 >>>>> pixels down from the border and a bit to the right. >>>>> >>>>> After a zoom action, this corrects itself. >>>>> >>>>> Any quick and dirty solution for this? >>>>> >>>>> Best regards, >>>>> Bart >>>>> _______________________________________________ >>>>> Chameleon mailing list >>>>> Chameleon@lists.maptools.org >>>>> http://lists.maptools.org/mailman/listinfo/chameleon >>>>> _______________________________________________ >>>>> Chameleon mailing list >>>>> Chameleon@lists.maptools.org >>>>> http://lists.maptools.org/mailman/listinfo/chameleon >>>>> >>>> >>> >>> >>> >> > > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From bartvde@xs4all.nl Fri Jan 9 05:29:11 2004 Received: from smtpzilla3.xs4all.nl (smtpzilla3.xs4all.nl [194.109.127.139]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i09ATA8o028051 for ; Fri, 9 Jan 2004 05:29:10 -0500 Received: from webmail.xs4all.nl (webmail7.xs4all.nl [194.109.127.31]) by smtpzilla3.xs4all.nl (8.12.10/8.12.10) with SMTP id i09AT4N6042936 for ; Fri, 9 Jan 2004 11:29:09 +0100 (CET) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Fri, 9 Jan 2004 11:29:09 +0100 (CET) Message-ID: <14488.212.238.227.182.1073644149.squirrel@webmail.xs4all.nl> In-Reply-To: <3FFDE624.3030109@magma.ca> References: <7CDD7B94357FD5119E800002A537C46E0B8B7225@s5-ccr-r1.ccrs.nrcan.gc.ca> <3FFD9AA4.3050303@magma.ca> <3FFDD314.1090709@magma.ca> <3FFDE624.3030109@magma.ca> Date: Fri, 9 Jan 2004 11:29:09 +0100 (CET) Subject: Re: [Chameleon] map image not placed correctly From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Paul, you're right about that, didn't think about this one ... But then two optional CWC2 attributes which would determine the absolute positioning (x,y) would solve my issues ... Or more simple, I will position the map with an extra div element around the map widget in my HTML template. I tried this and it will solve my issues. Thanks for the idea. Best regards, Bart Hi Paul, you're right about that, didn't think about this one ... But then two optional CWC2 attributes which would determine the absolute positioning (x,y) would solve my issues ... Or more simple, I will position the map with an extra div element around the map widget in my HTML template. I tried this and it will solve my issues. Thanks for the idea. Best regards, Bart > Although if you look at the source of their page, they use an absolutely > positioned div. Remember that we are attempting to provide a placeable > map image anywhere on the page for any given template, regardless of the > HTML that the user uses around the widget. This is somewhat more > complex than having a single application. > > Cheers, > > Paul > > Bart van den Eijnden wrote: > >> Hi Paul, >> >> if you look at Intergraph's WMS viewer >> (http://www.wmsviewer.com/main.asp) you can see they do not have the >> problem. >> >> Although because they do not have a marquee and they have a white >> background the problem would be less evident in their case, and less >> easy to notice. >> >> So there must be some kind of solution, likely easier than the new >> solution you are suggesting. >> >> Best regards, >> Bart >> >> On Thu, 08 Jan 2004 17:00:52 -0500, Paul Spencer >> wrote: >> >>> Bart, >>> >>> I think it is a similar problem in all browsers but due to the >>> differences in how the pages are laid out by the browser (i.e. the >>> order that things happen) it is not always apparent. IE seems to be >>> the worst because it is the most accomodating and will allow the page >>> to finish loading without knowing the sizes of images because it can >>> move things around after the page has loaded. >>> >>> I am actually thinking of a new solution to this that would embed the >>> image in the page rather than on a layer. The only reason to have it >>> on a layer right now is to support the dynamic drag pan of the image. >>> I think that the drag pan widget can create it's own layer and >>> position it at the right position with a copy of the map image at the >>> time the tool is selected. The only downside to this is that the map >>> image is not currently stored on disk ... and I don't want to trigger >>> two draws of the map image if I can help it. >>> >>> Anyway, food for thought. >>> >>> Cheers, >>> >>> Paul >>> >>> Bart van den Eijnden wrote: >>> >>>> Hi Paul, JF, >>>> >>>> I am not totally convinced this is solely an IE bug. >>>> >>>> I have also seen this happen in Opera. >>>> >>>> Also, when putting Mozilla Firebird in fullscreen mode (F11), the >>>> same thing happens. >>>> >>>> Is there already a bugzilla entry for this? >>>> >>>> Best regards, >>>> Bart >>>> >>>> On Thu, 08 Jan 2004 13:00:04 -0500, Paul Spencer >>>> wrote: >>>> >>>>> Bart >>>>> >>>>> JF has summed it up correctly AFAIK. I don't think there is a quick >>>>> fix, but you can check the source of your page for IMG tags that >>>>> don't have a width/height and if those are coming from widgets then >>>>> let me know and I will try to fix them asap for you. But I don't >>>>> know if this will actually correct the problem entirely. >>>>> >>>>> Cheers, >>>>> >>>>> Paul >>> >>> >>>>> Jean-Francois.Doyon@ccrs.nrcan.gc.ca wrote: >>>>> >>>>>> Bart, >>>>>> >>>>>> That's an IE bug related to it's rendering engine. The basic >>>>>> problem is that >>>>>> IE sometimes positions things before having all necessary >>>>>> information ... So >>>>>> it trips over itself and renders elements in the wrong place, >>>>>> because it >>>>>> renders/places it TOO early. >>>>>> >>>>>> We too have noticed it and will hopefully be working with DM to get >>>>>> this >>>>>> fixed. I've run into this same bug in different circumstances >>>>>> myself, where >>>>>> images inside tables that don't have a width/height specified in >>>>>> the IMG >>>>>> element sometimes get badly positioned. >>>>>> >>>>>> In this case the problem is slightly more complicated I believe, >>>>>> Paul can >>>>>> explain further :) >>>>>> >>>>>> J.F. >>>>>> >>>>>> -----Original Message----- >>>>>> From: chameleon-admin@lists.maptools.org >>>>>> [mailto:chameleon-admin@lists.maptools.org]On Behalf Of >>>>>> bartvde@xs4all.nl >>>>>> Sent: Thursday, January 08, 2004 11:53 AM >>>>>> To: chameleon@lists.maptools.org >>>>>> Subject: [Chameleon] map image not placed correctly >>>>>> >>>>>> >>>>>> Hi list, >>>>>> >>>>>> does anybody know what is causing the map image to be displaced the >>>>>> first >>>>>> time a Chameleon page is loaded? >>>>>> >>>>>> The border is placed correctly, but the map image is mostly around >>>>>> 50 >>>>>> pixels down from the border and a bit to the right. >>>>>> >>>>>> After a zoom action, this corrects itself. >>>>>> >>>>>> Any quick and dirty solution for this? >>>>>> >>>>>> Best regards, >>>>>> Bart >>>>>> _______________________________________________ >>>>>> Chameleon mailing list >>>>>> Chameleon@lists.maptools.org >>>>>> http://lists.maptools.org/mailman/listinfo/chameleon >>>>>> _______________________________________________ >>>>>> Chameleon mailing list >>>>>> Chameleon@lists.maptools.org >>>>>> http://lists.maptools.org/mailman/listinfo/chameleon >>>>>> >>>>> >>>> >>>> >>>> >>> >> >> >> > > -- > ----------------------------------------------------------------- > |Paul Spencer spencer@dmsolutions.ca | > |-----------------------------------------------------------------| > |Applications & Software Development | > |DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > From TENIERER@gov.ns.ca Fri Jan 9 08:37:00 2004 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i09Dav8o028657 for ; Fri, 9 Jan 2004 08:36:58 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Fri, 9 Jan 2004 09:34:13 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Fri, 9 Jan 2004 09:34:13 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Fri, 09 Jan 2004 09:34:07 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Fri, 09 Jan 2004 09:33:51 -0400 From: "Rene Teniere " To: , Cc: Subject: Re: [Chameleon] TextButton SharedResource Problem Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Guinevere: 2.0.13 ; Province of Nova Sco Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hey Paul, Sorry, but that didn't work. Like I say, it's weird that only the Cancel buttons in the popup menus work correctly. At one point they just started to work!?! All of the other buttons in the popup menus only have the image working, no border or text, while the others in the main page only have the size and background colour working. Really bloody strange. Any other ideas up your sleeve? Rene >>> pagameba@magma.ca 2004-01-08 6:16:14 PM >>> Rene, I think your labelfont is incorrect. Try putting the full filesystem path to the font file in here. The code that uses the font file tries to determine its full path relative to its location in CWC2, for instance the default value is "../etc/arialbd.ttf" Cheers, Paul Rene Teniere wrote: > Hi all, > > Has anyone figured out why the TextButton SharedResource tag will not > display the text label, and textbuttonborder and image images? If so, > can you let me know? I am including the code for the TextButton > SharedResource: > > Rene > > > > > > > value="/chameleon_sites/test/images/tl_2.png"/> > value="/chameleon_sites/test/images/t_2.png"/> > value="/chameleon_sites/test/images/tr_2.png"/> > value="/chameleon_sites/test/images/r_2.png"/> > value="/chameleon_sites/test/images/br_2.png"/> > value="/chameleon_sites/test/images/b_2.png"/> > value="/chameleon_sites/test/images/bl_2.png"/> > value="/chameleon_sites/test/images/l_2.png"/> > > > > > > > > > > > > Rene J.R. Teniere - BSc., D.GIS > GIS Technician > Nova Scotia Department of Natural Resources > Forestry Division (GIS) - Truro > > Phone: (902) 893-5655 > Mobile: (902) 209-8956 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From pagameba@magma.ca Fri Jan 9 09:00:21 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i09E0K8o028732 for ; Fri, 9 Jan 2004 09:00:20 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i09E0IG4021196; Fri, 9 Jan 2004 09:00:18 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i09E09Nr023959; Fri, 9 Jan 2004 09:00:19 -0500 Message-ID: <3FFEB3DE.4010801@magma.ca> Date: Fri, 09 Jan 2004 08:59:58 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rene Teniere CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] TextButton SharedResource Problem References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Rene, you have the value of usetextbuttoncache set to true, which means that the buttons will never be regenerated. Try setting this to false. You can also try manually deleting all the button images. If you are using MS4W then this directory would be /ms4w/tmp/ms_tmp/buttons/ - delete everything in it. If you are not, then you would have set a value for the button cache path in the cwc2.xml file Cheers, Paul Rene Teniere wrote: > Hey Paul, > > Sorry, but that didn't work. Like I say, it's weird that only the > Cancel buttons in the popup menus work correctly. At one point they just > started to work!?! All of the other buttons in the popup menus only have > the image working, no border or text, while the others in the main page > only have the size and background colour working. Really bloody > strange. Any other ideas up your sleeve? > > Rene > > >>>>pagameba@magma.ca 2004-01-08 6:16:14 PM >>> > > Rene, > > I think your labelfont is incorrect. Try putting the full filesystem > path to the font file in here. > > The code that uses the font file tries to determine its full path > relative to its location in CWC2, for instance the default value is > "../etc/arialbd.ttf" > > Cheers, > > Paul > > Rene Teniere wrote: > > >>Hi all, >> >>Has anyone figured out why the TextButton SharedResource tag will > > not > >>display the text label, and textbuttonborder and image images? If > > so, > >>can you let me know? I am including the code for the TextButton >>SharedResource: >> >>Rene >> >> >> >> >> >> >> >value="/chameleon_sites/test/images/tl_2.png"/> >> >value="/chameleon_sites/test/images/t_2.png"/> >> >value="/chameleon_sites/test/images/tr_2.png"/> >> >value="/chameleon_sites/test/images/r_2.png"/> >> >value="/chameleon_sites/test/images/br_2.png"/> >> >value="/chameleon_sites/test/images/b_2.png"/> >> >value="/chameleon_sites/test/images/bl_2.png"/> >> >value="/chameleon_sites/test/images/l_2.png"/> >> >> >> >> >> >> >> >> >> >> >> >>Rene J.R. Teniere - BSc., D.GIS >>GIS Technician >>Nova Scotia Department of Natural Resources >>Forestry Division (GIS) - Truro >> >>Phone: (902) 893-5655 >>Mobile: (902) 209-8956 >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From TENIERER@gov.ns.ca Fri Jan 9 09:38:58 2004 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i09Ecv8o028850 for ; Fri, 9 Jan 2004 09:38:57 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Fri, 9 Jan 2004 10:38:55 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Fri, 9 Jan 2004 10:38:49 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Fri, 09 Jan 2004 10:38:38 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Fri, 09 Jan 2004 10:38:25 -0400 From: "Rene Teniere " To: Cc: Subject: Re: [Chameleon] TextButton SharedResource Problem Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Guinevere: 2.0.13 ; Province of Nova Sco Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hey Paul, I tried it, deleted the temporary internet files and the temp button images. When I set the cache value to false and re-tried the site, it would not display saying site cannot be found. When I set it back to true, it worked again, however, the buttons still turned out the same. What's with this? Rene >>> pagameba@magma.ca 2004-01-09 9:59:58 AM >>> Rene, you have the value of usetextbuttoncache set to true, which means that the buttons will never be regenerated. Try setting this to false. You can also try manually deleting all the button images. If you are using MS4W then this directory would be /ms4w/tmp/ms_tmp/buttons/ - delete everything in it. If you are not, then you would have set a value for the button cache path in the cwc2.xml file Cheers, Paul Rene Teniere wrote: > Hey Paul, > > Sorry, but that didn't work. Like I say, it's weird that only the > Cancel buttons in the popup menus work correctly. At one point they just > started to work!?! All of the other buttons in the popup menus only have > the image working, no border or text, while the others in the main page > only have the size and background colour working. Really bloody > strange. Any other ideas up your sleeve? > > Rene > > >>>>pagameba@magma.ca 2004-01-08 6:16:14 PM >>> > > Rene, > > I think your labelfont is incorrect. Try putting the full filesystem > path to the font file in here. > > The code that uses the font file tries to determine its full path > relative to its location in CWC2, for instance the default value is > "../etc/arialbd.ttf" > > Cheers, > > Paul > > Rene Teniere wrote: > > >>Hi all, >> >>Has anyone figured out why the TextButton SharedResource tag will > > not > >>display the text label, and textbuttonborder and image images? If > > so, > >>can you let me know? I am including the code for the TextButton >>SharedResource: >> >>Rene >> >> >> >> >> >> >> >value="/chameleon_sites/test/images/tl_2.png"/> >> >value="/chameleon_sites/test/images/t_2.png"/> >> >value="/chameleon_sites/test/images/tr_2.png"/> >> >value="/chameleon_sites/test/images/r_2.png"/> >> >value="/chameleon_sites/test/images/br_2.png"/> >> >value="/chameleon_sites/test/images/b_2.png"/> >> >value="/chameleon_sites/test/images/bl_2.png"/> >> >value="/chameleon_sites/test/images/l_2.png"/> >> >> >> >> >> >> >> >> >> >> >> >>Rene J.R. Teniere - BSc., D.GIS >>GIS Technician >>Nova Scotia Department of Natural Resources >>Forestry Division (GIS) - Truro >> >>Phone: (902) 893-5655 >>Mobile: (902) 209-8956 >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From TENIERER@gov.ns.ca Fri Jan 9 09:53:34 2004 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i09ErX8o028908 for ; Fri, 9 Jan 2004 09:53:34 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Fri, 9 Jan 2004 10:53:32 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Fri, 9 Jan 2004 10:53:32 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Fri, 09 Jan 2004 10:53:21 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Fri, 09 Jan 2004 10:53:09 -0400 From: "Rene Teniere " To: , Cc: Subject: Re: [Chameleon] TextButton SharedResource Problem Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Paul, I've been fooling around with this and I believe that we are very close to figuring this out. I decided to change the image SRC's to absolute paths, then delete all temp buttons and set the cache to false. When I did this, it would not load the site, however, when I set the cache back to true, the site came back up with the image in the button loaded. This seems to work, but I'll have to fool with it some more. Hopefully you'll have some ideas. Rene >>> pagameba@magma.ca 2004-01-09 9:59:58 AM >>> Rene, you have the value of usetextbuttoncache set to true, which means that the buttons will never be regenerated. Try setting this to false. You can also try manually deleting all the button images. If you are using MS4W then this directory would be /ms4w/tmp/ms_tmp/buttons/ - delete everything in it. If you are not, then you would have set a value for the button cache path in the cwc2.xml file Cheers, Paul Rene Teniere wrote: > Hey Paul, > > Sorry, but that didn't work. Like I say, it's weird that only the > Cancel buttons in the popup menus work correctly. At one point they just > started to work!?! All of the other buttons in the popup menus only have > the image working, no border or text, while the others in the main page > only have the size and background colour working. Really bloody > strange. Any other ideas up your sleeve? > > Rene > > >>>>pagameba@magma.ca 2004-01-08 6:16:14 PM >>> > > Rene, > > I think your labelfont is incorrect. Try putting the full filesystem > path to the font file in here. > > The code that uses the font file tries to determine its full path > relative to its location in CWC2, for instance the default value is > "../etc/arialbd.ttf" > > Cheers, > > Paul > > Rene Teniere wrote: > > >>Hi all, >> >>Has anyone figured out why the TextButton SharedResource tag will > > not > >>display the text label, and textbuttonborder and image images? If > > so, > >>can you let me know? I am including the code for the TextButton >>SharedResource: >> >>Rene >> >> >> >> >> >> >> >value="/chameleon_sites/test/images/tl_2.png"/> >> >value="/chameleon_sites/test/images/t_2.png"/> >> >value="/chameleon_sites/test/images/tr_2.png"/> >> >value="/chameleon_sites/test/images/r_2.png"/> >> >value="/chameleon_sites/test/images/br_2.png"/> >> >value="/chameleon_sites/test/images/b_2.png"/> >> >value="/chameleon_sites/test/images/bl_2.png"/> >> >value="/chameleon_sites/test/images/l_2.png"/> >> >> >> >> >> >> >> >> >> >> >> >>Rene J.R. Teniere - BSc., D.GIS >>GIS Technician >>Nova Scotia Department of Natural Resources >>Forestry Division (GIS) - Truro >> >>Phone: (902) 893-5655 >>Mobile: (902) 209-8956 >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From TENIERER@gov.ns.ca Fri Jan 9 10:04:16 2004 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i09F4F8o028985 for ; Fri, 9 Jan 2004 10:04:15 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Fri, 9 Jan 2004 11:04:13 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Fri, 9 Jan 2004 11:04:13 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Fri, 09 Jan 2004 11:04:11 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Fri, 09 Jan 2004 11:03:56 -0400 From: "Rene Teniere " To: , , Cc: Subject: Re: [Chameleon] TextButton SharedResource Problem Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Ok all, Finally got it working. All of the paths had to be absolute for the images and font files. I think one of my font files were corrupted, because I reinstalled them in the ETC directory, and it worked fine. Also, setting the usetextbuttoncache value to false works from the start as long as everything else is set correctly (i.e. paths). Thanks to Paul who guided me through this, I appreciate it. Later, Rene >>> "Rene Teniere " 2004-01-09 10:53:09 AM >>> Paul, I've been fooling around with this and I believe that we are very close to figuring this out. I decided to change the image SRC's to absolute paths, then delete all temp buttons and set the cache to false. When I did this, it would not load the site, however, when I set the cache back to true, the site came back up with the image in the button loaded. This seems to work, but I'll have to fool with it some more. Hopefully you'll have some ideas. Rene >>> pagameba@magma.ca 2004-01-09 9:59:58 AM >>> Rene, you have the value of usetextbuttoncache set to true, which means that the buttons will never be regenerated. Try setting this to false. You can also try manually deleting all the button images. If you are using MS4W then this directory would be /ms4w/tmp/ms_tmp/buttons/ - delete everything in it. If you are not, then you would have set a value for the button cache path in the cwc2.xml file Cheers, Paul Rene Teniere wrote: > Hey Paul, > > Sorry, but that didn't work. Like I say, it's weird that only the > Cancel buttons in the popup menus work correctly. At one point they just > started to work!?! All of the other buttons in the popup menus only have > the image working, no border or text, while the others in the main page > only have the size and background colour working. Really bloody > strange. Any other ideas up your sleeve? > > Rene > > >>>>pagameba@magma.ca 2004-01-08 6:16:14 PM >>> > > Rene, > > I think your labelfont is incorrect. Try putting the full filesystem > path to the font file in here. > > The code that uses the font file tries to determine its full path > relative to its location in CWC2, for instance the default value is > "../etc/arialbd.ttf" > > Cheers, > > Paul > > Rene Teniere wrote: > > >>Hi all, >> >>Has anyone figured out why the TextButton SharedResource tag will > > not > >>display the text label, and textbuttonborder and image images? If > > so, > >>can you let me know? I am including the code for the TextButton >>SharedResource: >> >>Rene >> >> >> >> >> >> >> >value="/chameleon_sites/test/images/tl_2.png"/> >> >value="/chameleon_sites/test/images/t_2.png"/> >> >value="/chameleon_sites/test/images/tr_2.png"/> >> >value="/chameleon_sites/test/images/r_2.png"/> >> >value="/chameleon_sites/test/images/br_2.png"/> >> >value="/chameleon_sites/test/images/b_2.png"/> >> >value="/chameleon_sites/test/images/bl_2.png"/> >> >value="/chameleon_sites/test/images/l_2.png"/> >> >> >> >> >> >> >> >> >> >> >> >>Rene J.R. Teniere - BSc., D.GIS >>GIS Technician >>Nova Scotia Department of Natural Resources >>Forestry Division (GIS) - Truro >> >>Phone: (902) 893-5655 >>Mobile: (902) 209-8956 >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From Susan.Holland-Hibbert@ec.gc.ca Fri Jan 9 11:51:01 2004 Received: from ecnwri1.ontario.int.ec.gc.ca (ecolink.cciw.ca [192.75.68.254]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i09Gp08o029835 for ; Fri, 9 Jan 2004 11:51:00 -0500 Received: by ECNWRI1.ontario.int.ec.gc.ca with Internet Mail Service (5.5.2657.72) id ; Fri, 9 Jan 2004 11:50:52 -0500 Message-ID: <2576812186CDD411BF1500508B6DCE950611689D@ECNWRI1.ontario.int.ec.gc.ca> From: "Holland-Hibbert,Susan [Burlington]" To: "'chameleon@lists.maptools.org'" Cc: "Astolfo,Rebecca [Burlington]" , "Kralidis,Tom [Burlington]" , "Hall,Sarah [Dartmouth]" , "Alexander,Ryan [Dartmouth]" Date: Fri, 9 Jan 2004 11:50:52 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C3D6D0.BDE8FB50" Subject: [Chameleon] security issue with Layer Manager widget Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C3D6D0.BDE8FB50 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, =20 Our IT group has recently installed Chameleon on a Windows based system = and have discovered a bit of a security risk in the Layer Manager widget. = We have installed the following components on a Windows Server 2000 and = Windows XP machine: =20 IIS 5.1 PHP 4.3.4 Mapscript 4.0.1 Mapserver 4.0.1 Chameleon 1.0.4 =20 When Chameleon is installed on XP, the Manage Servers button inside the Layer Manager widget (labelled "Manage Layers" on the CWC2 demo = application) returns the following error when a URL is entered to connect to a WMS server: =20 Warning: exec(): Unable to fork [C:\MapServerTools\CWC2\htdocs\common\wmsparse\win32\wmsparse.exe... =20 The error is reported on the PHP site as a bug (http://bugs.php.net/bug.php?id=3D14897 = ) . Basically, PHP (with IIS) runs using the web account (IWAM_) and the web account needs execute access on the = cmd.exe file, which is located (on a standard installation) in the c:\windows\system32 subdirectory. XP automatically locks down this = file and in order to get the Manager Servers button to work, I had to give IWAM_ execute access on the file, not something my web = server administrators like. The default security settings for Windows 2000 = server allow Everyone to execute this file which is a security risk. Just as = a note: the default settings for Windows NT Server locked down the file. =20 Our temporary solution is to not use the Layer Manager widget, but we anticipate building some applications in the future where our client = would like to have the functionality of the Layer Manager. Has anyone else experienced this problem and if so, are there any solutions out there? = =20 Thanks, Sue =20 _____________________________________________________ =20 Susan Holland-Hibbert=20 GIS Specialist / Sp=E9cialiste en SIG Information Technology Division / Division de la technologie de l'information Ontario Region / R=E9gion de l'Ontario Environment Canada / Environnement Canada 867 Lakeshore Rd. / 867, rue Lakeshore=20 Burlington, ON L7R 4A6 =20 Tel/T=E9l: (905) 336-6449 Fax/T=E9l=E9copier: (905) 336-4906 E-mail/Courriel: susan.holland-hibbert@ec.gc.ca =20 ------_=_NextPart_001_01C3D6D0.BDE8FB50 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi all,

 

Our IT group has recently installed Chameleon on a Windows based system and have discovered a bit of a = security risk in the Layer Manager widget.=A0 We have installed the following = components on a Windows Server 2000 and Windows XP machine:

 

IIS 5.1

PHP 4.3.4

Mapscript 4.0.1

Mapserver 4.0.1

Chameleon 1.0.4

 

When Chameleon is installed on XP, = the Manage Servers button inside the Layer Manager widget (labelled "Manage = Layers" on the CWC2 demo application) returns the following error when a URL is = entered to connect to a WMS server:

 

Warning: exec(): Unable to fork [C:\MapServerTools\CWC2\htdocs\common\wmsparse\win32\wmsparse.exe...

 

The error is reported on the PHP = site as a bug (http://bugs.php.= net/bug.php?id=3D14897) .=A0 Basically, PHP (with IIS) runs using the web account = (IWAM_<machinename>) and the web account needs execute access on the cmd.exe file, which is = located (on a standard installation) in the c:\windows\system32 = subdirectory.=A0 XP automatically locks down this file and in order to get the Manager = Servers button to work, I had to give IWAM_<machinename> execute access = on the file, not something my web server administrators like.=A0=A0 The = default security settings for Windows 2000 server allow Everyone to execute this file = which is a security risk.=A0 Just as a note: the default settings for Windows NT = Server locked down the file.

 

Our temporary solution is to not = use the Layer Manager widget, but we anticipate building some applications in = the future where our client would like to have the functionality of the = Layer Manager.=A0 Has anyone else experienced this problem and if so, are = there any solutions out there?=A0

 

Thanks, Sue

 

_____________________________________________________=

 

Susan = Holland-Hibbert 

GIS Specialist / Sp=E9cialiste en = SIG

Information Technology Division / = Division de la technologie de l'information

Ontario Region / R=E9gion de = l'Ontario

Environment = Canada / Environnement Canada

867 Lakeshore = Rd. / 867, rue Lakeshore

Burlington, = ON =A0= L7R = 4A6

 

Tel/T=E9l: (905) 336-6449=A0=A0 = Fax/T=E9l=E9copier: (905) 336-4906

E-mail/Courriel:=A0 susan.holland-hibbert@ec.gc.ca

 

------_=_NextPart_001_01C3D6D0.BDE8FB50-- From thowlett@whistlermuseum.org Fri Jan 9 13:08:05 2004 Received: from smtp1000.radiant.net (smtp1000.radiant.net [216.21.149.209]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i09I848o030139 for ; Fri, 9 Jan 2004 13:08:05 -0500 Message-Id: <200401091808.i09I848o030139@www.maptools.org> Received: (qmail 6245 invoked from network); 9 Jan 2004 17:55:47 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp1000.radiant.net with SMTP; 9 Jan 2004 17:55:47 -0000 Reply-To: From: "Tracy Howlett" To: Cc: Subject: FW: [Chameleon] Hidden Text Date: Fri, 9 Jan 2004 10:07:53 -0800 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000B_01C3D698.721CD0D0" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPSNkXxeGfS6r2GSlOx82C3xoMdCAAB91/AASdKUnA= Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_000B_01C3D698.721CD0D0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I was wondering why I hadn't heard anymore about this but I guess it is because it ended up being a private discussion. Anyone else come across this problem? _____ From: Tracy Howlett [mailto:thowlett@whistlermuseum.org] Sent: Saturday, January 03, 2004 1:13 PM To: 'jfournier@dmsolutions.ca' Subject: RE: [Chameleon] Hidden Text Hi Jason, I tried removing those breaks before your response so I can tell you that it doesn't work. Neither did your new file. I only installed Chameleon about 3 weeks ago so it should have been a fairly recent build. I noticed that someone else asked the same question a while back and I couldn't find a response. Maybe I'll search back and send him a note to see if he got it fixed. Tracy _____ From: Jason Fournier [mailto:jfournier@dmsolutions.ca] Sent: Saturday, January 03, 2004 12:19 PM To: thowlett@whistlermuseum.org Subject: Re: [Chameleon] Hidden Text Tracy, If you look in the source of the file you attached (ie, ContextSelector.widget.php) you'll find a function called 'GetHTMLHiddenVariables()' beginning on line 172. Inside this function are all the hidden variables required for this widget. You'll notice that there are
's included at the end of each hidden variable declaration. I'm not sure why they are there but you can safely remove them - they are the cause of the white space. The lines containing the
's to remove are as follows: 180 184 188 192 225 230 238 I have also attached the file you sent modified with these changes. To test this file please make a backup of /chameleon/htdocs/widgets/ContextSelector.widget.php and place the attached file in that directory. Let me know if that works. If it does could you please post this message to the entire list ... others may be encountering this problem. Please note that the current build of Chameleon contains this fix. Thanks! Jay Tracy Howlett wrote: Jason, If I am using the contextselector widget it is not consciously. I just took the Chameleon sample and built on it. What is the ContextSelector widget for?? I've checked the source code and it does seem that 22 lines of 'hidden' text are being added including references to the contextselector variables. Here is the link to my application. http://www.chirpwhistler.info/mapping/CHiRP.phtml And here is my ContextSelector.Widget file. Thanks! Tracy -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Jason Fournier Sent: Friday, January 02, 2004 11:16 AM To: thowlett@whistlermuseum.org Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Hidden Text Hi Tracy, Are you, by chance, using the ContextSelector widget? I did a little bit of research and found that, in some cases, the ContextSelector outputted
's after each Hidden Variable it wrote out to the page. Please view the source of your page and look for the Hidden Variables (they should be just after the tag). If this is in fact the case could you please email me the ContextSelector.widget.php file from your /chameleon/htdocs/widgets/ directory? Do you have a publicly available URL of your application? I could take a look at the output as well. Thanks, Jason Tracy Howlett wrote: Hi, I've seen this question posted a couple of times but haven't found an answer yet! I've got my application working fine now but when the page loads there is a bunch of space at the top of the page. I am pretty new to html programming but I figure this is because of all the hidden text? Is there a way to make the application load at the top of the page and leave the hidden stuff at the bottom? I've tried moving the code but that doesn't seem to make any difference. Cheers and Happy New Year, Tracy _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon -- -- |Jason Fournier |DM Solutions Group |Application Developer |Ottawa, ON |613.565.5056 x 18 |jfournier@dmsolutions.ca -- ------=_NextPart_000_000B_01C3D698.721CD0D0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I was wondering why I = hadn’t heard anymore about this but I guess it is because it ended up being a private discussion.  Anyone else come across this = problem?

 


From: Tracy Howlett [mailto:thowlett@whistlermuseum.org]
Sent: Saturday, January = 03, 2004 1:13 PM
To: 'jfournier@dmsolutions.ca'
Subject: RE: [Chameleon] = Hidden Text

 

 

Hi Jason,

 

I tried removing those breaks before your = response so I can tell you that it doesn’t work.  Neither did your new = file.

 

I only installed Chameleon about 3 weeks ago = so it should have been a fairly recent build.  I noticed that someone = else asked the same question a while back and I couldn’t find a = response.  Maybe I’ll search back and send him a note to see if he got it = fixed.

 

Tracy

 


From: Jason Fournier [mailto:jfournier@dmsolutions.ca]
Sent: Saturday, January = 03, 2004 12:19 PM
To: thowlett@whistlermuseum.org
Subject: Re: [Chameleon] = Hidden Text

 

Tracy,
If you look in the source of the file you attached (ie, ContextSelector.widget.php) you'll find a function called 'GetHTMLHiddenVariables()' beginning on line 172.  Inside this = function are all the hidden variables required for this widget.  You'll notice = that there are <BR>'s included at the end of each hidden variable declaration.  I'm not sure why they are there but you can safely = remove them - they are the cause of the white space.  The lines containing = the <BR>'s to remove are as follows:

180
184
188
192
225
230
238

I have also attached the file you sent modified with these = changes.  To test this file please make a backup of  /chameleon/htdocs/widgets/ContextSelector.widget.php and place the = attached file in that directory.

Let me know if that works.  If it does could you please post this = message to the entire list ... others may be encountering this problem.

Please note that the current build of Chameleon contains this fix.

Thanks!
Jay




Tracy Howlett wrote:

Jason, =
 
If I am using the contextselector widget it =
is not consciously.  I just =
took
the Chameleon sample and built on it.  =
What is the ContextSelector =
widget
for??  I've checked the source code and =
it does seem that 22 lines of
'hidden' text are being added including =
references to the =
contextselector
variables.
=
 
Here is the link to my =
application.
http://www.chi=
rpwhistler.info/mapping/CHiRP.phtml
 
And here is my ContextSelector.Widget =
file.
 
Thanks!
 
Tracy
 
-----Original =
Message-----
From: chameleon-admin@lists.=
maptools.org
[mailto:chameleon-admin=
@lists.maptools.org] On Behalf Of Jason =
Fournier
Sent: Friday, January 02, 2004 11:16 =
AM
To: thowlett@whistlermuseum.org
Cc: chameleon@lists.maptools.org=
Subject: Re: [Chameleon] Hidden =
Text
 
Hi =
Tracy,
 
Are you, by chance, using the ContextSelector =
widget?  I did a little 
bit of research and found that, in some =
cases, the ContextSelector 
outputted <br>'s after each Hidden =
Variable it wrote out to the page.  =
Please view the source of your page and look =
for the Hidden Variables 
(they should be just after the <BODY> =
tag).  If this is in fact the case =
could you please email me the =
ContextSelector.widget.php file from your =
/chameleon/htdocs/widgets/ =
directory?
 
Do you have a publicly available URL of your =
application?  I could take =
a look at the output as =
well.
 
Thanks,
Jason
 
 
 
Tracy Howlett =
wrote:
 
  
Hi,
 
I've seen this question posted a couple of =
times but haven't found an
    =
answer
  
yet!  I've got my application working =
fine now but when the page =
loads
    =
there
  
is a bunch of space at the top of the =
page.  I am pretty new to =
html
programming but I figure this is because of =
all the hidden text?  Is =
there
    =
a
  
way to make the application load at the top =
of the page and leave the
    =
hidden
  
stuff at the bottom?  I've tried moving =
the code but that doesn't seem =
to
make any =
difference.
 
Cheers and Happy New =
Year,
 
Tracy
 
 
______________________________________________=
_
Chameleon mailing =
list
Chameleon@lists.maptools.org=
http://list=
s.maptools.org/mailman/listinfo/chameleon
 
 
 
    =
 
  

 

-- 
 --
 |Jason =
Fournier
 |DM Solutions =
Group
 |Application =
Developer
 |Ottawa, =
ON
 |613.565.5056 x =
18
 |jfournier@dmsolutions.ca
 --
------=_NextPart_000_000B_01C3D698.721CD0D0-- From pagameba@magma.ca Fri Jan 9 15:15:29 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i09KFT8o030680 for ; Fri, 9 Jan 2004 15:15:29 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i09KFSTa015349; Fri, 9 Jan 2004 15:15:28 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i09KFM64025953; Fri, 9 Jan 2004 15:15:28 -0500 Message-ID: <3FFF0BD0.7060804@magma.ca> Date: Fri, 09 Jan 2004 15:15:12 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: thowlett@whistlermuseum.org CC: spencer@dmsolutions.ca, chameleon@lists.maptools.org Subject: Re: FW: [Chameleon] Hidden Text References: <200401091808.i09I85G31142@xcalibur.dmsolutions.ca> In-Reply-To: <200401091808.i09I85G31142@xcalibur.dmsolutions.ca> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Tracy, I am sure that there are a bunch more things in there that could output text. We'll try to clean them up for the next release. Cheers, Paul Tracy Howlett wrote: > I was wondering why I hadn’t heard anymore about this but I guess it is > because it ended up being a private discussion. Anyone else come across > this problem? > > > > ------------------------------------------------------------------------ > > *From:* Tracy Howlett [mailto:thowlett@whistlermuseum.org] > *Sent:* Saturday, January 03, 2004 1:13 PM > *To:* 'jfournier@dmsolutions.ca' > *Subject:* RE: [Chameleon] Hidden Text > > > > > > Hi Jason, > > > > I tried removing those breaks before your response so I can tell you > that it doesn’t work. Neither did your new file. > > > > I only installed Chameleon about 3 weeks ago so it should have been a > fairly recent build. I noticed that someone else asked the same > question a while back and I couldn’t find a response. Maybe I’ll search > back and send him a note to see if he got it fixed. > > > > Tracy > > > > ------------------------------------------------------------------------ > > *From:* Jason Fournier [mailto:jfournier@dmsolutions.ca] > *Sent:* Saturday, January 03, 2004 12:19 PM > *To:* thowlett@whistlermuseum.org > *Subject:* Re: [Chameleon] Hidden Text > > > > Tracy, > > If you look in the source of the file you attached (ie, > ContextSelector.widget.php) you'll find a function called > 'GetHTMLHiddenVariables()' beginning on line 172. Inside this function > are all the hidden variables required for this widget. You'll notice > that there are
's included at the end of each hidden variable > declaration. I'm not sure why they are there but you can safely remove > them - they are the cause of the white space. The lines containing the >
's to remove are as follows: > > 180 > 184 > 188 > 192 > 225 > 230 > 238 > > I have also attached the file you sent modified with these changes. To > test this file please make a backup of > /chameleon/htdocs/widgets/ContextSelector.widget.php and place the > attached file in that directory. > > Let me know if that works. If it does could you please post this > message to the entire list ... others may be encountering this problem. > > Please note that the current build of Chameleon contains this fix. > > Thanks! > Jay > > > > > Tracy Howlett wrote: > > Jason, > > > > If I am using the contextselector widget it is not consciously. I just took > > the Chameleon sample and built on it. What is the ContextSelector widget > > for?? I've checked the source code and it does seem that 22 lines of > > 'hidden' text are being added including references to the contextselector > > variables. > > > > Here is the link to my application. > > http://www.chirpwhistler.info/mapping/CHiRP.phtml > > > > And here is my ContextSelector.Widget file. > > > > Thanks! > > > > Tracy > > > > -----Original Message----- > > From: chameleon-admin@lists.maptools.org > > [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Jason Fournier > > Sent: Friday, January 02, 2004 11:16 AM > > To: thowlett@whistlermuseum.org > > Cc: chameleon@lists.maptools.org > > Subject: Re: [Chameleon] Hidden Text > > > > Hi Tracy, > > > > Are you, by chance, using the ContextSelector widget? I did a little > > bit of research and found that, in some cases, the ContextSelector > > outputted
's after each Hidden Variable it wrote out to the page. > > Please view the source of your page and look for the Hidden Variables > > (they should be just after the tag). If this is in fact the case > > could you please email me the ContextSelector.widget.php file from your > > /chameleon/htdocs/widgets/ directory? > > > > Do you have a publicly available URL of your application? I could take > > a look at the output as well. > > > > Thanks, > > Jason > > > > > > > > Tracy Howlett wrote: > > > > > >>Hi, >> >> >> >>I've seen this question posted a couple of times but haven't found an >> >> > > answer > > > >>yet! I've got my application working fine now but when the page loads >> >> > > there > > > >>is a bunch of space at the top of the page. I am pretty new to html >> >>programming but I figure this is because of all the hidden text? Is there >> >> > > a > > > >>way to make the application load at the top of the page and leave the >> >> > > hidden > > > >>stuff at the bottom? I've tried moving the code but that doesn't seem to >> >>make any difference. >> >> >> >>Cheers and Happy New Year, >> >> >> >>Tracy >> >> >> >> >> >>_______________________________________________ >> >>Chameleon mailing list >> >>Chameleon@lists.maptools.org >> >>http://lists.maptools.org/mailman/listinfo/chameleon >> >> >> >> >> >> >> >> > > > > > > > > -- > > -- > > |Jason Fournier > > |DM Solutions Group > > |Application Developer > > |Ottawa, ON > > |613.565.5056 x 18 > > |jfournier@dmsolutions.ca > > -- > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From matt.frost@mma1.com Fri Jan 9 16:46:46 2004 Received: from mail.mma1.com (mail.mma1.com [65.168.117.135]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i09Lkj8o030992 for ; Fri, 9 Jan 2004 16:46:45 -0500 Received: from mattf (porky.mma1.com [65.168.117.131]) by mail.mma1.com (Postfix on SuSE Linux eMail Server 3.1) with ESMTP id 753E39F0178 for ; Fri, 9 Jan 2004 16:53:51 -0500 (EST) Message-ID: <011101c3d6fa$12950530$63c809c0@mattf> From: "Matt Frost" To: References: <20040109201601.30684.40669.Mailman@www.maptools.org> Date: Fri, 9 Jan 2004 16:46:43 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: [Chameleon] Control structure in XMLThemeLegend template Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I'm trying to develop a template for the XMLThemeLegend that uses an unordered list rather than a table for the legend items, but after all the changes I've made, I'm afraid I've botched the template's loop logic. Could someone explain the [repeat] and [end] sequence? Thanks, Matt Frost ----- Original Message ----- From: To: Sent: Friday, January 09, 2004 3:16 PM Subject: Chameleon digest, Vol 1 #103 - 2 msgs > Send Chameleon mailing list submissions to > chameleon@lists.maptools.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.maptools.org/mailman/listinfo/chameleon > or, via email, send a message with subject or body 'help' to > chameleon-request@lists.maptools.org > > You can reach the person managing the list at > chameleon-admin@lists.maptools.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Chameleon digest..." > > > Today's Topics: > > 1. FW: [Chameleon] Hidden Text (Tracy Howlett) > 2. Re: FW: [Chameleon] Hidden Text (Paul Spencer) > > --__--__-- > > Message: 1 > Reply-To: > From: "Tracy Howlett" > To: > Cc: > Subject: FW: [Chameleon] Hidden Text > Date: Fri, 9 Jan 2004 10:07:53 -0800 > Organization: Whistler Museum and Archives > > This is a multi-part message in MIME format. > > ------=_NextPart_000_000B_01C3D698.721CD0D0 > Content-Type: text/plain; > charset="us-ascii" > Content-Transfer-Encoding: 7bit > > I was wondering why I hadn't heard anymore about this but I guess it is > because it ended up being a private discussion. Anyone else come across > this problem? > > > > _____ > > From: Tracy Howlett [mailto:thowlett@whistlermuseum.org] > Sent: Saturday, January 03, 2004 1:13 PM > To: 'jfournier@dmsolutions.ca' > Subject: RE: [Chameleon] Hidden Text > > > > > > Hi Jason, > > > > I tried removing those breaks before your response so I can tell you that it > doesn't work. Neither did your new file. > > > > I only installed Chameleon about 3 weeks ago so it should have been a fairly > recent build. I noticed that someone else asked the same question a while > back and I couldn't find a response. Maybe I'll search back and send him a > note to see if he got it fixed. > > > > Tracy > > > > _____ > > From: Jason Fournier [mailto:jfournier@dmsolutions.ca] > Sent: Saturday, January 03, 2004 12:19 PM > To: thowlett@whistlermuseum.org > Subject: Re: [Chameleon] Hidden Text > > > > Tracy, > > If you look in the source of the file you attached (ie, > ContextSelector.widget.php) you'll find a function called > 'GetHTMLHiddenVariables()' beginning on line 172. Inside this function are > all the hidden variables required for this widget. You'll notice that there > are
's included at the end of each hidden variable declaration. I'm not > sure why they are there but you can safely remove them - they are the cause > of the white space. The lines containing the
's to remove are as > follows: > > 180 > 184 > 188 > 192 > 225 > 230 > 238 > > I have also attached the file you sent modified with these changes. To test > this file please make a backup of > /chameleon/htdocs/widgets/ContextSelector.widget.php and place the attached > file in that directory. > > Let me know if that works. If it does could you please post this message to > the entire list ... others may be encountering this problem. > > Please note that the current build of Chameleon contains this fix. > > Thanks! > Jay > > > > > Tracy Howlett wrote: > > Jason, > > If I am using the contextselector widget it is not consciously. I just took > the Chameleon sample and built on it. What is the ContextSelector widget > for?? I've checked the source code and it does seem that 22 lines of > 'hidden' text are being added including references to the contextselector > variables. > > Here is the link to my application. > http://www.chirpwhistler.info/mapping/CHiRP.phtml > > And here is my ContextSelector.Widget file. > > Thanks! > > Tracy > > -----Original Message----- > From: chameleon-admin@lists.maptools.org > [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Jason Fournier > Sent: Friday, January 02, 2004 11:16 AM > To: thowlett@whistlermuseum.org > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Hidden Text > > Hi Tracy, > > Are you, by chance, using the ContextSelector widget? I did a little > bit of research and found that, in some cases, the ContextSelector > outputted
's after each Hidden Variable it wrote out to the page. > Please view the source of your page and look for the Hidden Variables > (they should be just after the tag). If this is in fact the case > could you please email me the ContextSelector.widget.php file from your > /chameleon/htdocs/widgets/ directory? > > Do you have a publicly available URL of your application? I could take > a look at the output as well. > > Thanks, > Jason > > > > Tracy Howlett wrote: > > > > Hi, > > I've seen this question posted a couple of times but haven't found an > > > answer > > > yet! I've got my application working fine now but when the page loads > > > there > > > is a bunch of space at the top of the page. I am pretty new to html > programming but I figure this is because of all the hidden text? Is there > > > a > > > way to make the application load at the top of the page and leave the > > > hidden > > > stuff at the bottom? I've tried moving the code but that doesn't seem to > make any difference. > > Cheers and Happy New Year, > > Tracy > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > > > > > > > > > > -- > -- > |Jason Fournier > |DM Solutions Group > |Application Developer > |Ottawa, ON > |613.565.5056 x 18 > |jfournier@dmsolutions.ca > -- > > ------=_NextPart_000_000B_01C3D698.721CD0D0 > Content-Type: text/html; > charset="us-ascii" > Content-Transfer-Encoding: quoted-printable > > xmlns:o=3D"urn:schemas-microsoft-com:office:office" = > xmlns:w=3D"urn:schemas-microsoft-com:office:word" = > xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" = > xmlns=3D"http://www.w3.org/TR/REC-html40"> > > > charset=3Dus-ascii"> > > namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" = > name=3D"place"/> > namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" > name=3D"City"/> > namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" > name=3D"PersonName"/> > > > > > > > >
> >

style=3D'font-size: > 10.0pt;font-family:Tahoma;color:green'>I was wondering why I = > hadn’t heard > anymore about this but I guess it is because it ended up being a private > discussion.  Anyone else come across this = > problem?

> >

style=3D'font-size: > 10.0pt;font-family:Tahoma;color:green'>  > > >

> >
size=3D3 > color=3Dblack face=3D"Times New Roman"> style=3D'font-size:12.0pt;color:windowtext'> > >
> >
> >

style=3D'font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight= > :bold'>From: size=3D2 color=3Dblack face=3DTahoma> style=3D'font-size:10.0pt;font-family:Tahoma; > color:windowtext'> Tracy Howlett [mailto: w:st=3D"on">thowlett@whistlermuseum.org] >
> Sent: Saturday, January = > 03, 2004 > 1:13 PM
> To: ' w:st=3D"on">jfournier@dmsolutions.ca'
> Subject: RE: [Chameleon] = > Hidden > Text
style=3D'color:windowtext'>

> >
> >

Roman"> style=3D'font-size:12.0pt'> 

> >

Roman"> style=3D'font-size:12.0pt'> 

> >

Roman"> style=3D'font-size:12.0pt'>Hi Jason,

> >

Roman"> style=3D'font-size:12.0pt'> 

> >

Roman"> style=3D'font-size:12.0pt'>I tried removing those breaks before your = > response so > I can tell you that it doesn’t work.  Neither did your new = > file.

> >

Roman"> style=3D'font-size:12.0pt'> 

> >

Roman"> style=3D'font-size:12.0pt'>I only installed Chameleon about 3 weeks ago = > so it > should have been a fairly recent build.  I noticed that someone = > else asked > the same question a while back and I couldn’t find a = > response.  > Maybe I’ll search back and send him a note to see if he got it = > fixed.

> >

Roman"> style=3D'font-size:12.0pt'> 

> >

size=3D3 > color=3Dblack face=3D"Times New Roman"> style=3D'font-size:12.0pt'>Tracy >

> >

Roman"> style=3D'font-size:12.0pt'> 

> >
> >
size=3D3 > color=3Dblack face=3D"Times New Roman"> style=3D'font-size:12.0pt;color:windowtext'> > >
> >
> >

style=3D'font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight= > :bold'>From: size=3D2 color=3Dblack face=3DTahoma> style=3D'font-size:10.0pt;font-family:Tahoma; > color:windowtext'> Jason Fournier [mailto: w:st=3D"on">jfournier@dmsolutions.ca] >
> Sent: Saturday, January = > 03, 2004 > 12:19 PM
> To: w:st=3D"on">thowlett@whistlermuseum.org
> Subject: Re: [Chameleon] = > Hidden > Text
style=3D'color:windowtext'>

> >
> >

Roman"> style=3D'font-size:12.0pt'> 

> >

w:st=3D"on"> w:st=3D"on"> = > style=3D'font-size:12.0pt'>Tracy, > >
> If you look in the source of the file you attached (ie, > ContextSelector.widget.php) you'll find a function called > 'GetHTMLHiddenVariables()' beginning on line 172.  Inside this = > function are > all the hidden variables required for this widget.  You'll notice = > that > there are <BR>'s included at the end of each hidden variable > declaration.  I'm not sure why they are there but you can safely = > remove > them - they are the cause of the white space.  The lines containing = > the > <BR>'s to remove are as follows:
>
> 180
> 184
> 188
> 192
> 225
> 230
> 238
>
> I have also attached the file you sent modified with these = > changes.  To > test this file please make a backup of  > /chameleon/htdocs/widgets/ContextSelector.widget.php and place the = > attached > file in that directory.
>
> Let me know if that works.  If it does could you please post this = > message > to the entire list ... others may be encountering this problem.
>
> Please note that the current build of Chameleon contains this fix.
>
> Thanks!
> Jay
>
>
>
>
> Tracy Howlett wrote:

> >
 style=3D'font-size:10.0pt'>Jason, =
> 
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> 
 t
> size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>If I am using the contextselector widget it =
> is not consciously.  I just =
> took
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>the Chameleon sample and built on it.  =
> What is the ContextSelector =
> widget
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>for??  I've checked the source code and =
> it does seem that 22 lines of
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>'hidden' text are being added including =
> references to the =
> contextselector
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>variables.
=
>  size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> 
 t
> size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>Here is the link to my =
> application.
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> href=3D"http://www.chirpwhistler.info/mapping/CHiRP.phtml">http://www.chi=
> rpwhistler.info/mapping/CHiRP.phtml
e> size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> 
 t
> size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>And here is my ContextSelector.Widget =
> file.
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> 
 t
> size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>Thanks!
 nt
> size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> 
 :place
> w:st=3D"on"> face=3D"Courier New">   =
> style=3D'font-size:10.0pt'>Tracy >
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> 
 t
> size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>-----Original =
> Message-----
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>From:  href=3D"mailto:chameleon-admin@lists.maptools.org">chameleon-admin@lists.=
> maptools.org
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>[ href=3D"mailto:chameleon-admin@lists.maptools.org">mailto:chameleon-admin=
> @lists.maptools.org] On Behalf Of Jason =
> Fournier
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>Sent: Friday, January 02, 2004 11:16 =
> AM
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>To:  href=3D"mailto:thowlett@whistlermuseum.org">thowlett@whistlermuseum.org a>
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>Cc:  href=3D"mailto:chameleon@lists.maptools.org">chameleon@lists.maptools.org=
> 
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>Subject: Re: [Chameleon] Hidden =
> Text
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> 
 t
> size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>Hi =
> Tracy,
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> 
 t
> size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>Are you, by chance, using the ContextSelector =
> widget?  I did a little 
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>bit of research and found that, in some =
> cases, the ContextSelector 
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>outputted <br>'s after each Hidden =
> Variable it wrote out to the page.  =
> 
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>Please view the source of your page and look =
> for the Hidden Variables 
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>(they should be just after the <BODY> =
> tag).  If this is in fact the case =
> 
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>could you please email me the =
> ContextSelector.widget.php file from your =
> 
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>/chameleon/htdocs/widgets/ =
> directory?
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> 
 t
> size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>Do you have a publicly available URL of your =
> application?  I could take =
> 
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>a look at the output as =
> well.
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> 
 t
> size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>Thanks,
 nt
> size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>Jason

> size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> 
 t
> size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> 
 t
> size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> 
 t
> size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>Tracy Howlett =
> wrote:
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> 
 t
> size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>  
> >
type=3Dcite>
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>Hi,
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> 
 t
> size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>I've seen this question posted a couple of =
> times but haven't found an
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>    =
> 
> >
 style=3D'font-size:10.0pt'>answer
 t
> size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>  
> >
type=3Dcite>
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>yet!  I've got my application working =
> fine now but when the page =
> loads
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>    =
> 
> >
 style=3D'font-size:10.0pt'>there
  size=3D2
> color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>  
> >
type=3Dcite>
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>is a bunch of space at the top of the =
> page.  I am pretty new to =
> html
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>programming but I figure this is because of =
> all the hidden text?  Is =
> there
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>    =
> 
> >
 style=3D'font-size:10.0pt'>a
 size=3D2
> color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>  
> >
type=3Dcite>
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>way to make the application load at the top =
> of the page and leave the
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>    =
> 
> >
 style=3D'font-size:10.0pt'>hidden
 t
> size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>  
> >
type=3Dcite>
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>stuff at the bottom?  I've tried moving =
> the code but that doesn't seem =
> to
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>make any =
> difference.
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> 
 t
> size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>Cheers and Happy New =
> Year,
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> 
 :place
> w:st=3D"on"> face=3D"Courier New">   =
> style=3D'font-size:10.0pt'>Tracy >
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> 
 t
> size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> 
 t
> size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>______________________________________________=
> _
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>Chameleon mailing =
> list
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> href=3D"mailto:Chameleon@lists.maptools.org">Chameleon@lists.maptools.org=
> 
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> href=3D"http://lists.maptools.org/mailman/listinfo/chameleon">http://list=
> s.maptools.org/mailman/listinfo/chameleon re>
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> 
 t
> size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> 
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> 
 t
> size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>    =
> 
> >
 style=3D'font-size:10.0pt'> 
 t
> size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'>  
> >

color=3Dblack > face=3D"Times New Roman"> style=3D'font-size:12.0pt'> 

> >
 style=3D'font-size:10.0pt'>-- 
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> --
 ont
> size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> |Jason =
> Fournier
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> |DM Solutions =
> Group
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> |Application =
> Developer
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> |Ottawa, =
> ON
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> |613.565.5056 x =
> 18
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> | href=3D"mailto:jfournier@dmsolutions.ca">jfournier@dmsolutions.ca >
 size=3D2 color=3Dblack face=3D"Courier New"> style=3D'font-size:10.0pt'> --
> > > > > > ------=_NextPart_000_000B_01C3D698.721CD0D0-- > > > > --__--__-- > > Message: 2 > Date: Fri, 09 Jan 2004 15:15:12 -0500 > From: Paul Spencer > Reply-To: spencer@dmsolutions.ca > Organization: DM Solutions Group Inc > To: thowlett@whistlermuseum.org > CC: spencer@dmsolutions.ca, chameleon@lists.maptools.org > Subject: Re: FW: [Chameleon] Hidden Text > > Tracy, > > I am sure that there are a bunch more things in there that could output > text. We'll try to clean them up for the next release. > > Cheers, > > Paul > > Tracy Howlett wrote: > > > I was wondering why I hadn’t heard anymore about this but I guess it is > > because it ended up being a private discussion. Anyone else come across > > this problem? > > > > > > > > ------------------------------------------------------------------------ > > > > *From:* Tracy Howlett [mailto:thowlett@whistlermuseum.org] > > *Sent:* Saturday, January 03, 2004 1:13 PM > > *To:* 'jfournier@dmsolutions.ca' > > *Subject:* RE: [Chameleon] Hidden Text > > > > > > > > > > > > Hi Jason, > > > > > > > > I tried removing those breaks before your response so I can tell you > > that it doesn’t work. Neither did your new file. > > > > > > > > I only installed Chameleon about 3 weeks ago so it should have been a > > fairly recent build. I noticed that someone else asked the same > > question a while back and I couldn’t find a response. Maybe I’ll search > > back and send him a note to see if he got it fixed. > > > > > > > > Tracy > > > > > > > > ------------------------------------------------------------------------ > > > > *From:* Jason Fournier [mailto:jfournier@dmsolutions.ca] > > *Sent:* Saturday, January 03, 2004 12:19 PM > > *To:* thowlett@whistlermuseum.org > > *Subject:* Re: [Chameleon] Hidden Text > > > > > > > > Tracy, > > > > If you look in the source of the file you attached (ie, > > ContextSelector.widget.php) you'll find a function called > > 'GetHTMLHiddenVariables()' beginning on line 172. Inside this function > > are all the hidden variables required for this widget. You'll notice > > that there are
's included at the end of each hidden variable > > declaration. I'm not sure why they are there but you can safely remove > > them - they are the cause of the white space. The lines containing the > >
's to remove are as follows: > > > > 180 > > 184 > > 188 > > 192 > > 225 > > 230 > > 238 > > > > I have also attached the file you sent modified with these changes. To > > test this file please make a backup of > > /chameleon/htdocs/widgets/ContextSelector.widget.php and place the > > attached file in that directory. > > > > Let me know if that works. If it does could you please post this > > message to the entire list ... others may be encountering this problem. > > > > Please note that the current build of Chameleon contains this fix. > > > > Thanks! > > Jay > > > > > > > > > > Tracy Howlett wrote: > > > > Jason, > > > > > > > > If I am using the contextselector widget it is not consciously. I just took > > > > the Chameleon sample and built on it. What is the ContextSelector widget > > > > for?? I've checked the source code and it does seem that 22 lines of > > > > 'hidden' text are being added including references to the contextselector > > > > variables. > > > > > > > > Here is the link to my application. > > > > http://www.chirpwhistler.info/mapping/CHiRP.phtml > > > > > > > > And here is my ContextSelector.Widget file. > > > > > > > > Thanks! > > > > > > > > Tracy > > > > > > > > -----Original Message----- > > > > From: chameleon-admin@lists.maptools.org > > > > [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Jason Fournier > > > > Sent: Friday, January 02, 2004 11:16 AM > > > > To: thowlett@whistlermuseum.org > > > > Cc: chameleon@lists.maptools.org > > > > Subject: Re: [Chameleon] Hidden Text > > > > > > > > Hi Tracy, > > > > > > > > Are you, by chance, using the ContextSelector widget? I did a little > > > > bit of research and found that, in some cases, the ContextSelector > > > > outputted
's after each Hidden Variable it wrote out to the page. > > > > Please view the source of your page and look for the Hidden Variables > > > > (they should be just after the tag). If this is in fact the case > > > > could you please email me the ContextSelector.widget.php file from your > > > > /chameleon/htdocs/widgets/ directory? > > > > > > > > Do you have a publicly available URL of your application? I could take > > > > a look at the output as well. > > > > > > > > Thanks, > > > > Jason > > > > > > > > > > > > > > > > Tracy Howlett wrote: > > > > > > > > > > > >>Hi, > >> > >> > >> > >>I've seen this question posted a couple of times but haven't found an > >> > >> > > > > answer > > > > > > > >>yet! I've got my application working fine now but when the page loads > >> > >> > > > > there > > > > > > > >>is a bunch of space at the top of the page. I am pretty new to html > >> > >>programming but I figure this is because of all the hidden text? Is there > >> > >> > > > > a > > > > > > > >>way to make the application load at the top of the page and leave the > >> > >> > > > > hidden > > > > > > > >>stuff at the bottom? I've tried moving the code but that doesn't seem to > >> > >>make any difference. > >> > >> > >> > >>Cheers and Happy New Year, > >> > >> > >> > >>Tracy > >> > >> > >> > >> > >> > >>_______________________________________________ > >> > >>Chameleon mailing list > >> > >>Chameleon@lists.maptools.org > >> > >>http://lists.maptools.org/mailman/listinfo/chameleon > >> > >> > >> > >> > >> > >> > >> > >> > > > > > > > > > > > > > > > > -- > > > > -- > > > > |Jason Fournier > > > > |DM Solutions Group > > > > |Application Developer > > > > |Ottawa, ON > > > > |613.565.5056 x 18 > > > > |jfournier@dmsolutions.ca > > > > -- > > > > -- > ----------------------------------------------------------------- > |Paul Spencer spencer@dmsolutions.ca | > |-----------------------------------------------------------------| > |Applications & Software Development | > |DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > > > > --__--__-- > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > > End of Chameleon Digest From thowlett@whistlermuseum.org Fri Jan 9 17:14:09 2004 Received: from smtp1000.radiant.net (smtp1000.radiant.net [216.21.149.209]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i09ME88o031132 for ; Fri, 9 Jan 2004 17:14:09 -0500 Message-Id: <200401092214.i09ME88o031132@www.maptools.org> Received: (qmail 17384 invoked from network); 9 Jan 2004 22:01:52 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp1000.radiant.net with SMTP; 9 Jan 2004 22:01:52 -0000 Reply-To: From: "Tracy Howlett" To: Cc: Subject: RE: FW: [Chameleon] Hidden Text Date: Fri, 9 Jan 2004 14:13:58 -0800 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <3FFF0BD0.7060804@magma.ca> Thread-Index: AcPW7VNSI7BBzS2aRuG072Gv2t1gMAAEG0Zw Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Thanks to Matt who helped me sort this out - it was the
in the XMLThemeLegend.Widget, not in the ContextSelector.Widget. Cheers! -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: Friday, January 09, 2004 12:15 PM To: thowlett@whistlermuseum.org Cc: spencer@dmsolutions.ca; chameleon@lists.maptools.org Subject: Re: FW: [Chameleon] Hidden Text Tracy, I am sure that there are a bunch more things in there that could output text. We'll try to clean them up for the next release. Cheers, Paul Tracy Howlett wrote: > I was wondering why I hadn't heard anymore about this but I guess it is > because it ended up being a private discussion. Anyone else come across > this problem? > > > > ------------------------------------------------------------------------ > > *From:* Tracy Howlett [mailto:thowlett@whistlermuseum.org] > *Sent:* Saturday, January 03, 2004 1:13 PM > *To:* 'jfournier@dmsolutions.ca' > *Subject:* RE: [Chameleon] Hidden Text > > > > > > Hi Jason, > > > > I tried removing those breaks before your response so I can tell you > that it doesn't work. Neither did your new file. > > > > I only installed Chameleon about 3 weeks ago so it should have been a > fairly recent build. I noticed that someone else asked the same > question a while back and I couldn't find a response. Maybe I'll search > back and send him a note to see if he got it fixed. > > > > Tracy > > > > ------------------------------------------------------------------------ > > *From:* Jason Fournier [mailto:jfournier@dmsolutions.ca] > *Sent:* Saturday, January 03, 2004 12:19 PM > *To:* thowlett@whistlermuseum.org > *Subject:* Re: [Chameleon] Hidden Text > > > > Tracy, > > If you look in the source of the file you attached (ie, > ContextSelector.widget.php) you'll find a function called > 'GetHTMLHiddenVariables()' beginning on line 172. Inside this function > are all the hidden variables required for this widget. You'll notice > that there are
's included at the end of each hidden variable > declaration. I'm not sure why they are there but you can safely remove > them - they are the cause of the white space. The lines containing the >
's to remove are as follows: > > 180 > 184 > 188 > 192 > 225 > 230 > 238 > > I have also attached the file you sent modified with these changes. To > test this file please make a backup of > /chameleon/htdocs/widgets/ContextSelector.widget.php and place the > attached file in that directory. > > Let me know if that works. If it does could you please post this > message to the entire list ... others may be encountering this problem. > > Please note that the current build of Chameleon contains this fix. > > Thanks! > Jay > > > > > Tracy Howlett wrote: > > Jason, > > > > If I am using the contextselector widget it is not consciously. I just took > > the Chameleon sample and built on it. What is the ContextSelector widget > > for?? I've checked the source code and it does seem that 22 lines of > > 'hidden' text are being added including references to the contextselector > > variables. > > > > Here is the link to my application. > > http://www.chirpwhistler.info/mapping/CHiRP.phtml > > > > And here is my ContextSelector.Widget file. > > > > Thanks! > > > > Tracy > > > > -----Original Message----- > > From: chameleon-admin@lists.maptools.org > > [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Jason Fournier > > Sent: Friday, January 02, 2004 11:16 AM > > To: thowlett@whistlermuseum.org > > Cc: chameleon@lists.maptools.org > > Subject: Re: [Chameleon] Hidden Text > > > > Hi Tracy, > > > > Are you, by chance, using the ContextSelector widget? I did a little > > bit of research and found that, in some cases, the ContextSelector > > outputted
's after each Hidden Variable it wrote out to the page. > > Please view the source of your page and look for the Hidden Variables > > (they should be just after the tag). If this is in fact the case > > could you please email me the ContextSelector.widget.php file from your > > /chameleon/htdocs/widgets/ directory? > > > > Do you have a publicly available URL of your application? I could take > > a look at the output as well. > > > > Thanks, > > Jason > > > > > > > > Tracy Howlett wrote: > > > > > >>Hi, >> >> >> >>I've seen this question posted a couple of times but haven't found an >> >> > > answer > > > >>yet! I've got my application working fine now but when the page loads >> >> > > there > > > >>is a bunch of space at the top of the page. I am pretty new to html >> >>programming but I figure this is because of all the hidden text? Is there >> >> > > a > > > >>way to make the application load at the top of the page and leave the >> >> > > hidden > > > >>stuff at the bottom? I've tried moving the code but that doesn't seem to >> >>make any difference. >> >> >> >>Cheers and Happy New Year, >> >> >> >>Tracy >> >> >> >> >> >>_______________________________________________ >> >>Chameleon mailing list >> >>Chameleon@lists.maptools.org >> >>http://lists.maptools.org/mailman/listinfo/chameleon >> >> >> >> >> >> >> >> > > > > > > > > -- > > -- > > |Jason Fournier > > |DM Solutions Group > > |Application Developer > > |Ottawa, ON > > |613.565.5056 x 18 > > |jfournier@dmsolutions.ca > > -- > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Sat Jan 10 15:39:32 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0AKdW8o003608 for ; Sat, 10 Jan 2004 15:39:32 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i0AKdVq5002765; Sat, 10 Jan 2004 15:39:31 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i0AKdRl2016456; Sat, 10 Jan 2004 15:39:31 -0500 Message-ID: <400062F4.9010605@magma.ca> Date: Sat, 10 Jan 2004 15:39:16 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: thowlett@whistlermuseum.org CC: chameleon@lists.maptools.org Subject: Re: FW: [Chameleon] Hidden Text References: <200401092214.i09ME88o031132@www.maptools.org> In-Reply-To: <200401092214.i09ME88o031132@www.maptools.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: thanks. I have removed the
s from the cvs version. Cheers, Paul Tracy Howlett wrote: > Thanks to Matt who helped me sort this out - it was the
in the > XMLThemeLegend.Widget, not in the ContextSelector.Widget. > > Cheers! > > -----Original Message----- > From: Paul Spencer [mailto:pagameba@magma.ca] > Sent: Friday, January 09, 2004 12:15 PM > To: thowlett@whistlermuseum.org > Cc: spencer@dmsolutions.ca; chameleon@lists.maptools.org > Subject: Re: FW: [Chameleon] Hidden Text > > Tracy, > > I am sure that there are a bunch more things in there that could output > text. We'll try to clean them up for the next release. > > Cheers, > > Paul > > Tracy Howlett wrote: > > >>I was wondering why I hadn't heard anymore about this but I guess it is >>because it ended up being a private discussion. Anyone else come across >>this problem? >> >> >> >>------------------------------------------------------------------------ >> >>*From:* Tracy Howlett [mailto:thowlett@whistlermuseum.org] >>*Sent:* Saturday, January 03, 2004 1:13 PM >>*To:* 'jfournier@dmsolutions.ca' >>*Subject:* RE: [Chameleon] Hidden Text >> >> >> >> >> >>Hi Jason, >> >> >> >>I tried removing those breaks before your response so I can tell you >>that it doesn't work. Neither did your new file. >> >> >> >>I only installed Chameleon about 3 weeks ago so it should have been a >>fairly recent build. I noticed that someone else asked the same >>question a while back and I couldn't find a response. Maybe I'll search >>back and send him a note to see if he got it fixed. >> >> >> >>Tracy >> >> >> >>------------------------------------------------------------------------ >> >>*From:* Jason Fournier [mailto:jfournier@dmsolutions.ca] >>*Sent:* Saturday, January 03, 2004 12:19 PM >>*To:* thowlett@whistlermuseum.org >>*Subject:* Re: [Chameleon] Hidden Text >> >> >> >>Tracy, >> >>If you look in the source of the file you attached (ie, >>ContextSelector.widget.php) you'll find a function called >>'GetHTMLHiddenVariables()' beginning on line 172. Inside this function >>are all the hidden variables required for this widget. You'll notice >>that there are
's included at the end of each hidden variable >>declaration. I'm not sure why they are there but you can safely remove >>them - they are the cause of the white space. The lines containing the >>
's to remove are as follows: >> >>180 >>184 >>188 >>192 >>225 >>230 >>238 >> >>I have also attached the file you sent modified with these changes. To >>test this file please make a backup of >>/chameleon/htdocs/widgets/ContextSelector.widget.php and place the >>attached file in that directory. >> >>Let me know if that works. If it does could you please post this >>message to the entire list ... others may be encountering this problem. >> >>Please note that the current build of Chameleon contains this fix. >> >>Thanks! >>Jay >> >> >> >> >>Tracy Howlett wrote: >> >>Jason, >> >> >> >>If I am using the contextselector widget it is not consciously. I just > > took > >>the Chameleon sample and built on it. What is the ContextSelector widget >> >>for?? I've checked the source code and it does seem that 22 lines of >> >>'hidden' text are being added including references to the contextselector >> >>variables. >> >> >> >>Here is the link to my application. >> >>http://www.chirpwhistler.info/mapping/CHiRP.phtml >> >> >> >>And here is my ContextSelector.Widget file. >> >> >> >>Thanks! >> >> >> >>Tracy >> >> >> >>-----Original Message----- >> >>From: chameleon-admin@lists.maptools.org > > > >>[mailto:chameleon-admin@lists.maptools.org] On Behalf Of Jason Fournier >> >>Sent: Friday, January 02, 2004 11:16 AM >> >>To: thowlett@whistlermuseum.org >> >>Cc: chameleon@lists.maptools.org >> >>Subject: Re: [Chameleon] Hidden Text >> >> >> >>Hi Tracy, >> >> >> >>Are you, by chance, using the ContextSelector widget? I did a little >> >>bit of research and found that, in some cases, the ContextSelector >> >>outputted
's after each Hidden Variable it wrote out to the page. >> >>Please view the source of your page and look for the Hidden Variables >> >>(they should be just after the tag). If this is in fact the case >> >>could you please email me the ContextSelector.widget.php file from your >> >>/chameleon/htdocs/widgets/ directory? >> >> >> >>Do you have a publicly available URL of your application? I could take >> >>a look at the output as well. >> >> >> >>Thanks, >> >>Jason >> >> >> >> >> >> >> >>Tracy Howlett wrote: >> >> >> >> >> >> >>>Hi, >>> >>> >>> >>>I've seen this question posted a couple of times but haven't found an >>> >>> >> >>answer >> >> >> >> >>>yet! I've got my application working fine now but when the page loads >>> >>> >> >>there >> >> >> >> >>>is a bunch of space at the top of the page. I am pretty new to html >>> >>>programming but I figure this is because of all the hidden text? Is there >>> >>> >> >>a >> >> >> >> >>>way to make the application load at the top of the page and leave the >>> >>> >> >>hidden >> >> >> >> >>>stuff at the bottom? I've tried moving the code but that doesn't seem to >>> >>>make any difference. >>> >>> >>> >>>Cheers and Happy New Year, >>> >>> >>> >>>Tracy >>> >>> >>> >>> >>> >>>_______________________________________________ >>> >>>Chameleon mailing list >>> >>>Chameleon@lists.maptools.org >>> >>>http://lists.maptools.org/mailman/listinfo/chameleon >>> >>> >>> >>> >>> >>> >>> >>> >> >> >> >> >> >> >> >>-- >> >> -- >> >> |Jason Fournier >> >> |DM Solutions Group >> >> |Application Developer >> >> |Ottawa, ON >> >> |613.565.5056 x 18 >> >> |jfournier@dmsolutions.ca >> >> -- >> > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From thowlett@whistlermuseum.org Sat Jan 10 17:36:26 2004 Received: from smtp1000.radiant.net (smtp1000.radiant.net [216.21.149.209]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i0AMaQ8o003978 for ; Sat, 10 Jan 2004 17:36:26 -0500 Message-Id: <200401102236.i0AMaQ8o003978@www.maptools.org> Received: (qmail 6247 invoked from network); 10 Jan 2004 22:24:07 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp1000.radiant.net with SMTP; 10 Jan 2004 22:24:07 -0000 Reply-To: From: "Tracy Howlett" To: Date: Sat, 10 Jan 2004 14:36:21 -0800 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <400062F4.9010605@magma.ca> Thread-Index: AcPXuh+REnU9os3nQkeL3D3qswaMPQADr36A Subject: [Chameleon] Query Widget Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I'm trying to implement the Query widget but I'm getting the following error: PHP Fatal error: Cannot instantiate non-existent class: cwcpopup in C:\apps\cwc2\htdocs\widgets\Query.widget.php on line 56 I can't find any documentation on the cwcpopup class (or lack thereof!). I'm also having problems getting the PrintWidget and HelpWidget working. Are there any known issues with these widgets? My setup: MapServer 4.0.1 PHP/MapScript 4.3.4 Chameleon 1.1 Win XP (must also work on Server 2003) From pagameba@magma.ca Sat Jan 10 18:22:25 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0ANMP8o004153 for ; Sat, 10 Jan 2004 18:22:25 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i0ANMPgu030050; Sat, 10 Jan 2004 18:22:25 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i0ANMMIh011893; Sat, 10 Jan 2004 18:22:25 -0500 Message-ID: <40008924.1080509@magma.ca> Date: Sat, 10 Jan 2004 18:22:12 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: thowlett@whistlermuseum.org CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Query Widget References: <200401102236.i0AMaQ8o003978@www.maptools.org> In-Reply-To: <200401102236.i0AMaQ8o003978@www.maptools.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Tracy, I think there is a small problem with the query widget not including the popup code. Try adding the following line of code to Query.widget.php around line 31 (with the other includes). If it works, I'll commit the change to CVS. include_once( "Popup.php" ); Cheers, Paul Tracy Howlett wrote: > I'm trying to implement the Query widget but I'm getting the following > error: > > PHP Fatal error: Cannot instantiate non-existent class: cwcpopup in > C:\apps\cwc2\htdocs\widgets\Query.widget.php on line 56 > > I can't find any documentation on the cwcpopup class (or lack thereof!). > > I'm also having problems getting the PrintWidget and HelpWidget working. > Are there any known issues with these widgets? > > My setup: > MapServer 4.0.1 > PHP/MapScript 4.3.4 > Chameleon 1.1 > Win XP (must also work on Server 2003) > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Sat Jan 10 15:37:35 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0AKbY8o003593 for ; Sat, 10 Jan 2004 15:37:35 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i0AKbYq5002541; Sat, 10 Jan 2004 15:37:34 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i0AKbS18000879; Sat, 10 Jan 2004 15:37:33 -0500 Message-ID: <4000627D.3080801@magma.ca> Date: Sat, 10 Jan 2004 15:37:17 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matt Frost CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Control structure in XMLThemeLegend template References: <20040109201601.30684.40669.Mailman@www.maptools.org> <011101c3d6fa$12950530$63c809c0@mattf> In-Reply-To: <011101c3d6fa$12950530$63c809c0@mattf> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Matt, there is no end user documentation for this yet, but this capability uses the TemplateProcessor.php file (in the htdocs folder) which does have some documentation aimed more at developers using TemplateProcessor.php rather than users of the XMLThemeLegend. However, there is one pertinent block in there: The macro language supports three basic operations: [repeat ]...[end] - this outputs up to the associated [end] for each object of . This defines all attributes of the object within the current processing scope, making the values accessible to any [if] macros or [] macros within the block. Attribute values will overwrite existing attribute values from other objects regardless of scope, so be careful with naming attributes between objects (they should be different). Once an [end] block is reached for a [repeat] macro, the associated attributes are taken out of the current scope [if ]...[end] - this outputs up to the associated [end] if the expression is true. The is some valid attribute for one of the current objects. The is = or !=. The is either a quoted literal value or, if not quoted, an attribute of a current object. [] - outputs the value of the attribute. The attribute must be defined for an object that is in scope (i.e. in a repeat block). For the XMLThemeLegend, we have not documented what the attributes can be but you can figure it out from the code. There are three main sets of attributes which are: 1. selection - this relates a context to a template, renderer and theme file 2. theme - this is a related set of groups 3. group - this is a set of layers that are controlled together For selection, the attribute values are selection_selected selection_name selection_contextfile selection_templatefile selection_rendererfile selection_themefile selection_url For theme, the attribute values are theme_type theme_abstract theme_name theme_bold theme_font theme_fontsize them_icon theme_extendabstract theme_extralayers theme_numlayers theme_id theme_url theme_input For group, the attributes are group_abstract group_name group_bold group_font group_fontsize group_icon group_extentabstract group_visible group_id group_theme_id group_url group_input group_numlayers to be honest, I don't exactly remember what all of this does, even though I wrote it ;) The concept of the widget is to separate rendering from the grouping logic and the widget to allow for custom legends in a variety of ways. Selections are defined in the application template as part of the widget. The theme file is an XML file that indicates what layers go in what groups and what groups go in what themes, and some default values. The renderer file is the one that determines how to display stuff. The basic concept is that you can use the repeat blocks on selection, theme and/or group which will repeat everything up to the associated [end] for each selection/theme/group in the theme XML file. Within this block all the [attribute_name] are replaced with the appropriate attribute value, for instance [group_name] would be replaced with the name of the current group. The if blocks operate on the same attribute values. I believe that before this widget is considered finished, we are going to revisit the selection stuff. The original concept that this widget was based on was something called a ContextSelector which was intended to allow the user to select between pre-defined map files (well, OGC Web Map Context files actually). I still haven't decided if I want to maintain this capability or put it in a separate widget, primarily because changing between contexts is a different set of functionality than displaying a legend for the current context. But the separation is not that easy because you have to know about the current context to potentially select a new theme file and potentially a new template and renderer file. Hope this clears it up for you :) Cheers, Paul Matt Frost wrote: > I'm trying to develop a template for the XMLThemeLegend that uses an > unordered list rather than a table for the legend items, but after all the > changes I've made, I'm afraid I've botched the template's loop logic. Could > someone explain the [repeat] and [end] sequence? > Thanks, > Matt Frost > > ----- Original Message ----- > From: > To: > Sent: Friday, January 09, 2004 3:16 PM > Subject: Chameleon digest, Vol 1 #103 - 2 msgs > > > >>Send Chameleon mailing list submissions to >>chameleon@lists.maptools.org >> >>To subscribe or unsubscribe via the World Wide Web, visit >>http://lists.maptools.org/mailman/listinfo/chameleon >>or, via email, send a message with subject or body 'help' to >>chameleon-request@lists.maptools.org >> >>You can reach the person managing the list at >>chameleon-admin@lists.maptools.org >> >>When replying, please edit your Subject line so it is more specific >>than "Re: Contents of Chameleon digest..." >> >> >>Today's Topics: >> >> 1. FW: [Chameleon] Hidden Text (Tracy Howlett) >> 2. Re: FW: [Chameleon] Hidden Text (Paul Spencer) >> >>--__--__-- >> >>Message: 1 >>Reply-To: >>From: "Tracy Howlett" >>To: >>Cc: >>Subject: FW: [Chameleon] Hidden Text >>Date: Fri, 9 Jan 2004 10:07:53 -0800 >>Organization: Whistler Museum and Archives >> >>This is a multi-part message in MIME format. >> >>------=_NextPart_000_000B_01C3D698.721CD0D0 >>Content-Type: text/plain; >>charset="us-ascii" >>Content-Transfer-Encoding: 7bit >> >>I was wondering why I hadn't heard anymore about this but I guess it is >>because it ended up being a private discussion. Anyone else come across >>this problem? >> >> >> >> _____ >> >>From: Tracy Howlett [mailto:thowlett@whistlermuseum.org] >>Sent: Saturday, January 03, 2004 1:13 PM >>To: 'jfournier@dmsolutions.ca' >>Subject: RE: [Chameleon] Hidden Text >> >> >> >> >> >>Hi Jason, >> >> >> >>I tried removing those breaks before your response so I can tell you that > > it > >>doesn't work. Neither did your new file. >> >> >> >>I only installed Chameleon about 3 weeks ago so it should have been a > > fairly > >>recent build. I noticed that someone else asked the same question a while >>back and I couldn't find a response. Maybe I'll search back and send him > > a > >>note to see if he got it fixed. >> >> >> >>Tracy >> >> >> >> _____ >> >>From: Jason Fournier [mailto:jfournier@dmsolutions.ca] >>Sent: Saturday, January 03, 2004 12:19 PM >>To: thowlett@whistlermuseum.org >>Subject: Re: [Chameleon] Hidden Text >> >> >> >>Tracy, >> >>If you look in the source of the file you attached (ie, >>ContextSelector.widget.php) you'll find a function called >>'GetHTMLHiddenVariables()' beginning on line 172. Inside this function > > are > >>all the hidden variables required for this widget. You'll notice that > > there > >>are
's included at the end of each hidden variable declaration. I'm > > not > >>sure why they are there but you can safely remove them - they are the > > cause > >>of the white space. The lines containing the
's to remove are as >>follows: >> >>180 >>184 >>188 >>192 >>225 >>230 >>238 >> >>I have also attached the file you sent modified with these changes. To > > test > >>this file please make a backup of >>/chameleon/htdocs/widgets/ContextSelector.widget.php and place the > > attached > >>file in that directory. >> >>Let me know if that works. If it does could you please post this message > > to > >>the entire list ... others may be encountering this problem. >> >>Please note that the current build of Chameleon contains this fix. >> >>Thanks! >>Jay >> >> >> >> >>Tracy Howlett wrote: >> >>Jason, >> >>If I am using the contextselector widget it is not consciously. I just > > took > >>the Chameleon sample and built on it. What is the ContextSelector widget >>for?? I've checked the source code and it does seem that 22 lines of >>'hidden' text are being added including references to the contextselector >>variables. >> >>Here is the link to my application. >>http://www.chirpwhistler.info/mapping/CHiRP.phtml >> >>And here is my ContextSelector.Widget file. >> >>Thanks! >> >>Tracy >> >>-----Original Message----- >>From: chameleon-admin@lists.maptools.org >>[mailto:chameleon-admin@lists.maptools.org] On Behalf Of Jason Fournier >>Sent: Friday, January 02, 2004 11:16 AM >>To: thowlett@whistlermuseum.org >>Cc: chameleon@lists.maptools.org >>Subject: Re: [Chameleon] Hidden Text >> >>Hi Tracy, >> >>Are you, by chance, using the ContextSelector widget? I did a little >>bit of research and found that, in some cases, the ContextSelector >>outputted
's after each Hidden Variable it wrote out to the page. >>Please view the source of your page and look for the Hidden Variables >>(they should be just after the tag). If this is in fact the case >>could you please email me the ContextSelector.widget.php file from your >>/chameleon/htdocs/widgets/ directory? >> >>Do you have a publicly available URL of your application? I could take >>a look at the output as well. >> >>Thanks, >>Jason >> >> >> >>Tracy Howlett wrote: >> >> >> >>Hi, >> >>I've seen this question posted a couple of times but haven't found an >> >> >>answer >> >> >>yet! I've got my application working fine now but when the page loads >> >> >>there >> >> >>is a bunch of space at the top of the page. I am pretty new to html >>programming but I figure this is because of all the hidden text? Is there >> >> >>a >> >> >>way to make the application load at the top of the page and leave the >> >> >>hidden >> >> >>stuff at the bottom? I've tried moving the code but that doesn't seem to >>make any difference. >> >>Cheers and Happy New Year, >> >>Tracy >> >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> >> >> >> >> >> >> >> >> >> >>-- >> -- >> |Jason Fournier >> |DM Solutions Group >> |Application Developer >> |Ottawa, ON >> |613.565.5056 x 18 >> |jfournier@dmsolutions.ca >> -- >> >>------=_NextPart_000_000B_01C3D698.721CD0D0 >>Content-Type: text/html; >>charset="us-ascii" >>Content-Transfer-Encoding: quoted-printable >> >>>xmlns:o=3D"urn:schemas-microsoft-com:office:office" = >>xmlns:w=3D"urn:schemas-microsoft-com:office:word" = >>xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" = >>xmlns=3D"http://www.w3.org/TR/REC-html40"> >> >> >>>charset=3Dus-ascii"> >> >>> namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" = >>name=3D"place"/> >>>namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" >> name=3D"City"/> >>>namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" >> name=3D"PersonName"/> >> >> >> >> >> >> >> >>
>> >>

>style=3D'font-size: >>10.0pt;font-family:Tahoma;color:green'>I was wondering why I = >>hadn’t heard >>anymore about this but I guess it is because it ended up being a private >>discussion.  Anyone else come across this = >>problem?

>> >>

>style=3D'font-size: >>10.0pt;font-family:Tahoma;color:green'> > >>

>> >>
>size=3D3 >>color=3Dblack face=3D"Times New Roman">>style=3D'font-size:12.0pt;color:windowtext'> >> >>
>> >>
>> >>

>style=3D'font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight= >>:bold'>From:>size=3D2 color=3Dblack face=3DTahoma>>style=3D'font-size:10.0pt;font-family:Tahoma; >>color:windowtext'> Tracy Howlett [mailto:>w:st=3D"on">thowlett@whistlermuseum.org] >>
>>Sent: Saturday, January = >>03, 2004 >>1:13 PM
>>To: '>w:st=3D"on">jfournier@dmsolutions.ca'
>>Subject: RE: [Chameleon] = >>Hidden >>Text
>style=3D'color:windowtext'>

>> >>
>> >>

>Roman">>style=3D'font-size:12.0pt'> 

>> >>

>Roman">>style=3D'font-size:12.0pt'> 

>> >>

>Roman">>style=3D'font-size:12.0pt'>Hi Jason,

>> >>

>Roman">>style=3D'font-size:12.0pt'> 

>> >>

>Roman">>style=3D'font-size:12.0pt'>I tried removing those breaks before your = >>response so >>I can tell you that it doesn’t work.  Neither did your new = >>file.

>> >>

>Roman">>style=3D'font-size:12.0pt'> 

>> >>

>Roman">>style=3D'font-size:12.0pt'>I only installed Chameleon about 3 weeks ago = >>so it >>should have been a fairly recent build.  I noticed that someone = >>else asked >>the same question a while back and I couldn’t find a = >>response.  >>Maybe I’ll search back and send him a note to see if he got it = >>fixed.

>> >>

>Roman">>style=3D'font-size:12.0pt'> 

>> >>

>size=3D3 >> color=3Dblack face=3D"Times New Roman">>style=3D'font-size:12.0pt'>Tracy> >>>

>> >>

>Roman">>style=3D'font-size:12.0pt'> 

>> >>
>> >>
>size=3D3 >>color=3Dblack face=3D"Times New Roman">>style=3D'font-size:12.0pt;color:windowtext'> >> >>
>> >>
>> >>

>style=3D'font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight= >>:bold'>From:>size=3D2 color=3Dblack face=3DTahoma>>style=3D'font-size:10.0pt;font-family:Tahoma; >>color:windowtext'> Jason Fournier [mailto:>w:st=3D"on">jfournier@dmsolutions.ca] >>
>>Sent: Saturday, January = >>03, 2004 >>12:19 PM
>>To: >w:st=3D"on">thowlett@whistlermuseum.org
>>Subject: Re: [Chameleon] = >>Hidden >>Text
>style=3D'color:windowtext'>

>> >>
>> >>

>Roman">>style=3D'font-size:12.0pt'> 

>> >>

>w:st=3D"on">> w:st=3D"on">> = >>style=3D'font-size:12.0pt'>Tracy,> >>
>>If you look in the source of the file you attached (ie, >>ContextSelector.widget.php) you'll find a function called >>'GetHTMLHiddenVariables()' beginning on line 172.  Inside this = >>function are >>all the hidden variables required for this widget.  You'll notice = >>that >>there are <BR>'s included at the end of each hidden variable >>declaration.  I'm not sure why they are there but you can safely = >>remove >>them - they are the cause of the white space.  The lines containing = >>the >><BR>'s to remove are as follows:
>>
>>180
>>184
>>188
>>192
>>225
>>230
>>238
>>
>>I have also attached the file you sent modified with these = >>changes.  To >>test this file please make a backup of  >>/chameleon/htdocs/widgets/ContextSelector.widget.php and place the = >>attached >>file in that directory.
>>
>>Let me know if that works.  If it does could you please post this = >>message >>to the entire list ... others may be encountering this problem.
>>
>>Please note that the current build of Chameleon contains this fix.
>>
>>Thanks!
>>Jay
>>
>>
>>
>>
>>Tracy Howlett wrote:

>> >>
>style=3D'font-size:10.0pt'>Jason, =
>>
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'> 
>t
>>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>If I am using the contextselector widget it =
>>is not consciously.  I just =
>>took
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>the Chameleon sample and built on it.  =
>>What is the ContextSelector =
>>widget
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>for??  I've checked the source code and =
>>it does seem that 22 lines of
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>'hidden' text are being added including =
>>references to the =
>>contextselector
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>variables.
=
>>>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'> 
>t
>>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>Here is the link to my =
>>application.
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>>href=3D"http://www.chirpwhistler.info/mapping/CHiRP.phtml">http://www.chi=
>>rpwhistler.info/mapping/CHiRP.phtml
>e>>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'> 
>t
>>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>And here is my ContextSelector.Widget =
>>file.
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'> 
>t
>>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>Thanks!
>nt
>>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'> 
>:place
>>w:st=3D"on">>face=3D"Courier New">>  =
>>style=3D'font-size:10.0pt'>Tracy>
>>>
>
>>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'> 
>t
>>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>-----Original =
>>Message-----
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>From: >href=3D"mailto:chameleon-admin@lists.maptools.org">chameleon-admin@lists.=
>>maptools.org
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>[>href=3D"mailto:chameleon-admin@lists.maptools.org">mailto:chameleon-admin=
>>@lists.maptools.org] On Behalf Of Jason =
>>Fournier
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>Sent: Friday, January 02, 2004 11:16 =
>>AM
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>To: >href=3D"mailto:thowlett@whistlermuseum.org">thowlett@whistlermuseum.org>a>
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>Cc: >href=3D"mailto:chameleon@lists.maptools.org">chameleon@lists.maptools.org=
>>
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>Subject: Re: [Chameleon] Hidden =
>>Text
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'> 
>t
>>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>Hi =
>>Tracy,
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'> 
>t
>>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>Are you, by chance, using the ContextSelector =
>>widget?  I did a little 
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>bit of research and found that, in some =
>>cases, the ContextSelector 
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>outputted <br>'s after each Hidden =
>>Variable it wrote out to the page.  =
>>
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>Please view the source of your page and look =
>>for the Hidden Variables 
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>(they should be just after the <BODY> =
>>tag).  If this is in fact the case =
>>
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>could you please email me the =
>>ContextSelector.widget.php file from your =
>>
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>/chameleon/htdocs/widgets/ =
>>directory?
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'> 
>t
>>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>Do you have a publicly available URL of your =
>>application?  I could take =
>>
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>a look at the output as =
>>well.
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'> 
>t
>>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>Thanks,
>nt
>>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>Jason
>
>>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'> 
>t
>>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'> 
>t
>>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'> 
>t
>>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>Tracy Howlett =
>>wrote:
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'> 
>t
>>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>  
>> >>
>type=3Dcite>
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>Hi,
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'> 
>t
>>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>I've seen this question posted a couple of =
>>times but haven't found an
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>    =
>>
>> >>
>style=3D'font-size:10.0pt'>answer
>t
>>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>  
>> >>
>type=3Dcite>
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>yet!  I've got my application working =
>>fine now but when the page =
>>loads
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>    =
>>
>> >>
>style=3D'font-size:10.0pt'>there
> size=3D2
>>color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>  
>> >>
>type=3Dcite>
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>is a bunch of space at the top of the =
>>page.  I am pretty new to =
>>html
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>programming but I figure this is because of =
>>all the hidden text?  Is =
>>there
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>    =
>>
>> >>
>style=3D'font-size:10.0pt'>a
>size=3D2
>>color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>  
>> >>
>type=3Dcite>
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>way to make the application load at the top =
>>of the page and leave the
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>    =
>>
>> >>
>style=3D'font-size:10.0pt'>hidden
>t
>>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>  
>> >>
>type=3Dcite>
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>stuff at the bottom?  I've tried moving =
>>the code but that doesn't seem =
>>to
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>make any =
>>difference.
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'> 
>t
>>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>Cheers and Happy New =
>>Year,
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'> 
>:place
>>w:st=3D"on">>face=3D"Courier New">>  =
>>style=3D'font-size:10.0pt'>Tracy>
>>>
>
>>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'> 
>t
>>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'> 
>t
>>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>______________________________________________=
>>_
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>Chameleon mailing =
>>list
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>>href=3D"mailto:Chameleon@lists.maptools.org">Chameleon@lists.maptools.org=
>>
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>>href=3D"http://lists.maptools.org/mailman/listinfo/chameleon">http://list=
>>s.maptools.org/mailman/listinfo/chameleon>re>
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'> 
>t
>>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'> 
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'> 
>t
>>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>    =
>>
>> >>
>style=3D'font-size:10.0pt'> 
>t
>>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'>  
>> >>

>color=3Dblack >>face=3D"Times New Roman">>style=3D'font-size:12.0pt'> 

>> >>
>style=3D'font-size:10.0pt'>-- 
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'> --
>ont
>>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'> |Jason =
>>Fournier
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'> |DM Solutions =
>>Group
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'> |Application =
>>Developer
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'> |Ottawa, =
>>ON
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'> |613.565.5056 x =
>>18
>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'> |>href=3D"mailto:jfournier@dmsolutions.ca">jfournier@dmsolutions.ca>
>>>
>
>>size=3D2 color=3Dblack face=3D"Courier New">>style=3D'font-size:10.0pt'> --
>> >> >> >> >> >>------=_NextPart_000_000B_01C3D698.721CD0D0-- >> >> >> >>--__--__-- >> >>Message: 2 >>Date: Fri, 09 Jan 2004 15:15:12 -0500 >>From: Paul Spencer >>Reply-To: spencer@dmsolutions.ca >>Organization: DM Solutions Group Inc >>To: thowlett@whistlermuseum.org >>CC: spencer@dmsolutions.ca, chameleon@lists.maptools.org >>Subject: Re: FW: [Chameleon] Hidden Text >> >>Tracy, >> >>I am sure that there are a bunch more things in there that could output >>text. We'll try to clean them up for the next release. >> >>Cheers, >> >>Paul >> >>Tracy Howlett wrote: >> >> >>>I was wondering why I hadn’t heard anymore about this but I guess it is >>>because it ended up being a private discussion. Anyone else come across >>>this problem? >>> >>> >>> >>>------------------------------------------------------------------------ >>> >>>*From:* Tracy Howlett [mailto:thowlett@whistlermuseum.org] >>>*Sent:* Saturday, January 03, 2004 1:13 PM >>>*To:* 'jfournier@dmsolutions.ca' >>>*Subject:* RE: [Chameleon] Hidden Text >>> >>> >>> >>> >>> >>>Hi Jason, >>> >>> >>> >>>I tried removing those breaks before your response so I can tell you >>>that it doesn’t work. Neither did your new file. >>> >>> >>> >>>I only installed Chameleon about 3 weeks ago so it should have been a >>>fairly recent build. I noticed that someone else asked the same >>>question a while back and I couldn’t find a response. Maybe I’ll search >>>back and send him a note to see if he got it fixed. >>> >>> >>> >>>Tracy >>> >>> >>> >>>------------------------------------------------------------------------ >>> >>>*From:* Jason Fournier [mailto:jfournier@dmsolutions.ca] >>>*Sent:* Saturday, January 03, 2004 12:19 PM >>>*To:* thowlett@whistlermuseum.org >>>*Subject:* Re: [Chameleon] Hidden Text >>> >>> >>> >>>Tracy, >>> >>>If you look in the source of the file you attached (ie, >>>ContextSelector.widget.php) you'll find a function called >>>'GetHTMLHiddenVariables()' beginning on line 172. Inside this function >>>are all the hidden variables required for this widget. You'll notice >>>that there are
's included at the end of each hidden variable >>>declaration. I'm not sure why they are there but you can safely remove >>>them - they are the cause of the white space. The lines containing the >>>
's to remove are as follows: >>> >>>180 >>>184 >>>188 >>>192 >>>225 >>>230 >>>238 >>> >>>I have also attached the file you sent modified with these changes. To >>>test this file please make a backup of >>>/chameleon/htdocs/widgets/ContextSelector.widget.php and place the >>>attached file in that directory. >>> >>>Let me know if that works. If it does could you please post this >>>message to the entire list ... others may be encountering this problem. >>> >>>Please note that the current build of Chameleon contains this fix. >>> >>>Thanks! >>>Jay >>> >>> >>> >>> >>>Tracy Howlett wrote: >>> >>>Jason, >>> >>> >>> >>>If I am using the contextselector widget it is not consciously. I just > > took > >>>the Chameleon sample and built on it. What is the ContextSelector > > widget > >>>for?? I've checked the source code and it does seem that 22 lines of >>> >>>'hidden' text are being added including references to the > > contextselector > >>>variables. >>> >>> >>> >>>Here is the link to my application. >>> >>>http://www.chirpwhistler.info/mapping/CHiRP.phtml >>> >>> >>> >>>And here is my ContextSelector.Widget file. >>> >>> >>> >>>Thanks! >>> >>> >>> >>>Tracy >>> >>> >>> >>>-----Original Message----- >>> >>>From: chameleon-admin@lists.maptools.org > > > >>>[mailto:chameleon-admin@lists.maptools.org] On Behalf Of Jason Fournier >>> >>>Sent: Friday, January 02, 2004 11:16 AM >>> >>>To: thowlett@whistlermuseum.org >>> >>>Cc: chameleon@lists.maptools.org >>> >>>Subject: Re: [Chameleon] Hidden Text >>> >>> >>> >>>Hi Tracy, >>> >>> >>> >>>Are you, by chance, using the ContextSelector widget? I did a little >>> >>>bit of research and found that, in some cases, the ContextSelector >>> >>>outputted
's after each Hidden Variable it wrote out to the page. >>> >>>Please view the source of your page and look for the Hidden Variables >>> >>>(they should be just after the tag). If this is in fact the case >>> >>>could you please email me the ContextSelector.widget.php file from your >>> >>>/chameleon/htdocs/widgets/ directory? >>> >>> >>> >>>Do you have a publicly available URL of your application? I could take >>> >>>a look at the output as well. >>> >>> >>> >>>Thanks, >>> >>>Jason >>> >>> >>> >>> >>> >>> >>> >>>Tracy Howlett wrote: >>> >>> >>> >>> >>> >>> >>>>Hi, >>>> >>>> >>>> >>>>I've seen this question posted a couple of times but haven't found an >>>> >>>> >>> >>>answer >>> >>> >>> >>> >>>>yet! I've got my application working fine now but when the page loads >>>> >>>> >>> >>>there >>> >>> >>> >>> >>>>is a bunch of space at the top of the page. I am pretty new to html >>>> >>>>programming but I figure this is because of all the hidden text? Is > > there > >>>> >>>a >>> >>> >>> >>> >>>>way to make the application load at the top of the page and leave the >>>> >>>> >>> >>>hidden >>> >>> >>> >>> >>>>stuff at the bottom? I've tried moving the code but that doesn't seem > > to > >>>>make any difference. >>>> >>>> >>>> >>>>Cheers and Happy New Year, >>>> >>>> >>>> >>>>Tracy >>>> >>>> >>>> >>>> >>>> >>>>_______________________________________________ >>>> >>>>Chameleon mailing list >>>> >>>>Chameleon@lists.maptools.org >>>> >>>>http://lists.maptools.org/mailman/listinfo/chameleon >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> >>> >>> >>> >>> >>> >>> >>>-- >>> >>> -- >>> >>> |Jason Fournier >>> >>> |DM Solutions Group >>> >>> |Application Developer >>> >>> |Ottawa, ON >>> >>> |613.565.5056 x 18 >>> >>> |jfournier@dmsolutions.ca >>> >>> -- >>> >> >>-- >> ----------------------------------------------------------------- >>|Paul Spencer spencer@dmsolutions.ca | >>|-----------------------------------------------------------------| >>|Applications & Software Development | >>|DM Solutions Group Inc http://www.dmsolutions.ca/| >> ----------------------------------------------------------------- >> >> >> >>--__--__-- >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> >> >>End of Chameleon Digest > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Sun Jan 11 09:07:17 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0BE7H8o013000 for ; Sun, 11 Jan 2004 09:07:17 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i0BE7EI9028123; Sun, 11 Jan 2004 09:07:14 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i0BE7806017028; Sun, 11 Jan 2004 09:07:14 -0500 Message-ID: <40015880.9030306@magma.ca> Date: Sun, 11 Jan 2004 09:06:56 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Holland-Hibbert,Susan [Burlington]" CC: "'chameleon@lists.maptools.org'" , "Astolfo,Rebecca [Burlington]" , "Kralidis,Tom [Burlington]" , "Hall,Sarah [Dartmouth]" , "Alexander,Ryan [Dartmouth]" Subject: Re: [Chameleon] security issue with Layer Manager widget References: <2576812186CDD411BF1500508B6DCE950611689D@ECNWRI1.ontario.int.ec.gc.ca> In-Reply-To: <2576812186CDD411BF1500508B6DCE950611689D@ECNWRI1.ontario.int.ec.gc.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Susan, this is an interesting problem. I'm not sure yet how we can work around it. I guess one way would be to recode the wmsparse utility as a cgi. I'll post a bug on this. Cheers, Paul Holland-Hibbert,Susan [Burlington] wrote: > Hi all, > > > > Our IT group has recently installed Chameleon on a Windows based system > and have discovered a bit of a security risk in the Layer Manager > widget. We have installed the following components on a Windows Server > 2000 and Windows XP machine: > > > > IIS 5.1 > > PHP 4.3.4 > > Mapscript 4.0.1 > > Mapserver 4.0.1 > > Chameleon 1.0.4 > > > > When Chameleon is installed on XP, the Manage Servers button inside the > Layer Manager widget (labelled "Manage Layers" on the CWC2 demo > application) returns the following error when a URL is entered to > connect to a WMS server: > > > > Warning: exec(): Unable to fork > [C:\MapServerTools\CWC2\htdocs\common\wmsparse\win32\wmsparse.exe... > > > > The error is reported on the PHP site as a bug > (http://bugs.php.net/bug.php?id=14897) . Basically, PHP (with IIS) runs > using the web account (IWAM_) and the web account needs > execute access on the cmd.exe file, which is located (on a standard > installation) in the c:\windows\system32 subdirectory. XP automatically > locks down this file and in order to get the Manager Servers button to > work, I had to give IWAM_ execute access on the file, not > something my web server administrators like. The default security > settings for Windows 2000 server allow Everyone to execute this file > which is a security risk. Just as a note: the default settings for > Windows NT Server locked down the file. > > > > Our temporary solution is to not use the Layer Manager widget, but we > anticipate building some applications in the future where our client > would like to have the functionality of the Layer Manager. Has anyone > else experienced this problem and if so, are there any solutions out > there? > > > > Thanks, Sue > > > > _____________________________________________________ > > > > **Susan Holland-Hibbert** > > GIS Specialist / Spécialiste en SIG > > Information Technology Division / Division de la technologie de > l'information > > Ontario Region / Région de l'Ontario > > Environment Canada / Environnement Canada > > 867 Lakeshore Rd. / 867, rue Lakeshore > > Burlington, ON L7R 4A6 > > > > Tel/Tél: (905) 336-6449 Fax/Télécopier: (905) 336-4906 > > E-mail/Courriel: susan.holland-hibbert@ec.gc.ca > > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From tenierer@gov.ns.ca Sun Jan 11 11:31:25 2004 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0BGVO8o013500 for ; Sun, 11 Jan 2004 11:31:25 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Sun, 11 Jan 2004 12:31:24 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Sun, 11 Jan 2004 12:31:23 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Sun, 11 Jan 2004 12:31:14 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Sun, 11 Jan 2004 12:31:00 -0400 From: "Rene Teniere " To: , Subject: Re: [Chameleon] Query Widget Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Guinevere: 2.0.13 ; Province of Nova Sco Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Tracy, I'm having the same problems as you in reference to those particular widgets. Rene Rene J.R. Teniere - BSc., D.GIS GIS Technician Nova Scotia Department of Natural Resources Forestry Division (GIS) - Truro Phone: (902) 893-5655 Mobile: (902) 209-8956 >>> "Tracy Howlett" 01/10/04 6:36 PM >>> I'm trying to implement the Query widget but I'm getting the following error: PHP Fatal error: Cannot instantiate non-existent class: cwcpopup in C:\apps\cwc2\htdocs\widgets\Query.widget.php on line 56 I can't find any documentation on the cwcpopup class (or lack thereof!). I'm also having problems getting the PrintWidget and HelpWidget working. Are there any known issues with these widgets? My setup: MapServer 4.0.1 PHP/MapScript 4.3.4 Chameleon 1.1 Win XP (must also work on Server 2003) _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From bartvde@xs4all.nl Sun Jan 11 15:02:42 2004 Received: from smtpzilla3.xs4all.nl (smtpzilla3.xs4all.nl [194.109.127.139]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0BK2e8o014225 for ; Sun, 11 Jan 2004 15:02:41 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla3.xs4all.nl (8.12.10/8.12.10) with ESMTP id i0BK2X1x067180 for ; Sun, 11 Jan 2004 21:02:39 +0100 (CET) To: "chameleon@lists.maptools.org" Subject: Re: [Chameleon] mousemove and CPU Reply-To: bartvde@xs4all.nl References: <3FFDCC29.5070703@magma.ca> Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Sun, 11 Jan 2004 21:02:31 +0100 In-Reply-To: <3FFDCC29.5070703@magma.ca> User-Agent: Opera7.22/Win32 M2 build 3221 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Paul, I have the feeling this is especially the case when the ROI tool is in the application. I have 2 applications, one with the ROI Rectangle tool, and one without. And for the application with the ROI tool, the mouse movement is really slower/taking more CPU than in the application without the ROI tool. Also when doing some profiling with Venkman in Mozilla (great tool BTW) the ROI mousemove functions are among the most heavy ones. Function Name: ROIRectToolGetMousePosition (Lines 1148 - 1188) Total Calls: 114 (max recurse 0) Total Time: 761.09 (min/max/avg 10.01/10.02/6.68) Function Name: ROIRectToolMouseMove (Lines 1190 - 1211) Total Calls: 114 (max recurse 0) Total Time: 761.09 (min/max/avg 10.01/10.02/6.68) Best regards, Bart On Thu, 08 Jan 2004 16:31:21 -0500, Paul Spencer wrote: > Bart, > > we are (hopefully) going to be looking into this issue with JF Doyon and > NRCan. The current mechanism is to attach to the onmousemove event > handler of the document object. We are proposing to replace this with > an event handler on the map image (or layer or whatever works in most > DOMs) with backwards compatibility to use the existing mechanism. This > requires some rework since all the move movement handling is done in > slightly different ways and I would like to consolidate this into one > centralized handling function. > > As to why it happens over the document and not the map image, I have no > clue! Any hints on this would be great. > > Cheers, > > Paul > > Bart van den Eijnden wrote: > >> Hi list, >> >> I have been looking a little bit into the CPU usage of a Chameleon >> application and see that the things that occur on the mouse move event >> take a lot of CPU (50-100% depending on the speed of movement). Perhaps >> some of these functions could be on intervals which are more friendly >> to the CPU usage? >> >> Also, I noticed that this does not only occur when moving over the map >> area, but this occurs when moving over any part of the page. That's >> quite strange, because no coordinates etc. need to be updated when >> moving the mouse around outside the map area. >> >> Best regards, >> Bart _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > -- From bartvde@xs4all.nl Sun Jan 11 18:34:39 2004 Received: from smtpzilla5.xs4all.nl (smtpzilla5.xs4all.nl [194.109.127.141]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0BNYc8o014867 for ; Sun, 11 Jan 2004 18:34:39 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla5.xs4all.nl (8.12.10/8.12.10) with ESMTP id i0BNYN7o076413 for ; Mon, 12 Jan 2004 00:34:38 +0100 (CET) Date: Mon, 12 Jan 2004 00:34:21 +0100 To: "chameleon@lists.maptools.org" Reply-To: bartvde@xs4all.nl From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera7.22/Win32 M2 build 3221 Subject: [Chameleon] mouse events, active tool Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, I want to address 2 issues in this e-mail, which are slightly related. First of all I have noticed that the navigational tools work with all mouse buttons, i.e. also when pressing the right mouse button the map zooms in etc. This complicates things when a user wants to save the map image using the "save image as" browser functionality. Chameleon will act on the active navigational command, instead of presenting the browser popup menu. Also there is no way to clear the active navigational tool as far as I have noticed. You can change it by clicking on another navigational tool, but not "clear" it. Secondly, a previously noted issue came to my mind, the problem when a user selects an item from the locations picklist (quickview), that Chameleon also processes according to the current/active navigational command. E.g. if the Query tool is the active tool, you also get the Query results presented when selecting a location to zoom to. BTW I don't know for sure if the Query tool also works through the NAV_CMD variable. In my opinion, some of this behaviour could be corrected by: a) do not let navigational tools work on a right mouse button press b) when selecting/using another widget, put the NAV_CMD to an empty string, so that there is no active navigational tool on the map. E.g. on the OnEnter event of the select box of the quickview, set NAV_CMD to an empty string. Any thoughts on this? Best regards, Bart From Tom.Kralidis@ec.gc.ca Mon Jan 12 07:41:33 2004 Received: from ecnwri1.ontario.int.ec.gc.ca (ecolink.cciw.ca [192.75.68.254]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0CCfX8o017918 for ; Mon, 12 Jan 2004 07:41:33 -0500 Received: by ECNWRI1.ontario.int.ec.gc.ca with Internet Mail Service (5.5.2657.72) id ; Mon, 12 Jan 2004 07:41:21 -0500 Message-ID: <2576812186CDD411BF1500508B6DCE9505D49487@ECNWRI1.ontario.int.ec.gc.ca> From: "Kralidis,Tom [Burlington]" To: "'spencer@dmsolutions.ca'" , "Holland-Hibbert,Susan [Burlington]" Cc: "'chameleon@lists.maptools.org'" , "Astolfo,Rebecca [Burlington]" , "Hall,Sarah [Dartmouth]" , "Alexander,Ryan [Dartmouth]" Subject: RE: [Chameleon] security issue with Layer Manager widget Date: Mon, 12 Jan 2004 07:41:15 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i0CCfX8o017918 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, Paul: thanks for filing this in bugzilla. We'll have to somewhow turn this off in our deployment, as it poses a security risk to our IT i/f. Can something like SWIG be used here to glue PHP to C? ..Tom ========================= Tom Kralidis Systems Scientist Environment Canada Tel: +01-905-336-4409 http://www.ec.gc.ca/cise/ ========================= > -----Original Message----- > From: Paul Spencer [mailto:pagameba@magma.ca] > Sent: Sunday, January 11, 2004 9:07 AM > To: Holland-Hibbert,Susan [Burlington] > Cc: 'chameleon@lists.maptools.org'; Astolfo,Rebecca > [Burlington]; Kralidis,Tom [Burlington]; Hall,Sarah > [Dartmouth]; Alexander,Ryan [Dartmouth] > Subject: Re: [Chameleon] security issue with Layer Manager widget > > > Susan, this is an interesting problem. I'm not sure yet how > we can work > around it. I guess one way would be to recode the wmsparse > utility as a > cgi. > > I'll post a bug on this. > > Cheers, > > Paul > > Holland-Hibbert,Susan [Burlington] wrote: > > > Hi all, > > > > > > > > Our IT group has recently installed Chameleon on a Windows based > > system > > and have discovered a bit of a security risk in the Layer Manager > > widget. We have installed the following components on a > Windows Server > > 2000 and Windows XP machine: > > > > > > > > IIS 5.1 > > > > PHP 4.3.4 > > > > Mapscript 4.0.1 > > > > Mapserver 4.0.1 > > > > Chameleon 1.0.4 > > > > > > > > When Chameleon is installed on XP, the Manage Servers button inside > > the > > Layer Manager widget (labelled "Manage Layers" on the CWC2 demo > > application) returns the following error when a URL is entered to > > connect to a WMS server: > > > > > > > > Warning: exec(): Unable to fork > > [C:\MapServerTools\CWC2\htdocs\common\wmsparse\win32\wmsparse.exe... > > > > > > > > The error is reported on the PHP site as a bug > > (http://bugs.php.net/bug.php?id=14897) . Basically, PHP > (with IIS) runs > > using the web account (IWAM_) and the web > account needs > > execute access on the cmd.exe file, which is located (on a standard > > installation) in the c:\windows\system32 subdirectory. XP > automatically > > locks down this file and in order to get the Manager > Servers button to > > work, I had to give IWAM_ execute access on > the file, not > > something my web server administrators like. The default security > > settings for Windows 2000 server allow Everyone to execute > this file > > which is a security risk. Just as a note: the default settings for > > Windows NT Server locked down the file. > > > > > > > > Our temporary solution is to not use the Layer Manager > widget, but we > > anticipate building some applications in the future where > our client > > would like to have the functionality of the Layer Manager. > Has anyone > > else experienced this problem and if so, are there any > solutions out > > there? > > > > > > > > Thanks, Sue > > > > > > > > _____________________________________________________ > > > > > > > > **Susan Holland-Hibbert** > > > > GIS Specialist / Spécialiste en SIG > > > > Information Technology Division / Division de la technologie de > > l'information > > > > Ontario Region / Région de l'Ontario > > > > Environment Canada / Environnement Canada > > > > 867 Lakeshore Rd. / 867, rue Lakeshore > > > > Burlington, ON L7R 4A6 > > > > > > > > Tel/Tél: (905) 336-6449 Fax/Télécopier: (905) 336-4906 > > > > E-mail/Courriel: susan.holland-hibbert@ec.gc.ca > > > > > > > > -- > ----------------------------------------------------------------- > |Paul Spencer spencer@dmsolutions.ca | > |-----------------------------------------------------------------| > |Applications & Software Development | > |DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/cha> meleon > From pagameba@magma.ca Mon Jan 12 08:35:15 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0CDZF8o018088 for ; Mon, 12 Jan 2004 08:35:15 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i0CDZFk4000829; Mon, 12 Jan 2004 08:35:15 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i0CDZAin014232; Mon, 12 Jan 2004 08:35:15 -0500 Message-ID: <4002A28D.10308@magma.ca> Date: Mon, 12 Jan 2004 08:35:09 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: "chameleon@lists.maptools.org" Subject: Re: [Chameleon] mouse events, active tool References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, I agree with your evaluation of how mouse handling should be done. As part of fixing the javascript performance issue (by restricting mouse events to the map image), I will also try to accomodate your request to not interpret the right mouse button as an action button. For the navigation commands, there are a couple of known issues. One is that the mouse click handling is fairly promiscuous, so if you have a select box that overlaps the map image and you select an item in the list, then a mouse click is generated on the map too. I am hoping to fix this particular problem within the same mechanism, by only connecting to mouse click events when the mouse is actually over the map, but I may have to do something along the lines you suggest to ensure that activating another tool doesn't cause some navigation effect. The problem with this is that selecting something from the quickzoom or some other input on the page should not really cancel the fact that you have the zoom in tool selected, for instance. Thanks for all the great input, Cheers, Paul Bart van den Eijnden wrote: > Hi list, > > I want to address 2 issues in this e-mail, which are slightly related. > > First of all I have noticed that the navigational tools work with all > mouse buttons, i.e. also when pressing the right mouse button the map > zooms in etc. This complicates things when a user wants to save the map > image using the "save image as" browser functionality. Chameleon will > act on the active navigational command, instead of presenting the > browser popup menu. Also there is no way to clear the active > navigational tool as far as I have noticed. You can change it by > clicking on another navigational tool, but not "clear" it. > > Secondly, a previously noted issue came to my mind, the problem when a > user selects an item from the locations picklist (quickview), that > Chameleon also processes according to the current/active navigational > command. E.g. if the Query tool is the active tool, you also get the > Query results presented when selecting a location to zoom to. BTW I > don't know for sure if the Query tool also works through the NAV_CMD > variable. > > In my opinion, some of this behaviour could be corrected by: > > a) do not let navigational tools work on a right mouse button press > b) when selecting/using another widget, put the NAV_CMD to an empty > string, so that there is no active navigational tool on the map. E.g. on > the OnEnter event of the select box of the quickview, set NAV_CMD to an > empty string. > > Any thoughts on this? > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Mon Jan 12 08:37:27 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0CDbR8o018108 for ; Mon, 12 Jan 2004 08:37:27 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i0CDbR5X020468; Mon, 12 Jan 2004 08:37:27 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i0CDbOin016263; Mon, 12 Jan 2004 08:37:27 -0500 Message-ID: <4002A314.5000105@magma.ca> Date: Mon, 12 Jan 2004 08:37:24 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: "chameleon@lists.maptools.org" Subject: Re: [Chameleon] mousemove and CPU References: <3FFDCC29.5070703@magma.ca> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, these tools just exagerate the existing problem. The fix, I hope, is to provide the mouse handling through a single interface provided by the map image, and things like GetMousePosition will only be done once rather than for every widget that tracks mouse movement. I am also toying with the idea of only having a single tool active on the map to further reduce the amount of javascript that has to be run within the event handler. Cheers, Paul Bart van den Eijnden wrote: > Hi Paul, > > I have the feeling this is especially the case when the ROI tool is in > the application. I have 2 applications, one with the ROI Rectangle tool, > and one without. And for the application with the ROI tool, the mouse > movement is really slower/taking more CPU than in the application > without the ROI tool. > > Also when doing some profiling with Venkman in Mozilla (great tool BTW) > the ROI mousemove functions are among the most heavy ones. > > Function Name: ROIRectToolGetMousePosition (Lines 1148 - 1188) > Total Calls: 114 (max recurse 0) > Total Time: 761.09 (min/max/avg 10.01/10.02/6.68) > > > Function Name: ROIRectToolMouseMove (Lines 1190 - 1211) > Total Calls: 114 (max recurse 0) > Total Time: 761.09 (min/max/avg 10.01/10.02/6.68) > > Best regards, > Bart > > On Thu, 08 Jan 2004 16:31:21 -0500, Paul Spencer wrote: > >> Bart, >> >> we are (hopefully) going to be looking into this issue with JF Doyon >> and NRCan. The current mechanism is to attach to the onmousemove >> event handler of the document object. We are proposing to replace >> this with an event handler on the map image (or layer or whatever >> works in most DOMs) with backwards compatibility to use the existing >> mechanism. This requires some rework since all the move movement >> handling is done in slightly different ways and I would like to >> consolidate this into one centralized handling function. >> >> As to why it happens over the document and not the map image, I have >> no clue! Any hints on this would be great. >> >> Cheers, >> >> Paul >> >> Bart van den Eijnden wrote: >> >>> Hi list, >>> >>> I have been looking a little bit into the CPU usage of a Chameleon >>> application and see that the things that occur on the mouse move >>> event take a lot of CPU (50-100% depending on the speed of movement). >>> Perhaps some of these functions could be on intervals which are more >>> friendly to the CPU usage? >>> >>> Also, I noticed that this does not only occur when moving over the >>> map area, but this occurs when moving over any part of the page. >>> That's quite strange, because no coordinates etc. need to be updated >>> when moving the mouse around outside the map area. >>> >>> Best regards, >>> Bart _______________________________________________ >>> Chameleon mailing list >>> Chameleon@lists.maptools.org >>> http://lists.maptools.org/mailman/listinfo/chameleon >>> >> > > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From TENIERER@gov.ns.ca Mon Jan 12 08:37:28 2004 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0CDbR8o018111 for ; Mon, 12 Jan 2004 08:37:28 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 12 Jan 2004 09:37:27 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 12 Jan 2004 09:37:26 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Mon, 12 Jan 2004 09:37:21 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Mon, 12 Jan 2004 09:37:13 -0400 From: "Rene Teniere " To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Guinevere: 2.0.13 ; Province of Nova Sco Subject: [Chameleon] LegendTemplate Widget Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi All, Can't seem to be able to get the LegendTemplate Widget to work. ErrorReport says that no legend template is specified, even though it is. The template is a standard MapServer legend template format, and I have used several different ones, as well as legend_template_widget.html. I have also tried removing the template reference in the mapfile with no results. Anyone know what's up with this? I've been working on this for two days and am starting to pull my hair out. Rene Rene J.R. Teniere - BSc., D.GIS GIS Technician Nova Scotia Department of Natural Resources Forestry Division (GIS) - Truro Phone: (902) 893-5655 Mobile: (902) 209-8956 From pagameba@magma.ca Mon Jan 12 09:05:58 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0CE5w8o018249 for ; Mon, 12 Jan 2004 09:05:58 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i0CE5umG010891; Mon, 12 Jan 2004 09:05:56 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i0CE5s6N019565; Mon, 12 Jan 2004 09:05:56 -0500 Message-ID: <4002A9C1.8080300@magma.ca> Date: Mon, 12 Jan 2004 09:05:53 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rene Teniere CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] LegendTemplate Widget References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Rene, for some reason, it is not finding your template but I can't figure out why not. You can try setting the template as an HTTP:// reference, the code also handles that. You can also try adding 'embedded="false"' to the widget, which will make the legend appear in a popup when you click the text button. That does mean that you will need to provide some additional parameters for the popup and textbutton though. Unfortunately, it seems to work fine here. Are you willing to dig into the code a little bit? If yes, the you can edit the LegendTemplate.widget.php file in the InitDefaults function and place some echo statements at various places to see which code is executing, ie echo 'step 1'; echo 'step 2'; and so on. The basic purpose of this is to find out where the code ends up setting the variable $this->mszTemplate to an empty string (or fails to set it to the correct value). Cheers, Paul Rene Teniere wrote: > Hi All, > > Can't seem to be able to get the LegendTemplate Widget to work. > ErrorReport says that no legend template is specified, even though it > is. The template is a standard MapServer legend template format, and I > have used several different ones, as well as > legend_template_widget.html. I have also tried removing the template > reference in the mapfile with no results. Anyone know what's up with > this? I've been working on this for two days and am starting to pull my > hair out. > > Rene > > template="C:/chameleon11a/websites/template/legend_template_chameleon.html"/> > > > Rene J.R. Teniere - BSc., D.GIS > GIS Technician > Nova Scotia Department of Natural Resources > Forestry Division (GIS) - Truro > > Phone: (902) 893-5655 > Mobile: (902) 209-8956 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Hans.Verlouw@Geodan.nl Mon Jan 12 09:12:01 2004 Received: from mail.vz.geodan.nl (host-3.geodan.demon.nl [212.238.227.179]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0CEC08o018296 for ; Mon, 12 Jan 2004 09:12:01 -0500 Received: from cp93489-a.Geodan.nl ([212.238.227.182]) by mail.vz.geodan.nl (mail.vz.geodan.nl [212.238.227.179]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 52-md50000000506.tmp for ; Mon, 12 Jan 2004 15:11:13 +0100 Message-Id: <5.1.0.14.2.20040112150338.00bcfe68@mail.vz.geodan.nl> X-Sender: HansV@mail.vz.geodan.nl X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 12 Jan 2004 15:11:11 +0100 To: "chameleon@lists.maptools.org" From: Hans Verlouw Subject: Re: [Chameleon] mousemove and CPU In-Reply-To: <4002A314.5000105@magma.ca> References: <3FFDCC29.5070703@magma.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Processed: mail.vz.geodan.nl, Mon, 12 Jan 2004 15:11:13 +0100 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 212.238.227.182 X-Return-Path: Hans.Verlouw@Geodan.nl X-MDaemon-Deliver-To: chameleon@lists.maptools.org Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Paul, Do you mean that everytime you choose another tool, a new map request has to be done again? Or at least the PHP code gets reprocessed? At 1/12/2004 02:37 PM, Paul Spencer wrote: >I am also toying with the idea of only having a single tool active on the >map to further reduce the amount of javascript that has to be run within >the event handler. Best regards, Hans Verlouw ------------------------------------- Geodan SDT b.v. Buitenhaven 27-A 5211 TP 's-Hertogenbosch (NL) ------------------------------------- Tel: +31 (0)73 - 692 5151 Fax: +31 (0)73 - 692 5150 ------------------------------------- Postadres / mailing address President Kennedylaan 1 1079 MB Amsterdam (NL) ------------------------------------- E-mail: Hans.Verlouw@Geodan.nl Website: www.geodan.nl Disclaimer: www.geodan.nl/disclaimer ------------------------------------- From pagameba@magma.ca Mon Jan 12 09:19:30 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0CEJU8o018332 for ; Mon, 12 Jan 2004 09:19:30 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i0CEJSmG016422; Mon, 12 Jan 2004 09:19:28 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i0CEJPRY010772; Mon, 12 Jan 2004 09:19:27 -0500 Message-ID: <4002ACEC.9020201@magma.ca> Date: Mon, 12 Jan 2004 09:19:24 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Hans Verlouw CC: "chameleon@lists.maptools.org" Subject: Re: [Chameleon] mousemove and CPU References: <3FFDCC29.5070703@magma.ca> <5.1.0.14.2.20040112150338.00bcfe68@mail.vz.geodan.nl> In-Reply-To: <5.1.0.14.2.20040112150338.00bcfe68@mail.vz.geodan.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: No. It means that every tool that could want to process mouse movement registers a mouse movement handler with the chameleon core function CWC2OnMouseMove and all the handlers get called regardless of which tool is active. My change would probably change this so that only if a tool is selected would it's handler become active. But I will have to think carefully about this because some widgets are always active (cursor position for instance). Cheers, Paul Hans Verlouw wrote: > Paul, > > Do you mean that everytime you choose another tool, a new map request > has to be done again? Or at least the PHP code gets reprocessed? > > At 1/12/2004 02:37 PM, Paul Spencer wrote: > >> I am also toying with the idea of only having a single tool active on >> the map to further reduce the amount of javascript that has to be run >> within the event handler. > > > Best regards, > > Hans Verlouw > ------------------------------------- > Geodan SDT b.v. > Buitenhaven 27-A > 5211 TP 's-Hertogenbosch (NL) > ------------------------------------- > Tel: +31 (0)73 - 692 5151 > Fax: +31 (0)73 - 692 5150 > ------------------------------------- > Postadres / mailing address > President Kennedylaan 1 > 1079 MB Amsterdam (NL) > ------------------------------------- > E-mail: Hans.Verlouw@Geodan.nl > Website: www.geodan.nl > Disclaimer: www.geodan.nl/disclaimer > ------------------------------------- > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From TENIERER@gov.ns.ca Mon Jan 12 09:35:53 2004 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0CEZr8o018408 for ; Mon, 12 Jan 2004 09:35:53 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 12 Jan 2004 10:35:52 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 12 Jan 2004 10:35:52 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Mon, 12 Jan 2004 10:35:43 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Mon, 12 Jan 2004 10:35:26 -0400 From: "Rene Teniere " To: Cc: Subject: Re: [Chameleon] LegendTemplate Widget and Print Widget Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Guinevere: 2.0.13 ; Province of Nova Sco Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Paul, Thanks, I will try that. Using the URL reference did not work though. One other thing I discovered... when I use the Print Widget, it will only work if the scalebar is not checked, otherwise I get a php.exe application error... weird. Rene >>> pagameba@magma.ca 2004-01-12 10:05:53 AM >>> Rene, for some reason, it is not finding your template but I can't figure out why not. You can try setting the template as an HTTP:// reference, the code also handles that. You can also try adding 'embedded="false"' to the widget, which will make the legend appear in a popup when you click the text button. That does mean that you will need to provide some additional parameters for the popup and textbutton though. Unfortunately, it seems to work fine here. Are you willing to dig into the code a little bit? If yes, the you can edit the LegendTemplate.widget.php file in the InitDefaults function and place some echo statements at various places to see which code is executing, ie echo 'step 1'; echo 'step 2'; and so on. The basic purpose of this is to find out where the code ends up setting the variable $this->mszTemplate to an empty string (or fails to set it to the correct value). Cheers, Paul Rene Teniere wrote: > Hi All, > > Can't seem to be able to get the LegendTemplate Widget to work. > ErrorReport says that no legend template is specified, even though it > is. The template is a standard MapServer legend template format, and I > have used several different ones, as well as > legend_template_widget.html. I have also tried removing the template > reference in the mapfile with no results. Anyone know what's up with > this? I've been working on this for two days and am starting to pull my > hair out. > > Rene > > template="C:/chameleon11a/websites/template/legend_template_chameleon.html"/> > > > Rene J.R. Teniere - BSc., D.GIS > GIS Technician > Nova Scotia Department of Natural Resources > Forestry Division (GIS) - Truro > > Phone: (902) 893-5655 > Mobile: (902) 209-8956 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From bartvde@xs4all.nl Mon Jan 12 09:51:08 2004 Received: from smtpzilla1.xs4all.nl (smtpzilla1.xs4all.nl [194.109.127.137]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0CEoq8o018476 for ; Mon, 12 Jan 2004 09:51:08 -0500 Received: from webmail.xs4all.nl (webmail8.xs4all.nl [194.109.127.33]) by smtpzilla1.xs4all.nl (8.12.10/8.12.10) with SMTP id i0CEodLS009115 for ; Mon, 12 Jan 2004 15:50:44 +0100 (CET) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Mon, 12 Jan 2004 15:50:44 +0100 (CET) Message-ID: <8314.212.238.227.182.1073919044.squirrel@webmail.xs4all.nl> Date: Mon, 12 Jan 2004 15:50:44 +0100 (CET) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [Chameleon] multiple zoomin before map arrives Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, when zooming in on the map, sometimes users get impatient (at least a colleague of mine who just tested the application .... :-( ) and click on the map again before the map update has finished. In this case the Chameleon client application will "hang". The same thing happens when first clicking in the map with the zoomin tool, and then drawing a box before the map update finishes. Also when pressing the "update map" button twice too soon, the same thing happens. Is there any way to prevent this behaviour? It is a pretty serious issue in my opinion, as the result can be that the application hangs. Best regards, Bart From pagameba@magma.ca Mon Jan 12 10:00:23 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0CF0G8o018563 for ; Mon, 12 Jan 2004 10:00:23 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i0CF0BmG001723; Mon, 12 Jan 2004 10:00:11 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i0CF05Hk000812; Mon, 12 Jan 2004 10:00:11 -0500 Message-ID: <4002B674.9000202@magma.ca> Date: Mon, 12 Jan 2004 10:00:04 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rene Teniere CC: spencer@dmsolutions.ca, chameleon@lists.maptools.org Subject: Re: [Chameleon] LegendTemplate Widget and Print Widget References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Please file a bug on maptools.org related to the print problem. Cheers, Paul Rene Teniere wrote: > Paul, > > Thanks, I will try that. Using the URL reference did not work though. > One other thing I discovered... when I use the Print Widget, it will > only work if the scalebar is not checked, otherwise I get a php.exe > application error... weird. > > Rene > > >>>>pagameba@magma.ca 2004-01-12 10:05:53 AM >>> > > Rene, > > for some reason, it is not finding your template but I can't figure out > > why not. You can try setting the template as an HTTP:// reference, the > > code also handles that. You can also try adding 'embedded="false"' to > > the widget, which will make the legend appear in a popup when you click > > the text button. That does mean that you will need to provide some > additional parameters for the popup and textbutton though. > > Unfortunately, it seems to work fine here. Are you willing to dig into > > the code a little bit? If yes, the you can edit the > LegendTemplate.widget.php file in the InitDefaults function and place > some echo statements at various places to see which code is executing, > > ie echo 'step 1'; echo 'step 2'; and so on. > > The basic purpose of this is to find out where the code ends up setting > > the variable $this->mszTemplate to an empty string (or fails to set it > > to the correct value). > > Cheers, > > Paul > > Rene Teniere wrote: > > >>Hi All, >> >>Can't seem to be able to get the LegendTemplate Widget to work. >>ErrorReport says that no legend template is specified, even though > > it > >>is. The template is a standard MapServer legend template format, and > > I > >>have used several different ones, as well as >>legend_template_widget.html. I have also tried removing the template >>reference in the mapfile with no results. Anyone know what's up with >>this? I've been working on this for two days and am starting to pull > > my > >>hair out. >> >>Rene >> >>> > > template="C:/chameleon11a/websites/template/legend_template_chameleon.html"/> > >> >>Rene J.R. Teniere - BSc., D.GIS >>GIS Technician >>Nova Scotia Department of Natural Resources >>Forestry Division (GIS) - Truro >> >>Phone: (902) 893-5655 >>Mobile: (902) 209-8956 >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Mon Jan 12 10:02:46 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0CF2k8o018600 for ; Mon, 12 Jan 2004 10:02:46 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i0CF2jfm031975; Mon, 12 Jan 2004 10:02:45 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i0CF2hHk004907; Mon, 12 Jan 2004 10:02:45 -0500 Message-ID: <4002B712.7000405@magma.ca> Date: Mon, 12 Jan 2004 10:02:42 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] multiple zoomin before map arrives References: <8314.212.238.227.182.1073919044.squirrel@webmail.xs4all.nl> In-Reply-To: <8314.212.238.227.182.1073919044.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, I think this is an issue with IE. I have noticed this in chameleon but also other applications I think. I have never had the problem in Mozilla (that I am aware of). One possible cause could be that the mouse events are still processed after a submit? If this is the case then the new javascript framework should be designed to allow event handling to be turned off on a page submit. I don't know if this will fix the problem. Cheers, Paul bartvde@xs4all.nl wrote: > Hi list, > > when zooming in on the map, sometimes users get impatient (at least a > colleague of mine who just tested the application .... :-( ) and click on > the map again before the map update has finished. In this case the > Chameleon client application will "hang". > > The same thing happens when first clicking in the map with the zoomin > tool, and then drawing a box before the map update finishes. > > Also when pressing the "update map" button twice too soon, the same thing > happens. > > Is there any way to prevent this behaviour? It is a pretty serious issue > in my opinion, as the result can be that the application hangs. > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From TENIERER@gov.ns.ca Mon Jan 12 10:53:48 2004 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0CFrl8o018857 for ; Mon, 12 Jan 2004 10:53:47 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 12 Jan 2004 11:53:46 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 12 Jan 2004 11:53:45 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Mon, 12 Jan 2004 11:53:37 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Mon, 12 Jan 2004 11:53:24 -0400 From: "Rene Teniere " To: , Cc: Subject: Re: [Chameleon] LegendTemplate Widget Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Paul, Well... Here goes, did a little digging and this is what I came up with. You can be the judge of the results: function InitDefaults() { if (isset($this->maParams["EMBEDDED"]) && strcasecmp(trim($this->maParams["EMBEDDED"]), "FALSE") == 0) { $this->moTextButton = new CWCTextButton($this); $this->moPopup = new CWCPopup($this); $this->moPopup->mszLink = "widgets/LegendTemplatePopup.phtml"; $this->moTextButton->InitDefaults(); echo 'step1 '; } if (isset($this->maParams["TEMPLATE"])) { echo 'step2 '; $this->mszTemplate = trim($this->maParams["TEMPLATE"]); print($this->maParams["TEMPLATE"]); //TEMPLATE is relative to the application template, not the map file :) print($this->mszTemplate); if (strcmp(substr($this->mszTemplate, 0, 1), "/") || strcmp(substr($this->mszTemplate, 1, 1), ":") || strcmp(substr($this->mszTemplate, 0, 1), "\\") ) { $oChameleon = GetChameleonApplication(); $szTemplatePath = dirname($oChameleon->mszTemplateName); $this->mszTemplate = realpath($szTemplatePath."/".$this->mszTemplate); echo ' not HTTP:// '; print($this->mszTemplate); } if (strtoupper(substr($this->mszTemplate, 0, 7)) == "http://") { echo 'step3 '; $aszFile = file($this->mszTemplate); $szTmpName = tempnam($_SESSION['gszTmpPath'], "legendtemplate").".html"; $fh = fopen($szTmpName, "w"); $nbLine = count($aszFile); for($i=0; $i<$nbLine; $i++) { fwrite($fh, $aszFile[$i]); } fclose($fh); $this->mszTemplate = $szTmpName; print($this->mszTemplate); } } } Here is the output: step1 step2 c:/chameleon11a/websites/template/legend_template.html c:/chameleon11a/websites/template/legend_template.html not HTTP:// Also, here is another error message: PHP Notice: Use of undefined constant ERR_ERROR - assumed 'ERR_ERROR' in c:\chameleon11a\htdocs\widgets\LegendTemplate.widget.php on line 372 P.S. I know the template is pointed into the right direction because when I put 'c:/chameleon11a/websites/template/legend_template.html' into my web browser, it will show up. Rene >>> pagameba@magma.ca 2004-01-12 10:05:53 AM >>> Rene, for some reason, it is not finding your template but I can't figure out why not. You can try setting the template as an HTTP:// reference, the code also handles that. You can also try adding 'embedded="false"' to the widget, which will make the legend appear in a popup when you click the text button. That does mean that you will need to provide some additional parameters for the popup and textbutton though. Unfortunately, it seems to work fine here. Are you willing to dig into the code a little bit? If yes, the you can edit the LegendTemplate.widget.php file in the InitDefaults function and place some echo statements at various places to see which code is executing, ie echo 'step 1'; echo 'step 2'; and so on. The basic purpose of this is to find out where the code ends up setting the variable $this->mszTemplate to an empty string (or fails to set it to the correct value). Cheers, Paul Rene Teniere wrote: > Hi All, > > Can't seem to be able to get the LegendTemplate Widget to work. > ErrorReport says that no legend template is specified, even though it > is. The template is a standard MapServer legend template format, and I > have used several different ones, as well as > legend_template_widget.html. I have also tried removing the template > reference in the mapfile with no results. Anyone know what's up with > this? I've been working on this for two days and am starting to pull my > hair out. > > Rene > > template="C:/chameleon11a/websites/template/legend_template_chameleon.html"/> > > > Rene J.R. Teniere - BSc., D.GIS > GIS Technician > Nova Scotia Department of Natural Resources > Forestry Division (GIS) - Truro > > Phone: (902) 893-5655 > Mobile: (902) 209-8956 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From bartvde@xs4all.nl Mon Jan 12 11:24:00 2004 Received: from smtpzilla2.xs4all.nl (smtpzilla2.xs4all.nl [194.109.127.138]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0CGNx8o019000 for ; Mon, 12 Jan 2004 11:23:59 -0500 Received: from webmail.xs4all.nl (webmail8.xs4all.nl [194.109.127.33]) by smtpzilla2.xs4all.nl (8.12.10/8.12.10) with SMTP id i0CGNlJ1075155; Mon, 12 Jan 2004 17:23:51 +0100 (CET) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Mon, 12 Jan 2004 17:23:56 +0100 (CET) Message-ID: <19732.212.238.227.182.1073924636.squirrel@webmail.xs4all.nl> In-Reply-To: <4002B712.7000405@magma.ca> References: <8314.212.238.227.182.1073919044.squirrel@webmail.xs4all.nl> <4002B712.7000405@magma.ca> Date: Mon, 12 Jan 2004 17:23:56 +0100 (CET) Subject: Re: [Chameleon] multiple zoomin before map arrives From: bartvde@xs4all.nl To: spencer@dmsolutions.ca Cc: bartvde@xs4all.nl, chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Paul, I checked and you're right that this is an IE only issue (like many others ofcourse :-( ). I found a possible solution but don't know exactly where to add this to Chameleon, perhaps you can point me to the right widget/piece of code to implement this, as this is a "killing bug" for us since our customer only works with IE 6. The solution is at: http://www.insidedhtml.com/tips/backend/ts04/page2.asp Thanks in advance. Best regards, Bart > Bart, > > I think this is an issue with IE. I have noticed this in chameleon but > also other applications I think. I have never had the problem in > Mozilla (that I am aware of). One possible cause could be that the > mouse events are still processed after a submit? If this is the case > then the new javascript framework should be designed to allow event > handling to be turned off on a page submit. I don't know if this will > fix the problem. > > Cheers, > > Paul > > bartvde@xs4all.nl wrote: > >> Hi list, >> >> when zooming in on the map, sometimes users get impatient (at least a >> colleague of mine who just tested the application .... :-( ) and click >> on >> the map again before the map update has finished. In this case the >> Chameleon client application will "hang". >> >> The same thing happens when first clicking in the map with the zoomin >> tool, and then drawing a box before the map update finishes. >> >> Also when pressing the "update map" button twice too soon, the same >> thing >> happens. >> >> Is there any way to prevent this behaviour? It is a pretty serious issue >> in my opinion, as the result can be that the application hangs. >> >> Best regards, >> Bart >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > > -- > ----------------------------------------------------------------- > |Paul Spencer spencer@dmsolutions.ca | > |-----------------------------------------------------------------| > |Applications & Software Development | > |DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > > From bartvde@xs4all.nl Mon Jan 12 12:52:52 2004 Received: from smtpzilla2.xs4all.nl (smtpzilla2.xs4all.nl [194.109.127.138]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0CHqp8o019381 for ; Mon, 12 Jan 2004 12:52:51 -0500 Received: from webmail.xs4all.nl (webmail8.xs4all.nl [194.109.127.33]) by smtpzilla2.xs4all.nl (8.12.10/8.12.10) with SMTP id i0CHqnr3019886 for ; Mon, 12 Jan 2004 18:52:50 +0100 (CET) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Mon, 12 Jan 2004 18:52:50 +0100 (CET) Message-ID: <19567.212.238.227.182.1073929970.squirrel@webmail.xs4all.nl> In-Reply-To: <4002D19A.70803@magma.ca> References: <8314.212.238.227.182.1073919044.squirrel@webmail.xs4all.nl> <4002B712.7000405@magma.ca> <19732.212.238.227.182.1073924636.squirrel@webmail.xs4all.nl> <4002D19A.70803@magma.ca> Date: Mon, 12 Jan 2004 18:52:50 +0100 (CET) Subject: Re: [Chameleon] multiple zoomin before map arrives From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Paul, this works for the zoomin, zoomout en recentre. But not for the update map button and the pan. Do you know a quick solution for those as well? Thanks. Best regards, Bart > Bart, > > I'm not sure how this would help? My feeling is that submit of the page > actually gets conflicted some how because it happens twice. > > Try the attached file to see if it fixes your problem. What I did was > to explicitly cancel the event handlers just before the submit. > > Cheers, > > Paul > > bartvde@xs4all.nl wrote: > >> Hi Paul, >> >> I checked and you're right that this is an IE only issue (like many >> others >> ofcourse :-( ). >> >> I found a possible solution but don't know exactly where to add this to >> Chameleon, perhaps you can point me to the right widget/piece of code to >> implement this, as this is a "killing bug" for us since our customer >> only >> works with IE 6. >> >> The solution is at: >> http://www.insidedhtml.com/tips/backend/ts04/page2.asp >> >> Thanks in advance. >> >> Best regards, >> Bart >> >> >>>Bart, >>> >>>I think this is an issue with IE. I have noticed this in chameleon but >>>also other applications I think. I have never had the problem in >>>Mozilla (that I am aware of). One possible cause could be that the >>>mouse events are still processed after a submit? If this is the case >>>then the new javascript framework should be designed to allow event >>>handling to be turned off on a page submit. I don't know if this will >>>fix the problem. >>> >>>Cheers, >>> >>>Paul >>> >>>bartvde@xs4all.nl wrote: >>> >>> >>>>Hi list, >>>> >>>>when zooming in on the map, sometimes users get impatient (at least a >>>>colleague of mine who just tested the application .... :-( ) and click >>>>on >>>>the map again before the map update has finished. In this case the >>>>Chameleon client application will "hang". >>>> >>>>The same thing happens when first clicking in the map with the zoomin >>>>tool, and then drawing a box before the map update finishes. >>>> >>>>Also when pressing the "update map" button twice too soon, the same >>>>thing >>>>happens. >>>> >>>>Is there any way to prevent this behaviour? It is a pretty serious >>>> issue >>>>in my opinion, as the result can be that the application hangs. >>>> >>>>Best regards, >>>>Bart >>>>_______________________________________________ >>>>Chameleon mailing list >>>>Chameleon@lists.maptools.org >>>>http://lists.maptools.org/mailman/listinfo/chameleon >>>> >>> >>>-- >>> ----------------------------------------------------------------- >>>|Paul Spencer spencer@dmsolutions.ca | >>>|-----------------------------------------------------------------| >>>|Applications & Software Development | >>>|DM Solutions Group Inc http://www.dmsolutions.ca/| >>> ----------------------------------------------------------------- >>> >>> >> >> >> > > -- > ----------------------------------------------------------------- > |Paul Spencer spencer@dmsolutions.ca | > |-----------------------------------------------------------------| > |Applications & Software Development | > |DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > From bartvde@xs4all.nl Mon Jan 12 14:54:48 2004 Received: from smtpzilla1.xs4all.nl (smtpzilla1.xs4all.nl [194.109.127.137]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0CJsk8o019792 for ; Mon, 12 Jan 2004 14:54:47 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla1.xs4all.nl (8.12.10/8.12.10) with ESMTP id i0CJsa1d084874; Mon, 12 Jan 2004 20:54:36 +0100 (CET) Cc: "bart.van.den.eijnden@geodan.nl" , "chameleon@lists.maptools.org" To: spencer@dmsolutions.ca Subject: Re: [Chameleon] multiple zoomin before map arrives Reply-To: bartvde@xs4all.nl References: <8314.212.238.227.182.1073919044.squirrel@webmail.xs4all.nl> <4002B712.7000405@magma.ca> <19732.212.238.227.182.1073924636.squirrel@webmail.xs4all.nl> <4002D19A.70803@magma.ca> <19567.212.238.227.182.1073929970.squirrel@webmail.xs4all.nl> <4002E28B.2060506@magma.ca> Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Mon, 12 Jan 2004 20:54:33 +0100 In-Reply-To: <4002E28B.2060506@magma.ca> User-Agent: Opera7.22/Win32 M2 build 3221 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Paul, I fixed it in PanMap the way you suggested. For the UpdateMap I needed another solution, only submit if the value doesn't equal "1": function {$szJsFunctionName}() { if ({$this->mszHTMLForm}.UPDATE_MAP.value != "1") { {$this->mszHTMLForm}.UPDATE_MAP.value = "1"; {$this->mszHTMLForm}.submit(); return; } } Ofcourse this is not full-proof, because when a user clicks the RemoveLayer tool, and after that immediately the UpdateMap button, there is still the same problem. But this rules out the chance of running into it a lot. Thanks! Best regards, Bart On Mon, 12 Jan 2004 13:08:11 -0500, Paul Spencer wrote: > Bart, > > I would suggest that you search the chameleon code for document.submit() > calls and place the following code just before the submit: > > document.onmousemove = null; > document.onmouseup = null; > document.onmousedown = null; > > Cheers, > > Paul > > bartvde@xs4all.nl wrote: > >> Hi Paul, >> >> this works for the zoomin, zoomout en recentre. >> >> But not for the update map button and the pan. Do you know a quick >> solution for those as well? >> >> Thanks. >> >> Best regards, >> Bart >> >> >>> Bart, >>> >>> I'm not sure how this would help? My feeling is that submit of the >>> page >>> actually gets conflicted some how because it happens twice. >>> >>> Try the attached file to see if it fixes your problem. What I did was >>> to explicitly cancel the event handlers just before the submit. >>> >>> Cheers, >>> >>> Paul >>> >>> bartvde@xs4all.nl wrote: >>> >>> >>>> Hi Paul, >>>> >>>> I checked and you're right that this is an IE only issue (like many >>>> others >>>> ofcourse :-( ). >>>> >>>> I found a possible solution but don't know exactly where to add this >>>> to >>>> Chameleon, perhaps you can point me to the right widget/piece of code >>>> to >>>> implement this, as this is a "killing bug" for us since our customer >>>> only >>>> works with IE 6. >>>> >>>> The solution is at: >>>> http://www.insidedhtml.com/tips/backend/ts04/page2.asp >>>> >>>> Thanks in advance. >>>> >>>> Best regards, >>>> Bart >>>> >>>> >>>> >>>>> Bart, >>>>> >>>>> I think this is an issue with IE. I have noticed this in chameleon >>>>> but >>>>> also other applications I think. I have never had the problem in >>>>> Mozilla (that I am aware of). One possible cause could be that the >>>>> mouse events are still processed after a submit? If this is the case >>>>> then the new javascript framework should be designed to allow event >>>>> handling to be turned off on a page submit. I don't know if this >>>>> will >>>>> fix the problem. >>>>> >>>>> Cheers, >>>>> >>>>> Paul >>>>> >>>>> bartvde@xs4all.nl wrote: >>>>> >>>>> >>>>> >>>>>> Hi list, >>>>>> >>>>>> when zooming in on the map, sometimes users get impatient (at least >>>>>> a >>>>>> colleague of mine who just tested the application .... :-( ) and >>>>>> click >>>>>> on >>>>>> the map again before the map update has finished. In this case the >>>>>> Chameleon client application will "hang". >>>>>> >>>>>> The same thing happens when first clicking in the map with the >>>>>> zoomin >>>>>> tool, and then drawing a box before the map update finishes. >>>>>> >>>>>> Also when pressing the "update map" button twice too soon, the same >>>>>> thing >>>>>> happens. >>>>>> >>>>>> Is there any way to prevent this behaviour? It is a pretty serious >>>>>> issue >>>>>> in my opinion, as the result can be that the application hangs. >>>>>> >>>>>> Best regards, >>>>>> Bart >>>>>> _______________________________________________ >>>>>> Chameleon mailing list >>>>>> Chameleon@lists.maptools.org >>>>>> http://lists.maptools.org/mailman/listinfo/chameleon >>>>>> >>>>> >>>>> -- >>>>> ----------------------------------------------------------------- >>>>> |Paul Spencer spencer@dmsolutions.ca | >>>>> |-----------------------------------------------------------------| >>>>> |Applications & Software Development | >>>>> |DM Solutions Group Inc http://www.dmsolutions.ca/| >>>>> ----------------------------------------------------------------- >>>>> >>>>> >>>> >>>> >>>> >>> -- >>> ----------------------------------------------------------------- >>> |Paul Spencer spencer@dmsolutions.ca | >>> |-----------------------------------------------------------------| >>> |Applications & Software Development | >>> |DM Solutions Group Inc http://www.dmsolutions.ca/| >>> ----------------------------------------------------------------- >>> >> >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > -- From pagameba@magma.ca Mon Jan 12 14:58:31 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0CJwU8o019833 for ; Mon, 12 Jan 2004 14:58:31 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i0CJwUvg005296; Mon, 12 Jan 2004 14:58:30 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i0CJwOGi028083; Mon, 12 Jan 2004 14:58:30 -0500 Message-ID: <4002FC60.9060807@magma.ca> Date: Mon, 12 Jan 2004 14:58:24 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: "chameleon@lists.maptools.org" Subject: Re: [Chameleon] multiple zoomin before map arrives References: <8314.212.238.227.182.1073919044.squirrel@webmail.xs4all.nl> <4002B712.7000405@magma.ca> <19732.212.238.227.182.1073924636.squirrel@webmail.xs4all.nl> <4002D19A.70803@magma.ca> <19567.212.238.227.182.1073929970.squirrel@webmail.xs4all.nl> <4002E28B.2060506@magma.ca> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, I will try to resolve this issue in a more generic way during the javascript rework. Cheers, Paul Bart van den Eijnden wrote: > Hi Paul, > > I fixed it in PanMap the way you suggested. > > For the UpdateMap I needed another solution, only submit if the value > doesn't equal "1": > > function {$szJsFunctionName}() > { > if ({$this->mszHTMLForm}.UPDATE_MAP.value != "1") > { > {$this->mszHTMLForm}.UPDATE_MAP.value = "1"; > {$this->mszHTMLForm}.submit(); > return; > } > } > > Ofcourse this is not full-proof, because when a user clicks the > RemoveLayer tool, and after that immediately the UpdateMap button, there > is still the same problem. > > But this rules out the chance of running into it a lot. > > Thanks! > > Best regards, > Bart > > On Mon, 12 Jan 2004 13:08:11 -0500, Paul Spencer wrote: > >> Bart, >> >> I would suggest that you search the chameleon code for >> document.submit() calls and place the following code just before the >> submit: >> >> document.onmousemove = null; >> document.onmouseup = null; >> document.onmousedown = null; >> >> Cheers, >> >> Paul >> >> bartvde@xs4all.nl wrote: >> >>> Hi Paul, >>> >>> this works for the zoomin, zoomout en recentre. >>> >>> But not for the update map button and the pan. Do you know a quick >>> solution for those as well? >>> >>> Thanks. >>> >>> Best regards, >>> Bart >>> >>> >>>> Bart, >>>> >>>> I'm not sure how this would help? My feeling is that submit of the >>>> page >>>> actually gets conflicted some how because it happens twice. >>>> >>>> Try the attached file to see if it fixes your problem. What I did was >>>> to explicitly cancel the event handlers just before the submit. >>>> >>>> Cheers, >>>> >>>> Paul >>>> >>>> bartvde@xs4all.nl wrote: >>>> >>>> >>>>> Hi Paul, >>>>> >>>>> I checked and you're right that this is an IE only issue (like many >>>>> others >>>>> ofcourse :-( ). >>>>> >>>>> I found a possible solution but don't know exactly where to add >>>>> this to >>>>> Chameleon, perhaps you can point me to the right widget/piece of >>>>> code to >>>>> implement this, as this is a "killing bug" for us since our customer >>>>> only >>>>> works with IE 6. >>>>> >>>>> The solution is at: >>>>> http://www.insidedhtml.com/tips/backend/ts04/page2.asp >>>>> >>>>> Thanks in advance. >>>>> >>>>> Best regards, >>>>> Bart >>>>> >>>>> >>>>> >>>>>> Bart, >>>>>> >>>>>> I think this is an issue with IE. I have noticed this in >>>>>> chameleon but >>>>>> also other applications I think. I have never had the problem in >>>>>> Mozilla (that I am aware of). One possible cause could be that the >>>>>> mouse events are still processed after a submit? If this is the case >>>>>> then the new javascript framework should be designed to allow event >>>>>> handling to be turned off on a page submit. I don't know if this >>>>>> will >>>>>> fix the problem. >>>>>> >>>>>> Cheers, >>>>>> >>>>>> Paul >>>>>> >>>>>> bartvde@xs4all.nl wrote: >>>>>> >>>>>> >>>>>> >>>>>>> Hi list, >>>>>>> >>>>>>> when zooming in on the map, sometimes users get impatient (at >>>>>>> least a >>>>>>> colleague of mine who just tested the application .... :-( ) and >>>>>>> click >>>>>>> on >>>>>>> the map again before the map update has finished. In this case the >>>>>>> Chameleon client application will "hang". >>>>>>> >>>>>>> The same thing happens when first clicking in the map with the >>>>>>> zoomin >>>>>>> tool, and then drawing a box before the map update finishes. >>>>>>> >>>>>>> Also when pressing the "update map" button twice too soon, the same >>>>>>> thing >>>>>>> happens. >>>>>>> >>>>>>> Is there any way to prevent this behaviour? It is a pretty serious >>>>>>> issue >>>>>>> in my opinion, as the result can be that the application hangs. >>>>>>> >>>>>>> Best regards, >>>>>>> Bart >>>>>>> _______________________________________________ >>>>>>> Chameleon mailing list >>>>>>> Chameleon@lists.maptools.org >>>>>>> http://lists.maptools.org/mailman/listinfo/chameleon >>>>>>> >>>>>> >>>>>> -- >>>>>> ----------------------------------------------------------------- >>>>>> |Paul Spencer spencer@dmsolutions.ca | >>>>>> |-----------------------------------------------------------------| >>>>>> |Applications & Software Development | >>>>>> |DM Solutions Group Inc http://www.dmsolutions.ca/| >>>>>> ----------------------------------------------------------------- >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>> -- >>>> ----------------------------------------------------------------- >>>> |Paul Spencer spencer@dmsolutions.ca | >>>> |-----------------------------------------------------------------| >>>> |Applications & Software Development | >>>> |DM Solutions Group Inc http://www.dmsolutions.ca/| >>>> ----------------------------------------------------------------- >>>> >>> >>> >>> _______________________________________________ >>> Chameleon mailing list >>> Chameleon@lists.maptools.org >>> http://lists.maptools.org/mailman/listinfo/chameleon >>> >> > > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From bartvde@xs4all.nl Mon Jan 12 15:21:03 2004 Received: from smtpzilla3.xs4all.nl (smtpzilla3.xs4all.nl [194.109.127.139]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0CKL18o019921 for ; Mon, 12 Jan 2004 15:21:03 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla3.xs4all.nl (8.12.10/8.12.10) with ESMTP id i0CKKtWo058108 for ; Mon, 12 Jan 2004 21:21:01 +0100 (CET) Date: Mon, 12 Jan 2004 21:20:52 +0100 To: "chameleon@lists.maptools.org" Reply-To: bartvde@xs4all.nl From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera7.22/Win32 M2 build 3221 Subject: [Chameleon] 2 "enhancement bugs" Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, I have 2 feature requests / "enhancement bugs" which in my opinion would make a nice addition to Chameleon, but there is also some overlap with PHP/Mapscript I guess. What would be the best place to put these, Chameleon bugzilla or Mapserver bugzilla? 1. SLD/Filter in the Web Map Context I see that the Web Map Context standard already has a place (

Good Morning,

 

It sounds like Chameleon allows the deployment of web mapping applications fairly quickly. But can someone give me examples of = development time assuming the spatial data is ready to be served and only existing = widgets are used, no new ones developed.

 

What about MapServer? How = much time is typically required to get it set up.

 

Thanks in advance.

 

Faye

 

NB Aquatic Data = Warehouse

Canadian Rivers = Institute

University<= /span> of New = Brunswick

Sir<= /font> James Dunn= Wildlife Research Center

Room = 263

1350 = Regent Street=

Fredericton= , NB   = E3C 2G6=

 

Mailing = Address:

3 Elm = Street

Doaktown, NB  = E9C 1M9=

 

Phone:  (506) 365-8927

Fax:      (506) 365-8972

Email:    ardw@nbnet.= nb.ca

 

------=_NextPart_000_0003_01C3DB54.2F58F240-- From TENIERER@gov.ns.ca Thu Jan 15 10:21:44 2004 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0FFLh8o007283 for ; Thu, 15 Jan 2004 10:21:44 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Thu, 15 Jan 2004 11:21:42 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Thu, 15 Jan 2004 11:21:41 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Thu, 15 Jan 2004 11:21:35 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Thu, 15 Jan 2004 11:21:18 -0400 From: "Rene Teniere " To: , Subject: Re: [Chameleon] Development Time Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Guinevere: 2.0.13 ; Province of Nova Sco Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Faye, I have been working on my chameleon site for almost 2 weeks now, and I am almost there VIA included widgets. It is all a question of getting familiar with the supplied documentation (in the chameleon/html/ folder) to properly pass the required variables. Not everything runs smoothly, however, that is what this support list and search is for. This is a fairly new product, so everyone is working together to uncover and solve all the problems encountered for the next release. As for MapServer, it depends on what platform, web server and servlet you are running. MapServer alone will not run chameleon. You have to have other software installed as well. All of this takes time to get set up and working properly. I suggest you go to: http://www.maptools.org/chameleon/index.phtml and http://mapserver.gis.umn.edu/ for the required documentation on installations for your specific platform. Rene Rene J.R. Teniere - BSc., D.GIS GIS Technician Nova Scotia Department of Natural Resources Forestry Division (GIS) - Truro Phone: (902) 893-5655 Mobile: (902) 209-8956 >>> "Faye Cowie" 2004-01-15 10:41:50 AM >>> Good Morning, It sounds like Chameleon allows the deployment of web mapping applications fairly quickly. But can someone give me examples of development time assuming the spatial data is ready to be served and only existing widgets are used, no new ones developed. What about MapServer? How much time is typically required to get it set up. Thanks in advance. Faye NB Aquatic Data Warehouse Canadian Rivers Institute University of New Brunswick Sir James Dunn Wildlife Research Center Room 263 1350 Regent Street Fredericton, NB E3C 2G6 Mailing Address: 3 Elm Street Doaktown, NB E9C 1M9 Phone: (506) 365-8927 Fax: (506) 365-8972 Email: ardw@nbnet.nb.ca From bartvde@xs4all.nl Thu Jan 15 10:28:35 2004 Received: from smtpzilla2.xs4all.nl (smtpzilla2.xs4all.nl [194.109.127.138]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0FFSY8o007316 for ; Thu, 15 Jan 2004 10:28:35 -0500 Received: from webmail.xs4all.nl (webmail8.xs4all.nl [194.109.127.33]) by smtpzilla2.xs4all.nl (8.12.10/8.12.10) with SMTP id i0FFLfLN050490; Thu, 15 Jan 2004 16:28:22 +0100 (CET) Received: from 80.126.221.165 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Thu, 15 Jan 2004 16:24:41 +0100 (CET) Message-ID: <10024.80.126.221.165.1074180281.squirrel@webmail.xs4all.nl> In-Reply-To: <000201c3db75$b66a9240$2a8c8b8e@unb.ca> References: <000201c3db75$b66a9240$2a8c8b8e@unb.ca> Date: Thu, 15 Jan 2004 16:24:41 +0100 (CET) Subject: Re: [Chameleon] Development Time From: bartvde@xs4all.nl To: "Faye Cowie" Cc: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Yes you're right Chameleon enables fast web application building. To build an application I would say you need approximately one day, also depending on how much web design will be involved. If you build it based on an existing template it will be a couple of hours. I am not that familiar with building applications with Mapserver, but for sure you will need a lot more time because you don't have a great toolkit like Chameleon which you can use. Best regards, Bart > Good Morning, > > It sounds like Chameleon allows the deployment of web mapping > applications fairly quickly. But can someone give me examples of > development time assuming the spatial data is ready to be served and > only existing widgets are used, no new ones developed. > > What about MapServer? How much time is typically required to get it set > up. > > Thanks in advance. > > Faye > > NB Aquatic Data Warehouse > Canadian Rivers Institute > University of New Brunswick > Sir James Dunn Wildlife Research Center > Room 263 > 1350 Regent Street > Fredericton, NB E3C 2G6 > > Mailing Address: > 3 Elm Street > Doaktown, NB E9C 1M9 > > Phone: (506) 365-8927 > Fax: (506) 365-8972 > Email: ardw@nbnet.nb.ca > > From pagameba@magma.ca Thu Jan 15 13:11:39 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0FIBa8o007880 for ; Thu, 15 Jan 2004 13:11:38 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i0FIBZhE032505; Thu, 15 Jan 2004 13:11:35 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i0FIBWvN004910; Thu, 15 Jan 2004 13:11:35 -0500 Message-ID: <4006D7D1.30504@magma.ca> Date: Thu, 15 Jan 2004 13:11:29 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Faye Cowie CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Development Time References: <000201c3db75$b66a9240$2a8c8b8e@unb.ca> In-Reply-To: <000201c3db75$b66a9240$2a8c8b8e@unb.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Faye, several others have answered already, but I'll throw my 2c in. Developing a chameleon application is something that will take you between 2 hours and 2 weeks :) This depends in large part on your familiarity with the widgets and wrapping your head around how things work. A lot of stuff happens by magic, and until you 'get' how it works, it can cause quite a lot of problems in unexpected ways. A barrier to 'getting' it is a lack of complete documentation and good examples. We are working on the documentation as quickly as we can, but the fact remains that this is still a work in progress. If you take the latest version of chameleon and the chameleon example, assuming you have got everything installed including Chameleon, PHP and PHP/MapScript - MapServer, then you need to build a MAP file (for MapServer to know where and what format your data is in) and make a small change to the sample application. You will then have a live web mapping application with your data. This would take about 1 day if you know nothing about MapServer (to build the map file). At this point, you would start playing with the application interface (or template) and modifying it to your preferred look and feel (web page design and layout). If you start doing graphic work as well, that can add a lot of time. So it could take as little as 2 hours to get a new application going, but could take several weeks depending on the other (non-web-mapping) components. Once you understand how chameleon works, it is a lot easier to build a basic application, and most of the time is actually spent designing the web page (application template in chameleon terms) rather than fussing with widgets. For MapServer, it depends on the skill levels of the people involved and the platform you are on. If you have a pre-existing environment that you are trying to integrate into, then I would allow more time. If not, it can be quite straightforward and quick. For example, on Windows you can get a pre-configured mapserver environment including Apache web server, PHP, mapserver, PHP mapscript and some applications from http://www.maptools.org/ms4w/. This typically takes 1 hour to download and 17 seconds to install (it's just a zip file :)) If you want to work with IIS, you have to set up both MapServer and PHP as CGIs in order for Chameleon to work. This has been accomplished on every version of Windows and IIS to my knowledge, but it can be problematic for loads of people because of security constraints or other issues. On linux or any other *nix, it should take no more than 8-10 hours to get everything installed depending (again) on the box. A vanilla install would be more likely to work quickly, a highly customized and upgraded box would probably require additional time for solving library dependency problems (most commonly with GD). Of course, there are the mailing lists and even commercial consulting support for those that need/wish it. The mapserver community is especially helpful and deals with a wide range of issues every day from newbie questions to really advanced, bleeding edge uses. Its a very dynamic mailing list that is highly recommended (by me anyway :)) Chameleon's list has less activity, but it is starting to grow and we are starting to see some experts emerge in the community already (like Bart and the GeoDan folks). And there are new users every day, it is gratifying to see other folks jump in to respond to questions on the list. Hope that helps, Paul Faye Cowie wrote: > Good Morning, > > > > It sounds like Chameleon allows the deployment of web mapping > applications fairly quickly. But can someone give me examples of > development time assuming the spatial data is ready to be served and > only existing widgets are used, no new ones developed. > > > > What about MapServer? How much time is typically required to get it set up. > > > > Thanks in advance. > > > > Faye > > > > NB Aquatic Data Warehouse > > Canadian Rivers Institute > > University of New Brunswick > > Sir James Dunn Wildlife Research Center > > Room 263 > > 1350 Regent Street > > Fredericton, NB E3C 2G6 > > > > Mailing Address: > > 3 Elm Street > > Doaktown, NB E9C 1M9 > > > > Phone: (506) 365-8927 > > Fax: (506) 365-8972 > > Email: ardw@nbnet.nb.ca > > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From ken@rockies.ca Thu Jan 15 14:28:43 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0FJSg8o008142 for ; Thu, 15 Jan 2004 14:28:43 -0500 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id ahpgeaaa for chameleon@lists.maptools.org; Thu, 15 Jan 2004 12:16:50 -0700 From: "Ken Sanderson" To: Date: Thu, 15 Jan 2004 12:31:43 -0700 Message-ID: <006901c3db9e$38260f80$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 In-Reply-To: <4006D7D1.30504@magma.ca> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: [Chameleon] Documentation Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hello. I was reading through the developers guide and it indicated that I should: "See the CWC2 Administrator's Guide for information on setting up and configuring a CWC2 Service Instance." Not finding that document on the website I downloaded the packages and expanded them to get the docs there. Unfortunetly in both of the latest releases and the second most recent, the CWC2 Administrators Guide is a copy of the CWC2 Documentation Index, not actually the Administrators Guide. Does the Administrators Guide exist, and if so could someone email it to me? Thanks, Ken Miistakis From TENIERER@gov.ns.ca Thu Jan 15 14:34:21 2004 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0FJYJ8o008187 for ; Thu, 15 Jan 2004 14:34:20 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Thu, 15 Jan 2004 15:34:18 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Thu, 15 Jan 2004 15:34:18 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Thu, 15 Jan 2004 15:34:13 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Thu, 15 Jan 2004 15:34:00 -0400 From: "Rene Teniere " To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Guinevere: 2.0.13 ; Province of Nova Sco Subject: [Chameleon] Print Widget Output and Query Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hey, Is there a way to have the file menu show up in the browser that pops up when you print the map? I would like the user to be able to goto FILE->Page Setup... to adjust the print output and layout easily. Also, and I've noticed this on other chameleon sites, the legend in the print output keeps repeating the same group name/layer name (goto: http://meadow.spatialfocus.com/cwc2/htdocs/nlr.phtml to see what I mean and print a test copy. Make sure scalebar is not checked, or else it won't work). Also, is there something special for the Query Widget to work? I have it set up in the mapfile as well, however, it will not pick up any features. QUERYMAP STATUS ON SIZE -1 -1 COLOR 255 255 0 STYLE HILITE END These are just a few nagging things to take care of for my chameleon template before I can move on. Rene J.R. Teniere - BSc., D.GIS GIS Technician Nova Scotia Department of Natural Resources Forestry Division (GIS) - Truro Phone: (902) 893-5655 Mobile: (902) 209-8956 From bartvde@xs4all.nl Thu Jan 15 15:19:22 2004 Received: from smtpzilla2.xs4all.nl (smtpzilla2.xs4all.nl [194.109.127.138]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0FKJL8o008396 for ; Thu, 15 Jan 2004 15:19:21 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla2.xs4all.nl (8.12.10/8.12.10) with ESMTP id i0FKJ9hP019742; Thu, 15 Jan 2004 21:19:14 +0100 (CET) Date: Thu, 15 Jan 2004 21:19:03 +0100 To: Rene Teniere , chameleon@lists.maptools.org Subject: Re: [Chameleon] Print Widget Output and Query Reply-To: bartvde@xs4all.nl References: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: User-Agent: Opera7.22/Win32 M2 build 3221 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Rene, to answer your first question. There is an option popup widgets have for this which you could use in the CWC2 tag of the Print widget (Menubar="false"), but I am not sure if this applies to popup windows emerging from the popup widget, like the preview print does. If this does not work you could hack the code: Look for the window.open function in production.pthml and add menubar=yes to the options argument of the function. For the Query widget to work your layers in the MAP file should have the following: DUMP TRUE STATUS ONE template "blank.html" and for WMS layer not the following METADATA: wms_queriable "0" Hope this helps. Best regards, Bart On Thu, 15 Jan 2004 15:34:00 -0400, Rene Teniere wrote: > Hey, > > Is there a way to have the file menu show up in the browser that pops > up when you print the map? I would like the user to be able to goto > FILE->Page Setup... to adjust the print output and layout easily. Also, > and I've noticed this on other chameleon sites, the legend in the print > output keeps repeating the same group name/layer name (goto: > http://meadow.spatialfocus.com/cwc2/htdocs/nlr.phtml to see what I > mean and print a test copy. Make sure scalebar is not checked, or else > it won't work). > > Also, is there something special for the Query Widget to work? I have > it set up in the mapfile as well, however, it will not pick up any > features. > > > image="c:/chameleon11a/websites/test/images/button_query_1.png" > imagehover="c:/chameleon11a/websites/test/images/button_query_2.png" > imageselected="c:/chameleon11a/websites/test/images/button_query_3.png" > imagetip="Query Features" imagewidth="24" imageheight="24" > popupwidth="490" popupheight="450" radius="1000" maxfeatures="5"/> > > QUERYMAP > STATUS ON > SIZE -1 -1 > COLOR 255 255 0 > STYLE HILITE > END > > These are just a few nagging things to take care of for my chameleon > template before I can move on. > > Rene J.R. Teniere - BSc., D.GIS > GIS Technician > Nova Scotia Department of Natural Resources > Forestry Division (GIS) - Truro > > Phone: (902) 893-5655 > Mobile: (902) 209-8956 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- From jeffb@erlandsen.com Thu Jan 15 15:21:03 2004 Received: from erlandsen.com (ip-66-45-208-115.nw-tel.com [66.45.208.115]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0FKL18o008419 for ; Thu, 15 Jan 2004 15:21:02 -0500 Received: from JEFF [66.45.216.110] by erlandsen.com with ESMTP (SMTPD32-8.04) id A62CCAE500F6; Thu, 15 Jan 2004 12:21:00 -0800 From: "Jeff Berry" To: "Chameleon" Date: Thu, 15 Jan 2004 12:07:33 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: [Chameleon] Install problems Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I've installed Chameleon 1.1 on Redhat 8.0, running MapServer 4.0.1. I'm having real trouble getting the demo app to work. I have chameleon installedin /opt/cwc2. I've installed all the demo documents within the appropriate directories under /opt/cwc2, and have edited the config, index.phtml and map document to refelct paths correctly. However, when I try to open the index.phtml I get the following error: Warning: [MapServer Error]: msProcessProjection(): no options found in 'init' file in /opt/cwc2/htdocs/common/wrapper/map_session.php on line 215 Warning: Failed to open map file /opt/cwc2/map/chameleon.map in /opt/cwc2/htdocs/common/wrapper/map_session.php on line 215 ERROR: Invalid map file file (/opt/cwc2/map/chameleon.map). Fatal error: Call to a member function on a non-object in /opt/cwc2/htdocs/widgets/KeyMap.widget.php on line 190 Any suggestions? Jeff Berry GIS Analyst Erlandsen & Associates P.O. Box 2029 Chelan, WA 98816 (509) 682-4189 jeffb@erlandsen.com From pagameba@magma.ca Thu Jan 15 15:24:01 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0FKO18o008443 for ; Thu, 15 Jan 2004 15:24:01 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i0FKO1Y8018532; Thu, 15 Jan 2004 15:24:01 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i0FKNMRr023770; Thu, 15 Jan 2004 15:24:01 -0500 Message-ID: <4006F6B7.4050503@magma.ca> Date: Thu, 15 Jan 2004 15:23:19 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ken Sanderson CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Documentation References: <006901c3db9e$38260f80$31289f88@GLADSTONE> In-Reply-To: <006901c3db9e$38260f80$31289f88@GLADSTONE> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Ken, unfortunately that document is still a placeholder, it is still in the queue to be written. Cheers, Paul Ken Sanderson wrote: > Hello. I was reading through the developers guide and it indicated that > I should: "See the CWC2 Administrator's Guide for information on setting > up and configuring a CWC2 Service Instance." > > Not finding that document on the website I downloaded the packages and > expanded them to get the docs there. Unfortunetly in both of the latest > releases and the second most recent, the CWC2 Administrators Guide is a > copy of the CWC2 Documentation Index, not actually the Administrators > Guide. > > Does the Administrators Guide exist, and if so could someone email it to > me? > > Thanks, > > Ken > Miistakis > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Jean-Francois.Doyon@CCRS.NRCan.gc.ca Thu Jan 15 15:27:49 2004 Received: from dns1.ccrs.nrcan.gc.ca (dns1.ccrs.nrcan.gc.ca [132.156.11.189]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0FKRm8o008467 for ; Thu, 15 Jan 2004 15:27:48 -0500 Received: from s5-ccr-r1.ccrs.nrn.nrcan.gc.ca (s5-ccr-r1.ccrs.nrcan.gc.ca [132.156.20.32]) by dns1.ccrs.nrcan.gc.ca (8.12.9/8.12.10) with ESMTP id i0FKRjWW025616; Thu, 15 Jan 2004 15:27:45 -0500 (EST) Received: by s5-ccr-r1.ccrs.nrcan.gc.ca with Internet Mail Service (5.5.2657.72) id ; Thu, 15 Jan 2004 15:27:42 -0500 Message-ID: <7CDD7B94357FD5119E800002A537C46E0B8B7251@s5-ccr-r1.ccrs.nrcan.gc.ca> From: Jean-Francois.Doyon@CCRS.NRCan.gc.ca To: jeffb@erlandsen.com, chameleon@lists.maptools.org Subject: RE: [Chameleon] Install problems Date: Thu, 15 Jan 2004 15:27:32 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" X-CCRS-Hits: 0.779 X-CCRS-Initial-Recip: X-Scanned-By: MIMEDefang 2.35 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Jeff, The demo uses a map that is in a non standard EPSG projection. Find your PROJ's "epsg" file (Most likely in /usr/local/share/proj/), and add the following at the bottom: # WGS84 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) <42101> +proj=lcc +ellps=WGS84 +lat_0=0 +lon_0=-95 +lat_1=49 +lat_2=77 +x_0=0 +y_0=-8000000 +datum=WGS84 +units=m no_defs <> # NAD83 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) (This is the standard Atlas of Canada data's projection) <42304> +proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat_1=49 +lat_2=77 +datum=NAD83 +units=m no_defs <> (There's 2 common canadian projections here, forget exactly which one the demo uses) J.F. -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org]On Behalf Of Jeff Berry Sent: Thursday, January 15, 2004 3:08 PM To: Chameleon Subject: [Chameleon] Install problems I've installed Chameleon 1.1 on Redhat 8.0, running MapServer 4.0.1. I'm having real trouble getting the demo app to work. I have chameleon installedin /opt/cwc2. I've installed all the demo documents within the appropriate directories under /opt/cwc2, and have edited the config, index.phtml and map document to refelct paths correctly. However, when I try to open the index.phtml I get the following error: Warning: [MapServer Error]: msProcessProjection(): no options found in 'init' file in /opt/cwc2/htdocs/common/wrapper/map_session.php on line 215 Warning: Failed to open map file /opt/cwc2/map/chameleon.map in /opt/cwc2/htdocs/common/wrapper/map_session.php on line 215 ERROR: Invalid map file file (/opt/cwc2/map/chameleon.map). Fatal error: Call to a member function on a non-object in /opt/cwc2/htdocs/widgets/KeyMap.widget.php on line 190 Any suggestions? Jeff Berry GIS Analyst Erlandsen & Associates P.O. Box 2029 Chelan, WA 98816 (509) 682-4189 jeffb@erlandsen.com _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From pagameba@magma.ca Thu Jan 15 15:40:43 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0FKeh8o008515 for ; Thu, 15 Jan 2004 15:40:43 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i0FKegY8026875; Thu, 15 Jan 2004 15:40:42 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i0FKeK5s015997; Thu, 15 Jan 2004 15:40:41 -0500 Message-ID: <4006FAB1.9050803@magma.ca> Date: Thu, 15 Jan 2004 15:40:17 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rene Teniere CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Print Widget Output and Query References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Rene, answers in line. Rene Teniere wrote: > Hey, > > Is there a way to have the file menu show up in the browser that pops > up when you print the map? I would like the user to be able to goto > FILE->Page Setup... to adjust the print output and layout easily. in the widget tag for the PrintWidget, you can set the menu="true" attribute to get the file menu in the Map Production popup, but that doesn't affect the printer friendly view unfortunately. I will see what can be done about that, I think it should be possible to allow the settings that opened the Map Production page be passed on to the popup. Now that I think about it, though, I think that the file menu should be on by default in the printer friendly preview :) I can't add this change to CVS right now, but if you open production.phtml and find the line that opens the preview window (on line 316 in my copy) preview = window.open( "./preview.phtml?", 'preview', 'status=no,toolbar=yes,scrollbars=yes,resizable=yes,width=800,height=600,screenX='+xOffset+',screenY='+yOffset+',top='+yOffset+',left='+xOffset+''); the third line starts with status=no. Edit this line to include menubar=yes at the beginning, as in: 'menubar=yes,status=no,toolbar=yes,scrollbars=yes,resizable=yes,width=800,height=600,screenX='+xOffset+',screenY='+yOffset+',top='+yOffset+',left='+xOffset+''); I will commit my change soon so you will be in sync with the latest version if you update. Also, > and I've noticed this on other chameleon sites, the legend in the print > output keeps repeating the same group name/layer name (goto: > http://meadow.spatialfocus.com/cwc2/htdocs/nlr.phtml to see what I > mean and print a test copy. Make sure scalebar is not checked, or else > it won't work). ok, can you file a bug on this if there isn't already one in the chameleon bugzilla on maptools.org please. > > Also, is there something special for the Query Widget to work? I have > it set up in the mapfile as well, however, it will not pick up any > features. yes, you need to add a tag to any layers that you want to be queryable, as in: LAYER ... TEMPLATE "ttt.html" END the "ttt.html" can be anything, it doesn't really matter but MapServer uses this value in CGI mode to display query results and it doesn't make a difference between MapScript and CGI mode, so you have to set TEMPLATE to something to make a query happen. The QUERYMAP object is used to draw highlighted features after a query, since Chameleon doesn't redraw the map after a query, this won't do anything. It may be changed in a future version, or become an attribute of the query widget. But for now it doesn't do anything. > > > image="c:/chameleon11a/websites/test/images/button_query_1.png" > imagehover="c:/chameleon11a/websites/test/images/button_query_2.png" > imageselected="c:/chameleon11a/websites/test/images/button_query_3.png" > imagetip="Query Features" imagewidth="24" imageheight="24" > popupwidth="490" popupheight="450" radius="1000" maxfeatures="5"/> > > QUERYMAP > STATUS ON > SIZE -1 -1 > COLOR 255 255 0 > STYLE HILITE > END > > These are just a few nagging things to take care of for my chameleon > template before I can move on. > > Rene J.R. Teniere - BSc., D.GIS > GIS Technician > Nova Scotia Department of Natural Resources > Forestry Division (GIS) - Truro > > Phone: (902) 893-5655 > Mobile: (902) 209-8956 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > Cheers, Paul -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Jan 15 15:42:52 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0FKgq8o008536 for ; Thu, 15 Jan 2004 15:42:52 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i0FKgfQ0029729; Thu, 15 Jan 2004 15:42:41 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i0FKgWqV014691; Thu, 15 Jan 2004 15:42:41 -0500 Message-ID: <4006FB35.1010003@magma.ca> Date: Thu, 15 Jan 2004 15:42:29 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jean-Francois.Doyon@ccrs.nrcan.gc.ca CC: jeffb@erlandsen.com, chameleon@lists.maptools.org Subject: Re: [Chameleon] Install problems References: <7CDD7B94357FD5119E800002A537C46E0B8B7251@s5-ccr-r1.ccrs.nrcan.gc.ca> In-Reply-To: <7CDD7B94357FD5119E800002A537C46E0B8B7251@s5-ccr-r1.ccrs.nrcan.gc.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: it uses 42304. For the record, the next demo app will likely use world data in EPSG 4326 :) Or at least, that'll be one of the options. Cheers, Paul Jean-Francois.Doyon@ccrs.nrcan.gc.ca wrote: > Jeff, > > The demo uses a map that is in a non standard EPSG projection. > > Find your PROJ's "epsg" file (Most likely in /usr/local/share/proj/), and > add the following at the bottom: > > # WGS84 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) > <42101> +proj=lcc +ellps=WGS84 +lat_0=0 +lon_0=-95 +lat_1=49 +lat_2=77 > +x_0=0 +y_0=-8000000 +datum=WGS84 +units=m no_defs <> > # NAD83 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) (This is the > standard Atlas of Canada data's projection) > <42304> +proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat_1=49 +lat_2=77 > +datum=NAD83 +units=m no_defs <> > > (There's 2 common canadian projections here, forget exactly which one the > demo uses) > > J.F. > > -----Original Message----- > From: chameleon-admin@lists.maptools.org > [mailto:chameleon-admin@lists.maptools.org]On Behalf Of Jeff Berry > Sent: Thursday, January 15, 2004 3:08 PM > To: Chameleon > Subject: [Chameleon] Install problems > > > I've installed Chameleon 1.1 on Redhat 8.0, running MapServer 4.0.1. I'm > having real trouble getting the demo app to work. I have chameleon > installedin /opt/cwc2. I've installed all the demo documents within the > appropriate directories under /opt/cwc2, and have edited the config, > index.phtml and map document to refelct paths correctly. However, when I > try to open the index.phtml I get the following error: > > Warning: [MapServer Error]: msProcessProjection(): no options found in > 'init' file in /opt/cwc2/htdocs/common/wrapper/map_session.php on line 215 > > Warning: Failed to open map file /opt/cwc2/map/chameleon.map in > /opt/cwc2/htdocs/common/wrapper/map_session.php on line 215 > ERROR: Invalid map file file (/opt/cwc2/map/chameleon.map). > Fatal error: Call to a member function on a non-object in > /opt/cwc2/htdocs/widgets/KeyMap.widget.php on line 190 > > Any suggestions? > > Jeff Berry > GIS Analyst > Erlandsen & Associates > P.O. Box 2029 > Chelan, WA 98816 > (509) 682-4189 > jeffb@erlandsen.com > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Jan 15 15:45:59 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0FKjx8o008562 for ; Thu, 15 Jan 2004 15:45:59 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i0FKjuY8029390; Thu, 15 Jan 2004 15:45:56 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i0FKjkRr000643; Thu, 15 Jan 2004 15:45:55 -0500 Message-ID: <4006FBF7.6090702@magma.ca> Date: Thu, 15 Jan 2004 15:45:43 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: Rene Teniere , chameleon@lists.maptools.org Subject: Re: [Chameleon] Print Widget Output and Query References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Thanks Bart. A couple of comments/corrections inline though ... Bart van den Eijnden wrote: > Hi Rene, > > to answer your first question. > > There is an option popup widgets have for this which you could use in > the CWC2 tag of the Print widget (Menubar="false"), but I am not sure if > this applies to popup windows emerging from the popup widget, like the > preview print does. > > If this does not work you could hack the code: > Look for the window.open function in production.pthml and add > menubar=yes to the options argument of the function. > > For the Query widget to work your layers in the MAP file should have the > following: > > DUMP TRUE I *think* this is only necessary for a layer to be used as a WFS layer or for a WMS layer to return query results in GML. For local layers, I don't think this is necessary. > STATUS ONE should be STATUS ON > template "blank.html" > > and for WMS layer not the following METADATA: > wms_queriable "0" > > Hope this helps. > > Best regards, > Bart > > On Thu, 15 Jan 2004 15:34:00 -0400, Rene Teniere > wrote: > >> Hey, >> >> Is there a way to have the file menu show up in the browser that pops >> up when you print the map? I would like the user to be able to goto >> FILE->Page Setup... to adjust the print output and layout easily. Also, >> and I've noticed this on other chameleon sites, the legend in the print >> output keeps repeating the same group name/layer name (goto: >> http://meadow.spatialfocus.com/cwc2/htdocs/nlr.phtml to see what I >> mean and print a test copy. Make sure scalebar is not checked, or else >> it won't work). >> >> Also, is there something special for the Query Widget to work? I have >> it set up in the mapfile as well, however, it will not pick up any >> features. >> >> >> > image="c:/chameleon11a/websites/test/images/button_query_1.png" >> imagehover="c:/chameleon11a/websites/test/images/button_query_2.png" >> imageselected="c:/chameleon11a/websites/test/images/button_query_3.png" >> imagetip="Query Features" imagewidth="24" imageheight="24" >> popupwidth="490" popupheight="450" radius="1000" maxfeatures="5"/> >> >> QUERYMAP >> STATUS ON >> SIZE -1 -1 >> COLOR 255 255 0 >> STYLE HILITE >> END >> >> These are just a few nagging things to take care of for my chameleon >> template before I can move on. >> >> Rene J.R. Teniere - BSc., D.GIS >> GIS Technician >> Nova Scotia Department of Natural Resources >> Forestry Division (GIS) - Truro >> >> Phone: (902) 893-5655 >> Mobile: (902) 209-8956 >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From jeffb@erlandsen.com Thu Jan 15 16:19:25 2004 Received: from erlandsen.com (ip-66-45-208-115.nw-tel.com [66.45.208.115]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0FLJO8o008691 for ; Thu, 15 Jan 2004 16:19:25 -0500 Received: from JEFF [66.45.216.110] by erlandsen.com with ESMTP (SMTPD32-8.04) id A3DBD16003E; Thu, 15 Jan 2004 13:19:23 -0800 From: "Jeff Berry" To: "Chameleon" Date: Thu, 15 Jan 2004 13:05:55 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: [Chameleon] Install Problem Continued Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Thanks for the info on the projection additions. That was exactly the problem. However, now I am faced with a new issue. The map loads fine. Initially the button icons weren't showing but I changed the paths in the sample.html to reflect the correct paths, so now they show fine. The problem is that I cannot see the keymap. It doesn't load. Also if I try to use the map tools, for example to zoom in the map doesn't change. I can see that the map extent is changing because the coordinate values change, yet I'm still stuck with the initial image of all of Canada. Any idea what I've done wrong here? Jeff Berry GIS Analyst Erlandsen & Associates P.O. Box 2029 Chelan, WA 98816 (509) 682-4189 jeffb@erlandsen.com From Jean-Francois.Doyon@CCRS.NRCan.gc.ca Thu Jan 15 16:22:28 2004 Received: from dns1.ccrs.nrcan.gc.ca (dns1.ccrs.nrcan.gc.ca [132.156.11.189]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0FLMS8o008715 for ; Thu, 15 Jan 2004 16:22:28 -0500 Received: from s5-ccr-r1.ccrs.nrn.nrcan.gc.ca (s5-ccr-r1.ccrs.nrcan.gc.ca [132.156.20.32]) by dns1.ccrs.nrcan.gc.ca (8.12.9/8.12.10) with ESMTP id i0FLMPWW028597; Thu, 15 Jan 2004 16:22:25 -0500 (EST) Received: by s5-ccr-r1.ccrs.nrcan.gc.ca with Internet Mail Service (5.5.2657.72) id ; Thu, 15 Jan 2004 16:22:22 -0500 Message-ID: <7CDD7B94357FD5119E800002A537C46E0B8B7255@s5-ccr-r1.ccrs.nrcan.gc.ca> From: Jean-Francois.Doyon@CCRS.NRCan.gc.ca To: jeffb@erlandsen.com, chameleon@lists.maptools.org Subject: FW: [Chameleon] Problems getting started ... Date: Thu, 15 Jan 2004 16:22:18 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-15" X-CCRS-Hits: 0.939 X-CCRS-Initial-Recip: X-Scanned-By: MIMEDefang 2.35 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Try this ... -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: Wednesday, December 17, 2003 6:35 PM To: Jean-Francois.Doyon@ccrs.nrcan.gc.ca Cc: bartvde@xs4all.nl; chameleon@lists.maptools.org Subject: Re: [Chameleon] Problems getting started ... JF ... there is a small bug in the sample app code, if you open the index.phtml file and change it to look like this: moMapSession = new MapSession_RW; $this->moMapSession->setTempDir( getSessionSavePath()); } } $oApp = new SampleApp(); $oApp->CWCInitialize( $szTemplate, $szMapFile ); $oApp->CWCExecute(); ?> The real culprit are the two $this->moMapSession lines, they need to be moved from where they are into the constructor. Just making that change will fix the problem, although the above is the cleanest I could come up with ... and will become the sample app on its next release (I hope). Also, it should work (faster) to remove the two $this->moMapSession lines which would cause the chameleon framework to work in MapSession_R mode (read only) which should be faster but doesn't allow persistent changes like adding layers. If you want to be able to add layers then leave the two lines in. Cheers, Paul Jean-Francois.Doyon@ccrs.nrcan.gc.ca wrote: > Bart, > > Ah ... Yes indeed I was ! I forgot about that sample app ... things work > much better now ! > > One last thing: > > Actions on the map do nothing but return the previous map, so basically I'm > stuck at the initial view ... If I try to zoom in the map does refresh and > so on, but I get the same map I was at before ... > > Once I get that working I right I should be on my way ! > > Thanks for all the help, > J.F. > > -----Original Message----- > From: Bart van den Eijnden [mailto:bartvde@xs4all.nl] > Sent: Wednesday, December 17, 2003 4:15 PM > To: Jean-Francois.Doyon@CCRS.NRCan.gc.ca; chameleon@lists.maptools.org > Subject: Re: [Chameleon] Problems getting started ... > > > Hi Jean-Francois, > > in an earlier post you said you were using Chameleon 1.1 Alpha 6. > > I think what you are trying now is the Chameleon 1.0 way > (/chameleon/chameleon.php?TEMPLATE=demo.html&CONTEXT=gmap_context.xml). > > Try installing the Chameleon sample application and then run that by > trying the URL (create the sample_app alias to "sampleapp"/htdocs > directory): > > /sample_app/index.phtml > > Make sure the paths in index.phtml to MAP/Context file and template are > correct. > > Best regards, > Bart > > On Wed, 17 Dec 2003 16:04:12 -0500, > wrote: > > >>OK, so I've got PHP 4.3.3 compiled the way I want to, as well as >>mapserver/mapscript. (Except that I've hacked PHP/MapScript to work with >>PHP >>as a module for Apache to test the thread safety). >> >>I've also configured cwc2.xml and renamed it removing the -dist ... >> >>I've made the web user owner of the data directory ... >> >>I've added /tmp/ms_tmp and /tmp/ms_tmp/buttons ... >> >>And I've aliased as such: >> >> Alias /ms_tmp/ /tmp/ms_tmp/ >> >> Alias /chameleon/ /usr/local/chameleon/htdocs/ >> >>Now I'm trying the following URL: >> >>/chameleon/chameleon.php?TEMPLATE=demo.html&CONTEXT=gmap_context.xml >> >>And am just getting a blank page ... >> >>To be exact, it contains the following code: >> >> >> >> >> >> >>I've also built the "wmsparse" utility. >> >>I guess I'm missing something but I'm all out of ideas ! >> >>Find my cwc2.xml attached. <> >> >>Any help would be greatly appreciated ! >> >>Thanks, >> >>Jean-François Doyon >>Internet Service Development and Systems Support / Développement des >>services et soutien de systèmes Internet >>GeoAccess Division / Division GéoAccès >>Canada Center for Remote Sensing / Centre canadien de télédétection >>Natural Resources Canada / Ressources naturelles Canada >>http://atlas.gc.ca >>Phone: (613) 992-4902 >>Fax: (613) 947-2410 >> > > > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Jan 15 16:48:25 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0FLmO8o008809 for ; Thu, 15 Jan 2004 16:48:25 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i0FLmNY8031751; Thu, 15 Jan 2004 16:48:23 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i0FLmIKJ026900; Thu, 15 Jan 2004 16:48:22 -0500 Message-ID: <40070A9F.8070004@magma.ca> Date: Thu, 15 Jan 2004 16:48:15 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jeff Berry CC: Chameleon Subject: Re: [Chameleon] Install Problem Continued References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: See JF's email regarding the change needed to the sample app to get it to work. The keymap problem is a relative path issue. I think you need to specify the path relative to the map file, try using ../htdocs/images/keymap.png. There is something flaky with this still and it is an issue that I will be looking into soon. But with some messing around, you should be able to get it to work. Paul Jeff Berry wrote: > Thanks for the info on the projection additions. That was exactly the > problem. However, now I am faced with a new issue. The map loads fine. > Initially the button icons weren't showing but I changed the paths in the > sample.html to reflect the correct paths, so now they show fine. The > problem is that I cannot see the keymap. It doesn't load. Also if I try to > use the map tools, for example to zoom in the map doesn't change. I can see > that the map extent is changing because the coordinate values change, yet > I'm still stuck with the initial image of all of Canada. > > Any idea what I've done wrong here? > > Jeff Berry > GIS Analyst > Erlandsen & Associates > P.O. Box 2029 > Chelan, WA 98816 > (509) 682-4189 > jeffb@erlandsen.com > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Hans.Verlouw@Geodan.nl Fri Jan 16 06:55:19 2004 Received: from mail.vz.geodan.nl (host-3.geodan.demon.nl [212.238.227.179]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0GBtI8o013047 for ; Fri, 16 Jan 2004 06:55:19 -0500 Received: from cp93489-a.Geodan.nl ([212.238.227.182]) by mail.vz.geodan.nl (mail.vz.geodan.nl [212.238.227.179]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 54-md50000000546.tmp for ; Fri, 16 Jan 2004 12:54:24 +0100 Message-Id: <5.1.0.14.2.20040116122623.01f62c60@mail.vz.geodan.nl> X-Sender: HansV@mail.vz.geodan.nl X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 16 Jan 2004 12:54:25 +0100 To: chameleon@lists.maptools.org From: Hans Verlouw Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Processed: mail.vz.geodan.nl, Fri, 16 Jan 2004 12:54:24 +0100 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 212.238.227.182 X-Return-Path: Hans.Verlouw@Geodan.nl X-MDaemon-Deliver-To: chameleon@lists.maptools.org Subject: [Chameleon] Path to button images Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hello list, Can somebody tell me whether there is a Chameleon variable for the full path to the TextButton images and other images used by the buttonizer? This would be nice for transferring your template to another webserver that has Chameleon installed at a different location. At the moment I am changing my template frequently. But every time I copy it from my developing machine to the webserver, I have to replace the paths to these images. (Do you know Murphy's law?) I can't find it in the documentation nor at the wiki... Thanks in advance, Hans Hans Verlouw ------------------------------------- Geodan SDT b.v. Buitenhaven 27-A 5211 TP 's-Hertogenbosch (NL) ------------------------------------- Tel: +31 (0)73 - 692 5151 Fax: +31 (0)73 - 692 5150 ------------------------------------- Postadres / mailing address President Kennedylaan 1 1079 MB Amsterdam (NL) ------------------------------------- E-mail: Hans.Verlouw@Geodan.nl Website: www.geodan.nl Disclaimer: www.geodan.nl/disclaimer ------------------------------------- From TENIERER@gov.ns.ca Fri Jan 16 08:10:52 2004 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0GDAp8o013386 for ; Fri, 16 Jan 2004 08:10:52 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Fri, 16 Jan 2004 09:10:49 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Fri, 16 Jan 2004 09:10:49 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Fri, 16 Jan 2004 09:10:31 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Fri, 16 Jan 2004 09:10:15 -0400 From: "Rene Teniere " To: Cc: Subject: Re: [Chameleon] Print Widget Output and Query Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Thanks Paul, I'll also give this a try in conjunction with what Bart has suggested! Rene >>> pagameba@magma.ca 2004-01-15 4:40:17 PM >>> Rene, answers in line. Rene Teniere wrote: > Hey, > > Is there a way to have the file menu show up in the browser that pops > up when you print the map? I would like the user to be able to goto > FILE->Page Setup... to adjust the print output and layout easily. in the widget tag for the PrintWidget, you can set the menu="true" attribute to get the file menu in the Map Production popup, but that doesn't affect the printer friendly view unfortunately. I will see what can be done about that, I think it should be possible to allow the settings that opened the Map Production page be passed on to the popup. Now that I think about it, though, I think that the file menu should be on by default in the printer friendly preview :) I can't add this change to CVS right now, but if you open production.phtml and find the line that opens the preview window (on line 316 in my copy) preview = window.open( "./preview.phtml?", 'preview', 'status=no,toolbar=yes,scrollbars=yes,resizable=yes,width=800,height=600,screenX='+xOffset+',screenY='+yOffset+',top='+yOffset+',left='+xOffset+''); the third line starts with status=no. Edit this line to include menubar=yes at the beginning, as in: 'menubar=yes,status=no,toolbar=yes,scrollbars=yes,resizable=yes,width=800,height=600,screenX='+xOffset+',screenY='+yOffset+',top='+yOffset+',left='+xOffset+''); I will commit my change soon so you will be in sync with the latest version if you update. Also, > and I've noticed this on other chameleon sites, the legend in the print > output keeps repeating the same group name/layer name (goto: > http://meadow.spatialfocus.com/cwc2/htdocs/nlr.phtml to see what I > mean and print a test copy. Make sure scalebar is not checked, or else > it won't work). ok, can you file a bug on this if there isn't already one in the chameleon bugzilla on maptools.org please. > > Also, is there something special for the Query Widget to work? I have > it set up in the mapfile as well, however, it will not pick up any > features. yes, you need to add a tag to any layers that you want to be queryable, as in: LAYER ... TEMPLATE "ttt.html" END the "ttt.html" can be anything, it doesn't really matter but MapServer uses this value in CGI mode to display query results and it doesn't make a difference between MapScript and CGI mode, so you have to set TEMPLATE to something to make a query happen. The QUERYMAP object is used to draw highlighted features after a query, since Chameleon doesn't redraw the map after a query, this won't do anything. It may be changed in a future version, or become an attribute of the query widget. But for now it doesn't do anything. > > > image="c:/chameleon11a/websites/test/images/button_query_1.png" > imagehover="c:/chameleon11a/websites/test/images/button_query_2.png" > imageselected="c:/chameleon11a/websites/test/images/button_query_3.png" > imagetip="Query Features" imagewidth="24" imageheight="24" > popupwidth="490" popupheight="450" radius="1000" maxfeatures="5"/> > > QUERYMAP > STATUS ON > SIZE -1 -1 > COLOR 255 255 0 > STYLE HILITE > END > > These are just a few nagging things to take care of for my chameleon > template before I can move on. > > Rene J.R. Teniere - BSc., D.GIS > GIS Technician > Nova Scotia Department of Natural Resources > Forestry Division (GIS) - Truro > > Phone: (902) 893-5655 > Mobile: (902) 209-8956 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > Cheers, Paul -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From TENIERER@gov.ns.ca Fri Jan 16 10:25:44 2004 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0GFPe8o014080 for ; Fri, 16 Jan 2004 10:25:43 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Fri, 16 Jan 2004 11:25:39 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Fri, 16 Jan 2004 11:25:38 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Fri, 16 Jan 2004 11:25:33 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Fri, 16 Jan 2004 11:25:16 -0400 From: "Rene Teniere " To: , , Subject: Re: [Chameleon] Print Widget Output and Query Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Paul and Bart, I tried what you suggested and everything worked. The only thing is that the query seems to be really finicky and will only pick up the polygons. The lines and points will not show their attributes in the query, even though I set the radius=100. This does not seem to work, even on the polygons. I have to be within it in order to pick it up. I know the documentation says that it may not be supported by all servers, but am I looking in the wrong place? Is this a tolerance issue? The print preview worked great, I tried looking for that section in the code yesterday but I seemed to have missed it. It would be great to have the legend located outside the map so clients can have the full map view without any obstructions when printing, but that's not as important as getting the basic functionality set up first. Just to make sure, the legend in the print preview is a bug? Legend Output: *Airphotos ->Group Name Airphoto Centres ->Class Name *Airphotos Lake and Water Bodies *Airphotos Rivers and Streams *Airphotos 100 Series Highway Trunk Roads Secondary Roads Railway *Airphotos Shoreline *Airphotos Thanks, Rene >>> Bart van den Eijnden 2004-01-15 4:19:03 PM >>> Hi Rene, to answer your first question. There is an option popup widgets have for this which you could use in the CWC2 tag of the Print widget (Menubar="false"), but I am not sure if this applies to popup windows emerging from the popup widget, like the preview print does. If this does not work you could hack the code: Look for the window.open function in production.pthml and add menubar=yes to the options argument of the function. For the Query widget to work your layers in the MAP file should have the following: DUMP TRUE STATUS ON template "blank.html" and for WMS layer not the following METADATA: wms_queriable "0" Hope this helps. Best regards, Bart Rene, answers in line. Rene Teniere wrote: > Hey, > > Is there a way to have the file menu show up in the browser that pops > up when you print the map? I would like the user to be able to goto > FILE->Page Setup... to adjust the print output and layout easily. in the widget tag for the PrintWidget, you can set the menu="true" attribute to get the file menu in the Map Production popup, but that doesn't affect the printer friendly view unfortunately. I will see what can be done about that, I think it should be possible to allow the settings that opened the Map Production page be passed on to the popup. Now that I think about it, though, I think that the file menu should be on by default in the printer friendly preview :) I can't add this change to CVS right now, but if you open production.phtml and find the line that opens the preview window (on line 316 in my copy) preview = window.open( "./preview.phtml?", 'preview', 'status=no,toolbar=yes,scrollbars=yes,resizable=yes,width=800,height=600,screenX='+xOffset+',screenY='+yOffset+',top='+yOffset+',left='+xOffset+''); the third line starts with status=no. Edit this line to include menubar=yes at the beginning, as in: 'menubar=yes,status=no,toolbar=yes,scrollbars=yes,resizable=yes,width=800,height=600,screenX='+xOffset+',screenY='+yOffset+',top='+yOffset+',left='+xOffset+''); I will commit my change soon so you will be in sync with the latest version if you update. Also, > and I've noticed this on other chameleon sites, the legend in the print > output keeps repeating the same group name/layer name (goto: > http://meadow.spatialfocus.com/cwc2/htdocs/nlr.phtml to see what I > mean and print a test copy. Make sure scalebar is not checked, or else > it won't work). ok, can you file a bug on this if there isn't already one in the chameleon bugzilla on maptools.org please. > > Also, is there something special for the Query Widget to work? I have > it set up in the mapfile as well, however, it will not pick up any > features. yes, you need to add a tag to any layers that you want to be queryable, as in: LAYER ... TEMPLATE "ttt.html" END the "ttt.html" can be anything, it doesn't really matter but MapServer uses this value in CGI mode to display query results and it doesn't make a difference between MapScript and CGI mode, so you have to set TEMPLATE to something to make a query happen. The QUERYMAP object is used to draw highlighted features after a query, since Chameleon doesn't redraw the map after a query, this won't do anything. It may be changed in a future version, or become an attribute of the query widget. But for now it doesn't do anything. > > > image="c:/chameleon11a/websites/test/images/button_query_1.png" > imagehover="c:/chameleon11a/websites/test/images/button_query_2.png" > imageselected="c:/chameleon11a/websites/test/images/button_query_3.png" > imagetip="Query Features" imagewidth="24" imageheight="24" > popupwidth="490" popupheight="450" radius="1000" maxfeatures="5"/> > > QUERYMAP > STATUS ON > SIZE -1 -1 > COLOR 255 255 0 > STYLE HILITE > END > > These are just a few nagging things to take care of for my chameleon > template before I can move on. > > Rene J.R. Teniere - BSc., D.GIS > GIS Technician > Nova Scotia Department of Natural Resources > Forestry Division (GIS) - Truro > > Phone: (902) 893-5655 > Mobile: (902) 209-8956 From TENIERER@gov.ns.ca Fri Jan 16 10:44:59 2004 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0GFiw8o014191 for ; Fri, 16 Jan 2004 10:44:58 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Fri, 16 Jan 2004 11:44:57 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Fri, 16 Jan 2004 11:44:57 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Fri, 16 Jan 2004 11:44:49 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Fri, 16 Jan 2004 11:44:28 -0400 From: "Rene Teniere " To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Guinevere: 2.0.13 ; Province of Nova Sco Subject: [Chameleon] Map Download Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi all, When it comes to downloading the map as opposed to printing it, I get a dialog error that states: file name http://10.2.185.9/temp/tmp/4008054281b3d.png is not valid, even though it is because I copied the link to IE and it showed up. Does anyone know why It would do this? Rene Rene J.R. Teniere - BSc., D.GIS GIS Technician Nova Scotia Department of Natural Resources Forestry Division (GIS) - Truro Phone: (902) 893-5655 Mobile: (902) 209-8956 From bartvde@xs4all.nl Fri Jan 16 10:46:05 2004 Received: from smtpzilla5.xs4all.nl (smtpzilla5.xs4all.nl [194.109.127.141]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0GFk48o014212 for ; Fri, 16 Jan 2004 10:46:05 -0500 Received: from webmail.xs4all.nl (webmail7.xs4all.nl [194.109.127.31]) by smtpzilla5.xs4all.nl (8.12.10/8.12.10) with SMTP id i0GFjlM8080949; Fri, 16 Jan 2004 16:45:47 +0100 (CET) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Fri, 16 Jan 2004 16:46:02 +0100 (CET) Message-ID: <10915.212.238.227.182.1074267962.squirrel@webmail.xs4all.nl> In-Reply-To: References: Date: Fri, 16 Jan 2004 16:46:02 +0100 (CET) Subject: Re: [Chameleon] Print Widget Output and Query From: bartvde@xs4all.nl To: "Rene Teniere" Cc: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Rene, the radius does not determine the tolerance for feature info, only how points are visualized. You can control this behaviour by setting the tolerance: TOLERANCE 3 TOLERANCEUNITS PIXELS Best regards, Bart > Paul and Bart, > > I tried what you suggested and everything worked. The only thing is > that the query seems to be really finicky and will only pick up the > polygons. The lines and points will not show their attributes in the > query, even though I set the radius=100. This does not seem to work, > even on the polygons. I have to be within it in order to pick it up. I > know the documentation says that it may not be supported by all servers, > but am I looking in the wrong place? Is this a tolerance issue? > > The print preview worked great, I tried looking for that section in the > code yesterday but I seemed to have missed it. It would be great to have > the legend located outside the map so clients can have the full map view > without any obstructions when printing, but that's not as important as > getting the basic functionality set up first. > > Just to make sure, the legend in the print preview is a bug? > Legend Output: > > *Airphotos ->Group Name > Airphoto Centres ->Class Name > *Airphotos > Lake and Water Bodies > *Airphotos > Rivers and Streams > *Airphotos > 100 Series Highway > Trunk Roads > Secondary Roads > Railway > *Airphotos > Shoreline > *Airphotos > > Thanks, > Rene > >>>> Bart van den Eijnden 2004-01-15 4:19:03 PM >>> > Hi Rene, > > to answer your first question. > > There is an option popup widgets have for this which you could use in > the > CWC2 tag of the Print widget (Menubar="false"), but I am not sure if > this > applies to popup windows emerging from the popup widget, like the > preview > print does. > > If this does not work you could hack the code: > Look for the window.open function in production.pthml and add > menubar=yes > to the options argument of the function. > > For the Query widget to work your layers in the MAP file should have > the > following: > > DUMP TRUE > STATUS ON > template "blank.html" > > and for WMS layer not the following METADATA: > wms_queriable "0" > > Hope this helps. > > Best regards, > Bart > > Rene, answers in line. > > Rene Teniere wrote: > >> Hey, >> >> Is there a way to have the file menu show up in the browser that > pops >> up when you print the map? I would like the user to be able to goto >> FILE->Page Setup... to adjust the print output and layout easily. > > in the widget tag for the PrintWidget, you can set the menu="true" > attribute to get the file menu in the Map Production popup, but that > doesn't affect the printer friendly view unfortunately. I will see > what > can be done about that, I think it should be possible to allow the > settings that opened the Map Production page be passed on to the popup. > > Now that I think about it, though, I think that the file menu should > > be on by default in the printer friendly preview :) > > I can't add this change to CVS right now, but if you open > production. > phtml and find the line that opens the preview window (on > line 316 in my copy) > > preview = window.open( "./preview.phtml? SID."&selImageFormat=".$selImageFormat ?>", > 'preview', > > 'status=no,toolbar=yes,scrollbars=yes,resizable=yes,width=800,height=600,screenX='+xOffset+',screenY='+yOffset+',top='+yOffset+',left='+xOffset+''); > > the third line starts with status=no. Edit this line to include > menubar=yes at the beginning, as in: > > 'menubar=yes,status=no,toolbar=yes,scrollbars=yes,resizable=yes,width=800,height=600,screenX='+xOffset+',screenY='+yOffset+',top='+yOffset+',left='+xOffset+''); > > > I will commit my change soon so you will be in sync with the latest > version if you update. > Also, >> and I've noticed this on other chameleon sites, the legend in the > print >> output keeps repeating the same group name/layer name (goto: >> http://meadow.spatialfocus.com/cwc2/htdocs/nlr.phtml to see what I >> mean and print a test copy. Make sure scalebar is not checked, or > else >> it won't work). > > ok, can you file a bug on this if there isn't already one in the > chameleon bugzilla on maptools.org please. > >> >> Also, is there something special for the Query Widget to work? I > have >> it set up in the mapfile as well, however, it will not pick up any >> features. > > yes, you need to add a tag to any layers that you want to be queryable, > > as in: > > LAYER > ... > TEMPLATE "ttt.html" > END > > the "ttt.html" can be anything, it doesn't really matter but MapServer > > uses this value in CGI mode to display query results and it doesn't > make > a difference between MapScript and CGI mode, so you have to set > TEMPLATE > to something to make a query happen. The QUERYMAP object is used to > draw highlighted features after a query, since Chameleon doesn't redraw > > the map after a query, this won't do anything. It may be changed in a > > future version, or become an attribute of the query widget. But for > now > it doesn't do anything. > >> >> >> > image="c:/chameleon11a/websites/test/images/button_query_1.png" >> imagehover="c:/chameleon11a/websites/test/images/button_query_2.png" >> > imageselected="c:/chameleon11a/websites/test/images/button_query_3.png" >> imagetip="Query Features" imagewidth="24" imageheight="24" >> popupwidth="490" popupheight="450" radius="1000" > maxfeatures="5"/> >> >> QUERYMAP >> STATUS ON >> SIZE -1 -1 >> COLOR 255 255 0 >> STYLE HILITE >> END >> >> These are just a few nagging things to take care of for my chameleon >> template before I can move on. >> >> Rene J.R. Teniere - BSc., D.GIS >> GIS Technician >> Nova Scotia Department of Natural Resources >> Forestry Division (GIS) - Truro >> >> Phone: (902) 893-5655 >> Mobile: (902) 209-8956 > From bartvde@xs4all.nl Fri Jan 16 11:20:21 2004 Received: from smtpzilla2.xs4all.nl (smtpzilla2.xs4all.nl [194.109.127.138]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0GGKH8o014386 for ; Fri, 16 Jan 2004 11:20:20 -0500 Received: from webmail.xs4all.nl (webmail7.xs4all.nl [194.109.127.31]) by smtpzilla2.xs4all.nl (8.12.10/8.12.10) with SMTP id i0GGKDU5099694; Fri, 16 Jan 2004 17:20:14 +0100 (CET) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Fri, 16 Jan 2004 17:20:14 +0100 (CET) Message-ID: <22988.212.238.227.182.1074270014.squirrel@webmail.xs4all.nl> In-Reply-To: References: Date: Fri, 16 Jan 2004 17:20:14 +0100 (CET) Subject: Re: [Chameleon] Map Download From: bartvde@xs4all.nl To: "Rene Teniere" Cc: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Rene, when you get the IE download dialog, do you "Open" or "Save" the file? We also have problems with our custom print widget when opening a file, but not when saving it to disk and after that, opening it with an application. Best regards, Bart > Hi all, > > When it comes to downloading the map as opposed to printing it, I get a > dialog error that states: file name > http://10.2.185.9/temp/tmp/4008054281b3d.png is not valid, even > though it is because I copied the link to IE and it showed up. Does > anyone know why It would do this? > > Rene > > Rene J.R. Teniere - BSc., D.GIS > GIS Technician > Nova Scotia Department of Natural Resources > Forestry Division (GIS) - Truro > > Phone: (902) 893-5655 > Mobile: (902) 209-8956 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From TENIERER@gov.ns.ca Fri Jan 16 12:17:32 2004 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0GHHU8o014612 for ; Fri, 16 Jan 2004 12:17:32 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Fri, 16 Jan 2004 13:08:58 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Fri, 16 Jan 2004 13:08:57 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Fri, 16 Jan 2004 13:08:48 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Fri, 16 Jan 2004 13:08:28 -0400 From: "Rene Teniere " To: Cc: Subject: Re: [Chameleon] Map Download Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Guinevere: 2.0.13 ; Province of Nova Sco Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, Actually, I don't even get that far, you hit the download button (the one on the PrintWidget popup dialog) and it grinds for a moment and then a little IE browser window opens up and says the error. I suppose you aren't getting the download dialog either? Should be calling the image file then the download dialog would come up automatically, correct?? Rene >>> 2004-01-16 12:20:14 PM >>> Hi Rene, when you get the IE download dialog, do you "Open" or "Save" the file? We also have problems with our custom print widget when opening a file, but not when saving it to disk and after that, opening it with an application. Best regards, Bart > Hi all, > > When it comes to downloading the map as opposed to printing it, I get a > dialog error that states: file name > http://10.2.185.9/temp/tmp/4008054281b3d.png is not valid, even > though it is because I copied the link to IE and it showed up. Does > anyone know why It would do this? > > Rene > > Rene J.R. Teniere - BSc., D.GIS > GIS Technician > Nova Scotia Department of Natural Resources > Forestry Division (GIS) - Truro > > Phone: (902) 893-5655 > Mobile: (902) 209-8956 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From TENIERER@gov.ns.ca Fri Jan 16 13:09:04 2004 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0GI928o014848 for ; Fri, 16 Jan 2004 13:09:03 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Fri, 16 Jan 2004 13:52:11 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Fri, 16 Jan 2004 13:52:11 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Fri, 16 Jan 2004 13:52:09 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Fri, 16 Jan 2004 13:51:53 -0400 From: "Rene Teniere " To: Cc: Subject: Re: [Chameleon] Map Download Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Guinevere: 2.0.13 ; Province of Nova Sco Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Bart, I figure the error must be coming from this portion of the download.phtml file: //download it $save_as = ((isset($http_form_vars['save_as'])) ? $http_form_vars['save_as'] : basename( $file_name )); //make sure file_name is valid if ( stristr($file_name, "http") !== false ) { echo "file name $file_name is not valid"; exit; } else $file_name = "http://".$_SERVER['HTTP_HOST']."/".$file_name; The file name is valid, however, it thinks it is not. I don't know much about php, so hopefully someone can help out. Thanks, RT >>> 2004-01-16 12:20:14 PM >>> Hi Rene, when you get the IE download dialog, do you "Open" or "Save" the file? We also have problems with our custom print widget when opening a file, but not when saving it to disk and after that, opening it with an application. Best regards, Bart > Hi all, > > When it comes to downloading the map as opposed to printing it, I get a > dialog error that states: file name > http://10.2.185.9/temp/tmp/4008054281b3d.png is not valid, even > though it is because I copied the link to IE and it showed up. Does > anyone know why It would do this? > > Rene > > Rene J.R. Teniere - BSc., D.GIS > GIS Technician > Nova Scotia Department of Natural Resources > Forestry Division (GIS) - Truro > > Phone: (902) 893-5655 > Mobile: (902) 209-8956 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From TENIERER@gov.ns.ca Fri Jan 16 13:11:04 2004 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0GIAw8o014875 for ; Fri, 16 Jan 2004 13:11:03 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Fri, 16 Jan 2004 14:05:40 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Fri, 16 Jan 2004 14:05:40 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Fri, 16 Jan 2004 14:05:33 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Fri, 16 Jan 2004 14:05:14 -0400 From: "Rene Teniere " To: Cc: Subject: Re: [Chameleon] Map Download Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Guinevere: 2.0.13 ; Province of Nova Sco Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, OK here goes. I changed the code in the download.phtml section to download the file directly. It seems as though the code is not stripping the http://blah-blah before the actual file name, so it thinks the filename is invalid, and therefore will not download. Anyway, take a look at the code so you can understand what i'm talking about. //download it $save_as = ((isset($http_form_vars['save_as'])) ? $http_form_vars['save_as'] : basename( $file_name )); //make sure file_name is valid if ( stristr($file_name, "http") !== false ) { $file_name = $file_name; -> This is where the problem is coming from, works this way though. } else $file_name = "http://".$_SERVER['HTTP_HOST']."/".$file_name; P.S. I downloaded it as a GIF and it opened fine for me. Rene >>> 2004-01-16 12:20:14 PM >>> Hi Bart, I figure the error must be coming from this portion of the download.phtml file: //download it $save_as = ((isset($http_form_vars['save_as'])) ? $http_form_vars['save_as'] : basename( $file_name )); //make sure file_name is valid if ( stristr($file_name, "http") !== false ) { echo "file name $file_name is not valid"; exit; } else $file_name = "http://".$_SERVER['HTTP_HOST']."/".$file_name; The file name is valid, however, it thinks it is not. I don't know much about php, so hopefully someone can help out. Thanks, RT >>> 2004-01-16 12:20:14 PM >>> Hi Rene, when you get the IE download dialog, do you "Open" or "Save" the file? We also have problems with our custom print widget when opening a file, but not when saving it to disk and after that, opening it with an application. Best regards, Bart > Hi all, > > When it comes to downloading the map as opposed to printing it, I get a > dialog error that states: file name > http://10.2.185.9/temp/tmp/4008054281b3d.png is not valid, even > though it is because I copied the link to IE and it showed up. Does > anyone know why It would do this? > > Rene > > Rene J.R. Teniere - BSc., D.GIS > GIS Technician > Nova Scotia Department of Natural Resources > Forestry Division (GIS) - Truro > > Phone: (902) 893-5655 > Mobile: (902) 209-8956 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From jeffb@erlandsen.com Fri Jan 16 13:20:31 2004 Received: from erlandsen.com (ip-66-45-208-115.nw-tel.com [66.45.208.115]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0GIKT8o014926 for ; Fri, 16 Jan 2004 13:20:30 -0500 Received: from JEFF [66.45.216.110] by erlandsen.com with ESMTP (SMTPD32-8.04) id AB6B146801F8; Fri, 16 Jan 2004 10:20:27 -0800 From: "Jeff Berry" To: "Chameleon" Date: Fri, 16 Jan 2004 10:06:58 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: [Chameleon] Map not refreshing Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Ok, I've worked through most the problems I've had getting Chameleon to work, (thanks largely to the help from this list), but I'm still stuck with one rather significant issue. When I change the extent of the map using any of the tools, the map redraws but it remains at the same initial extent. The extent coordinates displayed are changing, but the map itself is doing nothing. Just stays with the initial extent of the entire map. Where should I be looking to try to fix this? Jeff Berry GIS Analyst Erlandsen & Associates P.O. Box 2029 Chelan, WA 98816 (509) 682-4189 jeffb@erlandsen.com From Hans.Verlouw@Geodan.nl Fri Jan 16 13:36:46 2004 Received: from mail.vz.geodan.nl (host-3.geodan.demon.nl [212.238.227.179]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0GIaj8o015008 for ; Fri, 16 Jan 2004 13:36:45 -0500 Received: from cp93489-a.Geodan.nl ([212.238.227.182]) by mail.vz.geodan.nl (mail.vz.geodan.nl [212.238.227.179]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 42-md50000000550.tmp for ; Fri, 16 Jan 2004 19:35:52 +0100 Message-Id: <5.1.0.14.2.20040116193407.01f7adc0@mail.vz.geodan.nl> X-Sender: HansV@mail.vz.geodan.nl X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 16 Jan 2004 19:35:51 +0100 To: "Jeff Berry" , "Chameleon" From: Hans Verlouw Subject: Re: [Chameleon] Map not refreshing In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Processed: mail.vz.geodan.nl, Fri, 16 Jan 2004 19:35:52 +0100 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 212.238.227.182 X-Return-Path: Hans.Verlouw@Geodan.nl X-MDaemon-Deliver-To: chameleon@lists.maptools.org Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: The only thing I can think of is the WEB section in the map file. Here you can specify a minimum and a maximum scale: WEB MINSCALE 200000 MAXSCALE 500000000 END Hans Hans Verlouw ------------------------------------- Geodan SDT b.v. Buitenhaven 27-A 5211 TP 's-Hertogenbosch (NL) ------------------------------------- Tel: +31 (0)73 - 692 5151 Fax: +31 (0)73 - 692 5150 ------------------------------------- Postadres / mailing address President Kennedylaan 1 1079 MB Amsterdam (NL) ------------------------------------- E-mail: Hans.Verlouw@Geodan.nl Website: www.geodan.nl Disclaimer: www.geodan.nl/disclaimer ------------------------------------- From pagameba@magma.ca Fri Jan 16 13:51:33 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0GIpT8o015110 for ; Fri, 16 Jan 2004 13:51:32 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i0GIpQPa023368; Fri, 16 Jan 2004 13:51:26 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i0GIpNug013121; Fri, 16 Jan 2004 13:51:25 -0500 Message-ID: <400832A8.8010100@magma.ca> Date: Fri, 16 Jan 2004 13:51:20 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jeff Berry CC: Chameleon Subject: Re: [Chameleon] Map not refreshing References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Jeff, did you make the suggested changes to the index.phtml file? Paul Jeff Berry wrote: > Ok, I've worked through most the problems I've had getting Chameleon to > work, (thanks largely to the help from this list), but I'm still stuck with > one rather significant issue. When I change the extent of the map using any > of the tools, the map redraws but it remains at the same initial extent. > The extent coordinates displayed are changing, but the map itself is doing > nothing. Just stays with the initial extent of the entire map. Where > should I be looking to try to fix this? > > Jeff Berry > GIS Analyst > Erlandsen & Associates > P.O. Box 2029 > Chelan, WA 98816 > (509) 682-4189 > jeffb@erlandsen.com > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Jean-Francois.Doyon@CCRS.NRCan.gc.ca Fri Jan 16 13:55:24 2004 Received: from dns1.ccrs.nrcan.gc.ca (dns1.ccrs.nrcan.gc.ca [132.156.11.189]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0GItN8o015165 for ; Fri, 16 Jan 2004 13:55:23 -0500 Received: from s5-ccr-r1.ccrs.nrn.nrcan.gc.ca (s5-ccr-r1.ccrs.nrcan.gc.ca [132.156.20.32]) by dns1.ccrs.nrcan.gc.ca (8.12.9/8.12.10) with ESMTP id i0GItJWW079004; Fri, 16 Jan 2004 13:55:19 -0500 (EST) Received: by s5-ccr-r1.ccrs.nrcan.gc.ca with Internet Mail Service (5.5.2657.72) id ; Fri, 16 Jan 2004 13:55:16 -0500 Message-ID: <7CDD7B94357FD5119E800002A537C46E0B8B725B@s5-ccr-r1.ccrs.nrcan.gc.ca> From: Jean-Francois.Doyon@CCRS.NRCan.gc.ca To: jeffb@erlandsen.com Cc: chameleon@lists.maptools.org Subject: RE: [Chameleon] Map not refreshing Date: Fri, 16 Jan 2004 13:55:06 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="ISO-8859-1" X-CCRS-Hits: 0.339 X-CCRS-Initial-Recip: X-Scanned-By: MIMEDefang 2.35 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Indeed ... did you ? :) As you may have read in my e-mail , that was the problem I also ran into, and fixing up the index.php resolved those issues. J.F -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org]On Behalf Of Paul Spencer Sent: Friday, January 16, 2004 1:51 PM To: Jeff Berry Cc: Chameleon Subject: Re: [Chameleon] Map not refreshing Jeff, did you make the suggested changes to the index.phtml file? Paul Jeff Berry wrote: > Ok, I've worked through most the problems I've had getting Chameleon to > work, (thanks largely to the help from this list), but I'm still stuck with > one rather significant issue. When I change the extent of the map using any > of the tools, the map redraws but it remains at the same initial extent. > The extent coordinates displayed are changing, but the map itself is doing > nothing. Just stays with the initial extent of the entire map. Where > should I be looking to try to fix this? > > Jeff Berry > GIS Analyst > Erlandsen & Associates > P.O. Box 2029 > Chelan, WA 98816 > (509) 682-4189 > jeffb@erlandsen.com > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From bartvde@xs4all.nl Fri Jan 16 14:21:07 2004 Received: from smtpzilla1.xs4all.nl (smtpzilla1.xs4all.nl [194.109.127.137]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0GJL68o015405 for ; Fri, 16 Jan 2004 14:21:07 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla1.xs4all.nl (8.12.10/8.12.10) with ESMTP id i0GJL5Du046294 for ; Fri, 16 Jan 2004 20:21:05 +0100 (CET) Reply-To: bartvde@xs4all.nl To: "chameleon@lists.maptools.org" From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Fri, 16 Jan 2004 20:20:58 +0100 Message-ID: User-Agent: Opera7.22/Win32 M2 build 3221 Subject: [Chameleon] navigation tools Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, I have just received some test results from a client of ours on a Chameleon application, and one of the things they mention the most is the following: -when zooming in with a box or panning and getting your mouse out of the map, when you come into the map again the box draws and the map pans until the mouse button is pressed again. Does anybody think this behaviour is wrong or not intuitive? Can anything simple be done about it? Best regards, Bart From pagameba@magma.ca Fri Jan 16 14:58:49 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0GJwn8o015734 for ; Fri, 16 Jan 2004 14:58:49 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i0GJwjDL017248; Fri, 16 Jan 2004 14:58:45 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i0GJwefh000901; Fri, 16 Jan 2004 14:58:45 -0500 Message-ID: <4008426D.7010107@magma.ca> Date: Fri, 16 Jan 2004 14:58:37 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: "chameleon@lists.maptools.org" Subject: Re: [Chameleon] navigation tools References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, this will be fixed by Mar 31st. Paul Bart van den Eijnden wrote: > Hi list, > > I have just received some test results from a client of ours on a > Chameleon application, and one of the things they mention the most is > the following: > > -when zooming in with a box or panning and getting your mouse out of the > map, when you come into the map again the box draws and the map pans > until the mouse button is pressed again. > > Does anybody think this behaviour is wrong or not intuitive? Can > anything simple be done about it? > > Best regards, > Bart _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From jeffb@erlandsen.com Fri Jan 16 18:40:00 2004 Received: from erlandsen.com (ip-66-45-208-115.nw-tel.com [66.45.208.115]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0GNdx8o017404 for ; Fri, 16 Jan 2004 18:40:00 -0500 Received: from JEFF [66.45.216.110] by erlandsen.com with ESMTP (SMTPD32-8.04) id A645DDCA00F6; Fri, 16 Jan 2004 15:39:49 -0800 From: "Jeff Berry" To: "Chameleon" , Subject: RE: [Chameleon] Map not refreshing Date: Fri, 16 Jan 2004 15:26:20 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <400832A8.8010100@magma.ca> Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Woops, my bad. Overlooked that part of your email. You're suggestions to JF did indeed fix the problem. Sorry about that. Thanks much for the help. -Jeff -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: Friday, January 16, 2004 10:51 AM To: Jeff Berry Cc: Chameleon Subject: Re: [Chameleon] Map not refreshing Jeff, did you make the suggested changes to the index.phtml file? Paul Jeff Berry wrote: > Ok, I've worked through most the problems I've had getting Chameleon to > work, (thanks largely to the help from this list), but I'm still stuck with > one rather significant issue. When I change the extent of the map using any > of the tools, the map redraws but it remains at the same initial extent. > The extent coordinates displayed are changing, but the map itself is doing > nothing. Just stays with the initial extent of the entire map. Where > should I be looking to try to fix this? > > Jeff Berry > GIS Analyst > Erlandsen & Associates > P.O. Box 2029 > Chelan, WA 98816 > (509) 682-4189 > jeffb@erlandsen.com > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From davidtecher@yahoo.fr Fri Jan 16 18:52:36 2004 Received: from smtp001.mail.ukl.yahoo.com (smtp001.mail.ukl.yahoo.com [217.12.11.32]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i0GNqZ8o017489 for ; Fri, 16 Jan 2004 18:52:36 -0500 Received: from unknown (HELO olivia) (davidtecher@62.147.80.245 with login) by smtp001.mail.ukl.yahoo.com with SMTP; 16 Jan 2004 23:52:34 -0000 Reply-To: From: "TECHER Jean David" To: Date: Sat, 17 Jan 2004 00:52:31 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: [Chameleon] installation for chameleon for french users avalable Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi I'm new to this list. I had written a guide (PDF) about installation for chameleon for french users at http://techer.pascal.free.fr/postgis/chameleon/download/cwc2_install.pdf or to http://techer.pascal.free.fr/postgis/chameleon/index.html or http://techer.pascal.free.fr/postgis/index.html I hope it will be a great help for you :) Tell-me what you think about it. Thanks. David TECHER Jean David Tél: 06-85-37-36-75 e-mail: davidtecher@yahoo.fr Site PostGIS: http://techer.pascal.free.fr/postgis/index.htm From davidtecher@yahoo.fr Fri Jan 16 19:10:00 2004 Received: from smtp004.mail.ukl.yahoo.com (smtp004.mail.ukl.yahoo.com [217.12.11.35]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i0H09x8o017611 for ; Fri, 16 Jan 2004 19:10:00 -0500 Received: from unknown (HELO olivia) (davidtecher@62.147.80.245 with login) by smtp004.mail.ukl.yahoo.com with SMTP; 17 Jan 2004 00:09:57 -0000 Reply-To: From: "TECHER Jean David" To: Date: Sat, 17 Jan 2004 01:09:55 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: [Chameleon] (no subject) Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: (Corrections for my first mail about the link) Hi I'm new to this list. I had written a guide (PDF) about installation for chameleon for french users at http://techer.pascal.free.fr/postgis/chameleon/download/cwc2_install.pdf or to http://techer.pascal.free.fr/postgis/chameleon/index.htm or http://techer.pascal.free.fr/postgis/index.htm I hope it will be a great help for you :) Tell-me what you think about it. Thanks. David TECHER Jean David Tél: 06-85-37-36-75 e-mail: davidtecher@yahoo.fr Site PostGIS: http://techer.pascal.free.fr/postgis/index.htm From davidtecher@yahoo.fr Fri Jan 16 19:11:35 2004 Received: from smtp001.mail.ukl.yahoo.com (smtp001.mail.ukl.yahoo.com [217.12.11.32]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i0H0BY8o017635 for ; Fri, 16 Jan 2004 19:11:34 -0500 Received: from unknown (HELO olivia) (davidtecher@62.147.80.245 with login) by smtp001.mail.ukl.yahoo.com with SMTP; 17 Jan 2004 00:11:33 -0000 Reply-To: From: "TECHER Jean David" To: Date: Sat, 17 Jan 2004 01:11:30 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: [Chameleon] (correction 3) installation for chameleon for french users avalable Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi I'm new to this list. I had written a guide (PDF) about installation for chameleon for french users at http://techer.pascal.free.fr/postgis/chameleon/download/cwc2_install.pdf or to http://techer.pascal.free.fr/postgis/chameleon/index.html or http://techer.pascal.free.fr/postgis/index.html I hope it will be a great help for you :) Tell-me what you think about it. Thanks. David TECHER Jean David Tél: 06-85-37-36-75 e-mail: davidtecher@yahoo.fr Site PostGIS: http://techer.pascal.free.fr/postgis/index.htm From pagameba@magma.ca Sat Jan 17 11:16:52 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0HGGq8o021323 for ; Sat, 17 Jan 2004 11:16:52 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i0HGGoN1017800; Sat, 17 Jan 2004 11:16:50 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i0HGGfvU002773; Sat, 17 Jan 2004 11:16:50 -0500 Message-ID: <40095FE5.20106@magma.ca> Date: Sat, 17 Jan 2004 11:16:37 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Hans Verlouw CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Path to button images References: <5.1.0.14.2.20040116122623.01f62c60@mail.vz.geodan.nl> In-Reply-To: <5.1.0.14.2.20040116122623.01f62c60@mail.vz.geodan.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hans, this is a setting in the cwc2.xml configuration file, button_cache_path. Cheers, Paul Hans Verlouw wrote: > Hello list, > > Can somebody tell me whether there is a Chameleon variable for the full > path to the TextButton images and other images used by the buttonizer? > This would be nice for transferring your template to another webserver > that has Chameleon installed at a different location. > At the moment I am changing my template frequently. But every time I > copy it from my developing machine to the webserver, I have to replace > the paths to these images. (Do you know Murphy's law?) > I can't find it in the documentation nor at the wiki... > > Thanks in advance, > > Hans > > Hans Verlouw > ------------------------------------- > Geodan SDT b.v. > Buitenhaven 27-A > 5211 TP 's-Hertogenbosch (NL) > ------------------------------------- > Tel: +31 (0)73 - 692 5151 > Fax: +31 (0)73 - 692 5150 > ------------------------------------- > Postadres / mailing address > President Kennedylaan 1 > 1079 MB Amsterdam (NL) > ------------------------------------- > E-mail: Hans.Verlouw@Geodan.nl > Website: www.geodan.nl > Disclaimer: www.geodan.nl/disclaimer > ------------------------------------- > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Hans.Verlouw@Geodan.nl Sun Jan 18 11:12:58 2004 Received: from mail.vz.geodan.nl (host-3.geodan.demon.nl [212.238.227.179]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0IGCv8o032162 for ; Sun, 18 Jan 2004 11:12:57 -0500 Received: from cp93489-a.Geodan.nl ([217.120.34.104]) by mail.vz.geodan.nl (mail.vz.geodan.nl [212.238.227.179]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 51-md50000000559.tmp for ; Sun, 18 Jan 2004 17:12:29 +0100 Message-Id: <5.1.0.14.2.20040118170933.00b50998@mail.vz.geodan.nl> X-Sender: HansV@mail.vz.geodan.nl X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sun, 18 Jan 2004 17:12:27 +0100 To: spencer@dmsolutions.ca From: Hans Verlouw Subject: Re: [Chameleon] Path to button images Cc: chameleon@lists.maptools.org In-Reply-To: <40095FE5.20106@magma.ca> References: <5.1.0.14.2.20040116122623.01f62c60@mail.vz.geodan.nl> <5.1.0.14.2.20040116122623.01f62c60@mail.vz.geodan.nl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-MDRemoteIP: 217.120.34.104 X-Return-Path: Hans.Verlouw@Geodan.nl X-MDaemon-Deliver-To: chameleon@lists.maptools.org X-Spam-Status: No, hits=-2.5 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-Spam-Report: ---- Start SpamAssassin results -2.50 points, 5 required; * -0.5 -- Has a In-Reply-To header * -0.5 -- Has a valid-looking References header * -0.5 -- BODY: Contains what looks like an email attribution * -0.5 -- BODY: Contains what looks like a quoted email text * -0.5 -- Reply with quoted text ---- End of SpamAssassin results X-Spam-Processed: mail.vz.geodan.nl, Sun, 18 Jan 2004 17:12:32 +0100 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Paul, Thanks for your answer, but what I meant is the full path to the original, unbuttonized, images, which the buttonizer uses to generate the buttons from. Hans At 1/17/2004 05:16 PM, Paul Spencer wrote: >Hans, > >this is a setting in the cwc2.xml configuration file, button_cache_path. > >Cheers, > >Paul > >Hans Verlouw wrote: > >>Hello list, >>Can somebody tell me whether there is a Chameleon variable for the full >>path to the TextButton images and other images used by the buttonizer? >>This would be nice for transferring your template to another webserver >>that has Chameleon installed at a different location. >>At the moment I am changing my template frequently. But every time I copy >>it from my developing machine to the webserver, I have to replace the >>paths to these images. (Do you know Murphy's law?) >>I can't find it in the documentation nor at the wiki... >>Thanks in advance, >>Hans >>Hans Verlouw >>------------------------------------- >>Geodan SDT b.v. >>Buitenhaven 27-A >>5211 TP 's-Hertogenbosch (NL) >>------------------------------------- >>Tel: +31 (0)73 - 692 5151 >>Fax: +31 (0)73 - 692 5150 >>------------------------------------- >>Postadres / mailing address >>President Kennedylaan 1 >>1079 MB Amsterdam (NL) >>------------------------------------- >>E-mail: Hans.Verlouw@Geodan.nl >>Website: www.geodan.nl >>Disclaimer: www.geodan.nl/disclaimer >>------------------------------------- >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon > >-- > ----------------------------------------------------------------- >|Paul Spencer spencer@dmsolutions.ca | >|-----------------------------------------------------------------| >|Applications & Software Development | >|DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- From bartvde@xs4all.nl Sun Jan 18 11:53:52 2004 Received: from smtpzilla3.xs4all.nl (smtpzilla3.xs4all.nl [194.109.127.139]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0IGrp8o032289 for ; Sun, 18 Jan 2004 11:53:51 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla3.xs4all.nl (8.12.10/8.12.10) with ESMTP id i0IGrnv0032587 for ; Sun, 18 Jan 2004 17:53:50 +0100 (CET) Reply-To: bartvde@xs4all.nl To: "chameleon@lists.maptools.org" From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Sun, 18 Jan 2004 17:53:41 +0100 Message-ID: User-Agent: Opera7.22/Win32 M2 build 3221 Subject: [Chameleon] move imagetip into the language dbf files? Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, would it be an idea not to have the imagetip attribute in the HTML template but in the language dbf files? I now have 5 applications to maintain, and everytime the customer wants to have the hint of the buttons changed, I have to change it at 5 places. Would be nice to have this in a centralized position, and I personally don't see the need to have it in the HTML template, but perhaps I am overseeing something? Maybe the same could apply to the label attribute of the Cursorpos and Rulerresult widgets? Also, it would be nice to have parts of an HTML template which can be reused without having to copy them, i.e. linking in HTML template subsets? Best regards, Bart From pagameba@magma.ca Sun Jan 18 22:05:37 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0J35b8o001748 for ; Sun, 18 Jan 2004 22:05:37 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i0J35awV022509; Sun, 18 Jan 2004 22:05:36 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i0J35UGU022609; Sun, 18 Jan 2004 22:05:35 -0500 Message-ID: <400B4974.9000502@magma.ca> Date: Sun, 18 Jan 2004 22:05:24 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: "chameleon@lists.maptools.org" Subject: Re: [Chameleon] move imagetip into the language dbf files? References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, I am against putting anything from the HTML template into dbf files except *possibly* as default values in the cases like image tip so if no value is defined then one might be looked up in a dbf file for the specific widget. I don't think this would be a bad idea, actually. Another option would be to include the ability to specify language resources in a template and reference them within widgets, for instance: English Text French Text Dutch Text and then in a widget tag, a reference like would replace #1 with the appropriate text. This might be acheivable within the widget parsing code rather than within the widgets themselves, making it compatible with existing widgets and not requiring extensive changes. The #1 syntax would probably not be the final but it might be something like that. In order to make this useful, though, we need your second suggestion and as it turns out there is an undocumented feature that allows this. It will be documented at some point. In the meantime, there are two pre-processor directives in chameleon: 1. includes. Includes are simply an ability to insert another document into the current template prior to parsing for widgets. The syntax is [!filename!] 2. URL replacements. URL replacements are done on URL parameters (case-insensitive) and the syntax is [#variable#]. Both pre-processor commands work anywhere in a template, both in and outside of widget tags. Cheers, Paul Bart van den Eijnden wrote: > Hi list, > > would it be an idea not to have the imagetip attribute in the HTML > template but in the language dbf files? > > I now have 5 applications to maintain, and everytime the customer wants > to have the hint of the buttons changed, I have to change it at 5 > places. Would be nice to have this in a centralized position, and I > personally don't see the need to have it in the HTML template, but > perhaps I am overseeing something? > > Maybe the same could apply to the label attribute of the Cursorpos and > Rulerresult widgets? > > Also, it would be nice to have parts of an HTML template which can be > reused without having to copy them, i.e. linking in HTML template subsets? > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Sun Jan 18 22:10:06 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0J3A68o001778 for ; Sun, 18 Jan 2004 22:10:06 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i0J3A3Rp007477; Sun, 18 Jan 2004 22:10:03 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i0J39xVZ032726; Sun, 18 Jan 2004 22:10:03 -0500 Message-ID: <400B4A82.5000904@magma.ca> Date: Sun, 18 Jan 2004 22:09:54 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Hans Verlouw CC: spencer@dmsolutions.ca, chameleon@lists.maptools.org Subject: Re: [Chameleon] Path to button images References: <5.1.0.14.2.20040116122623.01f62c60@mail.vz.geodan.nl> <5.1.0.14.2.20040116122623.01f62c60@mail.vz.geodan.nl> <5.1.0.14.2.20040118170933.00b50998@mail.vz.geodan.nl> In-Reply-To: <5.1.0.14.2.20040118170933.00b50998@mail.vz.geodan.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: My appologies. The full path to images used by the buttonizer (this is about to change in the next day or so) should be calculated relative to the chameleon web path. If this is not happening then it is a bug. However, in the version about to be committed (I will describe all the changes in an email once I have finished testing and have committed the changes), the image path is calculated as follows: if not absolute: test if image is found relative to application file (index.phtml) in file system test if image is found relative to application file (index.phtml) using web path test if image is found relative to chameleon path (chameleon.php) in file system assume image is relative to chameleon path (chameleon.php) using URL Cheers, Paul Hans Verlouw wrote: > Paul, > > Thanks for your answer, but what I meant is the full path to the > original, unbuttonized, images, which the buttonizer uses to generate > the buttons from. > > Hans > > At 1/17/2004 05:16 PM, Paul Spencer wrote: > >> Hans, >> >> this is a setting in the cwc2.xml configuration file, button_cache_path. >> >> Cheers, >> >> Paul >> >> Hans Verlouw wrote: >> >>> Hello list, >>> Can somebody tell me whether there is a Chameleon variable for the >>> full path to the TextButton images and other images used by the >>> buttonizer? >>> This would be nice for transferring your template to another >>> webserver that has Chameleon installed at a different location. >>> At the moment I am changing my template frequently. But every time I >>> copy it from my developing machine to the webserver, I have to >>> replace the paths to these images. (Do you know Murphy's law?) >>> I can't find it in the documentation nor at the wiki... >>> Thanks in advance, >>> Hans >>> Hans Verlouw >>> ------------------------------------- >>> Geodan SDT b.v. >>> Buitenhaven 27-A >>> 5211 TP 's-Hertogenbosch (NL) >>> ------------------------------------- >>> Tel: +31 (0)73 - 692 5151 >>> Fax: +31 (0)73 - 692 5150 >>> ------------------------------------- >>> Postadres / mailing address >>> President Kennedylaan 1 >>> 1079 MB Amsterdam (NL) >>> ------------------------------------- >>> E-mail: Hans.Verlouw@Geodan.nl >>> Website: www.geodan.nl >>> Disclaimer: www.geodan.nl/disclaimer >>> ------------------------------------- >>> _______________________________________________ >>> Chameleon mailing list >>> Chameleon@lists.maptools.org >>> http://lists.maptools.org/mailman/listinfo/chameleon >> >> >> -- >> ----------------------------------------------------------------- >> |Paul Spencer spencer@dmsolutions.ca | >> |-----------------------------------------------------------------| >> |Applications & Software Development | >> |DM Solutions Group Inc http://www.dmsolutions.ca/| >> ----------------------------------------------------------------- > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From john.pulles@geodan.nl Mon Jan 19 05:12:46 2004 Received: from mail.vz.geodan.nl (host-3.geodan.demon.nl [212.238.227.179]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0JACj8o003782 for ; Mon, 19 Jan 2004 05:12:46 -0500 Received: from geodan.nl ([212.238.227.182]) (authenticated user john@mail.vz.geodan.nl) by mail.vz.geodan.nl (mail.vz.geodan.nl [212.238.227.179]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 57-md50000000565.tmp for ; Mon, 19 Jan 2004 11:11:58 +0100 Message-ID: <400BAD55.8070304@geodan.nl> Date: Mon, 19 Jan 2004 11:11:33 +0100 From: John Pulles Organization: Geodan User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; nl-NL; rv:1.5) Gecko/20031007 X-Accept-Language: nl, en, en-us MIME-Version: 1.0 To: chameleon@lists.maptools.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: john@mail.vz.geodan.nl X-Spam-Processed: mail.vz.geodan.nl, Mon, 19 Jan 2004 11:11:58 +0100 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 212.238.227.182 X-Return-Path: john.pulles@geodan.nl X-MDaemon-Deliver-To: chameleon@lists.maptools.org Subject: [Chameleon] zoomscale Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, It seems a (modified) Locate widget does not do an accurate zoom to scale. We modified the Locate widget to zoom to a scale of 50000 and noticed that the centre of the map was not close to the requested location. Looking into the code (at the end of the parseUrl function of the Locate widget) the problem seems that first the pixel coordinates are calculated based on the full (?) extent of the map; after this the zoom function is called. I am not sure if I fully comprehend the code, but it seems more logical to me if the zoom function would use map/world coordinates instead of pixels, or else calculate the pixel coordinates after the zoom-to-scale has been done. The workaround seems to be to use the MapNavigator->recentre function after having recalculated the pixel coordinates with the extent after-the-zoomin. Is this the correct way, or should something else be done? Regards, John. -- ------------------------------------- E-mail: john.pulles@geodan.nl Website: http://www.geodan.nl ------------------------------------- From Hans.Verlouw@Geodan.nl Mon Jan 19 06:16:53 2004 Received: from mail.vz.geodan.nl (host-3.geodan.demon.nl [212.238.227.179]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0JBGq8o004020 for ; Mon, 19 Jan 2004 06:16:52 -0500 Received: from cp93489-a.Geodan.nl ([212.238.227.182]) by mail.vz.geodan.nl (mail.vz.geodan.nl [212.238.227.179]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 52-md50000000566.tmp for ; Mon, 19 Jan 2004 12:16:16 +0100 Message-Id: <5.1.0.14.2.20040119121435.01f85b50@mail.vz.geodan.nl> X-Sender: HansV@mail.vz.geodan.nl X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 19 Jan 2004 12:16:15 +0100 To: spencer@dmsolutions.ca From: Hans Verlouw Subject: Re: [Chameleon] Path to button images Cc: spencer@dmsolutions.ca, chameleon@lists.maptools.org In-Reply-To: <400B4A82.5000904@magma.ca> References: <5.1.0.14.2.20040118170933.00b50998@mail.vz.geodan.nl> <5.1.0.14.2.20040116122623.01f62c60@mail.vz.geodan.nl> <5.1.0.14.2.20040116122623.01f62c60@mail.vz.geodan.nl> <5.1.0.14.2.20040118170933.00b50998@mail.vz.geodan.nl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Processed: mail.vz.geodan.nl, Mon, 19 Jan 2004 12:16:16 +0100 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 212.238.227.182 X-Return-Path: Hans.Verlouw@Geodan.nl X-MDaemon-Deliver-To: chameleon@lists.maptools.org Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Paul, The first solution works (relative to application file (index.phtml) in file system). Thanks! I think I tried this before, but probably I forgot to clear the button cache then... Hans At 1/19/2004 04:09 AM, Paul Spencer wrote: >My appologies. The full path to images used by the buttonizer (this is >about to change in the next day or so) should be calculated relative to >the chameleon web path. If this is not happening then it is a bug. > >However, in the version about to be committed (I will describe all the >changes in an email once I have finished testing and have committed the >changes), the image path is calculated as follows: > >if not absolute: > test if image is found relative to application file (index.phtml) in > file system > test if image is found relative to application file (index.phtml) using > web path > test if image is found relative to chameleon path (chameleon.php) in > file system > assume image is relative to chameleon path (chameleon.php) using URL > > >Cheers, > >Paul > >Hans Verlouw wrote: > >>Paul, >>Thanks for your answer, but what I meant is the full path to the >>original, unbuttonized, images, which the buttonizer uses to generate the >>buttons from. >>Hans >>At 1/17/2004 05:16 PM, Paul Spencer wrote: >> >>>Hans, >>> >>>this is a setting in the cwc2.xml configuration file, button_cache_path. >>> >>>Cheers, >>> >>>Paul >>> >>>Hans Verlouw wrote: >>> >>>>Hello list, >>>>Can somebody tell me whether there is a Chameleon variable for the full >>>>path to the TextButton images and other images used by the buttonizer? >>>>This would be nice for transferring your template to another webserver >>>>that has Chameleon installed at a different location. >>>>At the moment I am changing my template frequently. But every time I >>>>copy it from my developing machine to the webserver, I have to replace >>>>the paths to these images. (Do you know Murphy's law?) >>>>I can't find it in the documentation nor at the wiki... >>>>Thanks in advance, >>>>Hans >>>>Hans Verlouw >>>>------------------------------------- >>>>Geodan SDT b.v. >>>>Buitenhaven 27-A >>>>5211 TP 's-Hertogenbosch (NL) >>>>------------------------------------- >>>>Tel: +31 (0)73 - 692 5151 >>>>Fax: +31 (0)73 - 692 5150 >>>>------------------------------------- >>>>Postadres / mailing address >>>>President Kennedylaan 1 >>>>1079 MB Amsterdam (NL) >>>>------------------------------------- >>>>E-mail: Hans.Verlouw@Geodan.nl >>>>Website: www.geodan.nl >>>>Disclaimer: www.geodan.nl/disclaimer >>>>------------------------------------- >>>>_______________________________________________ >>>>Chameleon mailing list >>>>Chameleon@lists.maptools.org >>>>http://lists.maptools.org/mailman/listinfo/chameleon >>> >>> >>>-- >>> ----------------------------------------------------------------- >>>|Paul Spencer spencer@dmsolutions.ca | >>>|-----------------------------------------------------------------| >>>|Applications & Software Development | >>>|DM Solutions Group Inc http://www.dmsolutions.ca/| >>> ----------------------------------------------------------------- >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon > >-- > ----------------------------------------------------------------- >|Paul Spencer spencer@dmsolutions.ca | >|-----------------------------------------------------------------| >|Applications & Software Development | >|DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- Met vriendelijke groeten, Hans Verlouw ------------------------------------- Geodan SDT b.v. Buitenhaven 27-A 5211 TP 's-Hertogenbosch (NL) ------------------------------------- Tel: +31 (0)73 - 692 5151 Fax: +31 (0)73 - 692 5150 ------------------------------------- Postadres / mailing address President Kennedylaan 1 1079 MB Amsterdam (NL) ------------------------------------- E-mail: Hans.Verlouw@Geodan.nl Website: www.geodan.nl Disclaimer: www.geodan.nl/disclaimer ------------------------------------- From pagameba@magma.ca Mon Jan 19 08:53:18 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0JDrH8o004557 for ; Mon, 19 Jan 2004 08:53:18 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i0JDrF3I015130; Mon, 19 Jan 2004 08:53:15 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i0JDrCM8003688; Mon, 19 Jan 2004 08:53:15 -0500 Message-ID: <400BE148.7030809@magma.ca> Date: Mon, 19 Jan 2004 08:53:12 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: John Pulles CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] zoomscale References: <400BAD55.8070304@geodan.nl> In-Reply-To: <400BAD55.8070304@geodan.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: John, I think this is a valid request and your assessment of the problem appears to be corrrect, but pls note that the widget doesn't claim to center the map on the point :) Your solution is a quick fix, but having reviewed the code it seems to me that there is quite a lot of extra code in there for such a simple request. This is because we are trying to reuse existing navigation code and it all works on user input from pixel locations. I will file a bug to review this and look at providing some simpler code that navigates based on geographic location. Cheers, Paul John Pulles wrote: > Hi list, > > It seems a (modified) Locate widget does not do an accurate zoom to > scale. We modified the Locate widget to zoom to a scale of 50000 and > noticed that the centre of the map was not close to the requested > location. Looking into the code (at the end of the parseUrl function of > the Locate widget) the problem seems that first the pixel coordinates > are calculated based on the full (?) extent of the map; after this the > zoom function is called. > I am not sure if I fully comprehend the code, but it seems more logical > to me if the zoom function would use map/world coordinates instead of > pixels, or else calculate the pixel coordinates after the zoom-to-scale > has been done. > The workaround seems to be to use the MapNavigator->recentre function > after having recalculated the pixel coordinates with the extent > after-the-zoomin. Is this the correct way, or should something else be > done? > > Regards, > John. > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Mon Jan 19 11:32:47 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0JGWl8o005209 for ; Mon, 19 Jan 2004 11:32:47 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i0JGWkS8030721 for ; Mon, 19 Jan 2004 11:32:46 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i0JGWfAm025268 for ; Mon, 19 Jan 2004 11:32:46 -0500 Message-ID: <400C06A9.1030608@magma.ca> Date: Mon, 19 Jan 2004 11:32:41 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "chameleon@lists.maptools.org" Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Chameleon] chameleon lists/maptools downtime Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: All, DM Solutions is moving on Tuesday, January 19th and this move will involve disconnection of the maptools.org server. This means that the chameleon list, bugzilla, downloads and cvs access, including the rest of the maptools site will be unavailable for at least part of that day. E-mail messages sent to the list server may bounce. Everything should be back to normal by Wednesday. Paul -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From mcilhagga@dmsolutions.ca Mon Jan 19 13:12:00 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0JIBx8o005608 for ; Mon, 19 Jan 2004 13:12:00 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i0JIBxTp015924; Mon, 19 Jan 2004 13:11:59 -0500 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i0JIBvdm025524; Mon, 19 Jan 2004 13:11:59 -0500 Message-ID: <400C1DEC.1010604@dmsolutions.ca> Date: Mon, 19 Jan 2004 13:11:56 -0500 From: Dave McIlhagga User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-ca, en, en-us, fr-ca MIME-Version: 1.0 To: spencer@dmsolutions.ca CC: "chameleon@lists.maptools.org" Subject: Re: [Chameleon] chameleon lists/maptools downtime References: <400C06A9.1030608@magma.ca> In-Reply-To: <400C06A9.1030608@magma.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Clarification - that would be Tuesday, January 20th. Dave Paul Spencer wrote: > All, > > DM Solutions is moving on Tuesday, January 19th and this move will > involve disconnection of the maptools.org server. This means that the > chameleon list, bugzilla, downloads and cvs access, including the rest > of the maptools site will be unavailable for at least part of that day. > E-mail messages sent to the list server may bounce. > > Everything should be back to normal by Wednesday. > > Paul From bartvde@xs4all.nl Mon Jan 19 15:35:26 2004 Received: from smtpzilla3.xs4all.nl (smtpzilla3.xs4all.nl [194.109.127.139]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0JKZP8o006164 for ; Mon, 19 Jan 2004 15:35:26 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtpzilla3.xs4all.nl (8.12.10/8.12.10) with ESMTP id i0JKZJlI035882 for ; Mon, 19 Jan 2004 21:35:24 +0100 (CET) Reply-To: bartvde@xs4all.nl To: "chameleon@lists.maptools.org" From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Mon, 19 Jan 2004 21:35:09 +0100 Message-ID: User-Agent: Opera7.22/Win32 M2 build 3221 Subject: [Chameleon] Mozilla, IE javascript error Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, is it my distribution of Chameleon code, or is nor the rulertool nor the zoomin with a box working anymore in Mozilla? BTW both are working in the Hawaii demo. Also, when firstly using the ROIRectangle tool in IE, followed by drawing an ROI, and after that using the rulertool, you get a javascript error "null" is null or not an object. Paul, BTW, which javascript debugger are you using? I tried using the one in Mozilla to get to the source of the js error described above, but because the rulertool functionality does not work there in my distribution, I could not track it down in the debugger. Best regards, Bart From pagameba@magma.ca Mon Jan 19 15:54:42 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0JKsg8o006231 for ; Mon, 19 Jan 2004 15:54:42 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i0JKsdEh015900; Mon, 19 Jan 2004 15:54:39 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i0JKsPe2024247; Mon, 19 Jan 2004 15:54:39 -0500 Message-ID: <400C4400.8030805@magma.ca> Date: Mon, 19 Jan 2004 15:54:24 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: "chameleon@lists.maptools.org" Subject: Re: [Chameleon] Mozilla, IE javascript error References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, I've got a pretty heavily modified version of chameleon right now so I can't confirm or deny this :) I'll check in my version and see if they are still working when I commit all my changes. I'm using the venkeman debugger in Firebird. Cheers, Paul Bart van den Eijnden wrote: > Hi list, > > is it my distribution of Chameleon code, or is nor the rulertool nor the > zoomin with a box working anymore in Mozilla? BTW both are working in > the Hawaii demo. > > Also, when firstly using the ROIRectangle tool in IE, followed by > drawing an ROI, and after that using the rulertool, you get a javascript > error "null" is null or not an object. > > Paul, BTW, which javascript debugger are you using? I tried using the > one in Mozilla to get to the source of the js error described above, but > because the rulertool functionality does not work there in my > distribution, I could not track it down in the debugger. > > Best regards, > Bart > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From delfos18@yahoo.com Mon Jan 19 20:27:57 2004 Received: from web12104.mail.yahoo.com (web12104.mail.yahoo.com [216.136.172.24]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i0K1Ru8o007143 for ; Mon, 19 Jan 2004 20:27:57 -0500 Message-ID: <20040120012740.32223.qmail@web12104.mail.yahoo.com> Received: from [202.139.2.65] by web12104.mail.yahoo.com via HTTP; Mon, 19 Jan 2004 17:27:40 PST Date: Mon, 19 Jan 2004 17:27:40 -0800 (PST) From: "J. Delfos" Reply-To: delfos@myrealbox.com To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Chameleon] submitted extent incorrect after pan-arrow Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi List, Has anyone run into the following problem? : - You are at a specific map-extent, say extent 1 - you use a pan-arrow to go to extent 2 - you add a layer, and refresh (re-submit the form) result: layer has been added correctly, but your extent is back to 1 It does not happen if I change extent using the zoombox tools, nor with the normal pan-tool. I cannot remember having modified (read: "messed up") this tool.... regards, Jacob __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From pagameba@magma.ca Mon Jan 19 22:38:03 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0K3c28o007576 for ; Mon, 19 Jan 2004 22:38:03 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i0K3btRf023705; Mon, 19 Jan 2004 22:37:55 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i0K3bnae019861; Mon, 19 Jan 2004 22:37:55 -0500 Message-ID: <400CA28C.1090504@magma.ca> Date: Mon, 19 Jan 2004 22:37:48 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: delfos@myrealbox.com CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] submitted extent incorrect after pan-arrow References: <20040120012740.32223.qmail@web12104.mail.yahoo.com> In-Reply-To: <20040120012740.32223.qmail@web12104.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Jacob, this is perhaps a bug :) How are you adding the layer? Paul J. Delfos wrote: > Hi List, > > Has anyone run into the following problem? : > > - You are at a specific map-extent, say extent 1 > - you use a pan-arrow to go to extent 2 > - you add a layer, and refresh (re-submit the form) > > result: layer has been added correctly, but your extent is back to 1 > > It does not happen if I change extent using the zoombox tools, nor with > the normal pan-tool. I cannot remember having modified (read: "messed up") > this tool.... > > regards, > > Jacob > > __________________________________ > Do you Yahoo!? > Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes > http://hotjobs.sweepstakes.yahoo.com/signingbonus > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From delfos18@yahoo.com Mon Jan 19 23:10:16 2004 Received: from web12103.mail.yahoo.com (web12103.mail.yahoo.com [216.136.172.23]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i0K4AE8o007718 for ; Mon, 19 Jan 2004 23:10:16 -0500 Message-ID: <20040120040957.13419.qmail@web12103.mail.yahoo.com> Received: from [202.139.2.65] by web12103.mail.yahoo.com via HTTP; Mon, 19 Jan 2004 20:09:57 PST Date: Mon, 19 Jan 2004 20:09:57 -0800 (PST) From: "J. Delfos" Reply-To: delfos@myrealbox.com Subject: Re: [Chameleon] submitted extent incorrect after pan-arrow To: spencer@dmsolutions.ca Cc: chameleon@lists.maptools.org In-Reply-To: <400CA28C.1090504@magma.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Paul, I used the legend_template_widget, where my template has tickboxes to turn legends on and off. I think this came from a mapserver standard template. But it also happens with the layer manager widget, or by simply pressing the button of an updatemap widget (which refreshes the form). Somehow, the change to the mapextent that the pan arrow causes is not registered in the form properly, such that it is lost when the form is refreshed. Jacob --- Paul Spencer wrote: > Jacob, > > this is perhaps a bug :) How are you adding the layer? > > Paul > > J. Delfos wrote: > > > Hi List, > > > > Has anyone run into the following problem? : > > > > - You are at a specific map-extent, say extent 1 > > - you use a pan-arrow to go to extent 2 > > - you add a layer, and refresh (re-submit the form) > > > > result: layer has been added correctly, but your extent is back to 1 > > > > It does not happen if I change extent using the zoombox tools, nor > with > > the normal pan-tool. I cannot remember having modified (read: "messed > up") > > this tool.... > > > > regards, > > > > Jacob > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes > > http://hotjobs.sweepstakes.yahoo.com/signingbonus > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > http://lists.maptools.org/mailman/listinfo/chameleon > > > > -- > ----------------------------------------------------------------- > |Paul Spencer spencer@dmsolutions.ca | > |-----------------------------------------------------------------| > |Applications & Software Development | > |DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From bartvde@xs4all.nl Tue Jan 20 08:06:31 2004 Received: from smtpzilla1.xs4all.nl (smtpzilla1.xs4all.nl [194.109.127.137]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0KD6T8o010008 for ; Tue, 20 Jan 2004 08:06:30 -0500 Received: from webmail.xs4all.nl (webmail7.xs4all.nl [194.109.127.31]) by smtpzilla1.xs4all.nl (8.12.10/8.12.10) with SMTP id i0KD6NP8069141 for ; Tue, 20 Jan 2004 14:06:28 +0100 (CET) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Tue, 20 Jan 2004 14:06:28 +0100 (CET) Message-ID: <16149.212.238.227.182.1074603988.squirrel@webmail.xs4all.nl> Date: Tue, 20 Jan 2004 14:06:28 +0100 (CET) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [Chameleon] multiple submit problem in IE Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Paul, list, we have made some changes in Chameleon to prevent the multiple submit crash of Chameleon in Internet Explorer. The main problem was the form could be submitted when the page was not fully loaded. Basically, what we have done is the following: create a mySubmit() function in the HTML template: var bBusy = true; function mySubmit() { if (! bBusy) { bBusy = true; document.forms[0].submit(); } } on the OnLoad function of the body we set bBusy to false. In all the widgets we have replaced document.forms[0].submit() with a call to mySubmit(). Hopefully you can implement this in a more generic way during the Javascript redesign for Chameleon 2.0. Best regards, Bart From jeffb@erlandsen.com Tue Jan 20 18:55:34 2004 Received: from erlandsen.com (ip-66-45-208-115.nw-tel.com [66.45.208.115]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0KNtA4r001709 for ; Tue, 20 Jan 2004 18:55:30 -0500 Received: from JEFF [66.45.216.110] by erlandsen.com with ESMTP (SMTPD32-8.04) id A1A33E801AE; Tue, 20 Jan 2004 14:54:27 -0800 From: "Jeff Berry" To: "Chameleon" Date: Tue, 20 Jan 2004 14:40:52 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: [Chameleon] Question About Locate Widget Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I'm not clear on how the Locate widget is supposed to work, but based on the description of it, I think it is what I'm looking for. What I really want to do is incorporate a search tool for parcels...pretty straight foward, allow the user to enter a parcel number or owner name and have the map zoom to that location. Am I on the right track here with the Locate widget? I tried to impliment it both on the Chameleon demo and a basic template I put together, but when I use it, it simply opens a gray dialog window and then hangs why it tries to load something. Jeff Berry GIS Analyst Erlandsen & Associates P.O. Box 2029 Chelan, WA 98816 (509) 682-4189 jeffb@erlandsen.com From pagameba@webmail1.magma.ca Tue Jan 20 23:10:26 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0L4AO4r002594 for ; Tue, 20 Jan 2004 23:10:26 -0500 Received: from webmail1.magma.ca (webmail1.magma.ca [206.191.0.241]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i0L39dhx019656; Tue, 20 Jan 2004 22:09:39 -0500 Received: (from pagameba@localhost) by webmail1.magma.ca (Magma's Mail Server) id i0L39cS7017510; Tue, 20 Jan 2004 22:09:38 -0500 (EST) Date: Tue, 20 Jan 2004 22:09:38 -0500 (EST) Message-Id: <200401210309.i0L39cS7017510@webmail1.magma.ca> To: "Jeff Berry" , "Chameleon" From: "Paul Spencer" Subject: Re: [Chameleon] Question About Locate Widget X-Account: pagameba X-Sender-IP: 64.26.169.56 X-INFO: Folder - 0, Message - 0, MimeBody - 0 Mime-Version: 1.0 Content-Type: text/plain Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Jeff, I am not entirely sure why it isn't working for you, but I am not sure it is what you want anyway .. the Locate widget leverages the place name, postal code and NTS mapsheet services provided by the CGDI discovery portal. You could create something based on the code in the widget, but this widget won't do what you want out of the box. I would recommend starting with the Locate widget and coding a new popup dialog with your own entry form and search functionality. Or you could extend the Locate widget services to include your own lookup service (see htdocs/common/phpgeocoder/services) Cheers, Paul On Jan 20, "Jeff Berry" wrote: > > I'm not clear on how the Locate widget is supposed to work, but based on the > description of it, I think it is what I'm looking for. > > What I really want to do is incorporate a search tool for parcels...pretty > straight foward, allow the user to enter a parcel number or owner name and > have the map zoom to that location. Am I on the right track here with the > Locate widget? I tried to impliment it both on the Chameleon demo and a > basic template I put together, but when I use it, it simply opens a gray > dialog window and then hangs why it tries to load something. > > Jeff Berry > GIS Analyst > Erlandsen & Associates > P.O. Box 2029 > Chelan, WA 98816 > (509) 682-4189 > jeffb@erlandsen.com > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mai lman/listinfo/chameleon > From griffin@watersheds.ca Wed Jan 21 09:34:32 2004 Received: from mail.storm.ca (mail.storm.ca [209.87.239.66]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0LEYW4r005234 for ; Wed, 21 Jan 2004 09:34:32 -0500 Received: from 192.168.0.139 (dp-216-106-105-104.storm.ca [216.106.105.104]) by mail.storm.ca (8.11.7+Sun/8.11.7) with ESMTP id i0LDXY628512 for ; Wed, 21 Jan 2004 08:33:46 -0500 (EST) From: Aaron Griffin Reply-To: griffin@watersheds.ca To: chameleon@lists.maptools.org Content-Type: text/plain Organization: GNU Linux Message-Id: <1074691924.2471.2.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4-8mdk Date: Wed, 21 Jan 2004 08:32:05 -0500 Content-Transfer-Encoding: 7bit Subject: [Chameleon] A Few Questions Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I'm new to Chameleon and MapServer, and just starting a project using both. I am curious if there is an example context file I can download to look at or if there is a tutorial I can get that walks you through the basics of starting to work with Chameleon? Aaron Griffin Centre for Sustainable Watersheds From morissette@dmsolutions.ca Wed Jan 21 11:18:56 2004 Received: from xcalibur.dmsolutions.ca (www2.dmsolutions.ca [209.217.116.146]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0LGIt4r005990 for ; Wed, 21 Jan 2004 11:18:55 -0500 Received: from dmsolutions.ca ([192.168.2.249]) by xcalibur.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id i0LGIti22164; Wed, 21 Jan 2004 11:18:55 -0500 Message-ID: <400EA66E.7060806@dmsolutions.ca> Date: Wed, 21 Jan 2004 11:18:54 -0500 From: Daniel Morissette User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: griffin@watersheds.ca CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] A Few Questions References: <1074691924.2471.2.camel@localhost> In-Reply-To: <1074691924.2471.2.camel@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Aaron Griffin wrote: > I'm new to Chameleon and MapServer, and just starting a project using > both. I am curious if there is an example context file I can download > to look at or if there is a tutorial I can get that walks you through > the basics of starting to work with Chameleon? > You can find some sample contexts at http://www2.dmsolutions.ca/msapps/contexts/ -- ------------------------------------------------------------ Daniel Morissette morissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From RSuddaby@NRCan.gc.ca Wed Jan 21 11:26:31 2004 Received: from s0-ott-xsmtp1.nrn.nrcan.gc.ca (S0-OTT-XSMTP1.NRCan.gc.ca [132.156.36.48]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0LGQR4r006025 for ; Wed, 21 Jan 2004 11:26:29 -0500 Received: by s0-ott-xsmtp1.nrcan.gc.ca with Internet Mail Service (5.5.2657.72) id ; Wed, 21 Jan 2004 11:26:22 -0500 Message-ID: From: "Suddaby, Rod" To: "'chameleon@lists.maptools.org'" Date: Wed, 21 Jan 2004 11:26:13 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Subject: [Chameleon] TimeFilter widget Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list: Could anyone explain to me the functionality of the TimeFilter widget? I would like to use it to select features from a PostGIS table based on a particular date (the table has a date column). Is this an appropriate application of the widget? In addition, there appears to be a bug in the javascript generated by the widget: there are a few lines of the form length = {$this->mszHTMLForm}.end_day.length and the problem seems to be with the use of the variable name 'length'. Changing this variable name to 'len' or something like that resolves the problem (at least it does on the browsers I'm using). Thanks, Rod. From pagameba@magma.ca Wed Jan 21 12:21:33 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0LHLT4r006243 for ; Wed, 21 Jan 2004 12:21:33 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i0LHLRf3023410; Wed, 21 Jan 2004 12:21:27 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i0LHLLv2017902; Wed, 21 Jan 2004 12:21:27 -0500 Message-ID: <400EB510.7030601@magma.ca> Date: Wed, 21 Jan 2004 12:21:20 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Suddaby, Rod" CC: "'chameleon@lists.maptools.org'" Subject: Re: [Chameleon] TimeFilter widget References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: The TimeFilter widget is designed specifically to support the TIME parameter of WMS requests. I would expect it is possible for you to modify it to support some other type of time based query on postgis layers by changing a query on a layer using mapscript. You could also expose your data through WMS and then use it as is (except that mapserver doesn't directly support time yet) Cheers, Paul Suddaby, Rod wrote: > Hi list: > Could anyone explain to me the functionality of the TimeFilter widget? I > would like to use it to select features from a PostGIS table based on a > particular date (the table has a date column). Is this an appropriate > application of the widget? > In addition, there appears to be a bug in the javascript generated by the > widget: there are a few lines of the form > length = {$this->mszHTMLForm}.end_day.length > and the problem seems to be with the use of the variable name 'length'. > Changing this variable name to 'len' or something like that resolves the > problem (at least it does on the browsers I'm using). > > Thanks, > Rod. > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From TENIERER@gov.ns.ca Thu Jan 22 10:13:16 2004 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0MFDG4r011190 for ; Thu, 22 Jan 2004 10:13:16 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Thu, 22 Jan 2004 11:13:15 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Thu, 22 Jan 2004 11:13:15 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Thu, 22 Jan 2004 11:13:06 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Thu, 22 Jan 2004 11:12:50 -0400 From: "Rene Teniere " To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Guinevere: 2.0.13 ; Province of Nova Sco Subject: [Chameleon] BoundingBoxPopup.widget and production_draw_legend Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi all, Just a few questions. First, is the point entry in the bounding box widget supposed to zoom in to that point, because all it does is pan to the area. Second, the legend in the map production widget does not seem to utilize the legend template, and I've noticed that it will only use 1 layer per group, and I found that if it is a layer, then no text will appear. If it is a layer with classes, then it works fine. Also the problem with repeating the first group name for all groups. What to do? Rene Rene J.R. Teniere - BSc., D.GIS GIS Technician Nova Scotia Department of Natural Resources Forestry Division (GIS) - Truro Phone: (902) 893-5655 Mobile: (902) 209-8956 From pagameba@magma.ca Thu Jan 22 10:30:10 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0MFUA4r011271 for ; Thu, 22 Jan 2004 10:30:10 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i0MFU9Hv018588; Thu, 22 Jan 2004 10:30:09 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i0MFU6ee021642; Thu, 22 Jan 2004 10:30:09 -0500 Message-ID: <400FEC7D.5040306@magma.ca> Date: Thu, 22 Jan 2004 10:30:05 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: griffin@watersheds.ca CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] A Few Questions References: <1074691924.2471.2.camel@localhost> In-Reply-To: <1074691924.2471.2.camel@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Aaron, are you using 1.0 or 1.1 chameleon? For 1.1 there isn't much documentation yet, we are just starting to get to it. For 1.0 there are some docs and examples distributed with it that should get you started. This list is also becoming increasingly helpful as more people are starting to get chameleon working for them. Cheers, Paul Aaron Griffin wrote: > I'm new to Chameleon and MapServer, and just starting a project using > both. I am curious if there is an example context file I can download > to look at or if there is a tutorial I can get that walks you through > the basics of starting to work with Chameleon? > > Aaron Griffin > Centre for Sustainable Watersheds > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Jan 22 10:32:19 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0MFWJ4r011296 for ; Thu, 22 Jan 2004 10:32:19 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i0MFWIw0031800; Thu, 22 Jan 2004 10:32:18 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i0MFWG7H023493; Thu, 22 Jan 2004 10:32:18 -0500 Message-ID: <400FECFF.3040407@magma.ca> Date: Thu, 22 Jan 2004 10:32:15 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] multiple submit problem in IE References: <16149.212.238.227.182.1074603988.squirrel@webmail.xs4all.nl> In-Reply-To: <16149.212.238.227.182.1074603988.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Thanks Bart. I am currently thinking of having one centralized submit function provided by the chameleon core and all widgets will be modified to go through that one function (probably CWCSubmitForm( oForm )) That function will probably include something very much like the code you have below. Cheers, Paul bartvde@xs4all.nl wrote: > Hi Paul, list, > > we have made some changes in Chameleon to prevent the multiple submit > crash of Chameleon in Internet Explorer. The main problem was the form > could be submitted when the page was not fully loaded. > > Basically, what we have done is the following: > > create a mySubmit() function in the HTML template: > > var bBusy = true; > > function mySubmit() > { > if (! bBusy) > { > bBusy = true; > document.forms[0].submit(); > } > } > > on the OnLoad function of the body we set bBusy to false. > > In all the widgets we have replaced document.forms[0].submit() with a call > to mySubmit(). > > Hopefully you can implement this in a more generic way during the > Javascript redesign for Chameleon 2.0. > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Jan 22 10:50:09 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0MFo94r011382 for ; Thu, 22 Jan 2004 10:50:09 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i0MFo7Hv031024; Thu, 22 Jan 2004 10:50:07 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i0MFo37H023399; Thu, 22 Jan 2004 10:50:06 -0500 Message-ID: <400FF12A.4030504@magma.ca> Date: Thu, 22 Jan 2004 10:50:02 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rene Teniere CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] BoundingBoxPopup.widget and production_draw_legend References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Rene, Rene Teniere wrote: > Hi all, > > Just a few questions. First, is the point entry in the bounding box > widget supposed to zoom in to that point, because all it does is pan to > the area. it just pans. Perhaps the text on the button is a little misleading :) Suggestions are welcome. > > Second, the legend in the map production widget does not seem to > utilize the legend template, and I've noticed that it will only use 1 > layer per group, and I found that if it is a layer, then no text will > appear. If it is a layer with classes, then it works fine. Also the > problem with repeating the first group name for all groups. What to do? At some point, someone will fix this, but there is currently no room in the schedule or budget to fix it in the near future. > > Rene > > Rene J.R. Teniere - BSc., D.GIS > GIS Technician > Nova Scotia Department of Natural Resources > Forestry Division (GIS) - Truro > > Phone: (902) 893-5655 > Mobile: (902) 209-8956 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Jan 22 13:47:58 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0MIll4r011911; Thu, 22 Jan 2004 13:47:54 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i0MIlgRS032246; Thu, 22 Jan 2004 13:47:42 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i0MIlY1t030909; Thu, 22 Jan 2004 13:47:41 -0500 Message-ID: <40101AC3.5070002@magma.ca> Date: Thu, 22 Jan 2004 13:47:31 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "chameleon@lists.maptools.org" , chameleon-dev@lists.maptools.org Content-Type: multipart/mixed; boundary="------------040807010900090106090904" Subject: [Chameleon] Major CVS commit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. --------------040807010900090106090904 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit All, I have finally committed all my changes related to handling of buttons in Chameleon. It is a very extensive change and has affected basically every widget and popup dialog in Chameleon. Attached is a document that attempts to describe the changes that I've made and the changes that you will have to make to your application templates to make it compatible with the new buttons. There are bound to be some problems as a result of this. I have done quite a bit of testing, and I do know of some problems: * Pan widget - if you select the pan widget button in the user interface, it is difficult or impossible to select another tool. Try the zoom in tool, that one seems to work for some reason. This will be fixed by mid-February * Ruler widget - same problem as Pan widget (the problem is they interfer with the new button javascript architecture - but they are going to be rewritten soon so I didn't bother to work around it) * CWCJSAPI - not tested at all, I would expect that it would more or less work as is, but I am not yet ready to test it. Please send reports of any other problems to the mailing list or create bugs in bugzilla. And ask if anything in the attached doc is unclear or doesn't work the way I say it should. Cheers, Paul -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- --------------040807010900090106090904 Content-Type: text/plain; name="button_changes.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="button_changes.txt" Chameleon Button Architecture The architecture of Chameleon buttons has undergone a significant overhaul to unify and standardize how buttons are created and represented in applications. Prior to this update, there were two separate types of buttons. Each type had advantages and disadvantages. The purpose of this update is to provide a consolidated architecture that has the advantages of both and the disadvantages of neither. Background The two existing button types were TextButtons and NavButtons. TextButton TextButtons are generated on the fly from configuration information provided in the application template and have significant flexibility. They were designed to provide a convenient mechanism for creating customizable and multilingual interfaces without requiring a graphic artist to constantly be regenerating buttons for the application. TextButtons use a common utility called the buttonizer. The buttonizer generates a single image from an array of input parameters. A buttonizer button consists of a border, a background color or image, an image and a label. Most of the parameters are optional, and many are very flexible. For a full description of the capabilities of the buttonizer, see buttonizer.php in common/buttonizer folder. TextButtons use the services of buttonizer to pre-generate a button image from settings in an application template, and these images are cached in a web-accessible location for performance. Once a TextButton with specific characteristics is generated, it will normally not be regenerated unless caching is specifically disabled or the cache directory is emptied. The original implementation of TextButtons were used to represent pretty much every widget that used a button in the application, except Navigational buttons (discussed below). TextButtons ended up as a single clickable image with no fancy javascript image swapping effects, which is a limitation compared to the NavButtons, but also an advantage when designing javascript-minimized applications. The same TextButtons are used in all popup dialog boxes via the services of the CWC2ButtonCache.php file. The original implementation of the caching mechanism for TextButtons was relatively poor and did not take advantage of session management to maximize performance. NavButton NavButtons use Button.php to manage multi-state 'clickable' buttons from a set of pre-generated images. This provides a more user-friendly interface, and can look very nice. However, this approach suffered from a number of drawbacks. The javascript for the buttons was embedded in the application page rather than being loaded via a (browser cachable) .js file. The button images had to be pre-rendered by a graphic artist, so even small changes to the interface required generating several images for each navigation tool. Finally, there was no way to not use javascript with the buttons. The NavButton did have one additional useful trait, it was possible to group NavButtons using a toolset attribute to make them work as 'radio' buttons. Button Requirements From the existing capabilities of TextButton and NavButton, the following requirements were derived: * All buttons need to use the buttonizer * All buttons need to be multi-state capable * All buttons need to be able to minimize javascript * Multi-state code needs to be moved into a separate js file * Buttons need to work in popup dialogs * Buttons in popup dialogs need to be able to be styled from the application template. * Buttons need to support multiple types of buttons, including radio (single button selected in a group), toggle (the button is on or off and remembers it's state), and click (a single use button). Button Implementation Impact on Application Developers The implementation of the new Buttons necessitated changes to pretty much every widget in Chameleon (there were a few widgets that didn't change because they have no user interface). The biggest change from the previous version are primarily in the TextButton SharedResource and changes to the widget attributes relating to Buttons. Buttons now understand the notion of 'button state', and every button can have either a single state (the default state, called 'normal') or multiple states. The multiple states that are allowed are: * normal - the style of the button when it is not activated and the user is not hovering over the button * hover - the style of the button when the user moves the mouse over the button * selected - the style of the button when it is activated (clicked in) * disabled - the style of the button when it cannot be used. Buttons can be of several types, including: * radio - the button is part of a toolset. All widgets supporting buttons now get a 'toolset' attribute and if it is set, then the button is automatically turned into a radio button regardless of the widget's built in type. A radio button is a sticky button that stays selected until a different button in the same group is activated. A radio button that is activate cannot be re-activated until it has been first deactivated by clicking another button. If there is only a single button in a toolset, this may cause problems because the tool will only be selectable once. A future enhancement may address this issue. * toggle - a toggle button is a sticky button that remembers its state when clicked. Clicking a selected toggle button 'turns it off' by returning the button to its normal state. * normal TextButton SharedResource The TextButton SharedResource has changed significantly. First of all, it is no longer necessary to name the TextButton SharedResource "TextButton". Every widget now refers to a SharedResource by name, so different buttons can easily use different TextButton SharedResources. The structure of the SharedResource has also changed significantly. The existing structure will still work without modification, but in order to support multi-state buttons, a new sub-eleemnt called 'state' has been added. The new structure of a TextButton SharedResource looks like: The values from the main block of the SharedResource form the default values for all states. If no tags are included then a default "normal" state is created from the default values. Otherwise, states are created from each tag and initialized using the defaults then overloaded using the state-specific settings. Any tag can go in either. Widget Attributes The attributes for widgets have changed. All widget attributes relating to button resources are provided by Button.php (with one exception, for popups, described below). The new attributes are: * styleresource - the name of a SharedResource to use for styling TextButtons. If not set or empty or invalid, then the Button will not be generated using the buttonizer. This means that any 'image' attribute for the widget will be used as is. * image - the name of an image to use for the widget. If 'styleresource' is valid, then the image will be placed in the generated button, otherwise it will be used directly. *NOTE* that for buttonizer, all images MUST be PNGs. GIF images are not supported. If the 'styleresource' is not valid or empty or missing, then the image will be output as is, so any browser-supported format would be okay. * imagewidth - the width of the final image. If the styleresource is valid, then this is the width of the buttonized image. If it is not valid, then it is the width of the IMAGE attribute. In either case, it will be output in the WIDTH attribute of an IMG tag. * imageheight - the height of the final image. If the styleresource is valid, then this is the height of the buttonized image. If it is not valid, then it is the height of the IMAGE attribute. In either case, it will be output in the HEIGHT attribute of an IMG tag. * imagetip - the 'tooltip' text to be displayed when the mouse is over the image, using the ALT and TITLE attributes of the IMG tag. * labelalign - the alignment of the label, overrides the styleresource setting for labelalign. * toolset - the name of a group of radio buttons. If not set, or set to an empty string, then the button acts as specified by the widget designer, otherwise it becomes a radio button within this group. * default - for radio buttons and toggle buttons, this determines if a button will start selected or not. Only one widget can be considered the default for a group. Setting to false or empty or omitting entirely means the button will not be selected. If more than one button in the same toolset has the default attribute set to true, one of them will end up being selected but it is not generally possible to determine which one because it depends on widget priorities and order in the template. * onclick - the javascript function to call when the button is clicked. This must be a standalone javascript function. Methods on objects will not work (i.e. window.close) will not work. The javascript function does not include the parentheses () or any parameters There is one additional attribute that applies to widgets with Popup windows. This is: * popupstyleresource - the name of a SharedResource to use for styling Buttons in Popup dialogs. If not set, it will use the styleresource. If this isn't set, then the buttons will appear as plain text, pretty ugly !!! Button Implementation Impact on Widget Developers This section is for people who are building or maintaining widgets and want to know how the button implementation changes affect widget internal code. There are four sections: * Includes - what you need to include() in your widget code * Initialization Phase - what needs to be done to create and initialize a button for the widget. * Processing Phase - what needs to be done in the ParseURL function * Rendering Phase - what needs to be done for widgets in the various Get*** functions and DrawPublish() Includes All widgets can now access the new style of buttons (in fact, must access the new style of buttons) by includeing Button.php. This provides the class definition of CWCButton. include( "Button.php" ); Initialization Phase In order to represent a widget using a button, the widget must create an instance of the CWCButton class as a member variable of the widget and properly initialize the button instance. The widget should (this is not mandatory, but is part of the coding style for Chameleon) declare a member variable in the widget class definition as follows: class MyWidget { var $moButton; ... In the widget constructor, a new button instance can be created using: function MyWidget() { $this->moButton = new CWCButton($this); } You can optionally set the button type using $this->moButton->mnType. mnType can be one of * CWCBUTTONTYPE_CLICK - a normal clickable button * CWCBUTTONTYPE_TOGGLE - a button that remembers its state (in or out) and is sticky * CWCBUTTONTYPE_RADIO - a button that is part of a group of buttons. Normally, it is not necessary to set this as a button that becomes part of a group of buttons is changed to a radio button automatically. In the widget's InitDefaults() method, the button must be given a chance to initialize itself. This involves calling the InitDefaults method of the button object and (normally) setting the onclick event of the button. The SetOnClick function must be called either during Initialization or during Processing. Previously, TextButtons could set the onclick event just before the DrawPublish method was called. This no longer works!!! The onclick function is called with a javascript object representing the button as its first parameter. There is currently no way to pass parameters to javascript functions by widget attributes, but if this is implemented, they will be passed as the second (and subsequent) parameters. function InitDefaults() { $this->moButton->InitDefaults(); $this->moButton->SetOnClick( 'myJSFunction', 'myParam' ); } Processing Phase The processing phase of widgets is all done in the ParseURL function. If a button is either a toggle button or part of a toolset, this is actually managed via HTML form variables and the button code needs access to the URL in order to determine which buttons should be pre-selected when the page is loaded. Because any button can be part of a toolset (whether it makes sense or not), every widget that has a button object should add the following to its ParseURL function: function ParseURL() { $this->moButton->ParseURL(); } Rendering Phase During the rendering phase, the Chameleon core calls several functions for every widget to get HTML variables, javascript code, and the final HTML representation of the widget. Widgets that include buttons must pass some of these calls on to the button instance to allow it to properly represent itself in the page. In particular, the widget must implement function GetJavascriptInitFunctions() { $aReturn = $this->moButton->GetJavascriptInitFunctions(); // add other init functions here if necessary return $aReturn; } function GetJavascriptVariables() { $aReturn = $this->moButton->GetJavascriptVariables(); //add other variables here if necessary return $aReturn; } function GetJavascriptOnLoadFunctions() { $aReturn = $this->moButton->GetJavascriptOnLoadFunctions(); //add other OnLoad functions here if necessary return $aReturn; } function GetJavascriptIncludeFunctions() { $aReturn = $this->moButton->GetJavascriptIncludeFunctions(); //add other Include functions here if necessary return $aReturn; } function GetHTMLHiddenVariables() { $aReturn = $this->moButton->GetHTMLHiddenVariables(); //add other HTML hidden variables here if necessary return $aReturn; } function GetJavascriptFunctions() { $aReturn = $this->moButton->GetJavascriptFunctions(); //add other Javascript functions here return $aReturn; } function DrawPublish() { $szResult = $this->moButton->DrawPublish(); //add other rendering code as required return $szResult; } } Complete Example The following is a complete example of a widget that does nothing but is properly configured to represent itself as a button: include( "Widget.php" ); include( "Button.php" ); class MyWidget extends CWCWidget { var $moButton; function MyWidget() { $this->moButton = new CWCButton($this); } function InitDefaults() { $this->moButton->InitDefaults(); $this->moButton->SetOnClick( 'myJSFunction' ); } function ParseURL() { $this->moButton->ParseURL(); } function GetJavascriptInitFunctions() { $aReturn = $this->moButton->GetJavascriptInitFunctions(); // add other init functions here if necessary return $aReturn; } function GetJavascriptVariables() { $aReturn = $this->moButton->GetJavascriptVariables(); //add other variables here if necessary return $aReturn; } function GetJavascriptOnLoadFunctions() { $aReturn = $this->moButton->GetJavascriptOnLoadFunctions(); //add other OnLoad functions here if necessary return $aReturn; } function GetJavascriptIncludeFunctions() { $aReturn = $this->moButton->GetJavascriptIncludeFunctions(); //add other Include functions here if necessary return $aReturn; } function GetHTMLHiddenVariables() { $aReturn = $this->moButton->GetHTMLHiddenVariables(); //add other HTML hidden variables here if necessary return $aReturn; } function GetJavascriptFunctions() { $aReturn = $this->moButton->GetJavascriptFunctions(); //add other Javascript functions here $szFunctionName = "myJSFunction"; $szFunction = <<moButton->DrawPublish(); //add other rendering code as required return $szResult; } } Popup Dialogs Widgets that provide a Popup dialog as part of the widget (i.e. clicking a button to open a dialog) need some modifications to work correctly. Popup support is provided by Popup.php. This document does not describe how to set up a widget to provide popup services, just what changes are required in relation to Buttons to get Popups to work correctly. The changes are in two separate parts, first in the widget code and second in the code for the popup dialog. Widget Changes In order to get Popups to launch correctly, it is necessary to create a javascript function to open the Popup dialog. The Popup object handles most of this for the developer, but in any particular widget, you will need to output a javascript function that encapsulates the javascript provided by the Popup object. It is this function that should be set as the Button's onclick event. The previous example could be modified as follows: function GetJavascriptFunctions() { $aReturn = $this->moButton->GetJavascriptFunctions(); $this->moPopup->mszLink = "widgets/myWidgetPopup.phtml"; $szFunctionName = "myJSFunction"; $szButtonJS = $this->moPopup->DrawPublish(); $szFunction = << To enable javascript buttons (multi-state), you will need to include the js files as follows somewhere in the section of the page. To output a button on the page at any location (in the BODY section), break to php (using the tags) and echo the results of a call to the makeButton function provided by CWC2ButtonCache. This function gets the information about how to render buttons from the PHP session, and uses the values from the original SharedResource specified as the popupstyleresource. The makeButton function takes the following parameters: * jsFunction - the name of a javascript function to call. It must be a function. If you want to close the window, you cannot call window.close, you must have a javascript function that calls window.close and then pass the name of the function to makeButton. Note that this is the name of the function only and cannot include the parentheses (). * jsParams - the parameters to pass to the javascript function. The javascript object representing the button is passed as the first parameter, the remaining params are passed second. It is only possible to pass a single parameter. If you need to pass multiple parameters, pass them as an array ... 'new Array( param, param2 )' * widgetname - the name of the widget for which this is a popup. This is very important and is used to retrieve the style resources for the buttons. * image - the image to put on the button * label - the label to put on the button, should be obtained from an MLT object to ensure that multilingual interfaces are respected. * imagetip - the tooltip to display when the mouse is over the button * extraparams - an array of buttonizer parameters to override the values obtained from the SharedResource values. Often this will just be the image with. A complete example follows: get("Zoom", "Zoom")), trim($oCommonMLT->get("ZoomRectTip", "Zoom to Bounding Coordinates")), array( 'width' => 75 )); ?> --------------040807010900090106090904-- From delfos18@yahoo.com Thu Jan 22 20:43:36 2004 Received: from web12103.mail.yahoo.com (web12103.mail.yahoo.com [216.136.172.23]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i0N1hZ4r013311 for ; Thu, 22 Jan 2004 20:43:36 -0500 Message-ID: <20040123014319.8338.qmail@web12103.mail.yahoo.com> Received: from [202.139.2.65] by web12103.mail.yahoo.com via HTTP; Thu, 22 Jan 2004 17:43:19 PST Date: Thu, 22 Jan 2004 17:43:19 -0800 (PST) From: "J. Delfos" Reply-To: delfos@myrealbox.com To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Chameleon] lose extends with submit after zoom-box Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi All, I noticed this little problem with the zoom-tool, which is similar to what I had previously with the pan-arrow (compasspoint) tool. When I zoom in with the zoom-in box, and then press the update/submit button, It zooms to a different extent and scale. It seems that the zoom-tool doesn't talk to the parameters of the form properly. Does anyone know of a solution to this problem? regards, Jacob __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From thowlett@whistlermuseum.org Fri Jan 23 20:20:55 2004 Received: from smtp.inetwave.com (smtp1000.radiant.net [216.21.149.210]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i0O1Ks4r018687 for ; Fri, 23 Jan 2004 20:20:54 -0500 Message-Id: <200401240120.i0O1Ks4r018687@www.maptools.org> Received: (qmail 27374 invoked from network); 24 Jan 2004 01:11:57 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp1000.radiant.net with SMTP; 24 Jan 2004 01:11:57 -0000 Reply-To: From: "Tracy Howlett" To: Date: Fri, 23 Jan 2004 17:20:34 -0800 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <200401141815.i0EIFB8o002032@www.maptools.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPX0NmTQN1YqL/lRYa1ozwWaoiHWgC9vKvgAACQCzAB03vpUA== Subject: [Chameleon] Print Widget Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I'm trying to use the print widget. When I click on the Print button I get a 'No Event' box. Any ideas? -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Tracy Howlett Sent: Wednesday, January 14, 2004 10:15 AM To: thowlett@whistlermuseum.org; spencer@dmsolutions.ca Cc: chameleon@lists.maptools.org Subject: RE: [Chameleon] Query Widget Part 2 of my question was about the Print and Help tools. When I click on Print I get a 'No Event' box and I don't think I totally understand how the Help Widget is supposed to be implemented since it only requires the base attributes. How can I attach this to a button? -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Tracy Howlett Sent: Wednesday, January 14, 2004 9:57 AM To: spencer@dmsolutions.ca Cc: chameleon@lists.maptools.org Subject: RE: [Chameleon] Query Widget That'll do it. Thanks Paul -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Paul Spencer Sent: Saturday, January 10, 2004 3:22 PM To: thowlett@whistlermuseum.org Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Query Widget Tracy, I think there is a small problem with the query widget not including the popup code. Try adding the following line of code to Query.widget.php around line 31 (with the other includes). If it works, I'll commit the change to CVS. include_once( "Popup.php" ); Cheers, Paul Tracy Howlett wrote: > I'm trying to implement the Query widget but I'm getting the following > error: > > PHP Fatal error: Cannot instantiate non-existent class: cwcpopup in > C:\apps\cwc2\htdocs\widgets\Query.widget.php on line 56 > > I can't find any documentation on the cwcpopup class (or lack thereof!). > > I'm also having problems getting the PrintWidget and HelpWidget working. > Are there any known issues with these widgets? > > My setup: > MapServer 4.0.1 > PHP/MapScript 4.3.4 > Chameleon 1.1 > Win XP (must also work on Server 2003) > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From thowlett@whistlermuseum.org Fri Jan 23 20:40:46 2004 Received: from smtp.inetwave.com (smtp1000.radiant.net [216.21.149.210]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i0O1ek4r018756 for ; Fri, 23 Jan 2004 20:40:46 -0500 Message-Id: <200401240140.i0O1ek4r018756@www.maptools.org> Received: (qmail 678 invoked from network); 24 Jan 2004 01:31:52 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp1000.radiant.net with SMTP; 24 Jan 2004 01:31:52 -0000 Reply-To: From: "Tracy Howlett" To: , Subject: RE: [Chameleon] Print Widget Date: Fri, 23 Jan 2004 17:40:25 -0800 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcPX0NmTQN1YqL/lRYa1ozwWaoiHWgC9vKvgAACQCzAB03vpUAAAqIfg In-Reply-To: <200401240120.i0O1Ks4r018687@www.maptools.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I tried putting the code in again and now I'm at least getting a popup. However I have these errors (pasted below). I noticed that there are some problems with the php_gd.dll....this dll did not come with my version of chameleon/php/mapscript, I have php_gd2.dll. I downloaded php_gd.dll and added it to my .ini file but the error has not changed. PHP Notice: Undefined index: gszLogPath in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 35 PHP Notice: Undefined index: gnLogLevel in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 38 PHP Notice: Undefined index: gbLogError in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 44 PHP Notice: Undefined index: gszMapscriptModule in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 50 PHP Warning: dl(): Unable to load dynamic library 'C:\PHP\extensions\' - The specified module could not be found. in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 50 PHP Notice: Undefined index: gnMapSessionMode in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 53 PHP Notice: Undefined index: gszTmpPath in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 63 PHP Notice: Undefined index: gszCurrentState in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 69 PHP Notice: Undefined index: gszMapName in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 69 PHP Notice: Undefined index: gszMapName in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 69 PHP Notice: Undefined index: gszCurrentLanguage in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 90 PHP Notice: Undefined index: gszCurrentLanguage in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 95 PHP Notice: Undefined index: aszLang in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 102 PHP Notice: Undefined index: aszLang in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 106 PHP Notice: Undefined index: gszMapPath in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 136 PHP Notice: Undefined index: gszMapPath in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 137 PHP Notice: Undefined index: gszMapPath in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 145 PHP Warning: file(C:\): failed to open stream: No such file or directory in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 152 PHP Warning: Invalid argument supplied for foreach() in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 154 PHP Notice: Undefined index: gszTmpPath in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 165 PHP Notice: Undefined index: gszTmpPath in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 178 PHP Warning: dl(): Unable to load dynamic library 'C:\PHP\extensions\php_gd.dll' - The specified procedure could not be found. in C:\apps\cwc2\htdocs\widgets\production.phtml on line 181 -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Tracy Howlett Sent: Friday, January 23, 2004 5:21 PM To: chameleon@lists.maptools.org Subject: [Chameleon] Print Widget I'm trying to use the print widget. When I click on the Print button I get a 'No Event' box. Any ideas? -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Tracy Howlett Sent: Wednesday, January 14, 2004 10:15 AM To: thowlett@whistlermuseum.org; spencer@dmsolutions.ca Cc: chameleon@lists.maptools.org Subject: RE: [Chameleon] Query Widget Part 2 of my question was about the Print and Help tools. When I click on Print I get a 'No Event' box and I don't think I totally understand how the Help Widget is supposed to be implemented since it only requires the base attributes. How can I attach this to a button? -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Tracy Howlett Sent: Wednesday, January 14, 2004 9:57 AM To: spencer@dmsolutions.ca Cc: chameleon@lists.maptools.org Subject: RE: [Chameleon] Query Widget That'll do it. Thanks Paul -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Paul Spencer Sent: Saturday, January 10, 2004 3:22 PM To: thowlett@whistlermuseum.org Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Query Widget Tracy, I think there is a small problem with the query widget not including the popup code. Try adding the following line of code to Query.widget.php around line 31 (with the other includes). If it works, I'll commit the change to CVS. include_once( "Popup.php" ); Cheers, Paul Tracy Howlett wrote: > I'm trying to implement the Query widget but I'm getting the following > error: > > PHP Fatal error: Cannot instantiate non-existent class: cwcpopup in > C:\apps\cwc2\htdocs\widgets\Query.widget.php on line 56 > > I can't find any documentation on the cwcpopup class (or lack thereof!). > > I'm also having problems getting the PrintWidget and HelpWidget working. > Are there any known issues with these widgets? > > My setup: > MapServer 4.0.1 > PHP/MapScript 4.3.4 > Chameleon 1.1 > Win XP (must also work on Server 2003) > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From bartvde@xs4all.nl Sat Jan 24 06:53:07 2004 Received: from smtp-out3.xs4all.nl (smtp-out3.xs4all.nl [194.109.24.13]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0OBr44r021375 for ; Sat, 24 Jan 2004 06:53:05 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out3.xs4all.nl (8.12.10/8.12.10) with ESMTP id i0OBqvBu082764 for ; Sat, 24 Jan 2004 12:53:03 +0100 (CET) Reply-To: bartvde@xs4all.nl To: "chameleon@lists.maptools.org" From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Sat, 24 Jan 2004 12:52:42 +0100 Message-ID: User-Agent: Opera7.22/Win32 M2 build 3221 Subject: [Chameleon] phpwms.dbf in relation to ISO19119 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, in the application we have created with Chameleon we use the "Manage Servers" part from Chameleon and also separately an ISO19119 Web Registry Server (WRS) which has its own datamodel based on ISO19119. We have created a custom widget on the WRS to search using the preliminary OGC Catalog specs. In my opinion there are quite a lot of similiarities between an ISO19119 datamodel and the phpwms.dbf. You could see the "Manage Servers" part of Chameleon as a way to fill your ISO19119 datamodel, ideally through the OGC Web Catalog Interface (although I do not know if the interface is already (intended to be) transactional, in that case using WFS). In the current situation, we are faced with duplicate information, where Web Map Servers are both stored in phpwms.dbf and our ISO19119 database. Are there any plans to integrate the phpwms.dbf stuff into a real ISO19119 registry model? Paul, you once mentioned the Manage Servers part will completely be replaced when Maplab 3.0 sees the light, but perhaps the back-structure of phpwms.dbf will be kept in place? I for one would be interested in helping out, but if nobody likes the idea, then it's a no go. I know it is quite a lot of overkill, but it would help in having an application based on OGC standards for all parts of the application. Best regards, Bart From pxniw69@yahoo.com Sat Jan 24 12:45:06 2004 Received: from web41904.mail.yahoo.com (web41904.mail.yahoo.com [66.218.93.155]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i0OHj24r022532 for ; Sat, 24 Jan 2004 12:45:06 -0500 Message-ID: <20040124174431.56469.qmail@web41904.mail.yahoo.com> Received: from [69.160.72.105] by web41904.mail.yahoo.com via HTTP; Sat, 24 Jan 2004 09:44:31 PST Date: Sat, 24 Jan 2004 09:44:31 -0800 (PST) From: pxniw pxniw To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Chameleon] Label position with shared resource Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I am trying to position label around the point, not over it. Why does this not work? Thx Px __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From thowlett@whistlermuseum.org Sat Jan 24 17:47:03 2004 Received: from smtp.inetwave.com (smtp1000.radiant.net [216.21.149.210]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i0OMl24r023455 for ; Sat, 24 Jan 2004 17:47:02 -0500 Message-Id: <200401242247.i0OMl24r023455@www.maptools.org> Received: (qmail 9600 invoked from network); 24 Jan 2004 22:38:07 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp1000.radiant.net with SMTP; 24 Jan 2004 22:38:07 -0000 Reply-To: From: "Tracy Howlett" To: , Subject: RE: [Chameleon] Print Widget Date: Sat, 24 Jan 2004 14:46:43 -0800 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcPX0NmTQN1YqL/lRYa1ozwWaoiHWgC9vKvgAACQCzAB03vpUAAAqIfgACw7n6A= In-Reply-To: <200401240140.i0O1ek4r018756@www.maptools.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I managed to sort out the php_gd.dll stuff and the print window is at least opening now. However, I'm getting lots of errors: This is displayed under the user interface - PHP Warning: file(C:\): failed to open stream: No such file or directory in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 152 PHP Warning: Invalid argument supplied for foreach() in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 154 PHP Parse error: parse error, unexpected '"' in C:\apps\cwc2\htdocs\widgets\40008f667ae2a.txt on line 14 If I click on download map I get a bunch of 'No language is set' errors and a 'No valid map object to restore to'. If I click on Printer friendly map I get a screen with an image which doesn't draw..the source of that image is "http://localhost/cwc2/widgets/preview.php?sid=40008f667ae2a&selImageFormat= " Has anyone else run into these errors? -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Tracy Howlett Sent: Friday, January 23, 2004 5:40 PM To: thowlett@whistlermuseum.org; chameleon@lists.maptools.org Subject: RE: [Chameleon] Print Widget I tried putting the code in again and now I'm at least getting a popup. However I have these errors (pasted below). I noticed that there are some problems with the php_gd.dll....this dll did not come with my version of chameleon/php/mapscript, I have php_gd2.dll. I downloaded php_gd.dll and added it to my .ini file but the error has not changed. PHP Notice: Undefined index: gszLogPath in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 35 PHP Notice: Undefined index: gnLogLevel in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 38 PHP Notice: Undefined index: gbLogError in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 44 PHP Notice: Undefined index: gszMapscriptModule in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 50 PHP Warning: dl(): Unable to load dynamic library 'C:\PHP\extensions\' - The specified module could not be found. in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 50 PHP Notice: Undefined index: gnMapSessionMode in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 53 PHP Notice: Undefined index: gszTmpPath in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 63 PHP Notice: Undefined index: gszCurrentState in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 69 PHP Notice: Undefined index: gszMapName in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 69 PHP Notice: Undefined index: gszMapName in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 69 PHP Notice: Undefined index: gszCurrentLanguage in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 90 PHP Notice: Undefined index: gszCurrentLanguage in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 95 PHP Notice: Undefined index: aszLang in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 102 PHP Notice: Undefined index: aszLang in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 106 PHP Notice: Undefined index: gszMapPath in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 136 PHP Notice: Undefined index: gszMapPath in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 137 PHP Notice: Undefined index: gszMapPath in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 145 PHP Warning: file(C:\): failed to open stream: No such file or directory in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 152 PHP Warning: Invalid argument supplied for foreach() in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 154 PHP Notice: Undefined index: gszTmpPath in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 165 PHP Notice: Undefined index: gszTmpPath in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 178 PHP Warning: dl(): Unable to load dynamic library 'C:\PHP\extensions\php_gd.dll' - The specified procedure could not be found. in C:\apps\cwc2\htdocs\widgets\production.phtml on line 181 -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Tracy Howlett Sent: Friday, January 23, 2004 5:21 PM To: chameleon@lists.maptools.org Subject: [Chameleon] Print Widget I'm trying to use the print widget. When I click on the Print button I get a 'No Event' box. Any ideas? -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Tracy Howlett Sent: Wednesday, January 14, 2004 10:15 AM To: thowlett@whistlermuseum.org; spencer@dmsolutions.ca Cc: chameleon@lists.maptools.org Subject: RE: [Chameleon] Query Widget Part 2 of my question was about the Print and Help tools. When I click on Print I get a 'No Event' box and I don't think I totally understand how the Help Widget is supposed to be implemented since it only requires the base attributes. How can I attach this to a button? -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Tracy Howlett Sent: Wednesday, January 14, 2004 9:57 AM To: spencer@dmsolutions.ca Cc: chameleon@lists.maptools.org Subject: RE: [Chameleon] Query Widget That'll do it. Thanks Paul -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Paul Spencer Sent: Saturday, January 10, 2004 3:22 PM To: thowlett@whistlermuseum.org Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Query Widget Tracy, I think there is a small problem with the query widget not including the popup code. Try adding the following line of code to Query.widget.php around line 31 (with the other includes). If it works, I'll commit the change to CVS. include_once( "Popup.php" ); Cheers, Paul Tracy Howlett wrote: > I'm trying to implement the Query widget but I'm getting the following > error: > > PHP Fatal error: Cannot instantiate non-existent class: cwcpopup in > C:\apps\cwc2\htdocs\widgets\Query.widget.php on line 56 > > I can't find any documentation on the cwcpopup class (or lack thereof!). > > I'm also having problems getting the PrintWidget and HelpWidget working. > Are there any known issues with these widgets? > > My setup: > MapServer 4.0.1 > PHP/MapScript 4.3.4 > Chameleon 1.1 > Win XP (must also work on Server 2003) > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From huub.fleuren@geodan.nl Mon Jan 26 04:09:00 2004 Received: from mail.vz.geodan.nl (host-3.geodan.demon.nl [212.238.227.179]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0Q98w4r006818 for ; Mon, 26 Jan 2004 04:08:59 -0500 Received: from geodan.nl ([212.238.227.182]) (authenticated user huub@mail.vz.geodan.nl) by mail.vz.geodan.nl (mail.vz.geodan.nl [212.238.227.179]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 48-md50000000629.tmp for ; Mon, 26 Jan 2004 10:08:03 +0100 Message-ID: <4014D8EB.4050800@geodan.nl> Date: Mon, 26 Jan 2004 10:07:55 +0100 From: Huub Fleuren User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: thowlett@whistlermuseum.org CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Print Widget References: <200401242247.i0OMl24r023455@www.maptools.org> In-Reply-To: <200401242247.i0OMl24r023455@www.maptools.org> Content-Type: multipart/alternative; boundary="------------060800010607040401030307" X-Authenticated-Sender: huub@mail.vz.geodan.nl X-Spam-Processed: mail.vz.geodan.nl, Mon, 26 Jan 2004 10:08:03 +0100 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 212.238.227.182 X-Return-Path: huub.fleuren@geodan.nl X-MDaemon-Deliver-To: chameleon@lists.maptools.org Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. --------------060800010607040401030307 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Haai Tracy, I ran into this too, since the november upgrades of chameleon, in the 'first' version this went oke. It 's got something to do with the generating of a list of fonts from which a user can choose. This list is built on the contents of a directory, or a file, listing fonts in there is read. I commentend it out in production.php.inc and the font cannot be set anymore: the font is hardcoded now. greetings, Huub Tracy Howlett wrote: >I managed to sort out the php_gd.dll stuff and the print window is at least >opening now. However, I'm getting lots of errors: > >This is displayed under the user interface - >PHP Warning: file(C:\): failed to open stream: No such file or directory in >C:\apps\cwc2\htdocs\widgets\production.inc.php on line 152 PHP Warning: >Invalid argument supplied for foreach() in >C:\apps\cwc2\htdocs\widgets\production.inc.php on line 154 PHP Parse error: >parse error, unexpected '"' in C:\apps\cwc2\htdocs\widgets\40008f667ae2a.txt >on line 14 > >If I click on download map I get a bunch of 'No language is set' errors and >a 'No valid map object to restore to'. If I click on Printer friendly map I >get a screen with an image which doesn't draw..the source of that image is >"http://localhost/cwc2/widgets/preview.php?sid=40008f667ae2a&selImageFormat= >" > >Has anyone else run into these errors? > >-----Original Message----- >From: chameleon-admin@lists.maptools.org >[mailto:chameleon-admin@lists.maptools.org] On Behalf Of Tracy Howlett >Sent: Friday, January 23, 2004 5:40 PM >To: thowlett@whistlermuseum.org; chameleon@lists.maptools.org >Subject: RE: [Chameleon] Print Widget > >I tried putting the code in again and now I'm at least getting a popup. >However I have these errors (pasted below). I noticed that there are some >problems with the php_gd.dll....this dll did not come with my version of >chameleon/php/mapscript, I have php_gd2.dll. I downloaded php_gd.dll and >added it to my .ini file but the error has not changed. > >PHP Notice: Undefined index: gszLogPath in >C:\apps\cwc2\htdocs\widgets\session.inc.php on line 35 PHP Notice: Undefined >index: gnLogLevel in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 38 >PHP Notice: Undefined index: gbLogError in >C:\apps\cwc2\htdocs\widgets\session.inc.php on line 44 PHP Notice: Undefined >index: gszMapscriptModule in C:\apps\cwc2\htdocs\widgets\session.inc.php on >line 50 PHP Warning: dl(): Unable to load dynamic library >'C:\PHP\extensions\' - The specified module could not be found. in >C:\apps\cwc2\htdocs\widgets\session.inc.php on line 50 PHP Notice: Undefined >index: gnMapSessionMode in C:\apps\cwc2\htdocs\widgets\session.inc.php on >line 53 PHP Notice: Undefined index: gszTmpPath in >C:\apps\cwc2\htdocs\widgets\session.inc.php on line 63 PHP Notice: Undefined >index: gszCurrentState in C:\apps\cwc2\htdocs\widgets\session.inc.php on >line 69 PHP Notice: Undefined index: gszMapName in >C:\apps\cwc2\htdocs\widgets\session.inc.php on line 69 PHP Notice: Undefined >index: gszMapName in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 69 >PHP Notice: Undefined index: gszCurrentLanguage in >C:\apps\cwc2\htdocs\widgets\session.inc.php on line 90 PHP Notice: Undefined >index: gszCurrentLanguage in C:\apps\cwc2\htdocs\widgets\session.inc.php on >line 95 PHP Notice: Undefined index: aszLang in >C:\apps\cwc2\htdocs\widgets\session.inc.php on line 102 PHP Notice: >Undefined index: aszLang in C:\apps\cwc2\htdocs\widgets\session.inc.php on >line 106 PHP Notice: Undefined index: gszMapPath in >C:\apps\cwc2\htdocs\widgets\production.inc.php on line 136 PHP Notice: >Undefined index: gszMapPath in >C:\apps\cwc2\htdocs\widgets\production.inc.php on line 137 PHP Notice: >Undefined index: gszMapPath in >C:\apps\cwc2\htdocs\widgets\production.inc.php on line 145 PHP Warning: >file(C:\): failed to open stream: No such file or directory in >C:\apps\cwc2\htdocs\widgets\production.inc.php on line 152 PHP Warning: >Invalid argument supplied for foreach() in >C:\apps\cwc2\htdocs\widgets\production.inc.php on line 154 PHP Notice: >Undefined index: gszTmpPath in >C:\apps\cwc2\htdocs\widgets\production.inc.php on line 165 PHP Notice: >Undefined index: gszTmpPath in >C:\apps\cwc2\htdocs\widgets\production.inc.php on line 178 PHP Warning: >dl(): Unable to load dynamic library 'C:\PHP\extensions\php_gd.dll' - The >specified procedure could not be found. in >C:\apps\cwc2\htdocs\widgets\production.phtml on line 181 > >-----Original Message----- >From: chameleon-admin@lists.maptools.org >[mailto:chameleon-admin@lists.maptools.org] On Behalf Of Tracy Howlett >Sent: Friday, January 23, 2004 5:21 PM >To: chameleon@lists.maptools.org >Subject: [Chameleon] Print Widget > >I'm trying to use the print widget. When I click on the Print button I get a >'No Event' box. Any ideas? > >-----Original Message----- >From: chameleon-admin@lists.maptools.org >[mailto:chameleon-admin@lists.maptools.org] On Behalf Of Tracy Howlett >Sent: Wednesday, January 14, 2004 10:15 AM >To: thowlett@whistlermuseum.org; spencer@dmsolutions.ca >Cc: chameleon@lists.maptools.org >Subject: RE: [Chameleon] Query Widget > >Part 2 of my question was about the Print and Help tools. When I click on >Print I get a 'No Event' box and I don't think I totally understand how the >Help Widget is supposed to be implemented since it only requires the base >attributes. How can I attach this to a button? > >-----Original Message----- >From: chameleon-admin@lists.maptools.org >[mailto:chameleon-admin@lists.maptools.org] On Behalf Of Tracy Howlett >Sent: Wednesday, January 14, 2004 9:57 AM >To: spencer@dmsolutions.ca >Cc: chameleon@lists.maptools.org >Subject: RE: [Chameleon] Query Widget > >That'll do it. Thanks Paul > >-----Original Message----- >From: chameleon-admin@lists.maptools.org >[mailto:chameleon-admin@lists.maptools.org] On Behalf Of Paul Spencer >Sent: Saturday, January 10, 2004 3:22 PM >To: thowlett@whistlermuseum.org >Cc: chameleon@lists.maptools.org >Subject: Re: [Chameleon] Query Widget > >Tracy, > >I think there is a small problem with the query widget not including the >popup code. Try adding the following line of code to Query.widget.php >around line 31 (with the other includes). If it works, I'll commit the >change to CVS. > >include_once( "Popup.php" ); > > >Cheers, > >Paul > >Tracy Howlett wrote: > > > >>I'm trying to implement the Query widget but I'm getting the following >>error: >> >>PHP Fatal error: Cannot instantiate non-existent class: cwcpopup in >>C:\apps\cwc2\htdocs\widgets\Query.widget.php on line 56 >> >>I can't find any documentation on the cwcpopup class (or lack thereof!). >> >>I'm also having problems getting the PrintWidget and HelpWidget working. >>Are there any known issues with these widgets? >> >>My setup: >>MapServer 4.0.1 >>PHP/MapScript 4.3.4 >>Chameleon 1.1 >>Win XP (must also work on Server 2003) >> >> >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> >> >> > > > -- Geodan organiseert op 29 januari 2004 een informatieve dag over nieuwe ontwikkelingen op het gebied van geo-ICT. Kijk voor meer informatie op http://www.geodan.nl/geo-informationonthemove/ -- Geodan IT b.v. Buitenhaven 27-A 5211 TP 's-Hertogenbosch (NL) ------------------------------------- Tel: +31 (0)73 - 692 5151 Fax: +31 (0)73 - 692 5150 Mobiel: ------------------------------------- Postadres / mailing address President Kennedylaan 1 1079 MB Amsterdam (NL) ------------------------------------- E-mail: huub.fleuren@geodan.nl Website: www.geodan.nl Disclaimer: www.geodan.nl/disclaimer ------------------------------------- --------------060800010607040401030307 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Haai Tracy,

I ran into this too, since the november upgrades of chameleon, in the 'first' version this went oke.

It 's got something to do with the generating of a list of fonts from which a user can choose.
This list is built on the contents of a directory, or a file, listing fonts in there is read.

I commentend it out  in production.php.inc and the font cannot be set anymore: the font is hardcoded now.



greetings,
Huub



Tracy Howlett wrote:
I managed to sort out the php_gd.dll stuff and the print window is at least
opening now.  However, I'm getting lots of errors:

This is displayed under the user interface - 
PHP Warning: file(C:\): failed to open stream: No such file or directory in
C:\apps\cwc2\htdocs\widgets\production.inc.php on line 152 PHP Warning:
Invalid argument supplied for foreach() in
C:\apps\cwc2\htdocs\widgets\production.inc.php on line 154 PHP Parse error:
parse error, unexpected '"' in C:\apps\cwc2\htdocs\widgets\40008f667ae2a.txt
on line 14

If I click on download map I get a bunch of 'No language is set' errors and
a 'No valid map object to restore to'.  If I click on Printer friendly map I
get a screen with an image which doesn't draw..the source of that image is
"http://localhost/cwc2/widgets/preview.php?sid=40008f667ae2a&selImageFormat=
"

Has anyone else run into these errors?

-----Original Message-----
From: chameleon-admin@lists.maptools.org
[mailto:chameleon-admin@lists.maptools.org] On Behalf Of Tracy Howlett
Sent: Friday, January 23, 2004 5:40 PM
To: thowlett@whistlermuseum.org; chameleon@lists.maptools.org
Subject: RE: [Chameleon] Print Widget

I tried putting the code in again and now I'm at least getting a popup.
However I have these errors (pasted below).  I noticed that there are some
problems with the php_gd.dll....this dll did not come with  my version of
chameleon/php/mapscript, I have php_gd2.dll.  I downloaded php_gd.dll and
added it to my .ini file but the error has not changed.

PHP Notice: Undefined index: gszLogPath in
C:\apps\cwc2\htdocs\widgets\session.inc.php on line 35 PHP Notice: Undefined
index: gnLogLevel in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 38
PHP Notice: Undefined index: gbLogError in
C:\apps\cwc2\htdocs\widgets\session.inc.php on line 44 PHP Notice: Undefined
index: gszMapscriptModule in C:\apps\cwc2\htdocs\widgets\session.inc.php on
line 50 PHP Warning: dl(): Unable to load dynamic library
'C:\PHP\extensions\' - The specified module could not be found. in
C:\apps\cwc2\htdocs\widgets\session.inc.php on line 50 PHP Notice: Undefined
index: gnMapSessionMode in C:\apps\cwc2\htdocs\widgets\session.inc.php on
line 53 PHP Notice: Undefined index: gszTmpPath in
C:\apps\cwc2\htdocs\widgets\session.inc.php on line 63 PHP Notice: Undefined
index: gszCurrentState in C:\apps\cwc2\htdocs\widgets\session.inc.php on
line 69 PHP Notice: Undefined index: gszMapName in
C:\apps\cwc2\htdocs\widgets\session.inc.php on line 69 PHP Notice: Undefined
index: gszMapName in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 69
PHP Notice: Undefined index: gszCurrentLanguage in
C:\apps\cwc2\htdocs\widgets\session.inc.php on line 90 PHP Notice: Undefined
index: gszCurrentLanguage in C:\apps\cwc2\htdocs\widgets\session.inc.php on
line 95 PHP Notice: Undefined index: aszLang in
C:\apps\cwc2\htdocs\widgets\session.inc.php on line 102 PHP Notice:
Undefined index: aszLang in C:\apps\cwc2\htdocs\widgets\session.inc.php on
line 106 PHP Notice: Undefined index: gszMapPath in
C:\apps\cwc2\htdocs\widgets\production.inc.php on line 136 PHP Notice:
Undefined index: gszMapPath in
C:\apps\cwc2\htdocs\widgets\production.inc.php on line 137 PHP Notice:
Undefined index: gszMapPath in
C:\apps\cwc2\htdocs\widgets\production.inc.php on line 145 PHP Warning:
file(C:\): failed to open stream: No such file or directory in
C:\apps\cwc2\htdocs\widgets\production.inc.php on line 152 PHP Warning:
Invalid argument supplied for foreach() in
C:\apps\cwc2\htdocs\widgets\production.inc.php on line 154 PHP Notice:
Undefined index: gszTmpPath in
C:\apps\cwc2\htdocs\widgets\production.inc.php on line 165 PHP Notice:
Undefined index: gszTmpPath in
C:\apps\cwc2\htdocs\widgets\production.inc.php on line 178 PHP Warning:
dl(): Unable to load dynamic library 'C:\PHP\extensions\php_gd.dll' - The
specified procedure could not be found. in
C:\apps\cwc2\htdocs\widgets\production.phtml on line 181

-----Original Message-----
From: chameleon-admin@lists.maptools.org
[mailto:chameleon-admin@lists.maptools.org] On Behalf Of Tracy Howlett
Sent: Friday, January 23, 2004 5:21 PM
To: chameleon@lists.maptools.org
Subject: [Chameleon] Print Widget

I'm trying to use the print widget. When I click on the Print button I get a
'No Event' box.  Any ideas?  

-----Original Message-----
From: chameleon-admin@lists.maptools.org
[mailto:chameleon-admin@lists.maptools.org] On Behalf Of Tracy Howlett
Sent: Wednesday, January 14, 2004 10:15 AM
To: thowlett@whistlermuseum.org; spencer@dmsolutions.ca
Cc: chameleon@lists.maptools.org
Subject: RE: [Chameleon] Query Widget

Part 2 of my question was about the Print and Help tools.  When I click on
Print I get a 'No Event' box and I don't think I totally understand how the
Help Widget is supposed to be implemented since it only requires the base
attributes.  How can I attach this to a button? 

-----Original Message-----
From: chameleon-admin@lists.maptools.org
[mailto:chameleon-admin@lists.maptools.org] On Behalf Of Tracy Howlett
Sent: Wednesday, January 14, 2004 9:57 AM
To: spencer@dmsolutions.ca
Cc: chameleon@lists.maptools.org
Subject: RE: [Chameleon] Query Widget

That'll do it.  Thanks Paul

-----Original Message-----
From: chameleon-admin@lists.maptools.org
[mailto:chameleon-admin@lists.maptools.org] On Behalf Of Paul Spencer
Sent: Saturday, January 10, 2004 3:22 PM
To: thowlett@whistlermuseum.org
Cc: chameleon@lists.maptools.org
Subject: Re: [Chameleon] Query Widget

Tracy,

I think there is a small problem with the query widget not including the 
popup code.  Try adding the following line of code to Query.widget.php 
around line 31 (with the other includes).  If it works, I'll commit the 
change to CVS.

include_once( "Popup.php" );


Cheers,

Paul

Tracy Howlett wrote:

  
I'm trying to implement the Query widget but I'm getting the following
error:

PHP Fatal error: Cannot instantiate non-existent class: cwcpopup in
C:\apps\cwc2\htdocs\widgets\Query.widget.php on line 56

I can't find any documentation on the cwcpopup class (or lack thereof!).

I'm also having problems getting the PrintWidget and HelpWidget working.
Are there any known issues with these widgets?  

My setup:
MapServer 4.0.1
PHP/MapScript 4.3.4
Chameleon 1.1
Win XP (must also work on Server 2003)



_______________________________________________
Chameleon mailing list
Chameleon@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/chameleon

    

  

-- 

Geodan organiseert op 29 januari 2004 een informatieve dag over nieuwe ontwikkelingen op het gebied van geo-ICT. Kijk voor meer informatie op http://www.geodan.nl/geo-informationonthemove/

--
Geodan IT b.v.
Buitenhaven 27-A
5211 TP 's-Hertogenbosch (NL)
-------------------------------------
Tel: +31 (0)73 - 692 5151
Fax:  +31 (0)73 - 692 5150
Mobiel:
-------------------------------------
Postadres / mailing address
President Kennedylaan 1
1079 MB Amsterdam (NL)
-------------------------------------
E-mail: huub.fleuren@geodan.nl
Website: www.geodan.nl
Disclaimer: www.geodan.nl/disclaimer
-------------------------------------
--------------060800010607040401030307-- From TENIERER@gov.ns.ca Mon Jan 26 13:01:42 2004 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0QI1f4r008914 for ; Mon, 26 Jan 2004 13:01:42 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 26 Jan 2004 14:01:39 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 26 Jan 2004 14:01:38 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Mon, 26 Jan 2004 14:01:31 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Mon, 26 Jan 2004 14:01:18 -0400 From: "Rene Teniere " To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Guinevere: 2.0.13 ; Province of Nova Sco Subject: [Chameleon] Mapsheet Query Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi All. I am in the process of creating a query to a polygon, whereby the user would type in the mapsheet number (provincial standard, not NTS), then search and zoom in to it. I know that Paul mentioned to Jeff Berry that you should start by modifying the Locate Widget, which I have done, however, I am very new to PHP, and would like some hints as to how to go about this. I have it set up to call the specific case once the locate button is clicked, but I would like to now what to pass to mapserver (ie besides the user's mapsheet number) in order for the query to work. Would I use something like this, except instead of a point, I would search for the mapsheet polygon? $oMapQuery = new MapQuery( $oMapSession ); $oResultSet = $oMapQuery->executePointQuery( $adMin[0],$adMin[1] ); Or would a new service that would just do a query be the way to go? Thanks, Rene Rene J.R. Teniere - BSc., D.GIS GIS Technician Nova Scotia Department of Natural Resources Forestry Division (GIS) - Truro Phone: (902) 893-5655 Mobile: (902) 209-8956 From dastolfo1@cogeco.ca Tue Jan 27 10:40:31 2004 Received: from fep1.cogeco.net (smtp.cogeco.net [216.221.81.25]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0RFeM4r015728 for ; Tue, 27 Jan 2004 10:40:31 -0500 Received: from DGG (d141-153-10.home.cgocable.net [24.141.153.10]) by fep1.cogeco.net (Postfix) with ESMTP id B3E116E03 for ; Tue, 27 Jan 2004 10:40:20 -0500 (EST) From: "Dave Astolfo" To: Date: Tue, 27 Jan 2004 10:40:06 -0500 Message-ID: <000501c3e4eb$daaf39b0$3402a8c0@DGG> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0006_01C3E4C1.F1D931B0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: [Chameleon] Context file and Tree Legend Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0006_01C3E4C1.F1D931B0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi All, I am somewhat new to Chameleon / MapServer. I have been challenged with having to create a new Legend Widget. Here is what I am trying to do: I am trying to create a legend that uses a tree-like structure (multi level). LEGEND Layer List + Category 1 -------Category 1.1 -------Category 1.2 + Category 2 -------Category 2.1 -------Category 2.2 . etc.. The challenge is that the information needed to create the legend would be more than the Context file contains. For example, in order to know where to place a Layer name in the tree, the context file would require additional info such as PARENT_ID. I was able to get this working in the GMAP demo by some JavaScript I found. The challenge here is that GMAP was written In PHP and JavaScript while we need to get it working in an environment where the Chameleon service is doing most of the legwork. So my questions are: 1) Is there a way to feed Chameleon the same info that is in the Context file from say a XML recordset stream from a database? If so, can someone point me to the code/files where Chameleon opens and reads the context.xml file it is passed? 2) Does anybody have examples of Legend Widgets that they wrote that may be similar to what I am trying to do? 3) Can someone direct me on which way I should go if I have to create my own widget? Is there any code I could start with? Any help or suggestions is appreciated. Thanks a bunch! Dave A. ------=_NextPart_000_0006_01C3E4C1.F1D931B0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Context file and Tree Legend

Hi All,

I am somewhat new to Chameleon / = MapServer. I have been challenged with having to create a new Legend = Widget.  Here is what I am trying to do:


I am  trying to create a legend = that uses a tree-like structure (multi level). 

LEGEND

Layer List
+  Category 1
-------Category 1.1
-------Category 1.2
+  Category 2
-------Category 2.1
-------Category 2.2
… etc….


The challenge is that the information = needed to create the legend would be more than the Context file = contains.  For example,  in order to know where to place a = Layer name in the tree,

 the context file would require = additional info such as PARENT_ID.  I was able to get this working = in the GMAP demo by some JavaScript I found. The challenge here is that = GMAP was written

In PHP and JavaScript while we need to = get it working in an environment where the Chameleon service is doing = most of the legwork.  

So my questions are:

1)  Is there a way to feed = Chameleon the same info that is in the Context file from say a XML = recordset stream from a database?  If so, can someone point me to = the code/files where Chameleon opens and reads the context.xml file it = is passed?

2) Does anybody have examples of Legend = Widgets that they wrote that may be similar to what I am trying to = do?

3) Can someone direct me on which way I = should go if I have to create my own widget? Is there any code I could = start with?


Any help or suggestions is = appreciated.

Thanks a bunch!

Dave A.

------=_NextPart_000_0006_01C3E4C1.F1D931B0-- From Tom.Kralidis@ec.gc.ca Tue Jan 27 11:05:18 2004 Received: from ecnwri1.ontario.int.ec.gc.ca (ecolink.cciw.ca [192.75.68.254]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0RG4r4r015867 for ; Tue, 27 Jan 2004 11:05:18 -0500 Received: by ECNWRI1.ontario.int.ec.gc.ca with Internet Mail Service (5.5.2657.72) id ; Tue, 27 Jan 2004 11:04:35 -0500 Message-ID: <2576812186CDD411BF1500508B6DCE9505D495FF@ECNWRI1.ontario.int.ec.gc.ca> From: "Kralidis,Tom [Burlington]" To: "'Dave Astolfo'" , Chameleon@lists.maptools.org Subject: RE: [Chameleon] Context file and Tree Legend Date: Tue, 27 Jan 2004 11:04:28 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, You may be able to achieve this through the XML Theme files? This groups layers together in this manner. We had this requirement in earlier projects. Recent versions of Chameleon support non-context imports. However, keep in mind by that supporting context documents, you can create and use, share context documents from and to any application. ..Tom ========================= Tom Kralidis Systems Scientist Environment Canada Tel: +01-905-336-4409 http://www.ec.gc.ca/cise/ ========================= -----Original Message----- From: Dave Astolfo [mailto:dastolfo1@cogeco.ca] Sent: Tuesday, January 27, 2004 10:40 AM To: Chameleon@lists.maptools.org Subject: [Chameleon] Context file and Tree Legend Hi All, I am somewhat new to Chameleon / MapServer. I have been challenged with having to create a new Legend Widget. Here is what I am trying to do: I am trying to create a legend that uses a tree-like structure (multi level). LEGEND Layer List + Category 1 -------Category 1.1 -------Category 1.2 + Category 2 -------Category 2.1 -------Category 2.2 ... etc.... The challenge is that the information needed to create the legend would be more than the Context file contains. For example, in order to know where to place a Layer name in the tree, the context file would require additional info such as PARENT_ID. I was able to get this working in the GMAP demo by some JavaScript I found. The challenge here is that GMAP was written In PHP and JavaScript while we need to get it working in an environment where the Chameleon service is doing most of the legwork. So my questions are: 1) Is there a way to feed Chameleon the same info that is in the Context file from say a XML recordset stream from a database? If so, can someone point me to the code/files where Chameleon opens and reads the context.xml file it is passed? 2) Does anybody have examples of Legend Widgets that they wrote that may be similar to what I am trying to do? 3) Can someone direct me on which way I should go if I have to create my own widget? Is there any code I could start with? Any help or suggestions is appreciated. Thanks a bunch! Dave A. From pagameba@magma.ca Tue Jan 27 11:51:32 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0RGpT4r016028 for ; Tue, 27 Jan 2004 11:51:31 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i0RGpMl1012001; Tue, 27 Jan 2004 11:51:24 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i0RGpBrW018603; Tue, 27 Jan 2004 11:51:16 -0500 Message-ID: <401696FA.8000500@magma.ca> Date: Tue, 27 Jan 2004 11:51:06 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Kralidis,Tom [Burlington]" CC: "'Dave Astolfo'" , Chameleon@lists.maptools.org Subject: Re: [Chameleon] Context file and Tree Legend References: <2576812186CDD411BF1500508B6DCE9505D495FF@ECNWRI1.ontario.int.ec.gc.ca> In-Reply-To: <2576812186CDD411BF1500508B6DCE9505D495FF@ECNWRI1.ontario.int.ec.gc.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Dave, as Tom has indicated, probably a great starting point would be the XMLThemeLegend widget. In fact, you may be able to use this widget almost as is. The widget uses two input files called the theme file and the renderer file. The theme file associates layers into groups and then groups into themes, and provides styling options for them The renderer file is used to convert the themes/groups/layers into HTML. The renderer file is simply an HTML file that is included into the application at the point of the widget. There is some processing done on the renderer file to replace specific tags with results from the current set of layers (as structured by the instructions contained in the theme file). A carefully crafted renderer file could output sufficient javascript to initialize a javascript/DHTML based treemenu (for instance). It is very flexible. You may need to modify the XMLThemeLegend widget because right now it doesn't provide details down to the layer level (although you can fake it by creating one group per layer). Importing of context documents is done by mapserver internally, chameleon only works with a PHP MapScript map object. There are a couple of ways you could set this up to work from a database. One would be to have a web service that is called that returns the XML content of a Context document from a database. Another would be to write some code inside your application to extract the contents of the Context file from a database and then write a context file, then open it :) Cheers, Paul Kralidis,Tom [Burlington] wrote: > Hi, > > You may be able to achieve this through the XML Theme files? This groups > layers together in this manner. We had this requirement in earlier > projects. > > Recent versions of Chameleon support non-context imports. However, keep in > mind by that supporting context documents, you can create and use, share > context documents from and to any application. > > ..Tom > > ========================= > Tom Kralidis > Systems Scientist > Environment Canada > Tel: +01-905-336-4409 > http://www.ec.gc.ca/cise/ > > ========================= > > > -----Original Message----- > From: Dave Astolfo [mailto:dastolfo1@cogeco.ca] > Sent: Tuesday, January 27, 2004 10:40 AM > To: Chameleon@lists.maptools.org > Subject: [Chameleon] Context file and Tree Legend > > > Hi All, > I am somewhat new to Chameleon / MapServer. I have been challenged with > having to create a new Legend Widget. Here is what I am trying to do: > > > I am trying to create a legend that uses a tree-like structure (multi > level). > LEGEND > Layer List > + Category 1 > -------Category 1.1 > -------Category 1.2 > + Category 2 > -------Category 2.1 > -------Category 2.2 > ... etc.... > > > The challenge is that the information needed to create the legend would be > more than the Context file contains. For example, in order to know where > to place a Layer name in the tree, > the context file would require additional info such as PARENT_ID. I was > able to get this working in the GMAP demo by some JavaScript I found. The > challenge here is that GMAP was written > In PHP and JavaScript while we need to get it working in an environment > where the Chameleon service is doing most of the legwork. > So my questions are: > 1) Is there a way to feed Chameleon the same info that is in the Context > file from say a XML recordset stream from a database? If so, can someone > point me to the code/files where Chameleon opens and reads the context.xml > file it is passed? > 2) Does anybody have examples of Legend Widgets that they wrote that may be > similar to what I am trying to do? > 3) Can someone direct me on which way I should go if I have to create my own > widget? Is there any code I could start with? > > > Any help or suggestions is appreciated. > Thanks a bunch! > Dave A. > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From TENIERER@gov.ns.ca Tue Jan 27 13:24:14 2004 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0RIOD4r016369 for ; Tue, 27 Jan 2004 13:24:13 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Tue, 27 Jan 2004 14:13:50 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Tue, 27 Jan 2004 14:13:50 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Tue, 27 Jan 2004 14:13:46 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Tue, 27 Jan 2004 14:13:30 -0400 From: "Rene Teniere " To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Guinevere: 2.0.13 ; Province of Nova Sco Subject: [Chameleon] Item Query Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi All, Been sitting down here with the office MapServer programmer, looking to create an Item Query. This goes back to the message I left yesterday on having an input box for the user to input a mapsheet number and return the result on the map display. In MapServer, you would just set the variables and send them to MapServer for processing. The question is how is this achieved through Chameleon? In fact, how does it talk to mapserver? All we need to do is be able to figure out what variables to set, and where to send them. Example: In the bounding box widget, you set the user-defined bounding coordinates to the variables and them pass them on:window.opener.applyBoundingBox( nMinX, nMinY, nMaxX, nMaxY ); Is there anything that can help me out on figuring this stuff out? What about the utils in htdocs_admin? Any help would be greatly appreciated Rene Rene J.R. Teniere - BSc., D.GIS GIS Technician Nova Scotia Department of Natural Resources Forestry Division (GIS) - Truro Phone: (902) 893-5655 Mobile: (902) 209-8956 From pagameba@magma.ca Tue Jan 27 13:36:45 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0RIaa4r016418 for ; Tue, 27 Jan 2004 13:36:45 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i0RIaSrR020297; Tue, 27 Jan 2004 13:36:28 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i0RIaQjZ010844; Tue, 27 Jan 2004 13:36:28 -0500 Message-ID: <4016AFA4.5080903@magma.ca> Date: Tue, 27 Jan 2004 13:36:20 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rene Teniere CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Item Query References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Rene, to do this in Chameleon, you create a new widget from one of the existing ones that does something similar. For instance, the Scale widget does something similar (it uses an input box to allow the user to type in a new scale value and then zooms to that scale. You would make a copy of this widget and rename stuff appropriately. Your main work would go in the ParseURL function which is where you will get the FORM variables that were submitted (Scale is a good example of this) and do something with them. In your case, you would use the input value to lookup the bounding box of a Map sheet and then apply those extents to the map object using something like $this->moMapSession->oMap->setextent( $nMinX, $nMinY, $nMaxX, $nMaxY ); That's pretty much it. Note that the Scale widget is just a container for the value, you use an UpdateMap widget to actually submit the page. Cheers, Paul Rene Teniere wrote: > Hi All, > > Been sitting down here with the office MapServer programmer, looking to > create an Item Query. This goes back to the message I left yesterday on > having an input box for the user to input a mapsheet number and return > the result on the map display. In MapServer, you would just set the > variables and send them to MapServer for processing. The question is how > is this achieved through Chameleon? In fact, how does it talk to > mapserver? All we need to do is be able to figure out what variables to > set, and where to send them. > > Example: In the bounding box widget, you set the user-defined bounding > coordinates to the variables and them pass them > on:window.opener.applyBoundingBox( nMinX, nMinY, nMaxX, nMaxY ); > > Is there anything that can help me out on figuring this stuff out? What > about the utils in htdocs_admin? > > Any help would be greatly appreciated > Rene > > Rene J.R. Teniere - BSc., D.GIS > GIS Technician > Nova Scotia Department of Natural Resources > Forestry Division (GIS) - Truro > > Phone: (902) 893-5655 > Mobile: (902) 209-8956 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From TENIERER@gov.ns.ca Tue Jan 27 14:03:54 2004 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0RJ3l4r016577 for ; Tue, 27 Jan 2004 14:03:53 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Tue, 27 Jan 2004 14:53:40 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Tue, 27 Jan 2004 14:53:13 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Tue, 27 Jan 2004 14:53:06 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Tue, 27 Jan 2004 14:52:52 -0400 From: "Rene Teniere " To: Cc: Subject: Re: [Chameleon] Item Query Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Guinevere: 2.0.13 ; Province of Nova Sco Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Paul, That's very similar to what I started off with (only I used the LocateWidget and got rid of all the inputs except NTS Map Sheet, and added my own - Provincial Map Sheet). The problem comes in that there is a polygon index covering the whole province containing cells representing specific mapsheets. I have to be able to get chameleon to find the mapsheet number within the index shapefile (the MAPSHEET item in the index's table) using the user inputted text (essentially an item query), then once I have the map object's extents returned, I would use the setextent object to see it. Is this at all possible? If I misunderstood you, I apologize, however, I don't think I exactly explained the situation properly. Thanks, Rene >>> pagameba@magma.ca 2004-01-27 2:36:20 PM >>> Rene, to do this in Chameleon, you create a new widget from one of the existing ones that does something similar. For instance, the Scale widget does something similar (it uses an input box to allow the user to type in a new scale value and then zooms to that scale. You would make a copy of this widget and rename stuff appropriately. Your main work would go in the ParseURL function which is where you will get the FORM variables that were submitted (Scale is a good example of this) and do something with them. In your case, you would use the input value to lookup the bounding box of a Map sheet and then apply those extents to the map object using something like $this->moMapSession->oMap->setextent( $nMinX, $nMinY, $nMaxX, $nMaxY ); That's pretty much it. Note that the Scale widget is just a container for the value, you use an UpdateMap widget to actually submit the page. Cheers, Paul Rene Teniere wrote: > Hi All, > > Been sitting down here with the office MapServer programmer, looking to > create an Item Query. This goes back to the message I left yesterday on > having an input box for the user to input a mapsheet number and return > the result on the map display. In MapServer, you would just set the > variables and send them to MapServer for processing. The question is how > is this achieved through Chameleon? In fact, how does it talk to > mapserver? All we need to do is be able to figure out what variables to > set, and where to send them. > > Example: In the bounding box widget, you set the user-defined bounding > coordinates to the variables and them pass them > on:window.opener.applyBoundingBox( nMinX, nMinY, nMaxX, nMaxY ); > > Is there anything that can help me out on figuring this stuff out? What > about the utils in htdocs_admin? > > Any help would be greatly appreciated > Rene > > Rene J.R. Teniere - BSc., D.GIS > GIS Technician > Nova Scotia Department of Natural Resources > Forestry Division (GIS) - Truro > > Phone: (902) 893-5655 > Mobile: (902) 209-8956 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From bartvde@xs4all.nl Tue Jan 27 16:43:54 2004 Received: from smtp-out3.xs4all.nl (smtp-out3.xs4all.nl [194.109.24.13]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0RLhh4r017281 for ; Tue, 27 Jan 2004 16:43:51 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out3.xs4all.nl (8.12.10/8.12.10) with ESMTP id i0RLhXTc095049 for ; Tue, 27 Jan 2004 22:43:40 +0100 (CET) Reply-To: bartvde@xs4all.nl To: "chameleon@lists.maptools.org" From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Tue, 27 Jan 2004 22:43:16 +0100 Message-ID: User-Agent: Opera7.22/Win32 M2 build 3221 Subject: [Chameleon] strange phenomenon with colours in Mozilla/Opera Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, with a raster layer I have a strange problem which only occurs in Mozilla and Opera, not in IE. This raster layer has labels in it with the city names of the Netherlands, and they are in black. I have tried changing the Chameleon output format setting (PNG24, PNG, it is currently on PNG24), but with no luck. For sure all images are now generated in png24 format. If I request the image directly in the browser using image/png the image looks good, but in Chameleon most of the times it looks strange (white labels instead of black labels). To illustrate the problem I have put 2 pictures on my website: [the output in a Chameleon application] http://www.vz.geodan.nl/users/bart/chameleon.png [direct request through WMS in Mozilla] http://www.vz.geodan.nl/users/bart/mozilla.png Any help appreciated. Best regards, Bart From delfos18@yahoo.com Tue Jan 27 19:29:32 2004 Received: from web12105.mail.yahoo.com (web12105.mail.yahoo.com [216.136.172.25]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i0S0TM4r017982 for ; Tue, 27 Jan 2004 19:29:29 -0500 Message-ID: <20040128002902.91205.qmail@web12105.mail.yahoo.com> Received: from [202.139.2.65] by web12105.mail.yahoo.com via HTTP; Tue, 27 Jan 2004 16:29:01 PST Date: Tue, 27 Jan 2004 16:29:01 -0800 (PST) From: "J. Delfos" Reply-To: delfos18@yahoo.com To: Chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Chameleon] display specific layers from DGN Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi List, I am trying to display specific layers from a DGN file. I found an example in the archive of the list that suggested how to do it, but it doesn't work for me; LAYER NAME "Water_dgn" TYPE POLYGON CONNECTIONTYPE OGR CONNECTION "data/dgn/wat.dgn" DATA "1" STATUS ON CLASS ... END ... END Does anyone have a better idea of how to single out the layer? (Aside from editing the DGN, of course). regards, Jacob __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From dmorissette@dmsolutions.ca Tue Jan 27 20:44:23 2004 Received: from xcalibur.dmsolutions.ca (www2.dmsolutions.ca [209.217.116.146]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0S1iN4r018419; Tue, 27 Jan 2004 20:44:23 -0500 Received: from dmsolutions.ca ([192.168.2.239]) by xcalibur.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id i0S1iMA04518; Tue, 27 Jan 2004 20:44:22 -0500 Message-ID: <401713F6.9090206@dmsolutions.ca> Date: Tue, 27 Jan 2004 20:44:22 -0500 From: Daniel Morissette User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: chameleon@lists.maptools.org, maplab-users@lists.maptools.org, ms4w-users@lists.maptools.org, rosa-users@lists.maptools.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Chameleon] Message size limit changed Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi everyone, In order to protect our lists from the W32.Novarg.A@m email worm, I have reduced the size of messages that can be posted to this list to 25kb, which is just below the 30kb size of emails containing this virus. Note that long email thread replies, emails with attachments, or even HTML emails can easily exceed this 25kb size, if this happens then your message will be held for moderation. Daniel -- ------------------------------------------------------------ Daniel Morissette dmorissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From pagameba@magma.ca Tue Jan 27 22:13:48 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0S3Dh4r018769 for ; Tue, 27 Jan 2004 22:13:47 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i0S3Dglu001440; Tue, 27 Jan 2004 22:13:42 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i0S3DcNE011605; Tue, 27 Jan 2004 22:13:41 -0500 Message-ID: <401728E2.4060403@magma.ca> Date: Tue, 27 Jan 2004 22:13:38 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dave Astolfo CC: "chameleon@lists.maptools.org" Subject: Re: [Chameleon] Context file and Tree Legend References: <002e01c3e520$649a16c0$3402a8c0@DGG> In-Reply-To: <002e01c3e520$649a16c0$3402a8c0@DGG> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Dave, you are correct, the XMLThemeLegend is only in the alpha version. You can probably use this widget with minor modifications in your existing version ... if you look in a couple of widget files, you'll notice a couple of lines at the bottom of every file ... you need to replicate those lines in the XMLThemeLegend file with the appropriate changes to make it work. XMLThemeLegend also depends on a couple of files from the alpha version, one is TemplateProcessor.php from the htdocs directory, and the other is XMLThemeParser.php ... and you'll need XMLThemeLegendInfo.phtml as well. Cheers, Paul Dave Astolfo wrote: > Paul, > > Thanks for the pointers. With regard to the XMLThemeLegend widget, it > seems that my version of Chameleon does not know what that widget is? I > noticed that it is included in the newer Alpha version. > I am running Chameleon 1.0.4 Is it possible to import or use this > widget in my version? Or do I have to install the Alpha (1.1)? > > Thanks, > > Dave > > -----Original Message----- > From: chameleon-admin@lists.maptools.org > [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Paul Spencer > Sent: Tuesday, January 27, 2004 11:51 AM > To: Kralidis,Tom [Burlington] > Cc: 'Dave Astolfo'; Chameleon@lists.maptools.org > Subject: Re: [Chameleon] Context file and Tree Legend > > > Dave, > > as Tom has indicated, probably a great starting point would be the > XMLThemeLegend widget. In fact, you may be able to use this widget > almost as is. The widget uses two input files called the theme file and > > the renderer file. > > The theme file associates layers into groups and then groups into > themes, and provides styling options for them > > The renderer file is used to convert the themes/groups/layers into HTML. > > The renderer file is simply an HTML file that is included into the > application at the point of the widget. There is some processing done > on the renderer file to replace specific tags with results from the > current set of layers (as structured by the instructions contained in > the theme file). > > A carefully crafted renderer file could output sufficient javascript to > initialize a javascript/DHTML based treemenu (for instance). It is very > > flexible. > > You may need to modify the XMLThemeLegend widget because right now it > doesn't provide details down to the layer level (although you can fake > it by creating one group per layer). > > Importing of context documents is done by mapserver internally, > chameleon only works with a PHP MapScript map object. There are a > couple of ways you could set this up to work from a database. One would > > be to have a web service that is called that returns the XML content of > a Context document from a database. Another would be to write some code > > inside your application to extract the contents of the Context file from > > a database and then write a context file, then open it :) > > Cheers, > > Paul > > Kralidis,Tom [Burlington] wrote: > > >>Hi, >> >>You may be able to achieve this through the XML Theme files? This >>groups layers together in this manner. We had this requirement in >>earlier projects. >> >>Recent versions of Chameleon support non-context imports. However, >>keep in mind by that supporting context documents, you can create and >>use, share context documents from and to any application. >> >>..Tom >> >>========================= >>Tom Kralidis >>Systems Scientist >>Environment Canada >>Tel: +01-905-336-4409 >>http://www.ec.gc.ca/cise/ >> >>========================= >> >> >>-----Original Message----- >>From: Dave Astolfo [mailto:dastolfo1@cogeco.ca] >>Sent: Tuesday, January 27, 2004 10:40 AM >>To: Chameleon@lists.maptools.org >>Subject: [Chameleon] Context file and Tree Legend >> >> >>Hi All, >>I am somewhat new to Chameleon / MapServer. I have been challenged > > with > >>having to create a new Legend Widget. Here is what I am trying to do: >> >> >>I am trying to create a legend that uses a tree-like structure (multi > > >>level). >>LEGEND >>Layer List >>+ Category 1 >>-------Category 1.1 >>-------Category 1.2 >>+ Category 2 >>-------Category 2.1 >>-------Category 2.2 >>... etc.... >> >> >>The challenge is that the information needed to create the legend >>would be more than the Context file contains. For example, in order >>to know where to place a Layer name in the tree, the context file >>would require additional info such as PARENT_ID. I was able to get >>this working in the GMAP demo by some JavaScript I found. The >>challenge here is that GMAP was written In PHP and JavaScript while we > > >>need to get it working in an environment >>where the Chameleon service is doing most of the legwork. >>So my questions are: >>1) Is there a way to feed Chameleon the same info that is in the > > Context > >>file from say a XML recordset stream from a database? If so, can > > someone > >>point me to the code/files where Chameleon opens and reads the > > context.xml > >>file it is passed? >>2) Does anybody have examples of Legend Widgets that they wrote that > > may be > >>similar to what I am trying to do? >>3) Can someone direct me on which way I should go if I have to create > > my own > >>widget? Is there any code I could start with? >> >> >>Any help or suggestions is appreciated. >>Thanks a bunch! >>Dave A. >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Tue Jan 27 22:22:44 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0S3Mc4r018810 for ; Tue, 27 Jan 2004 22:22:44 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i0S3MZVS010930; Tue, 27 Jan 2004 22:22:35 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i0S3MWCx007567; Tue, 27 Jan 2004 22:22:35 -0500 Message-ID: <40172AF7.3020006@magma.ca> Date: Tue, 27 Jan 2004 22:22:31 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: "chameleon@lists.maptools.org" Subject: Re: [Chameleon] strange phenomenon with colours in Mozilla/Opera References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, I just ran across an interesting problem yesterday that may be related. An application I was mocking up for a client was not displaying any black lines or labels, only the non-black stuff. I was using his data and map file on my machine. Then we noticed that it works in IE ... if we changed the colours from 0 0 0 to 1 0 0 then everything worked fine. It also worked fine with 0 0 0 if we set TRANSPARENT FALSE. The error seems to occur regardless of output format ... well, jpeg works but that's because it doesn't support transparency. I am not sure if this is a problem with MapServer or with browser compatibility, but I am inclined to think that it is a MapServer issue (or more likely a GD issue). We didn't have any issues with Raster layers, but then I don't think we were using any :) Perhaps try setting TRANSPARENT FALSE? Cheers, Paul Bart van den Eijnden wrote: > Hi list, > > with a raster layer I have a strange problem which only occurs in > Mozilla and Opera, not in IE. > > This raster layer has labels in it with the city names of the > Netherlands, and they are in black. I have tried changing the Chameleon > output format setting (PNG24, PNG, it is currently on PNG24), but with > no luck. For sure all images are now generated in png24 format. > > If I request the image directly in the browser using image/png the image > looks good, but in Chameleon most of the times it looks strange (white > labels instead of black labels). > > To illustrate the problem I have put 2 pictures on my website: > > [the output in a Chameleon application] > http://www.vz.geodan.nl/users/bart/chameleon.png > > [direct request through WMS in Mozilla] > http://www.vz.geodan.nl/users/bart/mozilla.png > > Any help appreciated. > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Tue Jan 27 22:37:25 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0S3bJ4r018882 for ; Tue, 27 Jan 2004 22:37:25 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i0S3bAVS013975; Tue, 27 Jan 2004 22:37:10 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i0S3b8Cx018450; Tue, 27 Jan 2004 22:37:10 -0500 Message-ID: <40172E63.6030702@magma.ca> Date: Tue, 27 Jan 2004 22:37:07 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rene Teniere CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Item Query References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Rene, it is indeed possible but I am not entirely sure that I understand exactly what you are trying to accomplish and what your inputs are. Let me try to outline what I think you are trying to do and how to solve the issue: Requirements: * you have a shapefile consisting of polygons that define the extents of provincial map sheets * you want the user to be able to enter a mapsheet number and be zoomed to that mapsheet's extents Unknowns: * is the shapefile included in your application? Assume no. Approach: * using a copy of the LocateWidget with all inputs removed except NTS MapSheet, and added a Provincial Map Sheet You need to locate the code that decides what the user wants to lookup, and supply some code to do your lookup. This is some code that looks roughly right, but I haven't tested it and I don't guarantee that it is without typos or erroneous function names, but I think you will get the idea. = 0) { //open shapefile using mapscript $oShapeFile = ms_newShapeFileObj( 'path-to-shapefile.shp', MS_SHP_POLYGON ); if ($oShapeFile->numshapes < $nIndex ) { //oops, not enough shapes, error } else { //get the bounding box of the shape in a RectObj $oRect = $oShape->getExtent( $nIndex ); $oMap->setextent( $oRect->minx, $oRect->miny, $oRect->maxx, $oRect->maxy ); } } else { //report no records } $oShapeFile->free(); ?> Rene Teniere wrote: > Hi Paul, > > That's very similar to what I started off with (only I used the > LocateWidget and got rid of all the inputs except NTS Map Sheet, and > added my own - Provincial Map Sheet). The problem comes in that there is > a polygon index covering the whole province containing cells > representing specific mapsheets. I have to be able to get chameleon to > find the mapsheet number within the index shapefile (the MAPSHEET item > in the index's table) using the user inputted text (essentially an item > query), then once I have the map object's extents returned, I would use > the setextent object to see it. Is this at all possible? If I > misunderstood you, I apologize, however, I don't think I exactly > explained the situation properly. > > Thanks, > > Rene > > > > >>>>pagameba@magma.ca 2004-01-27 2:36:20 PM >>> > > Rene, > > to do this in Chameleon, you create a new widget from one of the > existing ones that does something similar. For instance, the Scale > widget does something similar (it uses an input box to allow the user > to > type in a new scale value and then zooms to that scale. You would make > > a copy of this widget and rename stuff appropriately. > > Your main work would go in the ParseURL function which is where you > will > get the FORM variables that were submitted (Scale is a good example of > > this) and do something with them. In your case, you would use the > input > value to lookup the bounding box of a Map sheet and then apply those > extents to the map object using something like > $this->moMapSession->oMap->setextent( $nMinX, $nMinY, $nMaxX, $nMaxY > ); > > That's pretty much it. Note that the Scale widget is just a container > > for the value, you use an UpdateMap widget to actually submit the > page. > > Cheers, > > Paul > > Rene Teniere wrote: > > >>Hi All, >> >>Been sitting down here with the office MapServer programmer, looking > > to > >>create an Item Query. This goes back to the message I left yesterday > > on > >>having an input box for the user to input a mapsheet number and > > return > >>the result on the map display. In MapServer, you would just set the >>variables and send them to MapServer for processing. The question is > > how > >>is this achieved through Chameleon? In fact, how does it talk to >>mapserver? All we need to do is be able to figure out what variables > > to > >>set, and where to send them. >> >>Example: In the bounding box widget, you set the user-defined > > bounding > >>coordinates to the variables and them pass them >>on:window.opener.applyBoundingBox( nMinX, nMinY, nMaxX, nMaxY ); >> >>Is there anything that can help me out on figuring this stuff out? > > What > >>about the utils in htdocs_admin? >> >>Any help would be greatly appreciated >>Rene >> >>Rene J.R. Teniere - BSc., D.GIS >>GIS Technician >>Nova Scotia Department of Natural Resources >>Forestry Division (GIS) - Truro >> >>Phone: (902) 893-5655 >>Mobile: (902) 209-8956 >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From jeff@planyukon.ca Wed Jan 28 02:15:10 2004 Received: from whtvhost.com (mail.whtvhost.com [199.247.235.12]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0S7F94r019687 for ; Wed, 28 Jan 2004 02:15:10 -0500 Received: from homefree [199.247.236.31] by whtvhost.com with ESMTP (SMTPD32-7.15) id A08286DE0138; Tue, 27 Jan 2004 23:10:58 -0800 Message-ID: <000801c3e56e$9bd70870$6400a8c0@homefree> From: "Jeff Hamm" To: Date: Tue, 27 Jan 2004 23:16:11 -0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C3E52B.8D88E7E0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Declude-Sender: jeff@planyukon.ca [199.247.236.31] X-Note: This E-mail was scanned by Declude JunkMail (www.declude.com) for spam. Subject: [Chameleon] Raster Processing Option Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C3E52B.8D88E7E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I've still not had any resolution of my problem of enabling the = PROCESSING "BANDS=3D5,4,3" for raster images within Chameleon 1.1alpha6. = My map file (with Landsat image) works fine under Mapserver 4, but won't = produce any image using MapDHTML widget(just the waitimage), unless I = comment out the PROCESSING directive, in which Chameleon produces a map, = without any processing. Same thing occurs with other PROCESSING options, = such as SCALE. Some pertinent extracts from the Map file: IMAGETYPE png24: OUTPUTFORMAT NAME png24 MIMETYPE "image/png" DRIVER "GD/PNG" IMAGEMODE RGBA END LAYER DATA "o55_18ref.tif" NAME "o55_18" GROUP "Base" SIZEUNITS PIXELS STATUS ON TOLERANCE 0 TOLERANCEUNITS PIXELS TRANSPARENCY 50 TYPE RASTER UNITS METERS PROCESSING "BANDS=3D5,4,3"=20 OFFSITE 255 255 255 PROJECTION "proj=3Daea" "ellps=3DGRS80" "lat_0=3D59" "lon_0=3D-132.5" "lat_1=3D61.667" "lat_2=3D68" "x_0=3D500000.0" "y_0=3D500000.0" "units=3Dm" "no_defs" END METADATA "wms_title" "o55_18" "wms_group_title" "Base" END END Is there a workaround? Because the Map file seems to get corrupted when = the PROCESSING directive is included (an extra END gets inserted in the = LAYER object according to the tmp map files), is there a parsing issue = somewhere? If anyone has Landsat processing working within Chameleon, what's the = proper configuration in a Linux/Apache installation of Mapserver 4.0: MapServer version 4.0 OUTPUT=3DPNG OUTPUT=3DWBMP SUPPORTS=3DPROJ = SUPPORTS=3DFREETYPE SUPPORTS=3DWMS_SERVER SUPPORTS=3DWMS_CLIENT = INPUT=3DTIFF INPUT=3DEPPL7 INPUT=3DPOSTGIS INPUT=3DOGR INPUT=3DGDAL = INPUT=3DSHAPEFILE I'd really prefer to put the Chameleon version into production, which = works well enough aside from this problem (I'm being generous), but this = is a show stopper. Any helpful comments appreciated. Jeff Hamm GIS and Planning Advisor Yukon Land Use Planning Council Whitehorse, Yukon 867 667 7397 ------=_NextPart_000_0005_01C3E52B.8D88E7E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 
I've still not had any resolution of my = problem of=20 enabling the PROCESSING "BANDS=3D5,4,3" for raster images within = Chameleon=20 1.1alpha6. My map file (with Landsat image) works fine under = Mapserver=20 4, but won't produce any image using MapDHTML widget(just the = waitimage), unless=20 I comment out the PROCESSING directive, in which Chameleon produces a = map,=20 without any processing. Same thing occurs with other PROCESSING = options,=20 such as SCALE.
 
Some pertinent extracts from the Map=20 file:
 
IMAGETYPE png24:
 
  = OUTPUTFORMAT
    NAME=20 png24
    MIMETYPE "image/png"
    = DRIVER=20 "GD/PNG"
    IMAGEMODE RGBA
 END
 LAYER
    DATA=20 "o55_18ref.tif"
    NAME = "o55_18"
    GROUP=20 "Base"
    SIZEUNITS PIXELS
    = STATUS=20 ON
    TOLERANCE 0
    = TOLERANCEUNITS=20 PIXELS
    TRANSPARENCY 50
    TYPE=20 RASTER
    UNITS METERS
    = PROCESSING=20 "BANDS=3D5,4,3"
    OFFSITE 255 255 = 255
   =20 PROJECTION
    "proj=3Daea"
   =20 "ellps=3DGRS80"
    "lat_0=3D59"
    = "lon_0=3D-132.5"
    = "lat_1=3D61.667"
   =20 "lat_2=3D68"
    = "x_0=3D500000.0"
   =20 "y_0=3D500000.0"
    "units=3Dm"
    = "no_defs"
    END
   =20 METADATA
     "wms_title" = "o55_18"
   =20  "wms_group_title" "Base"
    = END
END
 
Is there a workaround? Because the Map = file seems=20 to get corrupted when the PROCESSING directive is included (an = extra END=20 gets inserted in the LAYER object according to the tmp map files), is = there a=20 parsing issue somewhere?
If anyone has Landsat processing = working within=20 Chameleon, what's the proper configuration in a Linux/Apache = installation of=20 Mapserver 4.0:
 
MapServer version 4.0 = OUTPUT=3DPNG=20 OUTPUT=3DWBMP SUPPORTS=3DPROJ SUPPORTS=3DFREETYPE SUPPORTS=3DWMS_SERVER=20 SUPPORTS=3DWMS_CLIENT INPUT=3DTIFF INPUT=3DEPPL7 INPUT=3DPOSTGIS = INPUT=3DOGR INPUT=3DGDAL=20 INPUT=3DSHAPEFILE
 
I'd really prefer to put the Chameleon = version into=20 production, which works well enough aside from this problem (I'm being=20 generous), but this is a show stopper. Any helpful comments=20 appreciated.
 
Jeff Hamm
GIS and Planning Advisor
Yukon Land Use Planning = Council
Whitehorse, Yukon
867 667 7397
 
------=_NextPart_000_0005_01C3E52B.8D88E7E0-- From TENIERER@gov.ns.ca Wed Jan 28 07:51:26 2004 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0SCpP4r021826 for ; Wed, 28 Jan 2004 07:51:25 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Wed, 28 Jan 2004 08:51:24 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Wed, 28 Jan 2004 08:51:23 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Wed, 28 Jan 2004 08:51:14 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Wed, 28 Jan 2004 08:51:03 -0400 From: "Rene Teniere " To: Cc: Subject: Re: [Chameleon] Item Query Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Wow, that's exactly it. I appreciate the work you put in. The guys and I here at work are still trying to wrap our heads around the architecture of Chameleon. We've been looking up the PHP MapScript documentation to get an idea as to variables that need to be passed to specific functions. Can you tell me about other resources/web sites that you guys have at DM Solutions or wherever that could make out lives easier for programming new widgets, as opposed to bugging the user's list? Thanks, RT >>> pagameba@magma.ca 2004-01-27 11:37:07 PM >>> Rene, it is indeed possible but I am not entirely sure that I understand exactly what you are trying to accomplish and what your inputs are. Let me try to outline what I think you are trying to do and how to solve the issue: Requirements: * you have a shapefile consisting of polygons that define the extents of provincial map sheets * you want the user to be able to enter a mapsheet number and be zoomed to that mapsheet's extents Unknowns: * is the shapefile included in your application? Assume no. Approach: * using a copy of the LocateWidget with all inputs removed except NTS MapSheet, and added a Provincial Map Sheet You need to locate the code that decides what the user wants to lookup, and supply some code to do your lookup. This is some code that looks roughly right, but I haven't tested it and I don't guarantee that it is without typos or erroneous function names, but I think you will get the idea. = 0) { //open shapefile using mapscript $oShapeFile = ms_newShapeFileObj( 'path-to-shapefile.shp', MS_SHP_POLYGON ); if ($oShapeFile->numshapes < $nIndex ) { //oops, not enough shapes, error } else { //get the bounding box of the shape in a RectObj $oRect = $oShape->getExtent( $nIndex ); $oMap->setextent( $oRect->minx, $oRect->miny, $oRect->maxx, $oRect->maxy ); } } else { //report no records } $oShapeFile->free(); ?> Rene Teniere wrote: > Hi Paul, > > That's very similar to what I started off with (only I used the > LocateWidget and got rid of all the inputs except NTS Map Sheet, and > added my own - Provincial Map Sheet). The problem comes in that there is > a polygon index covering the whole province containing cells > representing specific mapsheets. I have to be able to get chameleon to > find the mapsheet number within the index shapefile (the MAPSHEET item > in the index's table) using the user inputted text (essentially an item > query), then once I have the map object's extents returned, I would use > the setextent object to see it. Is this at all possible? If I > misunderstood you, I apologize, however, I don't think I exactly > explained the situation properly. > > Thanks, > > Rene > > > > >>>>pagameba@magma.ca 2004-01-27 2:36:20 PM >>> > > Rene, > > to do this in Chameleon, you create a new widget from one of the > existing ones that does something similar. For instance, the Scale > widget does something similar (it uses an input box to allow the user > to > type in a new scale value and then zooms to that scale. You would make > > a copy of this widget and rename stuff appropriately. > > Your main work would go in the ParseURL function which is where you > will > get the FORM variables that were submitted (Scale is a good example of > > this) and do something with them. In your case, you would use the > input > value to lookup the bounding box of a Map sheet and then apply those > extents to the map object using something like > $this->moMapSession->oMap->setextent( $nMinX, $nMinY, $nMaxX, $nMaxY > ); > > That's pretty much it. Note that the Scale widget is just a container > > for the value, you use an UpdateMap widget to actually submit the > page. > > Cheers, > > Paul > > Rene Teniere wrote: > > >>Hi All, >> >>Been sitting down here with the office MapServer programmer, looking > > to > >>create an Item Query. This goes back to the message I left yesterday > > on > >>having an input box for the user to input a mapsheet number and > > return > >>the result on the map display. In MapServer, you would just set the >>variables and send them to MapServer for processing. The question is > > how > >>is this achieved through Chameleon? In fact, how does it talk to >>mapserver? All we need to do is be able to figure out what variables > > to > >>set, and where to send them. >> >>Example: In the bounding box widget, you set the user-defined > > bounding > >>coordinates to the variables and them pass them >>on:window.opener.applyBoundingBox( nMinX, nMinY, nMaxX, nMaxY ); >> >>Is there anything that can help me out on figuring this stuff out? > > What > >>about the utils in htdocs_admin? >> >>Any help would be greatly appreciated >>Rene >> >>Rene J.R. Teniere - BSc., D.GIS >>GIS Technician >>Nova Scotia Department of Natural Resources >>Forestry Division (GIS) - Truro >> >>Phone: (902) 893-5655 >>Mobile: (902) 209-8956 >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Wed Jan 28 08:32:23 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0SDWN4r022041 for ; Wed, 28 Jan 2004 08:32:23 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i0SDWKhX023375; Wed, 28 Jan 2004 08:32:20 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i0SDWFvL014860; Wed, 28 Jan 2004 08:32:20 -0500 Message-ID: <4017B9DE.7050905@magma.ca> Date: Wed, 28 Jan 2004 08:32:14 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rene Teniere CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Item Query References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Rene, unfortunately, the documentation for chameleon is still woefully incomplete but I am working on that and hope to have a decent widget developers guide roughed in for the next release ... which will be coming out in a month or two. Cheers, Paul Rene Teniere wrote: > Wow, that's exactly it. I appreciate the work you put in. The guys and I > here at work are still trying to wrap our heads around the architecture > of Chameleon. We've been looking up the PHP MapScript documentation to > get an idea as to variables that need to be passed to specific > functions. Can you tell me about other resources/web sites that you guys > have at DM Solutions or wherever that could make out lives easier for > programming new widgets, as opposed to bugging the user's list? > > Thanks, > > RT > > >>>>pagameba@magma.ca 2004-01-27 11:37:07 PM >>> > > Rene, it is indeed possible but I am not entirely sure that I > understand > exactly what you are trying to accomplish and what your inputs are. > Let > me try to outline what I think you are trying to do and how to solve > the > issue: > > Requirements: > > * you have a shapefile consisting of polygons that define the extents > of > provincial map sheets > * you want the user to be able to enter a mapsheet number and be zoomed > > to that mapsheet's extents > > Unknowns: > > * is the shapefile included in your application? Assume no. > > Approach: > > * using a copy of the LocateWidget with all inputs removed except NTS > MapSheet, and added a Provincial Map Sheet > > You need to locate the code that decides what the user wants to lookup, > > and supply some code to do your lookup. This is some code that looks > roughly right, but I haven't tested it and I don't guarantee that it is > > without typos or erroneous function names, but I think you will get the > > idea. > dl( 'php_dbf.dll' ); > $hDB = dbase_open( 'path-to-shapefile.dbf' ); > $nRecs = dbase_numrecords( $hDB ); > $nIndex = -1; //-1 means not found > for ($i=0; $i<$nRecs; $i++) > { > $aRec = dbase_get_record_with_names( $hDB, $i ); > if (strcasecmp( $aRec['fieldname'], $szUserInput ) == 0) > { > //found a match > $nIndex = $i; > break; > } > } > dbase_close( $hDB ); > > if ($nIndex >= 0) > { > //open shapefile using mapscript > $oShapeFile = ms_newShapeFileObj( 'path-to-shapefile.shp', > MS_SHP_POLYGON ); > if ($oShapeFile->numshapes < $nIndex ) > { > //oops, not enough shapes, error > } > else > { > //get the bounding box of the shape in a RectObj > $oRect = $oShape->getExtent( $nIndex ); > $oMap->setextent( $oRect->minx, $oRect->miny, $oRect->maxx, > $oRect->maxy ); > } > } > else > { > //report no records > } > $oShapeFile->free(); > ?> > > Rene Teniere wrote: > > >>Hi Paul, >> >>That's very similar to what I started off with (only I used the >>LocateWidget and got rid of all the inputs except NTS Map Sheet, and >>added my own - Provincial Map Sheet). The problem comes in that there > > is > >>a polygon index covering the whole province containing cells >>representing specific mapsheets. I have to be able to get chameleon > > to > >>find the mapsheet number within the index shapefile (the MAPSHEET > > item > >>in the index's table) using the user inputted text (essentially an > > item > >>query), then once I have the map object's extents returned, I would > > use > >>the setextent object to see it. Is this at all possible? If I >>misunderstood you, I apologize, however, I don't think I exactly >>explained the situation properly. >> >>Thanks, >> >>Rene >> >> >> >> >> >>>>>pagameba@magma.ca 2004-01-27 2:36:20 PM >>> >> >>Rene, >> >>to do this in Chameleon, you create a new widget from one of the >>existing ones that does something similar. For instance, the Scale >>widget does something similar (it uses an input box to allow the > > user > >>to >>type in a new scale value and then zooms to that scale. You would > > make > >>a copy of this widget and rename stuff appropriately. >> >>Your main work would go in the ParseURL function which is where you >>will >>get the FORM variables that were submitted (Scale is a good example > > of > >>this) and do something with them. In your case, you would use the >>input >>value to lookup the bounding box of a Map sheet and then apply those > > >>extents to the map object using something like >>$this->moMapSession->oMap->setextent( $nMinX, $nMinY, $nMaxX, $nMaxY >>); >> >>That's pretty much it. Note that the Scale widget is just a > > container > >>for the value, you use an UpdateMap widget to actually submit the >>page. >> >>Cheers, >> >>Paul >> >>Rene Teniere wrote: >> >> >> >>>Hi All, >>> >>>Been sitting down here with the office MapServer programmer, looking >> >>to >> >> >>>create an Item Query. This goes back to the message I left yesterday >> >>on >> >> >>>having an input box for the user to input a mapsheet number and >> >>return >> >> >>>the result on the map display. In MapServer, you would just set the >>>variables and send them to MapServer for processing. The question is >> >>how >> >> >>>is this achieved through Chameleon? In fact, how does it talk to >>>mapserver? All we need to do is be able to figure out what variables >> >>to >> >> >>>set, and where to send them. >>> >>>Example: In the bounding box widget, you set the user-defined >> >>bounding >> >> >>>coordinates to the variables and them pass them >>>on:window.opener.applyBoundingBox( nMinX, nMinY, nMaxX, nMaxY ); >>> >>>Is there anything that can help me out on figuring this stuff out? >> >>What >> >> >>>about the utils in htdocs_admin? >>> >>>Any help would be greatly appreciated >>>Rene >>> >>>Rene J.R. Teniere - BSc., D.GIS >>>GIS Technician >>>Nova Scotia Department of Natural Resources >>>Forestry Division (GIS) - Truro >>> >>>Phone: (902) 893-5655 >>>Mobile: (902) 209-8956 >>>_______________________________________________ >>>Chameleon mailing list >>>Chameleon@lists.maptools.org >>>http://lists.maptools.org/mailman/listinfo/chameleon >>> >> >> > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Wed Jan 28 08:41:34 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0SDfY4r022083 for ; Wed, 28 Jan 2004 08:41:34 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i0SDfXE2004587; Wed, 28 Jan 2004 08:41:33 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i0SDfV6Q028394; Wed, 28 Jan 2004 08:41:33 -0500 Message-ID: <4017BC09.40108@magma.ca> Date: Wed, 28 Jan 2004 08:41:29 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jeff Hamm CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Raster Processing Option References: <000801c3e56e$9bd70870$6400a8c0@homefree> In-Reply-To: <000801c3e56e$9bd70870$6400a8c0@homefree> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Thanks for being generous :) seriously, though, perhaps part of the problem is really in mapserver. Chameleon typically uses a "Read-Write" mode of preserving state with mapfiles which means that it saves a copy of the map file for every page. In some cases this is overkill, but when there is a lot of state to maintain ... or if layers are being added/removed ... then it is a much more robust way of maintaining state. I am suspecting one of two things: 1. there is a problem when MapServer saves a map file containing this. It is not common for mapserver users to use PHP MapScript to save map files, mostly its a read-only operation, so it possible that there is a bug in here 2. the other possibility (more unlikely I think) is that you are not using the version of mapserver that you think you are, and the version you are using has problems. To test the save thing, use a little php script like: save( 'path-to-a-temp-file.map' ); echo "
";
print_r( file_get_contents( 'path-to-a-temp-file.map' );
echo "
"; ?> that will tell us right away if there is a problem with saving processing options ... in which case it is more of a mapserver issue than a Chameleon issue and should be reported appropriately in the mapscript bugzilla. Cheers, Paul Jeff Hamm wrote: > > I've still not had any resolution of my problem of enabling the > PROCESSING "BANDS=5,4,3" for raster images within Chameleon > 1.1alpha6. My map file (with Landsat image) works fine under Mapserver > 4, but won't produce any image using MapDHTML widget(just the > waitimage), unless I comment out the PROCESSING directive, in which > Chameleon produces a map, without any processing. Same thing occurs with > other PROCESSING options, such as SCALE. > > Some pertinent extracts from the Map file: > > IMAGETYPE png24: > > OUTPUTFORMAT > NAME png24 > MIMETYPE "image/png" > DRIVER "GD/PNG" > IMAGEMODE RGBA > END > LAYER > DATA "o55_18ref.tif" > NAME "o55_18" > GROUP "Base" > SIZEUNITS PIXELS > STATUS ON > TOLERANCE 0 > TOLERANCEUNITS PIXELS > TRANSPARENCY 50 > TYPE RASTER > UNITS METERS > PROCESSING "BANDS=5,4,3" > OFFSITE 255 255 255 > PROJECTION > "proj=aea" > "ellps=GRS80" > "lat_0=59" > "lon_0=-132.5" > "lat_1=61.667" > "lat_2=68" > "x_0=500000.0" > "y_0=500000.0" > "units=m" > "no_defs" > END > METADATA > "wms_title" "o55_18" > "wms_group_title" "Base" > END > END > > Is there a workaround? Because the Map file seems to get corrupted when > the PROCESSING directive is included (an extra END gets inserted in the > LAYER object according to the tmp map files), is there a parsing issue > somewhere? > If anyone has Landsat processing working within Chameleon, what's the > proper configuration in a Linux/Apache installation of Mapserver 4.0: > > MapServer version 4.0 OUTPUT=PNG OUTPUT=WBMP SUPPORTS=PROJ > SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT INPUT=TIFF > INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE > > I'd really prefer to put the Chameleon version into production, which > works well enough aside from this problem (I'm being generous), but this > is a show stopper. Any helpful comments appreciated. > > Jeff Hamm > GIS and Planning Advisor > Yukon Land Use Planning Council > Whitehorse, Yukon > 867 667 7397 > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From dmorissette@dmsolutions.ca Wed Jan 28 09:38:07 2004 Received: from xcalibur.dmsolutions.ca (www2.dmsolutions.ca [209.217.116.146]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0SEc24r022670 for ; Wed, 28 Jan 2004 09:38:07 -0500 Received: from dmsolutions.ca ([192.168.2.239]) by xcalibur.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id i0SEbJA18507; Wed, 28 Jan 2004 09:37:19 -0500 Message-ID: <4017C91F.4000503@dmsolutions.ca> Date: Wed, 28 Jan 2004 09:37:19 -0500 From: Daniel Morissette User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: spencer@dmsolutions.ca CC: Jeff Hamm , chameleon@lists.maptools.org Subject: Re: [Chameleon] Raster Processing Option References: <000801c3e56e$9bd70870$6400a8c0@homefree> <4017BC09.40108@magma.ca> In-Reply-To: <4017BC09.40108@magma.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Paul Spencer wrote: > 1. there is a problem when MapServer saves a map file containing this. > It is not common for mapserver users to use PHP MapScript to save map > files, mostly its a read-only operation, so it possible that there is a > bug in here > I think that's what it is, this was fixed in Chameleon bug 154: http://maptools.org/bugzilla/show_bug.cgi?id=154 Since this fix is only in CVS and hasn't been released yet (it will be in 4.0.2 whenever it goes out), you'll have to get the source from CVS using '-r branch-4-0' to checkout the latest version in the stable 4.0 branch. Daniel -- ------------------------------------------------------------ Daniel Morissette dmorissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From bartvde@xs4all.nl Wed Jan 28 12:33:23 2004 Received: from smtp-out3.xs4all.nl (smtp-out3.xs4all.nl [194.109.24.13]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0SHXL4r024789 for ; Wed, 28 Jan 2004 12:33:22 -0500 Received: from webmail.xs4all.nl (webmail10.xs4all.nl [194.109.22.170]) by smtp-out3.xs4all.nl (8.12.10/8.12.10) with SMTP id i0SHXKCA033172 for ; Wed, 28 Jan 2004 18:33:20 +0100 (CET) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Wed, 28 Jan 2004 18:34:25 +0100 (CET) Message-ID: <4733.212.238.227.182.1075311265.squirrel@webmail.xs4all.nl> Date: Wed, 28 Jan 2004 18:34:25 +0100 (CET) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [Chameleon] Chameleon 2.0 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Paul, several times you have mentioned the release of Chameleon 2.0 in the first half of April 2004 if I am not mistaken. Also you have mentioned a Javascript redesign will take place before 2.0. Is it possible for you to elaborate a bit on the things that will take place in Chameleon between now and release 2.0? I would be very interested to know what kind of functionality will be added or what changes in the design you are gonna implement. Hope to get some info on this. Thanks in advance. Best regards, Bart From thowlett@whistlermuseum.org Wed Jan 28 12:44:41 2004 Received: from smtp.inetwave.com (smtp1000.radiant.net [216.21.149.210]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i0SHie4r024921 for ; Wed, 28 Jan 2004 12:44:41 -0500 Message-Id: <200401281744.i0SHie4r024921@www.maptools.org> Received: (qmail 21356 invoked from network); 28 Jan 2004 17:35:43 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp1000.radiant.net with SMTP; 28 Jan 2004 17:35:43 -0000 Reply-To: From: "Tracy Howlett" To: "'Huub Fleuren'" Cc: Subject: RE: [Chameleon] Print Widget Date: Wed, 28 Jan 2004 09:44:20 -0800 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_005B_01C3E583.4E0235B0" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <4014D8EB.4050800@geodan.nl> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPj7AfZHhQuoaQYRhqWa2aNN0HobgB2dBkg Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_005B_01C3E583.4E0235B0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Huub, Thanks for that tip. There are now no errors on the opening print production page but I'm still getting the same errors when I try to either download or display the image. "If I click on download map I get a bunch of 'No language is set' errors and a 'No valid map object to restore to'. If I click on Printer friendly map I get a screen with an image which doesn't draw..the source of that image is "http://localhost/cwc2/widgets/preview.php?sid=40008f667ae2a&selImageFormat= "" Tracy _____ From: Huub Fleuren [mailto:huub.fleuren@geodan.nl] Sent: Monday, January 26, 2004 1:08 AM To: thowlett@whistlermuseum.org Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Print Widget Haai Tracy, I ran into this too, since the november upgrades of chameleon, in the 'first' version this went oke. It 's got something to do with the generating of a list of fonts from which a user can choose. This list is built on the contents of a directory, or a file, listing fonts in there is read. I commentend it out in production.php.inc and the font cannot be set anymore: the font is hardcoded now. greetings, Huub Tracy Howlett wrote: I managed to sort out the php_gd.dll stuff and the print window is at least opening now. However, I'm getting lots of errors: This is displayed under the user interface - PHP Warning: file(C:\): failed to open stream: No such file or directory in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 152 PHP Warning: Invalid argument supplied for foreach() in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 154 PHP Parse error: parse error, unexpected '"' in C:\apps\cwc2\htdocs\widgets\40008f667ae2a.txt on line 14 If I click on download map I get a bunch of 'No language is set' errors and a 'No valid map object to restore to'. If I click on Printer friendly map I get a screen with an image which doesn't draw..the source of that image is "http://localhost/cwc2/widgets/preview.php?sid=40008f667ae2a&selImageFormat= " Has anyone else run into these errors? -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Tracy Howlett Sent: Friday, January 23, 2004 5:40 PM To: thowlett@whistlermuseum.org; chameleon@lists.maptools.org Subject: RE: [Chameleon] Print Widget I tried putting the code in again and now I'm at least getting a popup. However I have these errors (pasted below). I noticed that there are some problems with the php_gd.dll....this dll did not come with my version of chameleon/php/mapscript, I have php_gd2.dll. I downloaded php_gd.dll and added it to my .ini file but the error has not changed. PHP Notice: Undefined index: gszLogPath in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 35 PHP Notice: Undefined index: gnLogLevel in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 38 PHP Notice: Undefined index: gbLogError in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 44 PHP Notice: Undefined index: gszMapscriptModule in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 50 PHP Warning: dl(): Unable to load dynamic library 'C:\PHP\extensions\' - The specified module could not be found. in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 50 PHP Notice: Undefined index: gnMapSessionMode in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 53 PHP Notice: Undefined index: gszTmpPath in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 63 PHP Notice: Undefined index: gszCurrentState in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 69 PHP Notice: Undefined index: gszMapName in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 69 PHP Notice: Undefined index: gszMapName in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 69 PHP Notice: Undefined index: gszCurrentLanguage in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 90 PHP Notice: Undefined index: gszCurrentLanguage in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 95 PHP Notice: Undefined index: aszLang in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 102 PHP Notice: Undefined index: aszLang in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 106 PHP Notice: Undefined index: gszMapPath in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 136 PHP Notice: Undefined index: gszMapPath in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 137 PHP Notice: Undefined index: gszMapPath in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 145 PHP Warning: file(C:\): failed to open stream: No such file or directory in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 152 PHP Warning: Invalid argument supplied for foreach() in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 154 PHP Notice: Undefined index: gszTmpPath in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 165 PHP Notice: Undefined index: gszTmpPath in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 178 PHP Warning: dl(): Unable to load dynamic library 'C:\PHP\extensions\php_gd.dll' - The specified procedure could not be found. in C:\apps\cwc2\htdocs\widgets\production.phtml on line 181 -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Tracy Howlett Sent: Friday, January 23, 2004 5:21 PM To: chameleon@lists.maptools.org Subject: [Chameleon] Print Widget I'm trying to use the print widget. When I click on the Print button I get a 'No Event' box. Any ideas? -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Tracy Howlett Sent: Wednesday, January 14, 2004 10:15 AM To: thowlett@whistlermuseum.org; spencer@dmsolutions.ca Cc: chameleon@lists.maptools.org Subject: RE: [Chameleon] Query Widget Part 2 of my question was about the Print and Help tools. When I click on Print I get a 'No Event' box and I don't think I totally understand how the Help Widget is supposed to be implemented since it only requires the base attributes. How can I attach this to a button? -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Tracy Howlett Sent: Wednesday, January 14, 2004 9:57 AM To: spencer@dmsolutions.ca Cc: chameleon@lists.maptools.org Subject: RE: [Chameleon] Query Widget That'll do it. Thanks Paul -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Paul Spencer Sent: Saturday, January 10, 2004 3:22 PM To: thowlett@whistlermuseum.org Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Query Widget Tracy, I think there is a small problem with the query widget not including the popup code. Try adding the following line of code to Query.widget.php around line 31 (with the other includes). If it works, I'll commit the change to CVS. include_once( "Popup.php" ); Cheers, Paul Tracy Howlett wrote: I'm trying to implement the Query widget but I'm getting the following error: PHP Fatal error: Cannot instantiate non-existent class: cwcpopup in C:\apps\cwc2\htdocs\widgets\Query.widget.php on line 56 I can't find any documentation on the cwcpopup class (or lack thereof!). I'm also having problems getting the PrintWidget and HelpWidget working. Are there any known issues with these widgets? My setup: MapServer 4.0.1 PHP/MapScript 4.3.4 Chameleon 1.1 Win XP (must also work on Server 2003) _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon -- Geodan organiseert op 29 januari 2004 een informatieve dag over nieuwe ontwikkelingen op het gebied van geo-ICT. Kijk voor meer informatie op http://www.geodan.nl/geo-informationonthemove/ -- Geodan IT b.v. Buitenhaven 27-A 5211 TP 's-Hertogenbosch (NL) ------------------------------------- Tel: +31 (0)73 - 692 5151 Fax: +31 (0)73 - 692 5150 Mobiel: ------------------------------------- Postadres / mailing address President Kennedylaan 1 1079 MB Amsterdam (NL) ------------------------------------- E-mail: huub.fleuren@geodan.nl Website: www.geodan.nl Disclaimer: www.geodan.nl/disclaimer ------------------------------------- ------=_NextPart_000_005B_01C3E583.4E0235B0 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

Huub, =

 

Thanks for that tip.  There = are now no errors on the opening print production page but I’m still = getting the same errors when I try to either download or display the = image.

If I click on =
download map I get a bunch of 'No language is set' errors =
and
a 'No valid map object to restore to'.  =
If I click on Printer friendly map =
I
get a screen with an image which doesn't =
draw..the source of that image =
is
"http://localhost/cwc2/widgets/preview.php?sid=3D=
40008f667ae2a&selImageFormat=3D
"=
 
Tracy

From: Huub Fleuren [mailto:huub.fleuren@geodan.nl]
Sent: Monday, January 26, = 2004 1:08 AM
To: thowlett@whistlermuseum.org
Cc: = chameleon@lists.maptools.org
Subject: Re: [Chameleon] = Print Widget

 

Haai Tracy,

I ran into this too, since the november upgrades of chameleon, in the = 'first' version this went oke.

It 's got something to do with the generating of a list of fonts from = which a user can choose.
This list is built on the contents of a directory, or a file, listing = fonts in there is read.

I commentend it out  in production.php.inc and the font cannot be = set anymore: the font is hardcoded now.



greetings,
Huub



Tracy Howlett wrote:

I managed to sort out the php_gd.dll stuff =
and the print window is at =
least
opening now.  However, I'm getting lots =
of errors:
 
This is displayed under the user interface - =
PHP Warning: file(C:\): failed to open =
stream: No such file or directory =
in
C:\apps\cwc2\htdocs\widgets\production.inc.php=
 on line 152 PHP Warning:
Invalid argument supplied for foreach() =
in
C:\apps\cwc2\htdocs\widgets\production.inc.php=
 on line 154 PHP Parse error:
parse error, unexpected '"' in =
C:\apps\cwc2\htdocs\widgets\40008f667ae2a.txt
on line =
14
 
If I click on download map I get a bunch of =
'No language is set' errors and
a 'No valid map object to restore to'.  =
If I click on Printer friendly map =
I
get a screen with an image which doesn't =
draw..the source of that image =
is
"http://localhost/cwc2/widgets/preview.php?sid=3D=
40008f667ae2a&selImageFormat=3D
"
<= pre> 
Has anyone else run into these =
errors?
 
-----Original =
Message-----
From: chameleon-admin@lists.=
maptools.org
[mailto:chameleon-admin=
@lists.maptools.org] On Behalf Of Tracy =
Howlett
Sent: Friday, January 23, 2004 5:40 =
PM
To: thowlett@whistlermuseum.org; chameleon@lists.maptools.org=
Subject: RE: [Chameleon] Print =
Widget
 
I tried putting the code in again and now I'm =
at least getting a popup.
However I have these errors (pasted =
below).  I noticed that there are =
some
problems with the php_gd.dll....this dll did =
not come with  my version =
of
chameleon/php/mapscript, I have =
php_gd2.dll.  I downloaded php_gd.dll =
and
added it to my .ini file but the error has =
not changed.
 
PHP Notice: Undefined index: gszLogPath =
in
C:\apps\cwc2\htdocs\widgets\session.inc.php =
on line 35 PHP Notice: =
Undefined
index: gnLogLevel in =
C:\apps\cwc2\htdocs\widgets\session.inc.php on line =
38
PHP Notice: Undefined index: gbLogError =
in
C:\apps\cwc2\htdocs\widgets\session.inc.php =
on line 44 PHP Notice: =
Undefined
index: gszMapscriptModule in =
C:\apps\cwc2\htdocs\widgets\session.inc.php =
on
line 50 PHP Warning: dl(): Unable to load =
dynamic library
'C:\PHP\extensions\' - The specified module =
could not be found. in
C:\apps\cwc2\htdocs\widgets\session.inc.php =
on line 50 PHP Notice: =
Undefined
index: gnMapSessionMode in =
C:\apps\cwc2\htdocs\widgets\session.inc.php =
on
line 53 PHP Notice: Undefined index: =
gszTmpPath in
C:\apps\cwc2\htdocs\widgets\session.inc.php =
on line 63 PHP Notice: =
Undefined
index: gszCurrentState in =
C:\apps\cwc2\htdocs\widgets\session.inc.php =
on
line 69 PHP Notice: Undefined index: =
gszMapName in
C:\apps\cwc2\htdocs\widgets\session.inc.php =
on line 69 PHP Notice: =
Undefined
index: gszMapName in =
C:\apps\cwc2\htdocs\widgets\session.inc.php on line =
69
PHP Notice: Undefined index: =
gszCurrentLanguage in
C:\apps\cwc2\htdocs\widgets\session.inc.php =
on line 90 PHP Notice: =
Undefined
index: gszCurrentLanguage in =
C:\apps\cwc2\htdocs\widgets\session.inc.php =
on
line 95 PHP Notice: Undefined index: aszLang =
in
C:\apps\cwc2\htdocs\widgets\session.inc.php =
on line 102 PHP Notice:
Undefined index: aszLang in =
C:\apps\cwc2\htdocs\widgets\session.inc.php =
on
line 106 PHP Notice: Undefined index: =
gszMapPath in
C:\apps\cwc2\htdocs\widgets\production.inc.php=
 on line 136 PHP Notice:
Undefined index: gszMapPath =
in
C:\apps\cwc2\htdocs\widgets\production.inc.php=
 on line 137 PHP Notice:
Undefined index: gszMapPath =
in
C:\apps\cwc2\htdocs\widgets\production.inc.php=
 on line 145 PHP Warning:
file(C:\): failed to open stream: No such =
file or directory in
C:\apps\cwc2\htdocs\widgets\production.inc.php=
 on line 152 PHP Warning:
Invalid argument supplied for foreach() =
in
C:\apps\cwc2\htdocs\widgets\production.inc.php=
 on line 154 PHP Notice:
Undefined index: gszTmpPath =
in
C:\apps\cwc2\htdocs\widgets\production.inc.php=
 on line 165 PHP Notice:
Undefined index: gszTmpPath =
in
C:\apps\cwc2\htdocs\widgets\production.inc.php=
 on line 178 PHP Warning:
dl(): Unable to load dynamic library =
'C:\PHP\extensions\php_gd.dll' - =
The
specified procedure could not be found. =
in
C:\apps\cwc2\htdocs\widgets\production.phtml =
on line 181
 
-----Original =
Message-----
From: chameleon-admin@lists.=
maptools.org
[mailto:chameleon-admin=
@lists.maptools.org] On Behalf Of Tracy =
Howlett
Sent: Friday, January 23, 2004 5:21 =
PM
To: chameleon@lists.maptools.org=
Subject: [Chameleon] Print =
Widget
 
I'm trying to use the print widget. When I =
click on the Print button I get =
a
'No Event' box.  Any ideas?  =
 
-----Original =
Message-----
From: chameleon-admin@lists.=
maptools.org
[mailto:chameleon-admin=
@lists.maptools.org] On Behalf Of Tracy =
Howlett
Sent: Wednesday, January 14, 2004 10:15 =
AM
To: thowlett@whistlermuseum.org; spencer@dmsolutions.ca
Cc: chameleon@lists.maptools.org=
Subject: RE: [Chameleon] Query =
Widget
 
Part 2 of my question was about the Print and =
Help tools.  When I click =
on
Print I get a 'No Event' box and I don't =
think I totally understand how =
the
Help Widget is supposed to be implemented =
since it only requires the base
attributes.  How can I attach this to a =
button? 
 
-----Original =
Message-----
From: chameleon-admin@lists.=
maptools.org
[mailto:chameleon-admin=
@lists.maptools.org] On Behalf Of Tracy =
Howlett
Sent: Wednesday, January 14, 2004 9:57 =
AM
To: spencer@dmsolutions.ca
Cc: chameleon@lists.maptools.org=
Subject: RE: [Chameleon] Query =
Widget
 
That'll do it.  Thanks =
Paul
 
-----Original =
Message-----
From: chameleon-admin@lists.=
maptools.org
[mailto:chameleon-admin=
@lists.maptools.org] On Behalf Of Paul =
Spencer
Sent: Saturday, January 10, 2004 3:22 =
PM
To: thowlett@whistlermuseum.org
Cc: chameleon@lists.maptools.org=
Subject: Re: [Chameleon] Query =
Widget
 
Tracy,
 
I think there is a small problem with the =
query widget not including the 
popup code.  Try adding the following =
line of code to Query.widget.php =
around line 31 (with the other =
includes).  If it works, I'll commit the =
change to =
CVS.
 
include_once( "Popup.php" =
);
 
 
Cheers,
 
Paul
 
Tracy Howlett =
wrote:
 
  
I'm trying to implement the Query widget but =
I'm getting the following
error:
 
PHP Fatal error: Cannot instantiate =
non-existent class: cwcpopup in
C:\apps\cwc2\htdocs\widgets\Query.widget.php =
on line 56
 
I can't find any documentation on the =
cwcpopup class (or lack =
thereof!).
 
I'm also having problems getting the =
PrintWidget and HelpWidget =
working.
Are there any known issues with these =
widgets?  
 
My =
setup:
MapServer =
4.0.1
PHP/MapScript =
4.3.4
Chameleon =
1.1
Win XP (must also work on Server =
2003)
 
 
 
______________________________________________=
_
Chameleon mailing =
list
Chameleon@lists.maptools.org=
http://list=
s.maptools.org/mailman/listinfo/chameleon
 
    =
 
  



-- 
 
Geodan organiseert op 29 januari 2004 een =
informatieve dag over nieuwe ontwikkelingen op het gebied van geo-ICT. =
Kijk voor meer informatie op http://www.geodan=
.nl/geo-informationonthemove/
 
--
Geodan IT =
b.v.
Buitenhaven =
27-A
5211 TP 's-Hertogenbosch =
(NL)
-------------------------------------
Tel: +31 (0)73 - 692 =
5151
Fax:  +31 (0)73 - 692 =
5150
Mobiel:
-------------------------------------
Postadres / mailing =
address
President Kennedylaan =
1
1079 MB Amsterdam =
(NL)
-------------------------------------
E-mail: huub.fleuren@geodan.nl
Website: www.geodan.nl<=
/pre>
Disclaimer: www.geodan.nl/disclaimer
-------------------------------------
------=_NextPart_000_005B_01C3E583.4E0235B0-- From jeff@planyukon.ca Wed Jan 28 18:32:47 2004 Received: from athena-landuse.polarcom.com (athena-landuse.polarcom.com [199.247.156.83]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i0SNWk4r026651 for ; Wed, 28 Jan 2004 18:32:47 -0500 Received: (qmail 17130 invoked from network); 28 Jan 2004 23:32:42 -0000 Received: from machine2.anydomain.net (HELO planyukon.ca) (192.168.1.2) by athena-landuse.polarcom.com with SMTP; 28 Jan 2004 23:32:42 -0000 Message-ID: <401846C3.C6B790B8@planyukon.ca> Date: Wed, 28 Jan 2004 15:33:23 -0800 From: Jeff Hamm Organization: Yukon Land Use Planning Council X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Daniel Morissette CC: Paul Spencer , chameleon@lists.maptools.org Subject: Re: [Chameleon] Raster Processing Option References: <000801c3e56e$9bd70870$6400a8c0@homefree> <4017BC09.40108@magma.ca> <4017C91F.4000503@dmsolutions.ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Thanks Daniel & Paul; The Mapserver bug(154) fix eliminated my problem! Thanks for your prompt responses. Cheers, Jeff Hamm Yukon Land Use Planning Council Whitehorse, Yukon Daniel Morissette wrote: > Paul Spencer wrote: > > 1. there is a problem when MapServer saves a map file containing this. > > It is not common for mapserver users to use PHP MapScript to save map > > files, mostly its a read-only operation, so it possible that there is a > > bug in here > > > > I think that's what it is, this was fixed in Chameleon bug 154: > http://maptools.org/bugzilla/show_bug.cgi?id=154 > > Since this fix is only in CVS and hasn't been released yet (it will be > in 4.0.2 whenever it goes out), you'll have to get the source from CVS > using '-r branch-4-0' to checkout the latest version in the stable 4.0 > branch. > > Daniel > -- > ------------------------------------------------------------ > Daniel Morissette dmorissette@dmsolutions.ca > DM Solutions Group http://www.dmsolutions.ca/ > ------------------------------------------------------------ From thowlett@whistlermuseum.org Wed Jan 28 19:24:54 2004 Received: from smtp.inetwave.com (smtp1000.radiant.net [216.21.149.210]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i0T0Os4r026856 for ; Wed, 28 Jan 2004 19:24:54 -0500 Message-Id: <200401290024.i0T0Os4r026856@www.maptools.org> Received: (qmail 6437 invoked from network); 29 Jan 2004 00:15:57 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp1000.radiant.net with SMTP; 29 Jan 2004 00:15:57 -0000 Reply-To: From: "Tracy Howlett" To: "'Huub Fleuren'" Cc: Subject: RE: [Chameleon] Print Widget Date: Wed, 28 Jan 2004 16:24:31 -0800 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0090_01C3E5BB.376707D0" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <200401281744.i0SHie4r024921@www.maptools.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPj7AfZHhQuoaQYRhqWa2aNN0HobgB2dBkgAA2tm4A= Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0090_01C3E5BB.376707D0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit My print problems continue. I think I've sorted out the issues with font lists but now there is an image format problem. When I select download or preview I get a PHP Script Interpreter problem. When I debug it I get this error message: CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: Warning 1: TIFFReadDirectory:C:\Apps\chirp\data\Tin_high_new.tif: wrong data type 1 for "XMLPacket"; tag ignored Warning 1: TIFFReadDirectory:C:\Apps\chirp\data\Tin_high_new.tif: wrong data type 1 for "XMLPacket"; tag ignored Could this be because of the php_gd.dll version? The version of PHP that I'm running (4.3.4) comes bundled with php_gd2.dll. Is it just that gd does not support tiff output? Perhaps it is the MapScript. I'm using some aerial photos and a DEM in tiff format and I'd like to add them to the map printout if possible. I just ran a test.phtml ( and there is an error message telling me "MapScript: Unable to register functions; Unable to load" Just when I think I've solved one problem I find another with this thing!! ;) Tracy ------=_NextPart_000_0090_01C3E5BB.376707D0 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

My print problems = continue…

 

I think I’ve sorted out the = issues with font lists but now there is an image format problem.  When I = select download or preview I get a PHP Script Interpreter problem.  When I = debug it I get this error message:

CGI = Error

The specified CGI = application misbehaved by not returning a complete set of HTTP headers. The headers = it did return are:

Warning 1: TIFFReadDirectory:C:\Apps\chirp\data\Tin_high_new.tif: wrong data type 1 = for "XMLPacket"; tag ignored

Warning 1: TIFFReadDirectory:C:\Apps\chirp\data\Tin_high_new.tif: wrong data type 1 = for "XMLPacket"; tag ignored

 

Could this be because of the = php_gd.dll version?  The version of PHP that I’m running (4.3.4) comes = bundled with php_gd2.dll.  Is it just that gd does not support tiff = output?  Perhaps it is the MapScript.  I’m using some aerial photos and a DEM = in tiff format and I’d like to add them to the map printout if = possible.

 

I just ran a test.phtml = (<?php  dl("php_mapscript_4.0.1.dll"); phpinfo(); ?> and there is = an error message telling me “MapScript:  Unable to register functions; = Unable to load”  Just when I think I’ve solved one problem I = find another with this thing!! ;)

 

Tracy

------=_NextPart_000_0090_01C3E5BB.376707D0-- From dastolfo1@cogeco.ca Thu Jan 29 13:08:52 2004 Received: from fep2.cogeco.net (smtp.cogeco.net [216.221.81.25]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0TI8k4r031320 for ; Thu, 29 Jan 2004 13:08:52 -0500 Received: from DGG (d141-153-10.home.cgocable.net [24.141.153.10]) by fep2.cogeco.net (Postfix) with ESMTP id 95D49467C for ; Thu, 29 Jan 2004 13:08:45 -0500 (EST) From: "Dave Astolfo" To: Date: Thu, 29 Jan 2004 13:08:30 -0500 Message-ID: <003d01c3e692$ea5f6580$3402a8c0@DGG> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_003E_01C3E669.01895D80" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: [Chameleon] Chameleon 1.1 Alpha Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_003E_01C3E669.01895D80 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Hi all, Has anyone installed Chameleon 1.1 Alpha on an IIS / Windows platform? I had 1.0.4 working. After setting up 1.1, I get a blank screen when running step #5 below. Not errors, or warnings. My install process was as follows: 1) Had 1.0.4 working in xxxxxxxxx/cwc2/ directory 2) renamed cwc2 to cwc2 1.0.4 3) unzipped 1.1 into directory at same location and renamed to cwc2 4) IIS did not require any changes as it still looks for the same directory and the structure (/cwc2/htdocs) is the same. 5) When trying to run the demo file ( http://maps.astolfo.com/cwc2/chameleon.php?TEMPLATE=demo.html&CONTEXT=gm ap_context.xml ) I get a blank screen. I tried to create a basic template file with a simple CWC Error widget and still got a blank screen. confused... Thanks, Dave ------=_NextPart_000_003E_01C3E669.01895D80 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Chameleon 1.1 Alpha

Hi all,

Has anyone installed Chameleon 1.1 = Alpha on an IIS / Windows platform?  I had 1.0.4 = working.   After setting up 1.1, I get a blank screen when = running step #5 below.  Not errors, or warnings.   =

My install process was as = follows:

1) Had 1.0.4 working in xxxxxxxxx/cwc2/ = directory
2) renamed cwc2 to cwc2 1.0.4
3) unzipped 1.1 into directory at same = location and renamed to cwc2
4) IIS did not require any changes as = it still looks for the same directory and the structure (/cwc2/htdocs) = is the same.

5) When trying to run the demo = file  (  http://maps.astolfo.com/cwc2/chameleon.php?TEMPLATE=3Ddemo= .html&CONTEXT=3Dgmap_context.xml ) I get a blank screen.

I tried to create a basic template file = with a simple CWC Error widget and still got a blank = screen…   confused...


Thanks,

Dave

------=_NextPart_000_003E_01C3E669.01895D80-- From jeff@planyukon.ca Thu Jan 29 13:23:30 2004 Received: from athena-landuse.polarcom.com (athena-landuse.polarcom.com [199.247.156.83]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i0TINT4r031406 for ; Thu, 29 Jan 2004 13:23:30 -0500 Received: (qmail 18980 invoked from network); 29 Jan 2004 18:23:28 -0000 Received: from machine2.anydomain.net (HELO planyukon.ca) (192.168.1.2) by athena-landuse.polarcom.com with SMTP; 29 Jan 2004 18:23:28 -0000 Message-ID: <40194FCA.8F4451A3@planyukon.ca> Date: Thu, 29 Jan 2004 10:24:10 -0800 From: Jeff Hamm Organization: Yukon Land Use Planning Council X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Dharani Babu CC: chameleon@lists.maptools.org, maplab@lists.maptools.org References: Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [Chameleon] Re: help new bie!!! Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Dharani; I agree with Chris's comments ([Maplab-users])regarding ease of developing web applications, the Chameleon approach is more flexible. I suggest you exploit the capability of Mapserver to handle your spatial data handling requirements, and Chameleon, or some similar parsing engine, to put the resulting maps into your desired presentation format. My favourite resources are: 1. PHP (http://www.php.net); 2. Mapscript (http://www2.dmsolutions.on.ca/mapserver/php_mapscript/php_mapscript_docs35.html); 3. Mapserver (http://mapserver.gis.umn.edu/doc/mapfile-reference.html); 4. Chameleon (www.maptools.org) 5. These most excellent user lists: [Maplab-users] http://lists.maptools.org [Mapserver-users] http://mapserver.gis.umn.edu/cgi-bin/wilma/mapserver-users As for starting a web mapping application all over again from scratch, I especially enjoyed the reference Frank W. passed along (http://www.neilgunton.com/rewrites_harmful/). Good Luck ! Jeff Dharani Babu wrote: > Hi > I am dharani babu from india . A VC++ developer . I found ur mail id from > chameleon mailing list. > I will be very grateful if u could help me start my Map project . I am > supposed to develope > a web mapping application . I have been successful in drawing couple of > county maps of US > from TIGER files ( the RT1 files ) with VC++.But I am supposed to develope > an application that > looks like map lab . And I have been asked by my PM to look for Map Lab open > source code to develope > such application .As of now I know only about intrepreting LOngitude , > Latitude pairs and > getting a projectable screen points . But my solution lies somewhere with > the Map Lab OS code . > But the Map Lab is something very big for a starter like me . So I dont know > where to look for what . > So please advise me on this . > With thanks in advance > dharani babu , chennai , india > > _________________________________________________________________ > Play the prediction game on MEZ. Win Sehwag’s autographed T-shirts. > http://go.msnserver.com/IN/41491.asp Predict and win on myenjoyzone.com. From TENIERER@gov.ns.ca Thu Jan 29 13:23:31 2004 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0TINU4r031410 for ; Thu, 29 Jan 2004 13:23:31 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Thu, 29 Jan 2004 14:23:29 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Thu, 29 Jan 2004 14:23:29 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Thu, 29 Jan 2004 14:23:26 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Thu, 29 Jan 2004 14:23:11 -0400 From: "Rene Teniere " To: Cc: Subject: Re: [Chameleon] Item Query Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Paul, The code is very logical and makes sense, it will cycle through the database and make the match, however, I think there is something wrong with having ms_newShapeFileObj(), It is overwriting my original shapefile with a new one, because there are no shapes in it. The numshapes count is 0. Should I be using getShape() instead?? Here is the PHP code: Rene $szPMS = ""; if (isset($this->moURLArray["PMS"])) $szPMS = $this->moURLArray["PMS"]; if ($szPMS > 0 && is_numeric($szPMS)) { $hDB = dbase_open('d:/gis_data/juan/juan_indx.dbf',0); $nRecs = dbase_numrecords($hDB); error_log("Number of Records: ".$nRecs); $nIndex = -1; //-1 means not found for ($i=0; $i<=$nRecs; $i++) { $aRec = dbase_get_record_with_names($hDB,$i); $aResult = $aRec['MAPSHEET']; error_log("Search criteria: ".$szPMS); error_log("Line ".$i." of text from the Database: ".$aResult); if (strcasecmp($aResult,$szPMS) == 0) { //Found a match $nIndex = $i; error_log("Match Found, Index: ".$nIndex); break; } } dbase_close($hDB); if($nIndex>=0) { //Open the shapefile $oShapeFile = ms_newShapeFileObj('d:/gis_data/juan/juan_indx.shp',MS_SHP_POLYGON); $nShapes = $oShapeFile->numshapes; Error_Log("Number of shapes: ".$nShapes); if($nShapes < $nIndex) { //Not enough shapes Error_Log("Not Enough Shapes in ".$oShapeFile); } else { $oRect=$oShapeFile->getExtent($nIndex); $myMinX = $oRect->minx; $myMinY = $oRect->miny; $myMaxX = $oRect->maxx; $myMaxY = $oRect->maxy; Error_Log("Min X: ".$myMinX); Error_Log("Min Y: ".$myMinY); Error_Log("Max X: ".$myMaxX); Error_Log("Max Y: ".$myMaxY); $oMap->setExtent($myMinX,$myMinY,$myMaxX,$myMaxY); } } else { //Report no records } $oShapeFile->free(); } >>> pagameba@magma.ca 2004-01-27 11:37:07 PM >>> Rene, it is indeed possible but I am not entirely sure that I understand exactly what you are trying to accomplish and what your inputs are. Let me try to outline what I think you are trying to do and how to solve the issue: Requirements: * you have a shapefile consisting of polygons that define the extents of provincial map sheets * you want the user to be able to enter a mapsheet number and be zoomed to that mapsheet's extents Unknowns: * is the shapefile included in your application? Assume no. Approach: * using a copy of the LocateWidget with all inputs removed except NTS MapSheet, and added a Provincial Map Sheet You need to locate the code that decides what the user wants to lookup, and supply some code to do your lookup. This is some code that looks roughly right, but I haven't tested it and I don't guarantee that it is without typos or erroneous function names, but I think you will get the idea. = 0) { //open shapefile using mapscript $oShapeFile = ms_newShapeFileObj( 'path-to-shapefile.shp', MS_SHP_POLYGON ); if ($oShapeFile->numshapes < $nIndex ) { //oops, not enough shapes, error } else { //get the bounding box of the shape in a RectObj $oRect = $oShape->getExtent( $nIndex ); $oMap->setextent( $oRect->minx, $oRect->miny, $oRect->maxx, $oRect->maxy ); } } else { //report no records } $oShapeFile->free(); ?> Rene Teniere wrote: > Hi Paul, > > That's very similar to what I started off with (only I used the > LocateWidget and got rid of all the inputs except NTS Map Sheet, and > added my own - Provincial Map Sheet). The problem comes in that there is > a polygon index covering the whole province containing cells > representing specific mapsheets. I have to be able to get chameleon to > find the mapsheet number within the index shapefile (the MAPSHEET item > in the index's table) using the user inputted text (essentially an item > query), then once I have the map object's extents returned, I would use > the setextent object to see it. Is this at all possible? If I > misunderstood you, I apologize, however, I don't think I exactly > explained the situation properly. > > Thanks, > > Rene > > > > >>>>pagameba@magma.ca 2004-01-27 2:36:20 PM >>> > > Rene, > > to do this in Chameleon, you create a new widget from one of the > existing ones that does something similar. For instance, the Scale > widget does something similar (it uses an input box to allow the user > to > type in a new scale value and then zooms to that scale. You would make > > a copy of this widget and rename stuff appropriately. > > Your main work would go in the ParseURL function which is where you > will > get the FORM variables that were submitted (Scale is a good example of > > this) and do something with them. In your case, you would use the > input > value to lookup the bounding box of a Map sheet and then apply those > extents to the map object using something like > $this->moMapSession->oMap->setextent( $nMinX, $nMinY, $nMaxX, $nMaxY > ); > > That's pretty much it. Note that the Scale widget is just a container > > for the value, you use an UpdateMap widget to actually submit the > page. > > Cheers, > > Paul > > Rene Teniere wrote: > > >>Hi All, >> >>Been sitting down here with the office MapServer programmer, looking > > to > >>create an Item Query. This goes back to the message I left yesterday > > on > >>having an input box for the user to input a mapsheet number and > > return > >>the result on the map display. In MapServer, you would just set the >>variables and send them to MapServer for processing. The question is > > how > >>is this achieved through Chameleon? In fact, how does it talk to >>mapserver? All we need to do is be able to figure out what variables > > to > >>set, and where to send them. >> >>Example: In the bounding box widget, you set the user-defined > > bounding > >>coordinates to the variables and them pass them >>on:window.opener.applyBoundingBox( nMinX, nMinY, nMaxX, nMaxY ); >> >>Is there anything that can help me out on figuring this stuff out? > > What > >>about the utils in htdocs_admin? >> >>Any help would be greatly appreciated >>Rene >> >>Rene J.R. Teniere - BSc., D.GIS >>GIS Technician >>Nova Scotia Department of Natural Resources >>Forestry Division (GIS) - Truro >> >>Phone: (902) 893-5655 >>Mobile: (902) 209-8956 >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From bartvde@xs4all.nl Thu Jan 29 13:32:16 2004 Received: from smtp-out5.xs4all.nl (smtp-out5.xs4all.nl [194.109.24.6]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0TIWF4r031471 for ; Thu, 29 Jan 2004 13:32:16 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out5.xs4all.nl (8.12.10/8.12.10) with ESMTP id i0TIW4n1030570; Thu, 29 Jan 2004 19:32:05 +0100 (CET) To: Dave Astolfo , Chameleon@lists.maptools.org Subject: Re: [Chameleon] Chameleon 1.1 Alpha Reply-To: bartvde@xs4all.nl References: <003d01c3e692$ea5f6580$3402a8c0@DGG> Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Thu, 29 Jan 2004 19:31:46 +0100 In-Reply-To: <003d01c3e692$ea5f6580$3402a8c0@DGG> User-Agent: Opera7.22/Win32 M2 build 3221 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Dave, Chameleon 1.1 works differently from Chameleon 1.0. You need to install the sample application instead of running your step 5. There are some posts in the e-mail archive about this as well. Best regards, Bart On Thu, 29 Jan 2004 13:08:30 -0500, Dave Astolfo wrote: > Hi all, > > Has anyone installed Chameleon 1.1 Alpha on an IIS / Windows platform? > I had 1.0.4 working. After setting up 1.1, I get a blank screen when > running step #5 below. Not errors, or warnings. > > My install process was as follows: > > 1) Had 1.0.4 working in xxxxxxxxx/cwc2/ directory > 2) renamed cwc2 to cwc2 1.0.4 > 3) unzipped 1.1 into directory at same location and renamed to cwc2 > 4) IIS did not require any changes as it still looks for the same > directory and the structure (/cwc2/htdocs) is the same. > 5) When trying to run the demo file ( > http://maps.astolfo.com/cwc2/chameleon.php?TEMPLATE=demo.html&CONTEXT=gm > ap_context.xml ) I get a blank screen. > > I tried to create a basic template file with a simple CWC Error widget > and still got a blank screen. confused... > > > Thanks, > > Dave -- From pagameba@magma.ca Thu Jan 29 13:34:03 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0TIY34r031503 for ; Thu, 29 Jan 2004 13:34:03 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i0TIY1n5003216; Thu, 29 Jan 2004 13:34:01 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i0TIXsNd001477; Thu, 29 Jan 2004 13:34:00 -0500 Message-ID: <4019520F.80904@magma.ca> Date: Thu, 29 Jan 2004 13:33:51 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rene Teniere CC: spencer@dmsolutions.ca, chameleon@lists.maptools.org Subject: Re: [Chameleon] Item Query References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Rene, from the PHP mapscript documentation: shapefileObj ms_newShapefileObj(string filename, int type) Opens a shapefile and returns a new object to deal with it. Filename should be passed with no extension. To create a new file (or overwrite an existing one), type should be one of MS_SHP_POINT, MS_SHP_ARC, MS_SHP_POLYGON or MS_SHP_MULTIPOINT. Pass type as -1 to open an existing file for read-only access, and type=-2 to open an existing file for update (append). passing MS_SHP_POLYGON is causing the problem (sorry, I didn't refresh my memory when I wrote it), pass -1 instead of MS_SHP_POLYGON Cheers, Paul Rene Teniere wrote: > Hi Paul, > > The code is very logical and makes sense, it will cycle through the > database and make the match, however, I think there is something wrong > with having ms_newShapeFileObj(), It is overwriting my original > shapefile with a new one, because there are no shapes in it. The > numshapes count is 0. Should I be using getShape() instead?? > > Here is the PHP code: > > Rene > > $szPMS = ""; > if (isset($this->moURLArray["PMS"])) > $szPMS = $this->moURLArray["PMS"]; > > if ($szPMS > 0 && is_numeric($szPMS)) > { > $hDB = dbase_open('d:/gis_data/juan/juan_indx.dbf',0); > $nRecs = dbase_numrecords($hDB); > > error_log("Number of Records: ".$nRecs); > > $nIndex = -1; //-1 means not found > for ($i=0; $i<=$nRecs; $i++) > { > $aRec = dbase_get_record_with_names($hDB,$i); > $aResult = $aRec['MAPSHEET']; > > error_log("Search criteria: ".$szPMS); > error_log("Line ".$i." of text from the Database: > ".$aResult); > > if (strcasecmp($aResult,$szPMS) == 0) > { > //Found a match > $nIndex = $i; > error_log("Match Found, Index: ".$nIndex); > break; > } > } > dbase_close($hDB); > if($nIndex>=0) > { > //Open the shapefile > $oShapeFile = > ms_newShapeFileObj('d:/gis_data/juan/juan_indx.shp',MS_SHP_POLYGON); > $nShapes = $oShapeFile->numshapes; > Error_Log("Number of shapes: ".$nShapes); > if($nShapes < $nIndex) > { > //Not enough shapes > Error_Log("Not Enough Shapes in ".$oShapeFile); > } > else > { > $oRect=$oShapeFile->getExtent($nIndex); > $myMinX = $oRect->minx; > $myMinY = $oRect->miny; > $myMaxX = $oRect->maxx; > $myMaxY = $oRect->maxy; > Error_Log("Min X: ".$myMinX); > Error_Log("Min Y: ".$myMinY); > Error_Log("Max X: ".$myMaxX); > Error_Log("Max Y: ".$myMaxY); > $oMap->setExtent($myMinX,$myMinY,$myMaxX,$myMaxY); > } > } > else > { > //Report no records > } > $oShapeFile->free(); > } > > > >>>>pagameba@magma.ca 2004-01-27 11:37:07 PM >>> > > Rene, it is indeed possible but I am not entirely sure that I > understand > exactly what you are trying to accomplish and what your inputs are. > Let > me try to outline what I think you are trying to do and how to solve > the > issue: > > Requirements: > > * you have a shapefile consisting of polygons that define the extents > of > provincial map sheets > * you want the user to be able to enter a mapsheet number and be zoomed > > to that mapsheet's extents > > Unknowns: > > * is the shapefile included in your application? Assume no. > > Approach: > > * using a copy of the LocateWidget with all inputs removed except NTS > MapSheet, and added a Provincial Map Sheet > > You need to locate the code that decides what the user wants to lookup, > > and supply some code to do your lookup. This is some code that looks > roughly right, but I haven't tested it and I don't guarantee that it is > > without typos or erroneous function names, but I think you will get the > > idea. > dl( 'php_dbf.dll' ); > $hDB = dbase_open( 'path-to-shapefile.dbf' ); > $nRecs = dbase_numrecords( $hDB ); > $nIndex = -1; //-1 means not found > for ($i=0; $i<$nRecs; $i++) > { > $aRec = dbase_get_record_with_names( $hDB, $i ); > if (strcasecmp( $aRec['fieldname'], $szUserInput ) == 0) > { > //found a match > $nIndex = $i; > break; > } > } > dbase_close( $hDB ); > > if ($nIndex >= 0) > { > //open shapefile using mapscript > $oShapeFile = ms_newShapeFileObj( 'path-to-shapefile.shp', > MS_SHP_POLYGON ); > if ($oShapeFile->numshapes < $nIndex ) > { > //oops, not enough shapes, error > } > else > { > //get the bounding box of the shape in a RectObj > $oRect = $oShape->getExtent( $nIndex ); > $oMap->setextent( $oRect->minx, $oRect->miny, $oRect->maxx, > $oRect->maxy ); > } > } > else > { > //report no records > } > $oShapeFile->free(); > ?> > > Rene Teniere wrote: > > >>Hi Paul, >> >>That's very similar to what I started off with (only I used the >>LocateWidget and got rid of all the inputs except NTS Map Sheet, and >>added my own - Provincial Map Sheet). The problem comes in that there > > is > >>a polygon index covering the whole province containing cells >>representing specific mapsheets. I have to be able to get chameleon > > to > >>find the mapsheet number within the index shapefile (the MAPSHEET > > item > >>in the index's table) using the user inputted text (essentially an > > item > >>query), then once I have the map object's extents returned, I would > > use > >>the setextent object to see it. Is this at all possible? If I >>misunderstood you, I apologize, however, I don't think I exactly >>explained the situation properly. >> >>Thanks, >> >>Rene >> >> >> >> >> >>>>>pagameba@magma.ca 2004-01-27 2:36:20 PM >>> >> >>Rene, >> >>to do this in Chameleon, you create a new widget from one of the >>existing ones that does something similar. For instance, the Scale >>widget does something similar (it uses an input box to allow the > > user > >>to >>type in a new scale value and then zooms to that scale. You would > > make > >>a copy of this widget and rename stuff appropriately. >> >>Your main work would go in the ParseURL function which is where you >>will >>get the FORM variables that were submitted (Scale is a good example > > of > >>this) and do something with them. In your case, you would use the >>input >>value to lookup the bounding box of a Map sheet and then apply those > > >>extents to the map object using something like >>$this->moMapSession->oMap->setextent( $nMinX, $nMinY, $nMaxX, $nMaxY >>); >> >>That's pretty much it. Note that the Scale widget is just a > > container > >>for the value, you use an UpdateMap widget to actually submit the >>page. >> >>Cheers, >> >>Paul >> >>Rene Teniere wrote: >> >> >> >>>Hi All, >>> >>>Been sitting down here with the office MapServer programmer, looking >> >>to >> >> >>>create an Item Query. This goes back to the message I left yesterday >> >>on >> >> >>>having an input box for the user to input a mapsheet number and >> >>return >> >> >>>the result on the map display. In MapServer, you would just set the >>>variables and send them to MapServer for processing. The question is >> >>how >> >> >>>is this achieved through Chameleon? In fact, how does it talk to >>>mapserver? All we need to do is be able to figure out what variables >> >>to >> >> >>>set, and where to send them. >>> >>>Example: In the bounding box widget, you set the user-defined >> >>bounding >> >> >>>coordinates to the variables and them pass them >>>on:window.opener.applyBoundingBox( nMinX, nMinY, nMaxX, nMaxY ); >>> >>>Is there anything that can help me out on figuring this stuff out? >> >>What >> >> >>>about the utils in htdocs_admin? >>> >>>Any help would be greatly appreciated >>>Rene >>> >>>Rene J.R. Teniere - BSc., D.GIS >>>GIS Technician >>>Nova Scotia Department of Natural Resources >>>Forestry Division (GIS) - Truro >>> >>>Phone: (902) 893-5655 >>>Mobile: (902) 209-8956 >>>_______________________________________________ >>>Chameleon mailing list >>>Chameleon@lists.maptools.org >>>http://lists.maptools.org/mailman/listinfo/chameleon >>> >> >> > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Jan 29 13:42:13 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0TIgD4r031543 for ; Thu, 29 Jan 2004 13:42:13 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i0TIeDq2014869; Thu, 29 Jan 2004 13:40:13 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i0TIeATU012329; Thu, 29 Jan 2004 13:40:13 -0500 Message-ID: <40195386.6000105@magma.ca> Date: Thu, 29 Jan 2004 13:40:06 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dave Astolfo CC: Chameleon@lists.maptools.org Subject: Re: [Chameleon] Chameleon 1.1 Alpha References: <003d01c3e692$ea5f6580$3402a8c0@DGG> In-Reply-To: <003d01c3e692$ea5f6580$3402a8c0@DGG> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Dave, Chameleon 1.1 does not (yet) have a service instance so it does not work like Chameleon 1.0. In Chameleon 1.1, you need to create a small php script that initializes your application. Most of the work is still done by Chameleon, you mostly need to tell it which template and map file to use. You can get the sample application from the chameleon downloads page. The sample application is launched by loading index.phtml. Note there is an error in the sample application (still), you will need to edit hte index.phtml file and move the two lines that say $this->moMapSession = new MapSession_RW; $this->moMapSession->setTempDir( getSessionSavePath()); from the CWCInitializeMap function into the SampleApp function You can then remove the CWCInitializeMap function from the sample Cheers, Paul Dave Astolfo wrote: > Hi all, > > Has anyone installed Chameleon 1.1 Alpha on an IIS / Windows platform? > I had 1.0.4 working. After setting up 1.1, I get a blank screen when > running step #5 below. Not errors, or warnings. > > My install process was as follows: > > 1) Had 1.0.4 working in xxxxxxxxx/cwc2/ directory > 2) renamed cwc2 to cwc2 1.0.4 > 3) unzipped 1.1 into directory at same location and renamed to cwc2 > 4) IIS did not require any changes as it still looks for the same > directory and the structure (/cwc2/htdocs) is the same. > > 5) When trying to run the demo file ( > _http://maps.astolfo.com/cwc2/chameleon.php?TEMPLATE=demo.html&CONTEXT=gmap_context.xml_ > > ) I get a blank screen. > > I tried to create a basic template file with a simple CWC Error widget > and still got a blank screen… confused... > > > Thanks, > > Dave > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From dastolfo1@cogeco.ca Thu Jan 29 17:19:50 2004 Received: from fep3.cogeco.net (smtp.cogeco.net [216.221.81.25]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0TMJo4r032494 for ; Thu, 29 Jan 2004 17:19:50 -0500 Received: from DGG (d141-153-10.home.cgocable.net [24.141.153.10]) by fep3.cogeco.net (Postfix) with ESMTP id 13F0E150B for ; Thu, 29 Jan 2004 17:19:50 -0500 (EST) From: "Dave Astolfo" To: Subject: RE: [Chameleon] Chameleon 1.1 Alpha Date: Thu, 29 Jan 2004 17:19:35 -0500 Message-ID: <009c01c3e6b5$fd205710$3402a8c0@DGG> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <40195386.6000105@magma.ca> Importance: Normal Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Oops.. I have to get my email addresses right... (sent to admin list by accident) For the group: Thanks for the tips Paul and Bart. Paul, I made the changes you suggested in index.phtml and also the following (pointing to my folders on Win 2000): //include( "/ms4w/apps/chameleon/htdocs/chameleon.php" ); include( "c:\mapservertools\cwc2\htdocs\chameleon.php" ); $szTemplate = "sample.html"; //$szMapFile = "/ms4w/apps/chameleon_sample/map/chameleon.map"; $szMapFile = "c:\mapservertools\chameleon_sample\map\chameleon.map"; I feel brainless though... I got it working to the extent where I now see the sample map and all the controls + images (main page). But, when I click on the zoom in/out or pan, the next page gives me a page not found error... The link is: http://maps.astolfo.com/chameleon_demo/ On IIS I have the following virtual directories under maps.astolfo.com /cwc2/ /chameleon_demo/ The above virtual directories are mapped respectively: /mapservertools/cwc2/htdocs/ /mapservertools/chameleon_sample/htdocs/ (should this be called chameleon_demo?) I made the ErrorReport widget visible and it did not return any errors (on the first page). I also tried to enable the JavaScript API (CWCJSAPI). When trying to zoom in JavaScript returned an Oject Expected error. (I know, not much help...) Help! Thanks again, Dave -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Paul Spencer Sent: Thursday, January 29, 2004 1:40 PM To: Dave Astolfo Cc: Chameleon@lists.maptools.org Subject: Re: [Chameleon] Chameleon 1.1 Alpha Dave, Chameleon 1.1 does not (yet) have a service instance so it does not work like Chameleon 1.0. In Chameleon 1.1, you need to create a small php script that initializes your application. Most of the work is still done by Chameleon, you mostly need to tell it which template and map file to use. You can get the sample application from the chameleon downloads page. The sample application is launched by loading index.phtml. Note there is an error in the sample application (still), you will need to edit hte index.phtml file and move the two lines that say $this->moMapSession = new MapSession_RW; $this->moMapSession->setTempDir( getSessionSavePath()); from the CWCInitializeMap function into the SampleApp function You can then remove the CWCInitializeMap function from the sample Cheers, Paul Dave Astolfo wrote: > Hi all, > > Has anyone installed Chameleon 1.1 Alpha on an IIS / Windows platform? > I had 1.0.4 working. After setting up 1.1, I get a blank screen when > running step #5 below. Not errors, or warnings. > > My install process was as follows: > > 1) Had 1.0.4 working in xxxxxxxxx/cwc2/ directory > 2) renamed cwc2 to cwc2 1.0.4 > 3) unzipped 1.1 into directory at same location and renamed to cwc2 > 4) IIS did not require any changes as it still looks for the same > directory and the structure (/cwc2/htdocs) is the same. > > 5) When trying to run the demo file ( > _http://maps.astolfo.com/cwc2/chameleon.php?TEMPLATE=demo.html&CONTEXT > =gmap_context.xml_ > > ) I get a blank screen. > > I tried to create a basic template file with a simple CWC Error widget > and still got a blank screen. confused... > > > Thanks, > > Dave > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From pagameba@magma.ca Thu Jan 29 20:25:37 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0U1Pb4r000716 for ; Thu, 29 Jan 2004 20:25:37 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i0U1PTcf026600; Thu, 29 Jan 2004 20:25:29 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i0U1PLJo007936; Thu, 29 Jan 2004 20:25:29 -0500 Message-ID: <4019B27E.7010701@magma.ca> Date: Thu, 29 Jan 2004 20:25:18 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dave Astolfo CC: Chameleon@lists.maptools.org Subject: Re: [Chameleon] Chameleon 1.1 Alpha References: <009c01c3e6b5$fd205710$3402a8c0@DGG> In-Reply-To: <009c01c3e6b5$fd205710$3402a8c0@DGG> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Dave, this is a bit strange, but I think you have it correct ... except that I think the cwc2 one should be called chameleon unless you edit the configuration file and change it from /chameleon/ to /cwc2/ The chameleon_demo one appears to be right, I don't think the directory name is the problem. Dave Astolfo wrote: > Oops.. I have to get my email addresses right... (sent to admin list by > accident) For the group: > > Thanks for the tips Paul and Bart. > > Paul, I made the changes you suggested in index.phtml and also the > following (pointing to my folders on Win 2000): > //include( "/ms4w/apps/chameleon/htdocs/chameleon.php" ); > include( "c:\mapservertools\cwc2\htdocs\chameleon.php" ); > > $szTemplate = "sample.html"; > //$szMapFile = "/ms4w/apps/chameleon_sample/map/chameleon.map"; > $szMapFile = "c:\mapservertools\chameleon_sample\map\chameleon.map"; > > > I feel brainless though... I got it working to the extent where I now > see the sample map and all the controls + images (main page). But, when > I click on the zoom in/out or pan, the next page gives me a page not > found error... > > The link is: http://maps.astolfo.com/chameleon_demo/ > > On IIS I have the following virtual directories under maps.astolfo.com > > /cwc2/ > /chameleon_demo/ > > The above virtual directories are mapped respectively: > > /mapservertools/cwc2/htdocs/ /mapservertools/chameleon_sample/htdocs/ > (should this be called chameleon_demo?) > > > I made the ErrorReport widget visible and it did not return any errors > (on the first page). I also tried to enable the JavaScript API > (CWCJSAPI). When trying to zoom in JavaScript returned an Oject Expected > error. (I know, not much help...) > > Help! > > Thanks again, > > Dave > > > > -----Original Message----- > From: chameleon-admin@lists.maptools.org > [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Paul Spencer > Sent: Thursday, January 29, 2004 1:40 PM > To: Dave Astolfo > Cc: Chameleon@lists.maptools.org > Subject: Re: [Chameleon] Chameleon 1.1 Alpha > > > Dave, > > Chameleon 1.1 does not (yet) have a service instance so it does not work > > like Chameleon 1.0. In Chameleon 1.1, you need to create a small php > script that initializes your application. Most of the work is still > done by Chameleon, you mostly need to tell it which template and map > file to use. > > You can get the sample application from the chameleon downloads page. > The sample application is launched by loading index.phtml. Note there > is an error in the sample application (still), you will need to edit hte > > index.phtml file and move the two lines that say > > $this->moMapSession = new MapSession_RW; > $this->moMapSession->setTempDir( getSessionSavePath()); > > > from the CWCInitializeMap function into the SampleApp function > > You can then remove the CWCInitializeMap function from the sample > > Cheers, > > Paul > > Dave Astolfo wrote: > > >>Hi all, >> >>Has anyone installed Chameleon 1.1 Alpha on an IIS / Windows platform? > > >>I had 1.0.4 working. After setting up 1.1, I get a blank screen when > > >>running step #5 below. Not errors, or warnings. >> >>My install process was as follows: >> >>1) Had 1.0.4 working in xxxxxxxxx/cwc2/ directory >>2) renamed cwc2 to cwc2 1.0.4 >>3) unzipped 1.1 into directory at same location and renamed to cwc2 >>4) IIS did not require any changes as it still looks for the same >>directory and the structure (/cwc2/htdocs) is the same. >> >>5) When trying to run the demo file ( >>_http://maps.astolfo.com/cwc2/chameleon.php?TEMPLATE=demo.html&CONTEXT >>=gmap_context.xml_ >> > > map_context.xml> > >>) I get a blank screen. >> >>I tried to create a basic template file with a simple CWC Error widget > > >>and still got a blank screen. confused... >> >> >>Thanks, >> >>Dave >> > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Jan 29 20:38:30 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0U1cT4r000771 for ; Thu, 29 Jan 2004 20:38:30 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i0U1cQcf031381; Thu, 29 Jan 2004 20:38:26 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i0U1cLMH009060; Thu, 29 Jan 2004 20:38:26 -0500 Message-ID: <4019B58A.9070400@magma.ca> Date: Thu, 29 Jan 2004 20:38:18 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Chameleon@lists.maptools.org CC: Dave Astolfo Subject: Re: [Chameleon] Chameleon 1.1 Alpha References: <009c01c3e6b5$fd205710$3402a8c0@DGG> <4019B27E.7010701@magma.ca> In-Reply-To: <4019B27E.7010701@magma.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Dave, a colleague has pointed out that there is a problem with IIS, you need to modify the template and set the form action="index.phtml". I guess Apache doesn't mind this but IIS does. Cheers, Paul Paul Spencer wrote: > Dave, this is a bit strange, but I think you have it correct ... except > that I think the cwc2 one should be called chameleon unless you edit the > configuration file and change it from /chameleon/ to /cwc2/ > > The chameleon_demo one appears to be right, I don't think the directory > name is the problem. > > Dave Astolfo wrote: > >> Oops.. I have to get my email addresses right... (sent to admin list by >> accident) For the group: >> Thanks for the tips Paul and Bart. >> Paul, I made the changes you suggested in index.phtml and also the >> following (pointing to my folders on Win 2000): //include( >> "/ms4w/apps/chameleon/htdocs/chameleon.php" ); include( >> "c:\mapservertools\cwc2\htdocs\chameleon.php" ); >> >> $szTemplate = "sample.html"; >> //$szMapFile = "/ms4w/apps/chameleon_sample/map/chameleon.map"; >> $szMapFile = "c:\mapservertools\chameleon_sample\map\chameleon.map"; >> >> >> I feel brainless though... I got it working to the extent where I now >> see the sample map and all the controls + images (main page). But, >> when I click on the zoom in/out or pan, the next page gives me a page not >> found error... >> The link is: http://maps.astolfo.com/chameleon_demo/ >> >> On IIS I have the following virtual directories under maps.astolfo.com >> >> /cwc2/ >> /chameleon_demo/ >> >> The above virtual directories are mapped respectively: >> >> /mapservertools/cwc2/htdocs/ /mapservertools/chameleon_sample/htdocs/ >> (should this be called chameleon_demo?) >> >> >> I made the ErrorReport widget visible and it did not return any errors >> (on the first page). I also tried to enable the JavaScript API >> (CWCJSAPI). When trying to zoom in JavaScript returned an Oject Expected >> error. (I know, not much help...) >> >> Help! >> >> Thanks again, >> >> Dave >> >> >> >> -----Original Message----- >> From: chameleon-admin@lists.maptools.org >> [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Paul Spencer >> Sent: Thursday, January 29, 2004 1:40 PM >> To: Dave Astolfo >> Cc: Chameleon@lists.maptools.org >> Subject: Re: [Chameleon] Chameleon 1.1 Alpha >> >> >> Dave, >> >> Chameleon 1.1 does not (yet) have a service instance so it does not work >> >> like Chameleon 1.0. In Chameleon 1.1, you need to create a small php >> script that initializes your application. Most of the work is still >> done by Chameleon, you mostly need to tell it which template and map >> file to use. >> >> You can get the sample application from the chameleon downloads page. >> The sample application is launched by loading index.phtml. Note there >> is an error in the sample application (still), you will need to edit hte >> >> index.phtml file and move the two lines that say >> >> $this->moMapSession = new MapSession_RW; >> $this->moMapSession->setTempDir( getSessionSavePath()); >> >> >> from the CWCInitializeMap function into the SampleApp function >> >> You can then remove the CWCInitializeMap function from the sample >> >> Cheers, >> >> Paul >> >> Dave Astolfo wrote: >> >> >>> Hi all, >>> >>> Has anyone installed Chameleon 1.1 Alpha on an IIS / Windows platform? >> >> >> >>> I had 1.0.4 working. After setting up 1.1, I get a blank screen when >> >> >> >>> running step #5 below. Not errors, or warnings. >>> >>> My install process was as follows: >>> >>> 1) Had 1.0.4 working in xxxxxxxxx/cwc2/ directory >>> 2) renamed cwc2 to cwc2 1.0.4 >>> 3) unzipped 1.1 into directory at same location and renamed to cwc2 >>> 4) IIS did not require any changes as it still looks for the same >>> directory and the structure (/cwc2/htdocs) is the same. >>> >>> 5) When trying to run the demo file ( >>> _http://maps.astolfo.com/cwc2/chameleon.php?TEMPLATE=demo.html&CONTEXT >>> =gmap_context.xml_ >>> >> >> > map_context.xml> >> >>> ) I get a blank screen. >>> >>> I tried to create a basic template file with a simple CWC Error widget >> >> >> >>> and still got a blank screen. confused... >>> >>> >>> Thanks, >>> >>> Dave >>> >> >> > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From griffin@watersheds.ca Fri Jan 30 08:18:44 2004 Received: from mail.storm.ca (mail.storm.ca [209.87.239.66]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0UDIh4r003949 for ; Fri, 30 Jan 2004 08:18:43 -0500 Received: from 192.168.0.130 (dp-216-106-105-37.storm.ca [216.106.105.37]) by mail.storm.ca (8.11.7+Sun/8.11.7) with ESMTP id i0UDIep16126 for ; Fri, 30 Jan 2004 08:18:40 -0500 (EST) From: Aaron Griffin Reply-To: griffin@watersheds.ca To: chameleon@lists.maptools.org Content-Type: text/plain Organization: GNU Linux Message-Id: <1075425423.2544.3.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4-8mdk Date: Thu, 29 Jan 2004 20:17:03 -0500 Content-Transfer-Encoding: 7bit Subject: [Chameleon] Configuring Apache 2 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I am trying to configure apache to be able to access the cwc2 folder on my computer, but i don't seem to be able to to it. I am running windows 2000 and mandrake 9.2 i need to configure it on both systems. Has anyone done this recently and can tell me how to do this for one or both operating systems. Aaron Griffin Centre for Sustainable Watersheds From dastolfo1@cogeco.ca Fri Jan 30 09:09:24 2004 Received: from fep1.cogeco.net (smtp.cogeco.net [216.221.81.25]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0UE9O4r004465 for ; Fri, 30 Jan 2004 09:09:24 -0500 Received: from DGG (d141-153-10.home.cgocable.net [24.141.153.10]) by fep1.cogeco.net (Postfix) with ESMTP id 3D048D8B4 for ; Fri, 30 Jan 2004 09:09:20 -0500 (EST) From: "Dave Astolfo" To: Subject: RE: [Chameleon] Chameleon 1.1 Alpha Date: Fri, 30 Jan 2004 09:09:05 -0500 Message-ID: <002301c3e73a$a21af160$3402a8c0@DGG> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <4019B58A.9070400@magma.ca> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Paul. That did the trick. Thanks. Now on to getting the XML theme legend figured out... Dave -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: Thursday, January 29, 2004 8:38 PM To: Chameleon@lists.maptools.org Cc: Dave Astolfo Subject: Re: [Chameleon] Chameleon 1.1 Alpha Dave, a colleague has pointed out that there is a problem with IIS, you need to modify the template and set the form action="index.phtml". I guess Apache doesn't mind this but IIS does. Cheers, Paul Paul Spencer wrote: > Dave, this is a bit strange, but I think you have it correct ... > except > that I think the cwc2 one should be called chameleon unless you edit the > configuration file and change it from /chameleon/ to /cwc2/ > > The chameleon_demo one appears to be right, I don't think the > directory > name is the problem. > > Dave Astolfo wrote: > >> Oops.. I have to get my email addresses right... (sent to admin list >> by >> accident) For the group: >> Thanks for the tips Paul and Bart. >> Paul, I made the changes you suggested in index.phtml and also the >> following (pointing to my folders on Win 2000): //include( >> "/ms4w/apps/chameleon/htdocs/chameleon.php" ); include( >> "c:\mapservertools\cwc2\htdocs\chameleon.php" ); >> >> $szTemplate = "sample.html"; >> //$szMapFile = "/ms4w/apps/chameleon_sample/map/chameleon.map"; >> $szMapFile = "c:\mapservertools\chameleon_sample\map\chameleon.map"; >> >> >> I feel brainless though... I got it working to the extent where I >> now see the sample map and all the controls + images (main page). >> But, when I click on the zoom in/out or pan, the next page gives me a >> page not found error... The link is: >> http://maps.astolfo.com/chameleon_demo/ >> >> On IIS I have the following virtual directories under >> maps.astolfo.com >> >> /cwc2/ >> /chameleon_demo/ >> >> The above virtual directories are mapped respectively: >> >> /mapservertools/cwc2/htdocs/ /mapservertools/chameleon_sample/htdocs/ >> (should this be called chameleon_demo?) >> >> >> I made the ErrorReport widget visible and it did not return any errors >> (on the first page). I also tried to enable the JavaScript API >> (CWCJSAPI). When trying to zoom in JavaScript returned an Oject >> Expected error. (I know, not much help...) >> >> Help! >> >> Thanks again, >> >> Dave >> >> >> >> -----Original Message----- >> From: chameleon-admin@lists.maptools.org >> [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Paul Spencer >> Sent: Thursday, January 29, 2004 1:40 PM >> To: Dave Astolfo >> Cc: Chameleon@lists.maptools.org >> Subject: Re: [Chameleon] Chameleon 1.1 Alpha >> >> >> Dave, >> >> Chameleon 1.1 does not (yet) have a service instance so it does not >> work >> >> like Chameleon 1.0. In Chameleon 1.1, you need to create a small php >> script that initializes your application. Most of the work is still >> done by Chameleon, you mostly need to tell it which template and map >> file to use. >> >> You can get the sample application from the chameleon downloads page. >> The sample application is launched by loading index.phtml. Note there >> is an error in the sample application (still), you will need to edit hte >> >> index.phtml file and move the two lines that say >> >> $this->moMapSession = new MapSession_RW; >> $this->moMapSession->setTempDir( getSessionSavePath()); >> >> >> from the CWCInitializeMap function into the SampleApp function >> >> You can then remove the CWCInitializeMap function from the sample >> >> Cheers, >> >> Paul >> >> Dave Astolfo wrote: >> >> >>> Hi all, >>> >>> Has anyone installed Chameleon 1.1 Alpha on an IIS / Windows >>> platform? >> >> >> >>> I had 1.0.4 working. After setting up 1.1, I get a blank screen when >> >> >> >>> running step #5 below. Not errors, or warnings. >>> >>> My install process was as follows: >>> >>> 1) Had 1.0.4 working in xxxxxxxxx/cwc2/ directory >>> 2) renamed cwc2 to cwc2 1.0.4 >>> 3) unzipped 1.1 into directory at same location and renamed to cwc2 >>> 4) IIS did not require any changes as it still looks for the same >>> directory and the structure (/cwc2/htdocs) is the same. >>> >>> 5) When trying to run the demo file ( >>> _http://maps.astolfo.com/cwc2/chameleon.php?TEMPLATE=demo.html&CONTEXT >>> =gmap_context.xml_ >>> >> >> > T=g >> map_context.xml> >> >>> ) I get a blank screen. >>> >>> I tried to create a basic template file with a simple CWC Error >>> widget >> >> >> >>> and still got a blank screen. confused... >>> >>> >>> Thanks, >>> >>> Dave >>> >> >> > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From TENIERER@gov.ns.ca Fri Jan 30 10:39:43 2004 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i0UFdT4r004929 for ; Fri, 30 Jan 2004 10:39:42 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Fri, 30 Jan 2004 11:31:54 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Fri, 30 Jan 2004 11:31:54 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Fri, 30 Jan 2004 11:31:50 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Fri, 30 Jan 2004 11:31:40 -0400 From: "Rene Teniere " To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Guinevere: 2.0.13 ; Province of Nova Sco Subject: [Chameleon] Scalebar problem for PrintWidget Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi All, For those of you who have been having problems with the scalebar in the PrintWidget causing an error when trying to print a map, or download it, here is a temporary fix: In preview.php, find this line: $oImage->pasteImage( $oScalebarImage, 0xffffff, $nX, $nY); And change it to: $oImage->pasteImage( $oScalebarImage, -1, $nX, $nY); Hope this helps. Rene Rene J.R. Teniere - BSc., D.GIS GIS Technician Nova Scotia Department of Natural Resources Forestry Division (GIS) - Truro Phone: (902) 893-5655 Mobile: (902) 209-8956 From delfos18@yahoo.com Sun Feb 1 20:48:28 2004 Received: from web12108.mail.yahoo.com (web12108.mail.yahoo.com [216.136.172.28]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i121mR4r024116 for ; Sun, 1 Feb 2004 20:48:28 -0500 Message-ID: <20040202014811.4406.qmail@web12108.mail.yahoo.com> Received: from [202.139.2.65] by web12108.mail.yahoo.com via HTTP; Sun, 01 Feb 2004 17:48:11 PST Date: Sun, 1 Feb 2004 17:48:11 -0800 (PST) From: "J. Delfos" Reply-To: delfos18@yahoo.com Subject: Re: [Chameleon] Configuring Apache 2 To: griffin@watersheds.ca, chameleon@lists.maptools.org In-Reply-To: <1075425423.2544.3.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Aaron, These are the lines I added into my configuration file (httpd.conf): -------------------------------------------------------- AllowOverride None Options Indexes MultiViews Order allow,deny Allow from all Alias "/cwc2/" "c:/cwc2/htdocs/" Alias "/cwc2" "c:/cwc2/htdocs/" --------------------------------------------------------- This works for me, in Windows 2000. I think you may only need the last two lines. Surprisingly, I didn't have to use scriptalias. For LINUX, the syntax will be the same, but of course you'd have to change the paths. Of course you also have to add the PHP support, and the lines in your httpd.conf file for that. regards, Jacob --- Aaron Griffin wrote: > I am trying to configure apache to be able to access the cwc2 folder on > my computer, but i don't seem to be able to to it. I am running windows > 2000 and mandrake 9.2 i need to configure it on both systems. Has > anyone done this recently and can tell me how to do this for one or both > operating systems. > > Aaron Griffin > Centre for Sustainable Watersheds > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From pagameba@magma.ca Sun Feb 1 23:15:45 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i124Fc4r024693 for ; Sun, 1 Feb 2004 23:15:43 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i124FYPu012496; Sun, 1 Feb 2004 23:15:34 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i124FVwk030183; Sun, 1 Feb 2004 23:15:34 -0500 Message-ID: <401DCEDD.7010601@magma.ca> Date: Sun, 01 Feb 2004 23:15:25 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: delfos18@yahoo.com CC: griffin@watersheds.ca, chameleon@lists.maptools.org Subject: Re: [Chameleon] Configuring Apache 2 References: <20040202014811.4406.qmail@web12108.mail.yahoo.com> In-Reply-To: <20040202014811.4406.qmail@web12108.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Quick note, there is a gotcha with apache: if you include a trailing / in the alias, then you must include the trailing / in the directory. And you must add the trailing / when entering the URL. For instance, http://localhost/cwc2 will not work if you include the trailing slash in the alias. I am not sure what happens if you do not include the trailing slash in the alias but DO include it in the directory (as indicated below) ... I would expect that it would work :) Jacob, why did you add a directory for c:/cwc2/data? Is there something in this directory that needs to be web-accessible? If there is then it is a bug because only the htdocs (and htdocs_admin) should *have* to be web-accessible. Cheers, Paul J. Delfos wrote: > Aaron, > > These are the lines I added into my configuration file (httpd.conf): > > -------------------------------------------------------- > > AllowOverride None > Options Indexes MultiViews > Order allow,deny > Allow from all > > > > Alias "/cwc2/" "c:/cwc2/htdocs/" > Alias "/cwc2" "c:/cwc2/htdocs/" > --------------------------------------------------------- > > This works for me, in Windows 2000. I think you may only need the last two > lines. Surprisingly, I didn't have to use scriptalias. For LINUX, the > syntax will be the same, but of course you'd have to change the paths. Of > course you also have to add the PHP support, and the lines in your > httpd.conf file for that. > > regards, > > Jacob > > > > --- Aaron Griffin wrote: > >>I am trying to configure apache to be able to access the cwc2 folder on >>my computer, but i don't seem to be able to to it. I am running windows >>2000 and mandrake 9.2 i need to configure it on both systems. Has >>anyone done this recently and can tell me how to do this for one or both >>operating systems. >> >>Aaron Griffin >>Centre for Sustainable Watersheds >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon > > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free web site building tool. Try it! > http://webhosting.yahoo.com/ps/sb/ > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From delfos18@yahoo.com Mon Feb 2 00:11:53 2004 Received: from web12106.mail.yahoo.com (web12106.mail.yahoo.com [216.136.172.26]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i125Bq4r024880 for ; Mon, 2 Feb 2004 00:11:53 -0500 Message-ID: <20040202051152.64539.qmail@web12106.mail.yahoo.com> Received: from [202.139.2.65] by web12106.mail.yahoo.com via HTTP; Sun, 01 Feb 2004 21:11:52 PST Date: Sun, 1 Feb 2004 21:11:52 -0800 (PST) From: "J. Delfos" Reply-To: delfos18@yahoo.com Subject: Re: [Chameleon] Configuring Apache 2 To: spencer@dmsolutions.ca Cc: griffin@watersheds.ca, chameleon@lists.maptools.org In-Reply-To: <401DCEDD.7010601@magma.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Regarding the trailing / : I think the way I wrote down the alias, it should be solved by the way I wrote it, using two aliases (one with, one without, both leading to cwc2/htdocs/). At least, I haven't had any problems. About the data directory: You're right, that directory statement does not have to be there. I think it's a relic from when I tried to get one of the demo's to work, and I included it without thinking. regards, Jacob --- Paul Spencer wrote: > Quick note, there is a gotcha with apache: > > if you include a trailing / in the alias, then you must include the > trailing / in the directory. And you must add the trailing / when > entering the URL. For instance, http://localhost/cwc2 will not work if > you include the trailing slash in the alias. > > I am not sure what happens if you do not include the trailing slash in > the alias but DO include it in the directory (as indicated below) ... I > would expect that it would work :) > > Jacob, why did you add a directory for c:/cwc2/data? Is there something > > in this directory that needs to be web-accessible? If there is then it > is a bug because only the htdocs (and htdocs_admin) should *have* to be > web-accessible. > > Cheers, > > Paul > > J. Delfos wrote: > > > Aaron, > > > > These are the lines I added into my configuration file (httpd.conf): > > > > -------------------------------------------------------- > > > > AllowOverride None > > Options Indexes MultiViews > > Order allow,deny > > Allow from all > > > > > > > > Alias "/cwc2/" "c:/cwc2/htdocs/" > > Alias "/cwc2" "c:/cwc2/htdocs/" > > --------------------------------------------------------- > > > > This works for me, in Windows 2000. I think you may only need the last > two > > lines. Surprisingly, I didn't have to use scriptalias. For LINUX, the > > syntax will be the same, but of course you'd have to change the paths. > Of > > course you also have to add the PHP support, and the lines in your > > httpd.conf file for that. > > > > regards, > > > > Jacob > > > > > > > > --- Aaron Griffin wrote: > > > >>I am trying to configure apache to be able to access the cwc2 folder > on > >>my computer, but i don't seem to be able to to it. I am running > windows > >>2000 and mandrake 9.2 i need to configure it on both systems. Has > >>anyone done this recently and can tell me how to do this for one or > both > >>operating systems. > >> > >>Aaron Griffin > >>Centre for Sustainable Watersheds > >> > >>_______________________________________________ > >>Chameleon mailing list > >>Chameleon@lists.maptools.org > >>http://lists.maptools.org/mailman/listinfo/chameleon > > > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! SiteBuilder - Free web site building tool. Try it! > > http://webhosting.yahoo.com/ps/sb/ > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > http://lists.maptools.org/mailman/listinfo/chameleon > > > > -- > ----------------------------------------------------------------- > |Paul Spencer spencer@dmsolutions.ca | > |-----------------------------------------------------------------| > |Applications & Software Development | > |DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From TENIERER@gov.ns.ca Mon Feb 2 08:11:46 2004 Received: from xmail1.gov.ns.ca ([198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i12DBi4r027011 for ; Mon, 2 Feb 2004 08:11:45 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 2 Feb 2004 09:11:34 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 2 Feb 2004 09:11:34 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Mon, 02 Feb 2004 09:11:25 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Mon, 02 Feb 2004 09:11:17 -0400 From: "Rene Teniere " To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Guinevere: 2.0.13 ; Province of Nova Sco Subject: [Chameleon] SQL and Tables Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi All, Question: When using the SQL and Table widgets, can those be embedded within the PHP code of a custom widget? Reason being that I am creating a query widget that filters out data from a DBF and publishes the resultant data as a table for the user. The above widgets seem to be the way to go, however, just wanting to know if this can all be done in one shot through my new widget. I.E. enter the UID# and all the results should come up in table form automatically. Thanks, Rene Rene J.R. Teniere - BSc., D.GIS GIS Technician Nova Scotia Department of Natural Resources Forestry Division (GIS) - Truro Phone: (902) 893-5655 Mobile: (902) 209-8956 From sfournier@dmsolutions.ca Mon Feb 2 08:36:38 2004 Received: from xcalibur.dmsolutions.ca (www2.dmsolutions.ca [209.217.116.146]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i12Dac4r027090 for ; Mon, 2 Feb 2004 08:36:38 -0500 Received: from dmsolutions.ca ([10.1.0.2]) by xcalibur.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id i12DaaA21446; Mon, 2 Feb 2004 08:36:36 -0500 Message-ID: <401E5264.4020608@dmsolutions.ca> Date: Mon, 02 Feb 2004 08:36:36 -0500 From: Sacha Fournier Reply-To: sfournier@dmsolutions.ca Organization: DM Solutions Group User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en, fr-ca MIME-Version: 1.0 To: Rene Teniere CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] SQL and Tables References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, Sure it can be done. There's many way to do this. First you can make your new widget inherit from Table widget and add a class member of type SQLQuery widget and make sure to set all attributes of SQLQuery widget based on the UID (Please note that current SQLQuery widget don't support DBF yet). Your SQLQuery widget will put the result in a shared resource. Make sure your shared resource is set to the same in both SQLQuery Widget and you new widget. An other way, you can create a widget that inherit from the base widget and add Table and SQLQuery widget as class member. This way, the user don't have any control on the way the table is displayed (hard coded in you code). It's basicly how to do it. Rene Teniere wrote: > Hi All, > > Question: When using the SQL and Table widgets, can those be embedded > within the PHP code of a custom widget? Reason being that I am creating > a query widget that filters out data from a DBF and publishes the > resultant data as a table for the user. The above widgets seem to be the > way to go, however, just wanting to know if this can all be done in one > shot through my new widget. I.E. enter the UID# and all the results > should come up in table form automatically. > > Thanks, > > Rene > > Rene J.R. Teniere - BSc., D.GIS > GIS Technician > Nova Scotia Department of Natural Resources > Forestry Division (GIS) - Truro > > Phone: (902) 893-5655 > Mobile: (902) 209-8956 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- Sacha Fournier Applications Developer DM Solutions Group tel: 418.696.5056 fax: 418.696.5056 http://www.dmsolutions.ca mailto://sfournier@dmsolutions.ca -- ------------------------------------------------- /"\ ASCII Ribbon Campaign against HTML \ / email and proprietary format X attachments. / \ ------------------------------------------------- From pagameba@magma.ca Mon Feb 2 08:44:20 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i12DiK4r027127 for ; Mon, 2 Feb 2004 08:44:20 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i12DiJt0024650; Mon, 2 Feb 2004 08:44:20 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i12Di8u6025892; Mon, 2 Feb 2004 08:44:19 -0500 Message-ID: <401E5422.3070803@magma.ca> Date: Mon, 02 Feb 2004 08:44:02 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: chwest@pfc.cfs.nrcan.gc.ca, "chameleon@lists.maptools.org" References: 1075512713.12172_0.in2 <200401312136.i0VLaKlx021405@webmail2.magma.ca> In-Reply-To: <200401312136.i0VLaKlx021405@webmail2.magma.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Chameleon] Re: Fwd: Problems installing Chameleon on Linux Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Chris, couple of admin items ... you'll get better response if you email the chameleon users list (chameleon@lists.maptools.org) but you will have to join the list first. It's not high traffic (yet). Also, please post to the list using text email (not HTML) if at all possible. The installation instructions are for version 1.0 and are currently the only ones available. As to version, the current stable version is 1.0.6 and the current development version is 1.1 (soon to be 1.99). The development version is currently undergoing 'stabilization' of its API and will be starting into a beta release by the end of February with a target for releasing 1.99 (or at least a release candidate) by end March. That being said, much of 1.1 is pretty much useable as is, we have used it on a number of projects with great success. Once 1.99 is out, we will wind down support for 1.0 as quickly as we can move everyone to 1.99 because it offers greater functionality and performance than 1.0 is able to. If you are trying to get a production application out the door by end March then I would recommend starting with 1.0 as long as you are prepared to migrate in the summer. If you are looking for something after March 31st, then I would recommend getting started with 1.1 right now. Regarding installation difficulties, please let me know what, specifically, seems to be the problem and what you have done. Cheers, Paul >>Hi, >> >>I work for Brian Low in the NFIS group at the Pacific Forestry Centre = >>in >>Victoria BC. We've been attempting to install Chameleon on our Linux >>distribution, and we haven't managed to get it to work yet.=20 >> >>We are using Mapserver version 4.01 with Red Hat Linux version 7.3. = >>Which >>version of Chameleon or cwc2 would you recommend installing, and are = >>there >>any additional install documents other than these >>( > href='http://www.maptools.org/chameleon/index.phtml?page=3Dcwc2_linux.txt'>http://www.maptools.org/chameleon/index.phtml?page=3Dcwc2_linux.txt > >>< > href='http://www.maptools.org/chameleon/index.phtml?page=3Dcwc2_linux.txt>'>http://www.maptools.org/chameleon/index.phtml?page=3Dcwc2_linux.txt> > = > >>)? >> >>Thanks for your time >> >>Chris >> >>Chris West=20 >> =20 >>Natural Resources Canada, Ressources naturelles Canada =20 >>Canadian Forest Service, Service Canadien des for=EAts =20 >>Pacific Forestry Centre, Centre de foresterie du Pacifique >>506 West Burnside Road, 506, chemin Burnside ouest =20 >>Victoria, BC Victoria, (C.-B.), =20 >>CANADA V8Z 1M5 CANADA V8Z 1M5 =20 >> =20 >>Tel: (250) 363-3212 Facs: (250) 363-0775 >> >> >>------_=_NextPart_001_01C3E6CA.6E9A37EE >>Content-Type: text/html; >> charset="iso-8859-1" >>Content-Transfer-Encoding: quoted-printable >> >> >> >> >>>charset=3Diso-8859-1"> >>>5.5.2655.35"> >>Problems installing Chameleon on Linux >> >> >> >>

Hi, >>

>> >>

I work for Brian Low in the NFIS group = >>at the Pacific Forestry Centre in Victoria BC. We've been attempting to = >>install Chameleon on our Linux distribution, and we haven't managed to = >>get it to work yet.

>> >>

We are using Mapserver version 4.01 = >>with Red Hat Linux version 7.3. Which version of Chameleon or cwc2 = >>would you recommend installing, and are there any additional install = >>documents other than these (>HREF=3D" > href='http://www.maptools.org/chameleon/index.phtml?page=3Dcwc2_linux.='>http://www.maptools.org/chameleon/index.phtml?page=3Dcwc2_linux.= > >>txt">>FACE=3D"Arial"> > href='http://www.maptools.org/chameleon/index.phtml?page=3Dcwc2='>http://www.maptools.org/chameleon/index.phtml?page=3Dcwc2= > >>_linux.txt)?

>> >>

Thanks for your time >>

>> >>

Chris >>

>> >>

Chris = >>West>New">=20 >>
>New">           &= >>nbsp;           &= >>nbsp;           &= >>nbsp;           &= >>nbsp;           = >> >>
Natural = >>Resources Canada>New">, = >>Ressources naturelles Canada     >>
Canadian = >>Forest Service>New">,>New">  Service Canadien des for=EAts      = >> >>
Pacific = >>Forestry Centre>New">,>New">  Centre de foresterie du Pacifique >>
506 West = >>Burnside Road>New">,>New">   506, chemin Burnside = >>ouest       >>
Victoria, = >>BC           &nbs= >>p;  Victoria, = >>(C.-B.),          &nbs= >>p;    >>
CANADA V8Z = >>1M5            = >>CANADA V8Z 1M5      >>
>New">           &= >>nbsp; >>
Tel: (250) = >>363-3212       Facs: (250) = >>363-0775 >>

>> >> >> >>------_=_NextPart_001_01C3E6CA.6E9A37EE-- >> >> > > > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From barnes@watersheds.ca Tue Feb 3 11:52:20 2004 Received: from mail.storm.ca (mail.storm.ca [209.87.239.66]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i13GqK4r001156 for ; Tue, 3 Feb 2004 11:52:20 -0500 Received: from bridge (dp-216-106-105-3.storm.ca [216.106.105.3]) by mail.storm.ca (8.11.7+Sun/8.11.7) with ESMTP id i13Gq7p02899 for ; Tue, 3 Feb 2004 11:52:17 -0500 (EST) From: Shawn Barnes Reply-To: barnes@watersheds.ca To: chameleon@lists.maptools.org Content-Type: text/plain Organization: Centre for Sustainable Watersheds Message-Id: <1075827124.3580.24.camel@bridge> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4-8mdk Date: Tue, 03 Feb 2004 11:52:04 -0500 Content-Transfer-Encoding: 7bit Subject: [Chameleon] Install problems 1.1 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I'm having difficulty installing 1.1 i'm using the chameleon sample application, i've edited the index.phtml ------------------------------------------------------------- moMapSession = new MapSession_RW; $this->moMapSession->setTempDir( getSessionSavePath()); } } $oApp = new SampleApp(); $oApp->CWCInitialize( $szTemplate, $szMapFile ); $oApp->CWCExecute(); ?> ------------------------------------------------------------------ cwc2_admin works but, when I point my browser to http://localhost/htdocs/.../index.phtml i just get a blank page. view source shows php, mapserver, mapscript, apache permissions all seem to be fine. I've followed the install problem threads and searched the mailing list archives, I must be missing something...'simple' :) shawn From dastolfo1@cogeco.ca Tue Feb 3 11:58:24 2004 Received: from fep1.cogeco.net (smtp.cogeco.net [216.221.81.25]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i13GwO4r001196 for ; Tue, 3 Feb 2004 11:58:24 -0500 Received: from DGG (d141-153-10.home.cgocable.net [24.141.153.10]) by fep1.cogeco.net (Postfix) with ESMTP id 4ED6189DC; Tue, 3 Feb 2004 11:58:23 -0500 (EST) From: "Dave Astolfo" To: , Subject: RE: [Chameleon] Install problems 1.1 Date: Tue, 3 Feb 2004 11:58:11 -0500 Message-ID: <001601c3ea76$ec03fa30$3402a8c0@DGG> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <1075827124.3580.24.camel@bridge> Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Shawn, I had the same problem. Try this: class SampleApp extends Chameleon { function SampleApp() { $this->moMapSession = new MapSession_RW; $this->moMapSession->setTempDir( getSessionSavePath()); parent::Chameleon(); } // function CWCInitializeMap() // { // $this->moMapSession = new MapSession_RW; // $this->moMapSession->setTempDir( getSessionSavePath()); // parent::CWCInitializeMap(); // } function CWCLoadTemplate($szTemplateName) { $this->mszTemplate = implode("\n", file($szTemplateName)); } } $oApp = new SampleApp(); $oApp->CWCInitialize( $szTemplate, $szMapFile ); $oApp->CWCExecute(); Dave -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Shawn Barnes Sent: Tuesday, February 03, 2004 11:52 AM To: chameleon@lists.maptools.org Subject: [Chameleon] Install problems 1.1 I'm having difficulty installing 1.1 i'm using the chameleon sample application, i've edited the index.phtml ------------------------------------------------------------- moMapSession = new MapSession_RW; $this->moMapSession->setTempDir( getSessionSavePath()); } } $oApp = new SampleApp(); $oApp->CWCInitialize( $szTemplate, $szMapFile ); $oApp->CWCExecute(); ?> ------------------------------------------------------------------ cwc2_admin works but, when I point my browser to http://localhost/htdocs/.../index.phtml i just get a blank page. view source shows php, mapserver, mapscript, apache permissions all seem to be fine. I've followed the install problem threads and searched the mailing list archives, I must be missing something...'simple' :) shawn _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From griffin@watersheds.ca Tue Feb 3 12:01:28 2004 Received: from mail.storm.ca (mail.storm.ca [209.87.239.66]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i13H1J4r001256 for ; Tue, 3 Feb 2004 12:01:25 -0500 Received: from 192.168.0.130 (dp-216-106-105-3.storm.ca [216.106.105.3]) by mail.storm.ca (8.11.7+Sun/8.11.7) with ESMTP id i13H1Fp04023 for ; Tue, 3 Feb 2004 12:01:15 -0500 (EST) From: Aaron Griffin Reply-To: griffin@watersheds.ca To: "chameleon@lists.maptools.org" Content-Type: text/plain Organization: GNU Linux Message-Id: <1075809637.2522.3.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4-8mdk Date: Tue, 03 Feb 2004 12:00:37 +0000 Content-Transfer-Encoding: 7bit Subject: [Chameleon] Service Instance problems Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I am working with chameleon 1.1 on both linux and windows and once everything i installed and we try to test chameleon, all we get is a blank page. An earlier message on the mailing list said about a script to create a service instance. Does anyone have this script? How do i get the Service Instance to work other that through a script? Aaron Griffin Centre for Sustainable Watersheds From dastolfo1@cogeco.ca Tue Feb 3 16:52:12 2004 Received: from fep3.cogeco.net (smtp.cogeco.net [216.221.81.25]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i13Lq64r002306 for ; Tue, 3 Feb 2004 16:52:12 -0500 Received: from DGG (d141-153-10.home.cgocable.net [24.141.153.10]) by fep3.cogeco.net (Postfix) with ESMTP id 0AB994A82 for ; Tue, 3 Feb 2004 16:52:04 -0500 (EST) From: "Dave Astolfo" To: Date: Tue, 3 Feb 2004 16:51:53 -0500 Message-ID: <003901c3ea9f$f2c062e0$3402a8c0@DGG> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <001601c3ea76$ec03fa30$3402a8c0@DGG> Subject: [Chameleon] Problem with CompassPoint Widget Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I am having trouble implementing the compasspoint widget. I am using Chameleon 1.1 Sample code: I have verified that pan_nortwest.gif is in the folder images/ . The error I am getting is: ERROR: Invalid image specified in Icon.php for parent 20 of type CompassPoint. Any ideas? Thanks, Dave From chwest@pfc.cfs.nrcan.gc.ca Mon Feb 2 17:38:11 2004 Received: from s0-ott-xsmtp1.nrn.nrcan.gc.ca (S0-OTT-XSMTP1.NRCan.gc.ca [132.156.36.48]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i12McB4r029109 for ; Mon, 2 Feb 2004 17:38:11 -0500 Received: by s0-ott-xsmtp1.nrcan.gc.ca with Internet Mail Service (5.5.2657.72) id <1F25NJWJ>; Mon, 2 Feb 2004 17:37:29 -0500 Message-ID: From: "West, Chris" To: "'spencer@dmsolutions.ca'" , chameleon@lists.maptools.org Cc: "Morrison, Rick" Date: Mon, 2 Feb 2004 17:37:26 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain Subject: [Chameleon] RE: Fwd: Problems installing Chameleon on Linux Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi again Paul, We've tried installing both 1.1 and 1.0, and have run into problems. We first tried installing 1.1. Due to the way our server is configured, we could not install Chameleon to the root. We updated the config file to accommodate the different install directory. When we tried to run Chameleon, all that was returned was html document with an empty body. We then tried installing 1.0.5 in the same manner. With 1.0.5 we managed to get the html template rendering, but the DHTML map widget, as well as the button widgets didn't display. I I have already done some work with 1.0.5 in the windows environment, and I experienced the same problem installing 1.1 as we had in Linux. Thanks again for your help Paul, Chris -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: Monday, February 02, 2004 5:44 AM To: chwest@pfc.cfs.nrcan.gc.ca; chameleon@lists.maptools.org Subject: Re: Fwd: Problems installing Chameleon on Linux Hi Chris, couple of admin items ... you'll get better response if you email the chameleon users list (chameleon@lists.maptools.org) but you will have to join the list first. It's not high traffic (yet). Also, please post to the list using text email (not HTML) if at all possible. The installation instructions are for version 1.0 and are currently the only ones available. As to version, the current stable version is 1.0.6 and the current development version is 1.1 (soon to be 1.99). The development version is currently undergoing 'stabilization' of its API and will be starting into a beta release by the end of February with a target for releasing 1.99 (or at least a release candidate) by end March. That being said, much of 1.1 is pretty much useable as is, we have used it on a number of projects with great success. Once 1.99 is out, we will wind down support for 1.0 as quickly as we can move everyone to 1.99 because it offers greater functionality and performance than 1.0 is able to. If you are trying to get a production application out the door by end March then I would recommend starting with 1.0 as long as you are prepared to migrate in the summer. If you are looking for something after March 31st, then I would recommend getting started with 1.1 right now. Regarding installation difficulties, please let me know what, specifically, seems to be the problem and what you have done. Cheers, Paul >>Hi, >> >>I work for Brian Low in the NFIS group at the Pacific Forestry Centre >>= in Victoria BC. We've been attempting to install Chameleon on our >>Linux distribution, and we haven't managed to get it to work yet.=20 >> >>We are using Mapserver version 4.01 with Red Hat Linux version 7.3. = >>Which version of Chameleon or cwc2 would you recommend installing, and >>are = there any additional install documents other than these ( > href='http://www.maptools.org/chameleon/index.phtml?page=3Dcwc2_linux. > txt'>http://www.maptools.org/chameleon/index.phtml?page=3Dcwc2_linux.t > xt > >>< > href='http://www.maptools.org/chameleon/index.phtml?page=3Dcwc2_linux. > txt>'>http://www.maptools.org/chameleon/index.phtml?page=3Dcwc2_lin > ux.txt> > = > >>)? >> >>Thanks for your time >> >>Chris >> >>Chris West=20 >> =20 >>Natural Resources Canada, Ressources naturelles Canada =20 >>Canadian Forest Service, Service Canadien des for=EAts =20 >>Pacific Forestry Centre, Centre de foresterie du Pacifique >>506 West Burnside Road, 506, chemin Burnside ouest =20 >>Victoria, BC Victoria, (C.-B.), =20 >>CANADA V8Z 1M5 CANADA V8Z 1M5 =20 >> =20 >>Tel: (250) 363-3212 Facs: (250) 363-0775 >> >> >>------_=_NextPart_001_01C3E6CA.6E9A37EE >>Content-Type: text/html; >> charset="iso-8859-1" >>Content-Transfer-Encoding: quoted-printable >> >> >HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = >>charset=3Diso-8859-1"> >Server version = 5.5.2655.35"> Problems installing Chameleon on >>Linux >> >>

Hi,

>> >>

I work for Brian Low in the NFIS >>group = at the Pacific Forestry Centre in Victoria BC. We've been >>attempting to = install Chameleon on our Linux distribution, and we >>haven't managed to = get it to work yet.

>> >>

We are using Mapserver version 4.01 = >>with Red Hat Linux version 7.3. Which version of Chameleon or cwc2 = >>would you recommend installing, and are there any additional install = >>documents other than these ( > href='http://www.maptools.org/chameleon/index.phtml?page=3Dcwc2_linux. > ='>http://www.maptools.org/chameleon/index.phtml?page=3Dcwc2_linux.= a> > >>txt"> > href='http://www.maptools.org/chameleon/index.phtml?page=3Dcwc2='>http > ://www.maptools.org/chameleon/index.phtml?page=3Dcwc2= > >>_linux.txt)?

>> >>

Thanks for your time

>> >>

Chris

>> >>

Chris = >>West>New">=20
>New">            >>;&= >>nbsp;            >>;&= >>nbsp;            >>;&= >>nbsp;            >>;&= nbsp;           >>=
>New">Natural = Resources Canada>FACE=3D"Courier = New">,>FACE=3D"Courier New"> = Ressources naturelles >>Canada    
>SIZE=3D2 FACE=3D"Courier New">Canadian = Forest Service>COLOR=3D"#FFFFFF" SIZE=3D2 FACE=3D"Courier = New">,>COLOR=3D"#000000" SIZE=3D2 FACE=3D"Courier = New">  Service >>Canadien des for=EAts      = >>
Pacific = >>Forestry Centre>= New">,>New">  Centre de foresterie du Pacifique
>COLOR=3D"#000000" SIZE=3D2 FACE=3D"Courier New">506 West = Burnside >>Road>New">,>New">   506, chemin Burnside = >>ouest      
>COLOR=3D"#000000" SIZE=3D2 FACE=3D"Courier New">Victoria, = >>BC           &n >>bs= >>p;  Victoria, = >>(C.-B.),          &n >>bs= >>p;    >>
CANADA V8Z = >>1M5            >>= CANADA V8Z 1M5     
>COLOR=3D"#000000" SIZE=3D2 FACE=3D"Courier = >>New">            >>;&= >>nbsp; >>
Tel: (250) = >>363-3212       Facs: (250) = >>363-0775

>> >> >> >>------_=_NextPart_001_01C3E6CA.6E9A37EE-- >> >> > > > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From TENIERER@gov.ns.ca Wed Feb 4 07:59:02 2004 Received: from xmail1.gov.ns.ca ([198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i14Cx14r005920 for ; Wed, 4 Feb 2004 07:59:02 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Wed, 4 Feb 2004 08:58:59 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Wed, 4 Feb 2004 08:58:58 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Wed, 04 Feb 2004 08:58:48 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Wed, 04 Feb 2004 08:58:38 -0400 From: "Rene Teniere " To: Cc: Subject: Re: [Chameleon] SQL and Tables Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Guinevere: 2.0.13 ; Province of Nova Sco Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Sacha, Just want to make sure I am about to do this right. I have my new widget created (almost), and am about to implement the sqlquery and table widget functionality. At the end of my wapquery class, would I copy and paste the sqlquery class after it and hard-code all the values like sqlquery, server, database... etc. and then do the same with the table widget? Rene >>> Sacha Fournier 2004-02-02 9:36:36 AM >>> Hi, Sure it can be done. There's many way to do this. First you can make your new widget inherit from Table widget and add a class member of type SQLQuery widget and make sure to set all attributes of SQLQuery widget based on the UID (Please note that current SQLQuery widget don't support DBF yet). Your SQLQuery widget will put the result in a shared resource. Make sure your shared resource is set to the same in both SQLQuery Widget and you new widget. An other way, you can create a widget that inherit from the base widget and add Table and SQLQuery widget as class member. This way, the user don't have any control on the way the table is displayed (hard coded in you code). It's basicly how to do it. Rene Teniere wrote: > Hi All, > > Question: When using the SQL and Table widgets, can those be embedded > within the PHP code of a custom widget? Reason being that I am creating > a query widget that filters out data from a DBF and publishes the > resultant data as a table for the user. The above widgets seem to be the > way to go, however, just wanting to know if this can all be done in one > shot through my new widget. I.E. enter the UID# and all the results > should come up in table form automatically. > > Thanks, > > Rene > > Rene J.R. Teniere - BSc., D.GIS > GIS Technician > Nova Scotia Department of Natural Resources > Forestry Division (GIS) - Truro > > Phone: (902) 893-5655 > Mobile: (902) 209-8956 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- Sacha Fournier Applications Developer DM Solutions Group tel: 418.696.5056 fax: 418.696.5056 http://www.dmsolutions.ca mailto://sfournier@dmsolutions.ca -- ------------------------------------------------- /"\ ASCII Ribbon Campaign against HTML \ / email and proprietary format X attachments. / \ ------------------------------------------------- From dastolfo1@cogeco.ca Wed Feb 4 08:57:56 2004 Received: from fep1.cogeco.net (smtp.cogeco.net [216.221.81.25]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i14Dvu4r006101 for ; Wed, 4 Feb 2004 08:57:56 -0500 Received: from DGG (d141-153-10.home.cgocable.net [24.141.153.10]) by fep1.cogeco.net (Postfix) with ESMTP id 85552667C for ; Wed, 4 Feb 2004 08:57:55 -0500 (EST) From: "Dave Astolfo" To: Subject: RE: [Chameleon] Problem with CompassPoint Widget Date: Wed, 4 Feb 2004 08:57:44 -0500 Message-ID: <000e01c3eb26$e01e1ba0$3302a8c0@DGG> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <003901c3ea9f$f2c062e0$3402a8c0@DGG> Importance: Normal Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Figured it out... Although I am using V 1.1, it appears that the required parameters that are listed on the Widget documentation don't match. Here is what worked (see original msg below for what did not work): Note the variable for IMAGES. In the documentation, it states that you need: IMAGEBASE DIRECTION IMAGEEXTENSION And that combined, these make up the pointer to the image and direction that will be called in code.. Odd.... But it works. Dave -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Dave Astolfo Sent: Tuesday, February 03, 2004 4:52 PM To: chameleon@lists.maptools.org Subject: [Chameleon] Problem with CompassPoint Widget I am having trouble implementing the compasspoint widget. I am using Chameleon 1.1 Sample code: I have verified that pan_nortwest.gif is in the folder images/ . The error I am getting is: ERROR: Invalid image specified in Icon.php for parent 20 of type CompassPoint. Any ideas? Thanks, Dave _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From pagameba@magma.ca Wed Feb 4 09:15:35 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i14EFV4r006175 for ; Wed, 4 Feb 2004 09:15:35 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i14EFROn018553; Wed, 4 Feb 2004 09:15:27 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i14EFPP9025199; Wed, 4 Feb 2004 09:15:27 -0500 Message-ID: <4020FE7C.2080606@magma.ca> Date: Wed, 04 Feb 2004 09:15:24 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dave Astolfo CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Problem with CompassPoint Widget References: <003901c3ea9f$f2c062e0$3402a8c0@DGG> In-Reply-To: <003901c3ea9f$f2c062e0$3402a8c0@DGG> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Dave, sorry, you are a victim of out-of-date documentation. The compasspoint widget attributes have changed to match other widgets. You can replace imageextension and imagebase with just image="images/pan_northwest.gif". This change was made because the other attributes don't really make a lot of sense when looking at the way the rest of the widgets are set up. What was I thinking? ;) Cheers, Paul Dave Astolfo wrote: > I am having trouble implementing the compasspoint widget. I am using > Chameleon 1.1 > > Sample code: > > imagewidth="19" imageextension=".gif" imagebase="images/pan_" > direction="northwest" visible="true" /> > > I have verified that pan_nortwest.gif is in the folder images/ . The > error I am getting is: > > ERROR: Invalid image specified in Icon.php for parent 20 of type > CompassPoint. > > Any ideas? > > Thanks, > > Dave > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Wed Feb 4 09:17:49 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i14EHm4r006194 for ; Wed, 4 Feb 2004 09:17:49 -0500 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i14EHmOn019579; Wed, 4 Feb 2004 09:17:48 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail1.magma.ca (8.12.10/8.12.9) with ESMTP id i14EHjIR026242; Wed, 4 Feb 2004 09:17:48 -0500 Message-ID: <4020FF08.40606@magma.ca> Date: Wed, 04 Feb 2004 09:17:44 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dave Astolfo CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Problem with CompassPoint Widget References: <000e01c3eb26$e01e1ba0$3302a8c0@DGG> In-Reply-To: <000e01c3eb26$e01e1ba0$3302a8c0@DGG> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Sorry, I guess my reply was too late, you figured it out :) For the record, new documentation is on the way! Real soon now :) Paul Dave Astolfo wrote: > Figured it out... Although I am using V 1.1, it appears that the > required parameters that are listed on the Widget documentation don't > match. Here is what worked (see original msg below for what did not > work): > > imagewidth="19" direction="northwest" image="images/pan_1_northwest.png" > visible="true" /> > > Note the variable for IMAGES. In the documentation, it states that you > need: > IMAGEBASE > DIRECTION > IMAGEEXTENSION > And that combined, these make up the pointer to the image and direction > that will be called in code.. Odd.... But it works. > > Dave > > -----Original Message----- > From: chameleon-admin@lists.maptools.org > [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Dave Astolfo > Sent: Tuesday, February 03, 2004 4:52 PM > To: chameleon@lists.maptools.org > Subject: [Chameleon] Problem with CompassPoint Widget > > > I am having trouble implementing the compasspoint widget. I am using > Chameleon 1.1 > > Sample code: > > imagewidth="19" imageextension=".gif" imagebase="images/pan_" > direction="northwest" visible="true" /> > > I have verified that pan_nortwest.gif is in the folder images/ . The > error I am getting is: > > ERROR: Invalid image specified in Icon.php for parent 20 of type > CompassPoint. > > Any ideas? > > Thanks, > > Dave > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From dastolfo1@cogeco.ca Wed Feb 4 09:36:35 2004 Received: from fep2.cogeco.net (smtp.cogeco.net [216.221.81.25]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i14EaY4r006260 for ; Wed, 4 Feb 2004 09:36:34 -0500 Received: from DGG (d141-153-10.home.cgocable.net [24.141.153.10]) by fep2.cogeco.net (Postfix) with ESMTP id 42EF12B0F for ; Wed, 4 Feb 2004 09:36:34 -0500 (EST) From: "Dave Astolfo" To: Date: Wed, 4 Feb 2004 09:36:23 -0500 Message-ID: <000f01c3eb2c$46482f10$3302a8c0@DGG> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <4020FF08.40606@magma.ca> Importance: Normal Subject: [Chameleon] XMLThemeLegend continued Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Thanks for the info Paul. Another question for the group: I have managed to make the menu expand / collapse here: http://maps.astolfo.com/chameleon_demo/ The only problem is figuring out how to make it work for multi-tier Legends. Right now, I think the rendering file only supports THEMES/GROUPS. What I was hoping for is support for THEME/GROUP/SUBGROUP/ etc. Like this: ==LEGEND== Top Level --Level 1 -- Level 1.1 ---- Level 1.1.1 --Level 2 -- Level 2.1 Etc... In looking at the widget directory of CWC 1.1, I noticed a JSTreeView widget. Anyone know how to use this? I can't seem to find documentation on it... Thx, Dave -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Paul Spencer Sent: Wednesday, February 04, 2004 9:18 AM To: Dave Astolfo Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Problem with CompassPoint Widget Sorry, I guess my reply was too late, you figured it out :) For the record, new documentation is on the way! Real soon now :) Paul Dave Astolfo wrote: > Figured it out... Although I am using V 1.1, it appears that the > required parameters that are listed on the Widget documentation don't > match. Here is what worked (see original msg below for what did not > work): > > imagewidth="19" direction="northwest" > image="images/pan_1_northwest.png" > visible="true" /> > > Note the variable for IMAGES. In the documentation, it states that you > need: > IMAGEBASE > DIRECTION > IMAGEEXTENSION > And that combined, these make up the pointer to the image and > direction that will be called in code.. Odd.... But it works. > > Dave > > -----Original Message----- > From: chameleon-admin@lists.maptools.org > [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Dave Astolfo > Sent: Tuesday, February 03, 2004 4:52 PM > To: chameleon@lists.maptools.org > Subject: [Chameleon] Problem with CompassPoint Widget > > > I am having trouble implementing the compasspoint widget. I am using > Chameleon 1.1 > > Sample code: > > imagewidth="19" imageextension=".gif" imagebase="images/pan_" > direction="northwest" visible="true" /> > > I have verified that pan_nortwest.gif is in the folder images/ . The > error I am getting is: > > ERROR: Invalid image specified in Icon.php for parent 20 of type > CompassPoint. > > Any ideas? > > Thanks, > > Dave > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From brentw@resorttowork.com Wed Feb 4 14:29:48 2004 Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i14JTmaN007789 for ; Wed, 4 Feb 2004 14:29:48 -0500 Received: from GIS ([24.200.147.78]) by VL-MO-MR004.ip.videotron.ca (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0HSK004J1RHNS6@VL-MO-MR004.ip.videotron.ca> for chameleon@lists.maptools.org; Wed, 04 Feb 2004 14:29:47 -0500 (EST) Date: Wed, 04 Feb 2004 14:29:48 -0500 From: Brent Weatherall To: chameleon@lists.maptools.org Message-id: <0HSK004J2RHNS6@VL-MO-MR004.ip.videotron.ca> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Content-type: text/plain; charset=iso-8859-1 Thread-index: AcPrVUCAhxrS5CHSRFipa/oxWh/RDA== Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i14JTmaN007789 Subject: [Chameleon] chameleon_demo Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I am having some troubles with the chameleon_demo Everything seems to be setup right but I get the follow errors from my httpd-error.log [Wed Feb 04 14:27:37 2004] [error] [client 192.168.10.112] open: No such file or directory [Wed Feb 04 14:27:37 2004] [error] [client 192.168.10.112] open: No such file or directory [Wed Feb 04 14:20:48 2004] [error] [client 192.168.10.112] PHP Warning: [MapServer Error]: msSaveImage(): (/ms4w/tmp/ms_tmp/1075922448829701.png) [Wed Feb 04 14:20:48 2004] [error] [client 192.168.10.112] in /gisapps/apps/chameleon/htdocs/widgets/Scalebar.widget.php on line 385 [Wed Feb 04 14:20:48 2004] [error] [client 192.168.10.112] PHP Fatal error: Failed writing image to /ms4w/tmp/ms_tmp/1075922448829701.png in /gisapps/apps/chameleon/htdocs/widgets/Scalebar.widget.php on line 385 And I'm also getting a blank webpage with this in the source I'm not sure where the reference to /ms4w/ is being made because I have gone through all the config files and specified to have /gisapps/ as my main directory along with all the sub directories. Brent Weatherall La Pêche GIS Society --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.547 / Virus Database: 340 - Release Date: 12/2/2003 From barnes@watersheds.ca Wed Feb 4 14:42:08 2004 Received: from mail.storm.ca (mail.storm.ca [209.87.239.66]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i14Jg6aN007862 for ; Wed, 4 Feb 2004 14:42:08 -0500 Received: from bridge (dp-216-106-105-9.storm.ca [216.106.105.9]) by mail.storm.ca (8.11.7+Sun/8.11.7) with ESMTP id i14Jg1Y13585 for ; Wed, 4 Feb 2004 14:42:01 -0500 (EST) Subject: RE: [Chameleon] Install problems 1.1 From: Shawn Barnes Reply-To: barnes@watersheds.ca To: "chameleon@lists.maptools.org" In-Reply-To: <001601c3ea76$ec03fa30$3402a8c0@DGG> References: <001601c3ea76$ec03fa30$3402a8c0@DGG> Content-Type: text/plain Organization: Centre for Sustainable Watersheds Message-Id: <1075923720.5042.84.camel@bridge> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4-8mdk Date: Wed, 04 Feb 2004 14:42:00 -0500 Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I'm still having same problem...blank page. I've checked everything I can think of, cwc2.xml seems to have all the right paths, directory permissions and apache configuration all ok, php is working, mapserver is working, htdocs_admin is accessible. I'm running on Mandrake 9.2 with apache2, php4.3.3., mapserver4, mapscript, chameleon1.1 Shawn On Tue, 2004-02-03 at 11:58, Dave Astolfo wrote: > Shawn, > > I had the same problem. Try this: > > > > class SampleApp extends Chameleon > { > function SampleApp() > { > $this->moMapSession = new MapSession_RW; > $this->moMapSession->setTempDir( getSessionSavePath()); > > parent::Chameleon(); > } > > // function CWCInitializeMap() > // { > // $this->moMapSession = new MapSession_RW; > // $this->moMapSession->setTempDir( getSessionSavePath()); > // parent::CWCInitializeMap(); > // } > > function CWCLoadTemplate($szTemplateName) > { > $this->mszTemplate = implode("\n", file($szTemplateName)); > } > } > > $oApp = new SampleApp(); > $oApp->CWCInitialize( $szTemplate, $szMapFile ); > $oApp->CWCExecute(); > > > Dave > > -----Original Message----- > From: chameleon-admin@lists.maptools.org > [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Shawn Barnes > Sent: Tuesday, February 03, 2004 11:52 AM > To: chameleon@lists.maptools.org > Subject: [Chameleon] Install problems 1.1 > > > I'm having difficulty installing 1.1 > i'm using the chameleon sample application, i've edited the index.phtml > ------------------------------------------------------------- > /* > * This is a sample of a minimal application script required to > * get a chameleon application running with a template and a > * local map file. Most applications should actually just > * copy this file and modify the template and mapfile > * parts and should not need to do a lot more here. > */ > include( "/usr/local/cwc2/htdocs/chameleon.php" ); > > > $szTemplate = > "/usr/local/cwc2/htdocs/chameleon_sample/htdocs/sample.html"; > $szMapFile = > "/usr/local/cwc2/htdocs/chameleon_sample/map/chameleon.map"; > > > class SampleApp extends Chameleon > { > function SampleApp() > { > parent::Chameleon(); > $this->moMapSession = new MapSession_RW; > $this->moMapSession->setTempDir( getSessionSavePath()); > } > } > > > $oApp = new SampleApp(); > $oApp->CWCInitialize( $szTemplate, $szMapFile ); $oApp->CWCExecute(); > ?> > ------------------------------------------------------------------ > cwc2_admin works but, when I point my browser to > http://localhost/htdocs/.../index.phtml i just get a blank page. view > source shows > > php, mapserver, mapscript, apache permissions all seem to be fine. > > I've followed the install problem threads and searched the mailing list > archives, I must be missing something...'simple' :) > > shawn > > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From brentw@resorttowork.com Wed Feb 4 18:06:09 2004 Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i14N65aN008575 for ; Wed, 4 Feb 2004 18:06:09 -0500 Received: from GIS ([24.200.147.78]) by VL-MO-MR001.ip.videotron.ca (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0HSL00HUN1I02U@VL-MO-MR001.ip.videotron.ca> for chameleon@lists.maptools.org; Wed, 04 Feb 2004 18:06:01 -0500 (EST) Date: Wed, 04 Feb 2004 18:06:02 -0500 From: Brent Weatherall Subject: RE: [Chameleon] chameleon_demo In-reply-to: <0HSK004J2RHNS6@VL-MO-MR004.ip.videotron.ca> To: chameleon@lists.maptools.org Message-id: <0HSL00HUP1I02U@VL-MO-MR001.ip.videotron.ca> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Content-type: text/plain; charset=iso-8859-1 Thread-index: AcPrVUCAhxrS5CHSRFipa/oxWh/RDAAHV/AA Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i14N65aN008575 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I determined that the chameleon.map file was pointing to the /ms4w directory when I opened it up in MapLap, so I corrected that. Now everything loads except for the main map image. I just get the loading image animation. When I check my http-error.log I'm getting [Wed Feb 04 17:57:42 2004] [error] [client 192.168.10.112] Premature end of script headers: php, referer: http://gisserve/chameleon_demo/ The keymap and the side widgets load no problem so I'm not sure what the problem could be. -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Brent Weatherall Sent: Wednesday, February 04, 2004 2:30 PM To: chameleon@lists.maptools.org Subject: [Chameleon] chameleon_demo I am having some troubles with the chameleon_demo Everything seems to be setup right but I get the follow errors from my httpd-error.log [Wed Feb 04 14:27:37 2004] [error] [client 192.168.10.112] open: No such file or directory [Wed Feb 04 14:27:37 2004] [error] [client 192.168.10.112] open: No such file or directory [Wed Feb 04 14:20:48 2004] [error] [client 192.168.10.112] PHP Warning: [MapServer Error]: msSaveImage(): (/ms4w/tmp/ms_tmp/1075922448829701.png) [Wed Feb 04 14:20:48 2004] [error] [client 192.168.10.112] in /gisapps/apps/chameleon/htdocs/widgets/Scalebar.widget.php on line 385 [Wed Feb 04 14:20:48 2004] [error] [client 192.168.10.112] PHP Fatal error: Failed writing image to /ms4w/tmp/ms_tmp/1075922448829701.png in /gisapps/apps/chameleon/htdocs/widgets/Scalebar.widget.php on line 385 And I'm also getting a blank webpage with this in the source I'm not sure where the reference to /ms4w/ is being made because I have gone through all the config files and specified to have /gisapps/ as my main directory along with all the sub directories. Brent Weatherall La Pêche GIS Society --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.547 / Virus Database: 340 - Release Date: 12/2/2003 From pagameba@magma.ca Wed Feb 4 22:15:59 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i153FuaN009377 for ; Wed, 4 Feb 2004 22:15:59 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i153FmKN020509; Wed, 4 Feb 2004 22:15:48 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i153FksX015923; Wed, 4 Feb 2004 22:15:48 -0500 Message-ID: <4021B560.9030808@magma.ca> Date: Wed, 04 Feb 2004 22:15:44 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Brent Weatherall CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] chameleon_demo References: <0HSL00HUP1I02U@VL-MO-MR001.ip.videotron.ca> In-Reply-To: <0HSL00HUP1I02U@VL-MO-MR001.ip.videotron.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Brent, The map is produced using a utility file called drawmap.php, it is normally found in chameleon/htdocs/common/wrapper folder. Can you check to see if it is there? Also, if you get a broken image, you may be able to right-click the image and select properties (in IE, there is a different option in Mozilla that does the same thing), then copy the URL that refers to drawmap.php and paste it into a new browser window ... you may see some error messages, they can help you (or me) track down the issue. Cheers, Paul Brent Weatherall wrote: > I determined that the chameleon.map file was pointing to the /ms4w directory > when I opened it up in MapLap, so I corrected that. Now everything loads > except for the main map image. I just get the loading image animation. > > When I check my http-error.log I'm getting > > [Wed Feb 04 17:57:42 2004] [error] [client 192.168.10.112] Premature end of > script headers: php, referer: http://gisserve/chameleon_demo/ > > The keymap and the side widgets load no problem so I'm not sure what the > problem could be. > > > -----Original Message----- > From: chameleon-admin@lists.maptools.org > [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Brent Weatherall > Sent: Wednesday, February 04, 2004 2:30 PM > To: chameleon@lists.maptools.org > Subject: [Chameleon] chameleon_demo > > I am having some troubles with the chameleon_demo > > Everything seems to be setup right but I get the follow errors from my > httpd-error.log > > [Wed Feb 04 14:27:37 2004] [error] [client 192.168.10.112] open: No such > file or directory [Wed Feb 04 14:27:37 2004] [error] [client 192.168.10.112] > open: No such file or directory [Wed Feb 04 14:20:48 2004] [error] [client > 192.168.10.112] PHP Warning: > [MapServer Error]: msSaveImage(): (/ms4w/tmp/ms_tmp/1075922448829701.png) > [Wed Feb 04 14:20:48 2004] [error] [client 192.168.10.112] in > /gisapps/apps/chameleon/htdocs/widgets/Scalebar.widget.php on line 385 [Wed > Feb 04 14:20:48 2004] [error] [client 192.168.10.112] PHP Fatal error: > Failed writing image to /ms4w/tmp/ms_tmp/1075922448829701.png in > /gisapps/apps/chameleon/htdocs/widgets/Scalebar.widget.php on line 385 > > > And I'm also getting a blank webpage with this in the source > > > > I'm not sure where the reference to /ms4w/ is being made because I have gone > through all the config files and specified to have /gisapps/ as my main > directory along with all the sub directories. > > Brent Weatherall > La Pêche GIS Society > > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.547 / Virus Database: 340 - Release Date: 12/2/2003 > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Wed Feb 4 22:21:00 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i153KvaN009416 for ; Wed, 4 Feb 2004 22:21:00 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i153KtKN022299; Wed, 4 Feb 2004 22:20:56 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i153Kqqf023906; Wed, 4 Feb 2004 22:20:55 -0500 Message-ID: <4021B692.7000809@magma.ca> Date: Wed, 04 Feb 2004 22:20:50 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: barnes@watersheds.ca CC: "chameleon@lists.maptools.org" Subject: Re: [Chameleon] Install problems 1.1 References: <001601c3ea76$ec03fa30$3402a8c0@DGG> <1075923720.5042.84.camel@bridge> In-Reply-To: <1075923720.5042.84.camel@bridge> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Shawn, let's eliminate some possibilities. Add the following at the top of your index.phtml file, just after the I'm still having same problem...blank page. > > I've checked everything I can think of, cwc2.xml seems to have all the > right paths, directory permissions and apache configuration all ok, php > is working, mapserver is working, htdocs_admin is accessible. > > I'm running on Mandrake 9.2 with apache2, php4.3.3., mapserver4, > mapscript, chameleon1.1 > > Shawn > > > > > On Tue, 2004-02-03 at 11:58, Dave Astolfo wrote: > >>Shawn, >> >>I had the same problem. Try this: >> >> >> >>class SampleApp extends Chameleon >>{ >> function SampleApp() >> { >> $this->moMapSession = new MapSession_RW; >> $this->moMapSession->setTempDir( getSessionSavePath()); >> >> parent::Chameleon(); >> } >> >>// function CWCInitializeMap() >>// { >>// $this->moMapSession = new MapSession_RW; >>// $this->moMapSession->setTempDir( getSessionSavePath()); >>// parent::CWCInitializeMap(); >>// } >> >> function CWCLoadTemplate($szTemplateName) >> { >> $this->mszTemplate = implode("\n", file($szTemplateName)); >> } >>} >> >>$oApp = new SampleApp(); >>$oApp->CWCInitialize( $szTemplate, $szMapFile ); >>$oApp->CWCExecute(); >> >> >>Dave >> >>-----Original Message----- >>From: chameleon-admin@lists.maptools.org >>[mailto:chameleon-admin@lists.maptools.org] On Behalf Of Shawn Barnes >>Sent: Tuesday, February 03, 2004 11:52 AM >>To: chameleon@lists.maptools.org >>Subject: [Chameleon] Install problems 1.1 >> >> >>I'm having difficulty installing 1.1 >>i'm using the chameleon sample application, i've edited the > > index.phtml > >>------------------------------------------------------------- >>>/* >> * This is a sample of a minimal application script required to >> * get a chameleon application running with a template and a >> * local map file. Most applications should actually just >> * copy this file and modify the template and mapfile >> * parts and should not need to do a lot more here. >> */ >>include( "/usr/local/cwc2/htdocs/chameleon.php" ); >> >> >>$szTemplate = >>"/usr/local/cwc2/htdocs/chameleon_sample/htdocs/sample.html"; >>$szMapFile = >>"/usr/local/cwc2/htdocs/chameleon_sample/map/chameleon.map"; >> >> >>class SampleApp extends Chameleon >>{ >> function SampleApp() >> { >> parent::Chameleon(); >> $this->moMapSession = new MapSession_RW; >> $this->moMapSession->setTempDir( getSessionSavePath()); >> } >>} >> >> >>$oApp = new SampleApp(); >>$oApp->CWCInitialize( $szTemplate, $szMapFile ); $oApp->CWCExecute(); >>?> >>------------------------------------------------------------------ >>cwc2_admin works but, when I point my browser to >>http://localhost/htdocs/.../index.phtml i just get a blank page. view >>source shows >> >>php, mapserver, mapscript, apache permissions all seem to be fine. >> >>I've followed the install problem threads and searched the mailing > > list > >>archives, I must be missing something...'simple' :) >> >>shawn >> >> >> >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Wed Feb 4 22:40:08 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i153e7aN009505 for ; Wed, 4 Feb 2004 22:40:08 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i153dJQZ018240; Wed, 4 Feb 2004 22:39:19 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i153dFep003084; Wed, 4 Feb 2004 22:39:19 -0500 Message-ID: <4021BAE1.8080902@magma.ca> Date: Wed, 04 Feb 2004 22:39:13 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dave Astolfo CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] XMLThemeLegend continued References: <000f01c3eb2c$46482f10$3302a8c0@DGG> In-Reply-To: <000f01c3eb2c$46482f10$3302a8c0@DGG> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Dave, Dave Astolfo wrote: > Thanks for the info Paul. Another question for the group: > > > I have managed to make the menu expand / collapse here: > http://maps.astolfo.com/chameleon_demo/ cool ... it only works in IE though ;) > The only problem is figuring out how to make it work for multi-tier > Legends. Right now, I think the rendering file only supports > THEMES/GROUPS. that is correct. We have tossed around some ideas for adding support for additional levels of grouping but never found anyone willing to pay for it to be implemented nor had a compelling reason to implement it for our own purposes. > What I was hoping for is support for THEME/GROUP/SUBGROUP/ etc. Like > this: > > ==LEGEND== > Top Level > --Level 1 > -- Level 1.1 > ---- Level 1.1.1 > --Level 2 > -- Level 2.1 > Etc... > > In looking at the widget directory of CWC 1.1, I noticed a JSTreeView > widget. Anyone know how to use this? I can't seem to find documentation > on it... JSTreeView is a utility widget that we added for the upcoming MapEdit. JSTreeView is pretty much an internal widget at this point, but essentially what it does is take the contents of a SharedResource widget and display it in a hierarchical tree using some js/dhtml based tree code we got from treeview.net (I think that was the URL). The code for that might be in the common folder under jtree. If not, then check out the php_utils project from maptools.org: CVS root: :pserver:cvsanon@cvs.maptools.org:/cvs/maptools/cvsroot The module name is "php_utils" There is no password You can copy the php_utils/src/jtree folder from there to the htdocs/common/ folder and then the widget will at least have the javascript part ready to go You would then need to build some javascript calls into your renderer file to build the appropriate javascript objects for the tree. I have speculated on this a couple of times but never tried it. Or write a widget that creates a sharedresource from the information you want in the tree. Its kind of tricky though. This will eventually be documented but this will probably be one of the last things to be done. You are not permitted to use jtree outside of the scope of chameleon unless you purchase your own license ... but within chameleon we are permitted to distribute it royalty free. Cheers, Paul > > Thx, > > Dave > > > > -----Original Message----- > From: chameleon-admin@lists.maptools.org > [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Paul Spencer > Sent: Wednesday, February 04, 2004 9:18 AM > To: Dave Astolfo > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Problem with CompassPoint Widget > > > Sorry, I guess my reply was too late, you figured it out :) > > For the record, new documentation is on the way! Real soon now :) > > Paul > > Dave Astolfo wrote: > > >>Figured it out... Although I am using V 1.1, it appears that the >>required parameters that are listed on the Widget documentation don't >>match. Here is what worked (see original msg below for what did not >>work): >> >>>imagewidth="19" direction="northwest" >>image="images/pan_1_northwest.png" >>visible="true" /> >> >>Note the variable for IMAGES. In the documentation, it states that you >>need: >>IMAGEBASE >>DIRECTION >>IMAGEEXTENSION >>And that combined, these make up the pointer to the image and >>direction that will be called in code.. Odd.... But it works. >> >>Dave >> >>-----Original Message----- >>From: chameleon-admin@lists.maptools.org >>[mailto:chameleon-admin@lists.maptools.org] On Behalf Of Dave Astolfo >>Sent: Tuesday, February 03, 2004 4:52 PM >>To: chameleon@lists.maptools.org >>Subject: [Chameleon] Problem with CompassPoint Widget >> >> >>I am having trouble implementing the compasspoint widget. I am using >>Chameleon 1.1 >> >>Sample code: >> >>>imagewidth="19" imageextension=".gif" imagebase="images/pan_" >>direction="northwest" visible="true" /> >> >>I have verified that pan_nortwest.gif is in the folder images/ . The >>error I am getting is: >> >>ERROR: Invalid image specified in Icon.php for parent 20 of type >>CompassPoint. >> >>Any ideas? >> >>Thanks, >> >>Dave >> >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Wed Feb 4 22:48:35 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i153mZaN009550 for ; Wed, 4 Feb 2004 22:48:35 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i153mVQZ020330; Wed, 4 Feb 2004 22:48:31 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i153mSep009777; Wed, 4 Feb 2004 22:48:31 -0500 Message-ID: <4021BD0A.7030708@magma.ca> Date: Wed, 04 Feb 2004 22:48:26 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: thowlett@whistlermuseum.org CC: "'Huub Fleuren'" , chameleon@lists.maptools.org Subject: Re: [Chameleon] Print Widget References: <200401290024.i0T0Os4r026856@www.maptools.org> In-Reply-To: <200401290024.i0T0Os4r026856@www.maptools.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Tracy, Tracy Howlett wrote: > My print problems continue. > > > > I think I've sorted out the issues with font lists but now there is an image > format problem. When I select download or preview I get a PHP Script > Interpreter problem. When I debug it I get this error message: > > CGI Error > > The specified CGI application misbehaved by not returning a complete set of > HTTP headers. The headers it did return are: > > Warning 1: TIFFReadDirectory:C:\Apps\chirp\data\Tin_high_new.tif: wrong data > type 1 for "XMLPacket"; tag ignored > > Warning 1: TIFFReadDirectory:C:\Apps\chirp\data\Tin_high_new.tif: wrong data > type 1 for "XMLPacket"; tag ignored > > > > Could this be because of the php_gd.dll version? The version of PHP that > I'm running (4.3.4) comes bundled with php_gd2.dll. Is it just that gd does > not support tiff output? Perhaps it is the MapScript. I'm using some > aerial photos and a DEM in tiff format and I'd like to add them to the map > printout if possible. > it is likely that it is not a gd issue since gd does not support tiff. The tiff output is actually generated by MapServer I believe. I would recommend against using tiff for now. php_gd.dll was dropped in favour of php_gd2.dll in php 4.3.x, it is possible that some code still refers to php_gd.dll but you would get a different error message. As far as Chameleon is concerned, they are API compatible so if you ever get messages saying that php was unable to load php_gd.dll, you can avoid it by copying php_gd2.dll and renaming the copy php_gd.dll :) This is a hack, though, and the problem should be reported on the list so I can fix it. > > > I just ran a test.phtml ( > and there is an error message telling me "MapScript: Unable to register > functions; Unable to load" Just when I think I've solved one problem I find > another with this thing!! ;) Do you load mapscript automatically in your php.ini? There is a section called extensions in there, if you list php_mapscript in that section, then the test does not need to load it and in fact loading it results in the error message that you see above. To avoid this message, we typically use: '; } phpinfo(); ?> Cheers, Paul > > > > Tracy > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From griffin@watersheds.ca Thu Feb 5 08:20:13 2004 Received: from mail.storm.ca (mail.storm.ca [209.87.239.66]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i15DKCaN012040 for ; Thu, 5 Feb 2004 08:20:13 -0500 Received: from 192.168.0.130 (dp-216-106-105-32.storm.ca [216.106.105.32]) by mail.storm.ca (8.11.7+Sun/8.11.7) with ESMTP id i15DK9Y20885 for ; Thu, 5 Feb 2004 08:20:09 -0500 (EST) From: Aaron Griffin Reply-To: griffin@watersheds.ca To: "chameleon@lists.maptools.org" Content-Type: text/plain Organization: GNU Linux Message-Id: <1075969156.2523.5.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4-8mdk Date: Thu, 05 Feb 2004 08:19:17 +0000 Content-Transfer-Encoding: 7bit Subject: [Chameleon] Calling Data from Local Drives Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I am working with chameleon 1.0.4 on windows 2000 and I am trying to call data from my hard drive to be displayed in my map. The data is a collection of shape files created in arcview. What do i need to add to the context file to load these datasets? Thanks. Aaron Griffin Centre for Sustainable Watersheds From sfournier@dmsolutions.ca Thu Feb 5 08:56:45 2004 Received: from xcalibur.dmsolutions.ca (www2.dmsolutions.ca [209.217.116.146]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i15DucaN012178 for ; Thu, 5 Feb 2004 08:56:45 -0500 Received: from dmsolutions.ca ([10.1.0.2]) by xcalibur.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id i15DuYA02541; Thu, 5 Feb 2004 08:56:35 -0500 Message-ID: <40224B92.7020603@dmsolutions.ca> Date: Thu, 05 Feb 2004 08:56:34 -0500 From: Sacha Fournier Reply-To: sfournier@dmsolutions.ca Organization: DM Solutions Group User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en, fr-ca MIME-Version: 1.0 To: Rene Teniere CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] SQL and Tables References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: No. If you're gonna hard code the output and the SQL query, then make you wapquery widget extends from CWCWidget. Make sure you have a member for SQLQuery widget and Table widget in you wapquery widget (don t forget to include needed code). Then your wapquery widget have to take care of creating the SQLQuery and table widget instances and set the member values to what you need. Also make sure to call the right function for SQLQeury and Template at the right moment in you wapquery class (for instance, you'll probably want to call DrawPublish of Table widget inside your wapquery drawpublish function). Rene Teniere wrote: > Hi Sacha, > > Just want to make sure I am about to do this right. I have my new > widget created (almost), and am about to implement the sqlquery and > table widget functionality. At the end of my wapquery class, would I > copy and paste the sqlquery class after it and hard-code all the values > like sqlquery, server, database... etc. and then do the same with the > table widget? > > Rene > > >>>>Sacha Fournier 2004-02-02 9:36:36 AM >>>> > > Hi, > > Sure it can be done. There's many way to do this. First you can make > your new widget inherit from Table widget and add a class member of > type > SQLQuery widget and make sure to set all attributes of SQLQuery widget > > based on the UID (Please note that current SQLQuery widget don't > support > DBF yet). Your SQLQuery widget will put the result in a shared > resource. > Make sure your shared resource is set to the same in both SQLQuery > Widget and you new widget. > > An other way, you can create a widget that inherit from the base widget > > and add Table and SQLQuery widget as class member. This way, the user > don't have any control on the way the table is displayed (hard coded in > > you code). > > It's basicly how to do it. > > Rene Teniere wrote: > >>Hi All, >> >>Question: When using the SQL and Table widgets, can those be > > embedded > >>within the PHP code of a custom widget? Reason being that I am > > creating > >>a query widget that filters out data from a DBF and publishes the >>resultant data as a table for the user. The above widgets seem to be > > the > >>way to go, however, just wanting to know if this can all be done in > > one > >>shot through my new widget. I.E. enter the UID# and all the results >>should come up in table form automatically. >> >>Thanks, >> >>Rene >> >>Rene J.R. Teniere - BSc., D.GIS >>GIS Technician >>Nova Scotia Department of Natural Resources >>Forestry Division (GIS) - Truro >> >>Phone: (902) 893-5655 >>Mobile: (902) 209-8956 >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > > -- Sacha Fournier Applications Developer DM Solutions Group tel: 418.696.5056 fax: 418.696.5056 http://www.dmsolutions.ca mailto://sfournier@dmsolutions.ca -- ------------------------------------------------- /"\ ASCII Ribbon Campaign against HTML \ / email and proprietary format X attachments. / \ ------------------------------------------------- From pagameba@magma.ca Thu Feb 5 08:57:12 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i15DvAaN012184 for ; Thu, 5 Feb 2004 08:57:12 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i15Dv3qn012235; Thu, 5 Feb 2004 08:57:03 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i15DuxK6013646; Thu, 5 Feb 2004 08:57:03 -0500 Message-ID: <40224BA8.6080701@magma.ca> Date: Thu, 05 Feb 2004 08:56:56 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Chameleon 2.0 References: <4733.212.238.227.182.1075311265.squirrel@webmail.xs4all.nl> In-Reply-To: <4733.212.238.227.182.1075311265.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, a simple request with a complex answer :) Unfortunately, I am not yet in a position to answer it quickly. But I am trying to put aside some time in the next two weeks to sort this out. In general, however, the following things will be done: 1. Widget Packs - widgets are going to be organized into Packs that will be separately versioned and released, simplifying our QA tasks somewhat by limiting the scope of what needs to be done. In conjunction with this, we have built a web-based installation system that will assist in maintaining a chameleon installation by providing in-place upgrades of widget packs, installing and uninstalling packs. This is based on PEAR, the PHP Extension Archive Repository code that ships standard with PHP now. Also included in this is the ability to have multiple versions of widgets installed for testing purposes ... more on that when we finish the docs 2. Widget Documentation - the original documentation system was pretty cool as it allowed you to generate widget documentation and reference guide directly from the code. But our first cut at this was not very flexible and we quickly determined that it wasn't really serving our needs well. It could not easily support multilingual documentation, and it couldn't easily be expanded to include documentation on new features or even some existing features. We are in the process of rebuilding the documentation system to use XML files (one per widget now) that will combine all widget documentation into a single location. The XML structure will support multiple languages. It is the source for both an end-user online help system, an application developer's widget reference system, and a widget developer's reference. There will be utilities to generate and maintain the XML structure from the widget code, but the documentation will still have to be written ;) 3. Javascript Enhancements - there is a fundamental design flaw in how Chameleon uses javascript, and the most noticeable effect of that is the CPU useage when the user moves the mouse over the page but not on the map. Other less noticeable effects relate to how some tools like the ruler, the pan map and zoom in are affected if the tool is activated and then the mouse leaves the map area. There is also a lot of javascript code that gets embedded directly in the page rather than loaded as a separate js file (for browser caching performance). Finally, there is really no way to avoid including javascript for lightweight clients. The Javascript Enhancements are focussed on addressing some or all of these issues. Since performance is a big part of this work, we can't really say how much better it will get ... but I can say that it will improve substantially for most users. 4. QA - we have done quite a bit of work on defining QA processes at DMSG and we will be applying those processes (in part) to pieces of Chameleon as they get released. There will be an automated test suite for testing individual widgets, and there will be a set of functional tests. The automated tests will be available separately, and the functional tests will be released as part of a community QA program on the maptools site. The intention is for us to release better quality stuff to the community, but also for the community to provide more structured feedback to us for quality purposes. I think everyone recognizes the large number of variable factors in building applications, and Chameleon is no different. Internal testing can only identify obvious problems on systems similar to ours. By including the community, we hope to leverage their systems and configurations to make Chameleon more stable for everyone. 5. New widgets - there are a whole bunch of new widgets that have been added for clients such as yourself. Some are extremely useful to a wide variety of people, but most will be applicable only to a smaller subset. More on this when we get closer. Hope that helps answer your questions, Paul bartvde@xs4all.nl wrote: > Hi Paul, > > several times you have mentioned the release of Chameleon 2.0 in the first > half of April 2004 if I am not mistaken. Also you have mentioned a > Javascript redesign will take place before 2.0. > > Is it possible for you to elaborate a bit on the things that will take > place in Chameleon between now and release 2.0? I would be very interested > to know what kind of functionality will be added or what changes in the > design you are gonna implement. > > Hope to get some info on this. Thanks in advance. > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Feb 5 09:04:23 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i15E4NaN012238 for ; Thu, 5 Feb 2004 09:04:23 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i15E4LQf015330; Thu, 5 Feb 2004 09:04:21 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i15E4Id5022497; Thu, 5 Feb 2004 09:04:20 -0500 Message-ID: <40224D60.9010901@magma.ca> Date: Thu, 05 Feb 2004 09:04:16 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: griffin@watersheds.ca CC: "chameleon@lists.maptools.org" Subject: Re: [Chameleon] Calling Data from Local Drives References: <1075969156.2523.5.camel@localhost> In-Reply-To: <1075969156.2523.5.camel@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Aaron, with chameleon 1.0.4 on windows 2000, it is not possible to include local data directly. Chameleon 1.0.4 is an 'OGC-only' version, which means that it works with Context files. Context files can only refer to WMS layers. It is possible to do what you want by first adding a WMS service to serve up your local data as WMS, then building the context to point to the data in this WMS service. There are descriptions of how to do this on the MapServer web site: (http://mapserver.gis.umn.edu/doc40/wms-server-howto.html) Constructing a context by hand is a little trickier, but you can start with an existing one (like the gmap_context.xml distributed with Chameleon 1.0.4) and you will see pretty quickly how to edit it I think. Chameleon 1.1 removes this restriction by working directly with MapServer map files which can refer to both local and OGC data sources. Cheers, Paul Aaron Griffin wrote: > I am working with chameleon 1.0.4 on windows 2000 and I am trying to > call data from my hard drive to be displayed in my map. The data is a > collection of shape files created in arcview. What do i need to add to > the context file to load these datasets? > > Thanks. > > Aaron Griffin > Centre for Sustainable Watersheds > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From bartvde@xs4all.nl Fri Feb 6 05:58:29 2004 Received: from smtp-out5.xs4all.nl (smtp-out5.xs4all.nl [194.109.24.6]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i16AwMaN017477 for ; Fri, 6 Feb 2004 05:58:27 -0500 Received: from webmail.xs4all.nl (webmail4.xs4all.nl [194.109.22.164]) by smtp-out5.xs4all.nl (8.12.10/8.12.10) with SMTP id i16Aw8n1028764 for ; Fri, 6 Feb 2004 11:58:15 +0100 (CET) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Fri, 6 Feb 2004 11:58:15 +0100 (CET) Message-ID: <16719.212.238.227.182.1076065095.squirrel@webmail.xs4all.nl> Date: Fri, 6 Feb 2004 11:58:15 +0100 (CET) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [Chameleon] combine ExpressionBuilder / ExtractWFSData Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Paul (cc to the list), it would be really nice functionality if a user would be able to download his selection made with the ExpressionBuilder. Ofcourse, the only missing link here is that Mapserver WFS only supports the BBOX Filter. Are there any plans to extend Mapserver WFS with the full Filter support as in the SLD WMS part of Mapserver? Best regards, Bart From wbronsema@dmsolutions.ca Fri Feb 6 07:04:43 2004 Received: from tomts5-srv.bellnexxia.net (tomts5.bellnexxia.net [209.226.175.25]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i16C4haN017776 for ; Fri, 6 Feb 2004 07:04:43 -0500 Received: from dmsolutions.ca ([209.217.116.146]) by tomts5-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040206120442.GUJT108.tomts5-srv.bellnexxia.net@dmsolutions.ca>; Fri, 6 Feb 2004 07:04:42 -0500 Message-ID: <402382D6.4050704@dmsolutions.ca> Date: Fri, 06 Feb 2004 07:04:38 -0500 From: "William A. Bronsema" Reply-To: wbronsema@dmsolutions.ca Organization: DM Solutions Group Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] combine ExpressionBuilder / ExtractWFSData References: <16719.212.238.227.182.1076065095.squirrel@webmail.xs4all.nl> In-Reply-To: <16719.212.238.227.182.1076065095.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Bart, bartvde@xs4all.nl wrote: > Hi Paul (cc to the list), > > it would be really nice functionality if a user would be able to download > his selection made with the ExpressionBuilder. > In the latest version of the ExpressionBuilder widget you can add a shared resource that stores the results of the last filter applied. Just add to your template. The gml results are added as an array to this shared resource. HTH. Regards, Bill -- William A. Bronsema, C.E.T. Applications Developer, DM Solutions Group Inc. http://www.dmsolutions.ca email: wbronsema@dmsolutions.ca Phone: (613) 565-5056 ext.25 Fax : (613) 565-0925 ____________________________________ From bartvde@xs4all.nl Fri Feb 6 07:48:45 2004 Received: from smtp-out3.xs4all.nl (smtp-out3.xs4all.nl [194.109.24.13]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i16CmiaN017905 for ; Fri, 6 Feb 2004 07:48:45 -0500 Received: from webmail.xs4all.nl (webmail4.xs4all.nl [194.109.22.164]) by smtp-out3.xs4all.nl (8.12.10/8.12.10) with SMTP id i16CmW9b031371; Fri, 6 Feb 2004 13:48:33 +0100 (CET) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Fri, 6 Feb 2004 13:48:38 +0100 (CET) Message-ID: <10678.212.238.227.182.1076071718.squirrel@webmail.xs4all.nl> In-Reply-To: <402382D6.4050704@dmsolutions.ca> References: <16719.212.238.227.182.1076065095.squirrel@webmail.xs4all.nl> <402382D6.4050704@dmsolutions.ca> Date: Fri, 6 Feb 2004 13:48:38 +0100 (CET) Subject: Re: [Chameleon] combine ExpressionBuilder / ExtractWFSData From: bartvde@xs4all.nl To: wbronsema@dmsolutions.ca Cc: bartvde@xs4all.nl, chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Bill, if I add this SharedResource to my template will I always get the results in GML? In other words, will it decrease the performance of my application even in a situation in which a user does not choose to download his selection in GML? Do you get the GML through the Mapserver WFS interface? Best regards, Bart > Hi Bart, > > bartvde@xs4all.nl wrote: >> Hi Paul (cc to the list), >> >> it would be really nice functionality if a user would be able to >> download >> his selection made with the ExpressionBuilder. >> > > In the latest version of the ExpressionBuilder widget you can add a > shared resource that stores the results of the last filter applied. > Just add > to your template. > > The gml results are added as an array to this shared resource. > > HTH. > > Regards, > Bill > > -- > > William A. Bronsema, C.E.T. > Applications Developer, > DM Solutions Group Inc. > > http://www.dmsolutions.ca > email: wbronsema@dmsolutions.ca > Phone: (613) 565-5056 ext.25 > Fax : (613) 565-0925 > ____________________________________ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From pagameba@magma.ca Fri Feb 6 08:46:58 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i16DkuaN018079 for ; Fri, 6 Feb 2004 08:46:57 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i16Dkrt7021218; Fri, 6 Feb 2004 08:46:53 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i16DkiYk012146; Fri, 6 Feb 2004 08:46:53 -0500 Message-ID: <40239AC0.5060804@magma.ca> Date: Fri, 06 Feb 2004 08:46:40 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] combine ExpressionBuilder / ExtractWFSData References: <16719.212.238.227.182.1076065095.squirrel@webmail.xs4all.nl> In-Reply-To: <16719.212.238.227.182.1076065095.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: bartvde@xs4all.nl wrote: > Hi Paul (cc to the list), > > it would be really nice functionality if a user would be able to download > his selection made with the ExpressionBuilder. what do you mean by this? Download the expression (i.e. the xml encoded Filter) or download the results of applying the expression? > > Ofcourse, the only missing link here is that Mapserver WFS only supports > the BBOX Filter. > > Are there any plans to extend Mapserver WFS with the full Filter support > as in the SLD WMS part of Mapserver? we are adding support for non-bounding box filters and multiple spatial filters into mapserver for the next release. It may not fully support everything you can do with OGC Filters, but it will provide way more capability than we currently have. > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From wbronsema@dmsolutions.ca Fri Feb 6 08:51:36 2004 Received: from tomts5-srv.bellnexxia.net (tomts5.bellnexxia.net [209.226.175.25]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i16DpZaN018108 for ; Fri, 6 Feb 2004 08:51:36 -0500 Received: from dmsolutions.ca ([209.217.116.146]) by tomts5-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040206135134.HYTG108.tomts5-srv.bellnexxia.net@dmsolutions.ca>; Fri, 6 Feb 2004 08:51:34 -0500 Message-ID: <40239BDF.5090102@dmsolutions.ca> Date: Fri, 06 Feb 2004 08:51:27 -0500 From: "William A. Bronsema" Reply-To: wbronsema@dmsolutions.ca Organization: DM Solutions Group Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] combine ExpressionBuilder / ExtractWFSData References: <16719.212.238.227.182.1076065095.squirrel@webmail.xs4all.nl> <402382D6.4050704@dmsolutions.ca> <10678.212.238.227.182.1076071718.squirrel@webmail.xs4all.nl> In-Reply-To: <10678.212.238.227.182.1076071718.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Bart, bartvde@xs4all.nl wrote: > Hi Bill, > > if I add this SharedResource to my template will I always get the results > in GML? In other words, will it decrease the performance of my application > even in a situation in which a user does not choose to download his > selection in GML? > > Do you get the GML through the Mapserver WFS interface? > Yes, there is a performance cost associated with adding this shared resource. The ExpressionBuilder widget normally just sets the filter on the layer and filters when the map is drawn. When you include the shared resource a separate "executeWFSGetfeature" call is made on the layer and the results are parsed into an array. I'm not sure what you mean when you say "[when] a user does not choose to download his selection in GML". This "executeWFSGetfeature" call always returns a gml file. There is no relationship between the ExpressionBuilder widget and the ExtractWFSData. The ExtractWFSData widget does allow you to select an output format, the ExpressionBuilder does not. Yes, the GML is obtained through the Mapserver WFS interface via a PHPMapscript "executeWFSGetfeature" call on the layer. I hope that answers your questions. Regards, Bill -- William A. Bronsema, C.E.T. Applications Developer, DM Solutions Group Inc. http://www.dmsolutions.ca email: wbronsema@dmsolutions.ca Phone: (613) 565-5056 ext.25 Fax : (613) 565-0925 ____________________________________ From bartvde@xs4all.nl Fri Feb 6 08:58:12 2004 Received: from smtp-out2.xs4all.nl (smtp-out2.xs4all.nl [194.109.24.12]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i16DwBaN018141 for ; Fri, 6 Feb 2004 08:58:12 -0500 Received: from webmail.xs4all.nl (webmail4.xs4all.nl [194.109.22.164]) by smtp-out2.xs4all.nl (8.12.10/8.12.10) with SMTP id i16Dw0Ab003510; Fri, 6 Feb 2004 14:58:00 +0100 (CET) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Fri, 6 Feb 2004 14:58:08 +0100 (CET) Message-ID: <6081.212.238.227.182.1076075888.squirrel@webmail.xs4all.nl> In-Reply-To: <40239AC0.5060804@magma.ca> References: <16719.212.238.227.182.1076065095.squirrel@webmail.xs4all.nl> <40239AC0.5060804@magma.ca> Date: Fri, 6 Feb 2004 14:58:08 +0100 (CET) Subject: Re: [Chameleon] combine ExpressionBuilder / ExtractWFSData From: bartvde@xs4all.nl To: spencer@dmsolutions.ca Cc: bartvde@xs4all.nl, chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Paul, I mean downloading the results of the expression (in GML/Shapefile), i.e. NOT the Filter XML. So this would need performing a GetFeature request on the Mapserver WFS with the Filter generated by the ExpressionBuilder. Great to hear there are plans to extend Mapserver WFS for the next release. Best regards, Bart > > > bartvde@xs4all.nl wrote: > >> Hi Paul (cc to the list), >> >> it would be really nice functionality if a user would be able to >> download >> his selection made with the ExpressionBuilder. > > what do you mean by this? Download the expression (i.e. the xml encoded > Filter) or download the results of applying the expression? > >> >> Ofcourse, the only missing link here is that Mapserver WFS only supports >> the BBOX Filter. >> >> Are there any plans to extend Mapserver WFS with the full Filter support >> as in the SLD WMS part of Mapserver? > > we are adding support for non-bounding box filters and multiple spatial > filters into mapserver for the next release. It may not fully support > everything you can do with OGC Filters, but it will provide way more > capability than we currently have. > >> >> Best regards, >> Bart >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > > -- > ----------------------------------------------------------------- > |Paul Spencer spencer@dmsolutions.ca | > |-----------------------------------------------------------------| > |Applications & Software Development | > |DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > > From dastolfo1@cogeco.ca Fri Feb 6 10:28:03 2004 Received: from fep1.cogeco.net (smtp.cogeco.net [216.221.81.25]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i16FRvaN018495 for ; Fri, 6 Feb 2004 10:28:03 -0500 Received: from DGG (d141-153-10.home.cgocable.net [24.141.153.10]) by fep1.cogeco.net (Postfix) with ESMTP id 21E7A75AF for ; Fri, 6 Feb 2004 10:27:55 -0500 (EST) From: "Dave Astolfo" To: Date: Fri, 6 Feb 2004 10:27:42 -0500 Message-ID: <000201c3ecc5$c6908ba0$3402a8c0@DGG> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <4019B58A.9070400@magma.ca> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: [Chameleon] TreeLegend and XMLThemeParser - making progress Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Paul, Thanks for your tips on integrating the dynamic legend. I am making progress on plugging in a JS-based tree legend into the rendering file. I have a few challenges. In order for the JS function to work, I am passing it a list of layer names that are turned on. It uses those names to determine which boxes are checked. I am trying to make the below code work in this Chameleon 1.1 demo http://maps.astolfo.com/chameleon_demo/ - (you have seen this already). I need to figure out if I can call a function similar to what is listed below to ge the object that represents the map ($gpoMap). Once I do that, I need a function that can return the layer names and their status. The below code that I used in the GMAP demo shows this as $gpoMap->getAllLayerNames(); When I run it, I get an error " Undefined variable: gpoMap in c:\mapservertools\cwc2\htdocs\TemplateProcessor.php(207) : eval()'d code on line 415 " Doing some basic php testing, If I write "echo $this; ", I get the text Object returned. So I think I am on the right track, but I am not sure what the properties of $this are... I am not sure if what I am trying to do is possible. Any help is appreciated. --This code is embedded in the rendering file used in the XMLThemeParser legend. getAllLayerNames(); //loop through the array, check to see which layers are on, and get its name for ($i = 0; $i <= count($allLayers) - 1; $i++) { //get the status value of each layer - 1 or 0 if (GMapGetStatus($allLayers[$i]) == 1) { //create a delimited list of layer names that are turned on - they will also be quoted for passing to the JS function $lyrName = $lyrName . "\"" .$allLayers[$i] . "\"" . ","; } } //trim off the remaining comma from the string $lyrName = substr($lyrName, 0, strlen($str)-1); //append the array opening and closing brackets to the string that will be passed to the function $lyrName = "[" . $lyrName . "]"; ?> Thanks, Dave From dastolfo1@cogeco.ca Sat Feb 7 08:18:46 2004 Received: from fep4.cogeco.net (smtp.cogeco.net [216.221.81.25]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i17DIiaN023555 for ; Sat, 7 Feb 2004 08:18:46 -0500 Received: from DGG (d141-153-10.home.cgocable.net [24.141.153.10]) by fep4.cogeco.net (Postfix) with ESMTP id 043032C63 for ; Sat, 7 Feb 2004 08:18:43 -0500 (EST) From: "Dave Astolfo" To: Date: Sat, 7 Feb 2004 08:18:29 -0500 Message-ID: <000201c3ed7c$e4903710$3402a8c0@DGG> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <000201c3ecc5$c6908ba0$3402a8c0@DGG> Importance: Normal Subject: [Chameleon] CWC2 JavaScript API and Chameleon V1.1 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi all, Anyone have this issue with Chameleon 1.1 and the CWC2 JavaScript API? I have 1.1. working fine. When trying to get it to run in JS mode using the CWC2 JavaScript API widget, it does not work. I get the first page showing fine, but whenever I try to do anything (refresh, zoom, etc), I get a JS error - Object Expected. Running on Win 2k + IIS using the Chameleon 1.1 demo. Thx, Dave From delfos18@yahoo.com Mon Feb 9 05:35:35 2004 Received: from web12107.mail.yahoo.com (web12107.mail.yahoo.com [216.136.172.27]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i19AZQaN006685 for ; Mon, 9 Feb 2004 05:35:32 -0500 Message-ID: <20040209103507.64133.qmail@web12107.mail.yahoo.com> Received: from [203.100.248.241] by web12107.mail.yahoo.com via HTTP; Mon, 09 Feb 2004 02:35:07 PST Date: Mon, 9 Feb 2004 02:35:07 -0800 (PST) From: "J. Delfos" Reply-To: delfos18@yahoo.com To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Chameleon] Problem with moving Chameleon from 2K to XP.... Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi List, I developed a website with Chameleon 1.1, and got it working without any issues. I have managed to install it on a few different computers, with windows 2000 running IIS 5.0. Today I tried to install it on a computer with windows XP, running IIS 5.1, but it didn't work. The page does load, but the dhtmlmap image does not show up. In other words, the drawmap.php file does not run the way it's supposed to, because the URL of the dhtml map image does not return a map (tried loading it seperately using the source of the image). Legend works, including thumbnails for layers. Coordinates etc. are correct. Can anyone give me some clues as to what difference between XP and 2K causes this, and how to fix it? I have used the exact same files to install it (PHP 4.3.4, etc.), same DLL's, everything. I copied all my files from a site that worked, only changing URL's, because all my file paths are the same. The approach worked when porting between windows 2000 machines. Are there differences with regards to permissions between the two OS's? The only difference I spotted was that on this PC, windows was installed in "c:\windows", in stead of "c:\winnt". regards, Jacob __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html From dastolfo1@cogeco.ca Mon Feb 9 08:24:02 2004 Received: from fep1.cogeco.net (smtp.cogeco.net [216.221.81.25]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i19DO2aN007255 for ; Mon, 9 Feb 2004 08:24:02 -0500 Received: from DGG (d141-153-10.home.cgocable.net [24.141.153.10]) by fep1.cogeco.net (Postfix) with ESMTP id E28B25B3F; Mon, 9 Feb 2004 08:24:01 -0500 (EST) From: "Dave Astolfo" To: , Subject: RE: [Chameleon] Problem with moving Chameleon from 2K to XP.... Date: Mon, 9 Feb 2004 08:23:53 -0500 Message-ID: <000701c3ef0f$f9905700$3302a8c0@DGG> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <20040209103507.64133.qmail@web12107.mail.yahoo.com> Importance: Normal Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Jacob, Although, I did not have the same problems, I did have issues with installing in an XP / IIS machine. I will explain what I did, and it may offer you some insight. Installed on: Win XP Laptop w/ IIS Chameleon 1.1 First: since I had it all running on a Win 2k server, I simply copied all the core folders and files over for mapserver and chameleon (since there is no installation or dll registration required for these). Installed a fresh copy of PHP. I had to edit both the cwc2.xml and php.ini to make changes such as: http://localhost and directory changes from /winnt/ to /windows/ I also had to ensure that my web user had read access to all the necessary files in the file system. In IIS, make sure you set r/w access to the necessary folders as well. And, ensure that the cgi_bin folder has read + execute access. I got it all working to a point, but then got the error with unable to load the DLL (php/extensions) error. After reviewing my install notes, I realized that I forgot to install the zip files that were embedded in the PHP/Mapscript zip installation file. Once I did this, it all worked fine. Some things to check: Since your map is partially starting, check your temp folder to see that it is successfully creating temp images. Also check that your session files are being created in php/sessiondata/ As for permissions - in the beginning, I thought that was my issue, but after I figured out the zip issue, I ensured that my web user only had read access to all the necessary files on the file system. Hope this leads you to your answer... Dave A. -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of J. Delfos Sent: Monday, February 09, 2004 5:35 AM To: chameleon@lists.maptools.org Subject: [Chameleon] Problem with moving Chameleon from 2K to XP.... Hi List, I developed a website with Chameleon 1.1, and got it working without any issues. I have managed to install it on a few different computers, with windows 2000 running IIS 5.0. Today I tried to install it on a computer with windows XP, running IIS 5.1, but it didn't work. The page does load, but the dhtmlmap image does not show up. In other words, the drawmap.php file does not run the way it's supposed to, because the URL of the dhtml map image does not return a map (tried loading it seperately using the source of the image). Legend works, including thumbnails for layers. Coordinates etc. are correct. Can anyone give me some clues as to what difference between XP and 2K causes this, and how to fix it? I have used the exact same files to install it (PHP 4.3.4, etc.), same DLL's, everything. I copied all my files from a site that worked, only changing URL's, because all my file paths are the same. The approach worked when porting between windows 2000 machines. Are there differences with regards to permissions between the two OS's? The only difference I spotted was that on this PC, windows was installed in "c:\windows", in stead of "c:\winnt". regards, Jacob __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From delfos18@yahoo.com Mon Feb 9 08:47:23 2004 Received: from web12102.mail.yahoo.com (web12102.mail.yahoo.com [216.136.172.22]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i19DlMaN007343 for ; Mon, 9 Feb 2004 08:47:23 -0500 Message-ID: <20040209134704.23578.qmail@web12102.mail.yahoo.com> Received: from [203.100.248.241] by web12102.mail.yahoo.com via HTTP; Mon, 09 Feb 2004 05:47:04 PST Date: Mon, 9 Feb 2004 05:47:04 -0800 (PST) From: "J. Delfos" Reply-To: delfos18@yahoo.com Subject: RE: [Chameleon] Problem with moving Chameleon from 2K to XP.... To: Dave Astolfo , chameleon@lists.maptools.org In-Reply-To: <000701c3ef0f$f9905700$3302a8c0@DGG> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Dave, Thanks for your reply. I checked, and PHP does create session data, and temporary files. Basically, everything works as supposed, except for the DHTML image. There is just one thing I have never fully understood; you mentioned you have to set read-access to all necessary files. This is what I got: My public directory is C:\web, so everything inside is already readible. Inside of it, I got my map file and templates. Also my temp directory for temporary images (and my session data). I have a virtual directory with execution permissions to c:\cwc2. However, I have not set any permissions to the directory with my data (c:\data). So far, I have never had to (on win 2k). Apparently, my scripts can access it. But is this different for Win XP? How can I set permissions for that folder, since it is neither in my public web-folder (server-root), not a virtual directory? I have a strong suspicion it cannot access this data directory, because it doesn't have permissions. I did not set up any permissions for my c:\proj directory either (never had to before). I'm quite certain I installed all the extensions... Jacob --- Dave Astolfo wrote: > Jacob, > > Although, I did not have the same problems, I did have issues with > installing in an XP / IIS machine. I will explain what I did, and it may > offer you some insight. > > Installed on: > Win XP Laptop w/ IIS > Chameleon 1.1 > > First: > since I had it all running on a Win 2k server, I simply copied all the > core folders and files over for mapserver and chameleon (since there is > no installation or dll registration required for these). > Installed a fresh copy of PHP. > I had to edit both the cwc2.xml and php.ini to make changes such as: > http://localhost and directory changes from /winnt/ to /windows/ > I also had to ensure that my web user had read access to all the > necessary files in the file system. > In IIS, make sure you set r/w access to the necessary folders as well. > And, ensure that the cgi_bin folder has read + execute access. > I got it all working to a point, but then got the error with unable to > load the DLL (php/extensions) error. After reviewing my install notes, > I realized that I forgot to install > the zip files that were embedded in the PHP/Mapscript zip installation > file. Once I did this, it all worked fine. > > Some things to check: > Since your map is partially starting, check your temp folder to see that > it is successfully creating temp images. > Also check that your session files are being created in php/sessiondata/ > As for permissions - in the beginning, I thought that was my issue, but > after I figured out the zip issue, I ensured that my web user only had > read access to all the necessary files on the file system. > > Hope this leads you to your answer... > > Dave A. > > -----Original Message----- > From: chameleon-admin@lists.maptools.org > [mailto:chameleon-admin@lists.maptools.org] On Behalf Of J. Delfos > Sent: Monday, February 09, 2004 5:35 AM > To: chameleon@lists.maptools.org > Subject: [Chameleon] Problem with moving Chameleon from 2K to XP.... > > > Hi List, > > I developed a website with Chameleon 1.1, and got it working without any > issues. I have managed to install it on a few different computers, with > windows 2000 running IIS 5.0. Today I tried to install it on a computer > with windows XP, running IIS 5.1, but it didn't work. The page does > load, but the dhtmlmap image does not show up. In other words, the > drawmap.php file does not run the way it's supposed to, because the URL > of the dhtml map image does not return a map (tried loading it > seperately using the source of the image). Legend works, including > thumbnails for layers. Coordinates etc. are correct. > > Can anyone give me some clues as to what difference between XP and 2K > causes this, and how to fix it? I have used the exact same files to > install it (PHP 4.3.4, etc.), same DLL's, everything. I copied all my > files from a site that worked, only changing URL's, because all my file > paths are the same. The approach worked when porting between windows > 2000 machines. Are there differences with regards to permissions between > the two OS's? The only difference I spotted was that on this PC, windows > was installed in "c:\windows", in stead of "c:\winnt". > > regards, > > Jacob > > __________________________________ > Do you Yahoo!? > Yahoo! Finance: Get your refund fast by filing online. > http://taxes.yahoo.com/filing.html > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html From pagameba@magma.ca Mon Feb 9 09:37:57 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i19EbvaN007522 for ; Mon, 9 Feb 2004 09:37:57 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i19EbuQl023386; Mon, 9 Feb 2004 09:37:56 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i19Ebnlh003050; Mon, 9 Feb 2004 09:37:56 -0500 Message-ID: <402799E7.4010809@magma.ca> Date: Mon, 09 Feb 2004 09:32:07 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: delfos18@yahoo.com CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Problem with moving Chameleon from 2K to XP.... References: <20040209103507.64133.qmail@web12107.mail.yahoo.com> In-Reply-To: <20040209103507.64133.qmail@web12107.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Jacob, I am suprised at this. I have had no problems on WinXP using Apache, so I suspect that your issue is related to subtle differences in IIS versions. Unfortunately I have little experience with IIS nor do I have access to the versions that you are using. I can only assume that you have tried all the usual things and that there is some deeper issue. If the page loads normally and the only problem is with the drawmap.php not returning an image, I would look in two places: 1. access to the session information. Chameleon uses PHP session management functionality and it is possible that IIS is preventing access to the session. You would have had to identify a place for php to store session information, that location must be accessible to the web server user. You can test to see if drawmap.php is having a problem re-instating the session by adding the following at the top of drawmap.php: "; print_r( $_SESSION ); echo ""; ?> You should see quite a lot of stuff printed out, if you don't then there is a problem. 2. drawmap.php has a problem of some sort. Normally grabbing the URL from the image and loading in a separate browser will result in some output that indicates the error. You can instrument drawmap.php with some echo statements to figure out where it is failing. One other thing occurred to me, did you install PROJ? That could cause problems too. Cheers and good luck, Paul J. Delfos wrote: > Hi List, > > I developed a website with Chameleon 1.1, and got it working without any > issues. I have managed to install it on a few different computers, with > windows 2000 running IIS 5.0. Today I tried to install it on a computer > with windows XP, running IIS 5.1, but it didn't work. The page does load, > but the dhtmlmap image does not show up. In other words, the drawmap.php > file does not run the way it's supposed to, because the URL of the dhtml > map image does not return a map (tried loading it seperately using the > source of the image). Legend works, including thumbnails for layers. > Coordinates etc. are correct. > > Can anyone give me some clues as to what difference between XP and 2K > causes this, and how to fix it? I have used the exact same files to > install it (PHP 4.3.4, etc.), same DLL's, everything. I copied all my > files from a site that worked, only changing URL's, because all my file > paths are the same. The approach worked when porting between windows 2000 > machines. Are there differences with regards to permissions between the > two OS's? The only difference I spotted was that on this PC, windows was > installed in "c:\windows", in stead of "c:\winnt". > > regards, > > Jacob > > __________________________________ > Do you Yahoo!? > Yahoo! Finance: Get your refund fast by filing online. > http://taxes.yahoo.com/filing.html > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From TENIERER@gov.ns.ca Mon Feb 9 12:44:43 2004 Received: from xmail1.gov.ns.ca ([198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i19HigaN008257 for ; Mon, 9 Feb 2004 12:44:43 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 9 Feb 2004 13:44:39 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 9 Feb 2004 13:44:39 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Mon, 09 Feb 2004 13:44:35 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Mon, 09 Feb 2004 13:44:15 -0400 From: "Rene Teniere " To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Guinevere: 2.0.13 ; Province of Nova Sco Subject: [Chameleon] Form Elements Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi All, Question: In my site the user enters a UID number linked to a shapefile database, returning the numeric results specified to a table. The user can then choose to view a sketch map of the area, whereby a new static chameleon map will open. Instead of the full extent, I want the map to display only the extent of the UID shapefile. The extents have already been passed to the new map page and are ready to be used. The question is, what would be the best way to incorporate the map extents in the code so that they will act upon the map when it is first opened? I was thinking of using the form elements, but I do not know how to go about it. Thanks, Rene Rene J.R. Teniere - BSc., D.GIS GIS Technician Nova Scotia Department of Natural Resources Forestry Division (GIS) - Truro Phone: (902) 893-5655 Mobile: (902) 209-8956 From jfournier@dmsolutions.ca Mon Feb 9 12:54:04 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i19Hs3aN008296 for ; Mon, 9 Feb 2004 12:54:04 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i19Hs15b002259; Mon, 9 Feb 2004 12:54:01 -0500 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i19HrxTI030498; Mon, 9 Feb 2004 12:54:00 -0500 Message-ID: <4027C940.5090202@dmsolutions.ca> Date: Mon, 09 Feb 2004 12:54:08 -0500 From: Jason Fournier Reply-To: jfournier@dmsolutions.ca User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rene Teniere CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Form Elements References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Rene, If I understand your requirements correctly I think you can use the applyBoundingBox javascript function. This function can be seen in BoundingBoxPopup.widget.php on line 229. Essentially, you pass the bbox coords to the function and it handles submitting and zooming. Jason Rene Teniere wrote: >Hi All, > >Question: In my site the user enters a UID number linked to a shapefile >database, returning the numeric results specified to a table. The user >can then choose to view a sketch map of the area, whereby a new static >chameleon map will open. Instead of the full extent, I want the map to >display only the extent of the UID shapefile. The extents have already >been passed to the new map page and are ready to be used. The question >is, what would be the best way to incorporate the map extents in the >code so that they will act upon the map when it is first opened? I was >thinking of using the form elements, but I do not know how to go about >it. > >Thanks, >Rene > >Rene J.R. Teniere - BSc., D.GIS >GIS Technician >Nova Scotia Department of Natural Resources >Forestry Division (GIS) - Truro > >Phone: (902) 893-5655 >Mobile: (902) 209-8956 >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > > -- ___________________________ Jason Fournier DM Solutions Group Application Developer Ottawa, ON 613.565.5056 x 18 jfournier@dmsolutions.ca From TENIERER@gov.ns.ca Mon Feb 9 13:50:16 2004 Received: from xmail1.gov.ns.ca ([198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i19IoFaN008469 for ; Mon, 9 Feb 2004 13:50:16 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 9 Feb 2004 14:50:12 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 9 Feb 2004 14:50:11 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Mon, 09 Feb 2004 14:50:03 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Mon, 09 Feb 2004 14:49:49 -0400 From: "Rene Teniere " To: Cc: Subject: Re: [Chameleon] Form Elements Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Is there any way to do it through HTML? All of my extents are through a JS variable. Here is my html file to give you reference: Parcel Sketch Map
From that, hopefully you can see what I'm getting at. This page is loaded up from a separate html file using window.open(). If I do use php, HTML form elements, or CWCJSAPI, could I do it within this page?? Rene >>> Jason Fournier 2004-02-09 1:54:08 PM >>> Hi Rene, If I understand your requirements correctly I think you can use the applyBoundingBox javascript function. This function can be seen in BoundingBoxPopup.widget.php on line 229. Essentially, you pass the bbox coords to the function and it handles submitting and zooming. Jason Rene Teniere wrote: >Hi All, > >Question: In my site the user enters a UID number linked to a shapefile >database, returning the numeric results specified to a table. The user >can then choose to view a sketch map of the area, whereby a new static >chameleon map will open. Instead of the full extent, I want the map to >display only the extent of the UID shapefile. The extents have already >been passed to the new map page and are ready to be used. The question >is, what would be the best way to incorporate the map extents in the >code so that they will act upon the map when it is first opened? I was >thinking of using the form elements, but I do not know how to go about >it. > >Thanks, >Rene > >Rene J.R. Teniere - BSc., D.GIS >GIS Technician >Nova Scotia Department of Natural Resources >Forestry Division (GIS) - Truro > >Phone: (902) 893-5655 >Mobile: (902) 209-8956 >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > > -- ___________________________ Jason Fournier DM Solutions Group Application Developer Ottawa, ON 613.565.5056 x 18 jfournier@dmsolutions.ca From TENIERER@gov.ns.ca Mon Feb 9 14:41:58 2004 Received: from xmail1.gov.ns.ca ([198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i19JfraN008819 for ; Mon, 9 Feb 2004 14:41:57 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 9 Feb 2004 15:41:43 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 9 Feb 2004 15:41:43 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Mon, 09 Feb 2004 15:41:38 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Mon, 09 Feb 2004 15:41:20 -0400 From: "Rene Teniere " To: , Cc: Subject: Re: [Chameleon] Form Elements Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I have added this piece of code under myOnLoad() function: function showExtents() { x1 = goCWCJSAPI.oMap.minx + 1000; y1 = goCWCJSAPI.oMap.miny + 1000; x2 = goCWCJSAPI.oMap.maxx - 1000; y2 = goCWCJSAPI.oMap.maxy - 1000; alert(x1+' '+y1+' '+x2+' '+y2); goCWCJSAPI.oMap.SetExtents(x1,y1,x2,y2); goCWCJSAPI.oMap.Refresh(); x1 = goCWCJSAPI.oMap.minx; y1 = goCWCJSAPI.oMap.miny; x2 = goCWCJSAPI.oMap.maxx; y2 = goCWCJSAPI.oMap.maxy; alert(x1+' '+y1+' '+x2+' '+y2); } I am using this as a test to try and get familiar with this method. It only works up till goCWCJSAPI.oMap.SetExtents(x1,y1,x2,y2);. Am I going about this the right way? Like I say, the ultimate goal is to load up the page using a set of custom extents each time. Rene >>> "Rene Teniere " 2004-02-09 2:49:49 PM >>> Is there any way to do it through HTML? All of my extents are through a JS variable. Here is my html file to give you reference: Parcel Sketch Map
From that, hopefully you can see what I'm getting at. This page is loaded up from a separate html file using window.open(). If I do use php, HTML form elements, or CWCJSAPI, could I do it within this page?? Rene >>> Jason Fournier 2004-02-09 1:54:08 PM >>> Hi Rene, If I understand your requirements correctly I think you can use the applyBoundingBox javascript function. This function can be seen in BoundingBoxPopup.widget.php on line 229. Essentially, you pass the bbox coords to the function and it handles submitting and zooming. Jason Rene Teniere wrote: >Hi All, > >Question: In my site the user enters a UID number linked to a shapefile >database, returning the numeric results specified to a table. The user >can then choose to view a sketch map of the area, whereby a new static >chameleon map will open. Instead of the full extent, I want the map to >display only the extent of the UID shapefile. The extents have already >been passed to the new map page and are ready to be used. The question >is, what would be the best way to incorporate the map extents in the >code so that they will act upon the map when it is first opened? I was >thinking of using the form elements, but I do not know how to go about >it. > >Thanks, >Rene > >Rene J.R. Teniere - BSc., D.GIS >GIS Technician >Nova Scotia Department of Natural Resources >Forestry Division (GIS) - Truro > >Phone: (902) 893-5655 >Mobile: (902) 209-8956 >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > > -- ___________________________ Jason Fournier DM Solutions Group Application Developer Ottawa, ON 613.565.5056 x 18 jfournier@dmsolutions.ca _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From delfos18@yahoo.com Mon Feb 9 19:12:03 2004 Received: from web12102.mail.yahoo.com (web12102.mail.yahoo.com [216.136.172.22]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i1A0C2aN009832 for ; Mon, 9 Feb 2004 19:12:03 -0500 Message-ID: <20040210001201.30480.qmail@web12102.mail.yahoo.com> Received: from [202.139.2.65] by web12102.mail.yahoo.com via HTTP; Mon, 09 Feb 2004 16:12:01 PST Date: Mon, 9 Feb 2004 16:12:01 -0800 (PST) From: "J. Delfos" Reply-To: delfos18@yahoo.com Subject: Re: [Chameleon] Problem with moving Chameleon from 2K to XP.... To: spencer@dmsolutions.ca Cc: chameleon@lists.maptools.org In-Reply-To: <402799E7.4010809@magma.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Paul, I did not forget to copy the proj directory (made that mistake before, won't do it again!). Also, when I did forget, I got a completely blank page. The only case in which I had similar symptoms (half a page) was when I forgot plugins. Does it matter if I dumped the PHP extensions into the windows system directory? The installation file for windows for IIS is somewhat different, and rather stripped. So I copy the extension DLL's from the full (apache) installation file, and put it in the system directory. Worked so far.... My sessions information sits in my public folder, in TMP. I checked, and it seems okay. It has access. I will try to do the debugging with drawmap as you suggested. Otherwise I'll install apache instead. regards, Jacob --- Paul Spencer wrote: > Jacob, > > I am suprised at this. I have had no problems on WinXP using Apache, so > > I suspect that your issue is related to subtle differences in IIS > versions. Unfortunately I have little experience with IIS nor do I have > > access to the versions that you are using. I can only assume that you > have tried all the usual things and that there is some deeper issue. If > > the page loads normally and the only problem is with the drawmap.php not > > returning an image, I would look in two places: > > 1. access to the session information. Chameleon uses PHP session > management functionality and it is possible that IIS is preventing > access to the session. You would have had to identify a place for php > to store session information, that location must be accessible to the > web server user. You can test to see if drawmap.php is having a problem > > re-instating the session by adding the following at the top of > drawmap.php: > > echo "
";
> print_r( $_SESSION );
> echo "
"; > ?> > > You should see quite a lot of stuff printed out, if you don't then there > > is a problem. > > 2. drawmap.php has a problem of some sort. Normally grabbing the URL > from the image and loading in a separate browser will result in some > output that indicates the error. You can instrument drawmap.php with > some echo statements to figure out where it is failing. > > One other thing occurred to me, did you install PROJ? That could cause > problems too. > > Cheers and good luck, > > Paul > > J. Delfos wrote: > > Hi List, > > > > I developed a website with Chameleon 1.1, and got it working without > any > > issues. I have managed to install it on a few different computers, > with > > windows 2000 running IIS 5.0. Today I tried to install it on a > computer > > with windows XP, running IIS 5.1, but it didn't work. The page does > load, > > but the dhtmlmap image does not show up. In other words, the > drawmap.php > > file does not run the way it's supposed to, because the URL of the > dhtml > > map image does not return a map (tried loading it seperately using the > > source of the image). Legend works, including thumbnails for layers. > > Coordinates etc. are correct. > > > > Can anyone give me some clues as to what difference between XP and 2K > > causes this, and how to fix it? I have used the exact same files to > > install it (PHP 4.3.4, etc.), same DLL's, everything. I copied all my > > files from a site that worked, only changing URL's, because all my > file > > paths are the same. The approach worked when porting between windows > 2000 > > machines. Are there differences with regards to permissions between > the > > two OS's? The only difference I spotted was that on this PC, windows > was > > installed in "c:\windows", in stead of "c:\winnt". > > > > regards, > > > > Jacob > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Finance: Get your refund fast by filing online. > > http://taxes.yahoo.com/filing.html > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > http://lists.maptools.org/mailman/listinfo/chameleon > > > > -- > ----------------------------------------------------------------- > |Paul Spencer spencer@dmsolutions.ca | > |-----------------------------------------------------------------| > |Applications & Software Development | > |DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html From delfos18@yahoo.com Mon Feb 9 23:53:32 2004 Received: from web12105.mail.yahoo.com (web12105.mail.yahoo.com [216.136.172.25]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i1A4rUaN010722 for ; Mon, 9 Feb 2004 23:53:31 -0500 Message-ID: <20040210045325.69972.qmail@web12105.mail.yahoo.com> Received: from [202.139.2.65] by web12105.mail.yahoo.com via HTTP; Mon, 09 Feb 2004 20:53:25 PST Date: Mon, 9 Feb 2004 20:53:25 -0800 (PST) From: "J. Delfos" Reply-To: delfos18@yahoo.com Subject: Re: [Chameleon] Problem with moving Chameleon from 2K to XP.... To: chameleon@lists.maptools.org In-Reply-To: <402799E7.4010809@magma.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Just a little update: I gave up on IIS. It must have to do with permissions for the data files, but I am not certain. I verified everything, and all should work. I have now installed Apache on that pc instead, which works fine. I would recommend Apache anyway, because with our Internet server (2k pro) we ran into the problem of a limitation of 10 users for Windows 2000 Professional (we moved that one to Apache now as well). Thanks for your help Jacob __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html From dastolfo1@cogeco.ca Tue Feb 10 09:17:24 2004 Received: from fep1.cogeco.net (smtp.cogeco.net [216.221.81.25]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i1AEHJaN013132 for ; Tue, 10 Feb 2004 09:17:24 -0500 Received: from DGG (d141-153-10.home.cgocable.net [24.141.153.10]) by fep1.cogeco.net (Postfix) with ESMTP id 3D6681743; Tue, 10 Feb 2004 09:17:17 -0500 (EST) From: "Dave Astolfo" To: , Subject: RE: [Chameleon] Problem with moving Chameleon from 2K to XP.... Date: Tue, 10 Feb 2004 09:17:07 -0500 Message-ID: <001101c3efe0$93f84520$3402a8c0@DGG> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <20040210045325.69972.qmail@web12105.mail.yahoo.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Jacob, Before you give up... To determine if the issue is permissions, do this: temporarily put your default web user (IUSR_machinename) in the Administrators group. Try your map. If it works, it is a permissions issue and you will have to determine what permissions are needed by your web user. For me it was: NTFS Permissions: read access to all data files and executables for mapserver etc. IIS: Read Execute for Mapserver in the cgi_bin folder read to all other folders Since your session data is being written by PHP, it must already obtain RW permissions to do so (this is something that just worked for me, I did not have to explicitly set the permissions). Good luck, Dave -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of J. Delfos Sent: Monday, February 09, 2004 11:53 PM To: chameleon@lists.maptools.org Subject: Re: [Chameleon] Problem with moving Chameleon from 2K to XP.... Just a little update: I gave up on IIS. It must have to do with permissions for the data files, but I am not certain. I verified everything, and all should work. I have now installed Apache on that pc instead, which works fine. I would recommend Apache anyway, because with our Internet server (2k pro) we ran into the problem of a limitation of 10 users for Windows 2000 Professional (we moved that one to Apache now as well). Thanks for your help Jacob __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From nicolas.fortin@ec.gc.ca Tue Feb 10 09:23:38 2004 Received: from ecstfexch00.quebec.int.ec.gc.ca (fwstl1-1.wul.qc.ec.gc.ca [205.211.132.24]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i1AENcaN013179 for ; Tue, 10 Feb 2004 09:23:38 -0500 Received: by ecstfexch00.quebec.int.ec.gc.ca with Internet Mail Service (5.5.2653.19) id <1FVNV6NY>; Tue, 10 Feb 2004 09:23:36 -0500 Message-ID: From: nicolas.fortin@ec.gc.ca To: dastolfo1@cogeco.ca, delfos18@yahoo.com, Chameleon@lists.maptools.org Subject: RE : [Chameleon] Problem with moving Chameleon from 2K to XP.... Date: Tue, 10 Feb 2004 09:20:59 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i1AENcaN013179 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, My method to resolve permission issue is with filemon from http://sysinternals.com/index.shtml With this tools, you can log all file access to any drive you want and see if it failed. Nick -----Message d'origine----- De : Dave Astolfo [mailto:dastolfo1@cogeco.ca] Envoyé : Tuesday, February 10, 2004 9:17 AM À : delfos18@yahoo.com; Chameleon@lists.maptools.org Objet : RE: [Chameleon] Problem with moving Chameleon from 2K to XP.... Jacob, Before you give up... To determine if the issue is permissions, do this: temporarily put your default web user (IUSR_machinename) in the Administrators group. Try your map. If it works, it is a permissions issue and you will have to determine what permissions are needed by your web user. For me it was: NTFS Permissions: read access to all data files and executables for mapserver etc. IIS: Read Execute for Mapserver in the cgi_bin folder read to all other folders Since your session data is being written by PHP, it must already obtain RW permissions to do so (this is something that just worked for me, I did not have to explicitly set the permissions). Good luck, Dave -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of J. Delfos Sent: Monday, February 09, 2004 11:53 PM To: chameleon@lists.maptools.org Subject: Re: [Chameleon] Problem with moving Chameleon from 2K to XP.... Just a little update: I gave up on IIS. It must have to do with permissions for the data files, but I am not certain. I verified everything, and all should work. I have now installed Apache on that pc instead, which works fine. I would recommend Apache anyway, because with our Internet server (2k pro) we ran into the problem of a limitation of 10 users for Windows 2000 Professional (we moved that one to Apache now as well). Thanks for your help Jacob __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From griffin@watersheds.ca Tue Feb 10 11:47:28 2004 Received: from mail.storm.ca (mail.storm.ca [209.87.239.66]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i1AGl9aN013875 for ; Tue, 10 Feb 2004 11:47:28 -0500 Received: from 192.168.0.130 (dp-216-106-105-83.storm.ca [216.106.105.83]) by mail.storm.ca (8.11.7+Sun/8.11.7) with ESMTP id i1AGkvY25932 for ; Tue, 10 Feb 2004 11:46:57 -0500 (EST) From: Aaron Griffin Reply-To: griffin@watersheds.ca To: "chameleon@lists.maptools.org" Content-Type: text/plain Organization: GNU Linux Message-Id: <1076413498.2478.2.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4-8mdk Date: Tue, 10 Feb 2004 11:46:01 +0000 Content-Transfer-Encoding: 7bit Subject: [Chameleon] Button Problems Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Whenever i try to use the PrintPopup Widget and the button icon provided with Chameleon 1.0.4, the button comes out as a little line that you have to click. Why is this happening? the button is a square 24x24 image. Is this a problem with the buttonizer? Aaron Griffin Centre for Sustainable Watersheds From TENIERER@gov.ns.ca Tue Feb 10 13:18:57 2004 Received: from xmail1.gov.ns.ca ([198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i1AIIqaN014208 for ; Tue, 10 Feb 2004 13:18:57 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Tue, 10 Feb 2004 14:18:29 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Tue, 10 Feb 2004 14:18:28 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Tue, 10 Feb 2004 14:18:19 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Tue, 10 Feb 2004 14:18:09 -0400 From: "Rene Teniere " To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Guinevere: 2.0.13 ; Province of Nova Sco Subject: [Chameleon] Layer Object Status Property Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi List, hopefully someone can answer me this question: For the code to dynamically turn on and off the layers: if($nTRTCDE[0]==228||$nTRTCDE[0]==227||$nTRTCDE[0]==220) { //Turn on the applicable layer $myLayer = "Planting"; $oLayer = $this->moMapObject->oMap->getLayerByName($myLayer); $oLayer->set("status", MS_ON); } The only status property that works for me is MS_DELETE, the others do not work. What's up with this? Rene Rene J.R. Teniere - BSc., D.GIS GIS Technician Nova Scotia Department of Natural Resources Forestry Division (GIS) - Truro Phone: (902) 893-5655 Mobile: (902) 209-8956 From matt.frost@mma1.com Tue Feb 10 13:43:03 2004 Received: from mail.mma1.com (mail.mma1.com [65.168.117.135]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i1AIh3aN014291 for ; Tue, 10 Feb 2004 13:43:03 -0500 Received: by mail.mma1.com (Postfix, from userid 65534) id 5B0792BE75; Tue, 10 Feb 2004 13:43:01 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.mma1.com (Postfix) with ESMTP id 1399B2C1F0 for ; Tue, 10 Feb 2004 13:43:01 -0500 (EST) Received: from mattf (porky.mma1.com [65.168.117.131]) by mail.mma1.com (Postfix) with ESMTP id D7C7D2BCF1 for ; Tue, 10 Feb 2004 13:43:00 -0500 (EST) Message-ID: <01aa01c3f005$b58d87c0$63c809c0@mattf> From: "Matt Frost" To: References: <20040210170001.13925.97192.Mailman@www.maptools.org> Date: Tue, 10 Feb 2004 13:43:00 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by AMaViS snapshot-20020531 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on mail.mma1.com X-Spam-Level: X-Spam-Status: No, hits=-4.1 required=5.0 tests=AWL,BAYES_00, MAILTO_TO_SPAM_ADDR,NORMAL_HTTP_TO_IP autolearn=no version=2.61 Subject: [Chameleon] QuickZoom widget Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Can someone cite an example of the syntax for QuickZoom? I'm not sure from the docs how to nest the view sub-tags. Thanks, Matt Frost http://65.168.117.134/matt/index.phtml ----- Original Message ----- From: To: Sent: Tuesday, February 10, 2004 12:00 PM Subject: Chameleon digest, Vol 1 #145 - 2 msgs > Send Chameleon mailing list submissions to > chameleon@lists.maptools.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.maptools.org/mailman/listinfo/chameleon > or, via email, send a message with subject or body 'help' to > chameleon-request@lists.maptools.org > > You can reach the person managing the list at > chameleon-admin@lists.maptools.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Chameleon digest..." > > > Today's Topics: > > 1. RE : [Chameleon] Problem with moving Chameleon from 2K to XP.... (nicolas.fortin@ec.gc.ca) > 2. Button Problems (Aaron Griffin) > > --__--__-- > > Message: 1 > From: nicolas.fortin@ec.gc.ca > To: dastolfo1@cogeco.ca, delfos18@yahoo.com, Chameleon@lists.maptools.org > Subject: RE : [Chameleon] Problem with moving Chameleon from 2K to XP.... > Date: Tue, 10 Feb 2004 09:20:59 -0500 > > > Hi, > > My method to resolve permission issue is with filemon from > http://sysinternals.com/index.shtml > > With this tools, you can log all file access to any drive you want and see > if it failed. > > Nick > > > -----Message d'origine----- > De : Dave Astolfo [mailto:dastolfo1@cogeco.ca] > Envoyé : Tuesday, February 10, 2004 9:17 AM > À : delfos18@yahoo.com; Chameleon@lists.maptools.org > Objet : RE: [Chameleon] Problem with moving Chameleon from 2K to XP.... > > > Jacob, > > Before you give up... To determine if the issue is permissions, do > this: > > temporarily put your default web user (IUSR_machinename) in the > Administrators group. Try your map. If it works, it is a permissions issue > and you will have to determine what permissions are needed by your web user. > For me it was: NTFS Permissions: read access to all data files and > executables for mapserver etc. > > IIS: > Read Execute for Mapserver in the cgi_bin folder > read to all other folders > > > Since your session data is being written by PHP, it must already obtain RW > permissions to do so (this is something that just worked for me, I did not > have to explicitly set the permissions). > > Good luck, > > Dave > > -----Original Message----- > From: chameleon-admin@lists.maptools.org > [mailto:chameleon-admin@lists.maptools.org] On Behalf Of J. Delfos > Sent: Monday, February 09, 2004 11:53 PM > To: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Problem with moving Chameleon from 2K to XP.... > > > Just a little update: I gave up on IIS. It must have to do with permissions > for the data files, but I am not certain. I verified everything, and all > should work. I have now installed Apache on that pc instead, which works > fine. I would recommend Apache anyway, because with our Internet server (2k > pro) we ran into the problem of a limitation of 10 users for Windows 2000 > Professional (we moved that one to Apache now as well). > > Thanks for your help > > Jacob > > __________________________________ > Do you Yahoo!? > Yahoo! Finance: Get your refund fast by filing online. > http://taxes.yahoo.com/filing.html > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > > --__--__-- > > Message: 2 > From: Aaron Griffin > Reply-To: griffin@watersheds.ca > To: "chameleon@lists.maptools.org" > Organization: GNU Linux > Date: Tue, 10 Feb 2004 11:46:01 +0000 > Subject: [Chameleon] Button Problems > > Whenever i try to use the PrintPopup Widget and the button icon provided > with Chameleon 1.0.4, the button comes out as a little line that you > have to click. Why is this happening? the button is a square 24x24 > image. > > Is this a problem with the buttonizer? > > Aaron Griffin > Centre for Sustainable Watersheds > > > > --__--__-- > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > > End of Chameleon Digest > From bartvde@xs4all.nl Tue Feb 10 13:58:32 2004 Received: from smtp-out3.xs4all.nl (smtp-out3.xs4all.nl [194.109.24.13]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i1AIwJaN014343 for ; Tue, 10 Feb 2004 13:58:32 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out3.xs4all.nl (8.12.10/8.12.10) with ESMTP id i1AIw6iE080630; Tue, 10 Feb 2004 19:58:06 +0100 (CET) To: Matt Frost , chameleon@lists.maptools.org Subject: Re: [Chameleon] QuickZoom widget Reply-To: bartvde@xs4all.nl References: <20040210170001.13925.97192.Mailman@www.maptools.org> <01aa01c3f005$b58d87c0$63c809c0@mattf> Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Tue, 10 Feb 2004 19:58:03 +0100 In-Reply-To: <01aa01c3f005$b58d87c0$63c809c0@mattf> User-Agent: Opera7.23/Win32 M2 build 3227 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Matt, I think it is not possible to nest the view XML elements. How would this look in a HTML select type of GUI anyway? What we do is define larger/group areas (with ---), and smaller areas, e.g. Best regards, Bart On Tue, 10 Feb 2004 13:43:00 -0500, Matt Frost wrote: > Can someone cite an example of the syntax for QuickZoom? I'm not sure > from > the docs how to nest the view sub-tags. > Thanks, > Matt Frost > http://65.168.117.134/matt/index.phtml > > ----- Original Message ----- > From: > To: > Sent: Tuesday, February 10, 2004 12:00 PM > Subject: Chameleon digest, Vol 1 #145 - 2 msgs > > >> Send Chameleon mailing list submissions to >> chameleon@lists.maptools.org >> >> To subscribe or unsubscribe via the World Wide Web, visit >> http://lists.maptools.org/mailman/listinfo/chameleon >> or, via email, send a message with subject or body 'help' to >> chameleon-request@lists.maptools.org >> >> You can reach the person managing the list at >> chameleon-admin@lists.maptools.org >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of Chameleon digest..." >> >> >> Today's Topics: >> >> 1. RE : [Chameleon] Problem with moving Chameleon from 2K to XP.... > (nicolas.fortin@ec.gc.ca) >> 2. Button Problems (Aaron Griffin) >> >> --__--__-- >> >> Message: 1 >> From: nicolas.fortin@ec.gc.ca >> To: dastolfo1@cogeco.ca, delfos18@yahoo.com, >> Chameleon@lists.maptools.org >> Subject: RE : [Chameleon] Problem with moving Chameleon from 2K to >> XP.... >> Date: Tue, 10 Feb 2004 09:20:59 -0500 >> >> >> Hi, >> >> My method to resolve permission issue is with filemon from >> http://sysinternals.com/index.shtml >> >> With this tools, you can log all file access to any drive you want and >> see >> if it failed. >> >> Nick >> >> >> -----Message d'origine----- >> De : Dave Astolfo [mailto:dastolfo1@cogeco.ca] >> Envoyé : Tuesday, February 10, 2004 9:17 AM >> À : delfos18@yahoo.com; Chameleon@lists.maptools.org >> Objet : RE: [Chameleon] Problem with moving Chameleon from 2K to XP.... >> >> >> Jacob, >> >> Before you give up... To determine if the issue is permissions, do >> this: >> >> temporarily put your default web user (IUSR_machinename) in the >> Administrators group. Try your map. If it works, it is a permissions > issue >> and you will have to determine what permissions are needed by your web > user. >> For me it was: NTFS Permissions: read access to all data files and >> executables for mapserver etc. >> >> IIS: >> Read Execute for Mapserver in the cgi_bin folder >> read to all other folders >> >> >> Since your session data is being written by PHP, it must already obtain >> RW >> permissions to do so (this is something that just worked for me, I did >> not >> have to explicitly set the permissions). >> >> Good luck, >> >> Dave >> >> -----Original Message----- >> From: chameleon-admin@lists.maptools.org >> [mailto:chameleon-admin@lists.maptools.org] On Behalf Of J. Delfos >> Sent: Monday, February 09, 2004 11:53 PM >> To: chameleon@lists.maptools.org >> Subject: Re: [Chameleon] Problem with moving Chameleon from 2K to XP.... >> >> >> Just a little update: I gave up on IIS. It must have to do with > permissions >> for the data files, but I am not certain. I verified everything, and all >> should work. I have now installed Apache on that pc instead, which works >> fine. I would recommend Apache anyway, because with our Internet server > (2k >> pro) we ran into the problem of a limitation of 10 users for Windows >> 2000 >> Professional (we moved that one to Apache now as well). >> >> Thanks for your help >> >> Jacob >> >> __________________________________ >> Do you Yahoo!? >> Yahoo! Finance: Get your refund fast by filing online. >> http://taxes.yahoo.com/filing.html >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> >> >> --__--__-- >> >> Message: 2 >> From: Aaron Griffin >> Reply-To: griffin@watersheds.ca >> To: "chameleon@lists.maptools.org" >> Organization: GNU Linux >> Date: Tue, 10 Feb 2004 11:46:01 +0000 >> Subject: [Chameleon] Button Problems >> >> Whenever i try to use the PrintPopup Widget and the button icon provided >> with Chameleon 1.0.4, the button comes out as a little line that you >> have to click. Why is this happening? the button is a square 24x24 >> image. >> >> Is this a problem with the buttonizer? >> >> Aaron Griffin >> Centre for Sustainable Watersheds >> >> >> >> --__--__-- >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> >> >> End of Chameleon Digest >> > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- From bartvde@xs4all.nl Tue Feb 10 14:04:00 2004 Received: from smtp-out3.xs4all.nl (smtp-out3.xs4all.nl [194.109.24.13]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i1AJ3xaN014381 for ; Tue, 10 Feb 2004 14:04:00 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out3.xs4all.nl (8.12.10/8.12.10) with ESMTP id i1AJ3qZ9085467; Tue, 10 Feb 2004 20:03:52 +0100 (CET) Cc: "chameleon@lists.maptools.org" To: Matt Frost Subject: Re: [Chameleon] QuickZoom widget Reply-To: bartvde@xs4all.nl References: <20040210170001.13925.97192.Mailman@www.maptools.org> <01aa01c3f005$b58d87c0$63c809c0@mattf> <01b001c3f008$2ef94ac0$63c809c0@mattf> Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Tue, 10 Feb 2004 20:03:49 +0100 In-Reply-To: <01b001c3f008$2ef94ac0$63c809c0@mattf> User-Agent: Opera7.23/Win32 M2 build 3227 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Matt, yes they go inside the widget definition block, e.g. Best regards, Bart On Tue, 10 Feb 2004 14:00:42 -0500, Matt Frost wrote: > Thanks, Bart. Do the view tags go inside the widget definition block? > That's > what I meant by nesting. The dashes are a nice idea. > > ----- Original Message ----- > From: "Bart van den Eijnden" > To: "Matt Frost" ; > Sent: Tuesday, February 10, 2004 1:58 PM > Subject: Re: [Chameleon] QuickZoom widget > > >> Hi Matt, >> >> I think it is not possible to nest the view XML elements. How would this >> look in a HTML select type of GUI anyway? >> >> What we do is define larger/group areas (with ---), and smaller areas, > e.g. >> >> > maxx="77238" >> maxy="388870" SRS="epsg:28992"/> >> > maxy="378385" >> SRS="epsg:28992"/> >> > maxy="376468" >> SRS="epsg:28992"/> >> > maxy="385900" SRS="epsg:28992"/> >> >> Best regards, >> Bart >> >> On Tue, 10 Feb 2004 13:43:00 -0500, Matt Frost > wrote: >> >> > Can someone cite an example of the syntax for QuickZoom? I'm not sure >> > from >> > the docs how to nest the view sub-tags. >> > Thanks, >> > Matt Frost >> > http://65.168.117.134/matt/index.phtml >> > >> > ----- Original Message ----- >> > From: >> > To: >> > Sent: Tuesday, February 10, 2004 12:00 PM >> > Subject: Chameleon digest, Vol 1 #145 - 2 msgs >> > >> > >> >> Send Chameleon mailing list submissions to >> >> chameleon@lists.maptools.org >> >> >> >> To subscribe or unsubscribe via the World Wide Web, visit >> >> http://lists.maptools.org/mailman/listinfo/chameleon >> >> or, via email, send a message with subject or body 'help' to >> >> chameleon-request@lists.maptools.org >> >> >> >> You can reach the person managing the list at >> >> chameleon-admin@lists.maptools.org >> >> >> >> When replying, please edit your Subject line so it is more specific >> >> than "Re: Contents of Chameleon digest..." >> >> >> >> >> >> Today's Topics: >> >> >> >> 1. RE : [Chameleon] Problem with moving Chameleon from 2K to >> XP.... >> > (nicolas.fortin@ec.gc.ca) >> >> 2. Button Problems (Aaron Griffin) >> >> >> >> --__--__-- >> >> >> >> Message: 1 >> >> From: nicolas.fortin@ec.gc.ca >> >> To: dastolfo1@cogeco.ca, delfos18@yahoo.com, >> >> Chameleon@lists.maptools.org >> >> Subject: RE : [Chameleon] Problem with moving Chameleon from 2K to >> >> XP.... >> >> Date: Tue, 10 Feb 2004 09:20:59 -0500 >> >> >> >> >> >> Hi, >> >> >> >> My method to resolve permission issue is with filemon from >> >> http://sysinternals.com/index.shtml >> >> >> >> With this tools, you can log all file access to any drive you want >> and >> >> see >> >> if it failed. >> >> >> >> Nick >> >> >> >> >> >> -----Message d'origine----- >> >> De : Dave Astolfo [mailto:dastolfo1@cogeco.ca] >> >> Envoyé : Tuesday, February 10, 2004 9:17 AM >> >> À : delfos18@yahoo.com; Chameleon@lists.maptools.org >> >> Objet : RE: [Chameleon] Problem with moving Chameleon from 2K to >> XP.... >> >> >> >> >> >> Jacob, >> >> >> >> Before you give up... To determine if the issue is permissions, do >> >> this: >> >> >> >> temporarily put your default web user (IUSR_machinename) in the >> >> Administrators group. Try your map. If it works, it is a permissions >> > issue >> >> and you will have to determine what permissions are needed by your >> web >> > user. >> >> For me it was: NTFS Permissions: read access to all data files and >> >> executables for mapserver etc. >> >> >> >> IIS: >> >> Read Execute for Mapserver in the cgi_bin folder >> >> read to all other folders >> >> >> >> >> >> Since your session data is being written by PHP, it must already >> obtain >> >> RW >> >> permissions to do so (this is something that just worked for me, I >> did >> >> not >> >> have to explicitly set the permissions). >> >> >> >> Good luck, >> >> >> >> Dave >> >> >> >> -----Original Message----- >> >> From: chameleon-admin@lists.maptools.org >> >> [mailto:chameleon-admin@lists.maptools.org] On Behalf Of J. Delfos >> >> Sent: Monday, February 09, 2004 11:53 PM >> >> To: chameleon@lists.maptools.org >> >> Subject: Re: [Chameleon] Problem with moving Chameleon from 2K to > XP.... >> >> >> >> >> >> Just a little update: I gave up on IIS. It must have to do with >> > permissions >> >> for the data files, but I am not certain. I verified everything, and > all >> >> should work. I have now installed Apache on that pc instead, which > works >> >> fine. I would recommend Apache anyway, because with our Internet >> server >> > (2k >> >> pro) we ran into the problem of a limitation of 10 users for Windows >> >> 2000 >> >> Professional (we moved that one to Apache now as well). >> >> >> >> Thanks for your help >> >> >> >> Jacob >> >> >> >> __________________________________ >> >> Do you Yahoo!? >> >> Yahoo! Finance: Get your refund fast by filing online. >> >> http://taxes.yahoo.com/filing.html >> >> _______________________________________________ >> >> Chameleon mailing list >> >> Chameleon@lists.maptools.org >> >> http://lists.maptools.org/mailman/listinfo/chameleon >> >> >> >> >> >> _______________________________________________ >> >> Chameleon mailing list >> >> Chameleon@lists.maptools.org >> >> http://lists.maptools.org/mailman/listinfo/chameleon >> >> >> >> >> >> --__--__-- >> >> >> >> Message: 2 >> >> From: Aaron Griffin >> >> Reply-To: griffin@watersheds.ca >> >> To: "chameleon@lists.maptools.org" >> >> Organization: GNU Linux >> >> Date: Tue, 10 Feb 2004 11:46:01 +0000 >> >> Subject: [Chameleon] Button Problems >> >> >> >> Whenever i try to use the PrintPopup Widget and the button icon > provided >> >> with Chameleon 1.0.4, the button comes out as a little line that you >> >> have to click. Why is this happening? the button is a square 24x24 >> >> image. >> >> >> >> Is this a problem with the buttonizer? >> >> >> >> Aaron Griffin >> >> Centre for Sustainable Watersheds >> >> >> >> >> >> >> >> --__--__-- >> >> >> >> _______________________________________________ >> >> Chameleon mailing list >> >> Chameleon@lists.maptools.org >> >> http://lists.maptools.org/mailman/listinfo/chameleon >> >> >> >> >> >> End of Chameleon Digest >> >> >> > >> > _______________________________________________ >> > Chameleon mailing list >> > Chameleon@lists.maptools.org >> > http://lists.maptools.org/mailman/listinfo/chameleon >> > >> >> >> >> -- >> >> > > -- From dastolfo1@cogeco.ca Tue Feb 10 17:20:45 2004 Received: from fep1.cogeco.net (smtp.cogeco.net [216.221.81.25]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i1AMKdaN015057 for ; Tue, 10 Feb 2004 17:20:44 -0500 Received: from DGG (d141-153-10.home.cgocable.net [24.141.153.10]) by fep1.cogeco.net (Postfix) with ESMTP id 250191017 for ; Tue, 10 Feb 2004 17:20:31 -0500 (EST) From: "Dave Astolfo" To: Date: Tue, 10 Feb 2004 17:20:21 -0500 Message-ID: <000601c3f024$15711fd0$3402a8c0@DGG> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: Importance: Normal Subject: [Chameleon] Steps for creating your own widget? Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, I am going to create a widget. I have read the documentation on doing so, but am still a little unclear on how to go through the steps. Can anyone provide a little 101 on this topic? Questions: 1)Upon looking at other widgets, some seem to have a common set of functions in them, is there a minimum set of functions that are required? If so, which ones? 2)Once the widget code (php) file is created, how do you "tell" Chameleon or your template that it is available for use so that when I call JSFunctionCall(parameter1, parameter2, parameterN) Thanks in advance, Dave From pagameba@magma.ca Tue Feb 10 22:09:29 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i1B39SaN016020 for ; Tue, 10 Feb 2004 22:09:29 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i1B39PxY019882; Tue, 10 Feb 2004 22:09:25 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i1B39LYs002637; Tue, 10 Feb 2004 22:09:25 -0500 Message-ID: <40299CDA.4020700@magma.ca> Date: Tue, 10 Feb 2004 22:09:14 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dave Astolfo CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Steps for creating your own widget? References: <000601c3f024$15711fd0$3402a8c0@DGG> In-Reply-To: <000601c3f024$15711fd0$3402a8c0@DGG> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Dave, there is no widget developers guide (yet), I have started one but it is still too incomplete to send out. I hope to have it at least to a state where I could send it to you in a couple of weeks. The widgets are built on an 'object-oriented' system and Widget.php defines the base class for all other widgets (CWCWidget is the name of the class). CWCWidget methods are those that are used by the Chameleon core. Almost all have some default implementation that may or may not be useful. If there is any substantial amount of code in a CWCWidget method, its probably not a good idea to override it :) Many of the methods have very little in them, these are the candidates for you to replace (override) with your own implementation. A widget file must be named WidgetName.widget.php. The class defined in the widget must be exactly WidgetName (case sensitive). The widget class must extend CWCWidget or some other widget that ultimately extends CWCWidget. The class must define a constructor that is called WidgetName (a constructor is the same name as the class). You must declare widget attributes in the constructor, and there are some other things you may wish to do there too. Many widgets override the InitDefaults method to obtain values coming from the template (via the $this->maParams array ... basically anything that was declared as an attribute should be tested and assigned to class variables here). Most widgets will want to overload ParseURL ... this is called for every widget on every page submit ... which gives you a chance to make changes to the map object based on input from the user ($this->moURLArray). Most widgets will overload at least some of the GetXXXX methods. Finally, DrawPublish is the method to output HTML to the page. That's a very broad overview, but hopefully will get you started and, of course, there are lots of examples. Good Luck! Paul Dave Astolfo wrote: > Hi, > > I am going to create a widget. I have read the documentation on doing > so, but am still a little unclear on how to go through the steps. Can > anyone provide a little 101 on this topic? > > Questions: > > 1)Upon looking at other widgets, some seem to have a common set of > functions in them, is there a minimum set of functions that are > required? If so, which ones? > > 2)Once the widget code (php) file is created, how do you "tell" > Chameleon or your template that it is available for use so that when I > call > 3)Is there a specific mechanism for including JavaScript in a widget? > What I need to so is similar to the following: > > (in pseudocode) > > > do php stuff here > > ?> > > > JSFunctionCall(parameter1, parameter2, parameterN) > > > Thanks in advance, > > > Dave > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From jeff@planyukon.ca Wed Feb 11 16:31:38 2004 Received: from athena-landuse.polarcom.com (athena-landuse.polarcom.com [199.247.156.83]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i1BLVKaN020482 for ; Wed, 11 Feb 2004 16:31:37 -0500 Received: (qmail 18437 invoked from network); 11 Feb 2004 21:31:16 -0000 Received: from machine2.anydomain.net (HELO planyukon.ca) (192.168.1.2) by athena-landuse.polarcom.com with SMTP; 11 Feb 2004 21:31:16 -0000 Message-ID: <402A9F56.7EF3E70B@planyukon.ca> Date: Wed, 11 Feb 2004 13:32:06 -0800 From: Jeff Hamm Organization: Yukon Land Use Planning Council X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: chameleon@lists.maptools.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [Chameleon] Changes to Map Extents not used by PrintWidget? Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: The current behaviour of my PrintWidget appears to be only to print ("Printer Friendly Map") the initial map extents/content. For example, if a user creates a 'custom' view of the map by toggling themes and zooming in, then clicks the "PrintWidget" Button, the current extent and layer_status parameters are not being used by (passed to?) PrintWidget. An image of the map is produced at the initally loaded map extent (notwithstanding the legend shortcomings). Is this to be expected with the (original)PrintWidget? If not, what isn't happening? Are the initial parameters being retained? To reproduce the behaviour, check out atlas.planyukon.ca/chameleon/htdocs TIA, Jeff Hamm Yukon Land Use Planning Council Yukon, CANADA PS: Thanks to Rene for your suggested fix re: scale bar in the Pringwidget! From wbronsema@dmsolutions.ca Thu Feb 12 07:09:40 2004 Received: from tomts36-srv.bellnexxia.net (tomts36-srv.bellnexxia.net [209.226.175.93]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i1CC9eaN024069 for ; Thu, 12 Feb 2004 07:09:40 -0500 Received: from dmsolutions.ca ([209.226.118.88]) by tomts36-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040212120934.XSCR1799.tomts36-srv.bellnexxia.net@dmsolutions.ca>; Thu, 12 Feb 2004 07:09:34 -0500 Message-ID: <402B6CF9.3020902@dmsolutions.ca> Date: Thu, 12 Feb 2004 07:09:29 -0500 From: "William A. Bronsema" Reply-To: wbronsema@dmsolutions.ca Organization: DM Solutions Group Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jeff Hamm CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Changes to Map Extents not used by PrintWidget? References: <402A9F56.7EF3E70B@planyukon.ca> In-Reply-To: <402A9F56.7EF3E70B@planyukon.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Thanks Jeff, There certainly appears to be something amiss here. The Print Widget should definitely give you a snapshot of your current map state including layer visibility, extent, etc. I've filed this as a bug and we'll take a look at it when we get a chance. Regards, Bill Jeff Hamm wrote: > The current behaviour of my PrintWidget appears to be only to print > ("Printer Friendly Map") the initial map extents/content. For example, > if a user creates a 'custom' view of the map by toggling themes and > zooming in, then clicks the "PrintWidget" Button, the current extent and > layer_status parameters are not being used by (passed to?) PrintWidget. > An image of the map is produced at the initally loaded map extent > (notwithstanding the legend shortcomings). > > Is this to be expected with the (original)PrintWidget? If not, what > isn't happening? Are the initial parameters being retained? > To reproduce the behaviour, check out > atlas.planyukon.ca/chameleon/htdocs > > TIA, > > Jeff Hamm > Yukon Land Use Planning Council > Yukon, CANADA > > PS: Thanks to Rene for your suggested fix re: scale bar in the > Pringwidget! > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- William A. Bronsema, C.E.T. Applications Developer, DM Solutions Group Inc. http://www.dmsolutions.ca email: wbronsema@dmsolutions.ca Phone: (613) 565-5056 ext.25 Fax : (613) 565-0925 ____________________________________ From pagurekd@agr.gc.ca Thu Feb 12 13:00:14 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i1CI0EaN025735 for ; Thu, 12 Feb 2004 13:00:14 -0500 Received: from agrinold.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i1CHbZhg026396 for ; Thu, 12 Feb 2004 12:37:36 -0500 Received: from ncrxem6 (webshieldout.agr.gc.ca [10.117.15.110]) by agrinold.agr.gc.ca (8.11.6/8.11.6) with SMTP id i1CIvBR09236 for ; Thu, 12 Feb 2004 13:57:11 -0500 Received: From agr.gc.ca ([10.117.15.106]) by ncrxem6 (WebShield SMTP v4.5 MR1a); id 1076608966281; Thu, 12 Feb 2004 13:02:46 -0500 Received: from AGCAN-MTA by agr.gc.ca with Novell_GroupWise; Thu, 12 Feb 2004 12:59:21 -0500 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.2 Date: Thu, 12 Feb 2004 12:59:15 -0500 From: "Debbie Pagurek" To: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_547532E9.0E6F5527" Subject: [Chameleon] proper use of widgets / doc question Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=_547532E9.0E6F5527 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi all, OK, I've finally jumped right in to Chameleon 1.1 No problems setting up, got the sample running fine, got my own mapfile working fine, added the query widget to the app just fine. Now I want to get some layer control, and I also want to see the legend. I have a legend template working from my mapfile just fine. So I added the LegendTemplate widget. The button is not appearing correctly (broken image, no alternative tag for it either) but if I click on it, I am getting the popup showing the legend. Here is the LegendTemplate tag I put in. Where can I find the proper widget documentation ;-) is it out there anywhere? What is wrong with this tag? Just need some help getting going with these widgets and figuring out what the parameters for the widgets are. The docs that are in the html directory on the install are for CWC2, not chameleon, right?. Any hints? Thanks, D. Pagurek --=_547532E9.0E6F5527 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Description: HTML
Hi all,
OK, I've finally jumped right in to Chameleon 1.1
No problems setting up, got the sample running fine, got my own mapfile working fine, added the query widget to the app just fine.
 
Now I want to get some layer control, and I also want to see the legend.  I have a legend template working from my mapfile just fine.  So I added the LegendTemplate widget.  The button is not appearing correctly (broken image, no alternative tag for it either) but if I click on it, I am getting the popup showing the legend.  Here is the LegendTemplate tag I put in.  Where can I find the proper widget documentation ;-) is it out there anywhere?
 
What is wrong with this tag?
<td><CWC2 TYPE="LegendTemplate" VISIBLE="TRUE" EMBEDDED="FALSE" TEMPLATE="C:\ms4w\apps\chameleon-1.1alpha-20031031\htdocs\quebecatlas\map\legend.html" POPUPHEIGHT="400" POPUPWIDTH="400"/></td>
 
Just need some help getting going with these widgets and figuring out what the parameters for the widgets are.  The docs that are in the html directory on the install are for CWC2, not chameleon, right?.
Any hints?
 
Thanks,
D. Pagurek
--=_547532E9.0E6F5527-- From pagameba@magma.ca Thu Feb 12 13:32:42 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i1CIWgaN025886 for ; Thu, 12 Feb 2004 13:32:42 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i1CIWeiI013627; Thu, 12 Feb 2004 13:32:40 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i1CIWT1N030887; Thu, 12 Feb 2004 13:32:40 -0500 Message-ID: <402BC6AE.1040707@magma.ca> Date: Thu, 12 Feb 2004 13:32:14 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Debbie Pagurek CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] proper use of widgets / doc question References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: that's right Debbie, the docs are starting to get pretty out of date right now ... and we are working to revive them, hopefully something useful soon. If you want the legend template to show a button, you must have a TextButton shared resource in your page and provide an image and label. I think you are using an older (older than cvs ;)) version and the attributes have changed. I haven't published a download with the newest stuff yet because its not quite ready ... but I'll let you know when it is and I'll recommend that every switch since there will be no official release as you have it now. The newest stuff is getting pretty stable now, another week or so should give us a beta I think. Cheers, Paul Debbie Pagurek wrote: > Hi all, > OK, I've finally jumped right in to Chameleon 1.1 > No problems setting up, got the sample running fine, got my own mapfile > working fine, added the query widget to the app just fine. > > Now I want to get some layer control, and I also want to see the > legend. I have a legend template working from my mapfile just fine. So > I added the LegendTemplate widget. The button is not appearing > correctly (broken image, no alternative tag for it either) but if I > click on it, I am getting the popup showing the legend. Here is the > LegendTemplate tag I put in. Where can I find the proper widget > documentation ;-) is it out there anywhere? > > What is wrong with this tag? > TEMPLATE="C:\ms4w\apps\chameleon-1.1alpha-20031031\htdocs\quebecatlas\map\legend.html" > POPUPHEIGHT="400" POPUPWIDTH="400"/> > > Just need some help getting going with these widgets and figuring out > what the parameters for the widgets are. The docs that are in the html > directory on the install are for CWC2, not chameleon, right?. > Any hints? > > Thanks, > D. Pagurek -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From matt.frost@mma1.com Thu Feb 12 14:42:36 2004 Received: from mail.mma1.com (mail.mma1.com [65.168.117.135]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i1CJgYaN026212 for ; Thu, 12 Feb 2004 14:42:35 -0500 Received: by mail.mma1.com (Postfix, from userid 65534) id B5FE42D48B; Thu, 12 Feb 2004 14:42:24 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.mma1.com (Postfix) with ESMTP id 700C62D73B for ; Thu, 12 Feb 2004 14:42:24 -0500 (EST) Received: from mattf (porky.mma1.com [65.168.117.131]) by mail.mma1.com (Postfix) with ESMTP id 4186F2CC87 for ; Thu, 12 Feb 2004 14:42:24 -0500 (EST) Message-ID: <006f01c3f1a0$562d3310$63c809c0@mattf> From: "Matt Frost" To: References: <20040212170001.25476.35389.Mailman@www.maptools.org> Date: Thu, 12 Feb 2004 14:42:23 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by AMaViS snapshot-20020531 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on mail.mma1.com X-Spam-Level: X-Spam-Status: No, hits=-4.2 required=5.0 tests=AWL,BAYES_00, NORMAL_HTTP_TO_IP autolearn=no version=2.61 Subject: [Chameleon] map no longer displaying Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I fiddled with my map file today, and after my edits rendered it invalid, I tried to revert to the version that worked this morning. Something has gone wrong- so badly wrong that the map image is no longer being created, at least as far as I can tell. There's only a pixel placeholder where the xyxyxyxyx.png file ought to be. Also, the QuickZoom selector that worked so nicely this morning cause the entire page to disappear- no source code at all is returned. Any ideas? Here's the URL if you want to have a look at the problem: http://65.168.117.134/matt/index.phtml ----- Original Message ----- From: To: Sent: Thursday, February 12, 2004 12:00 PM Subject: Chameleon digest, Vol 1 #147 - 2 msgs > Send Chameleon mailing list submissions to > chameleon@lists.maptools.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.maptools.org/mailman/listinfo/chameleon > or, via email, send a message with subject or body 'help' to > chameleon-request@lists.maptools.org > > You can reach the person managing the list at > chameleon-admin@lists.maptools.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Chameleon digest..." > > > Today's Topics: > > 1. Changes to Map Extents not used by PrintWidget? (Jeff Hamm) > 2. Re: Changes to Map Extents not used by PrintWidget? (William A. Bronsema) > > --__--__-- > > Message: 1 > Date: Wed, 11 Feb 2004 13:32:06 -0800 > From: Jeff Hamm > Organization: Yukon Land Use Planning Council > To: chameleon@lists.maptools.org > Subject: [Chameleon] Changes to Map Extents not used by PrintWidget? > > The current behaviour of my PrintWidget appears to be only to print > ("Printer Friendly Map") the initial map extents/content. For example, > if a user creates a 'custom' view of the map by toggling themes and > zooming in, then clicks the "PrintWidget" Button, the current extent and > layer_status parameters are not being used by (passed to?) PrintWidget. > An image of the map is produced at the initally loaded map extent > (notwithstanding the legend shortcomings). > > Is this to be expected with the (original)PrintWidget? If not, what > isn't happening? Are the initial parameters being retained? > To reproduce the behaviour, check out > atlas.planyukon.ca/chameleon/htdocs > > TIA, > > Jeff Hamm > Yukon Land Use Planning Council > Yukon, CANADA > > PS: Thanks to Rene for your suggested fix re: scale bar in the > Pringwidget! > > > > > --__--__-- > > Message: 2 > Date: Thu, 12 Feb 2004 07:09:29 -0500 > From: "William A. Bronsema" > Reply-To: wbronsema@dmsolutions.ca > Organization: DM Solutions Group Inc. > To: Jeff Hamm > CC: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Changes to Map Extents not used by PrintWidget? > > Thanks Jeff, > > There certainly appears to be something amiss here. The Print Widget > should definitely give you a snapshot of your current map state > including layer visibility, extent, etc. I've filed this as a bug and > we'll take a look at it when we get a chance. > > Regards, > Bill > > Jeff Hamm wrote: > > The current behaviour of my PrintWidget appears to be only to print > > ("Printer Friendly Map") the initial map extents/content. For example, > > if a user creates a 'custom' view of the map by toggling themes and > > zooming in, then clicks the "PrintWidget" Button, the current extent and > > layer_status parameters are not being used by (passed to?) PrintWidget. > > An image of the map is produced at the initally loaded map extent > > (notwithstanding the legend shortcomings). > > > > Is this to be expected with the (original)PrintWidget? If not, what > > isn't happening? Are the initial parameters being retained? > > To reproduce the behaviour, check out > > atlas.planyukon.ca/chameleon/htdocs > > > > TIA, > > > > Jeff Hamm > > Yukon Land Use Planning Council > > Yukon, CANADA > > > > PS: Thanks to Rene for your suggested fix re: scale bar in the > > Pringwidget! > > > > > > > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > http://lists.maptools.org/mailman/listinfo/chameleon > > > > -- > > William A. Bronsema, C.E.T. > Applications Developer, > DM Solutions Group Inc. > > http://www.dmsolutions.ca > email: wbronsema@dmsolutions.ca > Phone: (613) 565-5056 ext.25 > Fax : (613) 565-0925 > ____________________________________ > > > > --__--__-- > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > > End of Chameleon Digest > From thowlett@whistlermuseum.org Sun Feb 15 17:00:57 2004 Received: from smtp.inetwave.com (smtp1000.radiant.net [216.21.149.210]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i1FM0taN018743 for ; Sun, 15 Feb 2004 17:00:57 -0500 Message-Id: <200402152200.i1FM0taN018743@www.maptools.org> Received: (qmail 8123 invoked from network); 15 Feb 2004 21:51:41 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp1000.radiant.net with SMTP; 15 Feb 2004 21:51:41 -0000 Reply-To: From: "Tracy Howlett" To: Date: Sun, 15 Feb 2004 14:00:46 -0800 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <7CDD7B94357FD5119E800002A537C46E0B8B7251@s5-ccr-r1.ccrs.nrcan.gc.ca> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPbplJmPjx8ApoATwGifPvYmV6AWQYaFiIg Subject: [Chameleon] Query Results Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hello, I have my Query Tool working in principle but I can't actually get it to return any information. I have put the DUMP, TEMPLATE and STATUS (on) variables in my mapfile and all shapefiles have an attribute table. When I click on any one of them using my Information tool I just get 'no results returned for...'. How can I tell Chameleon which fields to return? Also, what if I have a URL that I'd like to link to in the results table - can I have a field which is displayed and then another field which actually contains the link without having to show it? For example I want the query results to say 'click here for more info' and then link to a url which is stored in the associated dbf of the shapefile. As always your thoughts are much appreciated. Tracy -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Jean-Francois.Doyon@CCRS.NRCan.gc.ca Sent: Thursday, January 15, 2004 12:28 PM To: jeffb@erlandsen.com; chameleon@lists.maptools.org Subject: RE: [Chameleon] Install problems Jeff, The demo uses a map that is in a non standard EPSG projection. Find your PROJ's "epsg" file (Most likely in /usr/local/share/proj/), and add the following at the bottom: # WGS84 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) <42101> +proj=lcc +ellps=WGS84 +lat_0=0 +lon_0=-95 +lat_1=49 +lat_2=77 +x_0=0 +y_0=-8000000 +datum=WGS84 +units=m no_defs <> # NAD83 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) (This is the standard Atlas of Canada data's projection) <42304> +proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat_1=49 +lat_2=77 +datum=NAD83 +units=m no_defs <> (There's 2 common canadian projections here, forget exactly which one the demo uses) J.F. -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org]On Behalf Of Jeff Berry Sent: Thursday, January 15, 2004 3:08 PM To: Chameleon Subject: [Chameleon] Install problems I've installed Chameleon 1.1 on Redhat 8.0, running MapServer 4.0.1. I'm having real trouble getting the demo app to work. I have chameleon installedin /opt/cwc2. I've installed all the demo documents within the appropriate directories under /opt/cwc2, and have edited the config, index.phtml and map document to refelct paths correctly. However, when I try to open the index.phtml I get the following error: Warning: [MapServer Error]: msProcessProjection(): no options found in 'init' file in /opt/cwc2/htdocs/common/wrapper/map_session.php on line 215 Warning: Failed to open map file /opt/cwc2/map/chameleon.map in /opt/cwc2/htdocs/common/wrapper/map_session.php on line 215 ERROR: Invalid map file file (/opt/cwc2/map/chameleon.map). Fatal error: Call to a member function on a non-object in /opt/cwc2/htdocs/widgets/KeyMap.widget.php on line 190 Any suggestions? Jeff Berry GIS Analyst Erlandsen & Associates P.O. Box 2029 Chelan, WA 98816 (509) 682-4189 jeffb@erlandsen.com _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From TENIERER@gov.ns.ca Mon Feb 16 08:11:50 2004 Received: from xmail1.gov.ns.ca (xmail1.gov.ns.ca [198.166.215.2]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i1GDBnaN023706 for ; Mon, 16 Feb 2004 08:11:50 -0500 Received: from imail1.gov.ns.ca ([198.166.84.6]) by xmail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 16 Feb 2004 09:10:53 -0400 Received: from mgate.gov.ns.ca ([10.2.155.8]) by imail1.gov.ns.ca with Microsoft SMTPSVC(5.5.1877.447.44); Mon, 16 Feb 2004 09:10:53 -0400 Received: from NSGT-MTA by mgate.gov.ns.ca with Novell_GroupWise; Mon, 16 Feb 2004 09:10:07 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Mon, 16 Feb 2004 09:09:50 -0400 From: "Rene Teniere " To: , Subject: Re: [Chameleon] Query Results Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Tracy, here is an example map file. You have to set the tolerance on it so that the query will pick up the features: LAYER NAME "Forest" GROUP "Forest Type" STATUS ON TEMPLATE "c:/chameleon11a/websites/template/blank.html" TYPE POLYGON MAXSCALE 500000 TILEINDEX "D:/GIS_Data/coindex/coindex" TILEITEM "loforest" CLASSITEM "COVER_TYPE" TOLERANCE 10 TOLERANCEUNITS PIXELS CLASS NAME "Softwood" EXPRESSION "2" STYLE SYMBOL 0 COLOR 33 66 0 SIZE 1 MINSIZE 1 MAXSIZE 100 END END CLASS NAME "Mixwood" EXPRESSION "5" STYLE SYMBOL 0 COLOR 33 99 33 SIZE 1 MINSIZE 1 MAXSIZE 100 END END CLASS NAME "Hardwood" EXPRESSION "8" STYLE SYMBOL 0 COLOR 100 50 0 SIZE 1 MINSIZE 1 MAXSIZE 100 END END END Good Luck! Rene Rene J.R. Teniere - BSc., D.GIS GIS Technician Nova Scotia Department of Natural Resources Forestry Division (GIS) - Truro Phone: (902) 893-5655 Mobile: (902) 209-8956 >>> "Tracy Howlett" 2004-02-15 6:00:46 PM >>> Hello, I have my Query Tool working in principle but I can't actually get it to return any information. I have put the DUMP, TEMPLATE and STATUS (on) variables in my mapfile and all shapefiles have an attribute table. When I click on any one of them using my Information tool I just get 'no results returned for...'. How can I tell Chameleon which fields to return? Also, what if I have a URL that I'd like to link to in the results table - can I have a field which is displayed and then another field which actually contains the link without having to show it? For example I want the query results to say 'click here for more info' and then link to a url which is stored in the associated dbf of the shapefile. As always your thoughts are much appreciated. Tracy -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Jean-Francois.Doyon@CCRS.NRCan.gc.ca Sent: Thursday, January 15, 2004 12:28 PM To: jeffb@erlandsen.com; chameleon@lists.maptools.org Subject: RE: [Chameleon] Install problems Jeff, The demo uses a map that is in a non standard EPSG projection. Find your PROJ's "epsg" file (Most likely in /usr/local/share/proj/), and add the following at the bottom: # WGS84 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) <42101> +proj=lcc +ellps=WGS84 +lat_0=0 +lon_0=-95 +lat_1=49 +lat_2=77 +x_0=0 +y_0=-8000000 +datum=WGS84 +units=m no_defs <> # NAD83 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) (This is the standard Atlas of Canada data's projection) <42304> +proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat_1=49 +lat_2=77 +datum=NAD83 +units=m no_defs <> (There's 2 common canadian projections here, forget exactly which one the demo uses) J.F. -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org]On Behalf Of Jeff Berry Sent: Thursday, January 15, 2004 3:08 PM To: Chameleon Subject: [Chameleon] Install problems I've installed Chameleon 1.1 on Redhat 8.0, running MapServer 4.0.1. I'm having real trouble getting the demo app to work. I have chameleon installedin /opt/cwc2. I've installed all the demo documents within the appropriate directories under /opt/cwc2, and have edited the config, index.phtml and map document to refelct paths correctly. However, when I try to open the index.phtml I get the following error: Warning: [MapServer Error]: msProcessProjection(): no options found in 'init' file in /opt/cwc2/htdocs/common/wrapper/map_session.php on line 215 Warning: Failed to open map file /opt/cwc2/map/chameleon.map in /opt/cwc2/htdocs/common/wrapper/map_session.php on line 215 ERROR: Invalid map file file (/opt/cwc2/map/chameleon.map). Fatal error: Call to a member function on a non-object in /opt/cwc2/htdocs/widgets/KeyMap.widget.php on line 190 Any suggestions? Jeff Berry GIS Analyst Erlandsen & Associates P.O. Box 2029 Chelan, WA 98816 (509) 682-4189 jeffb@erlandsen.com _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From jkeighan@cubewerx.com Tue Feb 17 15:34:37 2004 Received: from tux.cubewerx.com (209-87-249-18.storm.ca [209.87.249.18]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i1HKYUaN031242 for ; Tue, 17 Feb 2004 15:34:36 -0500 Received: from cubewerx.com (jordy.cubewerx.com [192.168.2.10]) by tux.cubewerx.com (8.12.8/8.8.7) with ESMTP id i1HKYPE6023872 for ; Tue, 17 Feb 2004 15:34:25 -0500 Message-ID: <40327B05.1060608@cubewerx.com> Date: Tue, 17 Feb 2004 15:35:17 -0500 From: Jordy Keighan User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 CC: chameleon@lists.maptools.org References: <7CDD7B94357FD5119E800002A537C46E0B8B7225@s5-ccr-r1.ccrs.nrcan.gc.ca> <3FFD9AA4.3050303@magma.ca> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: [Chameleon] Adding a projection Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, I tried adding a projection to my template file : -----> when i try to select it from the projection selector it only brings up the spinner image and nothing happens. ( no map request is sent to the server ). Is this suppose to work, can we add other projections? or am i missing a step? thanks Jordy From dmorissette@dmsolutions.ca Tue Feb 17 15:46:02 2004 Received: from xcalibur.dmsolutions.ca (www2.dmsolutions.ca [209.217.116.146]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i1HKjxaN031313 for ; Tue, 17 Feb 2004 15:46:02 -0500 Received: from dmsolutions.ca ([192.168.4.100]) by xcalibur.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id i1HKjqA25363; Tue, 17 Feb 2004 15:45:52 -0500 Message-ID: <40327D80.6050301@dmsolutions.ca> Date: Tue, 17 Feb 2004 15:45:52 -0500 From: Daniel Morissette User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jordy Keighan CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Adding a projection References: <7CDD7B94357FD5119E800002A537C46E0B8B7225@s5-ccr-r1.ccrs.nrcan.gc.ca> <3FFD9AA4.3050303@magma.ca> <40327B05.1060608@cubewerx.com> In-Reply-To: <40327B05.1060608@cubewerx.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Jordy Keighan wrote: > > I tried adding a projection to my template file : > > > -----> > > > > > > > > default="true"/> > > > when i try to select it from the projection selector it only brings up > the spinner image and nothing happens. > ( no map request is sent to the server ). > > Is this suppose to work, can we add other projections? > or am i missing a step? > You also need to make sure that EPSG:41001 is defined in your epsg file (C:\proj\nad\epsgon windows, and /usr/local/share/proj/epsg on Unix). I don't think 41001 is part of the epsg file that we distribute, so that's likely your problem here. If you or someone from Cubewerx could send us PROJ4 definitions for all the non-standard (41xxx and 42xxx) projections that Cubewerx has defined (and that many others are using), we could try to include them in the custom epsg file that we distribute on our site. Daniel -- ------------------------------------------------------------ Daniel Morissette dmorissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From bartvde@xs4all.nl Wed Feb 18 14:39:21 2004 Received: from smtp-out5.xs4all.nl (smtp-out5.xs4all.nl [194.109.24.6]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i1IJdJaN004559 for ; Wed, 18 Feb 2004 14:39:20 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out5.xs4all.nl (8.12.10/8.12.10) with ESMTP id i1IJdDn1004339 for ; Wed, 18 Feb 2004 20:39:18 +0100 (CET) Date: Wed, 18 Feb 2004 20:38:58 +0100 To: "chameleon@lists.maptools.org" Reply-To: bartvde@xs4all.nl From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera7.23/Win32 M2 build 3227 Subject: [Chameleon] MetadataURL Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, I read on the Mapserver list that the MetadataURL will probably be a target for the Mapserver 4.2 release. Will the metadataURL also be useable in Chameleon (PHP/Mapscript)? I assume there will be another wms_ metadata variable (like wms_title) which can be used, for example in the Legend Template. This will allow the possibility to have a link in the LegendTemplate around the layer title which pops up the metadata (identified by the MetadataURL) with a simple piece of javascript. Another possibility would be to have the metadata downloaded together with the zip (or tar.gz) file which is the result of the ExtractWFSData widget. Is my assumption right that it will be possible to build this kind of functionality in Chameleon in the near future, or won't the MetadataURL be accessible in PHP/Mapscript / Chameleon? BTW: will Mapserver 4.2 and Chameleon 2.0 (and even Maplab 3.0 perhaps) have the same release date? Thanks in advance. Best regards, Bart From bartvde@xs4all.nl Wed Feb 18 14:51:04 2004 Received: from smtp-out5.xs4all.nl (smtp-out5.xs4all.nl [194.109.24.6]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i1IJoxaN004602 for ; Wed, 18 Feb 2004 14:51:04 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out5.xs4all.nl (8.12.10/8.12.10) with ESMTP id i1IJoun1011075 for ; Wed, 18 Feb 2004 20:50:56 +0100 (CET) Date: Wed, 18 Feb 2004 20:50:46 +0100 To: "chameleon@lists.maptools.org" Reply-To: bartvde@xs4all.nl From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera7.23/Win32 M2 build 3227 Subject: [Chameleon] Chameleon and SLD Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, as Mapserver's prime new functionality is SLD WMS functionality in the next release (4.2), I was wondering if there are also client-side components developed in Chameleon on SLD at the moment. Functionality that I am thinking of with regard to SLD is e.g.: 1) having a style dialog in which a user can change colors, patterns etc. for an existing classification (the input for the initial styledialog could e.g. be the SLD result of a GetStyles request) 2) generation of dynamic legends (e.g. for the active layer, or for the whole bunch of layers in a Chameleon application if they are SLD WMS based). The legend should contain all classes of the layer. 3) dynamic labeling, i.e. a dialog in which the user can specify a column to label on and font properties etc. and this creates a new layer in Chameleon with the labels on top of the layer which is labeled etc. Any thoughts on this? Best regards, Bart From pagameba@magma.ca Wed Feb 18 16:14:58 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i1ILEvaN005135 for ; Wed, 18 Feb 2004 16:14:58 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i1ILEuZV022953; Wed, 18 Feb 2004 16:14:56 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i1ILEr9o013614; Wed, 18 Feb 2004 16:14:56 -0500 Message-ID: <4033D5CA.8080703@magma.ca> Date: Wed, 18 Feb 2004 16:14:50 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: "chameleon@lists.maptools.org" Subject: Re: [Chameleon] MetadataURL References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, any metadata is available in any legend template and this is not in any way limited by Chameleon, so if mapserver supports wms_metadata_onlineresource (or whatever it is called) then you can use it directly in your legend template. It would require changes to get the ExtractWFSData or any other widget to 'know' about any metadata and try to do something intelligent with it. Cheers, Paul Bart van den Eijnden wrote: > Hi list, > > I read on the Mapserver list that the MetadataURL will probably be a > target for the Mapserver 4.2 release. > > Will the metadataURL also be useable in Chameleon (PHP/Mapscript)? > > I assume there will be another wms_ metadata variable (like wms_title) > which can be used, for example in the Legend Template. > > This will allow the possibility to have a link in the LegendTemplate > around the layer title which pops up the metadata (identified by the > MetadataURL) with a simple piece of javascript. > > Another possibility would be to have the metadata downloaded together > with the zip (or tar.gz) file which is the result of the ExtractWFSData > widget. > > Is my assumption right that it will be possible to build this kind of > functionality in Chameleon in the near future, or won't the MetadataURL > be accessible in PHP/Mapscript / Chameleon? > > BTW: will Mapserver 4.2 and Chameleon 2.0 (and even Maplab 3.0 perhaps) > have the same release date? > > Thanks in advance. > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Wed Feb 18 16:17:04 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i1ILH4aN005170 for ; Wed, 18 Feb 2004 16:17:04 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i1ILH3ks013012; Wed, 18 Feb 2004 16:17:03 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i1ILH19o016937; Wed, 18 Feb 2004 16:17:03 -0500 Message-ID: <4033D64A.4060202@magma.ca> Date: Wed, 18 Feb 2004 16:16:58 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: "chameleon@lists.maptools.org" Subject: Re: [Chameleon] Chameleon and SLD References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, we are going into initial QA with a product we are going to be calling Studio ... this is an OGC-centric application that allows you to create classes and styles for use in SLD documents. The core of Studio will be accesible via a Chameleon widget - but that isn't started yet. Studio should be out in at least beta in the next week or so ... and it is based on the latest chameleon cvs. Cheers, Paul Bart van den Eijnden wrote: > Hi list, > > as Mapserver's prime new functionality is SLD WMS functionality in the > next release (4.2), I was wondering if there are also client-side > components developed in Chameleon on SLD at the moment. > > Functionality that I am thinking of with regard to SLD is e.g.: > > 1) having a style dialog in which a user can change colors, patterns > etc. for an existing classification (the input for the initial > styledialog could e.g. be the SLD result of a GetStyles request) > 2) generation of dynamic legends (e.g. for the active layer, or for the > whole bunch of layers in a Chameleon application if they are SLD WMS > based). The legend should contain all classes of the layer. > 3) dynamic labeling, i.e. a dialog in which the user can specify a > column to label on and font properties etc. and this creates a new layer > in Chameleon with the labels on top of the layer which is labeled > > etc. > > Any thoughts on this? > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From dmorissette@dmsolutions.ca Wed Feb 18 16:30:04 2004 Received: from xcalibur.dmsolutions.ca (www2.dmsolutions.ca [209.217.116.146]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i1ILU3aN005324 for ; Wed, 18 Feb 2004 16:30:03 -0500 Received: from dmsolutions.ca ([192.168.4.100]) by xcalibur.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id i1ILU3A19842; Wed, 18 Feb 2004 16:30:03 -0500 Message-ID: <4033D95A.2090408@dmsolutions.ca> Date: Wed, 18 Feb 2004 16:30:02 -0500 From: Daniel Morissette User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: chameleon@lists.maptools.org Subject: Re: [Chameleon] Adding a projection References: <7CDD7B94357FD5119E800002A537C46E0B8B7225@s5-ccr-r1.ccrs.nrcan.gc.ca> <3FFD9AA4.3050303@magma.ca> <40327B05.1060608@cubewerx.com> <40327D80.6050301@dmsolutions.ca> <40329157.9020400@cubewerx.com> In-Reply-To: <40329157.9020400@cubewerx.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Jordy Keighan wrote: >> >> You also need to make sure that EPSG:41001 is defined in your epsg >> file (C:\proj\nad\epsgon windows, and /usr/local/share/proj/epsg on >> Unix). I don't think 41001 is part of the epsg file that we >> distribute, so that's likely your problem here. > > > Daniel, > > I tried a projection that was in the epsg file : > > with the same result do I need to add it somewhere else? > Perhaps try with "epsg:32129" in lowercase. I think the widget passes the value directly to PROJ4, and PROJ4 expects it to be lowercase. Daniel -- ------------------------------------------------------------ Daniel Morissette dmorissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From jkeighan@cubewerx.com Thu Feb 19 10:01:00 2004 Received: from tux.cubewerx.com (209-87-249-18.storm.ca [209.87.249.18]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i1JF10aN010695 for ; Thu, 19 Feb 2004 10:01:00 -0500 Received: from cubewerx.com (jordy.cubewerx.com [192.168.2.10]) by tux.cubewerx.com (8.12.8/8.8.7) with ESMTP id i1JF0v83015207; Thu, 19 Feb 2004 10:00:57 -0500 Message-ID: <4034CFE5.20702@cubewerx.com> Date: Thu, 19 Feb 2004 10:01:57 -0500 From: Jordy Keighan User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Morissette CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Adding a projection References: <7CDD7B94357FD5119E800002A537C46E0B8B7225@s5-ccr-r1.ccrs.nrcan.gc.ca> <3FFD9AA4.3050303@magma.ca> <40327B05.1060608@cubewerx.com> <40327D80.6050301@dmsolutions.ca> <40329157.9020400@cubewerx.com> <4033D95A.2090408@dmsolutions.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Yep that did it thanks for your help. Jordy Daniel Morissette wrote: > Jordy Keighan wrote: > >>> >>> You also need to make sure that EPSG:41001 is defined in your epsg >>> file (C:\proj\nad\epsgon windows, and /usr/local/share/proj/epsg on >>> Unix). I don't think 41001 is part of the epsg file that we >>> distribute, so that's likely your problem here. >> >> >> >> Daniel, >> >> I tried a projection that was in the epsg file : >> >> with the same result do I need to add it somewhere else? >> > > Perhaps try with "epsg:32129" in lowercase. I think the widget passes > the value directly to PROJ4, and PROJ4 expects it to be lowercase. > > Daniel From griffin@watersheds.ca Sun Feb 22 20:43:51 2004 Received: from mail2.storm.ca (mail2.storm.ca [204.187.144.18]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i1N1hoaN003126 for ; Sun, 22 Feb 2004 20:43:51 -0500 Received: from mail2.storm.ca (mail2.storm.ca [204.187.144.18]) by mail2.storm.ca (8.11.7+Sun/8.11.7) with SMTP id i1N1hdY07525; Sun, 22 Feb 2004 20:43:49 -0500 (EST) Message-Id: <200402230143.i1N1hdY07525@mail2.storm.ca> To: chameleon@lists.maptools.org Cc: csw2004@dmsolutions.ca From: griffin@watersheds.ca Date: Sun, 22 Feb 2004 20:43:49 +0000 X-Mailer: Endymion MailMan Standard Edition v3.0.2 Subject: [Chameleon] (no subject) Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I'm working on a demo of chameleon 1.1 and have run into some problems: 1. when I add the Manage Layers Widget, and try to use it I get the following error message: Fatal error: Call to a member function on a non-object in C:\ms4w\apps\chameleon\htdocs\widgets\Layer.phtml on line 51 2. when i turn a layer on in the legend, and click apply, the map and legend reload but the layer i turned on is not check anymore and doesn't appear on the map 3. I need to do a postal code lookup for the demo and cannot find the widget. Does any one know the code for this widget? 4. Finally, I am using the data that came with the Chameleon 1.1 sample to try editing and making a .map file, however I am having a problem adding data, are the files projected, and if so, what is the projection? Aaron Griffin From griffin@watersheds.ca Sun Feb 22 20:54:53 2004 Received: from mail2.storm.ca (mail2.storm.ca [204.187.144.18]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i1N1sraN003179 for ; Sun, 22 Feb 2004 20:54:53 -0500 Received: from mail2.storm.ca (mail2.storm.ca [204.187.144.18]) by mail2.storm.ca (8.11.7+Sun/8.11.7) with SMTP id i1N1sqY10430; Sun, 22 Feb 2004 20:54:52 -0500 (EST) Message-Id: <200402230154.i1N1sqY10430@mail2.storm.ca> To: chameleon@lists.maptools.org Cc: csw2004@dmsolutions.ca From: griffin@watersheds.ca Date: Sun, 22 Feb 2004 20:54:52 +0000 X-Mailer: Endymion MailMan Standard Edition v3.0.2 Subject: [Chameleon] Problems with Chameleon 1.1 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I'm working on a demo of chameleon 1.1 and have run into some problems: 1. when I add the Manage Layers Widget, and try to use it I get the following error message: Fatal error: Call to a member function on a non-object in C:\ms4w\apps\chameleon\htdocs\widgets\Layer.phtml on line 51 2. when i turn a layer on in the legend, and click apply, the map and legend reload but the layer i turned on is not check anymore and doesn't appear on the map 3. I need to do a postal code lookup for the demo and cannot find the widget. Does any one know the code for this widget? 4. Finally, I am using the data that came with the Chameleon 1.1 sample to try editing and making a .map file, however I am having a problem adding data, are the files projected, and if so, what is the projection? Aaron Griffin From griffin@watersheds.ca Mon Feb 23 13:06:21 2004 Received: from mail.storm.ca (mail.storm.ca [209.87.239.66]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i1NI6LaN007925 for ; Mon, 23 Feb 2004 13:06:21 -0500 Received: from navgis (dp-216-106-105-48.storm.ca [216.106.105.48]) by mail.storm.ca (8.11.7+Sun/8.11.7) with SMTP id i1NI6FY15936 for ; Mon, 23 Feb 2004 13:06:16 -0500 (EST) Message-ID: <001601c3fa37$bce2eec0$7c00a8c0@navgis> From: "Aaron Griffin" To: Date: Mon, 23 Feb 2004 13:06:18 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0013_01C3FA0D.D34C55E0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 x-mimeole: Produced By Microsoft MimeOLE V5.00.2919.6700 Subject: [Chameleon] Widgets that don't work Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0013_01C3FA0D.D34C55E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'm working on a demo of chameleon 1.1 and have run into some problems: 1. when I add the Manage Layers Widget, and try to use it I get the = following error message: Fatal error: Call to a member function on a non-object in C:\ms4w\apps\chameleon\htdocs\widgets\Layer.phtml on line 51 2. when i turn a layer on in the legend, and click apply, the map and = legend reload but the layer i turned on is not check anymore and doesn't appear = on the map 3. I need to do a postal code lookup for the demo and cannot find the = widget.=20 Does any one know the code for this widget? 4. Finally, I am using the data that came with the Chameleon 1.1 sample = to try editing and making a .map file, however I am having a problem adding = data, are the files projected, and if so, what is the projection? Aaron Griffin ------=_NextPart_000_0013_01C3FA0D.D34C55E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I'm working on a demo of chameleon 1.1 = and have run=20 into some problems:

1.  when I add the Manage Layers Widget, = and try=20 to use it I get the following
error message:

Fatal error: Call = to a=20 member function on a non-object=20 in
C:\ms4w\apps\chameleon\htdocs\widgets\Layer.phtml on line=20 51

2.  when i turn a layer on in the legend, and click = apply, the=20 map and legend
reload but the layer i turned on is not check anymore = and=20 doesn't appear on the map

3.  I need to do a postal code = lookup for=20 the demo and cannot find the widget.
Does any one know the code for = this=20 widget?

4.  Finally, I am using the data that came with the=20 Chameleon 1.1 sample to try
editing and making a .map file, however I = am=20 having a problem adding data, are
the files projected, and if so, = what is the=20 projection?
Aaron = Griffin
------=_NextPart_000_0013_01C3FA0D.D34C55E0-- From jmckenna@dmsolutions.ca Tue Feb 24 08:36:02 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i1ODa1aN012754 for ; Tue, 24 Feb 2004 08:36:02 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i1ODa1XM008736; Tue, 24 Feb 2004 08:36:01 -0500 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i1ODa1bn009508; Tue, 24 Feb 2004 08:36:01 -0500 Message-ID: <403B5343.40603@dmsolutions.ca> Date: Tue, 24 Feb 2004 08:36:03 -0500 From: Jeff McKenna User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Aaron Griffin CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Widgets that don't work References: <001601c3fa37$bce2eec0$7c00a8c0@navgis> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Aaron, Not sure if you got a response on these yet, so i'll attempt to answer a few: > > 3. I need to do a postal code lookup for the demo and cannot find the > widget. > Does any one know the code for this widget? I think that's the LOCATE widget. Example code: > > 4. Finally, I am using the data that came with the Chameleon 1.1 sample > to try > editing and making a .map file, however I am having a problem adding > data, are > the files projected, and if so, what is the projection? > Aaron Griffin There's a sample mapfile that comes with the chameleon_sample, in the /map directory...it should help you. (the data is in LCC projection, "init=epsg:42304") jeff From dmcilhagga@dmsolutions.ca Tue Feb 24 17:49:16 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i1OMnFaN015560; Tue, 24 Feb 2004 17:49:15 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i1OMnF2k030501; Tue, 24 Feb 2004 17:49:15 -0500 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i1OMnE89020671; Tue, 24 Feb 2004 17:49:15 -0500 Message-ID: <403BD501.4030404@dmsolutions.ca> Date: Tue, 24 Feb 2004 17:49:37 -0500 From: Dave McIlhagga User-Agent: Mozilla Thunderbird 0.5 (Macintosh/20040208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: maplab@lists.maptools.org, chameleon@lists.maptools.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Chameleon] [Fwd: ANNOUNCE: Second Annual MapServer User Meeting] Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Chameleon and MapLab Users, Sorry for the cross-postings. This message was sent to the MapServer mailing list today regarding the next MapServer User Meeting. I thought this would be of interest to those of you who are not subscribed to the mapServer mailing list. Dave -------- Original Message -------- Subject: ANNOUNCE: Second Annual MapServer User Meeting Date: Tue, 24 Feb 2004 16:49:06 -0500 From: Dave McIlhagga To: mapserver Hello everyone, On behalf of the Ottawa MapServer Users Group we're happy to pass along the details to the community regarding this year's MapServer User Meeting to be held June 9-11, 2004, here in Ottawa, Canada at Carleton University. This year, we've also added a concurrent event -- the Open Source GIS Conference 2004. This is in the hopes of building on the highly successful inaugural MapServer User Meeting held in Minnesota last June. Once again, we will be having a number of workshops and presentations. Details on these will follow in the weeks and months ahead as we finalize a schedule for the event. In the meantime, I invite you to visit the conference website which is available through http://www.omsug.ca. Please check back regularly as there will be a lot of information added in the months ahead. Note that there is an early-bird special for registration before April 30th. For more information please contact Tuan Nguyen at info@omsug.ca or +1 (613) 565-5056 ext. 17. We'd love to hear from you about any suggestions or ideas you may have for the event or the conference website. We're all excited to be hosting this event and seeing many of you here in Ottawa in June. Dave -- Dave McIlhagga President, DM Solutions Group http://www.dmsolutions.ca EMail : dmcilhagga@dmsolutions.ca Phone : 613-565-5056 x15 Fax : 613-565-0925 -- Dave McIlhagga President, DM Solutions Group http://www.dmsolutions.ca EMail : dmcilhagga@dmsolutions.ca Phone : 613-565-5056 x15 Fax : 613-565-0925 From jeff@planyukon.ca Wed Feb 25 21:15:45 2004 Received: from athena-landuse.polarcom.com (athena-landuse.polarcom.com [199.247.156.83]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i1Q2FhaN023340 for ; Wed, 25 Feb 2004 21:15:44 -0500 Received: (qmail 20444 invoked from network); 26 Feb 2004 02:15:42 -0000 Received: from machine2.anydomain.net (HELO planyukon.ca) (192.168.1.2) by athena-landuse.polarcom.com with SMTP; 26 Feb 2004 02:15:42 -0000 Message-ID: <403D5708.A0B5F2E4@planyukon.ca> Date: Wed, 25 Feb 2004 18:16:40 -0800 From: Jeff Hamm Organization: Yukon Land Use Planning Council X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: chameleon@lists.maptools.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [Chameleon] Pixel to Geo Conversion problems Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I've previously reported that my PrintWidget did not use the updated extents of my DHTML map (e.g. after a zoom operation). It appears that my 'stock versions' of Query and ROI widgets are also affected (under IE5.5). In the case of Query, I used debug messages to discover the values of click coords, and its clearly evident that the min/max extent are always the same. For the ROI widget, defined regions are displayed as though the map were displayed at full extent. If I zoom in, define an ROI, the region appears scaled and positioned according to the original extents. REcenter widget works OK, but it doesn't do a pixeltogeo conversion, so I'm wondering where to look for the problem. Anyone experiencing similar problems? suggestions? To reproduce the problem, try doing a point query at a couple of different display extents here: atlas.planyukon.ca/chameleon/htdocs Thanks Jeff Hamm YLUPC Yukon, CANADA From delfos18@yahoo.com Fri Feb 27 01:15:37 2004 Received: from web12104.mail.yahoo.com (web12104.mail.yahoo.com [216.136.172.24]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i1R6FaaN030891 for ; Fri, 27 Feb 2004 01:15:37 -0500 Message-ID: <20040227061520.89126.qmail@web12104.mail.yahoo.com> Received: from [202.139.2.65] by web12104.mail.yahoo.com via HTTP; Thu, 26 Feb 2004 22:15:20 PST Date: Thu, 26 Feb 2004 22:15:20 -0800 (PST) From: "J. Delfos" Reply-To: delfos@myrealbox.com Subject: Re: [Chameleon] Pixel to Geo Conversion problems To: Jeff Hamm , chameleon@lists.maptools.org In-Reply-To: <403D5708.A0B5F2E4@planyukon.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Jeff, I have had similar problems, though not exactly the same. The problems I had were that changes made to the map extent by javascript parts (e.g. zooming and recentering) were forgotten as soon as I submitted the form; it went back to the original extent. I patched it by pasting this code into the "clickUpdateMap" function, in Updatemap.Widget.php: {$this->mszHTMLForm}.MAP_EXTENTS_MINX.value = goCWCJSAPI.oMap.minx; //custom added, not to lose extents {$this->mszHTMLForm}.MAP_EXTENTS_MAXX.value = goCWCJSAPI.oMap.maxx; {$this->mszHTMLForm}.MAP_EXTENTS_MINY.value = goCWCJSAPI.oMap.miny; {$this->mszHTMLForm}.MAP_EXTENTS_MAXY.value = goCWCJSAPI.oMap.maxy; This makes sure that the form variables for your extent are up to date compared to what your javascript did, when you submit the form. Perhaps you should try having it execute this code prior to using the functions which currently aren't working, to make sure your form variables are current before it does any processing. regards, Jacob --- Jeff Hamm wrote: > > I've previously reported that my PrintWidget did not use the updated > extents of my DHTML map (e.g. after a zoom operation). It appears that > my 'stock versions' of Query and ROI widgets are also affected (under > IE5.5). > In the case of Query, I used debug messages to discover the values of > click coords, and its clearly evident that the min/max extent are always > the same. For the ROI widget, defined regions are displayed as though > the map were displayed at full extent. If I zoom in, define an ROI, the > region appears scaled and positioned according to the original extents. > > REcenter widget works OK, but it doesn't do a pixeltogeo conversion, so > I'm wondering where to look for the problem. > > Anyone experiencing similar problems? suggestions? > To reproduce the problem, try doing a point query at a couple of > different display extents here: atlas.planyukon.ca/chameleon/htdocs > > Thanks > Jeff Hamm > YLUPC > Yukon, CANADA > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon __________________________________ Do you Yahoo!? Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools From gianluigi.nozza@tiscali.it Fri Feb 27 14:01:44 2004 Received: from mailr-2.tiscali.it (mailr-2.tiscali.it [212.123.84.82]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i1RJ1haN002573 for ; Fri, 27 Feb 2004 14:01:44 -0500 Received: from ppp-217-133-101-168.cust-adsl.tiscali.it (HELO gian) (217.133.101.168) by mailr-2.tiscali.it with SMTP; 27 Feb 2004 20:01:41 +0100 X-BrightmailFiltered: true Message-ID: <000f01c3fd63$b4dd56a0$6400a8c0@gian> From: "Gianluigi Nozza" To: Date: Fri, 27 Feb 2004 19:58:34 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: [Chameleon] Chameleon Installation Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I tried a couple of days to get chameleon 1.1 work. It doesn't. I have a working installation of Maplab that works fine, except for the colour picker that do not display, (maybe some java configuration problem, I have only Microsoft VM), so Mapserver, PHP, PHP mapscript is assumed to be correctly installed, and I can navigate in all the demos I found. I could even deploy an application using Gmf_factory and with the help of the list, I was able to add to the rosa tools the ruler widget, (next days I'll post the suggestion the list provided). Chameleon instead, doesn't work. I get the same problems posted on the list by Tracy Howlett in december, when tring to access the test.html or demo.html file I can't see any widget, while accessing chameleon.php returns a blank page. I read all the suggestions, I tried the indications in Chamaleon Wiki about installing with IIS and windows 2000 (which is my system), I tried a lot of times changing paths over paths unsuccessfully, and since I cannot get any error message I don't know what to do now. Questions: inside the last version of chameleon 1.1, I cannot find cwc2.php wich was present in the previous release (I need it or no ?, cwc2.php is referred by other files, so I made the supposition that cwc2.php was missing, but even adding to the installation, chameleon still doesn't work) the reference to geobase_en.html in cwc2.xml is needed ? It is missing in my installation and I don't know where to get it. which is the html, or php or phtml file that I have to access to start the chameleon environment ? Any help will be greately appreciated. But please be simple I'am a newbie. From bartvde@xs4all.nl Fri Feb 27 14:30:13 2004 Received: from smtp-out5.xs4all.nl (smtp-out5.xs4all.nl [194.109.24.6]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i1RJUBaN002713 for ; Fri, 27 Feb 2004 14:30:12 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out5.xs4all.nl (8.12.10/8.12.10) with ESMTP id i1RJU5n1090138; Fri, 27 Feb 2004 20:30:05 +0100 (CET) To: Gianluigi Nozza , chameleon@lists.maptools.org Subject: Re: [Chameleon] Chameleon Installation Reply-To: bartvde@xs4all.nl References: <000f01c3fd63$b4dd56a0$6400a8c0@gian> Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Fri, 27 Feb 2004 20:29:45 +0100 In-Reply-To: <000f01c3fd63$b4dd56a0$6400a8c0@gian> User-Agent: Opera7.23/Win32 M2 build 3227 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, most easy thing to do is install MS4W and then Chameleon 1.1 and the Chameleon sample application as an MS4W package. But then you'll have an embedded Apache instead of IIS. But to get things working soon this is the best option. MS4W can be found on www.maptools.org as well. Answer to your questions inline. Best regards, Bart On Fri, 27 Feb 2004 19:58:34 +0100, Gianluigi Nozza wrote: > I tried a couple of days to get chameleon 1.1 work. It doesn't. > I have a working installation of Maplab that works fine, except for the > colour picker that do not display, (maybe some java configuration > problem, I > have only Microsoft VM), so Mapserver, PHP, PHP mapscript is assumed to > be > correctly installed, and I can navigate in all the demos I found. I could > even deploy an application using Gmf_factory and with the help of the > list, > I was able to add to the rosa tools the ruler widget, (next days I'll > post > the suggestion the list provided). > Chameleon instead, doesn't work. I get the same problems posted on the > list > by Tracy Howlett in december, > when tring to access the test.html or demo.html file I can't see any > widget, > while accessing chameleon.php returns a blank page. > I read all the suggestions, I tried the indications in Chamaleon Wiki > about > installing with IIS and windows 2000 (which is my system), I tried a lot > of > times changing paths over paths unsuccessfully, and since I cannot get > any > error message I don't know what to do now. > Questions: > inside the last version of chameleon 1.1, I cannot find cwc2.php wich was > present in the previous release (I need it or no ?, cwc2.php is referred > by > other files, so I made the supposition that cwc2.php was missing, but > even > adding to the installation, chameleon still doesn't work) You do not need cwc2.php in Chameleon 1.1. This is the service instance which is not yet part of Chameleon 1.1. Chameleon 1.1 works with applications instead of with a central service instance. > > the reference to geobase_en.html in cwc2.xml is needed ? It is missing > in my > installation and I don't know where to get it. I don't have it in my cwc2.xml. Which has this value? > > which is the html, or php or phtml file that I have to access to start > the > chameleon environment ? You have to install the sample application and run it through the following URL (if you have configured your webserver properly, this should run the index.phtml file through the PHP interpreter): http://localhost/chameleon_demo/ > > Any help will be greately appreciated. But please be simple I'am a > newbie. > > > > > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- From dastolfo1@cogeco.ca Fri Feb 27 14:41:04 2004 Received: from fep3.cogeco.net (smtp.cogeco.net [216.221.81.25]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i1RJewaN002788 for ; Fri, 27 Feb 2004 14:41:03 -0500 Received: from DGG (d141-153-10.home.cgocable.net [24.141.153.10]) by fep3.cogeco.net (Postfix) with ESMTP id 40D5764C; Fri, 27 Feb 2004 14:40:58 -0500 (EST) From: "Dave Astolfo" To: "'Gianluigi Nozza'" , Subject: RE: [Chameleon] Chameleon Installation Date: Fri, 27 Feb 2004 14:40:35 -0500 Message-ID: <000601c3fd69$9491ea90$3402a8c0@DGG> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal In-Reply-To: <000f01c3fd63$b4dd56a0$6400a8c0@gian> Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I had similar problems. There is a discussion about this in the list. To save you time, try this in the index.html file. I was told that there was an error in the function call. See the text // CHANGE THIS TO MATCH YOUR INSTALL for items you will have to change. moMapSession = new MapSession_RW; $this->moMapSession->setTempDir( getSessionSavePath()); //this is to test to see if we can bypass the .map file STATUS values and set layers on by another means parent::Chameleon(); } // function CWCInitializeMap() // { // $this->moMapSession = new MapSession_RW; // $this->moMapSession->setTempDir( getSessionSavePath()); // parent::CWCInitializeMap(); // } function CWCLoadTemplate($szTemplateName) { $this->mszTemplate = implode("\n", file($szTemplateName)); } } $oApp = new SampleApp(); $oApp->CWCInitialize( $szTemplate, $szMapFile ); $oApp->CWCExecute(); ?> -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Gianluigi Nozza Sent: Friday, February 27, 2004 1:59 PM To: chameleon@lists.maptools.org Subject: [Chameleon] Chameleon Installation I tried a couple of days to get chameleon 1.1 work. It doesn't. I have a working installation of Maplab that works fine, except for the colour picker that do not display, (maybe some java configuration problem, I have only Microsoft VM), so Mapserver, PHP, PHP mapscript is assumed to be correctly installed, and I can navigate in all the demos I found. I could even deploy an application using Gmf_factory and with the help of the list, I was able to add to the rosa tools the ruler widget, (next days I'll post the suggestion the list provided). Chameleon instead, doesn't work. I get the same problems posted on the list by Tracy Howlett in december, when tring to access the test.html or demo.html file I can't see any widget, while accessing chameleon.php returns a blank page. I read all the suggestions, I tried the indications in Chamaleon Wiki about installing with IIS and windows 2000 (which is my system), I tried a lot of times changing paths over paths unsuccessfully, and since I cannot get any error message I don't know what to do now. Questions: inside the last version of chameleon 1.1, I cannot find cwc2.php wich was present in the previous release (I need it or no ?, cwc2.php is referred by other files, so I made the supposition that cwc2.php was missing, but even adding to the installation, chameleon still doesn't work) the reference to geobase_en.html in cwc2.xml is needed ? It is missing in my installation and I don't know where to get it. which is the html, or php or phtml file that I have to access to start the chameleon environment ? Any help will be greately appreciated. But please be simple I'am a newbie. _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From pdymecki@sympatico.ca Sat Feb 28 21:22:51 2004 Received: from tomts13-srv.bellnexxia.net (tomts13.bellnexxia.net [209.226.175.34]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i1T2MpaN009487 for ; Sat, 28 Feb 2004 21:22:51 -0500 Received: from pauls ([67.71.19.140]) by tomts13-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20040229022235.NNGP25409.tomts13-srv.bellnexxia.net@pauls> for ; Sat, 28 Feb 2004 21:22:35 -0500 From: "Paul Dymecki" To: Subject: RE: [Chameleon] Chameleon Installation Date: Sat, 28 Feb 2004 21:22:44 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: Importance: Normal Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, I was wondering if there is any example code available on how to get the layermanger widget working? I tried adding the following to the sample app in chameleon1.1-alpha, but just get a blank box.. thx, Paul From gianluigi.nozza@tiscali.it Mon Mar 1 13:28:29 2004 Received: from mailr-2.tiscali.it (mailr-2.tiscali.it [212.123.84.82]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i21ISMaN026449 for ; Mon, 1 Mar 2004 13:28:28 -0500 Received: from ppp-217-133-101-168.cust-adsl.tiscali.it (HELO gian) (217.133.101.168) by mailr-2.tiscali.it with SMTP; 01 Mar 2004 19:28:18 +0100 X-BrightmailFiltered: true Message-ID: <000701c3ffba$872f74a0$6400a8c0@gian> From: "Gianluigi Nozza" To: , References: <000f01c3fd63$b4dd56a0$6400a8c0@gian> Subject: Re: [Chameleon] Chameleon Installation Date: Mon, 1 Mar 2004 19:25:05 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: ----- Original Message ----- From: "Bart van den Eijnden" To: "Gianluigi Nozza" ; Sent: Friday, February 27, 2004 8:29 PM Subject: Re: [Chameleon] Chameleon Installation Thank you Bart, I will try to switch to Apache only as "extrema ratio" since I don't want to start over again, maybe finding other kind of problems, most of all I have fear that all the work made with maplab, could be compromised. Or do you think that this supposition is wrong ? Geobase_en.html is referred by the following: default_template c:/cwc2/htdocs/geobase_en.html But in my installation is missing I thought chamaleon_sample was only a sample application, and like maplab that I need to access some file in htdocs directory to see the development environment of chamaleon, Isn't it ? Ciao > Hi, > > most easy thing to do is install MS4W and then Chameleon 1.1 and the > Chameleon sample application as an MS4W package. But then you'll have an > embedded Apache instead of IIS. But to get things working soon this is the > best option. > > MS4W can be found on www.maptools.org as well. > > Answer to your questions inline. > > Best regards, > Bart > > On Fri, 27 Feb 2004 19:58:34 +0100, Gianluigi Nozza > wrote: > > > I tried a couple of days to get chameleon 1.1 work. It doesn't. > > I have a working installation of Maplab that works fine, except for the > > colour picker that do not display, (maybe some java configuration > > problem, I > > have only Microsoft VM), so Mapserver, PHP, PHP mapscript is assumed to > > be > > correctly installed, and I can navigate in all the demos I found. I could > > even deploy an application using Gmf_factory and with the help of the > > list, > > I was able to add to the rosa tools the ruler widget, (next days I'll > > post > > the suggestion the list provided). > > Chameleon instead, doesn't work. I get the same problems posted on the > > list > > by Tracy Howlett in december, > > when tring to access the test.html or demo.html file I can't see any > > widget, > > while accessing chameleon.php returns a blank page. > > I read all the suggestions, I tried the indications in Chamaleon Wiki > > about > > installing with IIS and windows 2000 (which is my system), I tried a lot > > of > > times changing paths over paths unsuccessfully, and since I cannot get > > any > > error message I don't know what to do now. > > Questions: > > inside the last version of chameleon 1.1, I cannot find cwc2.php wich was > > present in the previous release (I need it or no ?, cwc2.php is referred > > by > > other files, so I made the supposition that cwc2.php was missing, but > > even > > adding to the installation, chameleon still doesn't work) > > You do not need cwc2.php in Chameleon 1.1. This is the service instance > which is not yet part of Chameleon 1.1. Chameleon 1.1 works with > applications instead of with a central service instance. > > > > > the reference to geobase_en.html in cwc2.xml is needed ? It is missing > > in my > > installation and I don't know where to get it. > > I don't have it in my cwc2.xml. Which has this value? > > > > > which is the html, or php or phtml file that I have to access to start > > the > > chameleon environment ? > > You have to install the sample application and run it through the > following URL (if you have configured your webserver properly, this should > run the index.phtml file through the PHP interpreter): > > http://localhost/chameleon_demo/ > > > > > Any help will be greately appreciated. But please be simple I'am a > > newbie. > > > > > > > > > > > > > > > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > http://lists.maptools.org/mailman/listinfo/chameleon > > > > > > -- > > From bartvde@xs4all.nl Mon Mar 1 13:57:05 2004 Received: from smtp-out5.xs4all.nl (smtp-out5.xs4all.nl [194.109.24.6]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i21Iv4aN026592 for ; Mon, 1 Mar 2004 13:57:05 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out5.xs4all.nl (8.12.10/8.12.10) with ESMTP id i21IuwEP012268; Mon, 1 Mar 2004 19:56:58 +0100 (CET) Date: Mon, 01 Mar 2004 19:56:35 +0100 To: Gianluigi Nozza , chameleon@lists.maptools.org Subject: Re: [Chameleon] Chameleon Installation Reply-To: bartvde@xs4all.nl References: <000f01c3fd63$b4dd56a0$6400a8c0@gian> <000701c3ffba$872f74a0$6400a8c0@gian> From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <000701c3ffba$872f74a0$6400a8c0@gian> User-Agent: Opera7.23/Win32 M2 build 3227 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Gianluigi, the default_template parameter dates from the Chameleon 1.0 timeframe if I recall correctly. It will not influence your Chameleon 1.1 installation as you will provide your template in the application (index.phtml of the application to be precisely). Chameleon has a config option where you can have a web-interface on the cwc2.xml file, but essentially it works through the use of applications, like the sample application. Normally this web config is accessible through the following URL (Alias URL "filepath"): Alias /chameleon_admin "/ms4w/apps/chameleon/htdocs_admin" Can you get the Chameleon config to work, and did you install the sample application? Best regards, Bart On Mon, 1 Mar 2004 19:25:05 +0100, Gianluigi Nozza wrote: > > ----- Original Message ----- > From: "Bart van den Eijnden" > To: "Gianluigi Nozza" ; > > Sent: Friday, February 27, 2004 8:29 PM > Subject: Re: [Chameleon] Chameleon Installation > > Thank you Bart, > I will try to switch to Apache only as "extrema ratio" since I don't > want to > start over again, maybe finding other kind of problems, > most of all I have fear that all the work made with maplab, could be > compromised. Or do you think that this supposition is wrong ? > > Geobase_en.html is referred by the following: > default_template > c:/cwc2/htdocs/geobase_en.html > > But in my installation is missing > > I thought chamaleon_sample was only a sample application, and like maplab > that I need to access some file in htdocs directory to see the > development > environment of chamaleon, Isn't it ? > > Ciao > >> Hi, >> >> most easy thing to do is install MS4W and then Chameleon 1.1 and the >> Chameleon sample application as an MS4W package. But then you'll have an >> embedded Apache instead of IIS. But to get things working soon this is >> the >> best option. >> >> MS4W can be found on www.maptools.org as well. >> >> Answer to your questions inline. >> >> Best regards, >> Bart >> >> On Fri, 27 Feb 2004 19:58:34 +0100, Gianluigi Nozza >> wrote: >> >> > I tried a couple of days to get chameleon 1.1 work. It doesn't. >> > I have a working installation of Maplab that works fine, except for >> the >> > colour picker that do not display, (maybe some java configuration >> > problem, I >> > have only Microsoft VM), so Mapserver, PHP, PHP mapscript is assumed >> to >> > be >> > correctly installed, and I can navigate in all the demos I found. I > could >> > even deploy an application using Gmf_factory and with the help of the >> > list, >> > I was able to add to the rosa tools the ruler widget, (next days I'll >> > post >> > the suggestion the list provided). >> > Chameleon instead, doesn't work. I get the same problems posted on the >> > list >> > by Tracy Howlett in december, >> > when tring to access the test.html or demo.html file I can't see any >> > widget, >> > while accessing chameleon.php returns a blank page. >> > I read all the suggestions, I tried the indications in Chamaleon Wiki >> > about >> > installing with IIS and windows 2000 (which is my system), I tried a >> lot >> > of >> > times changing paths over paths unsuccessfully, and since I cannot get >> > any >> > error message I don't know what to do now. >> > Questions: >> > inside the last version of chameleon 1.1, I cannot find cwc2.php wich > was >> > present in the previous release (I need it or no ?, cwc2.php is >> referred >> > by >> > other files, so I made the supposition that cwc2.php was missing, but >> > even >> > adding to the installation, chameleon still doesn't work) >> >> You do not need cwc2.php in Chameleon 1.1. This is the service instance >> which is not yet part of Chameleon 1.1. Chameleon 1.1 works with >> applications instead of with a central service instance. >> >> > >> > the reference to geobase_en.html in cwc2.xml is needed ? It is missing >> > in my >> > installation and I don't know where to get it. >> >> I don't have it in my cwc2.xml. Which has this value? >> >> > >> > which is the html, or php or phtml file that I have to access to start >> > the >> > chameleon environment ? >> >> You have to install the sample application and run it through the >> following URL (if you have configured your webserver properly, this >> should >> run the index.phtml file through the PHP interpreter): >> >> http://localhost/chameleon_demo/ >> >> > >> > Any help will be greately appreciated. But please be simple I'am a >> > newbie. >> > >> > >> > >> > >> > >> > >> > >> > _______________________________________________ >> > Chameleon mailing list >> > Chameleon@lists.maptools.org >> > http://lists.maptools.org/mailman/listinfo/chameleon >> > >> >> >> >> -- >> >> > > > -- From nicolas.fortin@ec.gc.ca Mon Mar 1 14:04:54 2004 Received: from ecstfexch00.quebec.int.ec.gc.ca (fwstl1-1.wul.qc.ec.gc.ca [205.211.132.24]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i21J4qaN026645 for ; Mon, 1 Mar 2004 14:04:54 -0500 Received: by ecstfexch00.quebec.int.ec.gc.ca with Internet Mail Service (5.5.2653.19) id ; Mon, 1 Mar 2004 14:04:51 -0500 Message-ID: From: nicolas.fortin@ec.gc.ca To: gianluigi.nozza@tiscali.it, chameleon@lists.maptools.org Subject: RE : [Chameleon] Chameleon Installation Date: Mon, 1 Mar 2004 14:01:52 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i21J4qaN026645 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: The Wiki about Chameleon, IIS and Windows 2000 is for 1.0.4 not 1.1 Nicolas Fortin -----Message d'origine----- De : Gianluigi Nozza [mailto:gianluigi.nozza@tiscali.it] Envoyé : Friday, February 27, 2004 1:59 PM À : chameleon@lists.maptools.org Objet : [Chameleon] Chameleon Installation I tried a couple of days to get chameleon 1.1 work. It doesn't. I have a working installation of Maplab that works fine, except for the colour picker that do not display, (maybe some java configuration problem, I have only Microsoft VM), so Mapserver, PHP, PHP mapscript is assumed to be correctly installed, and I can navigate in all the demos I found. I could even deploy an application using Gmf_factory and with the help of the list, I was able to add to the rosa tools the ruler widget, (next days I'll post the suggestion the list provided). Chameleon instead, doesn't work. I get the same problems posted on the list by Tracy Howlett in december, when tring to access the test.html or demo.html file I can't see any widget, while accessing chameleon.php returns a blank page. I read all the suggestions, I tried the indications in Chamaleon Wiki about installing with IIS and windows 2000 (which is my system), I tried a lot of times changing paths over paths unsuccessfully, and since I cannot get any error message I don't know what to do now. Questions: inside the last version of chameleon 1.1, I cannot find cwc2.php wich was present in the previous release (I need it or no ?, cwc2.php is referred by other files, so I made the supposition that cwc2.php was missing, but even adding to the installation, chameleon still doesn't work) the reference to geobase_en.html in cwc2.xml is needed ? It is missing in my installation and I don't know where to get it. which is the html, or php or phtml file that I have to access to start the chameleon environment ? Any help will be greately appreciated. But please be simple I'am a newbie. _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From jeff@planyukon.ca Mon Mar 1 15:12:45 2004 Received: from athena-landuse.polarcom.com (athena-landuse.polarcom.com [199.247.156.83]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i21KCiaN027166 for ; Mon, 1 Mar 2004 15:12:44 -0500 Received: (qmail 31557 invoked from network); 1 Mar 2004 20:12:38 -0000 Received: from machine2.anydomain.net (HELO planyukon.ca) (192.168.1.2) by athena-landuse.polarcom.com with SMTP; 1 Mar 2004 20:12:38 -0000 Message-ID: <40439973.7F5FCF16@planyukon.ca> Date: Mon, 01 Mar 2004 12:13:39 -0800 From: Jeff Hamm Organization: Yukon Land Use Planning Council X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: delfos@myrealbox.com CC: chameleon@lists.maptools.org, delfos18@yahoo.com Subject: Re: [Chameleon] Pixel to Geo Conversion problems References: <20040227061520.89126.qmail@web12104.mail.yahoo.com> Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Jacob;
Thanks for your reply.
I was doing some modifications to create a Query by Polygon function. The function performs an initial querybypoint to retrieve the initial shape, which is then used to querybyshape on other layers.
I was having problems grabbing the current map extents, so I implemented a similar approach to your suggestion, using the form:
$nMinX = {$this->mszHTMLForm}.MAP_EXTENTS_MINX.value.

In trying the goCWCJSAPI approach you suggested, I found that goCWCJSAPI was undefined. This might be a more fundamental problem, but for now I simply scrapped the values off the form. Is there a definitive test so I can tell if the CWCJSAPI is functioning?

BTW, I also found it necessary to change the value of nInversePix in the pixeltogeo conversion (around line 225 in the map_query.php wrapper) from 1 to 0 for the conversion of x coordinates.

I haven't attempted a fix on the printwidget yet, although I'm sure a similar workaround is doable. Still wondering why the $oMap values aren't updated by the Zoom widget though :-(
 

Jeff
 

"J. Delfos" wrote:

I have had similar problems, though not exactly the same. The problems I
had were that changes made to the map extent by javascript parts (e.g.
zooming and recentering) were forgotten as soon as I submitted the form;
it went back to the original extent. I patched it by pasting this code
into the "clickUpdateMap" function, in Updatemap.Widget.php:

    {$this->mszHTMLForm}.MAP_EXTENTS_MINX.value = goCWCJSAPI.oMap.minx;
//custom added, not to lose extents
    {$this->mszHTMLForm}.MAP_EXTENTS_MAXX.value = goCWCJSAPI.oMap.maxx;
    {$this->mszHTMLForm}.MAP_EXTENTS_MINY.value = goCWCJSAPI.oMap.miny;
    {$this->mszHTMLForm}.MAP_EXTENTS_MAXY.value = goCWCJSAPI.oMap.maxy;

This makes sure that the form variables for your extent are up to date
compared to what your javascript did, when you submit the form. Perhaps
you should try having it execute this code prior to using the functions
which currently aren't working, to make sure your form variables are
current before it does any processing.

regards,

Jacob

--- Jeff Hamm <jeff@planyukon.ca> wrote:
>
> I've previously reported that my PrintWidget did not use the updated
> extents of my DHTML map (e.g. after a zoom operation). It appears that
> my 'stock versions' of Query and ROI widgets are also affected (under
> IE5.5).
> In the case of Query, I used debug messages to discover the values of
> click coords, and its clearly evident that the min/max extent are always
> the same. For the ROI widget, defined regions are displayed as though
> the map were displayed at full extent. If I zoom in, define an ROI, the
> region appears scaled and positioned according to the original extents.
>
> REcenter widget works OK, but it doesn't do a pixeltogeo conversion, so
> I'm wondering where to look for the problem.
>
> Anyone experiencing similar problems? suggestions?
> To reproduce the problem, try doing a point query at a couple of
> different display extents here: atlas.planyukon.ca/chameleon/htdocs
>
> Thanks
> Jeff Hamm
> YLUPC
> Yukon, CANADA
>
 

From pdymecki@sympatico.ca Mon Mar 1 15:31:45 2004 Received: from tomts25-srv.bellnexxia.net (tomts25.bellnexxia.net [209.226.175.188]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i21KVaaN027243 for ; Mon, 1 Mar 2004 15:31:41 -0500 Received: from pauls ([65.93.197.132]) by tomts25-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20040301203129.QXUX2607.tomts25-srv.bellnexxia.net@pauls> for ; Mon, 1 Mar 2004 15:31:29 -0500 From: "Paul Dymecki" To: Date: Mon, 1 Mar 2004 15:31:46 -0500 Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0020_01C3FFA2.4E54A1E0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <40439973.7F5FCF16@planyukon.ca> Importance: Normal Subject: [Chameleon] layermanager widget Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0020_01C3FFA2.4E54A1E0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, I was wondering if there is any example code available on how to get the layermanger widget working? I tried adding the following to the sample app in chameleon1.1-alpha, but just get a blank box.. thx, Paul _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org ------=_NextPart_000_0020_01C3FFA2.4E54A1E0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

I was wondering if there is any example code available on how to get = the

layermanger widget working? I tried adding the following to the = sample=20 app

in chameleon1.1-alpha, but just get a blank box..

thx,

Paul

 

<CWC2 TYPE=3D"layermanager" VISIBLE=3D"TRUE" ENABLED=3D"TRUE"

TEXTBUTTONWIDTH=3D"250" TEXTBUTTONHEIGHT=3D"250" = TEXTBUTTONPADDING=3D"5"

TEXTBUTTONNUDGE=3D"5" USETEXTBUTTONCACHE=3D"FALSE" = POPUPWIDTH=3D"250"

POPUPHEIGHT=3D"300" TOOLBAR=3D"TRUE" MENUBAR=3D"TRUE" = STATUS=3D"TRUE"

SCROLLBARS=3D"TRUE" RESIZABLE=3D"TRUE"/>

 

_______________________________________________

Chameleon mailing list

Chameleon@lists.maptools.org

------=_NextPart_000_0020_01C3FFA2.4E54A1E0-- From delfos18@yahoo.com Mon Mar 1 19:49:46 2004 Received: from web12107.mail.yahoo.com (web12107.mail.yahoo.com [216.136.172.27]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i220njaN028474 for ; Mon, 1 Mar 2004 19:49:46 -0500 Message-ID: <20040302004929.68590.qmail@web12107.mail.yahoo.com> Received: from [202.139.2.65] by web12107.mail.yahoo.com via HTTP; Mon, 01 Mar 2004 16:49:29 PST Date: Mon, 1 Mar 2004 16:49:29 -0800 (PST) From: "J. Delfos" Reply-To: delfos18@yahoo.com Subject: Re: [Chameleon] Pixel to Geo Conversion problems To: Jeff Hamm Cc: chameleon@lists.maptools.org In-Reply-To: <40439973.7F5FCF16@planyukon.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Jeff, Perhaps your javascript variables are not yet initialised. I'm not sure whether variables such as goCWCJSAPI.oMap.maxx are initialised before any javascript is actually used. Perhaps on the "ONLOAD" you can initialise them with the form variables. The form variable MAP_EXTENTS_MINX would be the one that could get outdated when you use javascript. What I think might be happening is that when you zoom, only the javascript map-extents variables (goCWCJSAPI.oMap.maxx, etc.) get used and updated. As soon as you use your print widget, it might actually try to access the MAP_EXTENTS_MINX form variable (which is not up to date). That's why after every javascript operation (e.g. zoom), it might help to update the form variables. Are you sure you included the CWCJSAPI widget properly? Jacob --- Jeff Hamm wrote: --------------------------------- Jacob; Thanks for your reply. I was doing some modifications to create a Query by Polygon function.The function performs an initial querybypoint to retrieve the initial shape,which is then used to querybyshape on other layers. I was having problems grabbing the current map extents, so I implementeda similar approach to your suggestion, using the form: $nMinX = {$this->mszHTMLForm}.MAP_EXTENTS_MINX.value. In trying the goCWCJSAPI approach you suggested, I found that goCWCJSAPIwas undefined. This might be a more fundamental problem, but for now Isimply scrapped the values off the form. Is there a definitive test soI can tell if the CWCJSAPI is functioning? BTW, I also found it necessary to change the value of nInversePix inthe pixeltogeo conversion (around line 225 in the map_query.php wrapper)from 1 to 0 for the conversion of x coordinates. I haven't attempted a fix on the printwidget yet, although I'm surea similar workaround is doable. Still wondering why the $oMap values aren'tupdated by the Zoom widget though :-( Jeff "J. Delfos" wrote:I have had similar problems, though not exactly thesame. The problems I had were that changes made to the map extent by javascript parts (e.g. zooming and recentering) were forgotten as soon as I submitted theform; it went back to the original extent. I patched it by pasting this code into the "clickUpdateMap" function, in Updatemap.Widget.php: {$this->mszHTMLForm}.MAP_EXTENTS_MINX.value = goCWCJSAPI.oMap.minx; //custom added, not to lose extents {$this->mszHTMLForm}.MAP_EXTENTS_MAXX.value = goCWCJSAPI.oMap.maxx; {$this->mszHTMLForm}.MAP_EXTENTS_MINY.value = goCWCJSAPI.oMap.miny; {$this->mszHTMLForm}.MAP_EXTENTS_MAXY.value = goCWCJSAPI.oMap.maxy; This makes sure that the form variables for your extent are up to date compared to what your javascript did, when you submit the form. Perhaps you should try having it execute this code prior to using the functions which currently aren't working, to make sure your form variables are current before it does any processing. regards, Jacob --- Jeff Hamm wrote: > > I've previously reported that my PrintWidget did not use the updated > extents of my DHTML map (e.g. after a zoom operation). It appearsthat > my 'stock versions' of Query and ROI widgets are also affected (under > IE5.5). > In the case of Query, I used debug messages to discover the valuesof > click coords, and its clearly evident that the min/max extent arealways > the same. For the ROI widget, defined regions are displayed as though > the map were displayed at full extent. If I zoom in, define an ROI,the > region appears scaled and positioned according to the original extents. > > REcenter widget works OK, but it doesn't do a pixeltogeo conversion,so > I'm wondering where to look for the problem. > > Anyone experiencing similar problems? suggestions? > To reproduce the problem, try doing a point query at a couple of > different display extents here: atlas.planyukon.ca/chameleon/htdocs > > Thanks > Jeff Hamm > YLUPC > Yukon, CANADA > _______________________________________________Chameleon mailing listChameleon@lists.maptools.orghttp://lists.maptools.org/mailman/listinfo/chameleon __________________________________ Do you Yahoo!? Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools From pxniw69@yahoo.com Mon Mar 1 20:24:06 2004 Received: from web41902.mail.yahoo.com (web41902.mail.yahoo.com [66.218.93.153]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i221O4aN028585 for ; Mon, 1 Mar 2004 20:24:05 -0500 Message-ID: <20040302012333.8766.qmail@web41902.mail.yahoo.com> Received: from [69.160.72.105] by web41902.mail.yahoo.com via HTTP; Mon, 01 Mar 2004 17:23:33 PST Date: Mon, 1 Mar 2004 17:23:33 -0800 (PST) From: pxniw pxniw To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Chameleon] point to point polygon Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I have 3 points in the map. I have lat and lon for those points. info is on mysql db. How do I show each point with line between each point. ie: x-----x------x Using SQLQuery widget and MapImageSharedResource. (Right now I can show x x x (But no lines in between) Thanks a bunch ;) __________________________________ Do you Yahoo!? Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools From jeff@planyukon.ca Mon Mar 1 23:59:21 2004 Received: from whtvhost.com (mail.whtvhost.com [199.247.235.12]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i224xCaN029212 for ; Mon, 1 Mar 2004 23:59:20 -0500 Received: from homefree [199.247.236.31] by whtvhost.com with ESMTP (SMTPD32-7.15) id A4134690148; Mon, 01 Mar 2004 20:56:51 -0800 From: "Jeff Hamm" To: Cc: Subject: RE: [Chameleon] Pixel to Geo Conversion problems Date: Mon, 1 Mar 2004 21:01:06 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20040302004929.68590.qmail@web12107.mail.yahoo.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-RBL-Warning: HELOBOGUS: Domain homefree returns a server failure for MX or A records. X-RBL-Warning: REVDNS: This E-mail was sent from a MUA/MTA 199.247.236.31 with no reverse DNS entry. X-Declude-Sender: jeff@planyukon.ca [199.247.236.31] X-Spam-Tests-Failed: HELOBOGUS, IPNOTINMX, REVDNS [5] X-Note: This E-mail was scanned by Declude JunkMail (www.declude.com) for spam. Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Jacob; I have: Server is RH8, widget is "cwcjsapi.widget.php". Zoom widgets etc don't work if this is declared in uppercase (ie I get a little slash/circle for a cursor). Its' the whole goCWCJSAPI object that seems to be out of scope for the widget, which seems rather non-global of it. I'll poke around some more as I track down my Print widget bug before I make an attempt at global reconciliation. In the meantime, I'm content with a working widget :-) Thanks for your help. Jeff -----Original Message----- From: J. Delfos [mailto:delfos18@yahoo.com] Sent: March 1, 2004 4:49 PM To: Jeff Hamm Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Pixel to Geo Conversion problems Jeff, Perhaps your javascript variables are not yet initialised. I'm not sure whether variables such as goCWCJSAPI.oMap.maxx are initialised before any javascript is actually used. Perhaps on the "ONLOAD" you can initialise them with the form variables. The form variable MAP_EXTENTS_MINX would be the one that could get outdated when you use javascript. What I think might be happening is that when you zoom, only the javascript map-extents variables (goCWCJSAPI.oMap.maxx, etc.) get used and updated. As soon as you use your print widget, it might actually try to access the MAP_EXTENTS_MINX form variable (which is not up to date). That's why after every javascript operation (e.g. zoom), it might help to update the form variables. Are you sure you included the CWCJSAPI widget properly? Jacob --- Jeff Hamm wrote: --------------------------------- Jacob; Thanks for your reply. I was doing some modifications to create a Query by Polygon function.The function performs an initial querybypoint to retrieve the initial shape,which is then used to querybyshape on other layers. I was having problems grabbing the current map extents, so I implementeda similar approach to your suggestion, using the form: $nMinX = {$this->mszHTMLForm}.MAP_EXTENTS_MINX.value. In trying the goCWCJSAPI approach you suggested, I found that goCWCJSAPIwas undefined. This might be a more fundamental problem, but for now Isimply scrapped the values off the form. Is there a definitive test soI can tell if the CWCJSAPI is functioning? BTW, I also found it necessary to change the value of nInversePix inthe pixeltogeo conversion (around line 225 in the map_query.php wrapper)from 1 to 0 for the conversion of x coordinates. I haven't attempted a fix on the printwidget yet, although I'm surea similar workaround is doable. Still wondering why the $oMap values aren'tupdated by the Zoom widget though :-( Jeff "J. Delfos" wrote:I have had similar problems, though not exactly thesame. The problems I had were that changes made to the map extent by javascript parts (e.g. zooming and recentering) were forgotten as soon as I submitted theform; it went back to the original extent. I patched it by pasting this code into the "clickUpdateMap" function, in Updatemap.Widget.php: {$this->mszHTMLForm}.MAP_EXTENTS_MINX.value = goCWCJSAPI.oMap.minx; //custom added, not to lose extents {$this->mszHTMLForm}.MAP_EXTENTS_MAXX.value = goCWCJSAPI.oMap.maxx; {$this->mszHTMLForm}.MAP_EXTENTS_MINY.value = goCWCJSAPI.oMap.miny; {$this->mszHTMLForm}.MAP_EXTENTS_MAXY.value = goCWCJSAPI.oMap.maxy; This makes sure that the form variables for your extent are up to date compared to what your javascript did, when you submit the form. Perhaps you should try having it execute this code prior to using the functions which currently aren't working, to make sure your form variables are current before it does any processing. regards, Jacob --- Jeff Hamm wrote: > > I've previously reported that my PrintWidget did not use the updated > extents of my DHTML map (e.g. after a zoom operation). It appearsthat > my 'stock versions' of Query and ROI widgets are also affected (under > IE5.5). > In the case of Query, I used debug messages to discover the valuesof > click coords, and its clearly evident that the min/max extent arealways > the same. For the ROI widget, defined regions are displayed as though > the map were displayed at full extent. If I zoom in, define an ROI,the > region appears scaled and positioned according to the original extents. > > REcenter widget works OK, but it doesn't do a pixeltogeo conversion,so > I'm wondering where to look for the problem. > > Anyone experiencing similar problems? suggestions? > To reproduce the problem, try doing a point query at a couple of > different display extents here: atlas.planyukon.ca/chameleon/htdocs > > Thanks > Jeff Hamm > YLUPC > Yukon, CANADA > _______________________________________________Chameleon mailing listChameleon@lists.maptools.orghttp://lists.maptools.org/mailman/listinfo/c hameleon __________________________________ Do you Yahoo!? Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools From bartvde@xs4all.nl Tue Mar 2 01:16:08 2004 Received: from smtp-out1.xs4all.nl (smtp-out1.xs4all.nl [194.109.24.11]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i226G7aN029490 for ; Tue, 2 Mar 2004 01:16:08 -0500 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out1.xs4all.nl (8.12.10/8.12.10) with SMTP id i226G1SU046786; Tue, 2 Mar 2004 07:16:01 +0100 (CET) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Tue, 2 Mar 2004 07:18:24 +0100 (CET) Message-ID: <18501.212.238.227.182.1078208304.squirrel@webmail.xs4all.nl> In-Reply-To: References: <40439973.7F5FCF16@planyukon.ca> Date: Tue, 2 Mar 2004 07:18:24 +0100 (CET) Subject: Re: [Chameleon] layermanager widget From: bartvde@xs4all.nl To: "Paul Dymecki" Cc: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Paul, I don't think the problem is in your syntax. I tried using the LayerManager widget in my template (BTW, is it your intention to get a 250 by 250 button?) but I get the following error:
Fatal error: Call to a member function on a non-object in C:\ms4w\apps\chameleon\htdocs\widgets\Layer.phtml on line 51
So I don't know if this widget is fully-functional yet (or perhaps it is caused by our changes in the rest of the code in our local copy). Best thing you can probably do at this moment is file a bug in bugzilla. If you are looking for LayerManager type of functionality (list of layers, promote/demote/remove layer), you can also use the LegendTemplate widget, if you need an example let me know. Best regards, Bart > Hi, > > I was wondering if there is any example code available on how to get the > > layermanger widget working? I tried adding the following to the sample app > > in chameleon1.1-alpha, but just get a blank box.. > > thx, > > Paul > > > > > TEXTBUTTONWIDTH="250" TEXTBUTTONHEIGHT="250" TEXTBUTTONPADDING="5" > > TEXTBUTTONNUDGE="5" USETEXTBUTTONCACHE="FALSE" POPUPWIDTH="250" > > POPUPHEIGHT="300" TOOLBAR="TRUE" MENUBAR="TRUE" STATUS="TRUE" > > SCROLLBARS="TRUE" RESIZABLE="TRUE"/> > > > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > From gianluigi.nozza@tiscali.it Tue Mar 2 08:30:27 2004 Received: from mailr-1.tiscali.it (mailr-1.tiscali.it [212.123.84.81]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i22DUOaN031696 for ; Tue, 2 Mar 2004 08:30:26 -0500 Received: from ppp-217-133-101-168.cust-adsl.tiscali.it (HELO gian) (217.133.101.168) by mailr-1.tiscali.it with SMTP; 02 Mar 2004 14:30:13 +0100 X-BrightmailFiltered: true Message-ID: <000e01c4005a$0d14a550$6400a8c0@gian> From: "Gianluigi Nozza" To: Date: Tue, 2 Mar 2004 14:26:51 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: [Chameleon] Chameleon 1.1 Installation Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Dear lister With the help of the list, I made a little step toward the main goal of the "Chameleon 1.1 installation" with IIS and Windows 2000 I found very usefull the suggestion to include in the epsg proj file, references for the two non standard projection of the sample application. # WGS84 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) <42101> +proj=lcc +ellps=WGS84 +lat_0=0 +lon_0=-95 +lat_1=49 +lat_2=77 +x_0=0 +y_0=-8000000 +datum=WGS84 +units=m no_defs <> # NAD83 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) (This is the standard Atlas of Canada data's projection) <42304> +proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat_1=49 +lat_2=77 +datum=NAD83 +units=m no_defs <> At that point I was able to start the sample application, but with the following limits: I can't see any widget, No widget seems to work, apart for the distances ruler that works fine. I can'see the keymap When I try to zoom in, I can see the red rubberband but the I come up with a "missing page error" At this point I believe that I have some failure in some path/url specification There will be someone in the universe using Chameleon 1.1 with IIS and windows 2000 ? I hope so. Will be that man/woman so kind to send me their working, cwc2.xlm configuration file the sample map file properly configured (chameleon.map) the sample template file properly configured (sample.html) Thanks to everybody From gianluigi.nozza@tiscali.it Tue Mar 2 11:20:34 2004 Received: from mailr-1.tiscali.it (mailr-1.tiscali.it [212.123.84.81]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i22GKVaN032656 for ; Tue, 2 Mar 2004 11:20:33 -0500 Received: from ppp-217-133-101-168.cust-adsl.tiscali.it (HELO gian) (217.133.101.168) by mailr-1.tiscali.it with SMTP; 02 Mar 2004 17:20:29 +0100 X-BrightmailFiltered: true Message-ID: <002201c40071$d5e29fc0$6400a8c0@gian> From: "Gianluigi Nozza" To: "Paul Dymecki" , References: Subject: Re: [Chameleon] Chameleon 1.1 Installation Date: Tue, 2 Mar 2004 17:17:12 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001F_01C4007A.335ADF20" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_001F_01C4007A.335ADF20 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thank you Paul I have just take a look to your configuration files, and I have found = they looks very close to mine, apart Apache while I have IIS Meanwhile I was able to get the keymap and the widget to appear. I have = found that keymap seems to pretend an absolute path while the rest wants = a relative path, but not sure even of that. Besides I can't see any legend (I don't think this is how the sample has = to look like) Isn't it ? And the only widget that work is the ruler. I can see the north america map, but when I try to zoom I get a 405 = error "page not found" I have checked if image files are written on the image temporary = directory but I can't find nothing else than the scalebar image. In other words it seems that chameleon does not write image file on = disk.... So I'm figure out there is something worst than a simple wrong path = reference..... Hope some help from Heaven users.... ----- Original Message -----=20 From: Paul Dymecki=20 To: Gianluigi Nozza=20 Sent: Tuesday, March 02, 2004 3:53 PM Subject: RE: [Chameleon] Chameleon 1.1 Installation Here you go, -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org]On Behalf Of Gianluigi = Nozza Sent: Tuesday, March 02, 2004 8:27 AM To: chameleon@lists.maptools.org Subject: [Chameleon] Chameleon 1.1 Installation Dear lister With the help of the list, I made a little step toward the main goal = of the "Chameleon 1.1 installation" with IIS and Windows 2000 I found very usefull the suggestion to include in the epsg proj file, references for the two non standard projection of the sample = application. # WGS84 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) <42101> +proj=3Dlcc +ellps=3DWGS84 +lat_0=3D0 +lon_0=3D-95 +lat_1=3D49 = +lat_2=3D77 +x_0=3D0 +y_0=3D-8000000 +datum=3DWGS84 +units=3Dm no_defs <> # NAD83 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) (This is = the standard Atlas of Canada data's projection) <42304> +proj=3Dlcc +ellps=3DGRS80 +lat_0=3D49 +lon_0=3D-95 = +lat_1=3D49 +lat_2=3D77 +datum=3DNAD83 +units=3Dm no_defs <> At that point I was able to start the sample application, but with the following limits: I can't see any widget, No widget seems to work, apart for the distances ruler that works = fine. I can'see the keymap When I try to zoom in, I can see the red rubberband but the I come up = with a "missing page error" At this point I believe that I have some failure in some path/url specification There will be someone in the universe using Chameleon 1.1 with IIS and windows 2000 ? I hope so. Will be that man/woman so kind to send me their working, cwc2.xlm configuration file the sample map file properly configured (chameleon.map) the sample template file properly configured (sample.html) Thanks to everybody _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon ------=_NextPart_000_001F_01C4007A.335ADF20 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Thank you Paul
 
I have just take a look to your = configuration=20 files, and I have found they looks very close to mine, apart Apache = while I=20 have IIS
Meanwhile I was able to get the keymap = and the=20 widget to appear. I have found that keymap seems to pretend an absolute = path=20 while the rest wants a relative path, but not sure even of = that.
Besides I can't see any legend (I don't = think this=20 is how the sample has to look like) Isn't it ?
And the only widget that work is = the=20 ruler.
I can see the north america map, but = when I try to=20 zoom I get a 405 error "page not found"
I have checked if image files are = written on the=20 image temporary directory but I can't find nothing else than the = scalebar=20 image.
In other words it seems that chameleon = does not=20 write image file on disk....
So I'm figure out there is something = worst than a=20 simple wrong path reference.....
 
Hope some help from Heaven = users....
 
----- Original Message -----
From:=20 Paul=20 Dymecki
Sent: Tuesday, March 02, 2004 = 3:53=20 PM
Subject: RE: [Chameleon] = Chameleon 1.1=20 Installation


Here you=20 go,

-----Original Message-----
From: chameleon-admin@lists.= maptools.org
[mailto:chameleon-admin@lists.maptools.org]On=20 Behalf Of Gianluigi Nozza
Sent: Tuesday, March 02, 2004 8:27 = AM
To: chameleon@lists.maptools.org=
Subject:=20 [Chameleon] Chameleon 1.1 Installation


Dear lister
With = the help=20 of the list, I made a little step toward the main goal of = the
"Chameleon=20 1.1 installation" with IIS and Windows 2000

I found very = usefull the=20 suggestion to include in the epsg proj file,
references for the two = non=20 standard projection of the sample application.
# WGS84 Canada LCC = (WARNING:=20 FAKE EPSG CODE, NON STANDARD)
<42101> +proj=3Dlcc = +ellps=3DWGS84 +lat_0=3D0=20 +lon_0=3D-95 +lat_1=3D49 +lat_2=3D77
+x_0=3D0 +y_0=3D-8000000 = +datum=3DWGS84 +units=3Dm=20 no_defs <>
# NAD83 Canada LCC (WARNING: FAKE EPSG CODE, NON = STANDARD)=20 (This is the
standard Atlas of Canada data's = projection)
<42304>=20 +proj=3Dlcc +ellps=3DGRS80 +lat_0=3D49 +lon_0=3D-95 +lat_1=3D49=20 +lat_2=3D77
+datum=3DNAD83 +units=3Dm no_defs <>

At = that point I was=20 able to start the sample application, but with the
following = limits:
I=20 can't see any widget,
No widget seems to work, apart for the = distances=20 ruler that works fine.
I can'see the keymap
When I try to zoom = in, I can=20 see the red rubberband but the I come up with a
"missing page=20 error"

At this point I believe that I have some failure in some = path/url
specification

There will be someone in the universe = using=20 Chameleon 1.1 with IIS and
windows 2000 ?
I hope so. Will be = that=20 man/woman so kind to send me their working,

cwc2.xlm =20 configuration file
the sample map file properly configured=20 (chameleon.map)
the sample template file properly configured=20 (sample.html)

Thanks to=20 = everybody



_______________________________________________<= BR>Chameleon=20 mailing=20 = list
Chameleon@lists.maptools.org
http://lists.maptools.org/mailman= /listinfo/chameleon
------=_NextPart_000_001F_01C4007A.335ADF20-- From jfournier@dmsolutions.ca Tue Mar 2 11:29:37 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i22GTbaN032702 for ; Tue, 2 Mar 2004 11:29:37 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i22GTbj3017386; Tue, 2 Mar 2004 11:29:37 -0500 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i22GTa65030611; Tue, 2 Mar 2004 11:29:37 -0500 Message-ID: <4044B689.2040602@dmsolutions.ca> Date: Tue, 02 Mar 2004 11:30:01 -0500 From: Jason Fournier Reply-To: jfournier@dmsolutions.ca User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gianluigi Nozza CC: Paul Dymecki , chameleon@lists.maptools.org Subject: Re: [Chameleon] Chameleon 1.1 Installation References: <002201c40071$d5e29fc0$6400a8c0@gian> In-Reply-To: <002201c40071$d5e29fc0$6400a8c0@gian> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Regarding the Zoom In issue ... If you are using IIS you *may* have to set the action in the body to index.phtml (ie, action="index.phtml"). If this does not work then a redirect to http://path/to/chameleon/index.phtml prior to entering the application may work. This will set the URL to include index.phtml (whereas default document hides it). Hope this helps, Jason Gianluigi Nozza wrote: > Thank you Paul > > I have just take a look to your configuration files, and I have found > they looks very close to mine, apart Apache while I have IIS > Meanwhile I was able to get the keymap and the widget to appear. I > have found that keymap seems to pretend an absolute path while the > rest wants a relative path, but not sure even of that. > Besides I can't see any legend (I don't think this is how the sample > has to look like) Isn't it ? > And the only widget that work is the ruler. > I can see the north america map, but when I try to zoom I get a 405 > error "page not found" > I have checked if image files are written on the image temporary > directory but I can't find nothing else than the scalebar image. > In other words it seems that chameleon does not write image file on > disk.... > So I'm figure out there is something worst than a simple wrong path > reference..... > > Hope some help from Heaven users.... > > ----- Original Message ----- > > From: Paul Dymecki > To: Gianluigi Nozza > Sent: Tuesday, March 02, 2004 3:53 PM > Subject: RE: [Chameleon] Chameleon 1.1 Installation > > > Here you go, > > -----Original Message----- > From: chameleon-admin@lists.maptools.org > > [mailto:chameleon-admin@lists.maptools.org]On Behalf Of Gianluigi > Nozza > Sent: Tuesday, March 02, 2004 8:27 AM > To: chameleon@lists.maptools.org > Subject: [Chameleon] Chameleon 1.1 Installation > > > Dear lister > With the help of the list, I made a little step toward the main > goal of the > "Chameleon 1.1 installation" with IIS and Windows 2000 > > I found very usefull the suggestion to include in the epsg proj file, > references for the two non standard projection of the sample > application. > # WGS84 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) > <42101> +proj=lcc +ellps=WGS84 +lat_0=0 +lon_0=-95 +lat_1=49 +lat_2=77 > +x_0=0 +y_0=-8000000 +datum=WGS84 +units=m no_defs <> > # NAD83 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) (This > is the > standard Atlas of Canada data's projection) > <42304> +proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat_1=49 > +lat_2=77 > +datum=NAD83 +units=m no_defs <> > > At that point I was able to start the sample application, but with the > following limits: > I can't see any widget, > No widget seems to work, apart for the distances ruler that works > fine. > I can'see the keymap > When I try to zoom in, I can see the red rubberband but the I come > up with a > "missing page error" > > At this point I believe that I have some failure in some path/url > specification > > There will be someone in the universe using Chameleon 1.1 with IIS and > windows 2000 ? > I hope so. Will be that man/woman so kind to send me their working, > > cwc2.xlm configuration file > the sample map file properly configured (chameleon.map) > the sample template file properly configured (sample.html) > > Thanks to everybody > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ___________________________ Jason Fournier DM Solutions Group Application Developer Ottawa, ON 613.565.5056 x 18 jfournier@dmsolutions.ca From bartvde@xs4all.nl Tue Mar 2 11:33:34 2004 Received: from smtp-out5.xs4all.nl (smtp-out5.xs4all.nl [194.109.24.6]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i22GXXaN032730 for ; Tue, 2 Mar 2004 11:33:34 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out5.xs4all.nl (8.12.10/8.12.10) with ESMTP id i22GXVEP006969; Tue, 2 Mar 2004 17:33:32 +0100 (CET) Cc: chameleon@lists.maptools.org To: Gianluigi Nozza Subject: Re: [Chameleon] Chameleon 1.1 Installation Reply-To: bartvde@xs4all.nl References: <002201c40071$d5e29fc0$6400a8c0@gian> Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Tue, 02 Mar 2004 17:33:08 +0100 In-Reply-To: <002201c40071$d5e29fc0$6400a8c0@gian> User-Agent: Opera7.23/Win32 M2 build 3227 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, did you make the changes to the sample application (index.phtml) as mentioned in the following e-mail: http://lists.maptools.org/pipermail/chameleon/2004-January/000471.html BTW: no map images are written to disk. Only buttons, scalebars and GML among others. Best regards, Bart On Tue, 2 Mar 2004 17:17:12 +0100, Gianluigi Nozza wrote: > Thank you Paul > > I have just take a look to your configuration files, and I have found > they looks very close to mine, apart Apache while I have IIS > Meanwhile I was able to get the keymap and the widget to appear. I have > found that keymap seems to pretend an absolute path while the rest wants > a relative path, but not sure even of that. > Besides I can't see any legend (I don't think this is how the sample has > to look like) Isn't it ? > And the only widget that work is the ruler. > I can see the north america map, but when I try to zoom I get a 405 > error "page not found" > I have checked if image files are written on the image temporary > directory but I can't find nothing else than the scalebar image. > In other words it seems that chameleon does not write image file on > disk.... > So I'm figure out there is something worst than a simple wrong path > reference..... > > Hope some help from Heaven users.... > > ----- Original Message ----- > From: Paul Dymecki > To: Gianluigi Nozza > Sent: Tuesday, March 02, 2004 3:53 PM > Subject: RE: [Chameleon] Chameleon 1.1 Installation > > > > Here you go, > > -----Original Message----- > From: chameleon-admin@lists.maptools.org > [mailto:chameleon-admin@lists.maptools.org]On Behalf Of Gianluigi Nozza > Sent: Tuesday, March 02, 2004 8:27 AM > To: chameleon@lists.maptools.org > Subject: [Chameleon] Chameleon 1.1 Installation > > > Dear lister > With the help of the list, I made a little step toward the main goal > of the > "Chameleon 1.1 installation" with IIS and Windows 2000 > > I found very usefull the suggestion to include in the epsg proj file, > references for the two non standard projection of the sample > application. > # WGS84 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) > <42101> +proj=lcc +ellps=WGS84 +lat_0=0 +lon_0=-95 +lat_1=49 +lat_2=77 > +x_0=0 +y_0=-8000000 +datum=WGS84 +units=m no_defs <> > # NAD83 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) (This is the > standard Atlas of Canada data's projection) > <42304> +proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat_1=49 +lat_2=77 > +datum=NAD83 +units=m no_defs <> > > At that point I was able to start the sample application, but with the > following limits: > I can't see any widget, > No widget seems to work, apart for the distances ruler that works fine. > I can'see the keymap > When I try to zoom in, I can see the red rubberband but the I come up > with a > "missing page error" > > At this point I believe that I have some failure in some path/url > specification > > There will be someone in the universe using Chameleon 1.1 with IIS and > windows 2000 ? > I hope so. Will be that man/woman so kind to send me their working, > > cwc2.xlm configuration file > the sample map file properly configured (chameleon.map) > the sample template file properly configured (sample.html) > > Thanks to everybody > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- From gianluigi.nozza@tiscali.it Tue Mar 2 11:51:16 2004 Received: from mailr-2.tiscali.it (mailr-2.tiscali.it [212.123.84.82]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i22GpFaN000327 for ; Tue, 2 Mar 2004 11:51:16 -0500 Received: from ppp-217-133-101-168.cust-adsl.tiscali.it (HELO gian) (217.133.101.168) by mailr-2.tiscali.it with SMTP; 02 Mar 2004 17:51:13 +0100 X-BrightmailFiltered: true Message-ID: <000801c40076$1f71a920$6400a8c0@gian> From: "Gianluigi Nozza" To: Cc: "Paul Dymecki" , References: <002201c40071$d5e29fc0$6400a8c0@gian> <4044B689.2040602@dmsolutions.ca> Subject: Re: [Chameleon] Chameleon 1.1 Installation Date: Tue, 2 Mar 2004 17:47:51 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Heaven answered !!! But it was too technical for me... Thank you Jason but I don't know what are "set the action" and "redirection" Can you explain me step by step if is not too much complicated ? It seems to me I'am so close..... ----- Original Message ----- From: "Jason Fournier" To: "Gianluigi Nozza" Cc: "Paul Dymecki" ; Sent: Tuesday, March 02, 2004 5:30 PM Subject: Re: [Chameleon] Chameleon 1.1 Installation > Regarding the Zoom In issue ... > > If you are using IIS you *may* have to set the action in the body to > index.phtml (ie, action="index.phtml"). If this does not work then a > redirect to http://path/to/chameleon/index.phtml prior to entering the > application may work. This will set the URL to include index.phtml > (whereas default document hides it). > > Hope this helps, > Jason > > > > Gianluigi Nozza wrote: > > > Thank you Paul > > > > I have just take a look to your configuration files, and I have found > > they looks very close to mine, apart Apache while I have IIS > > Meanwhile I was able to get the keymap and the widget to appear. I > > have found that keymap seems to pretend an absolute path while the > > rest wants a relative path, but not sure even of that. > > Besides I can't see any legend (I don't think this is how the sample > > has to look like) Isn't it ? > > And the only widget that work is the ruler. > > I can see the north america map, but when I try to zoom I get a 405 > > error "page not found" > > I have checked if image files are written on the image temporary > > directory but I can't find nothing else than the scalebar image. > > In other words it seems that chameleon does not write image file on > > disk.... > > So I'm figure out there is something worst than a simple wrong path > > reference..... > > > > Hope some help from Heaven users.... > > > > ----- Original Message ----- > > > > From: Paul Dymecki > > To: Gianluigi Nozza > > Sent: Tuesday, March 02, 2004 3:53 PM > > Subject: RE: [Chameleon] Chameleon 1.1 Installation > > > > > > Here you go, > > > > -----Original Message----- > > From: chameleon-admin@lists.maptools.org > > > > [mailto:chameleon-admin@lists.maptools.org]On Behalf Of Gianluigi > > Nozza > > Sent: Tuesday, March 02, 2004 8:27 AM > > To: chameleon@lists.maptools.org > > Subject: [Chameleon] Chameleon 1.1 Installation > > > > > > Dear lister > > With the help of the list, I made a little step toward the main > > goal of the > > "Chameleon 1.1 installation" with IIS and Windows 2000 > > > > I found very usefull the suggestion to include in the epsg proj file, > > references for the two non standard projection of the sample > > application. > > # WGS84 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) > > <42101> +proj=lcc +ellps=WGS84 +lat_0=0 +lon_0=-95 +lat_1=49 +lat_2=77 > > +x_0=0 +y_0=-8000000 +datum=WGS84 +units=m no_defs <> > > # NAD83 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) (This > > is the > > standard Atlas of Canada data's projection) > > <42304> +proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat_1=49 > > +lat_2=77 > > +datum=NAD83 +units=m no_defs <> > > > > At that point I was able to start the sample application, but with the > > following limits: > > I can't see any widget, > > No widget seems to work, apart for the distances ruler that works > > fine. > > I can'see the keymap > > When I try to zoom in, I can see the red rubberband but the I come > > up with a > > "missing page error" > > > > At this point I believe that I have some failure in some path/url > > specification > > > > There will be someone in the universe using Chameleon 1.1 with IIS and > > windows 2000 ? > > I hope so. Will be that man/woman so kind to send me their working, > > > > cwc2.xlm configuration file > > the sample map file properly configured (chameleon.map) > > the sample template file properly configured (sample.html) > > > > Thanks to everybody > > > > > > > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > http://lists.maptools.org/mailman/listinfo/chameleon > > > > -- > ___________________________ > Jason Fournier > DM Solutions Group > Application Developer > Ottawa, ON > 613.565.5056 x 18 > jfournier@dmsolutions.ca > > > From jfournier@dmsolutions.ca Tue Mar 2 11:54:47 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i22GslaN000353 for ; Tue, 2 Mar 2004 11:54:47 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i22Gskj3028889; Tue, 2 Mar 2004 11:54:46 -0500 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i22GsjWD006793; Tue, 2 Mar 2004 11:54:46 -0500 Message-ID: <4044BC6E.9070902@dmsolutions.ca> Date: Tue, 02 Mar 2004 11:55:10 -0500 From: Jason Fournier Reply-To: jfournier@dmsolutions.ca User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gianluigi Nozza CC: Paul Dymecki , chameleon@lists.maptools.org Subject: Re: [Chameleon] Chameleon 1.1 Installation References: <002201c40071$d5e29fc0$6400a8c0@gian> <4044B689.2040602@dmsolutions.ca> <000801c40076$1f71a920$6400a8c0@gian> In-Reply-To: <000801c40076$1f71a920$6400a8c0@gian> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Sure, In your Chameleon template there is a tag:
just add that should do the trick. Cheers, Jason Gianluigi Nozza wrote: >Heaven answered !!! >But it was too technical for me... > >Thank you Jason but I don't know what are "set the action" and "redirection" > >Can you explain me step by step if is not too much complicated ? >It seems to me I'am so close..... > >----- Original Message ----- >From: "Jason Fournier" >To: "Gianluigi Nozza" >Cc: "Paul Dymecki" ; >Sent: Tuesday, March 02, 2004 5:30 PM >Subject: Re: [Chameleon] Chameleon 1.1 Installation > > > > >>Regarding the Zoom In issue ... >> >>If you are using IIS you *may* have to set the action in the body to >>index.phtml (ie, action="index.phtml"). If this does not work then a >>redirect to http://path/to/chameleon/index.phtml prior to entering the >>application may work. This will set the URL to include index.phtml >>(whereas default document hides it). >> >>Hope this helps, >>Jason >> >> >> >>Gianluigi Nozza wrote: >> >> >> >>>Thank you Paul >>> >>>I have just take a look to your configuration files, and I have found >>>they looks very close to mine, apart Apache while I have IIS >>>Meanwhile I was able to get the keymap and the widget to appear. I >>>have found that keymap seems to pretend an absolute path while the >>>rest wants a relative path, but not sure even of that. >>>Besides I can't see any legend (I don't think this is how the sample >>>has to look like) Isn't it ? >>>And the only widget that work is the ruler. >>>I can see the north america map, but when I try to zoom I get a 405 >>>error "page not found" >>>I have checked if image files are written on the image temporary >>>directory but I can't find nothing else than the scalebar image. >>>In other words it seems that chameleon does not write image file on >>>disk.... >>>So I'm figure out there is something worst than a simple wrong path >>>reference..... >>> >>>Hope some help from Heaven users.... >>> >>>----- Original Message ----- >>> >>> From: Paul Dymecki >>> To: Gianluigi Nozza >>> Sent: Tuesday, March 02, 2004 3:53 PM >>> Subject: RE: [Chameleon] Chameleon 1.1 Installation >>> >>> >>> Here you go, >>> >>> -----Original Message----- >>> From: chameleon-admin@lists.maptools.org >>> >>> [mailto:chameleon-admin@lists.maptools.org]On Behalf Of Gianluigi >>> Nozza >>> Sent: Tuesday, March 02, 2004 8:27 AM >>> To: chameleon@lists.maptools.org >>> >>> > > > >>> Subject: [Chameleon] Chameleon 1.1 Installation >>> >>> >>> Dear lister >>> With the help of the list, I made a little step toward the main >>> goal of the >>> "Chameleon 1.1 installation" with IIS and Windows 2000 >>> >>> I found very usefull the suggestion to include in the epsg proj >>> >>> >file, > > >>> references for the two non standard projection of the sample >>> application. >>> # WGS84 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) >>> <42101> +proj=lcc +ellps=WGS84 +lat_0=0 +lon_0=-95 +lat_1=49 >>> >>> >+lat_2=77 > > >>> +x_0=0 +y_0=-8000000 +datum=WGS84 +units=m no_defs <> >>> # NAD83 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) (This >>> is the >>> standard Atlas of Canada data's projection) >>> <42304> +proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat_1=49 >>> +lat_2=77 >>> +datum=NAD83 +units=m no_defs <> >>> >>> At that point I was able to start the sample application, but with >>> >>> >the > > >>> following limits: >>> I can't see any widget, >>> No widget seems to work, apart for the distances ruler that works >>> fine. >>> I can'see the keymap >>> When I try to zoom in, I can see the red rubberband but the I come >>> up with a >>> "missing page error" >>> >>> At this point I believe that I have some failure in some path/url >>> specification >>> >>> There will be someone in the universe using Chameleon 1.1 with IIS >>> >>> >and > > >>> windows 2000 ? >>> I hope so. Will be that man/woman so kind to send me their working, >>> >>> cwc2.xlm configuration file >>> the sample map file properly configured (chameleon.map) >>> the sample template file properly configured (sample.html) >>> >>> Thanks to everybody >>> >>> >>> >>> _______________________________________________ >>> Chameleon mailing list >>> Chameleon@lists.maptools.org >>> http://lists.maptools.org/mailman/listinfo/chameleon >>> >>> >>> >>-- >>___________________________ >>Jason Fournier >>DM Solutions Group >>Application Developer >>Ottawa, ON >>613.565.5056 x 18 >>jfournier@dmsolutions.ca >> >> >> >> >> > > > > > -- ___________________________ Jason Fournier DM Solutions Group Application Developer Ottawa, ON 613.565.5056 x 18 jfournier@dmsolutions.ca From bartvde@xs4all.nl Tue Mar 2 11:59:24 2004 Received: from smtp-out1.xs4all.nl (smtp-out1.xs4all.nl [194.109.24.11]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i22GxLaN000438 for ; Tue, 2 Mar 2004 11:59:24 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out1.xs4all.nl (8.12.10/8.12.10) with ESMTP id i22GxJxf026555; Tue, 2 Mar 2004 17:59:19 +0100 (CET) Cc: chameleon@lists.maptools.org To: Gianluigi Nozza Subject: Re: [Chameleon] Chameleon 1.1 Installation Reply-To: bartvde@xs4all.nl References: <002201c40071$d5e29fc0$6400a8c0@gian> <4044B689.2040602@dmsolutions.ca> <000801c40076$1f71a920$6400a8c0@gian> Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Tue, 02 Mar 2004 17:58:55 +0100 In-Reply-To: <000801c40076$1f71a920$6400a8c0@gian> User-Agent: Opera7.23/Win32 M2 build 3227 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, your template HTML file (called sample.html probably in the htdocs subdirectory) has an HTML form in it: you should try changing this into: or into or whatever URL you have configured in IIS for the sample application. Good luck. Best regards, Bart On Tue, 2 Mar 2004 17:47:51 +0100, Gianluigi Nozza wrote: > Heaven answered !!! > But it was too technical for me... > > Thank you Jason but I don't know what are "set the action" and > "redirection" > > Can you explain me step by step if is not too much complicated ? > It seems to me I'am so close..... > > ----- Original Message ----- > From: "Jason Fournier" > To: "Gianluigi Nozza" > Cc: "Paul Dymecki" ; > > Sent: Tuesday, March 02, 2004 5:30 PM > Subject: Re: [Chameleon] Chameleon 1.1 Installation > > >> Regarding the Zoom In issue ... >> >> If you are using IIS you *may* have to set the action in the body to >> index.phtml (ie, action="index.phtml"). If this does not work then a >> redirect to http://path/to/chameleon/index.phtml prior to entering the >> application may work. This will set the URL to include index.phtml >> (whereas default document hides it). >> >> Hope this helps, >> Jason >> >> >> >> Gianluigi Nozza wrote: >> >> > Thank you Paul >> > >> > I have just take a look to your configuration files, and I have found >> > they looks very close to mine, apart Apache while I have IIS >> > Meanwhile I was able to get the keymap and the widget to appear. I >> > have found that keymap seems to pretend an absolute path while the >> > rest wants a relative path, but not sure even of that. >> > Besides I can't see any legend (I don't think this is how the sample >> > has to look like) Isn't it ? >> > And the only widget that work is the ruler. >> > I can see the north america map, but when I try to zoom I get a 405 >> > error "page not found" >> > I have checked if image files are written on the image temporary >> > directory but I can't find nothing else than the scalebar image. >> > In other words it seems that chameleon does not write image file on >> > disk.... >> > So I'm figure out there is something worst than a simple wrong path >> > reference..... >> > >> > Hope some help from Heaven users.... >> > >> > ----- Original Message ----- >> > >> > From: Paul Dymecki >> > To: Gianluigi Nozza >> > Sent: Tuesday, March 02, 2004 3:53 PM >> > Subject: RE: [Chameleon] Chameleon 1.1 Installation >> > >> > >> > Here you go, >> > >> > -----Original Message----- >> > From: chameleon-admin@lists.maptools.org >> > >> > [mailto:chameleon-admin@lists.maptools.org]On Behalf Of Gianluigi >> > Nozza >> > Sent: Tuesday, March 02, 2004 8:27 AM >> > To: chameleon@lists.maptools.org > >> > Subject: [Chameleon] Chameleon 1.1 Installation >> > >> > >> > Dear lister >> > With the help of the list, I made a little step toward the main >> > goal of the >> > "Chameleon 1.1 installation" with IIS and Windows 2000 >> > >> > I found very usefull the suggestion to include in the epsg proj > file, >> > references for the two non standard projection of the sample >> > application. >> > # WGS84 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) >> > <42101> +proj=lcc +ellps=WGS84 +lat_0=0 +lon_0=-95 +lat_1=49 > +lat_2=77 >> > +x_0=0 +y_0=-8000000 +datum=WGS84 +units=m no_defs <> >> > # NAD83 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) (This >> > is the >> > standard Atlas of Canada data's projection) >> > <42304> +proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat_1=49 >> > +lat_2=77 >> > +datum=NAD83 +units=m no_defs <> >> > >> > At that point I was able to start the sample application, but with > the >> > following limits: >> > I can't see any widget, >> > No widget seems to work, apart for the distances ruler that works >> > fine. >> > I can'see the keymap >> > When I try to zoom in, I can see the red rubberband but the I come >> > up with a >> > "missing page error" >> > >> > At this point I believe that I have some failure in some path/url >> > specification >> > >> > There will be someone in the universe using Chameleon 1.1 with IIS > and >> > windows 2000 ? >> > I hope so. Will be that man/woman so kind to send me their >> working, >> > >> > cwc2.xlm configuration file >> > the sample map file properly configured (chameleon.map) >> > the sample template file properly configured (sample.html) >> > >> > Thanks to everybody >> > >> > >> > >> > _______________________________________________ >> > Chameleon mailing list >> > Chameleon@lists.maptools.org >> > http://lists.maptools.org/mailman/listinfo/chameleon >> > >> >> -- >> ___________________________ >> Jason Fournier >> DM Solutions Group >> Application Developer >> Ottawa, ON >> 613.565.5056 x 18 >> jfournier@dmsolutions.ca >> >> >> > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- From gianluigi.nozza@tiscali.it Tue Mar 2 12:19:28 2004 Received: from mailr-1.tiscali.it (mailr-1.tiscali.it [212.123.84.81]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i22HJQaN000602 for ; Tue, 2 Mar 2004 12:19:27 -0500 Received: from ppp-217-133-101-168.cust-adsl.tiscali.it (HELO gian) (217.133.101.168) by mailr-1.tiscali.it with SMTP; 02 Mar 2004 18:19:26 +0100 X-BrightmailFiltered: true Message-ID: <001001c4007a$13188280$6400a8c0@gian> From: "Gianluigi Nozza" To: , References: <002201c40071$d5e29fc0$6400a8c0@gian> Subject: Re: [Chameleon] Chameleon 1.1 Installation Date: Tue, 2 Mar 2004 18:16:04 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hello Bart Yes I already moved the two lines....unsuccesfully Here is my index.phtml include( "c:/cwc2/htdocs/chameleon.php" ); $szTemplate = "sample.html"; $szMapFile = "c:/cwc2/chameleon_sample/map/chameleon.map"; class SampleApp extends Chameleon { function SampleApp() { parent::Chameleon(); $this->moMapSession = new MapSession_RW; $this->moMapSession->setTempDir( getSessionSavePath()); } function CWCLoadTemplate($szTemplateName) { $this->mszTemplate = implode("\n", file($szTemplateName)); } } $oApp = new SampleApp(); $oApp->CWCInitialize( $szTemplate, $szMapFile ); $oApp->CWCExecute(); ?> ----- Original Message ----- From: "Bart van den Eijnden" To: "Gianluigi Nozza" Cc: Sent: Tuesday, March 02, 2004 5:33 PM Subject: Re: [Chameleon] Chameleon 1.1 Installation > Hi, > > did you make the changes to the sample application (index.phtml) as > mentioned in the following e-mail: > > http://lists.maptools.org/pipermail/chameleon/2004-January/000471.html > > BTW: no map images are written to disk. Only buttons, scalebars and GML > among others. > > Best regards, > Bart > > On Tue, 2 Mar 2004 17:17:12 +0100, Gianluigi Nozza > wrote: > > > Thank you Paul > > > > I have just take a look to your configuration files, and I have found > > they looks very close to mine, apart Apache while I have IIS > > Meanwhile I was able to get the keymap and the widget to appear. I have > > found that keymap seems to pretend an absolute path while the rest wants > > a relative path, but not sure even of that. > > Besides I can't see any legend (I don't think this is how the sample has > > to look like) Isn't it ? > > And the only widget that work is the ruler. > > I can see the north america map, but when I try to zoom I get a 405 > > error "page not found" > > I have checked if image files are written on the image temporary > > directory but I can't find nothing else than the scalebar image. > > In other words it seems that chameleon does not write image file on > > disk.... > > So I'm figure out there is something worst than a simple wrong path > > reference..... > > > > Hope some help from Heaven users.... > > > > ----- Original Message ----- > > From: Paul Dymecki > > To: Gianluigi Nozza > > Sent: Tuesday, March 02, 2004 3:53 PM > > Subject: RE: [Chameleon] Chameleon 1.1 Installation > > > > > > > > Here you go, > > > > -----Original Message----- > > From: chameleon-admin@lists.maptools.org > > [mailto:chameleon-admin@lists.maptools.org]On Behalf Of Gianluigi Nozza > > Sent: Tuesday, March 02, 2004 8:27 AM > > To: chameleon@lists.maptools.org > > Subject: [Chameleon] Chameleon 1.1 Installation > > > > > > Dear lister > > With the help of the list, I made a little step toward the main goal > > of the > > "Chameleon 1.1 installation" with IIS and Windows 2000 > > > > I found very usefull the suggestion to include in the epsg proj file, > > references for the two non standard projection of the sample > > application. > > # WGS84 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) > > <42101> +proj=lcc +ellps=WGS84 +lat_0=0 +lon_0=-95 +lat_1=49 +lat_2=77 > > +x_0=0 +y_0=-8000000 +datum=WGS84 +units=m no_defs <> > > # NAD83 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) (This is the > > standard Atlas of Canada data's projection) > > <42304> +proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat_1=49 +lat_2=77 > > +datum=NAD83 +units=m no_defs <> > > > > At that point I was able to start the sample application, but with the > > following limits: > > I can't see any widget, > > No widget seems to work, apart for the distances ruler that works fine. > > I can'see the keymap > > When I try to zoom in, I can see the red rubberband but the I come up > > with a > > "missing page error" > > > > At this point I believe that I have some failure in some path/url > > specification > > > > There will be someone in the universe using Chameleon 1.1 with IIS and > > windows 2000 ? > > I hope so. Will be that man/woman so kind to send me their working, > > > > cwc2.xlm configuration file > > the sample map file properly configured (chameleon.map) > > the sample template file properly configured (sample.html) > > > > Thanks to everybody > > > > > > > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > http://lists.maptools.org/mailman/listinfo/chameleon > > > > -- > From gianluigi.nozza@tiscali.it Tue Mar 2 12:38:24 2004 Received: from mailr-1.tiscali.it (mailr-1.tiscali.it [212.123.84.81]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i22HcNaN000718 for ; Tue, 2 Mar 2004 12:38:23 -0500 Received: from ppp-217-133-101-168.cust-adsl.tiscali.it (HELO gian) (217.133.101.168) by mailr-1.tiscali.it with SMTP; 02 Mar 2004 18:38:11 +0100 X-BrightmailFiltered: true Message-ID: <003001c4007c$b33c1360$6400a8c0@gian> From: "Gianluigi Nozza" To: Cc: "Paul Dymecki" , References: <002201c40071$d5e29fc0$6400a8c0@gian> <4044B689.2040602@dmsolutions.ca> <000801c40076$1f71a920$6400a8c0@gian> <4044BC6E.9070902@dmsolutions.ca> Subject: Re: [Chameleon] Chameleon 1.1 Installation Date: Tue, 2 Mar 2004 18:34:58 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: IT WORKS !!!!! Still I don't understand why, but it works... Thank you Jason, and also Bart, and Paul, and Dave and the list, and Heaven The solution was provided at the same time by two listers .... Here is the trick... Last question of the day : The sample application has to display the legend ?, or I have to work another bit over ? ----- Original Message ----- From: "Jason Fournier" To: "Gianluigi Nozza" Cc: "Paul Dymecki" ; Sent: Tuesday, March 02, 2004 5:55 PM Subject: Re: [Chameleon] Chameleon 1.1 Installation > Sure, > > In your Chameleon template there is a tag: > > > > just add > > > > that should do the trick. > > Cheers, > Jason > > > > Gianluigi Nozza wrote: > > >Heaven answered !!! > >But it was too technical for me... > > > >Thank you Jason but I don't know what are "set the action" and "redirection" > > > >Can you explain me step by step if is not too much complicated ? > >It seems to me I'am so close..... > > > >----- Original Message ----- > >From: "Jason Fournier" > >To: "Gianluigi Nozza" > >Cc: "Paul Dymecki" ; > >Sent: Tuesday, March 02, 2004 5:30 PM > >Subject: Re: [Chameleon] Chameleon 1.1 Installation > > > > > > > > > >>Regarding the Zoom In issue ... > >> > >>If you are using IIS you *may* have to set the action in the body to > >>index.phtml (ie, action="index.phtml"). If this does not work then a > >>redirect to http://path/to/chameleon/index.phtml prior to entering the > >>application may work. This will set the URL to include index.phtml > >>(whereas default document hides it). > >> > >>Hope this helps, > >>Jason > >> > >> > >> > >>Gianluigi Nozza wrote: > >> > >> > >> > >>>Thank you Paul > >>> > >>>I have just take a look to your configuration files, and I have found > >>>they looks very close to mine, apart Apache while I have IIS > >>>Meanwhile I was able to get the keymap and the widget to appear. I > >>>have found that keymap seems to pretend an absolute path while the > >>>rest wants a relative path, but not sure even of that. > >>>Besides I can't see any legend (I don't think this is how the sample > >>>has to look like) Isn't it ? > >>>And the only widget that work is the ruler. > >>>I can see the north america map, but when I try to zoom I get a 405 > >>>error "page not found" > >>>I have checked if image files are written on the image temporary > >>>directory but I can't find nothing else than the scalebar image. > >>>In other words it seems that chameleon does not write image file on > >>>disk.... > >>>So I'm figure out there is something worst than a simple wrong path > >>>reference..... > >>> > >>>Hope some help from Heaven users.... > >>> > >>>----- Original Message ----- > >>> > >>> From: Paul Dymecki > >>> To: Gianluigi Nozza > >>> Sent: Tuesday, March 02, 2004 3:53 PM > >>> Subject: RE: [Chameleon] Chameleon 1.1 Installation > >>> > >>> > >>> Here you go, > >>> > >>> -----Original Message----- > >>> From: chameleon-admin@lists.maptools.org > >>> > >>> [mailto:chameleon-admin@lists.maptools.org]On Behalf Of Gianluigi > >>> Nozza > >>> Sent: Tuesday, March 02, 2004 8:27 AM > >>> To: chameleon@lists.maptools.org > >>> > >>> > > > > > > > >>> Subject: [Chameleon] Chameleon 1.1 Installation > >>> > >>> > >>> Dear lister > >>> With the help of the list, I made a little step toward the main > >>> goal of the > >>> "Chameleon 1.1 installation" with IIS and Windows 2000 > >>> > >>> I found very usefull the suggestion to include in the epsg proj > >>> > >>> > >file, > > > > > >>> references for the two non standard projection of the sample > >>> application. > >>> # WGS84 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) > >>> <42101> +proj=lcc +ellps=WGS84 +lat_0=0 +lon_0=-95 +lat_1=49 > >>> > >>> > >+lat_2=77 > > > > > >>> +x_0=0 +y_0=-8000000 +datum=WGS84 +units=m no_defs <> > >>> # NAD83 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) (This > >>> is the > >>> standard Atlas of Canada data's projection) > >>> <42304> +proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat_1=49 > >>> +lat_2=77 > >>> +datum=NAD83 +units=m no_defs <> > >>> > >>> At that point I was able to start the sample application, but with > >>> > >>> > >the > > > > > >>> following limits: > >>> I can't see any widget, > >>> No widget seems to work, apart for the distances ruler that works > >>> fine. > >>> I can'see the keymap > >>> When I try to zoom in, I can see the red rubberband but the I come > >>> up with a > >>> "missing page error" > >>> > >>> At this point I believe that I have some failure in some path/url > >>> specification > >>> > >>> There will be someone in the universe using Chameleon 1.1 with IIS > >>> > >>> > >and > > > > > >>> windows 2000 ? > >>> I hope so. Will be that man/woman so kind to send me their working, > >>> > >>> cwc2.xlm configuration file > >>> the sample map file properly configured (chameleon.map) > >>> the sample template file properly configured (sample.html) > >>> > >>> Thanks to everybody > >>> > >>> > >>> > >>> _______________________________________________ > >>> Chameleon mailing list > >>> Chameleon@lists.maptools.org > >>> http://lists.maptools.org/mailman/listinfo/chameleon > >>> > >>> > >>> > >>-- > >>___________________________ > >>Jason Fournier > >>DM Solutions Group > >>Application Developer > >>Ottawa, ON > >>613.565.5056 x 18 > >>jfournier@dmsolutions.ca > >> > >> > >> > >> > >> > > > > > > > > > > > > -- > ___________________________ > Jason Fournier > DM Solutions Group > Application Developer > Ottawa, ON > 613.565.5056 x 18 > jfournier@dmsolutions.ca > > > From bartvde@xs4all.nl Tue Mar 2 16:32:31 2004 Received: from smtp-out3.xs4all.nl (smtp-out3.xs4all.nl [194.109.24.13]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i22LWUw3003851 for ; Tue, 2 Mar 2004 16:32:31 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out3.xs4all.nl (8.12.10/8.12.10) with ESMTP id i22LWJ8T085366; Tue, 2 Mar 2004 22:32:20 +0100 (CET) Date: Tue, 02 Mar 2004 22:31:56 +0100 To: Gianluigi Nozza Subject: Re: [Chameleon] Chameleon 1.1 Installation Cc: chameleon@lists.maptools.org Reply-To: bartvde@xs4all.nl References: <002201c40071$d5e29fc0$6400a8c0@gian> <4044B689.2040602@dmsolutions.ca> <000801c40076$1f71a920$6400a8c0@gian> <4044BC6E.9070902@dmsolutions.ca> <003001c4007c$b33c1360$6400a8c0@gian> From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <003001c4007c$b33c1360$6400a8c0@gian> User-Agent: Opera7.23/Win32 M2 build 3227 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, legend functionality is not that straightforward. You can use the LegendTemplate widget which uses the logic from Mapserver HTML Legend. For more info on Mapserver HTML Legend see: http://mapserver.gis.umn.edu/doc40/html-legend-howto.html You can try installing the following Chameleon application on your system to see it work in its basic form: http://www.vz.geodan.nl/users/bart/geodan_ms4w-2003-10-31.zip Also you could use the XMLThemeLegend but this a bit more complex than the LegendTemplate, for an online example see (left part of the application): http://mapsherpa.dmsolutions.ca/hawaii2/ As you can see most of the times these widgets are used both as "legend" and layermanager. If all your layers are served by WMS you could try using the Legend widget which I believe is behind the Legend button in the Hawaii demo. Hope this gets you started. Best regards, Bart On Tue, 2 Mar 2004 18:34:58 +0100, Gianluigi Nozza wrote: > IT WORKS !!!!! Still I don't understand why, but it works... > > Thank you Jason, and also Bart, and Paul, and Dave and the list, and > Heaven > > The solution was provided at the same time by two listers .... > Here is the trick... > > Last question of the day : The sample application has to display the > legend > ?, or I have to work another bit over ? > > > ----- Original Message ----- > From: "Jason Fournier" > To: "Gianluigi Nozza" > Cc: "Paul Dymecki" ; > > Sent: Tuesday, March 02, 2004 5:55 PM > Subject: Re: [Chameleon] Chameleon 1.1 Installation > > >> Sure, >> >> In your Chameleon template there is a tag: >> >> >> >> just add >> >> >> >> that should do the trick. >> >> Cheers, >> Jason >> >> >> >> Gianluigi Nozza wrote: >> >> >Heaven answered !!! >> >But it was too technical for me... >> > >> >Thank you Jason but I don't know what are "set the action" and > "redirection" >> > >> >Can you explain me step by step if is not too much complicated ? >> >It seems to me I'am so close..... >> > >> >----- Original Message ----- >> >From: "Jason Fournier" >> >To: "Gianluigi Nozza" >> >Cc: "Paul Dymecki" ; > >> >Sent: Tuesday, March 02, 2004 5:30 PM >> >Subject: Re: [Chameleon] Chameleon 1.1 Installation >> > >> > >> > >> > >> >>Regarding the Zoom In issue ... >> >> >> >>If you are using IIS you *may* have to set the action in the body to >> >>index.phtml (ie, action="index.phtml"). If this does not work then a >> >>redirect to http://path/to/chameleon/index.phtml prior to entering the >> >>application may work. This will set the URL to include index.phtml >> >>(whereas default document hides it). >> >> >> >>Hope this helps, >> >>Jason >> >> >> >> >> >> >> >>Gianluigi Nozza wrote: >> >> >> >> >> >> >> >>>Thank you Paul >> >>> >> >>>I have just take a look to your configuration files, and I have found >> >>>they looks very close to mine, apart Apache while I have IIS >> >>>Meanwhile I was able to get the keymap and the widget to appear. I >> >>>have found that keymap seems to pretend an absolute path while the >> >>>rest wants a relative path, but not sure even of that. >> >>>Besides I can't see any legend (I don't think this is how the sample >> >>>has to look like) Isn't it ? >> >>>And the only widget that work is the ruler. >> >>>I can see the north america map, but when I try to zoom I get a 405 >> >>>error "page not found" >> >>>I have checked if image files are written on the image temporary >> >>>directory but I can't find nothing else than the scalebar image. >> >>>In other words it seems that chameleon does not write image file on >> >>>disk.... >> >>>So I'm figure out there is something worst than a simple wrong path >> >>>reference..... >> >>> >> >>>Hope some help from Heaven users.... >> >>> >> >>>----- Original Message ----- >> >>> >> >>> From: Paul Dymecki >> >>> To: Gianluigi Nozza >> >>> Sent: Tuesday, March 02, 2004 3:53 PM >> >>> Subject: RE: [Chameleon] Chameleon 1.1 Installation >> >>> >> >>> >> >>> Here you go, >> >>> >> >>> -----Original Message----- >> >>> From: chameleon-admin@lists.maptools.org >> >>> >> >>> [mailto:chameleon-admin@lists.maptools.org]On Behalf Of Gianluigi >> >>> Nozza >> >>> Sent: Tuesday, March 02, 2004 8:27 AM >> >>> To: chameleon@lists.maptools.org >> >>> >> >>> >> > >> > >> > >> >>> Subject: [Chameleon] Chameleon 1.1 Installation >> >>> >> >>> >> >>> Dear lister >> >>> With the help of the list, I made a little step toward the main >> >>> goal of the >> >>> "Chameleon 1.1 installation" with IIS and Windows 2000 >> >>> >> >>> I found very usefull the suggestion to include in the epsg proj >> >>> >> >>> >> >file, >> > >> > >> >>> references for the two non standard projection of the sample >> >>> application. >> >>> # WGS84 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) >> >>> <42101> +proj=lcc +ellps=WGS84 +lat_0=0 +lon_0=-95 +lat_1=49 >> >>> >> >>> >> >+lat_2=77 >> > >> > >> >>> +x_0=0 +y_0=-8000000 +datum=WGS84 +units=m no_defs <> >> >>> # NAD83 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) (This >> >>> is the >> >>> standard Atlas of Canada data's projection) >> >>> <42304> +proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat_1=49 >> >>> +lat_2=77 >> >>> +datum=NAD83 +units=m no_defs <> >> >>> >> >>> At that point I was able to start the sample application, but >> with >> >>> >> >>> >> >the >> > >> > >> >>> following limits: >> >>> I can't see any widget, >> >>> No widget seems to work, apart for the distances ruler that works >> >>> fine. >> >>> I can'see the keymap >> >>> When I try to zoom in, I can see the red rubberband but the I >> come >> >>> up with a >> >>> "missing page error" >> >>> >> >>> At this point I believe that I have some failure in some path/url >> >>> specification >> >>> >> >>> There will be someone in the universe using Chameleon 1.1 with >> IIS >> >>> >> >>> >> >and >> > >> > >> >>> windows 2000 ? >> >>> I hope so. Will be that man/woman so kind to send me their >> working, >> >>> >> >>> cwc2.xlm configuration file >> >>> the sample map file properly configured (chameleon.map) >> >>> the sample template file properly configured (sample.html) >> >>> >> >>> Thanks to everybody >> >>> >> >>> >> >>> >> >>> _______________________________________________ >> >>> Chameleon mailing list >> >>> Chameleon@lists.maptools.org >> >>> http://lists.maptools.org/mailman/listinfo/chameleon >> >>> >> >>> >> >>> >> >>-- >> >>___________________________ >> >>Jason Fournier >> >>DM Solutions Group >> >>Application Developer >> >>Ottawa, ON >> >>613.565.5056 x 18 >> >>jfournier@dmsolutions.ca >> >> >> >> >> >> >> >> >> >> >> > >> > >> > >> > >> > >> >> -- >> ___________________________ >> Jason Fournier >> DM Solutions Group >> Application Developer >> Ottawa, ON >> 613.565.5056 x 18 >> jfournier@dmsolutions.ca >> >> >> > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- From ralexander_25@hotmail.com Wed Mar 3 09:02:55 2004 Received: from hotmail.com (bay99-f45.bay99.hotmail.com [65.54.175.45]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i23E2sw3008174 for ; Wed, 3 Mar 2004 09:02:55 -0500 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 3 Mar 2004 06:02:53 -0800 Received: from 24.222.169.15 by by99fd.bay99.hotmail.msn.com with HTTP; Wed, 03 Mar 2004 14:02:52 GMT X-Originating-IP: [24.222.169.15] X-Originating-Email: [ralexander_25@hotmail.com] X-Sender: ralexander_25@hotmail.com From: "Ryan Alexander" To: Chameleon@lists.maptools.org Date: Wed, 03 Mar 2004 10:32:52 -0330 Mime-Version: 1.0 Content-Type: text/html Message-ID: X-OriginalArrivalTime: 03 Mar 2004 14:02:53.0479 (UTC) FILETIME=[38B2FB70:01C40128] Subject: [Chameleon] Querying to generate a report! Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive:

Hey

Wondering if anyone can help

What I have is an access database with many fields(lat, long, description, etc).  Right now I have all the lats and longs plotted to the map.  What I want to be able to do is, when I click one of the points on the map, generate a report containing some of the information from the database for that particular point.

I've been told that the Query widget takes care of this, but right now if I try and query I get a popup box saying "no query results for this layer"

I'm using the most recent version of Chameleon/Mapserver, well the ones that allow support for plotting points to the map from a database.

Any suggestions?

Thanks

Ryan



MSN 8 helps ELIMINATE E-MAIL VIRUSES. Get 2 months FREE*. From bartvde@xs4all.nl Wed Mar 3 09:23:55 2004 Received: from smtp-out1.xs4all.nl (smtp-out1.xs4all.nl [194.109.24.11]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i23ENsw3008366 for ; Wed, 3 Mar 2004 09:23:55 -0500 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out1.xs4all.nl (8.12.10/8.12.10) with SMTP id i23ENkLL023820; Wed, 3 Mar 2004 15:23:46 +0100 (CET) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Wed, 3 Mar 2004 15:26:24 +0100 (CET) Message-ID: <24687.212.238.227.182.1078323984.squirrel@webmail.xs4all.nl> In-Reply-To: References: Date: Wed, 3 Mar 2004 15:26:24 +0100 (CET) Subject: Re: [Chameleon] Querying to generate a report! From: bartvde@xs4all.nl To: "Ryan Alexander" Cc: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, did you define a TEMPLATE in your LAYER? TEMPLATE "blank.html" TOLERANCE 5 TOLERANCEUNITS PIXELS If you have points it is best so set some tolerance, otherwise you or your user has to click very precisely. Best regards, Bart > > Hey > Wondering if anyone can help > What I have is an access database with many fields(lat, long, description, > etc). Right now I have all the lats and longs plotted to the map. What I > want to be able to do is, when I click one of the points on the map, > generate a report containing some of the information from the database for > that particular point. > I've been told that the Query widget takes care of this, but right now if > I try and query I get a popup box saying "no query results for this layer" > I'm using the most recent version of Chameleon/Mapserver, well the ones > that allow support for plotting points to the map from a database. > Any suggestions? > Thanks > RyanMSN 8 helps ELIMINATE E-MAIL VIRUSES. Get 2 months FREE*. > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From bartvde@xs4all.nl Wed Mar 3 09:51:53 2004 Received: from smtp-out4.xs4all.nl (smtp-out4.xs4all.nl [194.109.24.5]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i23Epqw3008494 for ; Wed, 3 Mar 2004 09:51:53 -0500 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out4.xs4all.nl (8.12.10/8.12.10) with SMTP id i23EpdW9034182; Wed, 3 Mar 2004 15:51:39 +0100 (CET) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Wed, 3 Mar 2004 15:54:19 +0100 (CET) Message-ID: <12335.212.238.227.182.1078325659.squirrel@webmail.xs4all.nl> In-Reply-To: References: Date: Wed, 3 Mar 2004 15:54:19 +0100 (CET) Subject: Re: [Chameleon] Querying to generate a report! From: bartvde@xs4all.nl To: "Ryan Alexander" Cc: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, IIRC there were some similar messages on the Mapserver user list recently about GetFeatureInfo (queries) not working on the GDAL Virtual Datasource. Don't know what the status of these problems is or whether or not there is a solution. Best regards, Bart > > Yah, I have my TEMPLATE set and I just added the TOLERANCE stuff....still > a no go. > > > From jean-charles.guimard2@etud.univ-ubs.fr Wed Mar 3 12:13:29 2004 Received: from vohkoohe.univ-ubs.fr (vohkoohe.univ-ubs.fr [193.52.32.68]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i23HDSw3009205 for ; Wed, 3 Mar 2004 12:13:29 -0500 Received: from homae.univ-ubs.fr (homae.univ-ubs.fr [193.52.48.69]) by vohkoohe.univ-ubs.fr (8.12.9/8.12.6) with ESMTP id i23HDQ75064515 for ; Wed, 3 Mar 2004 18:13:26 +0100 (CET) (envelope-from jean-charles.guimard2@etud.univ-ubs.fr) Received: (from nobody@localhost) by homae.univ-ubs.fr (8.11.6/8.11.6/$RCSfile: homae.mc,v $Revision: 1.5 $) id i23HDPC70718 for chameleon@lists.maptools.org; Wed, 3 Mar 2004 18:13:25 +0100 (CET) (envelope-from jean-charles.guimard2@etud.univ-ubs.fr) From: jean-charles.guimard2@etud.univ-ubs.fr X-Authentication-Warning: homae.univ-ubs.fr: nobody set sender to jean-charles.guimard2@etud.univ-ubs.fr using -f Received: from 81.250.156.116 ( [81.250.156.116]) as user e2guimar@localhost by homae.univ-ubs.fr with HTTP; Wed, 3 Mar 2004 18:13:25 +0100 Message-ID: <1078334005.404612358fed8@homae.univ-ubs.fr> Date: Wed, 3 Mar 2004 18:13:25 +0100 To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) X-Originating-IP: 81.250.156.116 X-Scanned-By: MIMEDefang 2.30 (www . roaringpenguin . com / mimedefang) Subject: [Chameleon] Download and Printer Friendly Map problems in Map Production Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, I am using the Chameleon 1.1 alpha6 (October 31, 2003) version. All the widgets I have implemented in my application work. I have just some problems with the Print widget. The Map Production page is display. The problem happened when I click either on Download or Printer Friendly Map. I have also a php dialog box error (php has generated error and ...). So, the error I get in the error.log of Apache is : - after a click on Download Button : " Premature end of script headers: php.exe " and the download page display : "500 Internal Server Error" - after a click on Printer Friendly Map : " Premature end of script headers: php.exe, referer: http://myserver/cwc2//widgets/preview.phtml? sid=4046084609149&selImageFormat=GIF " and the preview page display a broken image. I have already developped an application in the same environment configuration using another version of chameleon (Chameleon (CWC2) 1.0.5 release (December 10, 2003) ) and the print widget had worked. My configuration : MapServer version 4.0.1 PHP 4.3.3 Apache 2.0.48 Windows 2000 Thanks for any help Jean-Charles -------------------------------------------------------------------------------- Université de Bretagne sud http://www.univ-ubs.fr/ From gianluigi.nozza@tiscali.it Wed Mar 3 12:58:53 2004 Received: from mailr-1.tiscali.it (mailr-1.tiscali.it [212.123.84.81]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i23Hwpw3009380 for ; Wed, 3 Mar 2004 12:58:52 -0500 Received: from ppp-217-133-101-168.cust-adsl.tiscali.it (HELO gian) (217.133.101.168) by mailr-1.tiscali.it with SMTP; 03 Mar 2004 18:58:49 +0100 X-BrightmailFiltered: true Message-ID: <000901c40148$bbc305d0$6400a8c0@gian> From: "Gianluigi Nozza" To: Cc: References: <002201c40071$d5e29fc0$6400a8c0@gian> <4044B689.2040602@dmsolutions.ca> <000801c40076$1f71a920$6400a8c0@gian> <4044BC6E.9070902@dmsolutions.ca> <003001c4007c$b33c1360$6400a8c0@gian> Subject: Re: [Chameleon] Chameleon 1.1 Installation Date: Wed, 3 Mar 2004 18:55:27 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hy Bart I coudn't answer till now, because I had some problem with my Internet connection. I have just installed your demo, and jumped around a little while. I am very impressed of the power of chameleon, and most of all of your ability in customizing it. I need to learn a lot.... Besides I wish to thank for your generosity since the demo you provided me, already answer to other few questions I was looking for Expert listers have saved a lot of "spam" to their addresses I think your sample application would take some days to understand.... so probably I will non post for a while ;-) Many thanks again to you and to all those helped me. Ciao ----- Original Message ----- From: "Bart van den Eijnden" To: "Gianluigi Nozza" Cc: Sent: Tuesday, March 02, 2004 10:31 PM Subject: Re: [Chameleon] Chameleon 1.1 Installation > Hi, > > legend functionality is not that straightforward. You can use the > LegendTemplate widget which uses the logic from Mapserver HTML Legend. For > more info on Mapserver HTML Legend see: > > http://mapserver.gis.umn.edu/doc40/html-legend-howto.html > > You can try installing the following Chameleon application on your system > to see it work in its basic form: > > http://www.vz.geodan.nl/users/bart/geodan_ms4w-2003-10-31.zip > > Also you could use the XMLThemeLegend but this a bit more complex than the > LegendTemplate, for an online example see (left part of the application): > > http://mapsherpa.dmsolutions.ca/hawaii2/ > > As you can see most of the times these widgets are used both as "legend" > and layermanager. > > If all your layers are served by WMS you could try using the Legend widget > which I believe is behind the Legend button in the Hawaii demo. > > Hope this gets you started. > > Best regards, > Bart > > On Tue, 2 Mar 2004 18:34:58 +0100, Gianluigi Nozza > wrote: > > > IT WORKS !!!!! Still I don't understand why, but it works... > > > > Thank you Jason, and also Bart, and Paul, and Dave and the list, and > > Heaven > > > > The solution was provided at the same time by two listers .... > > Here is the trick... > > > > Last question of the day : The sample application has to display the > > legend > > ?, or I have to work another bit over ? > > > > > > ----- Original Message ----- > > From: "Jason Fournier" > > To: "Gianluigi Nozza" > > Cc: "Paul Dymecki" ; > > > > Sent: Tuesday, March 02, 2004 5:55 PM > > Subject: Re: [Chameleon] Chameleon 1.1 Installation > > > > > >> Sure, > >> > >> In your Chameleon template there is a tag: > >> > >> > >> > >> just add > >> > >> > >> > >> that should do the trick. > >> > >> Cheers, > >> Jason > >> > >> > >> > >> Gianluigi Nozza wrote: > >> > >> >Heaven answered !!! > >> >But it was too technical for me... > >> > > >> >Thank you Jason but I don't know what are "set the action" and > > "redirection" > >> > > >> >Can you explain me step by step if is not too much complicated ? > >> >It seems to me I'am so close..... > >> > > >> >----- Original Message ----- > >> >From: "Jason Fournier" > >> >To: "Gianluigi Nozza" > >> >Cc: "Paul Dymecki" ; > > > >> >Sent: Tuesday, March 02, 2004 5:30 PM > >> >Subject: Re: [Chameleon] Chameleon 1.1 Installation > >> > > >> > > >> > > >> > > >> >>Regarding the Zoom In issue ... > >> >> > >> >>If you are using IIS you *may* have to set the action in the body to > >> >>index.phtml (ie, action="index.phtml"). If this does not work then a > >> >>redirect to http://path/to/chameleon/index.phtml prior to entering the > >> >>application may work. This will set the URL to include index.phtml > >> >>(whereas default document hides it). > >> >> > >> >>Hope this helps, > >> >>Jason > >> >> > >> >> > >> >> > >> >>Gianluigi Nozza wrote: > >> >> > >> >> > >> >> > >> >>>Thank you Paul > >> >>> > >> >>>I have just take a look to your configuration files, and I have found > >> >>>they looks very close to mine, apart Apache while I have IIS > >> >>>Meanwhile I was able to get the keymap and the widget to appear. I > >> >>>have found that keymap seems to pretend an absolute path while the > >> >>>rest wants a relative path, but not sure even of that. > >> >>>Besides I can't see any legend (I don't think this is how the sample > >> >>>has to look like) Isn't it ? > >> >>>And the only widget that work is the ruler. > >> >>>I can see the north america map, but when I try to zoom I get a 405 > >> >>>error "page not found" > >> >>>I have checked if image files are written on the image temporary > >> >>>directory but I can't find nothing else than the scalebar image. > >> >>>In other words it seems that chameleon does not write image file on > >> >>>disk.... > >> >>>So I'm figure out there is something worst than a simple wrong path > >> >>>reference..... > >> >>> > >> >>>Hope some help from Heaven users.... > >> >>> > >> >>>----- Original Message ----- > >> >>> > >> >>> From: Paul Dymecki > >> >>> To: Gianluigi Nozza > >> >>> Sent: Tuesday, March 02, 2004 3:53 PM > >> >>> Subject: RE: [Chameleon] Chameleon 1.1 Installation > >> >>> > >> >>> > >> >>> Here you go, > >> >>> > >> >>> -----Original Message----- > >> >>> From: chameleon-admin@lists.maptools.org > >> >>> > >> >>> [mailto:chameleon-admin@lists.maptools.org]On Behalf Of Gianluigi > >> >>> Nozza > >> >>> Sent: Tuesday, March 02, 2004 8:27 AM > >> >>> To: chameleon@lists.maptools.org > >> >>> > >> >>> > >> > > >> > > >> > > >> >>> Subject: [Chameleon] Chameleon 1.1 Installation > >> >>> > >> >>> > >> >>> Dear lister > >> >>> With the help of the list, I made a little step toward the main > >> >>> goal of the > >> >>> "Chameleon 1.1 installation" with IIS and Windows 2000 > >> >>> > >> >>> I found very usefull the suggestion to include in the epsg proj > >> >>> > >> >>> > >> >file, > >> > > >> > > >> >>> references for the two non standard projection of the sample > >> >>> application. > >> >>> # WGS84 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) > >> >>> <42101> +proj=lcc +ellps=WGS84 +lat_0=0 +lon_0=-95 +lat_1=49 > >> >>> > >> >>> > >> >+lat_2=77 > >> > > >> > > >> >>> +x_0=0 +y_0=-8000000 +datum=WGS84 +units=m no_defs <> > >> >>> # NAD83 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) (This > >> >>> is the > >> >>> standard Atlas of Canada data's projection) > >> >>> <42304> +proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat_1=49 > >> >>> +lat_2=77 > >> >>> +datum=NAD83 +units=m no_defs <> > >> >>> > >> >>> At that point I was able to start the sample application, but > >> with > >> >>> > >> >>> > >> >the > >> > > >> > > >> >>> following limits: > >> >>> I can't see any widget, > >> >>> No widget seems to work, apart for the distances ruler that works > >> >>> fine. > >> >>> I can'see the keymap > >> >>> When I try to zoom in, I can see the red rubberband but the I > >> come > >> >>> up with a > >> >>> "missing page error" > >> >>> > >> >>> At this point I believe that I have some failure in some path/url > >> >>> specification > >> >>> > >> >>> There will be someone in the universe using Chameleon 1.1 with > >> IIS > >> >>> > >> >>> > >> >and > >> > > >> > > >> >>> windows 2000 ? > >> >>> I hope so. Will be that man/woman so kind to send me their > >> working, > >> >>> > >> >>> cwc2.xlm configuration file > >> >>> the sample map file properly configured (chameleon.map) > >> >>> the sample template file properly configured (sample.html) > >> >>> > >> >>> Thanks to everybody > >> >>> > >> >>> > >> >>> > >> >>> _______________________________________________ > >> >>> Chameleon mailing list > >> >>> Chameleon@lists.maptools.org > >> >>> http://lists.maptools.org/mailman/listinfo/chameleon > >> >>> > >> >>> > >> >>> > >> >>-- > >> >>___________________________ > >> >>Jason Fournier > >> >>DM Solutions Group > >> >>Application Developer > >> >>Ottawa, ON > >> >>613.565.5056 x 18 > >> >>jfournier@dmsolutions.ca > >> >> > >> >> > >> >> > >> >> > >> >> > >> > > >> > > >> > > >> > > >> > > >> > >> -- > >> ___________________________ > >> Jason Fournier > >> DM Solutions Group > >> Application Developer > >> Ottawa, ON > >> 613.565.5056 x 18 > >> jfournier@dmsolutions.ca > >> > >> > >> > > > > > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > http://lists.maptools.org/mailman/listinfo/chameleon > > > > > > -- > From bartvde@xs4all.nl Wed Mar 3 14:05:49 2004 Received: from smtp-out1.xs4all.nl (smtp-out1.xs4all.nl [194.109.24.11]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i23J5mw3009713 for ; Wed, 3 Mar 2004 14:05:48 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out1.xs4all.nl (8.12.10/8.12.10) with ESMTP id i23J5kKZ024216; Wed, 3 Mar 2004 20:05:46 +0100 (CET) Cc: chameleon@lists.maptools.org To: Gianluigi Nozza Subject: Re: [Chameleon] Chameleon 1.1 Installation Reply-To: bartvde@xs4all.nl References: <002201c40071$d5e29fc0$6400a8c0@gian> <4044B689.2040602@dmsolutions.ca> <000801c40076$1f71a920$6400a8c0@gian> <4044BC6E.9070902@dmsolutions.ca> <003001c4007c$b33c1360$6400a8c0@gian> <000901c40148$bbc305d0$6400a8c0@gian> Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Wed, 03 Mar 2004 20:05:21 +0100 In-Reply-To: <000901c40148$bbc305d0$6400a8c0@gian> User-Agent: Opera7.23/Win32 M2 build 3227 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Gianluigi, thanks. I want to set one thing straight, the demo you could download from my website was created by the guys at DM Solutions on a contract to Geodan, the company I work for, so not by me. Your credit goes out to them! Best regards, Bart On Wed, 3 Mar 2004 18:55:27 +0100, Gianluigi Nozza wrote: > Hy Bart > I coudn't answer till now, because I had some problem with my Internet > connection. > I have just installed your demo, and jumped around a little while. > I am very impressed of the power of chameleon, and most of all of your > ability in customizing it. I need to learn a lot.... > Besides I wish to thank for your generosity since the demo you provided > me, > already answer to other few questions I was looking for > Expert listers have saved a lot of "spam" to their addresses > I think your sample application would take some days to understand.... > so probably I will non post for a while ;-) > Many thanks again to you and to all those helped me. > > Ciao > > > ----- Original Message ----- > From: "Bart van den Eijnden" > To: "Gianluigi Nozza" > Cc: > Sent: Tuesday, March 02, 2004 10:31 PM > Subject: Re: [Chameleon] Chameleon 1.1 Installation > > >> Hi, >> >> legend functionality is not that straightforward. You can use the >> LegendTemplate widget which uses the logic from Mapserver HTML Legend. >> For >> more info on Mapserver HTML Legend see: >> >> http://mapserver.gis.umn.edu/doc40/html-legend-howto.html >> >> You can try installing the following Chameleon application on your >> system >> to see it work in its basic form: >> >> http://www.vz.geodan.nl/users/bart/geodan_ms4w-2003-10-31.zip >> >> Also you could use the XMLThemeLegend but this a bit more complex than >> the >> LegendTemplate, for an online example see (left part of the >> application): >> >> http://mapsherpa.dmsolutions.ca/hawaii2/ >> >> As you can see most of the times these widgets are used both as "legend" >> and layermanager. >> >> If all your layers are served by WMS you could try using the Legend >> widget >> which I believe is behind the Legend button in the Hawaii demo. >> >> Hope this gets you started. >> >> Best regards, >> Bart >> >> On Tue, 2 Mar 2004 18:34:58 +0100, Gianluigi Nozza >> wrote: >> >> > IT WORKS !!!!! Still I don't understand why, but it works... >> > >> > Thank you Jason, and also Bart, and Paul, and Dave and the list, and >> > Heaven >> > >> > The solution was provided at the same time by two listers .... >> > Here is the trick... >> > >> > Last question of the day : The sample application has to display the >> > legend >> > ?, or I have to work another bit over ? >> > >> > >> > ----- Original Message ----- >> > From: "Jason Fournier" >> > To: "Gianluigi Nozza" >> > Cc: "Paul Dymecki" ; >> > >> > Sent: Tuesday, March 02, 2004 5:55 PM >> > Subject: Re: [Chameleon] Chameleon 1.1 Installation >> > >> > >> >> Sure, >> >> >> >> In your Chameleon template there is a tag: >> >> >> >> >> >> >> >> just add >> >> >> >> >> >> >> >> that should do the trick. >> >> >> >> Cheers, >> >> Jason >> >> >> >> >> >> >> >> Gianluigi Nozza wrote: >> >> >> >> >Heaven answered !!! >> >> >But it was too technical for me... >> >> > >> >> >Thank you Jason but I don't know what are "set the action" and >> > "redirection" >> >> > >> >> >Can you explain me step by step if is not too much complicated ? >> >> >It seems to me I'am so close..... >> >> > >> >> >----- Original Message ----- >> >> >From: "Jason Fournier" >> >> >To: "Gianluigi Nozza" >> >> >Cc: "Paul Dymecki" ; >> > >> >> >Sent: Tuesday, March 02, 2004 5:30 PM >> >> >Subject: Re: [Chameleon] Chameleon 1.1 Installation >> >> > >> >> > >> >> > >> >> > >> >> >>Regarding the Zoom In issue ... >> >> >> >> >> >>If you are using IIS you *may* have to set the action in the body >> to >> >> >>index.phtml (ie, action="index.phtml"). If this does not work >> then a >> >> >>redirect to http://path/to/chameleon/index.phtml prior to entering > the >> >> >>application may work. This will set the URL to include index.phtml >> >> >>(whereas default document hides it). >> >> >> >> >> >>Hope this helps, >> >> >>Jason >> >> >> >> >> >> >> >> >> >> >> >>Gianluigi Nozza wrote: >> >> >> >> >> >> >> >> >> >> >> >>>Thank you Paul >> >> >>> >> >> >>>I have just take a look to your configuration files, and I have > found >> >> >>>they looks very close to mine, apart Apache while I have IIS >> >> >>>Meanwhile I was able to get the keymap and the widget to appear. I >> >> >>>have found that keymap seems to pretend an absolute path while the >> >> >>>rest wants a relative path, but not sure even of that. >> >> >>>Besides I can't see any legend (I don't think this is how the >> sample >> >> >>>has to look like) Isn't it ? >> >> >>>And the only widget that work is the ruler. >> >> >>>I can see the north america map, but when I try to zoom I get a >> 405 >> >> >>>error "page not found" >> >> >>>I have checked if image files are written on the image temporary >> >> >>>directory but I can't find nothing else than the scalebar image. >> >> >>>In other words it seems that chameleon does not write image file >> on >> >> >>>disk.... >> >> >>>So I'm figure out there is something worst than a simple wrong >> path >> >> >>>reference..... >> >> >>> >> >> >>>Hope some help from Heaven users.... >> >> >>> >> >> >>>----- Original Message ----- >> >> >>> >> >> >>> From: Paul Dymecki >> >> >>> To: Gianluigi Nozza >> >> >>> Sent: Tuesday, March 02, 2004 3:53 PM >> >> >>> Subject: RE: [Chameleon] Chameleon 1.1 Installation >> >> >>> >> >> >>> >> >> >>> Here you go, >> >> >>> >> >> >>> -----Original Message----- >> >> >>> From: chameleon-admin@lists.maptools.org >> >> >>> >> >> >>> [mailto:chameleon-admin@lists.maptools.org]On Behalf Of > Gianluigi >> >> >>> Nozza >> >> >>> Sent: Tuesday, March 02, 2004 8:27 AM >> >> >>> To: chameleon@lists.maptools.org >> >> >>> >> >> >>> >> >> > >> >> > >> >> > >> >> >>> Subject: [Chameleon] Chameleon 1.1 Installation >> >> >>> >> >> >>> >> >> >>> Dear lister >> >> >>> With the help of the list, I made a little step toward the >> main >> >> >>> goal of the >> >> >>> "Chameleon 1.1 installation" with IIS and Windows 2000 >> >> >>> >> >> >>> I found very usefull the suggestion to include in the epsg >> proj >> >> >>> >> >> >>> >> >> >file, >> >> > >> >> > >> >> >>> references for the two non standard projection of the sample >> >> >>> application. >> >> >>> # WGS84 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) >> >> >>> <42101> +proj=lcc +ellps=WGS84 +lat_0=0 +lon_0=-95 +lat_1=49 >> >> >>> >> >> >>> >> >> >+lat_2=77 >> >> > >> >> > >> >> >>> +x_0=0 +y_0=-8000000 +datum=WGS84 +units=m no_defs <> >> >> >>> # NAD83 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) >> (This >> >> >>> is the >> >> >>> standard Atlas of Canada data's projection) >> >> >>> <42304> +proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat_1=49 >> >> >>> +lat_2=77 >> >> >>> +datum=NAD83 +units=m no_defs <> >> >> >>> >> >> >>> At that point I was able to start the sample application, but >> >> with >> >> >>> >> >> >>> >> >> >the >> >> > >> >> > >> >> >>> following limits: >> >> >>> I can't see any widget, >> >> >>> No widget seems to work, apart for the distances ruler that > works >> >> >>> fine. >> >> >>> I can'see the keymap >> >> >>> When I try to zoom in, I can see the red rubberband but the I >> >> come >> >> >>> up with a >> >> >>> "missing page error" >> >> >>> >> >> >>> At this point I believe that I have some failure in some > path/url >> >> >>> specification >> >> >>> >> >> >>> There will be someone in the universe using Chameleon 1.1 with >> >> IIS >> >> >>> >> >> >>> >> >> >and >> >> > >> >> > >> >> >>> windows 2000 ? >> >> >>> I hope so. Will be that man/woman so kind to send me their >> >> working, >> >> >>> >> >> >>> cwc2.xlm configuration file >> >> >>> the sample map file properly configured (chameleon.map) >> >> >>> the sample template file properly configured (sample.html) >> >> >>> >> >> >>> Thanks to everybody >> >> >>> >> >> >>> >> >> >>> >> >> >>> _______________________________________________ >> >> >>> Chameleon mailing list >> >> >>> Chameleon@lists.maptools.org >> >> >>> http://lists.maptools.org/mailman/listinfo/chameleon >> >> >>> >> >> >>> >> >> >>> >> >> >>-- >> >> >>___________________________ >> >> >>Jason Fournier >> >> >>DM Solutions Group >> >> >>Application Developer >> >> >>Ottawa, ON >> >> >>613.565.5056 x 18 >> >> >>jfournier@dmsolutions.ca >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > >> >> > >> >> > >> >> > >> >> > >> >> >> >> -- >> >> ___________________________ >> >> Jason Fournier >> >> DM Solutions Group >> >> Application Developer >> >> Ottawa, ON >> >> 613.565.5056 x 18 >> >> jfournier@dmsolutions.ca >> >> >> >> >> >> >> > >> > >> > _______________________________________________ >> > Chameleon mailing list >> > Chameleon@lists.maptools.org >> > http://lists.maptools.org/mailman/listinfo/chameleon >> > >> >> >> >> -- >> > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- From Stephanie.Choi@ec.gc.ca Fri Mar 5 14:34:33 2004 Received: from mgtserver3.ontario.int.ec.gc.ca (ecdow130.tor.ec.gc.ca [199.212.19.130]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i25JYXZK009466 for ; Fri, 5 Mar 2004 14:34:33 -0500 Received: by mgtserver3.ontario.int.ec.gc.ca with Internet Mail Service (5.5.2653.19) id <1YW98SCX>; Fri, 5 Mar 2004 14:34:32 -0500 Message-ID: <79D8CC9C0F21D611A0C900805FBBC3AC03D502C0@mgtserver3.ontario.int.ec.gc.ca> From: "Choi,Stephanie [Ontario]" To: "'chameleon@lists.maptools.org'" Date: Fri, 5 Mar 2004 14:34:26 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C402E8.DEC9C590" Subject: [Chameleon] Manager Server Error occurs Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C402E8.DEC9C590 Content-Type: text/plain Hello all, I have a problem when using chameleon. When I tried to edit manager servers list in cwc2_admin page. After typing in information for the server and its URL, then I click add. However I got a Javascript error window pop up it said "Errors occurred". I really have no clue on this error message. I installed it on RedHat 9.0 and I am using Mapserver 4.0. And I could get any error message except for this. Any help would be greatly appreciated :) Thanks, ------_=_NextPart_001_01C402E8.DEC9C590 Content-Type: text/html Content-Transfer-Encoding: quoted-printable Manager Server Error occurs

Hello all,

I have a problem when using = chameleon.  When I tried to edit manager servers list in = cwc2_admin page.  After typing in information for the server and = its URL, then I click add.  However I got a Javascript error = window pop up it said "Errors occurred".  I really have = no clue on this error message.  I installed it on RedHat 9.0 and I = am using Mapserver 4.0.  And I could get any error message except = for this.

Any help would be greatly appreciated = :)

Thanks,


------_=_NextPart_001_01C402E8.DEC9C590-- From pagurekd@agr.gc.ca Mon Mar 8 18:49:08 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i28Nn8ZK003728 for ; Mon, 8 Mar 2004 18:49:08 -0500 Received: from agrinold.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i28NN5hg009225 for ; Mon, 8 Mar 2004 18:23:05 -0500 Received: from ncrxem6 (webshieldout.agr.gc.ca [10.117.15.110]) by agrinold.agr.gc.ca (8.11.6/8.11.6) with SMTP id i290haR30703 for ; Mon, 8 Mar 2004 19:43:36 -0500 Received: From agr.gc.ca ([10.117.15.106]) by ncrxem6 (WebShield SMTP v4.5 MR1a); id 1078789916828; Mon, 8 Mar 2004 18:51:56 -0500 Received: from AGCAN-MTA by agr.gc.ca with Novell_GroupWise; Mon, 08 Mar 2004 18:48:31 -0500 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.2 Date: Mon, 08 Mar 2004 18:48:24 -0500 From: "Debbie Pagurek" To: , Cc: Subject: Re: [Chameleon] Chameleon 1.1 Installation Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_3C1D3C5F.EA8BE797" Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=_3C1D3C5F.EA8BE797 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi, of course, as soon as I post a question to the list I manage to solve the problem myself right away, but the other post is being held back by the moderator due to size, so maybe you won't even end up seeing that post! Anyway, thanks Bart, for posting your application link. It has some great examples of how to use a number of widgets - just what I need at this point. I now have it set up. I was having trouble with the buttonizer because I didn't have some paths set up properly in the cwc2.xml file, and also because I was pointing to a font ttf file that wasn't in the correct directory. Now all is well. D. Pagurek >>> Bart van den Eijnden bartvde@xs4all.nl> 03/02/04 04:31PM >> You can try installing the following Chameleon application on your system to see it work in its basic form: http://www.vz.geodan.nl/users/bart/geodan_ms4w-2003-10-31.zip --=_3C1D3C5F.EA8BE797 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Description: HTML
Hi,
of course, as soon as I post a question to the list I manage to solve the problem myself right away, but the other post is being held back by the moderator due to size, so maybe you won't even end up seeing that post!
 
Anyway,
thanks Bart, for posting your application link.  It has some great examples of how to use a number of widgets - just what I need at this point.  I now have it set up.  I was having trouble with the buttonizer because I didn't have some paths set up properly in the cwc2.xml file, and also because I was pointing to a font ttf file that wasn't in the correct directory.  Now all is well.
 
D. Pagurek

>>> Bart van den Eijnden bartvde@xs4all.nl> 03/02/04 04:31PM >>


You can try installing the following Chameleon application on your system
to see it work in its basic form:

http://www.vz.geodan.nl/users/bart/geodan_ms4w-2003-10-31.zip
--=_3C1D3C5F.EA8BE797-- From pagurekd@agr.gc.ca Mon Mar 8 18:26:18 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i28NQHZK003661 for ; Mon, 8 Mar 2004 18:26:18 -0500 Received: from agrinold.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i28N0Ahg005620 for ; Mon, 8 Mar 2004 18:00:12 -0500 Received: from ncrxem6 (webshieldout.agr.gc.ca [10.117.15.110]) by agrinold.agr.gc.ca (8.11.6/8.11.6) with SMTP id i290KnR18105 for ; Mon, 8 Mar 2004 19:20:49 -0500 Received: From agr.gc.ca ([10.117.15.106]) by ncrxem6 (WebShield SMTP v4.5 MR1a); id 1078788549500; Mon, 8 Mar 2004 18:29:09 -0500 Received: from AGCAN-MTA by agr.gc.ca with Novell_GroupWise; Mon, 08 Mar 2004 18:25:44 -0500 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.2 Date: Mon, 08 Mar 2004 18:25:38 -0500 From: "Debbie Pagurek" To: , Cc: Subject: Re: [Chameleon] Chameleon 1.1 Installation Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_8DAC8DE8.F899F582" Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=_8DAC8DE8.F899F582 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi all, thanks Bart, for posting the link to your chameleon application. I've been wanting to see some of the widgets in action. I've almost got the entire thing configured properly, but am having problems with the buttons at the top for loading and saving a context document etc. From what I see when I do a view source, these button images shoul be located in /ms_tmp/buttons as shown below. But I am not seeing the button images in my application nor am I seeing any files in that directory. Any hints as to how to get the buttons working? I do have an alias set up for the ms_tmp directory Alias /ms_tmp/ /ms4w/tmp/ms_tmp/ in my apache httpd.conf file. Any help would be much appreciated! D. Pagurek from my view source: Load a previously saved context >>> Bart van den Eijnden 03/02/04 04:31PM >>> Hi, legend functionality is not that straightforward. You can use the LegendTemplate widget which uses the logic from Mapserver HTML Legend. For more info on Mapserver HTML Legend see: http://mapserver.gis.umn.edu/doc40/html-legend-howto.html You can try installing the following Chameleon application on your system to see it work in its basic form: http://www.vz.geodan.nl/users/bart/geodan_ms4w-2003-10-31.zip Also you could use the XMLThemeLegend but this a bit more complex than the LegendTemplate, for an online example see (left part of the application): http://mapsherpa.dmsolutions.ca/hawaii2/ As you can see most of the times these widgets are used both as "legend" and layermanager. If all your layers are served by WMS you could try using the Legend widget which I believe is behind the Legend button in the Hawaii demo. Hope this gets you started. Best regards, Bart On Tue, 2 Mar 2004 18:34:58 +0100, Gianluigi Nozza wrote: > IT WORKS !!!!! Still I don't understand why, but it works... > > Thank you Jason, and also Bart, and Paul, and Dave and the list, and > Heaven > > The solution was provided at the same time by two listers .... > Here is the trick... > > Last question of the day : The sample application has to display the > legend > ?, or I have to work another bit over ? > > > ----- Original Message ----- > From: "Jason Fournier" > To: "Gianluigi Nozza" > Cc: "Paul Dymecki" ; > > Sent: Tuesday, March 02, 2004 5:55 PM > Subject: Re: [Chameleon] Chameleon 1.1 Installation > > >> Sure, >> >> In your Chameleon template there is a tag: >> >> >> >> just add >> >> >> >> that should do the trick. >> >> Cheers, >> Jason >> >> >> >> Gianluigi Nozza wrote: >> >> >Heaven answered !!! >> >But it was too technical for me... >> > >> >Thank you Jason but I don't know what are "set the action" and > "redirection" >> > >> >Can you explain me step by step if is not too much complicated ? >> >It seems to me I'am so close..... >> > >> >----- Original Message ----- >> >From: "Jason Fournier" >> >To: "Gianluigi Nozza" >> >Cc: "Paul Dymecki" ; > >> >Sent: Tuesday, March 02, 2004 5:30 PM >> >Subject: Re: [Chameleon] Chameleon 1.1 Installation >> > >> > >> > >> > >> >>Regarding the Zoom In issue ... >> >> >> >>If you are using IIS you *may* have to set the action in the body to >> >>index.phtml (ie, action="index.phtml"). If this does not work then a >> >>redirect to http://path/to/chameleon/index.phtml prior to entering the >> >>application may work. This will set the URL to include index.phtml >> >>(whereas default document hides it). >> >> >> >>Hope this helps, >> >>Jason >> >> >> >> >> >> >> >>Gianluigi Nozza wrote: >> >> >> >> >> >> >> >>>Thank you Paul >> >>> >> >>>I have just take a look to your configuration files, and I have found >> >>>they looks very close to mine, apart Apache while I have IIS >> >>>Meanwhile I was able to get the keymap and the widget to appear. I >> >>>have found that keymap seems to pretend an absolute path while the >> >>>rest wants a relative path, but not sure even of that. >> >>>Besides I can't see any legend (I don't think this is how the sample >> >>>has to look like) Isn't it ? >> >>>And the only widget that work is the ruler. >> >>>I can see the north america map, but when I try to zoom I get a 405 >> >>>error "page not found" >> >>>I have checked if image files are written on the image temporary >> >>>directory but I can't find nothing else than the scalebar image. >> >>>In other words it seems that chameleon does not write image file on >> >>>disk.... >> >>>So I'm figure out there is something worst than a simple wrong path >> >>>reference..... >> >>> >> >>>Hope some help from Heaven users.... >> >>> >> >>>----- Original Message ----- >> >>> >> >>> From: Paul Dymecki >> >>> To: Gianluigi Nozza >> >>> Sent: Tuesday, March 02, 2004 3:53 PM >> >>> Subject: RE: [Chameleon] Chameleon 1.1 Installation >> >>> >> >>> >> >>> Here you go, >> >>> >> >>> -----Original Message----- >> >>> From: chameleon-admin@lists.maptools.org >> >>> >> >>> [mailto:chameleon-admin@lists.maptools.org]On Behalf Of Gianluigi >> >>> Nozza >> >>> Sent: Tuesday, March 02, 2004 8:27 AM >> >>> To: chameleon@lists.maptools.org >> >>> >> >>> >> > >> > >> > >> >>> Subject: [Chameleon] Chameleon 1.1 Installation >> >>> >> >>> >> >>> Dear lister >> >>> With the help of the list, I made a little step toward the main >> >>> goal of the >> >>> "Chameleon 1.1 installation" with IIS and Windows 2000 >> >>> >> >>> I found very usefull the suggestion to include in the epsg proj >> >>> >> >>> >> >file, >> > >> > >> >>> references for the two non standard projection of the sample >> >>> application. >> >>> # WGS84 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) >> >>> <42101> +proj=lcc +ellps=WGS84 +lat_0=0 +lon_0=-95 +lat_1=49 >> >>> >> >>> >> >+lat_2=77 >> > >> > >> >>> +x_0=0 +y_0=-8000000 +datum=WGS84 +units=m no_defs <> >> >>> # NAD83 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) (This >> >>> is the >> >>> standard Atlas of Canada data's projection) >> >>> <42304> +proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat_1=49 >> >>> +lat_2=77 >> >>> +datum=NAD83 +units=m no_defs <> >> >>> >> >>> At that point I was able to start the sample application, but >> with >> >>> >> >>> >> >the >> > >> > >> >>> following limits: >> >>> I can't see any widget, >> >>> No widget seems to work, apart for the distances ruler that works >> >>> fine. >> >>> I can'see the keymap >> >>> When I try to zoom in, I can see the red rubberband but the I >> come >> >>> up with a >> >>> "missing page error" >> >>> >> >>> At this point I believe that I have some failure in some path/url >> >>> specification >> >>> >> >>> There will be someone in the universe using Chameleon 1.1 with >> IIS >> >>> >> >>> >> >and >> > >> > >> >>> windows 2000 ? >> >>> I hope so. Will be that man/woman so kind to send me their >> working, >> >>> >> >>> cwc2.xlm configuration file >> >>> the sample map file properly configured (chameleon.map) >> >>> the sample template file properly configured (sample.html) >> >>> >> >>> Thanks to everybody >> >>> >> >>> >> >>> >> >>> _______________________________________________ >> >>> Chameleon mailing list >> >>> Chameleon@lists.maptools.org >> >>> http://lists.maptools.org/mailman/listinfo/chameleon >> >>> >> >>> >> >>> >> >>-- >> >>___________________________ >> >>Jason Fournier >> >>DM Solutions Group >> >>Application Developer >> >>Ottawa, ON >> >>613.565.5056 x 18 >> >>jfournier@dmsolutions.ca >> >> >> >> >> >> >> >> >> >> >> > >> > >> > >> > >> > >> >> -- >> ___________________________ >> Jason Fournier >> DM Solutions Group >> Application Developer >> Ottawa, ON >> 613.565.5056 x 18 >> jfournier@dmsolutions.ca >> >> >> > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon --=_8DAC8DE8.F899F582 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Description: HTML
Hi all,
thanks Bart, for posting the link to your chameleon application.  I've been wanting to see some of the widgets in action.
 
I've almost got the entire thing configured properly, but am having problems with the buttons at the top for loading and saving a context document etc.  From what I see when I do a view source, these button images shoul be located in /ms_tmp/buttons as shown below.  But I am not seeing the button images in my application nor am I seeing any files in that directory.
 
Any hints as to how to get the buttons working?  I do have an alias set up for the ms_tmp directory
Alias /ms_tmp/ /ms4w/tmp/ms_tmp/ in my apache httpd.conf file.
 
Any help would be much appreciated!
D. Pagurek
 
from my view source:
                    <td><a href="#" onclick="javascript:clickContextUpload();return false;"><img src="/ms_tmp/buttons/100_24_99CCCC_111111_Open_icon_openarialbd_8_.png" width="100" height="24" ALT="Load a previously saved context" TITLE="Load a previously saved context" BORDER="0"></a></td>

>>> Bart van den Eijnden <bartvde@xs4all.nl> 03/02/04 04:31PM >>>
Hi,

legend functionality is not that straightforward. You can use the
LegendTemplate widget which uses the logic from Mapserver HTML Legend. For
more info on Mapserver HTML Legend see:

http://mapserver.gis.umn.edu/doc40/html-legend-howto.html

You can try installing the following Chameleon application on your system
to see it work in its basic form:

http://www.vz.geodan.nl/users/bart/geodan_ms4w-2003-10-31.zip

Also you could use the XMLThemeLegend but this a bit more complex than the
LegendTemplate, for an online example see (left part of the application):

http://mapsherpa.dmsolutions.ca/hawaii2/

As you can see most of the times these widgets are used both as "legend"
and layermanager.

If all your layers are served by WMS you could try using the Legend widget
which I believe is behind the Legend button in the Hawaii demo.

Hope this gets you started.

Best regards,
Bart

On Tue, 2 Mar 2004 18:34:58 +0100, Gianluigi Nozza
<gianluigi.nozza@tiscali.it> wrote:

> IT WORKS !!!!!  Still I don't understand why, but it works...
>
> Thank you Jason, and also Bart, and Paul, and Dave and the list, and
> Heaven
>
> The solution was provided at the same time by two listers ....
> Here is the trick...
>
> Last question of the day : The sample application has to display the
> legend
> ?, or I have to work another bit over ?
>
>
> ----- Original Message -----
> From: "Jason Fournier" <jfournier@dmsolutions.ca>
> To: "Gianluigi Nozza" <gianluigi.nozza@tiscali.it>
> Cc: "Paul Dymecki" <pdymecki@sympatico.ca>;
> <chameleon@lists.maptools.org>
> Sent: Tuesday, March 02, 2004 5:55 PM
> Subject: Re: [Chameleon] Chameleon 1.1 Installation
>
>
>> Sure,
>>
>> In your Chameleon template there is a tag:
>>
>> <form>
>>
>> just add
>>
>> <form action="index.phtml">
>>
>> that should do the trick.
>>
>> Cheers,
>> Jason
>>
>>
>>
>> Gianluigi Nozza wrote:
>>
>> >Heaven answered !!!
>> >But it was too technical for me...
>> >
>> >Thank you Jason but I don't know what are "set the action" and
> "redirection"
>> >
>> >Can you explain me step by step if is not too much complicated ?
>> >It seems to me I'am so close.....
>> >
>> >----- Original Message -----
>> >From: "Jason Fournier" <jfournier@dmsolutions.ca>
>> >To: "Gianluigi Nozza" <gianluigi.nozza@tiscali.it>
>> >Cc: "Paul Dymecki" <pdymecki@sympatico.ca>;
> <chameleon@lists.maptools.org>
>> >Sent: Tuesday, March 02, 2004 5:30 PM
>> >Subject: Re: [Chameleon] Chameleon 1.1 Installation
>> >
>> >
>> >
>> >
>> >>Regarding the Zoom In issue ...
>> >>
>> >>If you are using IIS you *may* have to set the action in the body to
>> >>index.phtml (ie, action="index.phtml").  If this does not work then a
>> >>redirect to http://path/to/chameleon/index.phtml prior to entering the
>> >>application may work.  This will set the URL to include index.phtml
>> >>(whereas default document hides it).
>> >>
>> >>Hope this helps,
>> >>Jason
>> >>
>> >>
>> >>
>> >>Gianluigi Nozza wrote:
>> >>
>> >>
>> >>
>> >>>Thank you Paul
>> >>>
>> >>>I have just take a look to your configuration files, and I have found
>> >>>they looks very close to mine, apart Apache while I have IIS
>> >>>Meanwhile I was able to get the keymap and the widget to appear. I
>> >>>have found that keymap seems to pretend an absolute path while the
>> >>>rest wants a relative path, but not sure even of that.
>> >>>Besides I can't see any legend (I don't think this is how the sample
>> >>>has to look like) Isn't it ?
>> >>>And the only widget that work is the ruler.
>> >>>I can see the north america map, but when I try to zoom I get a 405
>> >>>error "page not found"
>> >>>I have checked if image files are written on the image temporary
>> >>>directory but I can't find nothing else than the scalebar image.
>> >>>In other words it seems that chameleon does not write image file on
>> >>>disk....
>> >>>So I'm figure out there is something worst than a simple wrong path
>> >>>reference.....
>> >>>
>> >>>Hope some help from Heaven users....
>> >>>
>> >>>----- Original Message -----
>> >>>
>> >>>    From: Paul Dymecki <mailto:pdymecki@sympatico.ca>
>> >>>    To: Gianluigi Nozza <mailto:gianluigi.nozza@tiscali.it>
>> >>>    Sent: Tuesday, March 02, 2004 3:53 PM
>> >>>    Subject: RE: [Chameleon] Chameleon 1.1 Installation
>> >>>
>> >>>
>> >>>    Here you go,
>> >>>
>> >>>    -----Original Message-----
>> >>>    From: chameleon-admin@lists.maptools.org
>> >>>    <mailto:chameleon-admin@lists.maptools.org>
>> >>>    [mailto:chameleon-admin@lists.maptools.org]On Behalf Of Gianluigi
>> >>>    Nozza
>> >>>    Sent: Tuesday, March 02, 2004 8:27 AM
>> >>>    To: chameleon@lists.maptools.org
>> >>>
>> >>>
>> ><mailto:chameleon@lists.maptools.org>
>> >
>> >
>> >>>    Subject: [Chameleon] Chameleon 1.1 Installation
>> >>>
>> >>>
>> >>>    Dear lister
>> >>>    With the help of the list, I made a little step toward the main
>> >>>    goal of the
>> >>>    "Chameleon 1.1 installation" with IIS and Windows 2000
>> >>>
>> >>>    I found very usefull the suggestion to include in the epsg proj
>> >>>
>> >>>
>> >file,
>> >
>> >
>> >>>    references for the two non standard projection of the sample
>> >>>    application.
>> >>>    # WGS84 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD)
>> >>>    <42101> +proj=lcc +ellps=WGS84 +lat_0=0 +lon_0=-95 +lat_1=49
>> >>>
>> >>>
>> >+lat_2=77
>> >
>> >
>> >>>    +x_0=0 +y_0=-8000000 +datum=WGS84 +units=m no_defs <>
>> >>>    # NAD83 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) (This
>> >>>    is the
>> >>>    standard Atlas of Canada data's projection)
>> >>>    <42304> +proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat_1=49
>> >>>    +lat_2=77
>> >>>    +datum=NAD83 +units=m no_defs <>
>> >>>
>> >>>    At that point I was able to start the sample application, but
>> with
>> >>>
>> >>>
>> >the
>> >
>> >
>> >>>    following limits:
>> >>>    I can't see any widget,
>> >>>    No widget seems to work, apart for the distances ruler that works
>> >>>    fine.
>> >>>    I can'see the keymap
>> >>>    When I try to zoom in, I can see the red rubberband but the I
>> come
>> >>>    up with a
>> >>>    "missing page error"
>> >>>
>> >>>    At this point I believe that I have some failure in some path/url
>> >>>    specification
>> >>>
>> >>>    There will be someone in the universe using Chameleon 1.1 with
>> IIS
>> >>>
>> >>>
>> >and
>> >
>> >
>> >>>    windows 2000 ?
>> >>>    I hope so. Will be that man/woman so kind to send me their
>> working,
>> >>>
>> >>>    cwc2.xlm  configuration file
>> >>>    the sample map file properly configured (chameleon.map)
>> >>>    the sample template file properly configured (sample.html)
>> >>>
>> >>>    Thanks to everybody
>> >>>
>> >>>
>> >>>
>> >>>    _______________________________________________
>> >>>    Chameleon mailing list
>> >>>    Chameleon@lists.maptools.org
>> >>>    http://lists.maptools.org/mailman/listinfo/chameleon
>> >>>
>> >>>
>> >>>
>> >>--
>> >>___________________________
>> >>Jason Fournier
>> >>DM Solutions Group
>> >>Application Developer
>> >>Ottawa, ON
>> >>613.565.5056 x 18
>> >>jfournier@dmsolutions.ca
>> >>
>> >>
>> >>
>> >>
>> >>
>> >
>> >
>> >
>> >
>> >
>>
>> --
>> ___________________________
>> Jason Fournier
>> DM Solutions Group
>> Application Developer
>> Ottawa, ON
>> 613.565.5056 x 18
>> jfournier@dmsolutions.ca
>>
>>
>>
>
>
> _______________________________________________
> Chameleon mailing list
> Chameleon@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
>



--
 
_______________________________________________
Chameleon mailing list
Chameleon@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/chameleon
--=_8DAC8DE8.F899F582-- From dmorissette@dmsolutions.ca Mon Mar 8 20:46:12 2004 Received: from smtp-1.digicom.ca (ns1.digicom.ca [216.113.116.2]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i291kCZK004171 for ; Mon, 8 Mar 2004 20:46:12 -0500 Received: (qmail 30009 invoked from network); 9 Mar 2004 01:46:11 -0000 Received: from gw.chic.digicom.qc.ca (HELO dmsolutions.ca) (207.96.191.254) by 172.16.0.30 with SMTP; 9 Mar 2004 01:46:11 -0000 Message-ID: <404D21E0.10604@dmsolutions.ca> Date: Mon, 08 Mar 2004 20:46:08 -0500 From: Daniel Morissette User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: chameleon@lists.maptools.org Subject: Re: [Chameleon] Chameleon 1.1 Installation References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Debbie Pagurek wrote: > but the other post is being held back by > the moderator due to size, so maybe you won't even end up seeing that post! > I have approved your post. Did you know that if you used plain text emails instead of HTML emails the size of the message would have gone from 25kb down to 10kb and it wouldn't have been held for moderation. ;) Daniel -- ------------------------------------------------------------ Daniel Morissette dmorissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From pagurekd@agr.gc.ca Tue Mar 9 13:36:29 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i29IaTZK008627 for ; Tue, 9 Mar 2004 13:36:29 -0500 Received: from agrinold.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i29IAJhg000687 for ; Tue, 9 Mar 2004 13:10:19 -0500 Received: from ncrxem6 (webshieldout.agr.gc.ca [10.117.15.110]) by agrinold.agr.gc.ca (8.11.6/8.11.6) with SMTP id i29JUaR07025 for ; Tue, 9 Mar 2004 14:30:36 -0500 Received: From agr.gc.ca ([10.117.15.106]) by ncrxem6 (WebShield SMTP v4.5 MR1a); id 1078857541734; Tue, 9 Mar 2004 13:39:01 -0500 Received: from AGCAN-MTA by agr.gc.ca with Novell_GroupWise; Tue, 09 Mar 2004 13:35:36 -0500 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.2 Date: Tue, 09 Mar 2004 13:35:30 -0500 From: "Debbie Pagurek" To: Subject: Re: [Chameleon] Chameleon 1.1 Installation Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=_00210368.640569EC" Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=_00210368.640569EC Content-Type: multipart/alternative; boundary="=_00210368.650468ED" --=_00210368.650468ED Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi all, I just updated my chameleon to alpha version 1.99 dated 20040303. It's working but for some reason now my sample apps navigation buttons have a radio button next to the image and the radio button needs to be checked in order for the zoom in etc to work. (See attached image) What change occured between version alpha-20031031 and this most recent one to cause this, and how do I fix it? I could really use some new examples or samples to use here! Thanks, D. Pagurek --=_00210368.650468ED Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Description: HTML
Hi all,
I just updated my chameleon to alpha version 1.99 dated 20040303.  It's working but for some reason now my sample apps navigation buttons have a radio button next to the image and the radio button needs to be checked in order for the zoom in etc to work.   (See attached image)
 
What change occured between version alpha-20031031 and this most recent one to cause this, and how do I fix it?
 
I could really use some new examples or samples to use here!
 
Thanks,
D. Pagurek
--=_00210368.650468ED-- --=_00210368.640569EC Content-Type: image/png; name="nav.png" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="nav.png" 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 --=_00210368.640569EC-- From gianluigi.nozza@tiscali.it Tue Mar 9 14:11:58 2004 Received: from mailr-2.tiscali.it (mailr-2.tiscali.it [212.123.84.82]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i29JBvZK008804 for ; Tue, 9 Mar 2004 14:11:57 -0500 Received: from ppp-217-133-101-168.cust-adsl.tiscali.it (HELO gian) (217.133.101.168) by mailr-2.tiscali.it with SMTP; 09 Mar 2004 20:11:24 +0100 X-BrightmailFiltered: true Message-ID: <002e01c40609$dd0d86a0$6400a8c0@gian> From: "Gianluigi Nozza" To: Date: Tue, 9 Mar 2004 20:07:18 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: [Chameleon] From a local demo, to a web server Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi listers I have a general question to submit to the list. I have set up a working sample application of mapserver and chameleon 1.1 in my local network, (not internet). Everything is working and now I'm testing widgets functionalities. I was even able to add some widget to the sample itself (believe me, for a real newbie in html, php, mapserver, and chameleon is already a goal), but I'am still the only one that can see maps. Since the last goal is to set up a real web map server, to access maps from the Internet, where I have to go now.... I need a proprietary or dedicated web server isn't it ? or there are other solutions ? I don't think that if you simply own some space from an Internet provider you can set up a web server !!!, probably this is possible for the Itasca demo, or applications build with Gmfactory, but not a Chameleon application, Is it true ? From bartvde@xs4all.nl Tue Mar 9 16:17:19 2004 Received: from smtp-out6.xs4all.nl (smtp-out6.xs4all.nl [194.109.24.7]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i29LHIZK009342 for ; Tue, 9 Mar 2004 16:17:18 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out6.xs4all.nl (8.12.10/8.12.10) with ESMTP id i29LHArb004191; Tue, 9 Mar 2004 22:17:10 +0100 (CET) To: Gianluigi Nozza , chameleon@lists.maptools.org Subject: Re: [Chameleon] From a local demo, to a web server Reply-To: bartvde@xs4all.nl References: <002e01c40609$dd0d86a0$6400a8c0@gian> Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Tue, 09 Mar 2004 22:16:39 +0100 In-Reply-To: <002e01c40609$dd0d86a0$6400a8c0@gian> User-Agent: Opera7.23/Win32 M2 build 3227 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, you probably could have a look at: http://gishosting.net/ Your assumption, "I don't think that if you simply own some space from an Internet provider you can set up a web server", is right for Chameleon. At least you need to be able to run PHP (including modules), also you need to have rights on a temp directory etc. Best regards, Bart On Tue, 9 Mar 2004 20:07:18 +0100, Gianluigi Nozza wrote: > Hi listers > I have a general question to submit to the list. I have set up a working > sample application of mapserver and chameleon 1.1 in my local network, > (not > internet). > Everything is working and now I'm testing widgets functionalities. I was > even able to add some widget to the sample itself (believe me, for a real > newbie in html, php, mapserver, and chameleon is already a goal), but > I'am > still the only one that can see maps. > Since the last goal is to set up a real web map server, to access maps > from > the Internet, where I have to go now.... > I need a proprietary or dedicated web server isn't it ? or there are > other > solutions ? > I don't think that if you simply own some space from an Internet provider > you can set up a web server !!!, probably this is possible for the Itasca > demo, or applications build with Gmfactory, but not a Chameleon > application, > Is it true ? > > > > > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- From pagameba@magma.ca Tue Mar 9 15:18:45 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i29KIiZK009095 for ; Tue, 9 Mar 2004 15:18:45 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i29KIhMl029939; Tue, 9 Mar 2004 15:18:43 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i29KIbFP002558; Tue, 9 Mar 2004 15:18:43 -0500 Message-ID: <404E2699.3010703@magma.ca> Date: Tue, 09 Mar 2004 15:18:33 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Debbie Pagurek CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Chameleon 1.1 Installation References: In-Reply-To: Content-Type: multipart/mixed; boundary="------------050005050001000905090807" Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. --------------050005050001000905090807 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Debbie, the syntax of the widgets that use buttons has changed ... you now have the plain-jane version of the buttons that have no javascript associated with them (or very little) ... but what you are probably expecting is fancier buttons ... The technical details of the change are discussed here: http://lists.maptools.org/pipermail/chameleon/2004-January/000436.html In summary, you need to add to create a sharedresource (see attached file) and point your widget tag at it: styleresource="" And you need to add subtags: I've attached a text file containing some useful widgets in this new format that you should be able to copy/paste into your templates. If you are a TextPad user then you can use this directly as a TextPad Clip Library. Cheers, Paul Debbie Pagurek wrote: > Hi all, > I just updated my chameleon to alpha version 1.99 dated 20040303. It's > working but for some reason now my sample apps navigation buttons have a > radio button next to the image and the radio button needs to be checked > in order for the zoom in etc to work. (See attached image) > > What change occured between version alpha-20031031 and this most recent > one to cause this, and how do I fix it? > > I could really use some new examples or samples to use here! > > Thanks, > D. Pagurek > > ------------------------------------------------------------------------ > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- --------------050005050001000905090807 Content-Type: text/plain; name="widgets.tcl" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="widgets.tcl" !TCL=1000, Copyright (C) 2003 DM Solutions Group !TITLE=CWC2 Widgets With JavaScript !SORT=Y !CHARSET=ANSI !TEXT=BoundingBoxPopup ! !TEXT=Catalog Search ! !TEXT=ClearPoints ! !TEXT=ClearWFSFilter ! !TEXT=CompassPoint - East ! !TEXT=CompassPoint - North ! !TEXT=CompassPoint - North East ! !TEXT=CompassPoint - North West ! !TEXT=CompassPoint - South ! !TEXT=CompassPoint - South East ! !TEXT=CompassPoint - South West ! !TEXT=CompassPoint - West ! !TEXT=CursorPos ! !TEXT=Download Context ! !TEXT=ErrorReport ! !TEXT=ExpressionBuilder ! !TEXT=Extent ! !TEXT=ExtractWFSData ! !TEXT=KeyMap ! !TEXT=Language - English/French ! !TEXT=LayerManager ! !TEXT=LegendTemplate - Embedded ! !TEXT=LegendTemplate - Popup ! !TEXT=Link ! !TEXT=Locate ! !TEXT=MapDHTMLWidget ! !TEXT=MapSize ! !TEXT=MapUnits ! !TEXT=PanMap ! !TEXT=PrintWidget ! !TEXT=ProjectionLabel ! !TEXT=ProjectionSelector ! !TEXT=Query ! !TEXT=Recenter ! !TEXT=ROICircleTool ! !TEXT=ROIManagerMode - add ! !TEXT=ROIManagerMode - normal ! !TEXT=ROIManagerMode - subtract ! !TEXT=ROIPolygonTool ! !TEXT=ROIRectangleTool ! !TEXT=ROIRemoveAll ! !TEXT=ROIRemoveLast ! !TEXT=Ruler ! !TEXT=RulerResult ! !TEXT=ScaleBar ! !TEXT=SharedResource NavButton ! !TEXT=SharedResource Projection ! !TEXT=SharedResource TextButton ! !TEXT=SharedResource WaitImage ! !TEXT=UpdateMap ! !TEXT=UploadContext ! !TEXT=ZoomAllLayers ! !TEXT=ZoomIn ! !TEXT=ZoomOut ! --------------050005050001000905090807-- From gianluigi.nozza@tiscali.it Wed Mar 10 03:09:45 2004 Received: from mailr-1.tiscali.it (mailr-1.tiscali.it [212.123.84.81]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2A89hZK011511 for ; Wed, 10 Mar 2004 03:09:44 -0500 Received: from ppp-217-133-101-168.cust-adsl.tiscali.it (HELO gian) (217.133.101.168) by mailr-1.tiscali.it with SMTP; 10 Mar 2004 09:09:43 +0100 X-BrightmailFiltered: true Message-ID: <001d01c40676$95784010$6400a8c0@gian> From: "Gianluigi Nozza" To: Date: Wed, 10 Mar 2004 09:06:18 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: [Chameleon] Locate widget Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi I am trying to incorporate locate capabilities in a sample application. The demo I have set up with the unvaluable help of Bart van den Eijnden, has a locate widget, that works fine. I have also seen that the test demo included in Chameleon 1.0, had the same feature. Anyway I have discovered, that the widget works in a different manner in respect to what I was thinking about. At first, I believed that locate widget, was looking for occurrence of a "user string" inside the dbf of the data directory (inside the data of the shape files); checking this assumption I found that locate widget interface with an external web service and not locally. Infact it does not work if you are not connected in Internet. This capabilitity is really beyond my needs, which are indeed much more simpler. I would like to implement locate capabilities in my applications, on the local sides, i.e. ask the user for a feature to find, and then locate that feature inside the dbf in the data directory, than zoom out to the extent of the retrived (and user selected) feature. Do I have a widget working in a similar way, there are examples implementing such functionalities ? Thanks a lot From gianluigi.nozza@tiscali.it Wed Mar 10 03:17:55 2004 Received: from mailr-1.tiscali.it (mailr-1.tiscali.it [212.123.84.81]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2A8HsZK011564 for ; Wed, 10 Mar 2004 03:17:55 -0500 Received: from ppp-217-133-101-168.cust-adsl.tiscali.it (HELO gian) (217.133.101.168) by mailr-1.tiscali.it with SMTP; 10 Mar 2004 09:17:53 +0100 X-BrightmailFiltered: true Message-ID: <002f01c40677$bcfdc8c0$6400a8c0@gian> From: "Gianluigi Nozza" To: , References: <002e01c40609$dd0d86a0$6400a8c0@gian> Subject: Re: [Chameleon] From a local demo, to a web server Date: Wed, 10 Mar 2004 09:14:35 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Thank you Bart, you are, as usual, a mine of information... ----- Original Message ----- From: "Bart van den Eijnden" To: "Gianluigi Nozza" ; Sent: Tuesday, March 09, 2004 10:16 PM Subject: Re: [Chameleon] From a local demo, to a web server > Hi, > > you probably could have a look at: > > http://gishosting.net/ > > Your assumption, "I don't think that if you simply own some space from an > Internet provider > you can set up a web server", is right for Chameleon. At least you need to > be able to run PHP (including modules), also you need to have rights on a > temp directory etc. > > Best regards, > Bart > > On Tue, 9 Mar 2004 20:07:18 +0100, Gianluigi Nozza > wrote: > > > Hi listers > > I have a general question to submit to the list. I have set up a working > > sample application of mapserver and chameleon 1.1 in my local network, > > (not > > internet). > > Everything is working and now I'm testing widgets functionalities. I was > > even able to add some widget to the sample itself (believe me, for a real > > newbie in html, php, mapserver, and chameleon is already a goal), but > > I'am > > still the only one that can see maps. > > Since the last goal is to set up a real web map server, to access maps > > from > > the Internet, where I have to go now.... > > I need a proprietary or dedicated web server isn't it ? or there are > > other > > solutions ? > > I don't think that if you simply own some space from an Internet provider > > you can set up a web server !!!, probably this is possible for the Itasca > > demo, or applications build with Gmfactory, but not a Chameleon > > application, > > Is it true ? > > > > > > > > > > > > > > > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > http://lists.maptools.org/mailman/listinfo/chameleon > > > > > > -- > > From gianluigi.nozza@tiscali.it Wed Mar 10 07:12:55 2004 Received: from mailr-1.tiscali.it (mailr-1.tiscali.it [212.123.84.81]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2ACCsZK012992 for ; Wed, 10 Mar 2004 07:12:54 -0500 Received: from ppp-217-133-101-168.cust-adsl.tiscali.it (HELO gian) (217.133.101.168) by mailr-1.tiscali.it with SMTP; 10 Mar 2004 13:12:52 +0100 X-BrightmailFiltered: true Message-ID: <001601c40698$8ff8cf20$6400a8c0@gian> From: "Gianluigi Nozza" To: Date: Wed, 10 Mar 2004 13:09:29 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: [Chameleon] Query by rectangle Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi all Excuse the question storm I'am creating, I have other posts waiting for answers (I hope), I would like to incorporate a query by rectangle capability in a chameleon application, something already available for rosa users in the maplab environment. I didn't find any widget in chameleon supposing to do the task, I have the same problem with locating geometric features (the other question I have posted) by means of a user specified "string" i.e. (locate and zoom to the extent of the following feature: parcel n. 1234. I have seen that Mapserver function has probably function to do both the task, but I am not a programmer, so I am looking for "ready widgets" in chameleon, but it seems that this capabilities where neglected by the Dm Solution developer theme, Is it correct ? As you can understand, I am involved much more on the side of the user, rather then the developer, since I am a Gis analyst. That's the reason I'am trying to find in chameleon these basic GIS capabilities. Any help, widget, or code example greatly appreciated. From pagameba@magma.ca Wed Mar 10 08:17:50 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2ADHoZK013298 for ; Wed, 10 Mar 2004 08:17:50 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i2ADHoAd002165; Wed, 10 Mar 2004 08:17:50 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i2ADHj9R017672; Wed, 10 Mar 2004 08:17:50 -0500 Message-ID: <404F1574.6090707@magma.ca> Date: Wed, 10 Mar 2004 08:17:40 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gianluigi Nozza , "chameleon@lists.maptools.org" Subject: Re: [Chameleon] Locate widget References: <001d01c40676$95784010$6400a8c0@gian> In-Reply-To: <001d01c40676$95784010$6400a8c0@gian> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Gianluigi, there is currently no widget that does this. The Locate widget specifically uses web services that provide a lookup API (and the services that it currently implements are all for Canadian stuff). I do not believe that there are any plans to implement a widget of this kind, although it would probably not be too difficult and it would be kind of cool. Cheers, Paul Gianluigi Nozza wrote: > Hi > I am trying to incorporate locate capabilities in a sample application. The > demo I have set up with the unvaluable help of Bart van den Eijnden, has a > locate widget, that works fine. I have also seen that the test demo included > in Chameleon 1.0, had the same feature. > Anyway I have discovered, that the widget works in a different manner in > respect to what I was thinking about. > At first, I believed that locate widget, was looking for occurrence of a > "user string" inside the dbf of the data directory (inside the data of the > shape files); checking this assumption I found that locate widget interface > with an external web service and not locally. Infact it does not work if you > are not connected in Internet. > This capabilitity is really beyond my needs, which are indeed much more > simpler. > I would like to implement locate capabilities in my applications, on the > local sides, i.e. ask the user for a feature to find, and then locate that > feature inside the dbf in the data directory, than zoom out to the extent of > the retrived (and user selected) feature. > Do I have a widget working in a similar way, there are examples implementing > such functionalities ? > > Thanks a lot > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Wed Mar 10 08:23:35 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2ADNZZK013327 for ; Wed, 10 Mar 2004 08:23:35 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i2ADNZQM009267; Wed, 10 Mar 2004 08:23:35 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i2ADNW2i030510; Wed, 10 Mar 2004 08:23:35 -0500 Message-ID: <404F16D0.9050501@magma.ca> Date: Wed, 10 Mar 2004 08:23:28 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gianluigi Nozza CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Query by rectangle References: <001601c40698$8ff8cf20$6400a8c0@gian> In-Reply-To: <001601c40698$8ff8cf20$6400a8c0@gian> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Not a problem :) The current query widget is only 'query by point' for a very good reason. The core capabilities of Chameleon were developed under contract with the Canadian Government to solve a specific problem for them. Part of their requirements was that the capability work with OGC data sources (specifically, WMS servers). There was no scope in that contract to provide non-WMS support. Since WMS supports only query by point capability, that's all the current query widget does :) Since that contract, we determined that Chameleon would be useful to a larger mapserver audience, so we have been busy working on making it work for both OGC and local data sources. But it still has quite a 'web-centric' way of working. I would expect that the current query widget will be modified at some point to include two modes of operation: mode="point" and mode="rectangle". The intention would be to allow the application designer to decide if the query widget can do only point or both point and rectangle queries. I suspect that we will be developing this in the near future as this is a common feature needed by most applications. Cheers, Paul Gianluigi Nozza wrote: > Hi all > Excuse the question storm I'am creating, I have other posts waiting for > answers (I hope), I would like to incorporate a query by rectangle > capability in a chameleon application, something already available for rosa > users in the maplab environment. I didn't find any widget in chameleon > supposing to do the task, I have the same problem with locating geometric > features (the other question I have posted) by means of a user specified > "string" i.e. (locate and zoom to the extent of the following feature: > parcel n. 1234. > I have seen that Mapserver function has probably function to do both the > task, but I am not a programmer, so I am looking for "ready widgets" in > chameleon, but it seems that this capabilities where neglected by the Dm > Solution developer theme, Is it correct ? > As you can understand, I am involved much more on the side of the user, > rather then the developer, since I am a Gis analyst. That's the reason I'am > trying to find in chameleon these basic GIS capabilities. > > Any help, widget, or code example greatly appreciated. > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Hans.Verlouw@Geodan.nl Wed Mar 10 08:38:41 2004 Received: from mail.vz.geodan.nl (host-3.geodan.demon.nl [212.238.227.179]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2ADcfZK013422 for ; Wed, 10 Mar 2004 08:38:41 -0500 Received: from cp93489-a.Geodan.nl ([212.238.227.182]) by mail.vz.geodan.nl (mail.vz.geodan.nl [212.238.227.179]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 62-md50000000255.tmp for ; Wed, 10 Mar 2004 14:37:38 +0100 Message-Id: <5.1.0.14.2.20040310142857.02481c08@mail.vz.geodan.nl> X-Sender: HansV@mail.vz.geodan.nl X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 10 Mar 2004 14:37:26 +0100 To: chameleon@lists.maptools.org From: Hans Verlouw Subject: Re: [Chameleon] Query by rectangle In-Reply-To: <404F16D0.9050501@magma.ca> References: <001601c40698$8ff8cf20$6400a8c0@gian> <001601c40698$8ff8cf20$6400a8c0@gian> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Processed: mail.vz.geodan.nl, Wed, 10 Mar 2004 14:37:38 +0100 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 212.238.227.182 X-Return-Path: Hans.Verlouw@Geodan.nl X-MDaemon-Deliver-To: chameleon@lists.maptools.org Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Sounds good ! Currently I'm working on a project where we would like to have a third mode, mode="polygon". Not a user drawn polygon, but a selected polygon from another layer. Are there any plans on making this at MD Solutions, or should I try to make it myself? t k Han s At 3/10/2004 02:23 PM, Paul Spencer wrote: >I would expect that the current query widget will be modified at some >point to include two modes of operation: mode="point" and >mode="rectangle". The intention would be to allow the application >designer to decide if the query widget can do only point or both point and >rectangle queries. I suspect that we will be developing this in the near >future as this is a common feature needed by most applications. Hans Verlouw ------------------------------------- Geodan IT b.v. Buitenhaven 27-A 5211 TP 's-Hertogenbosch (NL) ------------------------------------- Tel: +31 (0)73 - 692 5151 Fax: +31 (0)20 - 5711 333 ------------------------------------- Postadres / mailing address President Kennedylaan 1 1079 MB Amsterdam (NL) ------------------------------------- E-mail: Hans.Verlouw@Geodan.nl Website: www.geodan.nl Disclaimer: www.geodan.nl/disclaimer ------------------------------------- From pagameba@magma.ca Wed Mar 10 09:18:00 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2AEI0ZK013640 for ; Wed, 10 Mar 2004 09:18:00 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i2AEHvf8032518; Wed, 10 Mar 2004 09:17:57 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i2AEHqQp025201; Wed, 10 Mar 2004 09:17:57 -0500 Message-ID: <404F238C.9090807@magma.ca> Date: Wed, 10 Mar 2004 09:17:48 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Hans Verlouw CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Query by rectangle References: <001601c40698$8ff8cf20$6400a8c0@gian> <001601c40698$8ff8cf20$6400a8c0@gian> <5.1.0.14.2.20040310142857.02481c08@mail.vz.geodan.nl> In-Reply-To: <5.1.0.14.2.20040310142857.02481c08@mail.vz.geodan.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hans, we have added a couple of new widgets that may be of interest to you: ROICircleTool - allows the user to draw a circular regions of interest ROIPolygonTool - allows the user to draw arbitrary polygonal regions of interest This adds to the existing ROIRectangleTool (no points for guessing what it does ;)). There are also the following widgets: ROIManager - no UI, just put in page to make other ROI widgets cooperate ROIManagerMode - can have one of three modes: normal - puts the ROIManager into normal mode, only a single ROI can be active at a time and drawing a new ROI replaces the existing one add - puts the ROIManager into add mode, ROIs accumulate so you can define mutliple regions subtract - puts the ROIManager into subtract mode, new ROIs are removed from the existing (cumulative) ROI allowing for the creation of holes. So as things stand, you would put one each of the Tool widgets, an ROIManager widget and optionally three ROIManagerMode widgets into a template to activate the full functionality. There will be (shortly) an ROIFeatureTool which will create an ROI from a feature in the selected layer when the user clicks in the feature (with the tool selected) ... needs SelectLayers widget to select layer unless widget is configured to work on a fixed layer name ... this could be useful for you? As you know, the ROI widgets define a Region of Interest separately from the current view region and other widgets can use this Region of Interest as they wish. Currently only the expression builder and extraction widgets use the ROI. Both work with remote WFS data sources. I would imagine that the ROIs can also be used with query widgets ... so I would expect that the 'third' mode of the query widget would be query by ROI. Most of this is in CVS and appears to work ... only the ROIFeatureTool is not there yet. Cheers, Paul Hans Verlouw wrote: > Sounds good ! > > Currently I'm working on a project where we would like to have a third > mode, mode="polygon". > Not a user drawn polygon, but a selected polygon from another layer. > Are there any plans on making this at MD Solutions, or should I try to > make it myself? > > t k > Han s > > At 3/10/2004 02:23 PM, Paul Spencer wrote: > >> I would expect that the current query widget will be modified at some >> point to include two modes of operation: mode="point" and >> mode="rectangle". The intention would be to allow the application >> designer to decide if the query widget can do only point or both point >> and rectangle queries. I suspect that we will be developing this in >> the near future as this is a common feature needed by most applications. > > > > Hans Verlouw > ------------------------------------- > Geodan IT b.v. > Buitenhaven 27-A > 5211 TP 's-Hertogenbosch (NL) > ------------------------------------- > Tel: +31 (0)73 - 692 5151 > Fax: +31 (0)20 - 5711 333 > ------------------------------------- > Postadres / mailing address > President Kennedylaan 1 > 1079 MB Amsterdam (NL) > ------------------------------------- > E-mail: Hans.Verlouw@Geodan.nl > Website: www.geodan.nl > Disclaimer: www.geodan.nl/disclaimer > ------------------------------------- > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pxniw69@yahoo.com Wed Mar 10 09:48:44 2004 Received: from web41904.mail.yahoo.com (web41904.mail.yahoo.com [66.218.93.155]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i2AEmhZK013776 for ; Wed, 10 Mar 2004 09:48:44 -0500 Message-ID: <20040310144812.26127.qmail@web41904.mail.yahoo.com> Received: from [69.160.72.105] by web41904.mail.yahoo.com via HTTP; Wed, 10 Mar 2004 06:48:12 PST Date: Wed, 10 Mar 2004 06:48:12 -0800 (PST) From: pxniw pxniw To: chameleon@lists.maptools.org In-Reply-To: <20040302012333.8766.qmail@web41902.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Chameleon] Point to point polygon (Line) Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Asked this awhile ago... any help? I have 3 points in the map. I have lat and lon for those points. info is on mysql db. How do I show each point with line between each point. ie: x-----x------x Using SQLQuery widget and MapImageSharedResource. (Right now I can show x x x (But no lines in between) Thanks a bunch ;) __________________________________ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster http://search.yahoo.com From Hans.Verlouw@Geodan.nl Wed Mar 10 10:01:06 2004 Received: from mail.vz.geodan.nl (host-3.geodan.demon.nl [212.238.227.179]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2AF16ZK013933 for ; Wed, 10 Mar 2004 10:01:06 -0500 Received: from cp93489-a.Geodan.nl ([212.238.227.182]) by mail.vz.geodan.nl (mail.vz.geodan.nl [212.238.227.179]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 21-md50000000257.tmp for ; Wed, 10 Mar 2004 16:00:40 +0100 Message-Id: <5.1.0.14.2.20040310155139.02567cb0@mail.vz.geodan.nl> X-Sender: HansV@mail.vz.geodan.nl X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 10 Mar 2004 16:00:33 +0100 To: spencer@dmsolutions.ca From: Hans Verlouw Subject: Re: [Chameleon] Query by rectangle Cc: chameleon@lists.maptools.org In-Reply-To: <404F238C.9090807@magma.ca> References: <5.1.0.14.2.20040310142857.02481c08@mail.vz.geodan.nl> <001601c40698$8ff8cf20$6400a8c0@gian> <001601c40698$8ff8cf20$6400a8c0@gian> <5.1.0.14.2.20040310142857.02481c08@mail.vz.geodan.nl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Processed: mail.vz.geodan.nl, Wed, 10 Mar 2004 16:00:40 +0100 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 212.238.227.182 X-Return-Path: Hans.Verlouw@Geodan.nl X-MDaemon-Deliver-To: chameleon@lists.maptools.org Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: At 3/10/2004 03:17 PM, Paul Spencer wrote: >There will be (shortly) an ROIFeatureTool which will create an ROI from a >feature in the selected layer when the user clicks in the feature (with >the tool selected) ... needs SelectLayers widget to select layer unless >widget is configured to work on a fixed layer name ... this could be >useful for you? Yes, definitely ! >Most of this is in CVS and appears to work ... only the ROIFeatureTool is >not there yet. OK, I'll wait for this one. t k Han s From jlacroix@dmsolutions.ca Wed Mar 10 10:11:57 2004 Received: from angrenost.dmsolutions.ca (chic.dmsolutions.ca [207.96.191.142]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2AFBvZK014025 for ; Wed, 10 Mar 2004 10:11:57 -0500 Received: from dmsolutions.ca (orthanc [192.168.4.8]) by angrenost.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id i2AFBs415268; Wed, 10 Mar 2004 10:11:54 -0500 Message-ID: <404F303A.7020601@dmsolutions.ca> Date: Wed, 10 Mar 2004 10:11:54 -0500 From: Julien-Samuel Lacroix Organization: DM Solutions User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pxniw pxniw CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Point to point polygon (Line) References: <20040310144812.26127.qmail@web41904.mail.yahoo.com> In-Reply-To: <20040310144812.26127.qmail@web41904.mail.yahoo.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, You can try the LINES parameter. Works like POINTS, but draw lines. So instead of: You will have Best regards Julien pxniw pxniw wrote: > Asked this awhile ago... any help? > > I have 3 points in the map. > I have lat and lon for those points. > info is on mysql db. > > How do I show each point with line between each > point. > > ie: > > x-----x------x > > Using SQLQuery widget and MapImageSharedResource. > > (Right now I can show x x x (But no lines in > between) > > Thanks a bunch ;) > > > __________________________________ > Do you Yahoo!? > Yahoo! Search - Find what you’re looking for faster > http://search.yahoo.com > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ------------------------------------------------------------ Julien-Samuel Lacroix jlacroix@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From nicolas.fortin@ec.gc.ca Wed Mar 10 14:06:35 2004 Received: from ecstfexch00.quebec.int.ec.gc.ca (fwstl1-1.wul.qc.ec.gc.ca [205.211.132.24]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2AJ6NZK015072 for ; Wed, 10 Mar 2004 14:06:34 -0500 Received: by ecstfexch00.quebec.int.ec.gc.ca with Internet Mail Service (5.5.2653.19) id ; Wed, 10 Mar 2004 14:06:19 -0500 Message-ID: From: nicolas.fortin@ec.gc.ca To: chameleon@lists.maptools.org Date: Wed, 10 Mar 2004 14:03:25 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i2AJ6NZK015072 Subject: [Chameleon] JVM Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, I updated my Java to 1.4.2_03 and now chameleon stopped to work...why?? I have done nothing special except to update my java. The page load but I didn't get any images...juste the famous red X. Please help! Nicolas Fortin Mathématicien, Programmeur, Analyste de données SMC-Québec Hydrologie, Environnement Canada 1141, Rte de l'Église, Sainte-Foy(QC) G1V 4H5 (418)648-2516 nicolas.fortin@ec.gc.ca From pxniw69@yahoo.com Wed Mar 10 17:25:24 2004 Received: from web41906.mail.yahoo.com (web41906.mail.yahoo.com [66.218.93.157]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i2AMPOZK015966 for ; Wed, 10 Mar 2004 17:25:24 -0500 Message-ID: <20040310222522.44808.qmail@web41906.mail.yahoo.com> Received: from [69.160.72.105] by web41906.mail.yahoo.com via HTTP; Wed, 10 Mar 2004 14:25:22 PST Date: Wed, 10 Mar 2004 14:25:22 -0800 (PST) From: pxniw pxniw To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Chameleon] Map Point image size? Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Using this: Works great except, I wanted to increase image size to appx 40*40 pixels... (I uploaded larger size image, but nothing changes) What do I need to do to allow these larger images? Thx __________________________________ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster http://search.yahoo.com From pxniw69@yahoo.com Wed Mar 10 17:35:21 2004 Received: from web41905.mail.yahoo.com (web41905.mail.yahoo.com [66.218.93.156]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i2AMZKZK016006 for ; Wed, 10 Mar 2004 17:35:20 -0500 Message-ID: <20040310223518.73992.qmail@web41905.mail.yahoo.com> Received: from [69.160.72.105] by web41905.mail.yahoo.com via HTTP; Wed, 10 Mar 2004 14:35:18 PST Date: Wed, 10 Mar 2004 14:35:18 -0800 (PST) From: pxniw pxniw To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Chameleon] Image transparency Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I have image with 16 colors. It has black bacground. 1. How do I make it transparent? (Ie remove black color) I tried adding offsite 0 0 0, but it did not work. Thx __________________________________ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster http://search.yahoo.com From pagurekd@agr.gc.ca Wed Mar 10 17:38:41 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2AMcfZK016027 for ; Wed, 10 Mar 2004 17:38:41 -0500 Received: from agrinold.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i2AMCMhg027469 for ; Wed, 10 Mar 2004 17:12:22 -0500 Received: from ncrxem6 (webshieldout.agr.gc.ca [10.117.15.110]) by agrinold.agr.gc.ca (8.11.6/8.11.6) with SMTP id i2ANc7r11665 for ; Wed, 10 Mar 2004 18:38:07 -0500 Received: From agr.gc.ca ([10.117.15.106]) by ncrxem6 (WebShield SMTP v4.5 MR1a); id 1078958238515; Wed, 10 Mar 2004 17:37:18 -0500 Received: from AGCAN-MTA by agr.gc.ca with Novell_GroupWise; Wed, 10 Mar 2004 17:33:53 -0500 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.2 Date: Wed, 10 Mar 2004 17:33:49 -0500 From: "Debbie Pagurek" To: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_311033C1.5B3A5482" Subject: [Chameleon] legend and context questions Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=_311033C1.5B3A5482 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit OK - now I have the most recent chameleon and mapserver versions installed properly and the correct documentation to go with it - Thank you Paul. I have a lot working but am having trouble seeing a legend. I have tried the following tags for either an embedded legend: nothing shows. or a popup: the popup simply says " The legend displays the layers in your map. " but I see no legend. Also, I tried to save a context map. My mapfile is set up to serve wms layers, and I know the wms getmap request works. However, when I click on my "save" button, I get a message that says: There are no WMS Layers to export. I don't think anything is wrong with my mapfile... anyone have any suggestions? Thanks, Debbie --=_311033C1.5B3A5482 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Description: HTML
OK - now I have the most recent chameleon and mapserver versions installed properly and the correct documentation to go with it - Thank you Paul.
I have a lot working but am having trouble seeing a legend.  I have tried the following tags for either an embedded legend:
<cwc2 type="LegendTemplate" visible="true" embedded="true" template="legend_template.html" popupwidth="500" popupheight="400" status="false" menubar="false"/>
 
nothing shows.
 
or a popup:
<cwc2 type="LegendTemplate" styleresource="TextButton" embedded="false" template="legend_template_widget.html" PopupWidth="350" PopupHeight="300" Toolbar="false" Status="false" Menubar="false" Location="false" Visible="true" Image="images/icon_legend.png" ImageTip="Display Legend" LABEL="Legend">
   <image state="normal"/>
   <image state="selected"/>
   <image state="hover"/>
</cwc2>
 
the popup simply says " The legend displays the layers in your map. " but I see no legend.
 
Also, I tried to save a context map.  My mapfile is set up to serve wms layers, and I know the wms getmap request works.
However, when I click on my "save" button, I get a message that says: There are no WMS Layers to export.
 
I don't think anything is wrong with my mapfile...
anyone have any suggestions?
 
Thanks,
Debbie
--=_311033C1.5B3A5482-- From pxniw69@yahoo.com Wed Mar 10 19:09:46 2004 Received: from web41906.mail.yahoo.com (web41906.mail.yahoo.com [66.218.93.157]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i2B09jZK016374 for ; Wed, 10 Mar 2004 19:09:45 -0500 Message-ID: <20040311000942.95587.qmail@web41906.mail.yahoo.com> Received: from [69.160.72.105] by web41906.mail.yahoo.com via HTTP; Wed, 10 Mar 2004 16:09:42 PST Date: Wed, 10 Mar 2004 16:09:42 -0800 (PST) From: pxniw pxniw Subject: Re: [Chameleon] Point to point polygon (Line) To: Julien-Samuel Lacroix Cc: chameleon@lists.maptools.org In-Reply-To: <404F303A.7020601@dmsolutions.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Works great, but how do you change the lin size... Currently it uses color red and line size is appx 10 pixels thick. How do i change it to 1 or 2 pixels wide? Thanks --- Julien-Samuel Lacroix wrote: > Hi, > > You can try the LINES parameter. Works like POINTS, > but draw lines. > So instead of: > > You will have > > > Best regards > Julien > > > pxniw pxniw wrote: > > Asked this awhile ago... any help? > > > > I have 3 points in the map. > > I have lat and lon for those points. > > info is on mysql db. > > > > How do I show each point with line between each > > point. > > > > ie: > > > > x-----x------x > > > > Using SQLQuery widget and MapImageSharedResource. > > > > (Right now I can show x x x (But no lines in > > between) > > > > Thanks a bunch ;) > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Search - Find what you’re looking for > faster > > http://search.yahoo.com > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > > http://lists.maptools.org/mailman/listinfo/chameleon > > > > -- > ------------------------------------------------------------ > Julien-Samuel Lacroix > jlacroix@dmsolutions.ca > DM Solutions Group > http://www.dmsolutions.ca/ > ------------------------------------------------------------ __________________________________ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster http://search.yahoo.com From pagameba@magma.ca Wed Mar 10 19:34:37 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2B0YbZK016499 for ; Wed, 10 Mar 2004 19:34:37 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i2B0Ya4X022518; Wed, 10 Mar 2004 19:34:36 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i2B0YU7f022140; Wed, 10 Mar 2004 19:34:36 -0500 Message-ID: <404FB411.6050401@magma.ca> Date: Wed, 10 Mar 2004 19:34:25 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Debbie Pagurek CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] legend and context questions References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Debbie ... you can test your template using a test script outside of chameleon to make sure it actually works: legend->set( "template", "/ms4w/apps/chameleon/htdocs/legend_template_widget.html" ); echo ""; echo $oMap->processLegendTemplate( array() ); echo "
"; ?> obviously you'll have to add your own paths. Same for the context problem: saveMapContext( "/ms4w/tmp/test_context.xml" ); ?> If those work then there is a problem in Chameleon. If not, then you'll need to figure out what's wrong with the template/mapfile first Cheers, Paul Debbie Pagurek wrote: > OK - now I have the most recent chameleon and mapserver versions > installed properly and the correct documentation to go with it - Thank > you Paul. > I have a lot working but am having trouble seeing a legend. I have > tried the following tags for either an embedded legend: > template="legend_template.html" popupwidth="500" popupheight="400" > status="false" menubar="false"/> > > nothing shows. > > or a popup: > template="legend_template_widget.html" PopupWidth="350" > PopupHeight="300" Toolbar="false" Status="false" Menubar="false" > Location="false" Visible="true" Image="images/icon_legend.png" > ImageTip="Display Legend" LABEL="Legend"> > > > > > > the popup simply says " The legend displays the layers in your map. " > but I see no legend. > > Also, I tried to save a context map. My mapfile is set up to serve wms > layers, and I know the wms getmap request works. > However, when I click on my "save" button, I get a message that says: > There are no WMS Layers to export. > > I don't think anything is wrong with my mapfile... > anyone have any suggestions? > > Thanks, > Debbie -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From jmckenna@dmsolutions.ca Wed Mar 10 21:18:12 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2B2ICZK016848 for ; Wed, 10 Mar 2004 21:18:12 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i2B2IBvr015452; Wed, 10 Mar 2004 21:18:11 -0500 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i2B2IB0d009668; Wed, 10 Mar 2004 21:18:11 -0500 Message-ID: <404FCC64.4050606@dmsolutions.ca> Date: Wed, 10 Mar 2004 21:18:12 -0500 From: Jeff McKenna User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Debbie Pagurek CC: Chameleon-users Subject: Re: [Chameleon] legend and context questions References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Debbie, Just wondering, do u have display_errors set to ON in your php.ini? The 'file not found' error would be suppressed. jeff Debbie Pagurek wrote: > OK - now I have the most recent chameleon and mapserver versions > installed properly and the correct documentation to go with it - Thank > you Paul. > I have a lot working but am having trouble seeing a legend. I have > tried the following tags for either an embedded legend: > template="legend_template.html" popupwidth="500" popupheight="400" > status="false" menubar="false"/> > > nothing shows. > > or a popup: > template="legend_template_widget.html" PopupWidth="350" > PopupHeight="300" Toolbar="false" Status="false" Menubar="false" > Location="false" Visible="true" Image="images/icon_legend.png" > ImageTip="Display Legend" LABEL="Legend"> > > > > > From gianluigi.nozza@tiscali.it Thu Mar 11 04:59:47 2004 Received: from mailr-1.tiscali.it (mailr-1.tiscali.it [212.123.84.81]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2B9xkZK018971 for ; Thu, 11 Mar 2004 04:59:47 -0500 Received: from ppp-217-133-101-168.cust-adsl.tiscali.it (HELO gian) (217.133.101.168) by mailr-1.tiscali.it with SMTP; 11 Mar 2004 10:59:44 +0100 X-BrightmailFiltered: true Message-ID: <001801c4074f$1ff187f0$6400a8c0@gian> From: "Gianluigi Nozza" To: , References: <001d01c40676$95784010$6400a8c0@gian> <404F1574.6090707@magma.ca> Subject: Re: [Chameleon] Locate widget Date: Thu, 11 Mar 2004 10:56:24 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I'am wondering, because this capability is a basic function in every GIS application... So I don't think I am the first looking for it. Anyway I am very happy that the task is not so difficult (of course for programmers) so I hope to find answers to the question in a near future. Still waiting for help here and in the mapserver user list.... ----- Original Message ----- From: "Paul Spencer" To: "Gianluigi Nozza" ; Sent: Wednesday, March 10, 2004 2:17 PM Subject: Re: [Chameleon] Locate widget > Gianluigi, > > there is currently no widget that does this. The Locate widget > specifically uses web services that provide a lookup API (and the > services that it currently implements are all for Canadian stuff). > > I do not believe that there are any plans to implement a widget of this > kind, although it would probably not be too difficult and it would be > kind of cool. > > Cheers, > > Paul > > Gianluigi Nozza wrote: > > > Hi > > I am trying to incorporate locate capabilities in a sample application. The > > demo I have set up with the unvaluable help of Bart van den Eijnden, has a > > locate widget, that works fine. I have also seen that the test demo included > > in Chameleon 1.0, had the same feature. > > Anyway I have discovered, that the widget works in a different manner in > > respect to what I was thinking about. > > At first, I believed that locate widget, was looking for occurrence of a > > "user string" inside the dbf of the data directory (inside the data of the > > shape files); checking this assumption I found that locate widget interface > > with an external web service and not locally. Infact it does not work if you > > are not connected in Internet. > > This capabilitity is really beyond my needs, which are indeed much more > > simpler. > > I would like to implement locate capabilities in my applications, on the > > local sides, i.e. ask the user for a feature to find, and then locate that > > feature inside the dbf in the data directory, than zoom out to the extent of > > the retrived (and user selected) feature. > > Do I have a widget working in a similar way, there are examples implementing > > such functionalities ? > > > > Thanks a lot > > > > > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > http://lists.maptools.org/mailman/listinfo/chameleon > > > > -- > ----------------------------------------------------------------- > |Paul Spencer spencer@dmsolutions.ca | > |-----------------------------------------------------------------| > |Applications & Software Development | > |DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > > From pagameba@magma.ca Thu Mar 11 07:25:37 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2BCPbZK019527 for ; Thu, 11 Mar 2004 07:25:37 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i2BCPbGT005244; Thu, 11 Mar 2004 07:25:37 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i2BCPVck004748; Thu, 11 Mar 2004 07:25:37 -0500 Message-ID: <40505AB5.6040403@magma.ca> Date: Thu, 11 Mar 2004 07:25:25 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gianluigi Nozza CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Locate widget References: <001d01c40676$95784010$6400a8c0@gian> <404F1574.6090707@magma.ca> <001801c4074f$1ff187f0$6400a8c0@gian> In-Reply-To: <001801c4074f$1ff187f0$6400a8c0@gian> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: For the record, if anyone was going to do this, you would probably want to look at the mapscript querybyattribute function. Cheers, Paul Gianluigi Nozza wrote: > I'am wondering, because this capability is a basic function in every GIS > application... > So I don't think I am the first looking for it. > Anyway I am very happy that the task is not so difficult (of course for > programmers) > so I hope to find answers to the question in a near future. > Still waiting for help here and in the mapserver user list.... > > ----- Original Message ----- > From: "Paul Spencer" > To: "Gianluigi Nozza" ; > > Sent: Wednesday, March 10, 2004 2:17 PM > Subject: Re: [Chameleon] Locate widget > > > >>Gianluigi, >> >>there is currently no widget that does this. The Locate widget >>specifically uses web services that provide a lookup API (and the >>services that it currently implements are all for Canadian stuff). >> >>I do not believe that there are any plans to implement a widget of this >>kind, although it would probably not be too difficult and it would be >>kind of cool. >> >>Cheers, >> >>Paul >> >>Gianluigi Nozza wrote: >> >> >>>Hi >>>I am trying to incorporate locate capabilities in a sample application. > > The > >>>demo I have set up with the unvaluable help of Bart van den Eijnden, > > has a > >>>locate widget, that works fine. I have also seen that the test demo > > included > >>>in Chameleon 1.0, had the same feature. >>>Anyway I have discovered, that the widget works in a different manner in >>>respect to what I was thinking about. >>>At first, I believed that locate widget, was looking for occurrence of a >>>"user string" inside the dbf of the data directory (inside the data of > > the > >>>shape files); checking this assumption I found that locate widget > > interface > >>>with an external web service and not locally. Infact it does not work if > > you > >>>are not connected in Internet. >>>This capabilitity is really beyond my needs, which are indeed much more >>>simpler. >>>I would like to implement locate capabilities in my applications, on > > the > >>>local sides, i.e. ask the user for a feature to find, and then locate > > that > >>>feature inside the dbf in the data directory, than zoom out to the > > extent of > >>>the retrived (and user selected) feature. >>>Do I have a widget working in a similar way, there are examples > > implementing > >>>such functionalities ? >>> >>>Thanks a lot >>> >>> >>>_______________________________________________ >>>Chameleon mailing list >>>Chameleon@lists.maptools.org >>>http://lists.maptools.org/mailman/listinfo/chameleon >>> >> >>-- >> ----------------------------------------------------------------- >>|Paul Spencer spencer@dmsolutions.ca | >>|-----------------------------------------------------------------| >>|Applications & Software Development | >>|DM Solutions Group Inc http://www.dmsolutions.ca/| >> ----------------------------------------------------------------- >> >> > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From gianluigi.nozza@tiscali.it Thu Mar 11 08:18:33 2004 Received: from mailr-2.tiscali.it (mailr-2.tiscali.it [212.123.84.82]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2BDIWZK019750 for ; Thu, 11 Mar 2004 08:18:33 -0500 Received: from ppp-217-133-101-168.cust-adsl.tiscali.it (HELO gian) (217.133.101.168) by mailr-2.tiscali.it with SMTP; 11 Mar 2004 14:18:31 +0100 X-BrightmailFiltered: true Message-ID: <004001c4076a$e5bc57b0$6400a8c0@gian> From: "Gianluigi Nozza" To: Cc: References: <001d01c40676$95784010$6400a8c0@gian> <404F1574.6090707@magma.ca> <001801c4074f$1ff187f0$6400a8c0@gian> <40505AB5.6040403@magma.ca> Subject: Re: [Chameleon] Locate widget Date: Thu, 11 Mar 2004 14:15:11 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I have already posted to maplab since I have seen that a solution close to my needs was probably set up by some listers with your help , Thanks ----- Original Message ----- From: "Paul Spencer" To: "Gianluigi Nozza" Cc: Sent: Thursday, March 11, 2004 1:25 PM Subject: Re: [Chameleon] Locate widget > For the record, if anyone was going to do this, you would probably want > to look at the mapscript querybyattribute function. > > Cheers, > > Paul > > Gianluigi Nozza wrote: > > > I'am wondering, because this capability is a basic function in every GIS > > application... > > So I don't think I am the first looking for it. > > Anyway I am very happy that the task is not so difficult (of course for > > programmers) > > so I hope to find answers to the question in a near future. > > Still waiting for help here and in the mapserver user list.... > > > > ----- Original Message ----- > > From: "Paul Spencer" > > To: "Gianluigi Nozza" ; > > > > Sent: Wednesday, March 10, 2004 2:17 PM > > Subject: Re: [Chameleon] Locate widget > > > > > > > >>Gianluigi, > >> > >>there is currently no widget that does this. The Locate widget > >>specifically uses web services that provide a lookup API (and the > >>services that it currently implements are all for Canadian stuff). > >> > >>I do not believe that there are any plans to implement a widget of this > >>kind, although it would probably not be too difficult and it would be > >>kind of cool. > >> > >>Cheers, > >> > >>Paul > >> > >>Gianluigi Nozza wrote: > >> > >> > >>>Hi > >>>I am trying to incorporate locate capabilities in a sample application. > > > > The > > > >>>demo I have set up with the unvaluable help of Bart van den Eijnden, > > > > has a > > > >>>locate widget, that works fine. I have also seen that the test demo > > > > included > > > >>>in Chameleon 1.0, had the same feature. > >>>Anyway I have discovered, that the widget works in a different manner in > >>>respect to what I was thinking about. > >>>At first, I believed that locate widget, was looking for occurrence of a > >>>"user string" inside the dbf of the data directory (inside the data of > > > > the > > > >>>shape files); checking this assumption I found that locate widget > > > > interface > > > >>>with an external web service and not locally. Infact it does not work if > > > > you > > > >>>are not connected in Internet. > >>>This capabilitity is really beyond my needs, which are indeed much more > >>>simpler. > >>>I would like to implement locate capabilities in my applications, on > > > > the > > > >>>local sides, i.e. ask the user for a feature to find, and then locate > > > > that > > > >>>feature inside the dbf in the data directory, than zoom out to the > > > > extent of > > > >>>the retrived (and user selected) feature. > >>>Do I have a widget working in a similar way, there are examples > > > > implementing > > > >>>such functionalities ? > >>> > >>>Thanks a lot > >>> > >>> > >>>_______________________________________________ > >>>Chameleon mailing list > >>>Chameleon@lists.maptools.org > >>>http://lists.maptools.org/mailman/listinfo/chameleon > >>> > >> > >>-- > >> ----------------------------------------------------------------- > >>|Paul Spencer spencer@dmsolutions.ca | > >>|-----------------------------------------------------------------| > >>|Applications & Software Development | > >>|DM Solutions Group Inc http://www.dmsolutions.ca/| > >> ----------------------------------------------------------------- > >> > >> > > > > > > > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > http://lists.maptools.org/mailman/listinfo/chameleon > > > > -- > ----------------------------------------------------------------- > |Paul Spencer spencer@dmsolutions.ca | > |-----------------------------------------------------------------| > |Applications & Software Development | > |DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > From pagurekd@agr.gc.ca Thu Mar 11 09:43:32 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2BEhWR9000997 for ; Thu, 11 Mar 2004 09:43:32 -0500 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i2BEH7hg019806 for ; Thu, 11 Mar 2004 09:17:07 -0500 Received: from ncrxem6 (webshieldout.agr.gc.ca [10.117.15.110]) by agrinsmtp2.agr.gc.ca (8.12.8/8.12.8) with SMTP id i2BEd5JG007499 for ; Thu, 11 Mar 2004 09:39:07 -0500 Received: From agr.gc.ca ([10.117.15.106]) by ncrxem6 (WebShield SMTP v4.5 MR1a); id 107901639662; Thu, 11 Mar 2004 09:46:36 -0500 Received: from AGCAN-MTA by agr.gc.ca with Novell_GroupWise; Thu, 11 Mar 2004 09:43:11 -0500 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.2 Date: Thu, 11 Mar 2004 09:43:03 -0500 From: "Debbie Pagurek" To: Cc: Subject: Re: [Chameleon] legend and context questions Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_EDCCF0EF.92F39CCC" Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=_EDCCF0EF.92F39CCC Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi, thanks for getting back to me on this. First - the context thing works fine, that was something silly on my part ;-). the legend popup remains an issue however. When I run the sample script that you provided, I am first getting an error message: Mapscript: Unable to register functions, unable to load. When I click ok, however, then I do see a listing of the layers with a checkbox next to it. Is that what I should be seeing? When I try my chameleon application again and click on the legend button, I still get an empty pop up box as described below - not a 404 error, but a message "The legend displays the layers in your map" If I click Apply or OK at this point, the map refreshes and I get an error that says: the legend template has no inputs named legendlayername[]. Which makes sense I guess, because nothing is showing in the pop up. How should the layer status be set in the mapfile - Default? On? Other issues in trying to get my chameleon app working: When I do a view source, I am seeing a couple errors right at the top: I appreciate everyone's help in getting my first app up and running. Debbie >>> pagameba@magma.ca 03/10/04 07:34PM >>> Debbie ... you can test your template using a test script outside of chameleon to make sure it actually works: legend->set( "template", "/ms4w/apps/chameleon/htdocs/legend_template_widget.html" ); echo ""; echo $oMap->processLegendTemplate( array() ); echo "
"; ?> obviously you'll have to add your own paths. Debbie Pagurek wrote: > OK - now I have the most recent chameleon and mapserver versions > installed properly and the correct documentation to go with it - Thank > you Paul. > I have a lot working but am having trouble seeing a legend. I have > tried the following tags for either an embedded legend: > template="legend_template.html" popupwidth="500" popupheight="400" > status="false" menubar="false"/> > > nothing shows. > > or a popup: > template="legend_template_widget.html" PopupWidth="350" > PopupHeight="300" Toolbar="false" Status="false" Menubar="false" > Location="false" Visible="true" Image="images/icon_legend.png" > ImageTip="Display Legend" LABEL="Legend"> > > > > > > the popup simply says " The legend displays the layers in your map. " > but I see no legend. > > Also, I tried to save a context map. My mapfile is set up to serve wms > layers, and I know the wms getmap request works. > However, when I click on my "save" button, I get a message that says: > There are no WMS Layers to export. > > I don't think anything is wrong with my mapfile... > anyone have any suggestions? > > Thanks, > Debbie -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- --=_EDCCF0EF.92F39CCC Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Description: HTML
Hi,
thanks for getting back to me on this.  First - the context thing works fine, that was something silly on my part ;-).
 
the legend popup remains an issue however.
When I run the sample script that you provided, I am first getting an error message:
Mapscript: Unable to register functions, unable to load.
 
When I click ok, however, then I do see a listing of the layers with a checkbox next to it.  Is that what I should be seeing?
 
When I try my chameleon application again and click on the legend button, I still get an empty pop up box as described below - not a 404 error, but a message "The legend displays the layers in your map"
 
If I click Apply or OK at this point, the map refreshes and I get an error that says:
the legend template has no inputs named legendlayername[].  Which makes sense I guess, because nothing is showing in the pop up.
 
How should the layer status be set in the mapfile - Default? On?
 
Other issues in trying to get my chameleon app working:
When I do a view source, I am seeing a couple errors right at the top:
<!-- ROIManagerMode ParseURL Failed ! -->
 
<!-- ROIRectangleTool ParseURL Failed ! -->
 
<!-- PanMap ParseURL Failed ! -->
 
I appreciate everyone's help in getting my first app up and running.
 
Debbie

>>> pagameba@magma.ca 03/10/04 07:34PM >>>
Debbie ...

you can test your template using a test script outside of chameleon to
make sure it actually works:

<?php
dl( 'php_mapscript_41.dll' );

$oMap = ms_newMapObj( "/ms4w/apps/gmap/htdocs/gmap75.map" );
$oMap->legend->set( "template",
"/ms4w/apps/chameleon/htdocs/legend_template_widget.html" );

echo "<table>";
echo $oMap->processLegendTemplate( array() );
echo "</table>";
?>

obviously you'll have to add your own paths.

Debbie Pagurek wrote:

> OK - now I have the most recent chameleon and mapserver versions
> installed properly and the correct documentation to go with it - Thank
> you Paul.
> I have a lot working but am having trouble seeing a legend.  I have
> tried the following tags for either an embedded legend:
> <cwc2 type="LegendTemplate" visible="true" embedded="true"
> template="legend_template.html" popupwidth="500" popupheight="400"
> status="false" menubar="false"/>

> nothing shows.

> or a popup:
> <cwc2 type="LegendTemplate" styleresource="TextButton" embedded="false"
> template="legend_template_widget.html" PopupWidth="350"
> PopupHeight="300" Toolbar="false" Status="false" Menubar="false"
> Location="false" Visible="true" Image="images/icon_legend.png"
> ImageTip="Display Legend" LABEL="Legend">
>    <image state="normal"/>
>    <image state="selected"/>
>    <image state="hover"/>
> </cwc2>

> the popup simply says " The legend displays the layers in your map. "
> but I see no legend.

> Also, I tried to save a context map.  My mapfile is set up to serve wms
> layers, and I know the wms getmap request works.
> However, when I click on my "save" button, I get a message that says:
> There are no WMS Layers to export.

> I don't think anything is wrong with my mapfile...
> anyone have any suggestions?

> Thanks,
> Debbie

--
  -----------------------------------------------------------------
|Paul Spencer                           spencer@dmsolutions.ca    |
|-----------------------------------------------------------------|
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
  -----------------------------------------------------------------

--=_EDCCF0EF.92F39CCC-- From jlacroix@dmsolutions.ca Thu Mar 11 09:42:38 2004 Received: from angrenost.dmsolutions.ca (chic.dmsolutions.ca [207.96.191.142]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2BEgbR9000986 for ; Thu, 11 Mar 2004 09:42:37 -0500 Received: from dmsolutions.ca (orthanc [192.168.4.8]) by angrenost.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id i2BEgY417022; Thu, 11 Mar 2004 09:42:34 -0500 Message-ID: <40507ADA.5050706@dmsolutions.ca> Date: Thu, 11 Mar 2004 09:42:34 -0500 From: Julien-Samuel Lacroix Organization: DM Solutions User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pxniw pxniw CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Point to point polygon (Line) References: <20040311000942.95587.qmail@web41906.mail.yahoo.com> In-Reply-To: <20040311000942.95587.qmail@web41906.mail.yahoo.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, You can change any layer parameter available with php_mapscript with the MAP parameter of the MapImageSharedResource widget. See http://www.maptools.org/chameleon/wiki/MapImageSharedResource Again like the POINT, you need to use LINE in the MAP parameter. For example, to have a green line, you will have this: And to change the size, change the "size" PARAM. Like this: Best regards Julien pxniw pxniw wrote: > Works great, but how do you change the lin size... > > Currently it uses color red and line size is appx 10 > pixels thick. How do i change it to 1 or 2 pixels > wide? > > Thanks > > --- Julien-Samuel Lacroix > wrote: > >>Hi, >> >>You can try the LINES parameter. Works like POINTS, >>but draw lines. >>So instead of: >> >>You will have >> >> >>Best regards >>Julien >> >> >>pxniw pxniw wrote: >> >>>Asked this awhile ago... any help? >>> >>>I have 3 points in the map. >>>I have lat and lon for those points. >>>info is on mysql db. >>> >>>How do I show each point with line between each >>>point. >>> >>>ie: >>> >>>x-----x------x >>> >>>Using SQLQuery widget and MapImageSharedResource. >>> >>>(Right now I can show x x x (But no lines in >>>between) >>> >>>Thanks a bunch ;) >>> >>> >>>__________________________________ >>>Do you Yahoo!? >>>Yahoo! Search - Find what you’re looking for >> >>faster >> >>>http://search.yahoo.com >>>_______________________________________________ >>>Chameleon mailing list >>>Chameleon@lists.maptools.org >>> >> >>http://lists.maptools.org/mailman/listinfo/chameleon >> >>-- >> > > ------------------------------------------------------------ > >>Julien-Samuel Lacroix >>jlacroix@dmsolutions.ca >>DM Solutions Group >>http://www.dmsolutions.ca/ >> > > ------------------------------------------------------------ > > > __________________________________ > Do you Yahoo!? > Yahoo! Search - Find what you’re looking for faster > http://search.yahoo.com > -- ------------------------------------------------------------ Julien-Samuel Lacroix jlacroix@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From pagameba@magma.ca Thu Mar 11 10:21:28 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2BFLSR9001253 for ; Thu, 11 Mar 2004 10:21:28 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i2BFLRsJ020699; Thu, 11 Mar 2004 10:21:27 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i2BFLPWv001584; Thu, 11 Mar 2004 10:21:27 -0500 Message-ID: <405083EF.2030808@magma.ca> Date: Thu, 11 Mar 2004 10:21:19 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Debbie Pagurek CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] legend and context questions References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Debbie Debbie Pagurek wrote: > Hi, > thanks for getting back to me on this. First - the context thing works > fine, that was something silly on my part ;-). I guess you're not going to tell us what it was? ;) > > the legend popup remains an issue however. > When I run the sample script that you provided, I am first getting an > error message: > Mapscript: Unable to register functions, unable to load. you are loading mapscript through your php.ini then. the first line of this script loads the mapscript library, to avoid this error message remove the line or add a test if (!extension_loaded('MapScript')) dl ('...'); > When I click ok, however, then I do see a listing of the layers with a > checkbox next to it. Is that what I should be seeing? yes > When I try my chameleon application again and click on the legend > button, I still get an empty pop up box as described below - not a 404 > error, but a message "The legend displays the layers in your map" I don't know if popup mode is working ... just a sec, I'll check ... um yes it works for me with embedded=false and embedded=true. The only thing I can think of is that the template parameter to the widget is not valid or pointing to the wrong place. The template is considered relative to the application (index.phtml) so the simplest set up is to have it in the same directory and set the template="" what are the contents of your template? Here is what is in mine: [leg_layer_html order=ascending opt_flag=15] [if name=CWC_TMP_LAYER oper=isnull] [if name=wms_name oper=isnull] [leg_layer_name] [/if] [if name=wms_name oper=isset] [metadata name=WMS_TITLE] [/if] [/if] [/leg_layer_html] > If I click Apply or OK at this point, the map refreshes and I get an > error that says: > the legend template has no inputs named legendlayername[]. Which makes > sense I guess, because nothing is showing in the pop up. > > How should the layer status be set in the mapfile - Default? On? on or default should be fine > > Other issues in trying to get my chameleon app working: > When I do a view source, I am seeing a couple errors right at the top: > > > > > you can ignore these, this will be cleaned up for the release. Cheers, Paul > > I appreciate everyone's help in getting my first app up and running. > > Debbie > > >>> pagameba@magma.ca 03/10/04 07:34PM >>> > Debbie ... > > you can test your template using a test script outside of chameleon to > make sure it actually works: > > dl( 'php_mapscript_41.dll' ); > > $oMap = ms_newMapObj( "/ms4w/apps/gmap/htdocs/gmap75.map" ); > $oMap->legend->set( "template", > "/ms4w/apps/chameleon/htdocs/legend_template_widget.html" ); > > echo ""; > echo $oMap->processLegendTemplate( array() ); > echo "
"; > ?> > > obviously you'll have to add your own paths. > > Debbie Pagurek wrote: > > > OK - now I have the most recent chameleon and mapserver versions > > installed properly and the correct documentation to go with it - Thank > > you Paul. > > I have a lot working but am having trouble seeing a legend. I have > > tried the following tags for either an embedded legend: > > > template="legend_template.html" popupwidth="500" popupheight="400" > > status="false" menubar="false"/> > > > > nothing shows. > > > > or a popup: > > > template="legend_template_widget.html" PopupWidth="350" > > PopupHeight="300" Toolbar="false" Status="false" Menubar="false" > > Location="false" Visible="true" Image="images/icon_legend.png" > > ImageTip="Display Legend" LABEL="Legend"> > > > > > > > > > > > > the popup simply says " The legend displays the layers in your map. " > > but I see no legend. > > > > Also, I tried to save a context map. My mapfile is set up to serve wms > > layers, and I know the wms getmap request works. > > However, when I click on my "save" button, I get a message that says: > > There are no WMS Layers to export. > > > > I don't think anything is wrong with my mapfile... > > anyone have any suggestions? > > > > Thanks, > > Debbie > > -- > ----------------------------------------------------------------- > |Paul Spencer spencer@dmsolutions.ca | > |-----------------------------------------------------------------| > |Applications & Software Development | > |DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pxniw69@yahoo.com Thu Mar 11 12:50:26 2004 Received: from web41903.mail.yahoo.com (web41903.mail.yahoo.com [66.218.93.154]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i2BHoPR9001990 for ; Thu, 11 Mar 2004 12:50:26 -0500 Message-ID: <20040311174950.50377.qmail@web41903.mail.yahoo.com> Received: from [69.160.72.105] by web41903.mail.yahoo.com via HTTP; Thu, 11 Mar 2004 09:49:50 PST Date: Thu, 11 Mar 2004 09:49:50 -0800 (PST) From: pxniw pxniw Subject: Re: [Chameleon] Point to point polygon (Line) To: Julien-Samuel Lacroix Cc: chameleon@lists.maptools.org In-Reply-To: <40507ADA.5050706@dmsolutions.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Works Great ;) Thanks --- Julien-Samuel Lacroix wrote: > Hi, > > You can change any layer parameter available with > php_mapscript with the > MAP parameter of the MapImageSharedResource widget. > > See > http://www.maptools.org/chameleon/wiki/MapImageSharedResource > > Again like the POINT, you need to use LINE in the > MAP parameter. > > For example, to have a green line, you will have > this: > Width="300" > Height="275"> > SRNAME="PointOfInterest_IMAGE"/> > PARAM="color" VALUE="00FF00"/> > > > And to change the size, change the "size" PARAM. > Like this: > PARAM="size" VALUE="2"/> > > Best regards > Julien > > > pxniw pxniw wrote: > > Works great, but how do you change the lin size... > > > > Currently it uses color red and line size is appx > 10 > > pixels thick. How do i change it to 1 or 2 pixels > > wide? > > > > Thanks > > > > --- Julien-Samuel Lacroix > > > wrote: > > > >>Hi, > >> > >>You can try the LINES parameter. Works like > POINTS, > >>but draw lines. > >>So instead of: > >> > >>You will have > >> > >> > >>Best regards > >>Julien > >> > >> > >>pxniw pxniw wrote: > >> > >>>Asked this awhile ago... any help? > >>> > >>>I have 3 points in the map. > >>>I have lat and lon for those points. > >>>info is on mysql db. > >>> > >>>How do I show each point with line between each > >>>point. > >>> > >>>ie: > >>> > >>>x-----x------x > >>> > >>>Using SQLQuery widget and MapImageSharedResource. > >>> > >>>(Right now I can show x x x (But no lines in > >>>between) > >>> > >>>Thanks a bunch ;) > >>> > >>> > >>>__________________________________ > >>>Do you Yahoo!? > >>>Yahoo! Search - Find what you’re looking for > >> > >>faster > >> > >>>http://search.yahoo.com > >>>_______________________________________________ > >>>Chameleon mailing list > >>>Chameleon@lists.maptools.org > >>> > >> > >>http://lists.maptools.org/mailman/listinfo/chameleon > >> > >>-- > >> > > > > > ------------------------------------------------------------ > > > >>Julien-Samuel Lacroix > >>jlacroix@dmsolutions.ca > >>DM Solutions Group > >>http://www.dmsolutions.ca/ > >> > > > > > ------------------------------------------------------------ > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Search - Find what you’re looking for > faster > > http://search.yahoo.com > > > > -- > ------------------------------------------------------------ > Julien-Samuel Lacroix > jlacroix@dmsolutions.ca > DM Solutions Group > http://www.dmsolutions.ca/ > ------------------------------------------------------------ > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon __________________________________ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster http://search.yahoo.com From stephen.clark@focus.ca Thu Mar 11 14:33:33 2004 Received: from mail.focus.ca ([207.229.13.82]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2BJXWR9002607 for ; Thu, 11 Mar 2004 14:33:33 -0500 Received: from mail.focus.ca ([207.229.13.82]) by mail.focus.ca (Post.Office MTA v3.5.3 release 223 ID# 0-72240U600L100S0V35) with SMTP id ca for ; Thu, 11 Mar 2004 11:41:51 -0700 Received: (from sclark [10.10.0.108]) by mail.focus.ca (SAVSMTP 3.1.0.29) with SMTP id M2004031111415012796 for ; Thu, 11 Mar 2004 11:41:50 -0700 Message-ID: <013601c407a1$a1bc2e50$6c000a0a@sclark> From: "Stephen Clark" To: References: <403BD501.4030404@dmsolutions.ca> Date: Thu, 11 Mar 2004 11:47:05 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: [Chameleon] Could someone post a few websites that utilize the newest features of Chamelion? Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: thanks, Stephen From nicolas.fortin@ec.gc.ca Fri Mar 12 13:17:02 2004 Received: from ecstfexch00.quebec.int.ec.gc.ca (fwstl1-1.wul.qc.ec.gc.ca [205.211.132.24]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2CIH1R9009208 for ; Fri, 12 Mar 2004 13:17:01 -0500 Received: by ecstfexch00.quebec.int.ec.gc.ca with Internet Mail Service (5.5.2653.19) id ; Fri, 12 Mar 2004 13:16:58 -0500 Message-ID: From: nicolas.fortin@ec.gc.ca To: chameleon@lists.maptools.org Subject: RE : [Chameleon] JVM Date: Fri, 12 Mar 2004 13:14:00 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i2CIH1R9009208 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi! I reproduced this behavior on another workstation. Chameleon 1.0.4 working fine ... Install J2SDK 1.4.2_03 Chameleon no longer working ... Previous version was 1.3.1_02 I'm on Windows 2000 SP4 with IIS 5.0 Does anybody know why? Thx Nicolas -----Message d'origine----- De : nicolas.fortin@ec.gc.ca [mailto:nicolas.fortin@ec.gc.ca] Envoyé : Wednesday, March 10, 2004 2:03 PM À : chameleon@lists.maptools.org Objet : [Chameleon] JVM Hi, I updated my Java to 1.4.2_03 and now chameleon stopped to work...why?? I have done nothing special except to update my java. The page load but I didn't get any images...juste the famous red X. Please help! Nicolas Fortin Mathématicien, Programmeur, Analyste de données SMC-Québec Hydrologie, Environnement Canada 1141, Rte de l'Église, Sainte-Foy(QC) G1V 4H5 (418)648-2516 nicolas.fortin@ec.gc.ca _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From pagameba@magma.ca Fri Mar 12 13:26:12 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2CIQBR9009261 for ; Fri, 12 Mar 2004 13:26:12 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i2CIQA1Q015704; Fri, 12 Mar 2004 13:26:10 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i2CIQ5M1004525; Fri, 12 Mar 2004 13:26:10 -0500 Message-ID: <405200B6.8070306@magma.ca> Date: Fri, 12 Mar 2004 13:25:58 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: nicolas.fortin@ec.gc.ca, "chameleon@lists.maptools.org" Subject: Re: RE : [Chameleon] JVM References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Nicolas ... sorry, I don't know why ... very strange, the only thing that I can think of is that the jvm also provides the engine for javascript in the browser and that something is broken with this version? I am hesitant to upgrade to test since we are in heavy development right now :) Is downgrading an option? Cheers, Paul nicolas.fortin@ec.gc.ca wrote: > Hi! > > I reproduced this behavior on another workstation. > > Chameleon 1.0.4 working fine ... > Install J2SDK 1.4.2_03 > Chameleon no longer working ... > > Previous version was 1.3.1_02 > > I'm on Windows 2000 SP4 with IIS 5.0 > > Does anybody know why? > Thx > Nicolas > > -----Message d'origine----- > De : nicolas.fortin@ec.gc.ca [mailto:nicolas.fortin@ec.gc.ca] > Envoyé : Wednesday, March 10, 2004 2:03 PM > À : chameleon@lists.maptools.org > Objet : [Chameleon] JVM > > > Hi, > > I updated my Java to 1.4.2_03 and now chameleon stopped to work...why?? I > have done nothing special except to update my java. The page load but I > didn't get any images...juste the famous red X. > > Please help! > > Nicolas Fortin > Mathématicien, Programmeur, Analyste de données > SMC-Québec Hydrologie, Environnement Canada > 1141, Rte de l'Église, Sainte-Foy(QC) G1V 4H5 > (418)648-2516 > nicolas.fortin@ec.gc.ca > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From nicolas.fortin@ec.gc.ca Fri Mar 12 13:34:49 2004 Received: from ecstfexch00.quebec.int.ec.gc.ca (fwstl1-1.wul.qc.ec.gc.ca [205.211.132.24]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2CIYmR9009327 for ; Fri, 12 Mar 2004 13:34:49 -0500 Received: by ecstfexch00.quebec.int.ec.gc.ca with Internet Mail Service (5.5.2653.19) id ; Fri, 12 Mar 2004 13:34:48 -0500 Message-ID: From: nicolas.fortin@ec.gc.ca To: spencer@dmsolutions.ca, chameleon@lists.maptools.org Subject: RE : RE : [Chameleon] JVM Date: Fri, 12 Mar 2004 13:31:45 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i2CIYmR9009327 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Yes, I could downgrade but other applications (Eclipse and XChainJ) that I'll use need 1.4.2 or better Is there a version that I should use in particuliar? Perhaps there's a deprecated function that is now gone in 1.4.2_03 or something like that? Btw, I will not upgrade java on our web server... Thx for the answer Nicolas -----Message d'origine----- De : Paul Spencer [mailto:pagameba@magma.ca] Envoyé : Friday, March 12, 2004 1:26 PM À : nicolas.fortin@ec.gc.ca; chameleon@lists.maptools.org Objet : Re: RE : [Chameleon] JVM Nicolas ... sorry, I don't know why ... very strange, the only thing that I can think of is that the jvm also provides the engine for javascript in the browser and that something is broken with this version? I am hesitant to upgrade to test since we are in heavy development right now :) Is downgrading an option? Cheers, Paul nicolas.fortin@ec.gc.ca wrote: > Hi! > > I reproduced this behavior on another workstation. > > Chameleon 1.0.4 working fine ... > Install J2SDK 1.4.2_03 > Chameleon no longer working ... > > Previous version was 1.3.1_02 > > I'm on Windows 2000 SP4 with IIS 5.0 > > Does anybody know why? > Thx > Nicolas > > -----Message d'origine----- > De : nicolas.fortin@ec.gc.ca [mailto:nicolas.fortin@ec.gc.ca] > Envoyé : Wednesday, March 10, 2004 2:03 PM > À : chameleon@lists.maptools.org > Objet : [Chameleon] JVM > > > Hi, > > I updated my Java to 1.4.2_03 and now chameleon stopped to > work...why?? I have done nothing special except to update my java. The > page load but I didn't get any images...juste the famous red X. > > Please help! > > Nicolas Fortin > Mathématicien, Programmeur, Analyste de données > SMC-Québec Hydrologie, Environnement Canada > 1141, Rte de l'Église, Sainte-Foy(QC) G1V 4H5 > (418)648-2516 > nicolas.fortin@ec.gc.ca > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From bartvde@xs4all.nl Sat Mar 13 06:15:37 2004 Received: from smtp-out3.xs4all.nl (smtp-out3.xs4all.nl [194.109.24.13]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2DBFaR9013406 for ; Sat, 13 Mar 2004 06:15:37 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out3.xs4all.nl (8.12.10/8.12.10) with ESMTP id i2DBFL1Z077965; Sat, 13 Mar 2004 12:15:29 +0100 (CET) To: nicolas.fortin@ec.gc.ca, chameleon@lists.maptools.org Subject: Re: RE : [Chameleon] JVM Reply-To: bartvde@xs4all.nl References: Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Sat, 13 Mar 2004 12:14:44 +0100 In-Reply-To: User-Agent: Opera7.23/Win32 M2 build 3227 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Nicolas, I have not been able to reproduce your problem on my Windows 2000 machine, using J2SDK 1.4.2_04. I am using the latest Chameleon 1.99 with Apache. Are there any errors you can get from IIS or php? Best regards, Bart On Fri, 12 Mar 2004 13:14:00 -0500, wrote: > > Hi! > > I reproduced this behavior on another workstation. > > Chameleon 1.0.4 working fine ... > Install J2SDK 1.4.2_03 > Chameleon no longer working ... > > Previous version was 1.3.1_02 > > I'm on Windows 2000 SP4 with IIS 5.0 > > Does anybody know why? > Thx > Nicolas > > -----Message d'origine----- > De : nicolas.fortin@ec.gc.ca [mailto:nicolas.fortin@ec.gc.ca] > Envoyé : Wednesday, March 10, 2004 2:03 PM > À : chameleon@lists.maptools.org > Objet : [Chameleon] JVM > > > Hi, > > I updated my Java to 1.4.2_03 and now chameleon stopped to work...why?? I > have done nothing special except to update my java. The page load but I > didn't get any images...juste the famous red X. > > Please help! > > Nicolas Fortin > Mathématicien, Programmeur, Analyste de données > SMC-Québec Hydrologie, Environnement Canada > 1141, Rte de l'Église, Sainte-Foy(QC) G1V 4H5 > (418)648-2516 > nicolas.fortin@ec.gc.ca > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- From bartvde@xs4all.nl Sat Mar 13 11:25:57 2004 Received: from smtp-out1.xs4all.nl (smtp-out1.xs4all.nl [194.109.24.11]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2DGPtR9014731 for ; Sat, 13 Mar 2004 11:25:56 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out1.xs4all.nl (8.12.10/8.12.10) with ESMTP id i2DGPlpN077627 for ; Sat, 13 Mar 2004 17:25:52 +0100 (CET) Reply-To: bartvde@xs4all.nl To: "chameleon@lists.maptools.org" From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Sat, 13 Mar 2004 17:25:14 +0100 Message-ID: User-Agent: Opera7.23/Win32 M2 build 3227 Subject: [Chameleon] zoomin box not showing in Mozilla Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, I am using Chameleon 1.99 but were also having this problem in 1.1. The problem is that the zoomin box does show in IE, but not in Mozilla. I have analyzed the problem and it should be in my template, as the Studio template works fine. Also I tried changing a lot of things in my current template. Does anybody have a clue where the problem could be, or which parts of my template I should check in particular? Thanks in advance. Best regards, Bart From pagameba@magma.ca Sat Mar 13 11:35:30 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2DGZUR9014771 for ; Sat, 13 Mar 2004 11:35:30 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i2DGZUP5012697; Sat, 13 Mar 2004 11:35:30 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i2DGZNUT014822; Sat, 13 Mar 2004 11:35:30 -0500 Message-ID: <40533843.6020309@magma.ca> Date: Sat, 13 Mar 2004 11:35:15 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: "chameleon@lists.maptools.org" Subject: Re: [Chameleon] zoomin box not showing in Mozilla References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, does the zoom in function work anyway (even though you don't see a box?) One possibility is that you are missing an attribute in your MapDHTMLWidget tag: As a guess I would think that the marqueecolor or the marqueewidth might be missing or corrupt? Paul Bart van den Eijnden wrote: > Hi list, > > I am using Chameleon 1.99 but were also having this problem in 1.1. > > The problem is that the zoomin box does show in IE, but not in Mozilla. > > I have analyzed the problem and it should be in my template, as the > Studio template works fine. Also I tried changing a lot of things in my > current template. > > Does anybody have a clue where the problem could be, or which parts of > my template I should check in particular? > > Thanks in advance. > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pdymecki@sympatico.ca Sun Mar 14 14:27:57 2004 Received: from tomts20-srv.bellnexxia.net (tomts20.bellnexxia.net [209.226.175.74]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2EJRuR9027806 for ; Sun, 14 Mar 2004 14:27:57 -0500 Received: from pauls ([67.71.19.237]) by tomts20-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20040314192728.TYOV7291.tomts20-srv.bellnexxia.net@pauls>; Sun, 14 Mar 2004 14:27:28 -0500 From: "Paul Dymecki" To: Cc: Date: Sun, 14 Mar 2004 14:27:40 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal In-Reply-To: Subject: [Chameleon] XMLthemelegend?? Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Dave, I was just looking at your chameleon demo and was wondering what technology was used in getting the tree legend working? thx, Paul From jacob.delfos@maunsell.com Mon Mar 15 04:43:32 2004 Received: from aumel1gw002.maunsell.com (210-193-148-152.macquarie.net.au [210.193.148.152] (may be forged)) by www.maptools.org (8.12.5/8.12.5) with SMTP id i2F9hURA031672 for ; Mon, 15 Mar 2004 04:43:31 -0500 Received: from aumel1ex001.mel.maunsell.com.au ([172.21.0.15]) by aumel1gw002.maunsell.com (SAVSMTP 3.1.0.29) with SMTP id M2004031520441015252 ; Mon, 15 Mar 2004 20:44:18 +1100 Received: by aumel1ex001.mel.maunsell.com.au with Internet Mail Service (5.5.2653.19) id ; Mon, 15 Mar 2004 20:43:25 +1100 Message-ID: From: "Delfos, Jacob" To: "'bartvde@xs4all.nl'" , nicolas.fortin@ec.gc.ca, chameleon@lists.maptools.org Subject: RE: RE : [Chameleon] JVM Date: Mon, 15 Mar 2004 20:39:44 +1100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i2F9hURA031672 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Just a little idea... I had a similar problem with another java application; in internet explorer, go to tools-> internet options -> advanced. Untick "use java 2 1.4.2 for ". This has helped me before, but not always. -----Original Message----- From: Bart van den Eijnden [mailto:bartvde@xs4all.nl] Sent: Saturday, 13 March 2004 19:15 To: nicolas.fortin@ec.gc.ca; chameleon@lists.maptools.org Subject: Re: RE : [Chameleon] JVM Hi Nicolas, I have not been able to reproduce your problem on my Windows 2000 machine, using J2SDK 1.4.2_04. I am using the latest Chameleon 1.99 with Apache. Are there any errors you can get from IIS or php? Best regards, Bart On Fri, 12 Mar 2004 13:14:00 -0500, wrote: > > Hi! > > I reproduced this behavior on another workstation. > > Chameleon 1.0.4 working fine ... > Install J2SDK 1.4.2_03 > Chameleon no longer working ... > > Previous version was 1.3.1_02 > > I'm on Windows 2000 SP4 with IIS 5.0 > > Does anybody know why? > Thx > Nicolas > > -----Message d'origine----- > De : nicolas.fortin@ec.gc.ca [mailto:nicolas.fortin@ec.gc.ca] Envoyé : > Wednesday, March 10, 2004 2:03 PM À : chameleon@lists.maptools.org > Objet : [Chameleon] JVM > > > Hi, > > I updated my Java to 1.4.2_03 and now chameleon stopped to > work...why?? I have done nothing special except to update my java. The > page load but I didn't get any images...juste the famous red X. > > Please help! > > Nicolas Fortin > Mathématicien, Programmeur, Analyste de données > SMC-Québec Hydrologie, Environnement Canada > 1141, Rte de l'Église, Sainte-Foy(QC) G1V 4H5 > (418)648-2516 > nicolas.fortin@ec.gc.ca > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From Darren.Cope@statcan.ca Mon Mar 15 08:43:21 2004 Received: from stcshb2.statcan.ca (stcshb2.statcan.ca [142.206.3.27]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2FDhLR9032743 for ; Mon, 15 Mar 2004 08:43:21 -0500 Received: from egapb ([142.206.214.207]) by stcshb2.statcan.ca (8.12.10+Sun/8.11.1) with SMTP id i2FDfVeN006107 for ; Mon, 15 Mar 2004 08:41:31 -0500 (EST) Received: from smtpsha.iusd.statcan.ca (IDENT:root@localhost [127.0.0.1]) by smtpsha.iusd.statcan.ca (8.11.1/8.11.1) with ESMTP id i2FDUvg30129 for ; Mon, 15 Mar 2004 08:30:57 -0500 Received: from msxa1.statcan.ca (msxa1.statcan.ca [142.205.234.72]) by smtpsha.iusd.statcan.ca (8.11.1/8.11.1) with ESMTP id i2FDTDG20919 for ; Mon, 15 Mar 2004 08:29:13 -0500 Received: by msxa1.statcan.ca with Internet Mail Service (5.5.2653.19) id <1PMAXWBK>; Mon, 15 Mar 2004 08:38:38 -0500 Message-ID: From: Darren.Cope@statcan.ca To: chameleon@lists.maptools.org Date: Mon, 15 Mar 2004 08:38:33 -0500 X-Message-Flag: MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C40A92.CF4F2F40" Subject: [Chameleon] Querying Layers Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C40A92.CF4F2F40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, I am currently setting up the Chameleon "CWC2 Demo Template" to work = with some of our own data. Using MapServer as a WMS, I am able to view the = data. However, I am unable to get it to query any of the layers properly. I = get the pop-up which says "no results for this layer." I do have a = "template" line set in the .map file, but this does not seem to help (i.e. I get = the same message without the line). I am sure I am missing something = obvious, as I am new to this! Thanks for any suggestions, Darren Cope Statistics Canada/Statistique Canada Geography Division/Division de la g=E9ographie Jean Talon 3D5 Ottawa, Canada (613) 951-6461 ------_=_NextPart_001_01C40A92.CF4F2F40 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Querying Layers

Hi all,

I am currently setting up the = Chameleon "CWC2 Demo Template" to work with some of our own = data.  Using MapServer as a WMS, I am able to view the data.  = However, I am unable to get it to query any of the layers = properly.  I get the pop-up which says "no results for this = layer."  I do have a "template" line set in the = .map file, but this does not seem to help (i.e. I get the same message = without the line).  I am sure I am missing something obvious, as I = am new to this!


Thanks for any suggestions,

Darren Cope
Statistics Canada/Statistique = Canada
Geography Division/Division de = la g=E9ographie
Jean Talon 3D5
Ottawa, Canada
(613) 951-6461

------_=_NextPart_001_01C40A92.CF4F2F40-- From nicolas.fortin@ec.gc.ca Mon Mar 15 08:57:08 2004 Received: from ecstfexch00.quebec.int.ec.gc.ca (fwstl1-1.wul.qc.ec.gc.ca [205.211.132.24]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2FDv8R9000342 for ; Mon, 15 Mar 2004 08:57:08 -0500 Subject: RE : RE : [Chameleon] JVM Date: Mon, 15 Mar 2004 08:56:06 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: RE : [Chameleon] JVM content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Thread-Index: AcQI7IBc6fwVLwKvTx2OUhw8jcFEHABqIXOA From: "Fortin,Nicolas [SteFoy]" To: , Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i2FDv8R9000342 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Bart, Perhaps it's the good time to upgrade, I have Chameleon 1.0.4 ... Nicolas -----Message d'origine----- De : Bart van den Eijnden [mailto:bartvde@xs4all.nl] Envoyé : Saturday, March 13, 2004 6:15 AM À : nicolas.fortin@ec.gc.ca; chameleon@lists.maptools.org Objet : Re: RE : [Chameleon] JVM Hi Nicolas, I have not been able to reproduce your problem on my Windows 2000 machine, using J2SDK 1.4.2_04. I am using the latest Chameleon 1.99 with Apache. Are there any errors you can get from IIS or php? Best regards, Bart On Fri, 12 Mar 2004 13:14:00 -0500, wrote: > > Hi! > > I reproduced this behavior on another workstation. > > Chameleon 1.0.4 working fine ... > Install J2SDK 1.4.2_03 > Chameleon no longer working ... > > Previous version was 1.3.1_02 > > I'm on Windows 2000 SP4 with IIS 5.0 > > Does anybody know why? > Thx > Nicolas > > -----Message d'origine----- > De : nicolas.fortin@ec.gc.ca [mailto:nicolas.fortin@ec.gc.ca] Envoyé : > Wednesday, March 10, 2004 2:03 PM À : chameleon@lists.maptools.org > Objet : [Chameleon] JVM > > > Hi, > > I updated my Java to 1.4.2_03 and now chameleon stopped to > work...why?? I have done nothing special except to update my java. The > page load but I didn't get any images...juste the famous red X. > > Please help! > > Nicolas Fortin > Mathématicien, Programmeur, Analyste de données > SMC-Québec Hydrologie, Environnement Canada > 1141, Rte de l'Église, Sainte-Foy(QC) G1V 4H5 > (418)648-2516 > nicolas.fortin@ec.gc.ca > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- From nicolas.fortin@ec.gc.ca Mon Mar 15 08:57:51 2004 Received: from ecstfexch00.quebec.int.ec.gc.ca (fwstl1-1.wul.qc.ec.gc.ca [205.211.132.24]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2FDvoR9000345 for ; Mon, 15 Mar 2004 08:57:51 -0500 Subject: RE : RE : [Chameleon] JVM Date: Mon, 15 Mar 2004 08:56:49 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: RE : [Chameleon] JVM content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Thread-Index: AcQKcec96TK+tAEMSQaspc34zzjZdAAI4aEQ From: "Fortin,Nicolas [SteFoy]" To: "Delfos, Jacob" , , Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i2FDvoR9000345 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Jacob, Thx, I'll try it. Nicolas -----Message d'origine----- De : Delfos, Jacob [mailto:jacob.delfos@maunsell.com] Envoyé : Monday, March 15, 2004 4:40 AM À : bartvde@xs4all.nl; Fortin,Nicolas [SteFoy]; chameleon@lists.maptools.org Objet : RE: RE : [Chameleon] JVM Just a little idea... I had a similar problem with another java application; in internet explorer, go to tools-> internet options -> advanced. Untick "use java 2 1.4.2 for ". This has helped me before, but not always. -----Original Message----- From: Bart van den Eijnden [mailto:bartvde@xs4all.nl] Sent: Saturday, 13 March 2004 19:15 To: nicolas.fortin@ec.gc.ca; chameleon@lists.maptools.org Subject: Re: RE : [Chameleon] JVM Hi Nicolas, I have not been able to reproduce your problem on my Windows 2000 machine, using J2SDK 1.4.2_04. I am using the latest Chameleon 1.99 with Apache. Are there any errors you can get from IIS or php? Best regards, Bart On Fri, 12 Mar 2004 13:14:00 -0500, wrote: > > Hi! > > I reproduced this behavior on another workstation. > > Chameleon 1.0.4 working fine ... > Install J2SDK 1.4.2_03 > Chameleon no longer working ... > > Previous version was 1.3.1_02 > > I'm on Windows 2000 SP4 with IIS 5.0 > > Does anybody know why? > Thx > Nicolas > > -----Message d'origine----- > De : nicolas.fortin@ec.gc.ca [mailto:nicolas.fortin@ec.gc.ca] Envoyé : > Wednesday, March 10, 2004 2:03 PM À : chameleon@lists.maptools.org > Objet : [Chameleon] JVM > > > Hi, > > I updated my Java to 1.4.2_03 and now chameleon stopped to > work...why?? I have done nothing special except to update my java. The > page load but I didn't get any images...juste the famous red X. > > Please help! > > Nicolas Fortin > Mathématicien, Programmeur, Analyste de données > SMC-Québec Hydrologie, Environnement Canada > 1141, Rte de l'Église, Sainte-Foy(QC) G1V 4H5 > (418)648-2516 > nicolas.fortin@ec.gc.ca > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From eric@gomoos.org Mon Mar 15 11:08:45 2004 Received: from mail.gomoos.org ([66.70.82.140]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2FG8iR9001119 for ; Mon, 15 Mar 2004 11:08:45 -0500 Received: from [192.168.1.107] (rrcs-nys-24-97-59-226.biz.rr.com [24.97.59.226]) by mail.gomoos.org (8.12.9/8.12.9) with ESMTP id i2FG8gMu097429; Mon, 15 Mar 2004 11:08:42 -0500 (EST) (envelope-from eric@gomoos.org) Subject: Re: [Chameleon] Querying Layers From: Eric Bridger To: Darren.Cope@statcan.ca Cc: chameleon@lists.maptools.org In-Reply-To: References: Content-Type: text/plain; charset=ISO-8859-15 X-Mailer: Ximian Evolution 1.0.3 (1.0.3-4) Date: 15 Mar 2004 11:04:26 -0500 Message-Id: <1079366671.1867.36.camel@ubet.gomoos.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i2FG8iR9001119 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I'm new to this too, but I happen to have a guess. You also need DUMP TRUE in your layer. On Mon, 2004-03-15 at 08:38, Darren.Cope@statcan.ca wrote: > Hi all, > > I am currently setting up the Chameleon "CWC2 Demo Template" to work with > some of our own data. Using MapServer as a WMS, I am able to view the data. > However, I am unable to get it to query any of the layers properly. I get > the pop-up which says "no results for this layer." I do have a "template" > line set in the .map file, but this does not seem to help (i.e. I get the > same message without the line). I am sure I am missing something obvious, > as I am new to this! > > Thanks for any suggestions, > > Darren Cope > Statistics Canada/Statistique Canada > Geography Division/Division de la géographie > Jean Talon 3D5 > Ottawa, Canada > (613) 951-6461 > From Darren.Cope@statcan.ca Mon Mar 15 12:03:23 2004 Received: from stcshb2.statcan.ca (stcshb2.statcan.ca [142.206.3.27]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2FH3NR9001509 for ; Mon, 15 Mar 2004 12:03:23 -0500 Received: from egapb ([142.206.214.207]) by stcshb2.statcan.ca (8.12.10+Sun/8.11.1) with SMTP id i2FH1ceN010281 for ; Mon, 15 Mar 2004 12:01:38 -0500 (EST) Received: from smtpsha.iusd.statcan.ca (IDENT:root@localhost [127.0.0.1]) by smtpsha.iusd.statcan.ca (8.11.1/8.11.1) with ESMTP id i2FGpUg05052 for ; Mon, 15 Mar 2004 11:51:30 -0500 Received: from msxa1.statcan.ca (msxa1.statcan.ca [142.205.234.72]) by smtpsha.iusd.statcan.ca (8.11.1/8.11.1) with ESMTP id i2FGoUG13845; Mon, 15 Mar 2004 11:50:30 -0500 Received: by msxa1.statcan.ca with Internet Mail Service (5.5.2653.19) id <1PMAYAVX>; Mon, 15 Mar 2004 11:59:57 -0500 Message-ID: From: Darren.Cope@statcan.ca To: eric@gomoos.org, Darren.Cope@statcan.ca Cc: chameleon@lists.maptools.org Subject: RE: [Chameleon] Querying Layers Date: Mon, 15 Mar 2004 11:59:53 -0500 X-Message-Flag: MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i2FH3NR9001509 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Thanks for the suggestion Eric. However, this does not seem to solve my problem. Darren -----Original Message----- From: Eric Bridger [mailto:eric@gomoos.org] Sent: March 15, 2004 11:04 AM To: Darren.Cope@statcan.ca Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Querying Layers I'm new to this too, but I happen to have a guess. You also need DUMP TRUE in your layer. On Mon, 2004-03-15 at 08:38, Darren.Cope@statcan.ca wrote: > Hi all, > > I am currently setting up the Chameleon "CWC2 Demo Template" to work > with some of our own data. Using MapServer as a WMS, I am able to > view the data. However, I am unable to get it to query any of the > layers properly. I get the pop-up which says "no results for this > layer." I do have a "template" line set in the .map file, but this > does not seem to help (i.e. I get the same message without the line). > I am sure I am missing something obvious, as I am new to this! > > Thanks for any suggestions, > > Darren Cope > Statistics Canada/Statistique Canada > Geography Division/Division de la géographie > Jean Talon 3D5 > Ottawa, Canada > (613) 951-6461 > From nicolas.fortin@ec.gc.ca Mon Mar 15 12:59:36 2004 Received: from ecstfexch00.quebec.int.ec.gc.ca (fwstl1-1.wul.qc.ec.gc.ca [205.211.132.24]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2FHxZR9001972 for ; Mon, 15 Mar 2004 12:59:35 -0500 Subject: RE : RE : RE : [Chameleon] JVM Date: Mon, 15 Mar 2004 12:58:32 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Message-ID: X-MS-Has-Attach: content-class: urn:content-classes:message X-MS-TNEF-Correlator: X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Thread-Topic: RE : RE : [Chameleon] JVM Thread-Index: AcQKlY5oh531qmUBQbyro0Y1Zo8IjwAH/hcw From: "Fortin,Nicolas [SteFoy]" To: , Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i2FHxZR9001972 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Dear list... I installed Chameleon 1.1 on another directory and got the same exact problem : No map at all. I can see the keymap but not the main map, only a red x with an infinite wait image. Is there a way to debug it? To know what's happens? I'm an asp programmer so I know minimum about php. No error from IIS. The error manager widget says there's no error... I found a little php utilities for php debug and here's the output : [sample.phtml,38]DEBUG INFO == Execution Time Global : 0.5131s [ PHP , 0.5131s , 100% ] - [ SQL , 0s , 0% , 0 Query ] == Included/Required files (39) : C:\Chameleon1.1\htdocs\sample.phtml View Source Edit C:\Chameleon1.1\htdocs\chameleon.php View Source Edit C:\Chameleon1.1\htdocs\HttpFormVars.php View Source Edit C:\Chameleon1.1\htdocs\common\logger\logfile.php View Source Edit C:\Chameleon1.1\htdocs\common\logger\error_manager.php View Source Edit C:\Chameleon1.1\htdocs\common\logger\logger.php View Source Edit C:\Chameleon1.1\htdocs\common\appcontext\appcontext.php View Source Edit C:\Chameleon1.1\htdocs\common\wrapper\map_session.php View Source Edit C:\Chameleon1.1\htdocs\common\mlt\mlt.php View Source Edit C:\Chameleon1.1\htdocs\common\session\session.php View Source Edit C:\Chameleon1.1\htdocs\debug.php View Source Edit C:\Chameleon1.1\htdocs\UIManager.php View Source Edit C:\Chameleon1.1\htdocs\TemplateParser.php View Source Edit C:\Chameleon1.1\htdocs\WidgetManager.php View Source Edit C:\Chameleon1.1\htdocs\widgets\Widget.php View Source Edit C:\Chameleon1.1\htdocs\widgets\SharedResource.widget.php View Source Edit C:\Chameleon1.1\htdocs\widgets\RulerResult.widget.php View Source Edit C:\Chameleon1.1\htdocs\widgets\Label.php View Source Edit C:\Chameleon1.1\htdocs\widgets\Extent.widget.php View Source Edit C:\Chameleon1.1\htdocs\widgets\ZoomIn.widget.php View Source Edit C:\Chameleon1.1\htdocs\widgets\NavTool.php View Source Edit C:\Chameleon1.1\htdocs\widgets\Button.php View Source Edit C:\Chameleon1.1\htdocs\widgets\Icon.php View Source Edit C:\Chameleon1.1\htdocs\common\wrapper\map_navigator.php View Source Edit C:\Chameleon1.1\htdocs\widgets\ZoomOut.widget.php View Source Edit C:\Chameleon1.1\htdocs\widgets\ZoomAllLayers.widget.php View Source Edit C:\Chameleon1.1\htdocs\widgets\BoundingBoxPopup.widget.php View Source Edit C:\Chameleon1.1\htdocs\widgets\Popup.php View Source Edit C:\Chameleon1.1\htdocs\widgets\PanMap.widget.php View Source Edit C:\Chameleon1.1\htdocs\widgets\Ruler.widget.php View Source Edit C:\Chameleon1.1\htdocs\widgets\MapDHTMLWidget.widget.php View Source Edit C:\Chameleon1.1\htdocs\widgets\Cursorpos.widget.php View Source Edit C:\Chameleon1.1\htdocs\widgets\KeyMap.widget.php View Source Edit C:\Chameleon1.1\htdocs\widgets\MapUnits.widget.php View Source Edit C:\Chameleon1.1\htdocs\widgets\Scalebar.widget.php View Source Edit C:\Chameleon1.1\htdocs\widgets\ProjectionLabel.widget.php View Source Edit C:\Chameleon1.1\htdocs\widgets\ErrorReport.widget.php View Source Edit C:\Chameleon1.1\htdocs\widgets\TextButton.php View Source Edit C:\Chameleon1.1\htdocs\common\buttonizer\buttonizer.php View Source Edit == _POST Var (17) :_POST : Array ( [sid] => 4055eaa94d5f3 [NAV_INPUT_TYPE] => POINT [NAV_INPUT_COORDINATES] => 436400,1563684.5 [MAP_EXTENTS_MINX] => -2594561 [MAP_EXTENTS_MINY] => -712631 [MAP_EXTENTS_MAXX] => 3467361 [MAP_EXTENTS_MAXY] => 3840000 [MAP_WIDTH] => 400 [MAP_HEIGHT] => 300 [MAP_CURSOR_POS_X] => 315 [MAP_CURSOR_POS_Y] => 125 [NAV_CMD] => ZOOM_BBOX [NAV_TOOLSET_NAVIGATION] => [NAV_ALLOW_RECTANGLE] => [RULER_RESULT] => [CursorPos_X] => 2179202 [CursorPos_Y] => 1943070 ) == _GET Var (0) : -- NO VARIABLE -- == _FILES Var (0) : -- NO VARIABLE -- == _COOKIE Var (1) :_COOKIE : Array ( [ASPSESSIONIDSAQQCTRQ] => PPMHCMNCEPKNHIKJMNGIINBF ) == _SESSION Var (31) :_SESSION : Array ( [gszRemoteAdd] => [MY IP HERE] [gszCurrentLanguage] => en-CA [gszCoreWebPath] => http://f044d065/chameleon [gszTmpPath] => C:/Inetpub/wwwroot/tmp/sess_4055eaa94d5f3/ [gszTmpMapPath] => C:/Inetpub/wwwroot/tmp/sess_4055eaa94d5f3/ [gszDefaultLanguage] => en-CA [gnMapSessionMode] => 1 [gszTmpWebPath] => /chameleon/tmp/ms_tmp/ [gszTmpImgPath] => C:/Chameleon1.1/htdocs/tmp/ms_tmp/ [gszButtonCachePath] => C:\Chameleon1.1\htdocs\tmp\ms_tmp\buttons\/ [gszButtonCacheWebPath] => /chameleon/tmp/ms_tmp/buttons/ [gszImgType] => PNG [gszFontListFile] => C:/Chameleon1.1/etc/fonts.txt [gszMapTitleFontName] => fritqat [gszLegendFontName] => fritqat [gszSymbolFile] => C:/Chameleon1.1/etc/symbols.sym [gnLogLevel] => 0 [gszLogPath] => C:/Chameleon1.1/htdocs/tmp/ [gErrorManager] => errormanager Object ( [nErrorCount] => 0 [aszErrorList] => Array ( ) [mszOldErrorHandler] => [mnErrorLevel] => ) [gszMapscriptModule] => php_mapscript_4.0.1.dll [gszCurrentState] => 1079372765-4586 [gszMapName] => C:\Chameleon1.1\map\chameleon.map [gszMapPath] => C:\Chameleon1.1\map [gnTimeout] => 120 [gnTextButtonDefaultFontSize] => 11 [gbTextButtonDefaultFontAntialiasing] => true [gszGDVersion] => gd2 [gszFreeTypeVersion] => ttf [aszLang] => Array ( ) [KEYMAP_SRS] => epsg:42304 [aoAnnotation] => Array ( ) ) Thx Nicolas -----Message d'origine----- De : Fortin,Nicolas [SteFoy] Envoyé : Monday, March 15, 2004 8:56 AM À : bartvde@xs4all.nl; chameleon@lists.maptools.org Objet : RE : RE : [Chameleon] JVM Hi Bart, Perhaps it's the good time to upgrade, I have Chameleon 1.0.4 ... Nicolas -----Message d'origine----- De : Bart van den Eijnden [mailto:bartvde@xs4all.nl] Envoyé : Saturday, March 13, 2004 6:15 AM À : nicolas.fortin@ec.gc.ca; chameleon@lists.maptools.org Objet : Re: RE : [Chameleon] JVM Hi Nicolas, I have not been able to reproduce your problem on my Windows 2000 machine, using J2SDK 1.4.2_04. I am using the latest Chameleon 1.99 with Apache. Are there any errors you can get from IIS or php? Best regards, Bart On Fri, 12 Mar 2004 13:14:00 -0500, wrote: > > Hi! > > I reproduced this behavior on another workstation. > > Chameleon 1.0.4 working fine ... > Install J2SDK 1.4.2_03 > Chameleon no longer working ... > > Previous version was 1.3.1_02 > > I'm on Windows 2000 SP4 with IIS 5.0 > > Does anybody know why? > Thx > Nicolas > > -----Message d'origine----- > De : nicolas.fortin@ec.gc.ca [mailto:nicolas.fortin@ec.gc.ca] Envoyé : > Wednesday, March 10, 2004 2:03 PM À : chameleon@lists.maptools.org > Objet : [Chameleon] JVM > > > Hi, > > I updated my Java to 1.4.2_03 and now chameleon stopped to > work...why?? I have done nothing special except to update my java. The > page load but I didn't get any images...juste the famous red X. > > Please help! > > Nicolas Fortin > Mathématicien, Programmeur, Analyste de données > SMC-Québec Hydrologie, Environnement Canada > 1141, Rte de l'Église, Sainte-Foy(QC) G1V 4H5 > (418)648-2516 > nicolas.fortin@ec.gc.ca > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From bartvde@xs4all.nl Mon Mar 15 15:24:52 2004 Received: from smtp-out2.xs4all.nl (smtp-out2.xs4all.nl [194.109.24.12]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2FKOpR9003338 for ; Mon, 15 Mar 2004 15:24:51 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out2.xs4all.nl (8.12.10/8.12.10) with ESMTP id i2FKOSjK093582; Mon, 15 Mar 2004 21:24:37 +0100 (CET) Date: Mon, 15 Mar 2004 21:23:51 +0100 To: "Fortin,Nicolas [SteFoy]" , chameleon@lists.maptools.org Subject: Re: RE : RE : RE : [Chameleon] JVM Reply-To: bartvde@xs4all.nl References: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: User-Agent: Opera7.23/Win32 M2 build 3227 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Nicolas, is it possible for you to try and install MS4W (www.maptools.org) on the same machine? Also, do you have Mapserver debugging turned on? See: http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?DebuggingMapserver You can also try to put php error logging on, change the following in php.ini: error_reporting = E_ALL & ~E_NOTICE log_errors = On error_log = c:/temp/php.log Best regards, Bart On Mon, 15 Mar 2004 12:58:32 -0500, Fortin,Nicolas [SteFoy] wrote: > > Dear list... > > I installed Chameleon 1.1 on another directory and got the same exact > problem : No map at all. > I can see the keymap but not the main map, only a red x with an infinite > wait image. > > Is there a way to debug it? To know what's happens? I'm an asp > programmer so I know minimum about php. > No error from IIS. > The error manager widget says there's no error... > > I found a little php utilities for php debug and here's the output : > [sample.phtml,38]DEBUG INFO > > == Execution Time Global : 0.5131s [ PHP , 0.5131s , 100% ] - [ SQL , 0s > , 0% , 0 Query ] > > == Included/Required files (39) : > C:\Chameleon1.1\htdocs\sample.phtml View Source Edit > C:\Chameleon1.1\htdocs\chameleon.php View Source Edit > C:\Chameleon1.1\htdocs\HttpFormVars.php View Source Edit > C:\Chameleon1.1\htdocs\common\logger\logfile.php View Source Edit > C:\Chameleon1.1\htdocs\common\logger\error_manager.php View Source Edit > C:\Chameleon1.1\htdocs\common\logger\logger.php View Source Edit > C:\Chameleon1.1\htdocs\common\appcontext\appcontext.php View Source Edit > C:\Chameleon1.1\htdocs\common\wrapper\map_session.php View Source Edit > C:\Chameleon1.1\htdocs\common\mlt\mlt.php View Source Edit > C:\Chameleon1.1\htdocs\common\session\session.php View Source Edit > C:\Chameleon1.1\htdocs\debug.php View Source Edit > C:\Chameleon1.1\htdocs\UIManager.php View Source Edit > C:\Chameleon1.1\htdocs\TemplateParser.php View Source Edit > C:\Chameleon1.1\htdocs\WidgetManager.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\Widget.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\SharedResource.widget.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\RulerResult.widget.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\Label.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\Extent.widget.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\ZoomIn.widget.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\NavTool.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\Button.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\Icon.php View Source Edit > C:\Chameleon1.1\htdocs\common\wrapper\map_navigator.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\ZoomOut.widget.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\ZoomAllLayers.widget.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\BoundingBoxPopup.widget.php View Source > Edit > C:\Chameleon1.1\htdocs\widgets\Popup.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\PanMap.widget.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\Ruler.widget.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\MapDHTMLWidget.widget.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\Cursorpos.widget.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\KeyMap.widget.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\MapUnits.widget.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\Scalebar.widget.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\ProjectionLabel.widget.php View Source > Edit > C:\Chameleon1.1\htdocs\widgets\ErrorReport.widget.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\TextButton.php View Source Edit > C:\Chameleon1.1\htdocs\common\buttonizer\buttonizer.php View Source Edit > > > == _POST Var (17) :_POST : > Array > ( > [sid] => 4055eaa94d5f3 > [NAV_INPUT_TYPE] => POINT > [NAV_INPUT_COORDINATES] => 436400,1563684.5 > [MAP_EXTENTS_MINX] => -2594561 > [MAP_EXTENTS_MINY] => -712631 > [MAP_EXTENTS_MAXX] => 3467361 > [MAP_EXTENTS_MAXY] => 3840000 > [MAP_WIDTH] => 400 > [MAP_HEIGHT] => 300 > [MAP_CURSOR_POS_X] => 315 > [MAP_CURSOR_POS_Y] => 125 > [NAV_CMD] => ZOOM_BBOX > [NAV_TOOLSET_NAVIGATION] => > [NAV_ALLOW_RECTANGLE] => > [RULER_RESULT] => > [CursorPos_X] => 2179202 > [CursorPos_Y] => 1943070 > ) > > > == _GET Var (0) : -- NO VARIABLE -- > > == _FILES Var (0) : -- NO VARIABLE -- > > == _COOKIE Var (1) :_COOKIE : > Array > ( > [ASPSESSIONIDSAQQCTRQ] => PPMHCMNCEPKNHIKJMNGIINBF > ) > > > == _SESSION Var (31) :_SESSION : > Array > ( > [gszRemoteAdd] => [MY IP HERE] > [gszCurrentLanguage] => en-CA > [gszCoreWebPath] => http://f044d065/chameleon > [gszTmpPath] => C:/Inetpub/wwwroot/tmp/sess_4055eaa94d5f3/ > [gszTmpMapPath] => C:/Inetpub/wwwroot/tmp/sess_4055eaa94d5f3/ > [gszDefaultLanguage] => en-CA > [gnMapSessionMode] => 1 > [gszTmpWebPath] => /chameleon/tmp/ms_tmp/ > [gszTmpImgPath] => C:/Chameleon1.1/htdocs/tmp/ms_tmp/ > [gszButtonCachePath] => C:\Chameleon1.1\htdocs\tmp\ms_tmp\buttons\/ > [gszButtonCacheWebPath] => /chameleon/tmp/ms_tmp/buttons/ > [gszImgType] => PNG > [gszFontListFile] => C:/Chameleon1.1/etc/fonts.txt > [gszMapTitleFontName] => fritqat > [gszLegendFontName] => fritqat > [gszSymbolFile] => C:/Chameleon1.1/etc/symbols.sym > [gnLogLevel] => 0 > [gszLogPath] => C:/Chameleon1.1/htdocs/tmp/ > [gErrorManager] => errormanager Object > ( > [nErrorCount] => 0 > [aszErrorList] => Array > ( > ) > > [mszOldErrorHandler] => > [mnErrorLevel] => > ) > > [gszMapscriptModule] => php_mapscript_4.0.1.dll > [gszCurrentState] => 1079372765-4586 > [gszMapName] => C:\Chameleon1.1\map\chameleon.map > [gszMapPath] => C:\Chameleon1.1\map > [gnTimeout] => 120 > [gnTextButtonDefaultFontSize] => 11 > [gbTextButtonDefaultFontAntialiasing] => true > [gszGDVersion] => gd2 > [gszFreeTypeVersion] => ttf > [aszLang] => Array > ( > ) > > [KEYMAP_SRS] => epsg:42304 > [aoAnnotation] => Array > ( > ) > > ) > > > Thx > Nicolas > > -----Message d'origine----- > De : Fortin,Nicolas [SteFoy] > Envoyé : Monday, March 15, 2004 8:56 AM > À : bartvde@xs4all.nl; chameleon@lists.maptools.org > Objet : RE : RE : [Chameleon] JVM > > > > Hi Bart, > > Perhaps it's the good time to upgrade, I have Chameleon 1.0.4 ... > > Nicolas > > -----Message d'origine----- > De : Bart van den Eijnden [mailto:bartvde@xs4all.nl] > Envoyé : Saturday, March 13, 2004 6:15 AM > À : nicolas.fortin@ec.gc.ca; chameleon@lists.maptools.org > Objet : Re: RE : [Chameleon] JVM > > > Hi Nicolas, > > I have not been able to reproduce your problem on my Windows 2000 > machine, > using J2SDK 1.4.2_04. > > I am using the latest Chameleon 1.99 with Apache. > > Are there any errors you can get from IIS or php? > > Best regards, > Bart > > On Fri, 12 Mar 2004 13:14:00 -0500, wrote: > >> >> Hi! >> >> I reproduced this behavior on another workstation. >> >> Chameleon 1.0.4 working fine ... >> Install J2SDK 1.4.2_03 >> Chameleon no longer working ... >> >> Previous version was 1.3.1_02 >> >> I'm on Windows 2000 SP4 with IIS 5.0 >> >> Does anybody know why? >> Thx >> Nicolas >> >> -----Message d'origine----- >> De : nicolas.fortin@ec.gc.ca [mailto:nicolas.fortin@ec.gc.ca] Envoyé : >> Wednesday, March 10, 2004 2:03 PM À : chameleon@lists.maptools.org >> Objet : [Chameleon] JVM >> >> >> Hi, >> >> I updated my Java to 1.4.2_03 and now chameleon stopped to >> work...why?? I have done nothing special except to update my java. The >> page load but I didn't get any images...juste the famous red X. >> >> Please help! >> >> Nicolas Fortin >> Mathématicien, Programmeur, Analyste de données >> SMC-Québec Hydrologie, Environnement Canada >> 1141, Rte de l'Église, Sainte-Foy(QC) G1V 4H5 >> (418)648-2516 >> nicolas.fortin@ec.gc.ca >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > > > -- From nicolas.fortin@ec.gc.ca Mon Mar 15 16:21:08 2004 Received: from ecstfexch00.quebec.int.ec.gc.ca (fwstl1-1.wul.qc.ec.gc.ca [205.211.132.24]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2FLL4R9003753 for ; Mon, 15 Mar 2004 16:21:05 -0500 Subject: RE : RE : RE : RE : [Chameleon] JVM Date: Mon, 15 Mar 2004 16:20:02 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Message-ID: X-MS-Has-Attach: content-class: urn:content-classes:message X-MS-TNEF-Correlator: X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Thread-Topic: RE : RE : RE : [Chameleon] JVM Thread-Index: AcQKy5cbQeHozcKUQc6xuc8Lknxd2gABrh3Q From: "Fortin,Nicolas [SteFoy]" To: , Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i2FLL4R9003753 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Bart, Thx again for your answer, I run IIS and ms4w include Apache so it's not an option for the moment. I read the link about debugging mapserver but except for the MS_ERRORFILE, I don't know how to set GDAL or OGR log files. The mapfile is ok since I have WMS running on it and other mapserver applications that use it. I set up php error logging on but it writes nothing to the file. I uninstall JRE 1.4.2_03 on one of my workstation and chameleon is back on. It works perfectly. It must be something with this jre version. Nicolas -----Message d'origine----- De : Bart van den Eijnden [mailto:bartvde@xs4all.nl] Envoyé : Monday, March 15, 2004 3:24 PM À : Fortin,Nicolas [SteFoy]; chameleon@lists.maptools.org Objet : Re: RE : RE : RE : [Chameleon] JVM Hi Nicolas, is it possible for you to try and install MS4W (www.maptools.org) on the same machine? Also, do you have Mapserver debugging turned on? See: http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?DebuggingMapserver You can also try to put php error logging on, change the following in php.ini: error_reporting = E_ALL & ~E_NOTICE log_errors = On error_log = c:/temp/php.log Best regards, Bart On Mon, 15 Mar 2004 12:58:32 -0500, Fortin,Nicolas [SteFoy] wrote: > > Dear list... > > I installed Chameleon 1.1 on another directory and got the same exact > problem : No map at all. > I can see the keymap but not the main map, only a red x with an infinite > wait image. > > Is there a way to debug it? To know what's happens? I'm an asp > programmer so I know minimum about php. > No error from IIS. > The error manager widget says there's no error... > > I found a little php utilities for php debug and here's the output : > [sample.phtml,38]DEBUG INFO > > == Execution Time Global : 0.5131s [ PHP , 0.5131s , 100% ] - [ SQL , > 0s > , 0% , 0 Query ] > > == Included/Required files (39) : C:\Chameleon1.1\htdocs\sample.phtml > View Source Edit C:\Chameleon1.1\htdocs\chameleon.php View Source Edit > C:\Chameleon1.1\htdocs\HttpFormVars.php View Source Edit > C:\Chameleon1.1\htdocs\common\logger\logfile.php View Source Edit > C:\Chameleon1.1\htdocs\common\logger\error_manager.php View Source Edit > C:\Chameleon1.1\htdocs\common\logger\logger.php View Source Edit > C:\Chameleon1.1\htdocs\common\appcontext\appcontext.php View Source Edit > C:\Chameleon1.1\htdocs\common\wrapper\map_session.php View Source Edit > C:\Chameleon1.1\htdocs\common\mlt\mlt.php View Source Edit > C:\Chameleon1.1\htdocs\common\session\session.php View Source Edit > C:\Chameleon1.1\htdocs\debug.php View Source Edit > C:\Chameleon1.1\htdocs\UIManager.php View Source Edit > C:\Chameleon1.1\htdocs\TemplateParser.php View Source Edit > C:\Chameleon1.1\htdocs\WidgetManager.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\Widget.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\SharedResource.widget.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\RulerResult.widget.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\Label.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\Extent.widget.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\ZoomIn.widget.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\NavTool.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\Button.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\Icon.php View Source Edit > C:\Chameleon1.1\htdocs\common\wrapper\map_navigator.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\ZoomOut.widget.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\ZoomAllLayers.widget.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\BoundingBoxPopup.widget.php View Source > Edit > C:\Chameleon1.1\htdocs\widgets\Popup.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\PanMap.widget.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\Ruler.widget.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\MapDHTMLWidget.widget.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\Cursorpos.widget.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\KeyMap.widget.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\MapUnits.widget.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\Scalebar.widget.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\ProjectionLabel.widget.php View Source > Edit > C:\Chameleon1.1\htdocs\widgets\ErrorReport.widget.php View Source Edit > C:\Chameleon1.1\htdocs\widgets\TextButton.php View Source Edit > C:\Chameleon1.1\htdocs\common\buttonizer\buttonizer.php View Source Edit > > > == _POST Var (17) :_POST : > Array > ( > [sid] => 4055eaa94d5f3 > [NAV_INPUT_TYPE] => POINT > [NAV_INPUT_COORDINATES] => 436400,1563684.5 > [MAP_EXTENTS_MINX] => -2594561 > [MAP_EXTENTS_MINY] => -712631 > [MAP_EXTENTS_MAXX] => 3467361 > [MAP_EXTENTS_MAXY] => 3840000 > [MAP_WIDTH] => 400 > [MAP_HEIGHT] => 300 > [MAP_CURSOR_POS_X] => 315 > [MAP_CURSOR_POS_Y] => 125 > [NAV_CMD] => ZOOM_BBOX > [NAV_TOOLSET_NAVIGATION] => > [NAV_ALLOW_RECTANGLE] => > [RULER_RESULT] => > [CursorPos_X] => 2179202 > [CursorPos_Y] => 1943070 > ) > > > == _GET Var (0) : -- NO VARIABLE -- > > == _FILES Var (0) : -- NO VARIABLE -- > > == _COOKIE Var (1) :_COOKIE : > Array > ( > [ASPSESSIONIDSAQQCTRQ] => PPMHCMNCEPKNHIKJMNGIINBF > ) > > > == _SESSION Var (31) :_SESSION : > Array > ( > [gszRemoteAdd] => [MY IP HERE] > [gszCurrentLanguage] => en-CA > [gszCoreWebPath] => http://f044d065/chameleon > [gszTmpPath] => C:/Inetpub/wwwroot/tmp/sess_4055eaa94d5f3/ > [gszTmpMapPath] => C:/Inetpub/wwwroot/tmp/sess_4055eaa94d5f3/ > [gszDefaultLanguage] => en-CA > [gnMapSessionMode] => 1 > [gszTmpWebPath] => /chameleon/tmp/ms_tmp/ > [gszTmpImgPath] => C:/Chameleon1.1/htdocs/tmp/ms_tmp/ > [gszButtonCachePath] => C:\Chameleon1.1\htdocs\tmp\ms_tmp\buttons\/ > [gszButtonCacheWebPath] => /chameleon/tmp/ms_tmp/buttons/ > [gszImgType] => PNG > [gszFontListFile] => C:/Chameleon1.1/etc/fonts.txt > [gszMapTitleFontName] => fritqat > [gszLegendFontName] => fritqat > [gszSymbolFile] => C:/Chameleon1.1/etc/symbols.sym > [gnLogLevel] => 0 > [gszLogPath] => C:/Chameleon1.1/htdocs/tmp/ > [gErrorManager] => errormanager Object > ( > [nErrorCount] => 0 > [aszErrorList] => Array > ( > ) > > [mszOldErrorHandler] => > [mnErrorLevel] => > ) > > [gszMapscriptModule] => php_mapscript_4.0.1.dll > [gszCurrentState] => 1079372765-4586 > [gszMapName] => C:\Chameleon1.1\map\chameleon.map > [gszMapPath] => C:\Chameleon1.1\map > [gnTimeout] => 120 > [gnTextButtonDefaultFontSize] => 11 > [gbTextButtonDefaultFontAntialiasing] => true > [gszGDVersion] => gd2 > [gszFreeTypeVersion] => ttf > [aszLang] => Array > ( > ) > > [KEYMAP_SRS] => epsg:42304 > [aoAnnotation] => Array > ( > ) > > ) > > > Thx > Nicolas > > -----Message d'origine----- > De : Fortin,Nicolas [SteFoy] > Envoyé : Monday, March 15, 2004 8:56 AM > À : bartvde@xs4all.nl; chameleon@lists.maptools.org > Objet : RE : RE : [Chameleon] JVM > > > > Hi Bart, > > Perhaps it's the good time to upgrade, I have Chameleon 1.0.4 ... > > Nicolas > > -----Message d'origine----- > De : Bart van den Eijnden [mailto:bartvde@xs4all.nl] > Envoyé : Saturday, March 13, 2004 6:15 AM > À : nicolas.fortin@ec.gc.ca; chameleon@lists.maptools.org Objet : Re: > RE : [Chameleon] JVM > > > Hi Nicolas, > > I have not been able to reproduce your problem on my Windows 2000 > machine, > using J2SDK 1.4.2_04. > > I am using the latest Chameleon 1.99 with Apache. > > Are there any errors you can get from IIS or php? > > Best regards, > Bart > > On Fri, 12 Mar 2004 13:14:00 -0500, wrote: > >> >> Hi! >> >> I reproduced this behavior on another workstation. >> >> Chameleon 1.0.4 working fine ... >> Install J2SDK 1.4.2_03 >> Chameleon no longer working ... >> >> Previous version was 1.3.1_02 >> >> I'm on Windows 2000 SP4 with IIS 5.0 >> >> Does anybody know why? >> Thx >> Nicolas >> >> -----Message d'origine----- >> De : nicolas.fortin@ec.gc.ca [mailto:nicolas.fortin@ec.gc.ca] Envoyé >> : Wednesday, March 10, 2004 2:03 PM À : chameleon@lists.maptools.org >> Objet : [Chameleon] JVM >> >> >> Hi, >> >> I updated my Java to 1.4.2_03 and now chameleon stopped to >> work...why?? I have done nothing special except to update my java. >> The page load but I didn't get any images...juste the famous red X. >> >> Please help! >> >> Nicolas Fortin >> Mathématicien, Programmeur, Analyste de données >> SMC-Québec Hydrologie, Environnement Canada >> 1141, Rte de l'Église, Sainte-Foy(QC) G1V 4H5 >> (418)648-2516 >> nicolas.fortin@ec.gc.ca >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > > > -- From thowlett@whistlermuseum.org Mon Mar 15 16:47:21 2004 Received: from smtp1000.radiant.net (smtp1000.radiant.net [216.21.149.209] (may be forged)) by www.maptools.org (8.12.5/8.12.5) with SMTP id i2FLlKR9003944 for ; Mon, 15 Mar 2004 16:47:20 -0500 Message-Id: <200403152147.i2FLlKR9003944@www.maptools.org> Received: (qmail 16690 invoked from network); 15 Mar 2004 21:32:32 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp1000.radiant.net with SMTP; 15 Mar 2004 21:32:32 -0000 Reply-To: From: "Tracy Howlett" To: Cc: Subject: RE: [Chameleon] Querying Layers Date: Mon, 15 Mar 2004 13:47:13 -0800 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: Thread-Index: AcQKr41WlesbL+tCSi+7OOPMLWBPqwAJyPZw Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i2FLlKR9003944 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Darren, I had a similar problem..make sure you've got your tolerance units set as well. This is an example of one of my query layers. LAYER NAME "Park" TYPE POLYGON DUMP TRUE TEMPLATE "blank.html" TOLERANCE 10 TOLERANCEUNITS PIXELS STATUS ON GROUP "Municipal Park" DATA "Park" CLASS COLOR 150 231 138 END METADATA WMS_TITLE "Park" WMS_ABSTRACT "Park" END END I've been trying to modify the output of the query results myself. Right now each record returns the Shape and ID items as well as the useful attribute data. I'm trying to suppress these fields. If you happen to figure it out would you mind letting me know! Thanks, Tracy -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Darren.Cope@statcan.ca Sent: Monday, March 15, 2004 9:00 AM To: eric@gomoos.org; Darren.Cope@statcan.ca Cc: chameleon@lists.maptools.org Subject: RE: [Chameleon] Querying Layers Thanks for the suggestion Eric. However, this does not seem to solve my problem. Darren -----Original Message----- From: Eric Bridger [mailto:eric@gomoos.org] Sent: March 15, 2004 11:04 AM To: Darren.Cope@statcan.ca Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Querying Layers I'm new to this too, but I happen to have a guess. You also need DUMP TRUE in your layer. On Mon, 2004-03-15 at 08:38, Darren.Cope@statcan.ca wrote: > Hi all, > > I am currently setting up the Chameleon "CWC2 Demo Template" to work > with some of our own data. Using MapServer as a WMS, I am able to > view the data. However, I am unable to get it to query any of the > layers properly. I get the pop-up which says "no results for this > layer." I do have a "template" line set in the .map file, but this > does not seem to help (i.e. I get the same message without the line). > I am sure I am missing something obvious, as I am new to this! > > Thanks for any suggestions, > > Darren Cope > Statistics Canada/Statistique Canada > Geography Division/Division de la géographie > Jean Talon 3D5 > Ottawa, Canada > (613) 951-6461 > _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From Darren.Cope@statcan.ca Tue Mar 16 08:41:41 2004 Received: from stcshb2.statcan.ca (stcshb2.statcan.ca [142.206.3.27]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2GDffR9008049 for ; Tue, 16 Mar 2004 08:41:41 -0500 Received: from egapb ([142.206.214.207]) by stcshb2.statcan.ca (8.12.10+Sun/8.11.1) with SMTP id i2GDdbeN000681 for ; Tue, 16 Mar 2004 08:39:37 -0500 (EST) Received: from smtpsha.iusd.statcan.ca (IDENT:root@localhost [127.0.0.1]) by smtpsha.iusd.statcan.ca (8.11.1/8.11.1) with ESMTP id i2GDTWg16080 for ; Tue, 16 Mar 2004 08:29:32 -0500 Received: from msxa1.statcan.ca (msxa1.statcan.ca [142.205.234.72]) by smtpsha.iusd.statcan.ca (8.11.1/8.11.1) with ESMTP id i2GDSRG20860; Tue, 16 Mar 2004 08:28:27 -0500 Received: by msxa1.statcan.ca with Internet Mail Service (5.5.2653.19) id <1PMAZDFJ>; Tue, 16 Mar 2004 08:37:57 -0500 Message-ID: From: Darren.Cope@statcan.ca To: thowlett@whistlermuseum.org, Darren.Cope@statcan.ca Cc: chameleon@lists.maptools.org Subject: RE: [Chameleon] Querying Layers Date: Tue, 16 Mar 2004 08:37:51 -0500 X-Message-Flag: MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i2GDffR9008049 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hello Tracy, Thanks for the help! I finally got the query to work, after ensuring that the DUMP, and TOLERANCE lines where set, and that each layer had a TEMPLATE. However, it is also necessary, as I found out eventually, that the LAYER NAME not have a space in it, as this will cause the queries to not work. Even though I had everything right, and your "park" example worked fine for me, my "provincial boundary" layer did not. Replacing the space with an underscore solved the problem though! Hopefully this will help out others who may be having this problem. Any way I can still use a space in the name (with an escape character of some sort?) Thanks! Darren -----Original Message----- From: Tracy Howlett [mailto:thowlett@whistlermuseum.org] Sent: March 15, 2004 4:47 PM To: Darren.Cope@statcan.ca Cc: chameleon@lists.maptools.org Subject: RE: [Chameleon] Querying Layers Hi Darren, I had a similar problem..make sure you've got your tolerance units set as well. This is an example of one of my query layers. LAYER NAME "Park" TYPE POLYGON DUMP TRUE TEMPLATE "blank.html" TOLERANCE 10 TOLERANCEUNITS PIXELS STATUS ON GROUP "Municipal Park" DATA "Park" CLASS COLOR 150 231 138 END METADATA WMS_TITLE "Park" WMS_ABSTRACT "Park" END END I've been trying to modify the output of the query results myself. Right now each record returns the Shape and ID items as well as the useful attribute data. I'm trying to suppress these fields. If you happen to figure it out would you mind letting me know! Thanks, Tracy -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Darren.Cope@statcan.ca Sent: Monday, March 15, 2004 9:00 AM To: eric@gomoos.org; Darren.Cope@statcan.ca Cc: chameleon@lists.maptools.org Subject: RE: [Chameleon] Querying Layers Thanks for the suggestion Eric. However, this does not seem to solve my problem. Darren -----Original Message----- From: Eric Bridger [mailto:eric@gomoos.org] Sent: March 15, 2004 11:04 AM To: Darren.Cope@statcan.ca Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Querying Layers I'm new to this too, but I happen to have a guess. You also need DUMP TRUE in your layer. On Mon, 2004-03-15 at 08:38, Darren.Cope@statcan.ca wrote: > Hi all, > > I am currently setting up the Chameleon "CWC2 Demo Template" to work > with some of our own data. Using MapServer as a WMS, I am able to > view the data. However, I am unable to get it to query any of the > layers properly. I get the pop-up which says "no results for this > layer." I do have a "template" line set in the .map file, but this > does not seem to help (i.e. I get the same message without the line). > I am sure I am missing something obvious, as I am new to this! > > Thanks for any suggestions, > > Darren Cope > Statistics Canada/Statistique Canada > Geography Division/Division de la géographie > Jean Talon 3D5 > Ottawa, Canada > (613) 951-6461 > _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From pagameba@magma.ca Tue Mar 16 08:56:16 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2GDuGR9008102 for ; Tue, 16 Mar 2004 08:56:16 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i2GDuGev026423; Tue, 16 Mar 2004 08:56:16 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i2GDuDwD008198; Tue, 16 Mar 2004 08:56:15 -0500 Message-ID: <40570772.2050704@magma.ca> Date: Tue, 16 Mar 2004 08:56:02 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Darren.Cope@statcan.ca CC: thowlett@whistlermuseum.org, chameleon@lists.maptools.org Subject: Re: [Chameleon] Querying Layers References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Darren, Did you try putting the layer name in quotes? NAME "provincial boundary" I don't think that mapserver has any particular problems with this, but perhaps there is a problem in chameleon and I would like to know. Cheers, Paul Darren.Cope@statcan.ca wrote: > Hello Tracy, > > Thanks for the help! I finally got the query to work, after ensuring that > the DUMP, and TOLERANCE lines where set, and that each layer had a TEMPLATE. > However, it is also necessary, as I found out eventually, that the LAYER > NAME not have a space in it, as this will cause the queries to not work. > Even though I had everything right, and your "park" example worked fine for > me, my "provincial boundary" layer did not. Replacing the space with an > underscore solved the problem though! Hopefully this will help out others > who may be having this problem. > > Any way I can still use a space in the name (with an escape character of > some sort?) > > Thanks! > > Darren > > -----Original Message----- > From: Tracy Howlett [mailto:thowlett@whistlermuseum.org] > Sent: March 15, 2004 4:47 PM > To: Darren.Cope@statcan.ca > Cc: chameleon@lists.maptools.org > Subject: RE: [Chameleon] Querying Layers > > > Hi Darren, > > I had a similar problem..make sure you've got your tolerance units set as > well. > > This is an example of one of my query layers. > > LAYER > NAME "Park" > TYPE POLYGON > DUMP TRUE > TEMPLATE "blank.html" > TOLERANCE 10 > TOLERANCEUNITS PIXELS > STATUS ON > GROUP "Municipal Park" > DATA "Park" > CLASS > COLOR 150 231 138 > END > METADATA > WMS_TITLE "Park" > WMS_ABSTRACT "Park" > END > END > > I've been trying to modify the output of the query results myself. Right > now each record returns the Shape and ID items as well as the useful > attribute data. I'm trying to suppress these fields. If you happen to > figure it out would you mind letting me know! > > Thanks, > > Tracy > > -----Original Message----- > From: chameleon-admin@lists.maptools.org > [mailto:chameleon-admin@lists.maptools.org] On Behalf Of > Darren.Cope@statcan.ca > Sent: Monday, March 15, 2004 9:00 AM > To: eric@gomoos.org; Darren.Cope@statcan.ca > Cc: chameleon@lists.maptools.org > Subject: RE: [Chameleon] Querying Layers > > Thanks for the suggestion Eric. However, this does not seem to solve my > problem. > > Darren > > -----Original Message----- > From: Eric Bridger [mailto:eric@gomoos.org] > Sent: March 15, 2004 11:04 AM > To: Darren.Cope@statcan.ca > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Querying Layers > > > I'm new to this too, but I happen to have a guess. > You also need DUMP TRUE in your layer. > > On Mon, 2004-03-15 at 08:38, Darren.Cope@statcan.ca wrote: > >>Hi all, >> >>I am currently setting up the Chameleon "CWC2 Demo Template" to work >>with some of our own data. Using MapServer as a WMS, I am able to >>view the data. However, I am unable to get it to query any of the >>layers properly. I get the pop-up which says "no results for this >>layer." I do have a "template" line set in the .map file, but this >>does not seem to help (i.e. I get the same message without the line). >>I am sure I am missing something obvious, as I am new to this! >> >>Thanks for any suggestions, >> >>Darren Cope >>Statistics Canada/Statistique Canada >>Geography Division/Division de la géographie >>Jean Talon 3D5 >>Ottawa, Canada >>(613) 951-6461 >> > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Darren.Cope@statcan.ca Tue Mar 16 10:28:14 2004 Received: from stcshb2.statcan.ca (stcshb2.statcan.ca [142.206.3.27]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2GFSER9008616 for ; Tue, 16 Mar 2004 10:28:14 -0500 Received: from egapb ([142.206.214.207]) by stcshb2.statcan.ca (8.12.10+Sun/8.11.1) with SMTP id i2GFPleN001294 for ; Tue, 16 Mar 2004 10:25:47 -0500 (EST) Received: from smtpsha.iusd.statcan.ca (IDENT:root@localhost [127.0.0.1]) by smtpsha.iusd.statcan.ca (8.11.1/8.11.1) with ESMTP id i2GFExg09340 for ; Tue, 16 Mar 2004 10:14:59 -0500 Received: from msxa1.statcan.ca (msxa1.statcan.ca [142.205.234.72]) by smtpsha.iusd.statcan.ca (8.11.1/8.11.1) with ESMTP id i2GFDVG08255; Tue, 16 Mar 2004 10:13:31 -0500 Received: by msxa1.statcan.ca with Internet Mail Service (5.5.2653.19) id <1PMAZK5W>; Tue, 16 Mar 2004 10:23:00 -0500 Message-ID: From: Darren.Cope@statcan.ca To: spencer@dmsolutions.ca, Darren.Cope@statcan.ca Cc: thowlett@whistlermuseum.org, chameleon@lists.maptools.org Subject: RE: [Chameleon] Querying Layers Date: Tue, 16 Mar 2004 10:22:59 -0500 X-Message-Flag: MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Paul, Yes, the layer names are in quotes. In the mapfile, it looks like the following (currently with underscore, as this works): LAYER # Start of Mailout Area NAME "Mailout_Area" STATUS DEFAULT DUMP TRUE DATA mailout TYPE POLYGON TEMPLATE "ttt" # this isn't used, but needs to be here for queries TOLERANCE 10 TOLERANCEUNITS PIXELS CLASS NAME "Mailout Area" COLOR 198 199 140 OUTLINECOLOR -1 -1 -1 END # Class MAXSCALE 4500000 METADATA # Start of Metadata WMS_TITLE "Mailout Area" WMS_ABSTRACT "Mailout Area" WMS_SRS "EPSG:42304" END # End of Metadata END # End of Mailout Area In the context file, I have the following: If I use this exactly as shown, everything works as expected. If I put double quotes around the Name in the context file, I get an error (the images don't load at all...) So, this is possibly a bug in Chameleon, or do you see something else wrong with what I am doing? Thanks, Darren -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: March 16, 2004 8:56 AM To: Darren.Cope@statcan.ca Cc: thowlett@whistlermuseum.org; chameleon@lists.maptools.org Subject: Re: [Chameleon] Querying Layers Darren, Did you try putting the layer name in quotes? NAME "provincial boundary" I don't think that mapserver has any particular problems with this, but perhaps there is a problem in chameleon and I would like to know. Cheers, Paul Darren.Cope@statcan.ca wrote: > Hello Tracy, > > Thanks for the help! I finally got the query to work, after ensuring > that the DUMP, and TOLERANCE lines where set, and that each layer had > a TEMPLATE. However, it is also necessary, as I found out eventually, > that the LAYER NAME not have a space in it, as this will cause the > queries to not work. Even though I had everything right, and your > "park" example worked fine for me, my "provincial boundary" layer did > not. Replacing the space with an underscore solved the problem > though! Hopefully this will help out others who may be having this > problem. > > Any way I can still use a space in the name (with an escape character > of some sort?) > > Thanks! > > Darren > > -----Original Message----- > From: Tracy Howlett [mailto:thowlett@whistlermuseum.org] > Sent: March 15, 2004 4:47 PM > To: Darren.Cope@statcan.ca > Cc: chameleon@lists.maptools.org > Subject: RE: [Chameleon] Querying Layers > > > Hi Darren, > > I had a similar problem..make sure you've got your tolerance units set > as well. > > This is an example of one of my query layers. > > LAYER > NAME "Park" > TYPE POLYGON > DUMP TRUE > TEMPLATE "blank.html" > TOLERANCE 10 > TOLERANCEUNITS PIXELS > STATUS ON > GROUP "Municipal Park" > DATA "Park" > CLASS > COLOR 150 231 138 > END > METADATA > WMS_TITLE "Park" > WMS_ABSTRACT "Park" > END > END > > I've been trying to modify the output of the query results myself. > Right now each record returns the Shape and ID items as well as the > useful attribute data. I'm trying to suppress these fields. If you > happen to figure it out would you mind letting me know! > > Thanks, > > Tracy > > -----Original Message----- > From: chameleon-admin@lists.maptools.org > [mailto:chameleon-admin@lists.maptools.org] On Behalf Of > Darren.Cope@statcan.ca > Sent: Monday, March 15, 2004 9:00 AM > To: eric@gomoos.org; Darren.Cope@statcan.ca > Cc: chameleon@lists.maptools.org > Subject: RE: [Chameleon] Querying Layers > > Thanks for the suggestion Eric. However, this does not seem to solve > my problem. > > Darren > > -----Original Message----- > From: Eric Bridger [mailto:eric@gomoos.org] > Sent: March 15, 2004 11:04 AM > To: Darren.Cope@statcan.ca > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Querying Layers > > > I'm new to this too, but I happen to have a guess. > You also need DUMP TRUE in your layer. > > On Mon, 2004-03-15 at 08:38, Darren.Cope@statcan.ca wrote: > >>Hi all, >> >>I am currently setting up the Chameleon "CWC2 Demo Template" to work >>with some of our own data. Using MapServer as a WMS, I am able to >>view the data. However, I am unable to get it to query any of the >>layers properly. I get the pop-up which says "no results for this >>layer." I do have a "template" line set in the .map file, but this >>does not seem to help (i.e. I get the same message without the line). >>I am sure I am missing something obvious, as I am new to this! >> >>Thanks for any suggestions, >> >>Darren Cope >>Statistics Canada/Statistique Canada >>Geography Division/Division de la géographie >>Jean Talon 3D5 >>Ottawa, Canada >>(613) 951-6461 >> > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From bartvde@xs4all.nl Tue Mar 16 10:35:34 2004 Received: from smtp-out1.xs4all.nl (smtp-out1.xs4all.nl [194.109.24.11]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2GFZYR9008684 for ; Tue, 16 Mar 2004 10:35:34 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out1.xs4all.nl (8.12.10/8.12.10) with ESMTP id i2GFZME4048580; Tue, 16 Mar 2004 16:35:23 +0100 (CET) Cc: chameleon@lists.maptools.org To: Darren.Cope@statcan.ca, spencer@dmsolutions.ca Subject: Re: [Chameleon] Querying Layers Reply-To: bartvde@xs4all.nl References: Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Tue, 16 Mar 2004 16:34:46 +0100 In-Reply-To: User-Agent: Opera7.23/Win32 M2 build 3227 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Paul, Darren, is this not because the layer NAME is used for the XML element, and XML elements can't contain spaces? For local data which would go through text/html output this would probably work, but not for WMS layers which go through gml output. Best regards, Bart On Tue, 16 Mar 2004 10:22:59 -0500, wrote: > Hi Paul, > > Yes, the layer names are in quotes. In the mapfile, it looks like the > following (currently with underscore, as this works): > > LAYER # Start of Mailout Area > NAME "Mailout_Area" > STATUS DEFAULT > DUMP TRUE > DATA mailout > TYPE POLYGON > TEMPLATE "ttt" # this isn't used, but needs to be here for queries > TOLERANCE 10 > TOLERANCEUNITS PIXELS > CLASS > NAME "Mailout Area" > COLOR 198 199 140 > OUTLINECOLOR -1 -1 -1 > END # Class > MAXSCALE 4500000 > METADATA # Start of Metadata > WMS_TITLE "Mailout Area" > WMS_ABSTRACT "Mailout Area" > WMS_SRS "EPSG:42304" > END # End of Metadata > END # End of Mailout Area > > In the context file, I have the following: > > > > If I use this exactly as shown, everything works as expected. If I put > double quotes around the Name in the context file, I get an error (the > images don't load at all...) So, this is possibly a bug in Chameleon, > or do > you see something else wrong with what I am doing? > > Thanks, > > Darren > > -----Original Message----- > From: Paul Spencer [mailto:pagameba@magma.ca] > Sent: March 16, 2004 8:56 AM > To: Darren.Cope@statcan.ca > Cc: thowlett@whistlermuseum.org; chameleon@lists.maptools.org > Subject: Re: [Chameleon] Querying Layers > > > Darren, > > Did you try putting the layer name in quotes? > > NAME "provincial boundary" > > I don't think that mapserver has any particular problems with this, but > perhaps there is a problem in chameleon and I would like to know. > > Cheers, > > Paul > > Darren.Cope@statcan.ca wrote: > >> Hello Tracy, >> >> Thanks for the help! I finally got the query to work, after ensuring >> that the DUMP, and TOLERANCE lines where set, and that each layer had >> a TEMPLATE. However, it is also necessary, as I found out eventually, >> that the LAYER NAME not have a space in it, as this will cause the >> queries to not work. Even though I had everything right, and your >> "park" example worked fine for me, my "provincial boundary" layer did >> not. Replacing the space with an underscore solved the problem >> though! Hopefully this will help out others who may be having this >> problem. >> >> Any way I can still use a space in the name (with an escape character >> of some sort?) >> >> Thanks! >> >> Darren >> >> -----Original Message----- >> From: Tracy Howlett [mailto:thowlett@whistlermuseum.org] >> Sent: March 15, 2004 4:47 PM >> To: Darren.Cope@statcan.ca >> Cc: chameleon@lists.maptools.org >> Subject: RE: [Chameleon] Querying Layers >> >> >> Hi Darren, >> >> I had a similar problem..make sure you've got your tolerance units set >> as well. >> >> This is an example of one of my query layers. >> >> LAYER >> NAME "Park" >> TYPE POLYGON >> DUMP TRUE >> TEMPLATE "blank.html" >> TOLERANCE 10 >> TOLERANCEUNITS PIXELS >> STATUS ON >> GROUP "Municipal Park" >> DATA "Park" >> CLASS >> COLOR 150 231 138 >> END >> METADATA >> WMS_TITLE "Park" >> WMS_ABSTRACT "Park" >> END >> END >> >> I've been trying to modify the output of the query results myself. >> Right now each record returns the Shape and ID items as well as the >> useful attribute data. I'm trying to suppress these fields. If you >> happen to figure it out would you mind letting me know! >> >> Thanks, >> >> Tracy >> >> -----Original Message----- >> From: chameleon-admin@lists.maptools.org >> [mailto:chameleon-admin@lists.maptools.org] On Behalf Of >> Darren.Cope@statcan.ca >> Sent: Monday, March 15, 2004 9:00 AM >> To: eric@gomoos.org; Darren.Cope@statcan.ca >> Cc: chameleon@lists.maptools.org >> Subject: RE: [Chameleon] Querying Layers >> >> Thanks for the suggestion Eric. However, this does not seem to solve >> my problem. >> >> Darren >> >> -----Original Message----- >> From: Eric Bridger [mailto:eric@gomoos.org] >> Sent: March 15, 2004 11:04 AM >> To: Darren.Cope@statcan.ca >> Cc: chameleon@lists.maptools.org >> Subject: Re: [Chameleon] Querying Layers >> >> >> I'm new to this too, but I happen to have a guess. >> You also need DUMP TRUE in your layer. >> >> On Mon, 2004-03-15 at 08:38, Darren.Cope@statcan.ca wrote: >> >>> Hi all, >>> >>> I am currently setting up the Chameleon "CWC2 Demo Template" to work >>> with some of our own data. Using MapServer as a WMS, I am able to >>> view the data. However, I am unable to get it to query any of the >>> layers properly. I get the pop-up which says "no results for this >>> layer." I do have a "template" line set in the .map file, but this >>> does not seem to help (i.e. I get the same message without the line). >>> I am sure I am missing something obvious, as I am new to this! >>> >>> Thanks for any suggestions, >>> >>> Darren Cope >>> Statistics Canada/Statistique Canada >>> Geography Division/Division de la géographie >>> Jean Talon 3D5 >>> Ottawa, Canada >>> (613) 951-6461 >>> >> >> >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> >> >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > -- From nicolas.fortin@ec.gc.ca Tue Mar 16 11:27:09 2004 Received: from ecstfexch00.quebec.int.ec.gc.ca (fwstl1-1.wul.qc.ec.gc.ca [205.211.132.24]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2GGR8R9009074 for ; Tue, 16 Mar 2004 11:27:08 -0500 Date: Tue, 16 Mar 2004 11:26:01 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Message-ID: X-MS-Has-Attach: content-class: urn:content-classes:message X-MS-TNEF-Correlator: X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Thread-Topic: EPPL7 support is not available Thread-Index: AcQLc4N5gHHZye9uQK+EK/z4z4s2pw== From: "Fortin,Nicolas [SteFoy]" To: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i2GGR8R9009074 Subject: [Chameleon] EPPL7 support is not available Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, While I tried to draw a Geotiff layer, I got this message : EPPL7 support is not available. Unrecognized or unsupported image format Failed to draw layer named 'ORTHO97-1997LSP_1'. The WMS services is online and can be access by other WMS client and mapserver. Why can I get the layer?? Nicolas Fortin Mathématicien, Programmeur, Analyste de données SMC-Québec Hydrologie, Environnement Canada 1141, Rte de l'Église, Sainte-Foy(QC) G1V 4H5 (418)648-2516 nicolas.fortin@ec.gc.ca From pagameba@magma.ca Tue Mar 16 11:43:16 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2GGhGR9009175 for ; Tue, 16 Mar 2004 11:43:16 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i2GGhFa1007328; Tue, 16 Mar 2004 11:43:15 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i2GGh6nV001071; Tue, 16 Mar 2004 11:43:15 -0500 Message-ID: <40572E8E.9050008@magma.ca> Date: Tue, 16 Mar 2004 11:42:54 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Fortin,Nicolas [SteFoy]" CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] EPPL7 support is not available References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Nicolas, When mapserver tries to draw a layer, it will attempt to use all the drivers it knows about. The EPPL7 driver is the very last driver it will try. This means that if the layer fails to draw for any reason, you will see this error message. Unfortunately, this makes it difficult to diagnose the problem. The most common reason that I have seen for this is that the server is returning either a ServiceException (which mapserver does not yet detect and parse into a reasonable error message) or it is returning an image in an unrecognized format ... for instance it is returning a GIF image and mapserver is not built to support GIF images. The second happens suprisingly often as WMS servers often advertise multiple image formats but don't respect them in the getmap request. Perhaps if you post the URL to the WMS server, I could diagnose the problem more completely. Cheers, Paul Fortin,Nicolas [SteFoy] wrote: > Hi list, > > While I tried to draw a Geotiff layer, I got this message : > EPPL7 support is not available. > Unrecognized or unsupported image format > Failed to draw layer named 'ORTHO97-1997LSP_1'. > > The WMS services is online and can be access by other WMS client and mapserver. > > Why can I get the layer?? > > Nicolas Fortin > Mathématicien, Programmeur, Analyste de données > SMC-Québec Hydrologie, Environnement Canada > 1141, Rte de l'Église, Sainte-Foy(QC) G1V 4H5 > (418)648-2516 > nicolas.fortin@ec.gc.ca > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Tue Mar 16 11:45:21 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2GGjLR9009210 for ; Tue, 16 Mar 2004 11:45:21 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i2GGjLa1008262; Tue, 16 Mar 2004 11:45:21 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i2GGjInV004612; Tue, 16 Mar 2004 11:45:21 -0500 Message-ID: <40572F13.9070608@magma.ca> Date: Tue, 16 Mar 2004 11:45:07 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: Darren.Cope@statcan.ca, spencer@dmsolutions.ca, chameleon@lists.maptools.org Subject: Re: [Chameleon] Querying Layers References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart, that is what I suspect also. Note that in the context there is both a name and a title which may be to address the fact that names cannot contain spaces. Cheers, Paul Bart van den Eijnden wrote: > Hi Paul, Darren, > > is this not because the layer NAME is used for the XML element, and XML > elements can't contain spaces? For local data which would go through > text/html output this would probably work, but not for WMS layers which > go through gml output. > > Best regards, > Bart > > On Tue, 16 Mar 2004 10:22:59 -0500, wrote: > >> Hi Paul, >> >> Yes, the layer names are in quotes. In the mapfile, it looks like the >> following (currently with underscore, as this works): >> >> LAYER # Start of Mailout Area >> NAME "Mailout_Area" >> STATUS DEFAULT >> DUMP TRUE >> DATA mailout >> TYPE POLYGON >> TEMPLATE "ttt" # this isn't used, but needs to be here for queries >> TOLERANCE 10 >> TOLERANCEUNITS PIXELS >> CLASS >> NAME "Mailout Area" >> COLOR 198 199 140 >> OUTLINECOLOR -1 -1 -1 >> END # Class >> MAXSCALE 4500000 >> METADATA # Start of Metadata >> WMS_TITLE "Mailout Area" >> WMS_ABSTRACT "Mailout Area" >> WMS_SRS "EPSG:42304" >> END # End of Metadata >> END # End of Mailout Area >> >> In the context file, I have the following: >> >> >> >> If I use this exactly as shown, everything works as expected. If I put >> double quotes around the Name in the context file, I get an error (the >> images don't load at all...) So, this is possibly a bug in Chameleon, >> or do >> you see something else wrong with what I am doing? >> >> Thanks, >> >> Darren >> >> -----Original Message----- >> From: Paul Spencer [mailto:pagameba@magma.ca] >> Sent: March 16, 2004 8:56 AM >> To: Darren.Cope@statcan.ca >> Cc: thowlett@whistlermuseum.org; chameleon@lists.maptools.org >> Subject: Re: [Chameleon] Querying Layers >> >> >> Darren, >> >> Did you try putting the layer name in quotes? >> >> NAME "provincial boundary" >> >> I don't think that mapserver has any particular problems with this, but >> perhaps there is a problem in chameleon and I would like to know. >> >> Cheers, >> >> Paul >> >> Darren.Cope@statcan.ca wrote: >> >>> Hello Tracy, >>> >>> Thanks for the help! I finally got the query to work, after ensuring >>> that the DUMP, and TOLERANCE lines where set, and that each layer had >>> a TEMPLATE. However, it is also necessary, as I found out eventually, >>> that the LAYER NAME not have a space in it, as this will cause the >>> queries to not work. Even though I had everything right, and your >>> "park" example worked fine for me, my "provincial boundary" layer did >>> not. Replacing the space with an underscore solved the problem >>> though! Hopefully this will help out others who may be having this >>> problem. >>> >>> Any way I can still use a space in the name (with an escape character >>> of some sort?) >>> >>> Thanks! >>> >>> Darren >>> >>> -----Original Message----- >>> From: Tracy Howlett [mailto:thowlett@whistlermuseum.org] >>> Sent: March 15, 2004 4:47 PM >>> To: Darren.Cope@statcan.ca >>> Cc: chameleon@lists.maptools.org >>> Subject: RE: [Chameleon] Querying Layers >>> >>> >>> Hi Darren, >>> >>> I had a similar problem..make sure you've got your tolerance units set >>> as well. >>> >>> This is an example of one of my query layers. >>> >>> LAYER >>> NAME "Park" >>> TYPE POLYGON >>> DUMP TRUE >>> TEMPLATE "blank.html" >>> TOLERANCE 10 >>> TOLERANCEUNITS PIXELS >>> STATUS ON >>> GROUP "Municipal Park" >>> DATA "Park" >>> CLASS >>> COLOR 150 231 138 >>> END >>> METADATA >>> WMS_TITLE "Park" >>> WMS_ABSTRACT "Park" >>> END >>> END >>> >>> I've been trying to modify the output of the query results myself. >>> Right now each record returns the Shape and ID items as well as the >>> useful attribute data. I'm trying to suppress these fields. If you >>> happen to figure it out would you mind letting me know! >>> >>> Thanks, >>> >>> Tracy >>> >>> -----Original Message----- >>> From: chameleon-admin@lists.maptools.org >>> [mailto:chameleon-admin@lists.maptools.org] On Behalf Of >>> Darren.Cope@statcan.ca >>> Sent: Monday, March 15, 2004 9:00 AM >>> To: eric@gomoos.org; Darren.Cope@statcan.ca >>> Cc: chameleon@lists.maptools.org >>> Subject: RE: [Chameleon] Querying Layers >>> >>> Thanks for the suggestion Eric. However, this does not seem to solve >>> my problem. >>> >>> Darren >>> >>> -----Original Message----- >>> From: Eric Bridger [mailto:eric@gomoos.org] >>> Sent: March 15, 2004 11:04 AM >>> To: Darren.Cope@statcan.ca >>> Cc: chameleon@lists.maptools.org >>> Subject: Re: [Chameleon] Querying Layers >>> >>> >>> I'm new to this too, but I happen to have a guess. >>> You also need DUMP TRUE in your layer. >>> >>> On Mon, 2004-03-15 at 08:38, Darren.Cope@statcan.ca wrote: >>> >>>> Hi all, >>>> >>>> I am currently setting up the Chameleon "CWC2 Demo Template" to work >>>> with some of our own data. Using MapServer as a WMS, I am able to >>>> view the data. However, I am unable to get it to query any of the >>>> layers properly. I get the pop-up which says "no results for this >>>> layer." I do have a "template" line set in the .map file, but this >>>> does not seem to help (i.e. I get the same message without the line). >>>> I am sure I am missing something obvious, as I am new to this! >>>> >>>> Thanks for any suggestions, >>>> >>>> Darren Cope >>>> Statistics Canada/Statistique Canada >>>> Geography Division/Division de la géographie >>>> Jean Talon 3D5 >>>> Ottawa, Canada >>>> (613) 951-6461 >>>> >>> >>> >>> >>> _______________________________________________ >>> Chameleon mailing list >>> Chameleon@lists.maptools.org >>> http://lists.maptools.org/mailman/listinfo/chameleon >>> >>> >>> >>> _______________________________________________ >>> Chameleon mailing list >>> Chameleon@lists.maptools.org >>> http://lists.maptools.org/mailman/listinfo/chameleon >>> >>> _______________________________________________ >>> Chameleon mailing list >>> Chameleon@lists.maptools.org >>> http://lists.maptools.org/mailman/listinfo/chameleon >>> >> > > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From nicolas.fortin@ec.gc.ca Tue Mar 16 12:08:45 2004 Received: from ecstfexch00.quebec.int.ec.gc.ca (fwstl1-1.wul.qc.ec.gc.ca [205.211.132.24]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2GH8gR9009417 for ; Tue, 16 Mar 2004 12:08:44 -0500 Subject: RE : [Chameleon] EPPL7 support is not available Date: Tue, 16 Mar 2004 12:07:39 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-MS-Has-Attach: X-MS-TNEF-Correlator: content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Thread-Topic: [Chameleon] EPPL7 support is not available Thread-Index: AcQLdcazWCbcSUqfTNCIMN+0rTKVsgAAMu1A From: "Fortin,Nicolas [SteFoy]" To: Cc: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i2GH8gR9009417 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Thx Paul but I found why ... I only add explicit projection (PROJECTION element) for this layer in the mapfile and I can see it now. I thought it was optional with GeoTiff cause the projection is somewhat included in the .tfw file and the projection is the same as the main map. Nicolas Nevertheless if you want to see the WMS, here it is: http://mercator.qc.ec.gc.ca/Website/Hydro/ijc/map_tif64.asp -----Message d'origine----- De : Paul Spencer [mailto:pagameba@magma.ca] Envoyé : Tuesday, March 16, 2004 11:43 AM À : Fortin,Nicolas [SteFoy] Cc : chameleon@lists.maptools.org Objet : Re: [Chameleon] EPPL7 support is not available Nicolas, When mapserver tries to draw a layer, it will attempt to use all the drivers it knows about. The EPPL7 driver is the very last driver it will try. This means that if the layer fails to draw for any reason, you will see this error message. Unfortunately, this makes it difficult to diagnose the problem. The most common reason that I have seen for this is that the server is returning either a ServiceException (which mapserver does not yet detect and parse into a reasonable error message) or it is returning an image in an unrecognized format ... for instance it is returning a GIF image and mapserver is not built to support GIF images. The second happens suprisingly often as WMS servers often advertise multiple image formats but don't respect them in the getmap request. Perhaps if you post the URL to the WMS server, I could diagnose the problem more completely. Cheers, Paul Fortin,Nicolas [SteFoy] wrote: > Hi list, > > While I tried to draw a Geotiff layer, I got this message : EPPL7 > support is not available. Unrecognized or unsupported image format > Failed to draw layer named 'ORTHO97-1997LSP_1'. > > The WMS services is online and can be access by other WMS client and > mapserver. > > Why can I get the layer?? > > Nicolas Fortin > Mathématicien, Programmeur, Analyste de données > SMC-Québec Hydrologie, Environnement Canada > 1141, Rte de l'Église, Sainte-Foy(QC) G1V 4H5 > (418)648-2516 > nicolas.fortin@ec.gc.ca > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Stephanie.Choi@ec.gc.ca Tue Mar 16 16:10:09 2004 Received: from mgtserver3.ontario.int.ec.gc.ca (ecdow130.tor.ec.gc.ca [199.212.19.130]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2GLA9R9010523 for ; Tue, 16 Mar 2004 16:10:09 -0500 Received: by mgtserver3.ontario.int.ec.gc.ca with Internet Mail Service (5.5.2653.19) id ; Tue, 16 Mar 2004 16:10:05 -0500 Message-ID: <79D8CC9C0F21D611A0C900805FBBC3AC03D502E5@mgtserver3.ontario.int.ec.gc.ca> From: "Choi,Stephanie [Ontario]" To: chameleon@lists.maptools.org Date: Tue, 16 Mar 2004 16:10:04 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C40B9B.0D9C9AE0" Subject: [Chameleon] Only a subset of points showed up on a layer Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C40B9B.0D9C9AE0 Content-Type: text/plain Hi all, I am working on a mapserver demo using chameleon. I have tried the Oracle connection using virtual spatial data access method on each of the layers in my mapfile and they all work okay. Right now I am trying to add another layer using Connection Type as WFS and use its GML file as data source. I tested the mapfile using shp2image and it works correctly and it outputed a correct image, too. And then I tested it thru a browser running as WMS service. It works okay too. However, when I tried to add this layer to chameleon by modifying gmap_context.xml and then run CWC2 instance, the addition layer did show up; however, on this layer, only a subset of the points showed up. I just wonder where are those points go ? From my understanding, gmap_context.xml file is only a context file for chameleon that allow adding remote layers to the result images. So, the actual part to create layers is from the remote map servers. However, I have already test this new layer and it has been created correctly from my mapserver. So right now I really have no clue on this problem. I am a newbie on all this GIS stuffs. If I misunderstood anything, please point me out. Any help would be greatly apprieciated. Thanks, Stephanie ------_=_NextPart_001_01C40B9B.0D9C9AE0 Content-Type: text/html Content-Transfer-Encoding: quoted-printable Only a subset of points showed up on a layer

Hi all,

I am working on a mapserver demo using = chameleon.  I have tried the Oracle connection using virtual = spatial data access method on each of the layers in my mapfile and they = all work okay.  Right now I am trying to add another layer using = Connection Type as WFS and use its GML file as data source.  I = tested the mapfile using shp2image and it works correctly and it = outputed a correct image, too.  And then I tested it thru a = browser running as WMS service.  It works okay too.  However, = when I tried to add this layer to chameleon by modifying = gmap_context.xml and then run CWC2 instance, the addition layer did = show up; however, on this layer, only a subset of the points showed = up.  I just wonder where are those points go ?  From my = understanding, gmap_context.xml file is only a context file for = chameleon that allow adding remote layers to the result images.  = So, the actual part to create layers is from the remote map = servers.  However, I have already test this new layer and it has = been created correctly from my mapserver.  So right now I really = have no clue on this problem.  I am a newbie on all this GIS = stuffs.  If I misunderstood anything, please point me out.  = Any help would be greatly apprieciated.

Thanks,
Stephanie  

------_=_NextPart_001_01C40B9B.0D9C9AE0-- From Martin.Kiuru@Elion.ee Wed Mar 17 08:39:06 2004 Received: from mail.et.ee (mail.et.ee [195.250.183.228]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2HDd5R9014683 for ; Wed, 17 Mar 2004 08:39:06 -0500 Received: from kirjatuvi.cc.et.ee ([192.168.90.31]) by mail.et.ee with Microsoft SMTPSVC(5.0.2195.6713); Wed, 17 Mar 2004 15:39:04 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C40C25.36C90003" Date: Wed, 17 Mar 2004 15:39:04 +0200 Message-ID: <1D6EE6E7F017B2479C94CAC3903E5DE1CE6F61@KIRJATUVI.cc.et.ee> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: context file (newbie) Thread-Index: AcQMJTZnCEvy1XZyTMOSW9hljkae6A== From: "Martin Kiuru" To: X-OriginalArrivalTime: 17 Mar 2004 13:39:04.0703 (UTC) FILETIME=[36DD90F0:01C40C25] Subject: [Chameleon] context file (newbie) Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------_=_NextPart_001_01C40C25.36C90003 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, =20 I am new to chameleon. I have a simple mapserver-based web-application and want to re-make it using chameleon to get more functionality. So, I wish to build chameleon application based on existing map-file and data. Now I am trying to modify existing demo.html to work with my data, but I have a problem wit it. =20 As I understood, chameleon application uses context xml file to display layers. I have no context file with my application and can't find any information about how to make context files, if all layer information is stored locally. Maybe there is no need to use it at all in this case ? Now chameleon can display my data, all navigation except query works, but I have error messages about context() after each redraw. So, can you help me with context file writing ? Maybe you have an example of stand-alone configuration, or at least some manuals ? =20 Thanks in advice, Martin Kiuru ------_=_NextPart_001_01C40C25.36C90003 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Sõnum
Hi,
 
I am = new to=20 chameleon. I have a simple mapserver-based web-application and want to = re-make=20 it using chameleon to get more functionality. So, I wish to build = chameleon=20 application based on existing map-file and data. Now I am = trying to=20 modify existing demo.html to work with my data, but I have a = problem wit=20 it.
 
As I = understood,=20 chameleon application uses context xml file to display layers. I have no = context=20 file with my application and can't find any information about how=20 to make context files, if all layer information is stored=20 locally. Maybe there is no need to use it at all in this case=20 ? Now chameleon can display my data, all navigation except = query=20 works, but I have error messages about context() after each=20 redraw. So, can you help me with context file writing ? Maybe you = have an=20 example of stand-alone configuration, or at least some manuals=20 ?
 
Thanks = in=20 advice,
Martin = Kiuru
------_=_NextPart_001_01C40C25.36C90003-- From nicolas.fortin@ec.gc.ca Wed Mar 17 08:48:37 2004 Received: from ecstfexch00.quebec.int.ec.gc.ca (fwstl1-1.wul.qc.ec.gc.ca [205.211.132.24]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2HDmbR9014724 for ; Wed, 17 Mar 2004 08:48:37 -0500 Subject: RE : [Chameleon] context file (newbie) Date: Wed, 17 Mar 2004 08:47:34 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C40C26.6698FF90" Message-ID: X-MS-Has-Attach: content-class: urn:content-classes:message X-MS-TNEF-Correlator: X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Thread-Topic: [Chameleon] context file (newbie) Thread-Index: AcQMJX0mlzslXWE1Sial6xDPlrerHAAAEIKA From: "Fortin,Nicolas [SteFoy]" To: "Martin Kiuru" , Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------_=_NextPart_001_01C40C26.6698FF90 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Martin, =20 First, If you have Chameleon 1.1, it is now possible to use mapserver = mapfile instead of context file. =20 For previous version : How I make my context file ? I begin with a empty = context by taking gmap_context.xml, removing all layers and rename it = empty_context.xml. I then load the demo with this empty context ( = TEMPLATE=3Ddemo.html&CONTEXT=3Dempty_context.xml ) and using the layer = manager, I add all layer from my mapserver WMS. Last, I download the = resulting context so I can use it. =20 Hope this help, Nicolas -----Message d'origine----- De : Martin Kiuru [mailto:Martin.Kiuru@Elion.ee]=20 Envoy=E9 : Wednesday, March 17, 2004 8:39 AM =C0 : chameleon@lists.maptools.org Objet : [Chameleon] context file (newbie) Hi, =20 I am new to chameleon. I have a simple mapserver-based web-application = and want to re-make it using chameleon to get more functionality. So, I = wish to build chameleon application based on existing map-file and data. = Now I am trying to modify existing demo.html to work with my data, but I = have a problem wit it. =20 As I understood, chameleon application uses context xml file to display = layers. I have no context file with my application and can't find any = information about how to make context files, if all layer information is = stored locally. Maybe there is no need to use it at all in this case ? = Now chameleon can display my data, all navigation except query works, = but I have error messages about context() after each redraw. So, can you = help me with context file writing ? Maybe you have an example of = stand-alone configuration, or at least some manuals ? =20 Thanks in advice, Martin Kiuru ------_=_NextPart_001_01C40C26.6698FF90 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message
Hi=20 Martin,
 
First,=20 If you have Chameleon 1.1, it is now possible to use mapserver mapfile = instead=20 of context file.
 
For=20 previous version : How I make my context file ? I begin with a empty = context by=20 taking gmap_context.xml, removing all layers and rename it=20 empty_context.xml.  I then load the demo with this empty context (=20 TEMPLATE=3Ddemo.html&CONTEXT=3Dempty_context.xml ) and using the = layer manager,=20 I add all layer from my mapserver WMS.  Last, I download the = resulting=20 context so I can use it.
 
Hope=20 this help,
Nicolas
-----Message d'origine-----
De : Martin Kiuru=20 [mailto:Martin.Kiuru@Elion.ee]
Envoy=E9 : Wednesday, = March 17,=20 2004 8:39 AM
=C0 :=20 chameleon@lists.maptools.org
Objet : [Chameleon] = context file=20 (newbie)

Hi,
 
I am = new to=20 chameleon. I have a simple mapserver-based web-application and want to = re-make=20 it using chameleon to get more functionality. So, I wish to build = chameleon=20 application based on existing map-file and data. Now I am = trying to=20 modify existing demo.html to work with my data, but I have a = problem wit=20 it.
 
As I = understood,=20 chameleon application uses context xml file to display layers. I have = no=20 context file with my application and can't find any information = about how=20 to make context files, if all layer information is stored=20 locally. Maybe there is no need to use it at all in this case=20 ? Now chameleon can display my data, all navigation except = query=20 works, but I have error messages about context() after each=20 redraw. So, can you help me with context file writing ? Maybe you = have an=20 example of stand-alone configuration, or at least some manuals=20 ?
 
Thanks in=20 advice,
Martin=20 Kiuru
------_=_NextPart_001_01C40C26.6698FF90-- From Darren.Cope@statcan.ca Wed Mar 17 11:45:12 2004 Received: from stcshb2.statcan.ca (stcshb2.statcan.ca [142.206.3.27]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2HGjCR9015462 for ; Wed, 17 Mar 2004 11:45:12 -0500 Received: from egapb ([142.206.214.207]) by stcshb2.statcan.ca (8.12.10+Sun/8.11.1) with SMTP id i2HGhweN020259 for ; Wed, 17 Mar 2004 11:43:58 -0500 (EST) Received: from smtpsha.iusd.statcan.ca (IDENT:root@localhost [127.0.0.1]) by smtpsha.iusd.statcan.ca (8.11.1/8.11.1) with ESMTP id i2HGXKg12164 for ; Wed, 17 Mar 2004 11:33:20 -0500 Received: from msxa1.statcan.ca (msxa1.statcan.ca [142.205.234.72]) by smtpsha.iusd.statcan.ca (8.11.1/8.11.1) with ESMTP id i2HGUFG20291 for ; Wed, 17 Mar 2004 11:30:15 -0500 Received: by msxa1.statcan.ca with Internet Mail Service (5.5.2653.19) id <1PMA61L7>; Wed, 17 Mar 2004 11:39:48 -0500 Message-ID: From: Darren.Cope@statcan.ca To: chameleon@lists.maptools.org Date: Wed, 17 Mar 2004 11:39:44 -0500 X-Message-Flag: MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C40C3E.73F08C38" Subject: [Chameleon] Access Issues Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C40C3E.73F08C38 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello list, I have set up a Chameleon demo using the MS4W package. I am able to = run everything perfectly on my machine, through the webserver. However, = when trying to access the application on another computer, the map image and = the key map do not work (the famous red x shows up). The rest of the = template loads fine (including buttons and scalebar). Where are the map and key = map images stored? All I can find are *.img.tmp files in the tmp = directory, which, when opened with an image viewer, show up as the main map image, = but are not .png files. How does this work? I cannot find the key map at = all, in any form. The .img.tmp files are in the same folder as the scalebar image, which is obviously accessible, since it works fine. I am at a loss as to why the images are not accessible. Any ideas? Darren Cope Statistics Canada/Statistique Canada Geography Division/Division de la g=E9ographie Jean Talon 3D5 Ottawa, Canada (613) 951-6461 ------_=_NextPart_001_01C40C3E.73F08C38 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Access Issues

Hello list,

I have set up a Chameleon demo using = the MS4W package.  I am able to run everything perfectly on my = machine, through the webserver.  However, when trying to access = the application on another computer, the map image and the key map do = not work (the famous red x shows up).  The rest of the template = loads fine (including buttons and scalebar).  Where are the map = and key map images stored?  All I can find are  *.img.tmp = files in the tmp directory, which, when opened with an image viewer, = show up as the main map image, but are not .png files.  How does = this work?  I cannot find the key map at all, in any form.  = The .img.tmp files are in the same folder as the scalebar image, which = is obviously accessible, since it works fine.

I am at a loss as to why the images = are not accessible.  Any ideas?

Darren Cope
Statistics Canada/Statistique = Canada
Geography Division/Division de = la g=E9ographie
Jean Talon 3D5
Ottawa, Canada
(613) 951-6461

------_=_NextPart_001_01C40C3E.73F08C38-- From pagameba@magma.ca Wed Mar 17 12:19:53 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2HHJrR9015694 for ; Wed, 17 Mar 2004 12:19:53 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i2HHJrJQ029429; Wed, 17 Mar 2004 12:19:53 -0500 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i2HHIiCI011388; Wed, 17 Mar 2004 12:19:53 -0500 Message-ID: <40588864.6040104@magma.ca> Date: Wed, 17 Mar 2004 12:18:28 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Darren.Cope@statcan.ca CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Access Issues References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Darren, Darren.Cope@statcan.ca wrote: > Hello list, > > I have set up a Chameleon demo using the MS4W package. I am able to run > everything perfectly on my machine, through the webserver. However, > when trying to access the application on another computer, the map image > and the key map do not work (the famous red x shows up). I would expect that the problem is related to your cwc2.xml file in chameleon/config ... you need to change the web path for your installation from http://localhost/ to your real server name/ip > The rest of > the template loads fine (including buttons and scalebar). Where are the > map and key map images stored? All I can find are *.img.tmp files in > the tmp directory, which, when opened with an image viewer, show up as > the main map image, but are not .png files. How does this work? I > cannot find the key map at all, in any form. The .img.tmp files are in > the same folder as the scalebar image, which is obviously accessible, > since it works fine. The map and keymap images are generated by a php script on the fly, they are never written to the harddrive. The Scalebar and other images are written to the hard drive > > I am at a loss as to why the images are not accessible. Any ideas? > > *Darren Cope* > Statistics Canada/Statistique Canada > Geography Division/Division de la géographie > Jean Talon 3D5 > Ottawa, Canada > (613) 951-6461 > Cheers, Paul -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Darren.Cope@statcan.ca Wed Mar 17 14:06:04 2004 Received: from stcshb2.statcan.ca (stcshb2.statcan.ca [142.206.3.27]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2HJ64R9016223 for ; Wed, 17 Mar 2004 14:06:04 -0500 Received: from egapb ([142.206.214.207]) by stcshb2.statcan.ca (8.12.10+Sun/8.11.1) with SMTP id i2HJ4neN001237 for ; Wed, 17 Mar 2004 14:04:49 -0500 (EST) Received: from smtpsha.iusd.statcan.ca (IDENT:root@localhost [127.0.0.1]) by smtpsha.iusd.statcan.ca (8.11.1/8.11.1) with ESMTP id i2HIsXg00519 for ; Wed, 17 Mar 2004 13:54:33 -0500 Received: from msxa1.statcan.ca (msxa1.statcan.ca [142.205.234.72]) by smtpsha.iusd.statcan.ca (8.11.1/8.11.1) with ESMTP id i2HIrSG14633; Wed, 17 Mar 2004 13:53:28 -0500 Received: by msxa1.statcan.ca with Internet Mail Service (5.5.2653.19) id <1PMA6MNK>; Wed, 17 Mar 2004 14:03:02 -0500 Message-ID: From: Darren.Cope@statcan.ca To: spencer@dmsolutions.ca, Darren.Cope@statcan.ca Cc: chameleon@lists.maptools.org Subject: RE: [Chameleon] Access Issues Date: Wed, 17 Mar 2004 14:02:52 -0500 X-Message-Flag: MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i2HJ64R9016223 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Paul, Thanks! It turns out I was missing one single "/" in the cwc2.xml config file. After messing around with it for half a day, I finally figured that out ;) Cheers, Darren -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: March 17, 2004 12:18 PM To: Darren.Cope@statcan.ca Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Access Issues Darren, Darren.Cope@statcan.ca wrote: > Hello list, > > I have set up a Chameleon demo using the MS4W package. I am able to > run > everything perfectly on my machine, through the webserver. However, > when trying to access the application on another computer, the map image > and the key map do not work (the famous red x shows up). I would expect that the problem is related to your cwc2.xml file in chameleon/config ... you need to change the web path for your installation from http://localhost/ to your real server name/ip > The rest of > the template loads fine (including buttons and scalebar). Where are the > map and key map images stored? All I can find are *.img.tmp files in > the tmp directory, which, when opened with an image viewer, show up as > the main map image, but are not .png files. How does this work? I > cannot find the key map at all, in any form. The .img.tmp files are in > the same folder as the scalebar image, which is obviously accessible, > since it works fine. The map and keymap images are generated by a php script on the fly, they are never written to the harddrive. The Scalebar and other images are written to the hard drive > > I am at a loss as to why the images are not accessible. Any ideas? > > *Darren Cope* > Statistics Canada/Statistique Canada > Geography Division/Division de la géographie > Jean Talon 3D5 > Ottawa, Canada > (613) 951-6461 > Cheers, Paul -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From mapgisnewbies@yahoo.com Wed Mar 17 21:53:33 2004 Received: from web60004.mail.yahoo.com (web60004.mail.yahoo.com [216.109.116.227]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i2I2rWR9017939 for ; Wed, 17 Mar 2004 21:53:33 -0500 Message-ID: <20040318025332.36056.qmail@web60004.mail.yahoo.com> Received: from [69.158.28.10] by web60004.mail.yahoo.com via HTTP; Wed, 17 Mar 2004 18:53:32 PST Date: Wed, 17 Mar 2004 18:53:32 -0800 (PST) From: we wei To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1451084504-1079578412=:35384" Subject: [Chameleon] queryable problem Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: --0-1451084504-1079578412=:35384 Content-Type: text/plain; charset=us-ascii Hello all, I got a question about queryable layer. I noticed that there are some discuession about not getting query layer working. I am running into this problem too. I tried all the suggestion from the previous suggestion; however, I still couldn't make it work. What I tried is to get the demo working with the cities layer queryable. I modified gmap_context.xml to make cities layer point to my mapfile and enable queryable as following: Then I modified the cities layer in my mapfile as followed: LAYER NAME "popplace" METADATA "wms_title" "Cities" "RESULT_FIELDS" "NAME" END TYPE POINT STATUS ON DATA popplace PROJECTION "init=epsg:42304" END LabelItem "Name" DUMP true TOLERANCE 10 TOLERANCEUNITS PIXELS TEMPLATE "blank.html" CLASSITEM "Capital" CLASS EXPRESSION "1" TEMPLATE "ttt_query.html" SYMBOL 2 SIZE 8 NAME "Cities" LABEL COLOR 255 0 0 FONT fritqat-italic TYPE truetype SIZE 8 POSITION AUTO PARTIALS FALSE OUTLINECOLOR 255 255 255 END COLOR 0 0 0 END CLASS EXPRESSION /2|3/ TEMPLATE "ttt_query.html" SYMBOL 7 SIZE 6 NAME "Cities" LABEL COLOR 0 0 0 FONT fritqat TYPE truetype SIZE 8 POSITION AUTO PARTIALS FALSE OUTLINECOLOR 255 255 255 END COLOR 0 0 0 END Transparency 0 END # Layer However, I still couldn't make it working. It pop-up a window and said "no queryable layer found", but i did specific cities layer as queryable. I am a newbie to chameleon. Could anyone give me some hint on this problem? Any help would be greatly appreciated. Thanks in advance. Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam --0-1451084504-1079578412=:35384 Content-Type: text/html; charset=us-ascii
Hello all,
 
I got a question about queryable layer.  I noticed that there are some discuession  about not getting query layer working.  I am running into this problem too.  I tried all the suggestion from the previous suggestion; however, I still couldn't make it work.  What I tried is to get the demo working with the cities layer queryable.  I modified gmap_context.xml to make cities layer point to my mapfile and enable queryable as following:
 
<Layer queryable="1" hidden="0">
      <Server service="WMS" version="1.1.0" title="Cities">
      <OnlineResource xlink:type="simple" xlink:href="http://localhost/cgi-bin/mapserv_40.exe?map=C:/ms4w/apps/gmap/htdocs/gmap75_wms.map&"/>   
   </Server>
      <Name>popplace</Name>
      <Title>Cities</Title>
      <SRS>EPSG:42304 EPSG:42101 EPSG:4269 EPSG:4326 EPSG:42304</SRS>
      <FormatList>
        <Format current="1">image/png</Format>
        <Format>image/gif</Format>
        <Format>image/jpeg</Format>
        <Format>image/wbmp</Format>
      </FormatList>
      <StyleList>
      </StyleList>
    </Layer>
 
Then I modified the cities layer in my mapfile as followed:
 
LAYER
  NAME "popplace"
  METADATA
    "wms_title"    "Cities"
    "RESULT_FIELDS" "NAME"
  END
  TYPE POINT
  STATUS ON
  DATA popplace
  PROJECTION
    "init=epsg:42304"
  END
  LabelItem "Name"
  DUMP true
  TOLERANCE 10
  TOLERANCEUNITS PIXELS
  TEMPLATE "blank.html"
  CLASSITEM "Capital"
  CLASS
    EXPRESSION "1"
    TEMPLATE "ttt_query.html"
    SYMBOL 2
    SIZE 8
    NAME "Cities"
    LABEL
      COLOR  255 0 0
      FONT fritqat-italic
      TYPE truetype
      SIZE 8
      POSITION AUTO
      PARTIALS FALSE
      OUTLINECOLOR 255 255 255
    END
    COLOR 0 0 0
  END
  CLASS
    EXPRESSION /2|3/
    TEMPLATE "ttt_query.html"
    SYMBOL 7
    SIZE 6
    NAME "Cities"
    LABEL
     COLOR  0 0 0
     FONT fritqat
     TYPE truetype
     SIZE 8
     POSITION AUTO
     PARTIALS FALSE
     OUTLINECOLOR 255 255 255
    END
    COLOR 0 0 0
  END
  Transparency 0
END # Layer
 
However, I still couldn't make it working.  It pop-up a window and said "no queryable layer found", but i did specific cities layer as queryable.  I am a newbie to chameleon.  Could anyone give me some hint on this problem?  Any help would be greatly appreciated.
 
Thanks in advance. 
 

Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam --0-1451084504-1079578412=:35384-- From jacob.delfos@maunsell.com Wed Mar 17 22:01:23 2004 Received: from aumel1gw002.maunsell.com (210-193-148-152.macquarie.net.au [210.193.148.152] (may be forged)) by www.maptools.org (8.12.5/8.12.5) with SMTP id i2I31KRA017987 for ; Wed, 17 Mar 2004 22:01:22 -0500 Received: from aumel1ex001.mel.maunsell.com.au ([172.21.0.15]) by aumel1gw002.maunsell.com (SAVSMTP 3.1.0.29) with SMTP id M2004031814033112913 for ; Thu, 18 Mar 2004 14:03:31 +1100 Received: by aumel1ex001.mel.maunsell.com.au with Internet Mail Service (5.5.2653.19) id ; Thu, 18 Mar 2004 14:02:46 +1100 Message-ID: From: "Delfos, Jacob" To: chameleon@lists.maptools.org Date: Thu, 18 Mar 2004 14:06:31 +1100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C40C96.0333A340" Subject: [Chameleon] DHTML image gets shifted Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C40C96.0333A340 Content-Type: text/plain; charset="iso-8859-1" Hi List, I got a little bug in the chameleon site I built (version 1.0.4). It's something that happens only sometimes (most enjoyable kind of bug to fix). When the page loads for the first time, the DHTML image tends to show up shifted roughly 250 pixels to the right. After I either refresh or re-submit, it's mostly okay again. It happens more frequently if the connection is slower. I was wondering if this is a known issue, and if there is a quick fix. I suspect that it's a problem with the order in which things get initialised. I was thinking of running a function on the 'onload' event which forces the image in the right spot. But I'm not too clear about how I'd actually move the DHTML image (or the DIV it sits in) without messing up other things. Any ideas? The site runs at http://spatial.hgm.com.au/cwcroe7/cwc2.php (internet explorer oriented... sorry) Regards, Jacob JACOB DELFOS SPATIAL INFORMATION ANALYST Maunsell Australia Pty Ltd 629 Newcastle Street PO Box 81 Leederville 6902 Western Australia ABN 20 093 846 925 Tel + 61 8 9281 6185 Fax + 61 8 9281 6297 jacob.delfos@maunsell.com ------_=_NextPart_001_01C40C96.0333A340 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable DHTML image gets shifted

Hi List,

I got a little bug in the chameleon = site I built (version 1.0.4). It's something that happens only = sometimes (most enjoyable kind of bug to fix). When the page loads for = the first time, the DHTML image tends to show up shifted roughly 250 = pixels to the right. After I either refresh or re-submit, it's mostly = okay again. It happens more frequently if the connection is slower. I = was wondering if this is a known issue, and if there is a quick fix. I = suspect that it's a problem with the order in which things get = initialised. I was thinking of running a function on the 'onload' event = which forces the image in the right spot. But I'm not too clear about = how I'd actually move the DHTML image (or the DIV it sits in) without = messing up other things. Any ideas?

The site runs at http://spatial.hgm.com.au/cwcroe7/cwc2.php= (internet explorer oriented... = sorry)

Regards,

Jacob



JACOB DELFOS
SPATIAL INFORMATION ANALYST
Maunsell Australia = Pty Ltd
629 Newcastle Street
PO Box 81
Leederville 6902
Western Australia
ABN 20 093 846 925

Tel =A0=A0=A0=A0+ 61 8 9281 6185
Fax=A0=A0=A0=A0=A0+ 61 8 9281 6297
jacob.delfos@maunsell.com

------_=_NextPart_001_01C40C96.0333A340-- From bartvde@xs4all.nl Thu Mar 18 03:17:24 2004 Received: from smtp-out3.xs4all.nl (smtp-out3.xs4all.nl [194.109.24.13]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2I8HKR9019065 for ; Thu, 18 Mar 2004 03:17:23 -0500 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out3.xs4all.nl (8.12.10/8.12.10) with SMTP id i2I8H3Kl018527; Thu, 18 Mar 2004 09:17:11 +0100 (CET) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Thu, 18 Mar 2004 09:17:19 +0100 (CET) Message-ID: <21578.212.238.227.182.1079597839.squirrel@webmail.xs4all.nl> In-Reply-To: References: Date: Thu, 18 Mar 2004 09:17:19 +0100 (CET) Subject: Re: [Chameleon] DHTML image gets shifted From: bartvde@xs4all.nl To: "Delfos, Jacob" Cc: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Jacob, there was a pretty extended discussion about this in January, see this thread: http://lists.maptools.org/pipermail/chameleon/2004-January/000299.html Best regards, Bart > Hi List, > > I got a little bug in the chameleon site I built (version 1.0.4). It's > something that happens only sometimes (most enjoyable kind of bug to fix). > When the page loads for the first time, the DHTML image tends to show up > shifted roughly 250 pixels to the right. After I either refresh or > re-submit, it's mostly okay again. It happens more frequently if the > connection is slower. I was wondering if this is a known issue, and if > there > is a quick fix. I suspect that it's a problem with the order in which > things > get initialised. I was thinking of running a function on the 'onload' > event > which forces the image in the right spot. But I'm not too clear about how > I'd actually move the DHTML image (or the DIV it sits in) without messing > up > other things. Any ideas? > > The site runs at http://spatial.hgm.com.au/cwcroe7/cwc2.php > (internet explorer > oriented... > sorry) > > Regards, > > Jacob > > > > JACOB DELFOS > SPATIAL INFORMATION ANALYST > Maunsell Australia Pty Ltd > 629 Newcastle Street > PO Box 81 > Leederville 6902 > Western Australia > ABN 20 093 846 925 > > Tel + 61 8 9281 6185 > Fax + 61 8 9281 6297 > jacob.delfos@maunsell.com > > From mapgisnewbies@yahoo.com Thu Mar 18 13:02:13 2004 Received: from web60003.mail.yahoo.com (web60003.mail.yahoo.com [216.109.116.226]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i2II2CR9022587 for ; Thu, 18 Mar 2004 13:02:13 -0500 Message-ID: <20040318174813.9671.qmail@web60003.mail.yahoo.com> Received: from [199.212.19.130] by web60003.mail.yahoo.com via HTTP; Thu, 18 Mar 2004 09:48:13 PST Date: Thu, 18 Mar 2004 09:48:13 -0800 (PST) From: we wei To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Chameleon] setup problem Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi all, I have just set up the demo of CWC2 on Linux and everything works pretty well. However, I got a problem when I used projection widget. After I picked a projection and then click OK, it pop-up a window and said "Downloading UpdateMap.php ... You have chosen to download a file of type: application/x-httpd-php-cgi" I just wonder if it is the php installation issue. I followed http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?RedHat9AndMapserver40 to setup Mapserver and PHP and I didn't use the PHP that come with RedHat 9.0. And then in httpd.conf, I add in the following two lines for PHP: AddType application/x-httpd-php-cgi .php .php4 .phtml Action application/x-httpd-php-cgi /cgi-bin/php433 But I don't have LoadModule php4_module modules/libphp4.so since this PHP is the version that comes with RedHat. I suspect that it maybe the PHP installation/setup problem or it maybe something else causes this problem. I am new to the Mapserver/CWC2 installtion; could anyone give me some idea on this problem ? Any help would be greatly appreciated. Thanks in advance. __________________________________ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com From mapgisnewbies@yahoo.com Thu Mar 18 13:13:05 2004 Received: from web60002.mail.yahoo.com (web60002.mail.yahoo.com [216.109.116.225]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i2IID5R9022679 for ; Thu, 18 Mar 2004 13:13:05 -0500 Message-ID: <20040318174614.21673.qmail@web60002.mail.yahoo.com> Received: from [199.212.19.130] by web60002.mail.yahoo.com via HTTP; Thu, 18 Mar 2004 09:46:14 PST Date: Thu, 18 Mar 2004 09:46:14 -0800 (PST) From: we wei To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Chameleon] setup problem Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi all, I have just set up the demo of CWC2 on Linux and everything works pretty well. However, I got a problem when I used projection widget. After I picked a projection and then click OK, it pop-up a window and said "Downloading UpdateMap.php ... You have chosen to download a file of type: application/x-httpd-php-cgi" I just wonder if it is the php installation issue. I followed http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?RedHat9AndMapserver40 to setup Mapserver and PHP and I didn't use the PHP that come with RedHat 9.0. And then in httpd.conf, I add in the following two lines for PHP: AddType application/x-httpd-php-cgi .php .php4 .phtml Action application/x-httpd-php-cgi /cgi-bin/php433 But I don't have LoadModule php4_module modules/libphp4.so since this PHP is the version that comes with RedHat. I suspect that it maybe the PHP installation/setup problem or it maybe something else causes this problem. I am new to the Mapserver/CWC2 installtion; could anyone give me some idea on this problem ? Any help would be greatly appreciated. Thanks in advance. __________________________________ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com From Stephanie.Choi@ec.gc.ca Thu Mar 18 14:22:55 2004 Received: from mgtserver3.ontario.int.ec.gc.ca (ecdow130.tor.ec.gc.ca [199.212.19.130]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2IJMrR9023009 for ; Thu, 18 Mar 2004 14:22:55 -0500 Received: by mgtserver3.ontario.int.ec.gc.ca with Internet Mail Service (5.5.2653.19) id ; Thu, 18 Mar 2004 14:22:52 -0500 Message-ID: <79D8CC9C0F21D611A0C900805FBBC3AC03D502E6@mgtserver3.ontario.int.ec.gc.ca> From: "Choi,Stephanie [Ontario]" To: chameleon@lists.maptools.org Date: Thu, 18 Mar 2004 14:22:44 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C40D1E.639BA060" Subject: [Chameleon] Problem when trying ROIRectangleTool Widget Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C40D1E.639BA060 Content-Type: text/plain Hi all, From the previous discussion about querying by rectangle, it mentioned that there are a few new widgets available from CVS. And I updated my widgets folder from CVS. However, after updated it, I can no longer load the CWC2 application. It seems to me that the reason for this problem is most of those new php files I updated do not have the following code in it : If ( function_exists ( "RegisterWidget" ) ) RegisterWidget ( "WidgetName", "WidgetNameWIdget" ); Therefore, no widgets are added into the register widgets array. I tried to add the above lines back. However, it doesn't work. Maybe I shouldn't update it in this way. Could anyone give me some ideas on this problem or a proper way to do this? I hope to give these new widgets a try. Any help would be greatly appreciated. Thanks, Stephanie ------_=_NextPart_001_01C40D1E.639BA060 Content-Type: text/html Content-Transfer-Encoding: quoted-printable Problem when trying ROIRectangleTool Widget

Hi all,

From the previous discussion about = querying by rectangle, it mentioned that there are a few new widgets = available from CVS.  And I updated my widgets folder from = CVS.  However, after updated it, I can no longer load the CWC2 = application.  It seems to me that the reason for this problem is = most of those new php files I updated do not have the following code in = it :

If (  function_exists ( = "RegisterWidget" ) )
        RegisterWidget ( "WidgetName", = "WidgetNameWIdget" );

Therefore, no widgets are added into = the register widgets array.  I tried to add the above lines = back.  However, it doesn't work.  Maybe I shouldn't update it = in this way.  Could anyone give me some ideas on this problem or a = proper way to do this?  I hope to give these new widgets a = try.  Any help would be greatly appreciated.

Thanks,

Stephanie   

------_=_NextPart_001_01C40D1E.639BA060-- From nicolas.fortin@ec.gc.ca Fri Mar 19 08:59:06 2004 Received: from ecstfexch00.quebec.int.ec.gc.ca (fwstl1-1.wul.qc.ec.gc.ca [205.211.132.24]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2JDx3R9027759 for ; Fri, 19 Mar 2004 08:59:05 -0500 content-class: urn:content-classes:message Date: Fri, 19 Mar 2004 08:57:49 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Thread-Topic: 2 Questions... Thread-Index: AcQNulAUsUAv+ZduSbaRJSRoyQCsQg== From: "Fortin,Nicolas [SteFoy]" To: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i2JDx3R9027759 Subject: [Chameleon] 2 Questions... Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, I had 2 issues with Chameleon yesterday and I wonder if it's normal, bugs or another problem of mine. 1- Using Chameleon Layer manager, I added a GROUP layer from a Mapserver WMS successfully. When I turned it on, it doesn't appear on the map. From a simple mapserver app, the group works well. If I added all the layers ot the GROUP separately, they all show up. Why? 2- Using Lager manager, I added a layer from a Mapguide Liteview WMS that had a %5c ( a url backslash...) and I can't make it appear at all on the map. If I turn it on then refresh, it doesn't turn on at all. If I click on the layer the get info from it, I have an error. In the error message, the name of the layer is incorrect ... without %5c neither \. Why? Instead of turning only a layer on, if I choose the "mapguide service" on instead (kinda of group), all the layers appear normally. The problem is that I only need one of these layers and not all of them. Thx, Nicolas Fortin Mathématicien, Programmeur, Analyste de données SMC-Québec Hydrologie, Environnement Canada 1141, Rte de l'Église, Sainte-Foy(QC) G1V 4H5 (418)648-2516 nicolas.fortin@ec.gc.ca From mapgisnewbies@yahoo.com Mon Mar 22 12:34:04 2004 Received: from web60004.mail.yahoo.com (web60004.mail.yahoo.com [216.109.116.227]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i2MHY3uf017412 for ; Mon, 22 Mar 2004 12:34:04 -0500 Message-ID: <20040322173342.58055.qmail@web60004.mail.yahoo.com> Received: from [199.212.19.130] by web60004.mail.yahoo.com via HTTP; Mon, 22 Mar 2004 09:33:42 PST Date: Mon, 22 Mar 2004 09:33:42 -0800 (PST) From: we wei To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Chameleon] Extract WFS Data Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi all, I have a question about using Extract WFS Data in Chameleon 1.1 alpha 6 sample application. I tried to see the actiion of this widget. But when I click extract button on the pop-up window of Extract WFS Data, I got the following error: "Invalid layer or none selected. Please ensure that the selected layer is WMS or WFS layer" Then I look in sample.map file and it doesn't not seem to have any WFS layer. So, I changed to use sample_wms_wfs_server.map and sample_wms_wfs_client.map; however, I still got the above error. I guess I may setup something wrongly. Could anyone give some hints to me so that I could make this functionality work ? Any help would be greatly appreciated. Thanks in advance. __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html From bartvde@xs4all.nl Mon Mar 22 13:28:07 2004 Received: from smtp-out2.xs4all.nl (smtp-out2.xs4all.nl [194.109.24.12]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2MIS5uf017673 for ; Mon, 22 Mar 2004 13:28:07 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out2.xs4all.nl (8.12.10/8.12.10) with ESMTP id i2MIRxan000937; Mon, 22 Mar 2004 19:27:59 +0100 (CET) Date: Mon, 22 Mar 2004 19:27:17 +0100 To: we wei , chameleon@lists.maptools.org Subject: Re: [Chameleon] Extract WFS Data Reply-To: bartvde@xs4all.nl References: <20040322173342.58055.qmail@web60004.mail.yahoo.com> From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <20040322173342.58055.qmail@web60004.mail.yahoo.com> User-Agent: Opera7.23/Win32 M2 build 3227 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, it should work if you use a properly configured sample_wms_wfs_client.map in your Chameleon application. Try the following (for WMS layers): 1) perform a DescribeLayer request on the road layer, i.e. http://localhost/cgi-bin/mapserv_41.exe?map=/ms4w/apps/geodan_sample/map/sample_wms_wfs_server.map&request=DescribeLayer&layers=road&version=1.1.1 does this work? if 1) works try (as the OnlineResource part you should normally take the response from request 1, but as Mapserver is WMS and WFS in one, the OnlineResource is normally the same): 2) http://localhost/cgi-bin/mapserv_41.exe?map=/ms4w/apps/geodan_sample/map/sample_wms_wfs_server.map&request=GetFeature&typename=road&service=WFS&version=1.0.0 Do you get GML? This is the exact same way the ExtractWFSData would try to get its GML from a WMS Layer. So I suspect 1) and 2) won't both work. Best regards, Bart On Mon, 22 Mar 2004 09:33:42 -0800 (PST), we wei wrote: > Hi all, > > I have a question about using Extract WFS Data in > Chameleon 1.1 alpha 6 sample application. I tried to > see the actiion of this widget. But when I click > extract button on the pop-up window of Extract WFS > Data, I got the following error: > > "Invalid layer or none selected. Please ensure that > the selected layer is WMS or WFS layer" > > Then I look in sample.map file and it doesn't not seem > to have any WFS layer. So, I changed to use > sample_wms_wfs_server.map and > sample_wms_wfs_client.map; however, I still got the > above error. > > I guess I may setup something wrongly. > > Could anyone give some hints to me so that I could > make this functionality work ? > > Any help would be greatly appreciated. > > Thanks in advance. > > > __________________________________ > Do you Yahoo!? > Yahoo! Finance Tax Center - File online. File on time. > http://taxes.yahoo.com/filing.html > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- From bartvde@xs4all.nl Mon Mar 22 14:05:30 2004 Received: from smtp-out6.xs4all.nl (smtp-out6.xs4all.nl [194.109.24.7]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2MJ5Tuf017852 for ; Mon, 22 Mar 2004 14:05:30 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out6.xs4all.nl (8.12.10/8.12.10) with ESMTP id i2MJ5Jrb002076; Mon, 22 Mar 2004 20:05:19 +0100 (CET) Date: Mon, 22 Mar 2004 20:04:37 +0100 To: we wei Subject: Re: [Chameleon] Extract WFS Data Cc: "chameleon@lists.maptools.org" Reply-To: bartvde@xs4all.nl References: <20040322190116.24786.qmail@web60006.mail.yahoo.com> From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <20040322190116.24786.qmail@web60006.mail.yahoo.com> User-Agent: Opera7.23/Win32 M2 build 3227 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, good to hear it is working now. I only have a Windows binary of php_ogr, and I don't know if the source code is (already) available through the Maptools CVS. Hopefully DM Solutions can comment on this one. Best regards, Bart On Mon, 22 Mar 2004 11:01:16 -0800 (PST), we wei wrote: > Hi Bart, > > The second one work for me. And i guess I accidently > use mapserver-4.0 in the connection string of the map > file. That's why I couldn't make it get GML because > the executewfsgetfeature method is missing in > php_mapscript.c of version 4.0 of mapserver. So, > right now, it is working. Thanks a lot for you help > :) > > And I got another question about extract WFS data in > shape file. I noticed that my php_ogr.so is missing. > Do you know where I can get or how can I build it? I > am on Linux Redhat 9 perform. > > Thanks, > Wei > > > > > --- Bart van den Eijnden wrote: >> Hi, >> >> it should work if you use a properly configured >> sample_wms_wfs_client.map >> in your Chameleon application. >> >> Try the following (for WMS layers): >> >> 1) perform a DescribeLayer request on the road >> layer, i.e. >> > http://localhost/cgi-bin/mapserv_41.exe?map=/ms4w/apps/geodan_sample/map/sample_wms_wfs_server.map&request=DescribeLayer&layers=road&version=1.1.1 >> >> does this work? >> >> if 1) works try (as the OnlineResource part you >> should normally take the >> response from request 1, but as Mapserver is WMS and >> WFS in one, the >> OnlineResource is normally the same): >> >> 2) >> > http://localhost/cgi-bin/mapserv_41.exe?map=/ms4w/apps/geodan_sample/map/sample_wms_wfs_server.map&request=GetFeature&typename=road&service=WFS&version=1.0.0 >> >> Do you get GML? >> >> This is the exact same way the ExtractWFSData would >> try to get its GML >> from a WMS Layer. So I suspect 1) and 2) won't both >> work. >> >> Best regards, >> Bart >> >> On Mon, 22 Mar 2004 09:33:42 -0800 (PST), we wei >> >> wrote: >> >> > Hi all, >> > >> > I have a question about using Extract WFS Data in >> > Chameleon 1.1 alpha 6 sample application. I tried >> to >> > see the actiion of this widget. But when I click >> > extract button on the pop-up window of Extract WFS >> > Data, I got the following error: >> > >> > "Invalid layer or none selected. Please ensure >> that >> > the selected layer is WMS or WFS layer" >> > >> > Then I look in sample.map file and it doesn't not >> seem >> > to have any WFS layer. So, I changed to use >> > sample_wms_wfs_server.map and >> > sample_wms_wfs_client.map; however, I still got >> the >> > above error. >> > >> > I guess I may setup something wrongly. >> > >> > Could anyone give some hints to me so that I could >> > make this functionality work ? >> > >> > Any help would be greatly appreciated. >> > >> > Thanks in advance. >> > >> > >> > __________________________________ >> > Do you Yahoo!? >> > Yahoo! Finance Tax Center - File online. File on >> time. >> > http://taxes.yahoo.com/filing.html >> > _______________________________________________ >> > Chameleon mailing list >> > Chameleon@lists.maptools.org >> > >> http://lists.maptools.org/mailman/listinfo/chameleon >> > >> >> >> >> -- >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon > > > __________________________________ > Do you Yahoo!? > Yahoo! Finance Tax Center - File online. File on time. > http://taxes.yahoo.com/filing.html > -- From mapgisnewbies@yahoo.com Tue Mar 23 15:50:01 2004 Received: from web60005.mail.yahoo.com (web60005.mail.yahoo.com [216.109.116.228]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i2NKnxuf024672 for ; Tue, 23 Mar 2004 15:50:00 -0500 Message-ID: <20040323184629.84904.qmail@web60005.mail.yahoo.com> Received: from [199.212.19.130] by web60005.mail.yahoo.com via HTTP; Tue, 23 Mar 2004 10:46:29 PST Date: Tue, 23 Mar 2004 10:46:29 -0800 (PST) From: we wei To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Chameleon] An empty list for Projection list Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi all, I am trying to set up a demo for chameleon 1.1 alpha 6. But I got an empty projection list return when I tried to click the projection button. I setup a projection widget in my template file as followed: And I have already checked if I have SharedResource widget for projection at the beginning of my template file. Here is the SharedResource widget for projection: And I put in this as well: I guess I am missing something here because it works fine in my chameleon-1.0.5. Could anyone give me some hints on this problem or give me some directions on how to debug this ? Any help would be much appreciated. Thanks in advance, wei __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html From pagurekd@agr.gc.ca Tue Mar 23 17:19:44 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2NMJi5x025153 for ; Tue, 23 Mar 2004 17:19:44 -0500 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i2NLpdhg001035 for ; Tue, 23 Mar 2004 16:51:39 -0500 Received: from ncrxem6 (webshieldout.agr.gc.ca [10.117.15.110]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with SMTP id i2NMEg4i024549 for ; Tue, 23 Mar 2004 17:14:43 -0500 Received: From agr.gc.ca ([10.117.15.106]) by ncrxem6 (WebShield SMTP v4.5 MR1a); id 1080080550703; Tue, 23 Mar 2004 17:22:30 -0500 Received: from AGCAN-MTA by agr.gc.ca with Novell_GroupWise; Tue, 23 Mar 2004 17:19:05 -0500 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.2 Date: Tue, 23 Mar 2004 17:18:59 -0500 From: "Debbie Pagurek" To: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_36171BC9.80E18041" Subject: [Chameleon] language change Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=_36171BC9.80E18041 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi all, can anyone give me some pointers on how to use the language widget? What are the supporting things needed to make this work? I would like to switch between english and french. What else needs to be in my template files (both the english and french .html files) to make the switch happen? I see that there is a function CWCSetLanguage(szTmpLanguage) in the cwcjsapi.js file - do I need to use this? And if so, how? I'm not sure if that .js file is for the old CWC2 product or not. Please, anyone who can provide info for me on how to switch language templates, I'd really appreciate the help. Thanks, D. Pagurek --=_36171BC9.80E18041 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Description: HTML
Hi all,
can anyone give me some pointers on how to use the language widget?
 
<cwc2 type="language">
<language name="en-CA"/>
<language name="fr-CA"/>
</cwc2>
 
What are the supporting things needed to make this work?
 
I would like to switch between english and french.  What else needs to be in my template files (both the english and french .html files) to make the switch happen?  I see that there is a function CWCSetLanguage(szTmpLanguage)  in the cwcjsapi.js file - do I need to use this?  And if so, how?  I'm not sure if that .js file is for the old CWC2 product or not.
 
Please, anyone who can provide info for me on how to switch language templates, I'd really appreciate the help.
 
Thanks,
D. Pagurek
--=_36171BC9.80E18041-- From jfournier@dmsolutions.ca Tue Mar 23 17:39:45 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2NMdj5x025243 for ; Tue, 23 Mar 2004 17:39:45 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i2NMdjhv006518; Tue, 23 Mar 2004 17:39:45 -0500 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i2NMdiqL008926; Tue, 23 Mar 2004 17:39:45 -0500 Message-ID: <4060BCDF.8080005@dmsolutions.ca> Date: Tue, 23 Mar 2004 17:40:31 -0500 From: Jason Fournier Reply-To: jfournier@dmsolutions.ca User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Debbie Pagurek CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] language change References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Debbie, Along with the required SharedResource Declaration you will have to add the following lines just before you initialize the application index.phtml. Here's an example: $oApp = new MapApp(); // this is the class in index.phtml which extends the Chameleon class $oApp->CWCAddRegionalTemplate( "en-CA", "mymap_en.html"); $oApp->CWCAddRegionalTemplate( "fr-CA", "mymap_fr.html"); $oApp->CWCInitialize( $szTemplate, $szMapFile ); This assumes that you have created mymap_en.html and mymap_fr.html. To switch over, for example, from an English to French template you would add a link in your english template similar to: Français The MLT should handle translation between English and French for the widgets you are using. I believe this should do it. Jason Debbie Pagurek wrote: > Hi all, > can anyone give me some pointers on how to use the language widget? > > > > > > > What are the supporting things needed to make this work? > > I would like to switch between english and french. What else needs to > be in my template files (both the english and french .html files) to > make the switch happen? I see that there is a function > CWCSetLanguage(szTmpLanguage) in the cwcjsapi.js file - do I need to > use this? And if so, how? I'm not sure if that .js file is for the > old CWC2 product or not. > > Please, anyone who can provide info for me on how to switch language > templates, I'd really appreciate the help. > > Thanks, > D. Pagurek -- ___________________________ Jason Fournier DM Solutions Group Application Developer Ottawa, ON 613.565.5056 x 18 jfournier@dmsolutions.ca From aaronr@ccalmr.ogi.edu Tue Mar 23 18:57:23 2004 Received: from amb24.ccalmr.ogi.edu (amb24.ccalmr.ogi.edu [129.95.72.56]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2NNvN5x025562 for ; Tue, 23 Mar 2004 18:57:23 -0500 Received: from amb84 (amb84.ccalmr.ogi.edu [129.95.72.84]) by amb24.ccalmr.ogi.edu (8.12.3/8.12.3) with ESMTP id i2NNvLr9898668 for ; Tue, 23 Mar 2004 15:57:22 -0800 (PST) Message-Id: <200403232357.i2NNvLr9898668@amb24.ccalmr.ogi.edu> From: "Aaron Racicot" To: Date: Tue, 23 Mar 2004 15:57:17 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcQRMpJWHlw4GfeTTlWyeq4STXDZ3Q== Subject: [Chameleon] Problem with CWC2OnLoadFunction... Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hello, I have a new Mapserver box I have set up and am starting to play with Chameleon for the first time (upgrade from my old 3.6 box!). The following is my setup: RedHat Enterprise Linux 3.0 AS on Intel Box (2.8gHz,1G,Dual 40G drives) Mapserver/Mapscript - 4.0.1 Postgresql - 7.4.2 Postgis - 0.8.1 PHP - 4.3.4 Maplab - 2.1-rc3 Chameleon 1.1alpha-20031031 The problem I am having (yes, I have searched the archives high and low) is that I get an error stating that "CWC2OnLoadFunction is not defined" when I try to do even the simplest application. Below is a copy of the sample.html and cwc2.xml I am using. Is seams that I must have a path set up wrong, but this continual beating my head against the desk is not helping me solve the problem. I have set up web access to the chameleon htdocs directory via http://129.95.72.140/cwc2/ which is /src/mapserver_4_0_1/chameleon/chameleon-1.1alpha-20031031/htdocs/ on the machine. The sample.html file resides in the same directory as chameleon.php under htdocs. I have tried to follow the installation instructions on the web, but those look to be from the 1.0.* timeframe as well. Any help you all can give would be much appreciated. Thanks in advance... Aaron Aaron Racicot Oregon Graduate Institute aaronr@ccalmr.ogi.edu +++++++++++++++++++++++ Start sample.html +++++++++++++++++++++ The Simplest Template

The simplest template

+++++++++++++++++++++++ End sample.html ++++++++++++++++++++++++ +++++++++++++++++++++++ Start cwc2.xml +++++++++++++++++++++++++ cwc2_url http://129.95.72.140/cwc2/ This is the URL that points to the HTDOCS directory of the local cwc2 installation. server_data_path /src/mapserver_4_0_1/chameleon/chameleon-1.1alpha-20031031/data / This is where cached capabilities and other information, common to each session, should be. When a user start a new session, all files from that directory are copied to user_session_tmp_path web_server_path /src/mapserver_4_0_1/chameleon/chameleon-1.1alpha-20031031/htdo cs/ This is where chameleon.php script is located. ows_schemas_location http://ogc.dmsolutions.ca URL pointing to the root of a repository of OGC schemas. See http://ogc.dmsolutions.ca for an example. wms_parse_file /src/mapserver_4_0_1/chameleon/chameleon-1.1alpha-20031031/htdo cs/common/wmsparse/wmsparse Full file path to the binary wms parser executable ('/path/to/wmsparse' on Unix, '/path/to/wmsparse.exe' on Windows). Leave empty to use the built in PHP parser (slower). wms_connectiontimeout 30 Maximum time in seconds that MapServer will wait for an answer from a WMS server. allow_upload_context true Enable the "Upload map context" feature? (true or false). allow_upload_template true Allow use of the 'TEMPLATE=' parameter when calling the CWC2 instance to specify any CWC2 HTML template url? (true or false) If set to false then the value of 'default_template' config parameter is always used. cache_template true If template come from a remote server (http://....), the template is download from that remote server and saved on local server for further loading. For performace, it is prefered to set this value to "true". If the remote server template is dynamic, this value should be set to "false" so the template will be loaded remotely every page load. validate_template true Validate the attributes of each tag in the input template. This should be set to true for debugging but may be set to false in a production environment to enhance performance. default_language en-CA Default language specifier. (en-CA or fr-CA) default_template /src/mapserver_4_0_1/chameleon/chameleon-1.1alpha-20031031/htdo cs/geobase_en.html Default HTML template to use with this CWC2 instance. Used when TEMPLATE= parameter not set, or when allow_upload_template config parameter is set to false. invalid_session_template Template to display if session is invalid. default_context /src/mapserver_4_0_1/chameleon/chameleon-1.1alpha-20031031/htdo cs/gmap_context.xml Default map context to load when starting this application map_template /src/mapserver_4_0_1/chameleon/chameleon-1.1alpha-20031031/htdo cs/template.map Default MapServer mapfile template to use when uploading a context file. mapscript_module php_mapscript.so Mapscript module name (i.e. php_mapscript_40.dll for Windows installations or php_mapscript_40.so for Unix installations). log_path /src/mapserver_4_0_1/chameleon/chameleon-1.1alpha-20031031/htdo cs/tmp/ Directory in which to write log files. log_error true This define if chameleon should log errors in session. If set to false, no errors will be logged at all. log_level LOG_VERBOSE Control the application runtime logging level. Must be one of LOG_OFF, LOG_QUIET, LOG_VERBOSE or LOG_ALL. image_type PNG Output image type (eg: PNG, GIF). Must be uppercase. This image format MUST be supported by your browser and GD (on the server). Please don't change that value unless you know what you'r doing. button_cache_path /src/mapserver_4_0_1/chameleon/chameleon-1.1alpha-20031031/htdo cs/tmp/ms_tmp/buttons/ Directory in which to write image files generated for buttons. This directory must be writable by the web server user and web accessible. For performance reasons, this directory should not be cleaned out automatically. button_cache_web_path /cwc2/tmp/ms_tmp/buttons/ The URL where a browser can find cached button images. tmp_web_path /cwc2/tmp/ms_tmp/ URL where browser can find temporary files as context or images tmp_img_path /src/mapserver_4_0_1/chameleon/chameleon-1.1alpha-20031031/htdo cs/tmp/ms_tmp/ Directory where temporary image files are put. context_root /src/mapserver_4_0_1/chameleon/chameleon-1.1alpha-20031031/htdo cs/ Absolute root path to context files. All context should be in that folder (or sub folder). context_maxsize 1000000 This is the context file max size that a CWC2 user can upload on the server template_root /src/mapserver_4_0_1/chameleon/chameleon-1.1alpha-20031031/htdo cs/ Absolute root path to template files. All template should be in that folder (or sub folder). fontlist_file /src/mapserver_4_0_1/chameleon/chameleon-1.1alpha-20031031/etc/ fonts.txt Path and filename of the font list file used by MapServer (i.e. /path/to/file/fonts.txt ). symbol_file /src/mapserver_4_0_1/chameleon/chameleon-1.1alpha-20031031/etc/ symbols.sym Path and filename of the symbol file used by MapServer (i.e. /path/to/file/symbols.sym ). textbutton_default_font_size 11 Buttons font size in points textbutton_default_font_antialiasing true Text Button font antialiasing (true or false) gd_version gd2 Version of GD graphic library (gd, gd2) freetype_version ttf Version of Freetype library used (use "ttf" for Freetype 1.3 or "freetype" for Freetype 2.x) execution_timeout 120 The amount of time in seconds to allow PHP to process a PHP page. This includes (for now) the time required to draw remote WMS layers which can be lengthy. ++++++++++++++++++++++++++++++++++ End cwc2.xml +++++++++++++++++++++++++++++++ From jfournier@dmsolutions.ca Tue Mar 23 19:30:23 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2O0UN5x025687 for ; Tue, 23 Mar 2004 19:30:23 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i2O0UMiB022415; Tue, 23 Mar 2004 19:30:22 -0500 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i2O0ULgc022164; Tue, 23 Mar 2004 19:30:22 -0500 Message-ID: <4060D6CC.5040409@dmsolutions.ca> Date: Tue, 23 Mar 2004 19:31:08 -0500 From: Jason Fournier Reply-To: jfournier@dmsolutions.ca User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Aaron Racicot CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Problem with CWC2OnLoadFunction... References: <200403232357.i2NNvLr9898668@amb24.ccalmr.ogi.edu> In-Reply-To: <200403232357.i2NNvLr9898668@amb24.ccalmr.ogi.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Aaron, Have you tried downloading and installing (ie, unzipping) the Chameleon sample application from Maptools.org (http://maptools.org/chameleon/index.phtml?page=downloads.html)? It's located at the bottom of the page. At the very least it will give you an indication of the files required for an application as well as a suggested directory structure. Generally speaking a Chameleon application will reside outside your core Chameleon installation. Best Regards, Jason -- ___________________________ Jason Fournier DM Solutions Group Application Developer Ottawa, ON 613.565.5056 x 18 jfournier@dmsolutions.ca From aaronr@ccalmr.ogi.edu Tue Mar 23 20:30:54 2004 Received: from amb24.ccalmr.ogi.edu (amb24.ccalmr.ogi.edu [129.95.72.56]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2O1Ur5x025875 for ; Tue, 23 Mar 2004 20:30:53 -0500 Received: from ZPULLEY1 (dsl-206-102-11-36.dsl.easystreet.com [206.102.11.36]) by amb24.ccalmr.ogi.edu (8.12.3/8.12.3) with ESMTP id i2O1Unr9909178; Tue, 23 Mar 2004 17:30:51 -0800 (PST) From: "Aaron Racicot" To: Cc: Subject: RE: [Chameleon] Problem with CWC2OnLoadFunction... Date: Tue, 23 Mar 2004 17:30:51 -0800 Message-ID: <000001c4113f$a5d38090$0200a8c0@ZPULLEY1> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <4060D6CC.5040409@dmsolutions.ca> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Yes I have tried that (I actually started there and got the same issue) but have tried to back up to just the basics to diagnose the problem. Still working on the problem and still stuck! Thanks for the quick response! Aaron -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Jason Fournier Sent: Tuesday, March 23, 2004 4:31 PM To: Aaron Racicot Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Problem with CWC2OnLoadFunction... Hi Aaron, Have you tried downloading and installing (ie, unzipping) the Chameleon sample application from Maptools.org (http://maptools.org/chameleon/index.phtml?page=downloads.html)? It's located at the bottom of the page. At the very least it will give you an indication of the files required for an application as well as a suggested directory structure. Generally speaking a Chameleon application will reside outside your core Chameleon installation. Best Regards, Jason -- ___________________________ Jason Fournier DM Solutions Group Application Developer Ottawa, ON 613.565.5056 x 18 jfournier@dmsolutions.ca _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From pagurekd@agr.gc.ca Wed Mar 24 08:59:32 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2ODxM5x029159 for ; Wed, 24 Mar 2004 08:59:28 -0500 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i2ODV5hg016395 for ; Wed, 24 Mar 2004 08:31:06 -0500 Received: from ncrxem6 (webshieldout.agr.gc.ca [10.117.15.110]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with SMTP id i2ODrv4i013774 for ; Wed, 24 Mar 2004 08:53:58 -0500 Received: From agr.gc.ca ([10.117.15.106]) by ncrxem6 (WebShield SMTP v4.5 MR1a); id 10801369070; Wed, 24 Mar 2004 09:01:47 -0500 Received: from AGCAN-MTA by agr.gc.ca with Novell_GroupWise; Wed, 24 Mar 2004 08:58:21 -0500 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.2 Date: Wed, 24 Mar 2004 08:58:14 -0500 From: "Debbie Pagurek" To: Cc: Subject: Re: [Chameleon] language change Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_37161BED.91F092FB" Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=_37161BED.91F092FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks very much Jason. The part that I didn't have an example of was the appropriate javascript call: Fran=E7ais It's working. Thanks for your quick reply. Debbie >>> Jason Fournier 03/23/04 05:40PM >>> Debbie, Along with the required SharedResource Declaration you will have to add=20 the following lines just before you initialize the application=20 index.phtml. Here's an example: $oApp =3D new MapApp(); // this is the class in index.phtml which extends the Chameleon class $oApp->CWCAddRegionalTemplate( "en-CA", "mymap_en.html"); $oApp->CWCAddRegionalTemplate( "fr-CA", "mymap_fr.html"); $oApp->CWCInitialize( $szTemplate, $szMapFile ); This assumes that you have created mymap_en.html and mymap_fr.html. To switch over, for example, from an English to French template you=20 would add a link in your english template similar to: Fran=E7ais The MLT should handle translation between English and French for the=20 widgets you are using. I believe this should do it. Jason Debbie Pagurek wrote: > Hi all, > can anyone give me some pointers on how to use the language widget? > =20 > > > > > =20 > What are the supporting things needed to make this work? > =20 > I would like to switch between english and french. What else needs to > be in my template files (both the english and french .html files) to=20 > make the switch happen? I see that there is a function=20 > CWCSetLanguage(szTmpLanguage) in the cwcjsapi.js file - do I need to=20 > use this? And if so, how? I'm not sure if that .js file is for the=20 > old CWC2 product or not. > =20 > Please, anyone who can provide info for me on how to switch language=20 > templates, I'd really appreciate the help. > =20 > Thanks, > D. Pagurek --=20 ___________________________ Jason Fournier DM Solutions Group Application Developer Ottawa, ON 613.565.5056 x 18 jfournier@dmsolutions.ca --=_37161BED.91F092FB Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Description: HTML
Thanks very much Jason.
The part that I didn't have an example of was the appropriate javascript call:
<a href="javascript:setLanguage('fr-CA');">Français</a>
 
It's working.  Thanks for your quick reply.
 
Debbie

>>> Jason Fournier <jfournier@dmsolutions.ca> 03/23/04 05:40PM >>>
Debbie,

Along with the required SharedResource Declaration you will have to add
the following lines just before you initialize the application
index.phtml.  Here's an example:

$oApp =  new MapApp(); // this is the class in index.phtml which extends
the Chameleon class
$oApp->CWCAddRegionalTemplate( "en-CA", "mymap_en.html");
$oApp->CWCAddRegionalTemplate( "fr-CA", "mymap_fr.html");
$oApp->CWCInitialize( $szTemplate, $szMapFile  );

This assumes that you have created mymap_en.html and mymap_fr.html.

To switch over, for example, from an English to French template you
would add a link in your english template similar to:

<a href="javascript:setLanguage('fr-CA');">Français</a>

The MLT should handle translation between English and French for the
widgets you are using.

I believe this should do it.

Jason



Debbie Pagurek wrote:

> Hi all,
> can anyone give me some pointers on how to use the language widget?

> <cwc2 type="language">
> <language name="en-CA"/>
> <language name="fr-CA"/>
> </cwc2>

> What are the supporting things needed to make this work?

> I would like to switch between english and french.  What else needs to
> be in my template files (both the english and french .html files) to
> make the switch happen?  I see that there is a function
> CWCSetLanguage(szTmpLanguage)  in the cwcjsapi.js file - do I need to
> use this?  And if so, how?  I'm not sure if that .js file is for the
> old CWC2 product or not.

> Please, anyone who can provide info for me on how to switch language
> templates, I'd really appreciate the help.

> Thanks,
> D. Pagurek


--
___________________________
Jason Fournier
DM Solutions Group
Application Developer
Ottawa, ON
613.565.5056 x 18
jfournier@dmsolutions.ca



--=_37161BED.91F092FB-- From Darren.Cope@statcan.ca Wed Mar 24 13:59:55 2004 Received: from stcshb2.statcan.ca (stcshb2.statcan.ca [142.206.3.27]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2OIxt5x030570 for ; Wed, 24 Mar 2004 13:59:55 -0500 Received: from egapb ([142.206.214.207]) by stcshb2.statcan.ca (8.12.10+Sun/8.11.1) with SMTP id i2OIv4eN002369 for ; Wed, 24 Mar 2004 13:57:04 -0500 (EST) Received: from smtpsha.iusd.statcan.ca (IDENT:root@localhost [127.0.0.1]) by smtpsha.iusd.statcan.ca (8.11.1/8.11.1) with ESMTP id i2OIjsg08870 for ; Wed, 24 Mar 2004 13:45:54 -0500 Received: from msxa1.statcan.ca (msxa1.statcan.ca [142.205.234.72]) by smtpsha.iusd.statcan.ca (8.11.1/8.11.1) with ESMTP id i2OIg0G19443 for ; Wed, 24 Mar 2004 13:42:00 -0500 Received: by msxa1.statcan.ca with Internet Mail Service (5.5.2653.19) id <1PMBDCVP>; Wed, 24 Mar 2004 13:51:59 -0500 Message-ID: From: Darren.Cope@statcan.ca To: chameleon@lists.maptools.org Date: Wed, 24 Mar 2004 13:51:56 -0500 X-Message-Flag: MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C411D1.148B5724" Subject: [Chameleon] Searches, Buffers and Choropleth Maps Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C411D1.148B5724 Content-Type: text/plain Hello everyone, I've been working with the CWC2 application from the MS4W package for the last few weeks. I have a demo set up which displays some of our own data, and allows me to perform many of the basic functions I need. However, I am researching the feasibility of some more advanced functionality, and am not finding much to suit my needs. I have searched the archive, and found some snippets of information, but never enough to help me pull everything together. I am currently using shapefiles as a data source. I would like to know if the following are possible, and if so, how I would go about implementing them: - do searches based on my own data, rather than the CGDI-based (i.e.. postal code, locality, nts) searches. I would like to do searches based on one field (e.g. find a street name), and multiple fields (possibly in different layers) (e.g. find a city in a specific province). Is there a widget which I could modify easily in order to do such a search? Someone out there must have a widget which does this? - search based on topology (e.g. find the intersection of two streets) - create a circular buffer around a user-selected point (where user clicks on the map) with a user-entered radius - select and highlight a feature when it is "identified," and retain this selection until the user clears it - display a choropleth map (without hard-coding the ranges in the .map file) Do I need to use something like PostGIS or GeoServer do accomplish these tasks? If so, how do these work with Chameleon/MapServer? I am very new to all of this, and have very little programming knowledge, so please keep this in mind. I realize that I am asking a lot of questions, so thanks in advance for any help! Darren Cope Geography Division Statistics Canada ------_=_NextPart_001_01C411D1.148B5724 Content-Type: text/html Content-Transfer-Encoding: quoted-printable Searches, Buffers and Choropleth Maps

Hello everyone,

I've been working with the CWC2 = application from the MS4W package for the last few weeks.  I have = a demo set up which displays some of our own data, and allows me to = perform many of the basic functions I need.  However, I am = researching the feasibility of some more advanced functionality, and am = not finding much to suit my needs.  I have searched the archive, = and found some snippets of information, but never enough to help me = pull everything together.  I am currently using shapefiles as a = data source.

I would like to know if the following = are possible, and if so, how I would go about implementing them:

- do searches based on my own data, = rather than the CGDI-based (i.e.. postal code, locality, nts) = searches.  I would like to do searches based on one field (e.g. = find a street name), and multiple fields (possibly in different layers) = (e.g. find a city in a specific province).  Is there a widget = which I could modify easily in order to do such a search?  Someone = out there must have a widget which does this?

- search based on topology (e.g. find = the intersection of two streets)

- create a circular buffer around a = user-selected point (where user clicks on the map) with a user-entered = radius

- select and highlight a feature when = it is "identified," and retain this selection until the user = clears it

- display a choropleth map (without = hard-coding the ranges in the .map file)

Do I need to use something like = PostGIS or GeoServer do accomplish these tasks?  If so, how do = these work with Chameleon/MapServer?

I am very new to all of this, and have = very little programming knowledge, so please keep this in mind.

I realize that I am asking a lot of = questions, so thanks in advance for any help!

Darren Cope
Geography Division
Statistics Canada

------_=_NextPart_001_01C411D1.148B5724-- From aaronr@ccalmr.ogi.edu Wed Mar 24 14:28:17 2004 Received: from amb24.ccalmr.ogi.edu (amb24.ccalmr.ogi.edu [129.95.72.56]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2OJSG5x030719 for ; Wed, 24 Mar 2004 14:28:16 -0500 Received: from amb84 (amb84.ccalmr.ogi.edu [129.95.72.84]) by amb24.ccalmr.ogi.edu (8.12.3/8.12.3) with ESMTP id i2OJSEr91039069; Wed, 24 Mar 2004 11:28:14 -0800 (PST) Message-Id: <200403241928.i2OJSEr91039069@amb24.ccalmr.ogi.edu> From: "Aaron Racicot" To: Cc: Subject: RE: [Chameleon] Problem with CWC2OnLoadFunction... Date: Wed, 24 Mar 2004 11:28:10 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <4060D6CC.5040409@dmsolutions.ca> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcQRN1KbcWAztcUoSGOKwRA+tMd3/QAnFDSw Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Jason, I have been going through the chameleon code to try and locate where I am having problems. I have taken your advise and gone back to the downloaded demo from the MapTools web site. I have started to systematically walk through the code to try to debug my problem. What I have come up with is that in the UIManager.php file I am getting a JS runtime error at the following piece of code: +++++++++++++ Start code +++++++++++++++++++++++ function DrawPublish() { //get javascript code from widgets $this->ProcessWidgetIncludes(); // Debug Added by Aaron Racicot echo "PRIORITY_MAXIMUM= ".PRIORITY_MAXIMUM."
"; echo "PRIORITY_MINIMUM= ".PRIORITY_MINIMUM."
"; //process widgets into template for ($i=PRIORITY_MAXIMUM; $i>=PRIORITY_MINIMUM; $i--) { foreach( $this->manPriorities[$i] as $nWidgetIndex ) { // Debug Added by Aaron Racicot echo "Loop i= ".$i." nWidgetIndex= ".$nWidgetIndex."
"; $oWidget =& $this->maoWidgets[$nWidgetIndex]; $this->oCWCParser->SetElement( $nWidgetIndex, $oWidget->DrawPublish() ); } } $this->oCWCParser->ProcessElements(); ++++++++++++++ End Code +++++++++++++++++++++++++ I added some debug output to show the looping indexes and widget index and I get the following: PRIORITY_MAXIMUM= 5 PRIORITY_MINIMUM= 0 Loop i= 4 nWidgetIndex= 12 Loop i= 3 nWidgetIndex= 17 Loop i= 2 nWidgetIndex= 0 Loop i= 2 nWidgetIndex= 1 Loop i= 2 nWidgetIndex= 2 Loop i= 2 nWidgetIndex= 3 Loop i= 2 nWidgetIndex= 4 Loop i= 2 nWidgetIndex= 5 Loop i= 2 nWidgetIndex= 9 Loop i= 2 nWidgetIndex= 13 Loop i= 2 nWidgetIndex= 14 Loop i= 2 nWidgetIndex= 15 Loop i= 2 nWidgetIndex= 16 Loop i= 2 nWidgetIndex= 18 Loop i= 2 nWidgetIndex= 19 At this point I get an error which is from the CWC2OnLoadFunction never getting created just after this in the DrawPublish function. The interesting thing is that the index $i never reaches 1 or 0. Does this ring a bell for you? I am very confused why my installation seems to have this problem (which now does not seem to be path or permissions related). Thanks Aaron Again, my setup is: RedHat Enterprise Linux 3.0 AS on Intel Box (2.8gHz,1G,Dual 40G drives) Mapserver/Mapscript - 4.0.1 Postgresql - 7.4.2 Postgis - 0.8.1 PHP - 4.3.4 Maplab - 2.1-rc3 Chameleon 1.1alpha-20031031 chameleon-sample - From MapTools.org -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Jason Fournier Sent: Tuesday, March 23, 2004 4:31 PM To: Aaron Racicot Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Problem with CWC2OnLoadFunction... Hi Aaron, Have you tried downloading and installing (ie, unzipping) the Chameleon sample application from Maptools.org (http://maptools.org/chameleon/index.phtml?page=downloads.html)? It's located at the bottom of the page. At the very least it will give you an indication of the files required for an application as well as a suggested directory structure. Generally speaking a Chameleon application will reside outside your core Chameleon installation. Best Regards, Jason -- ___________________________ Jason Fournier DM Solutions Group Application Developer Ottawa, ON 613.565.5056 x 18 jfournier@dmsolutions.ca _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From mickeldelay@yahoo.com Wed Mar 24 16:43:51 2004 Received: from web21111.mail.yahoo.com (web21111.mail.yahoo.com [216.136.129.233]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i2OLho5x031450 for ; Wed, 24 Mar 2004 16:43:50 -0500 Message-ID: <20040324214304.17830.qmail@web21111.mail.yahoo.com> Received: from [82.205.162.4] by web21111.mail.yahoo.com via HTTP; Wed, 24 Mar 2004 13:43:04 PST Date: Wed, 24 Mar 2004 13:43:04 -0800 (PST) From: mickel delay To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Chameleon] real time applicatin with chameleon Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Dear list hi if i decision to implement a real time application with chameleon such as vehicle tracking ,how i can do it? this similar to mapsherpa application that Dmsolution do for GPS tracking. regards mickel __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html From pagurekd@agr.gc.ca Thu Mar 25 09:55:56 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2PEtu5x003348 for ; Thu, 25 Mar 2004 09:55:56 -0500 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i2PEtmhg019598 for ; Thu, 25 Mar 2004 09:55:48 -0500 Received: from ncrxem6 (webshieldout.agr.gc.ca [10.117.15.110]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with SMTP id i2PEoiTb007108 for ; Thu, 25 Mar 2004 09:50:44 -0500 Received: From agr.gc.ca ([10.117.15.106]) by ncrxem6 (WebShield SMTP v4.5 MR1a); id 1080226713156; Thu, 25 Mar 2004 09:58:33 -0500 Received: from AGCAN-MTA by agr.gc.ca with Novell_GroupWise; Thu, 25 Mar 2004 09:55:07 -0500 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.2 Date: Thu, 25 Mar 2004 09:54:59 -0500 From: "Debbie Pagurek" To: "<" Subject: Re: [Chameleon] language change Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_63424CDB.8FEE8DF9" Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=_63424CDB.8FEE8DF9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi all, I hate to muddy the waters on the Chameleon list, but I also have the old CWC2 product installed on my systems and I'd like to get the language translation working there as well. However, I keep seeing a javascript error that says that setLanguage is undefined. Jason or anyone else... how is the Language widget used in the old CWC2 product? What is the difference between implementing it in CWC2 vs the latest Chameleon version? Thanks for your help. D. Pagurek >>> Jason Fournier 03/23/04 05:40PM >>> Debbie, Along with the required SharedResource Declaration you will have to add=20 the following lines just before you initialize the application=20 index.phtml. Here's an example: $oApp =3D new MapApp(); // this is the class in index.phtml which extends the Chameleon class $oApp->CWCAddRegionalTemplate( "en-CA", "mymap_en.html"); $oApp->CWCAddRegionalTemplate( "fr-CA", "mymap_fr.html"); $oApp->CWCInitialize( $szTemplate, $szMapFile ); This assumes that you have created mymap_en.html and mymap_fr.html. To switch over, for example, from an English to French template you=20 would add a link in your english template similar to: Fran=E7ais The MLT should handle translation between English and French for the=20 widgets you are using. I believe this should do it. Jason Debbie Pagurek wrote: > Hi all, > can anyone give me some pointers on how to use the language widget? > =20 > > > > > =20 > What are the supporting things needed to make this work? > =20 > I would like to switch between english and french. What else needs to > be in my template files (both the english and french .html files) to=20 > make the switch happen? I see that there is a function=20 > CWCSetLanguage(szTmpLanguage) in the cwcjsapi.js file - do I need to=20 > use this? And if so, how? I'm not sure if that .js file is for the=20 > old CWC2 product or not. > =20 > Please, anyone who can provide info for me on how to switch language=20 > templates, I'd really appreciate the help. > =20 > Thanks, > D. Pagurek --=20 ___________________________ Jason Fournier DM Solutions Group Application Developer Ottawa, ON 613.565.5056 x 18 jfournier@dmsolutions.ca --=_63424CDB.8FEE8DF9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Description: HTML
Hi all,
I hate to muddy the waters on the Chameleon list, but I also have the old CWC2 product installed on my systems and I'd like to get the language translation working there as well.  However, I keep seeing a javascript error that says that setLanguage is undefined.
 
Jason or anyone else...
how is the Language widget used in the old CWC2 product?  What is the difference between implementing it in CWC2 vs the latest Chameleon version?
 
Thanks for your help.
 
D. Pagurek


>>> Jason Fournier <jfournier@dmsolutions.ca> 03/23/04 05:40PM >>>
Debbie,

Along with the required SharedResource Declaration you will have to add
the following lines just before you initialize the application
index.phtml.  Here's an example:

$oApp =  new MapApp(); // this is the class in index.phtml which extends
the Chameleon class
$oApp->CWCAddRegionalTemplate( "en-CA", "mymap_en.html");
$oApp->CWCAddRegionalTemplate( "fr-CA", "mymap_fr.html");
$oApp->CWCInitialize( $szTemplate, $szMapFile  );

This assumes that you have created mymap_en.html and mymap_fr.html.

To switch over, for example, from an English to French template you
would add a link in your english template similar to:

<a href="javascript:setLanguage('fr-CA');">Français</a>

The MLT should handle translation between English and French for the
widgets you are using.

I believe this should do it.

Jason



Debbie Pagurek wrote:

> Hi all,
> can anyone give me some pointers on how to use the language widget?

> <cwc2 type="language">
> <language name="en-CA"/>
> <language name="fr-CA"/>
> </cwc2>

> What are the supporting things needed to make this work?

> I would like to switch between english and french.  What else needs to
> be in my template files (both the english and french .html files) to
> make the switch happen?  I see that there is a function
> CWCSetLanguage(szTmpLanguage)  in the cwcjsapi.js file - do I need to
> use this?  And if so, how?  I'm not sure if that .js file is for the
> old CWC2 product or not.

> Please, anyone who can provide info for me on how to switch language
> templates, I'd really appreciate the help.

> Thanks,
> D. Pagurek


--
___________________________
Jason Fournier
DM Solutions Group
Application Developer
Ottawa, ON
613.565.5056 x 18
jfournier@dmsolutions.ca



--=_63424CDB.8FEE8DF9-- From mapgisnewbies@yahoo.com Thu Mar 25 13:03:00 2004 Received: from web60006.mail.yahoo.com (web60006.mail.yahoo.com [216.109.116.229]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i2PI305x004241 for ; Thu, 25 Mar 2004 13:03:00 -0500 Message-ID: <20040325175103.26432.qmail@web60006.mail.yahoo.com> Received: from [199.212.19.130] by web60006.mail.yahoo.com via HTTP; Thu, 25 Mar 2004 09:51:02 PST Date: Thu, 25 Mar 2004 09:51:02 -0800 (PST) From: we wei To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Chameleon] Questions about ROI's widgets Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi all, I got a question about ROI's widgets. I just wonder if ROIRemoverAll widget is executed, is there any javascript or form variables which indicates there are no ROI specified regions left ? Thanks! __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html From mapgisnewbies@yahoo.com Thu Mar 25 13:06:46 2004 Received: from web60005.mail.yahoo.com (web60005.mail.yahoo.com [216.109.116.228]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i2PI6j5x004268 for ; Thu, 25 Mar 2004 13:06:46 -0500 Message-ID: <20040325175816.25473.qmail@web60005.mail.yahoo.com> Received: from [199.212.19.130] by web60005.mail.yahoo.com via HTTP; Thu, 25 Mar 2004 09:58:16 PST Date: Thu, 25 Mar 2004 09:58:16 -0800 (PST) From: we wei To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Chameleon] chameleon's latest version Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi all, does anyone know when will chameleon's latest version be available ? Thanks! __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html From msr@sourcepole.ch Fri Mar 26 04:59:55 2004 Received: from smtp.tiscali.ch (smtp.tiscali.ch [212.40.5.52]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2Q9xs5x014298 for ; Fri, 26 Mar 2004 04:59:54 -0500 Received: from wal.sourcepole (adsl-41-148-bs4.tiscali.ch [212.254.41.148]) by smtp.tiscali.ch (8.11.7/8.11.7) with ESMTP id i2Q9xqr20310 for ; Fri, 26 Mar 2004 10:59:52 +0100 Received: from msr.sourcepole ([192.168.1.104]) by wal.sourcepole with esmtp (Exim 3.35 #1 (Debian)) id 1B6o85-0000Xy-00 for ; Fri, 26 Mar 2004 10:59:57 +0100 From: Schnider Markus Organization: Sourcepole AG To: chameleon@lists.maptools.org Date: Fri, 26 Mar 2004 10:59:52 +0100 User-Agent: KMail/1.6.1 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200403261059.52318.msr@sourcepole.ch> Subject: [Chameleon] Performing test - chameleon 1.1 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi all, I've made some stress test with chameleon 1.1. The results are surprising me, can someone explain the results? First, I've read the access.log of apache: On the first PC: First call (no buttons, images, ... created, new session) : 4 s Second call (some buttons, images, session, ... are created) : 5 s On the second PC: First : 2 s Second : 3 s Takes it some much time to read the session ? 1 s ? Second, I've made a test with a stress tool: (some buttons, images, session, ... are created) On the first PC: creation of HTML : 2.17 s creation of KeyMap : 1.11 s creation of Map : 2.01 s On the second PC: creation of HTML : 0.86 s creation of KeyMap : 0.51 s creation of Map : 0.73 s Why is the time for the keymap so high ? Is it only PHP or also php_mapscript ? Kind regards Markus Schnider Sourcepole AG From msr@sourcepole.ch Fri Mar 26 05:05:57 2004 Received: from smtp.tiscali.ch (smtp.tiscali.ch [212.40.5.52]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2QA5u5x014366 for ; Fri, 26 Mar 2004 05:05:57 -0500 Received: from wal.sourcepole (adsl-41-148-bs4.tiscali.ch [212.254.41.148]) by smtp.tiscali.ch (8.11.7/8.11.7) with ESMTP id i2QA5pr23477 for ; Fri, 26 Mar 2004 11:05:52 +0100 Received: from msr.sourcepole ([192.168.1.104]) by wal.sourcepole with esmtp (Exim 3.35 #1 (Debian)) id 1B6oDr-0000mr-00 for ; Fri, 26 Mar 2004 11:05:55 +0100 From: Schnider Markus Organization: Sourcepole AG To: chameleon@lists.maptools.org Date: Fri, 26 Mar 2004 11:05:50 +0100 User-Agent: KMail/1.6.1 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200403261105.50668.msr@sourcepole.ch> Subject: [Chameleon] WMS layers - chameleon 1.1 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi all, Is it possible to add WMS with chameleon 1.1? Is it at the moment only possible to add a layer with the mapfile configuration? If yes, how can I show the layer after a 'disable and enable' of the layer? All WMS layers are 'lost' in the viewer, only the xml-theme-legend shows the entries of the WMS layers. Kind regards Markus Schnider Sourcepole AG From jfournier@dmsolutions.ca Fri Mar 26 10:25:58 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2QFPw5x015603 for ; Fri, 26 Mar 2004 10:25:58 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i2QFPw0w025865; Fri, 26 Mar 2004 10:25:58 -0500 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i2QFPviC031013; Fri, 26 Mar 2004 10:25:58 -0500 Message-ID: <40644BAC.4040605@dmsolutions.ca> Date: Fri, 26 Mar 2004 10:26:36 -0500 From: Jason Fournier Reply-To: jfournier@dmsolutions.ca User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Debbie Pagurek CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] language change References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Debbie, The implementation of the Language widget should be identical in CWC2 as it is in Chameleon. Out of curiousity ... if you place the following js function in the HEAD of your template does it work?: /** * set the current language */ function setLanguage(szLanguage) { aLanguages = new Array(); aLanguages[aLanguages.length] = new Array( "en-CA" ); aLanguages[aLanguages.length] = new Array( "fr-CA" ); bValid = false; for( i=0; i< aLanguages.length; i++ ) { if ( aLanguages[i][0] == szLanguage ) { bValid = true; break; } } document.forms[0].LANGUAGE.value = szLanguage; document.forms[0].submit(); return true; } Jason Debbie Pagurek wrote: > Hi all, > I hate to muddy the waters on the Chameleon list, but I also have > the old CWC2 product installed on my systems and I'd like to get the > language translation working there as well. However, I keep seeing a > javascript error that says that setLanguage is undefined. > > Jason or anyone else... > how is the Language widget used in the old CWC2 product? What is the > difference between implementing it in CWC2 vs the latest Chameleon > version? > > Thanks for your help. > > D. Pagurek > > > >>> Jason Fournier 03/23/04 05:40PM >>> > Debbie, > > Along with the required SharedResource Declaration you will have to add > the following lines just before you initialize the application > index.phtml. Here's an example: > > $oApp = new MapApp(); // this is the class in index.phtml which extends > the Chameleon class > $oApp->CWCAddRegionalTemplate( "en-CA", "mymap_en.html"); > $oApp->CWCAddRegionalTemplate( "fr-CA", "mymap_fr.html"); > $oApp->CWCInitialize( $szTemplate, $szMapFile ); > > This assumes that you have created mymap_en.html and mymap_fr.html. > > To switch over, for example, from an English to French template you > would add a link in your english template similar to: > > Français > > The MLT should handle translation between English and French for the > widgets you are using. > > I believe this should do it. > > Jason > > > > Debbie Pagurek wrote: > > > Hi all, > > can anyone give me some pointers on how to use the language widget? > > > > > > > > > > > > > > What are the supporting things needed to make this work? > > > > I would like to switch between english and french. What else needs to > > be in my template files (both the english and french .html files) to > > make the switch happen? I see that there is a function > > CWCSetLanguage(szTmpLanguage) in the cwcjsapi.js file - do I need to > > use this? And if so, how? I'm not sure if that .js file is for the > > old CWC2 product or not. > > > > Please, anyone who can provide info for me on how to switch language > > templates, I'd really appreciate the help. > > > > Thanks, > > D. Pagurek > > > -- > ___________________________ > Jason Fournier > DM Solutions Group > Application Developer > Ottawa, ON > 613.565.5056 x 18 > jfournier@dmsolutions.ca > > > -- ___________________________ Jason Fournier DM Solutions Group Application Developer Ottawa, ON 613.565.5056 x 18 jfournier@dmsolutions.ca From jfournier@dmsolutions.ca Fri Mar 26 10:32:57 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2QFWv5x015656 for ; Fri, 26 Mar 2004 10:32:57 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i2QFWv0w029439; Fri, 26 Mar 2004 10:32:57 -0500 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i2QFWuiC011832; Fri, 26 Mar 2004 10:32:57 -0500 Message-ID: <40644D4F.3000109@dmsolutions.ca> Date: Fri, 26 Mar 2004 10:33:35 -0500 From: Jason Fournier Reply-To: jfournier@dmsolutions.ca User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: we wei CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Questions about ROI's widgets References: <20040325175103.26432.qmail@web60006.mail.yahoo.com> In-Reply-To: <20040325175103.26432.qmail@web60006.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: We, I don't believe it sets a hidden variable when you clear an ROI (well, none that I can find anyways). It calls this function: function ROIRemoveAll() { goCWCROIManager.RemoveAll(); } and uses the ROIManager to handle states. That being said it would be quite easy to modify this function so that you could set a hidden variable in your template. Alternatively you could access the goCWCROIManager object to determine the state of an ROI through javascript. Jason we wei wrote: >Hi all, > >I got a question about ROI's widgets. I just wonder >if ROIRemoverAll widget is executed, is there any >javascript or form variables which indicates there are >no ROI specified regions left ? > >Thanks! > >__________________________________ >Do you Yahoo!? >Yahoo! Finance Tax Center - File online. File on time. >http://taxes.yahoo.com/filing.html >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > > -- ___________________________ Jason Fournier DM Solutions Group Application Developer Ottawa, ON 613.565.5056 x 18 jfournier@dmsolutions.ca From jfournier@dmsolutions.ca Fri Mar 26 10:48:48 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2QFmm5x015739 for ; Fri, 26 Mar 2004 10:48:48 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i2QFml0w004767; Fri, 26 Mar 2004 10:48:47 -0500 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i2QFmkgI016026; Fri, 26 Mar 2004 10:48:47 -0500 Message-ID: <40645105.9060500@dmsolutions.ca> Date: Fri, 26 Mar 2004 10:49:25 -0500 From: Jason Fournier Reply-To: jfournier@dmsolutions.ca User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Schnider Markus CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] WMS layers - chameleon 1.1 References: <200403261105.50668.msr@sourcepole.ch> In-Reply-To: <200403261105.50668.msr@sourcepole.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Markus, It is possible to use WMS/WFS in Chameleon 1.1. You can add data to the map either through your MapFile or through the LayerManager widget. That being said, you can use either the XMLThemeLegend -or- the HTMLLegend as your basis for hiding/showing WMS and/or local data layers. Here is an example of an HTMLLegend template for showing a combination of both local and WMS data: [leg_layer_html order=ascending opt_flag=14]

[if name=wms_name oper=isnull][leg_layer_name][/if][if name=wms_name oper=isset][metadata name=WMS_TITLE][/if]

[/leg_layer_html] Note that the XMLThemeLegend assumes a structured layer list. For more information on HTMLLegends take a look at http://mapserver.gis.umn.edu/doc40/html-legend-howto.html Jason Schnider Markus wrote: >Hi all, > >Is it possible to add WMS with chameleon 1.1? >Is it at the moment only possible to add a layer with the mapfile >configuration? >If yes, how can I show the layer after a 'disable and enable' of the layer? >All WMS layers are 'lost' in the viewer, only the xml-theme-legend shows the >entries of the WMS layers. > >Kind regards > >Markus Schnider >Sourcepole AG >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > > -- ___________________________ Jason Fournier DM Solutions Group Application Developer Ottawa, ON 613.565.5056 x 18 jfournier@dmsolutions.ca From pagurekd@agr.gc.ca Fri Mar 26 11:20:18 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2QGKI5x015924 for ; Fri, 26 Mar 2004 11:20:18 -0500 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i2QGK1hg018548 for ; Fri, 26 Mar 2004 11:20:02 -0500 Received: from ncrxem6 (webshieldout.agr.gc.ca [10.117.15.110]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with SMTP id i2QGJHRC025531 for ; Fri, 26 Mar 2004 11:19:17 -0500 Received: From agr.gc.ca ([10.117.15.106]) by ncrxem6 (WebShield SMTP v4.5 MR1a); id 108031816446; Fri, 26 Mar 2004 11:22:44 -0500 Received: from AGCAN-MTA by agr.gc.ca with Novell_GroupWise; Fri, 26 Mar 2004 11:19:18 -0500 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.2 Date: Fri, 26 Mar 2004 11:19:09 -0500 From: "Debbie Pagurek" To: Cc: Subject: Re: [Chameleon] language change Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_02232B16.D8B9C5A0" Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=_02232B16.D8B9C5A0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable If I put that in, now i get an error that says: document.forms[0].LANGUAGE has no properties source file http://latlong24.gis.agr.gc.ca/cwc2/cwc2.php Line 3110 Debbie >>> Jason Fournier 03/26/04 10:26AM >>> Debbie, The implementation of the Language widget should be identical in CWC2 as it is in Chameleon. Out of curiousity ... if you place the following js function in the HEAD of your template does it work?: /** * set the current language */ function setLanguage(szLanguage) { aLanguages =3D new Array(); aLanguages[aLanguages.length] =3D new Array( "en-CA" ); aLanguages[aLanguages.length] =3D new Array( "fr-CA" ); bValid =3D false; for( i=3D0; i< aLanguages.length; i++ ) { if ( aLanguages[i][0] =3D=3D szLanguage ) { bValid =3D true; break; } } document.forms[0].LANGUAGE.value =3D szLanguage; document.forms[0].submit(); return true; } Jason Debbie Pagurek wrote: > Hi all, > I hate to muddy the waters on the Chameleon list, but I also have=20 > the old CWC2 product installed on my systems and I'd like to get the=20 > language translation working there as well. However, I keep seeing a=20 > javascript error that says that setLanguage is undefined. > =20 > Jason or anyone else... > how is the Language widget used in the old CWC2 product? What is the=20 > difference between implementing it in CWC2 vs the latest Chameleon=20 > version? > =20 > Thanks for your help. > =20 > D. Pagurek > > > >>> Jason Fournier 03/23/04 05:40PM >>> > Debbie, > > Along with the required SharedResource Declaration you will have to add > the following lines just before you initialize the application > index.phtml. Here's an example: > > $oApp =3D new MapApp(); // this is the class in index.phtml which extends > the Chameleon class > $oApp->CWCAddRegionalTemplate( "en-CA", "mymap_en.html"); > $oApp->CWCAddRegionalTemplate( "fr-CA", "mymap_fr.html"); > $oApp->CWCInitialize( $szTemplate, $szMapFile ); > > This assumes that you have created mymap_en.html and mymap_fr.html. > > To switch over, for example, from an English to French template you > would add a link in your english template similar to: > > Fran=E7ais > > The MLT should handle translation between English and French for the > widgets you are using. > > I believe this should do it. > > Jason > > > > Debbie Pagurek wrote: > > > Hi all, > > can anyone give me some pointers on how to use the language widget? > >=20 > > > > > > > > > >=20 > > What are the supporting things needed to make this work? > >=20 > > I would like to switch between english and french. What else needs to > > be in my template files (both the english and french .html files) to > > make the switch happen? I see that there is a function > > CWCSetLanguage(szTmpLanguage) in the cwcjsapi.js file - do I need to > > use this? And if so, how? I'm not sure if that .js file is for the > > old CWC2 product or not. > >=20 > > Please, anyone who can provide info for me on how to switch language > > templates, I'd really appreciate the help. > >=20 > > Thanks, > > D. Pagurek > > > --=20 > ___________________________ > Jason Fournier > DM Solutions Group > Application Developer > Ottawa, ON > 613.565.5056 x 18 > jfournier@dmsolutions.ca > > > --=20 ___________________________ Jason Fournier DM Solutions Group Application Developer Ottawa, ON 613.565.5056 x 18 jfournier@dmsolutions.ca --=_02232B16.D8B9C5A0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Description: HTML
If I put that in,
now i get an error that says:
 
document.forms[0].LANGUAGE has no properties
 
Debbie

>>> Jason Fournier <jfournier@dmsolutions.ca> 03/26/04 10:26AM >>>
Debbie,

The implementation of the Language widget should be identical in CWC2 as
it is in Chameleon.  Out of curiousity ... if you place the following js
function in the HEAD of your template does it work?:

/**
* set the current language
*/
function setLanguage(szLanguage)
{
    aLanguages = new Array();
    aLanguages[aLanguages.length] = new Array( "en-CA" );
    aLanguages[aLanguages.length] = new Array( "fr-CA" );


    bValid = false;
    for( i=0; i< aLanguages.length; i++ )
    {
        if ( aLanguages[i][0] == szLanguage )
        {
            bValid = true;
            break;
        }
    }
    document.forms[0].LANGUAGE.value = szLanguage;
    document.forms[0].submit();
    return true;

}

Jason







Debbie Pagurek wrote:

> Hi all,
> I hate to muddy the waters on the Chameleon list, but I also have
> the old CWC2 product installed on my systems and I'd like to get the
> language translation working there as well.  However, I keep seeing a
> javascript error that says that setLanguage is undefined.

> Jason or anyone else...
> how is the Language widget used in the old CWC2 product?  What is the
> difference between implementing it in CWC2 vs the latest Chameleon
> version?

> Thanks for your help.

> D. Pagurek
>
>
> >>> Jason Fournier <jfournier@dmsolutions.ca> 03/23/04 05:40PM >>>
> Debbie,
>
> Along with the required SharedResource Declaration you will have to add
> the following lines just before you initialize the application
> index.phtml.  Here's an example:
>
> $oApp =  new MapApp(); // this is the class in index.phtml which extends
> the Chameleon class
> $oApp->CWCAddRegionalTemplate( "en-CA", "mymap_en.html");
> $oApp->CWCAddRegionalTemplate( "fr-CA", "mymap_fr.html");
> $oApp->CWCInitialize( $szTemplate, $szMapFile  );
>
> This assumes that you have created mymap_en.html and mymap_fr.html.
>
> To switch over, for example, from an English to French template you
> would add a link in your english template similar to:
>
> <a href="javascript:setLanguage('fr-CA');">Français</a>
>
> The MLT should handle translation between English and French for the
> widgets you are using.
>
> I believe this should do it.
>
> Jason
>
>
>
> Debbie Pagurek wrote:
>
> > Hi all,
> > can anyone give me some pointers on how to use the language widget?
> >
> > <cwc2 type="language">
> > <language name="en-CA"/>
> > <language name="fr-CA"/>
> > </cwc2>
> >
> > What are the supporting things needed to make this work?
> >
> > I would like to switch between english and french.  What else needs to
> > be in my template files (both the english and french .html files) to
> > make the switch happen?  I see that there is a function
> > CWCSetLanguage(szTmpLanguage)  in the cwcjsapi.js file - do I need to
> > use this?  And if so, how?  I'm not sure if that .js file is for the
> > old CWC2 product or not.
> >
> > Please, anyone who can provide info for me on how to switch language
> > templates, I'd really appreciate the help.
> >
> > Thanks,
> > D. Pagurek
>
>
> --
> ___________________________
> Jason Fournier
> DM Solutions Group
> Application Developer
> Ottawa, ON
> 613.565.5056 x 18
> jfournier@dmsolutions.ca
>
>
>

--
___________________________
Jason Fournier
DM Solutions Group
Application Developer
Ottawa, ON
613.565.5056 x 18
jfournier@dmsolutions.ca



--=_02232B16.D8B9C5A0-- From msr@sourcepole.ch Fri Mar 26 11:48:33 2004 Received: from smtp.tiscali.ch (smtp.tiscali.ch [212.40.5.52]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2QGmW5x016015 for ; Fri, 26 Mar 2004 11:48:32 -0500 Received: from wal.sourcepole (adsl-41-148-bs4.tiscali.ch [212.254.41.148]) by smtp.tiscali.ch (8.11.7/8.11.7) with ESMTP id i2QGmSr18563; Fri, 26 Mar 2004 17:48:29 +0100 Received: from msr.sourcepole ([192.168.1.104]) by wal.sourcepole with esmtp (Exim 3.35 #1 (Debian)) id 1B6uVV-0002t0-00; Fri, 26 Mar 2004 17:48:33 +0100 From: Schnider Markus Organization: Sourcepole AG To: jfournier@dmsolutions.ca Subject: Re: [Chameleon] WMS layers - chameleon 1.1 Date: Fri, 26 Mar 2004 17:48:27 +0100 User-Agent: KMail/1.6.1 References: <200403261105.50668.msr@sourcepole.ch> <40645105.9060500@dmsolutions.ca> In-Reply-To: <40645105.9060500@dmsolutions.ca> Cc: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200403261748.27412.msr@sourcepole.ch> Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Jason, I have tried to implement the LayerManager, but I have not succeeded in it. Some errors occured (.. in line 51 or 52 or ...). Then I've tried to comment this lines in the code. After changing the Code, I could see the popup, but with errors. Is there a documentation how to use the layermanager with Chameleon 1.1? Or have somebody a sample application with WMS support and the layermanager? Thanks Markus Schnider On Friday 26 March 2004 16:49, Jason Fournier wrote: > Markus, > > It is possible to use WMS/WFS in Chameleon 1.1. You can add data to the > map either through your MapFile or through the LayerManager widget. > That being said, you can use either the XMLThemeLegend -or- the > HTMLLegend as your basis for hiding/showing WMS and/or local data > layers. Here is an example of an HTMLLegend template for showing a > combination of both local and WMS data: > > [leg_layer_html order=ascending opt_flag=14] > > name="legendlayername[]" value="[leg_layer_name]" [if name=layer_status > oper=eq value=1]CHECKED[/if]> > >

[if name=wms_name > oper=isnull][leg_layer_name][/if][if name=wms_name oper=isset][metadata > name=WMS_TITLE][/if]

> > > [/leg_layer_html] > > Note that the XMLThemeLegend assumes a structured layer list. For more > information on HTMLLegends take a look at > http://mapserver.gis.umn.edu/doc40/html-legend-howto.html > > Jason > > Schnider Markus wrote: > >Hi all, > > > >Is it possible to add WMS with chameleon 1.1? > >Is it at the moment only possible to add a layer with the mapfile > >configuration? > >If yes, how can I show the layer after a 'disable and enable' of the > > layer? All WMS layers are 'lost' in the viewer, only the xml-theme-legend > > shows the entries of the WMS layers. > > > >Kind regards > > > >Markus Schnider > >Sourcepole AG > >_______________________________________________ > >Chameleon mailing list > >Chameleon@lists.maptools.org > >http://lists.maptools.org/mailman/listinfo/chameleon From bartvde@xs4all.nl Fri Mar 26 14:37:09 2004 Received: from smtp-out1.xs4all.nl (smtp-out1.xs4all.nl [194.109.24.11]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2QJb95x016734 for ; Fri, 26 Mar 2004 14:37:09 -0500 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out1.xs4all.nl (8.12.10/8.12.10) with ESMTP id i2QJb0JP034885; Fri, 26 Mar 2004 20:37:00 +0100 (CET) Cc: chameleon@lists.maptools.org To: Schnider Markus , jfournier@dmsolutions.ca Subject: Re: [Chameleon] WMS layers - chameleon 1.1 Reply-To: bartvde@xs4all.nl References: <200403261105.50668.msr@sourcepole.ch> <40645105.9060500@dmsolutions.ca> <200403261748.27412.msr@sourcepole.ch> Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Fri, 26 Mar 2004 20:36:15 +0100 In-Reply-To: <200403261748.27412.msr@sourcepole.ch> User-Agent: Opera7.23/Win32 M2 build 3227 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Markus, try using the LegendTemplate widget for layer manager type of functionality. You can see an example in the following application created by DM Solutions (Chameleon 1.1 compatible): http://www.vz.geodan.nl/users/bart/geodan_ms4w-2003-10-31.zip If you want there are also Promote/Demote and Remove Layer widgets available to use with the LegendTemplate. Best regards, Bart On Fri, 26 Mar 2004 17:48:27 +0100, Schnider Markus wrote: > Jason, > > I have tried to implement the LayerManager, but I have not succeeded in > it. > Some errors occured (.. in line 51 or 52 or ...). > Then I've tried to comment this lines in the code. > After changing the Code, I could see the popup, but with errors. > > Is there a documentation how to use the layermanager with Chameleon 1.1? > Or have somebody a sample application with WMS support and the > layermanager? > > Thanks > > Markus Schnider > > On Friday 26 March 2004 16:49, Jason Fournier wrote: >> Markus, >> >> It is possible to use WMS/WFS in Chameleon 1.1. You can add data to the >> map either through your MapFile or through the LayerManager widget. >> That being said, you can use either the XMLThemeLegend -or- the >> HTMLLegend as your basis for hiding/showing WMS and/or local data >> layers. Here is an example of an HTMLLegend template for showing a >> combination of both local and WMS data: >> >> [leg_layer_html order=ascending opt_flag=14] >> >> > name="legendlayername[]" value="[leg_layer_name]" [if name=layer_status >> oper=eq value=1]CHECKED[/if]> >> >>

[if name=wms_name >> oper=isnull][leg_layer_name][/if][if name=wms_name oper=isset][metadata >> name=WMS_TITLE][/if]

>> >> >> [/leg_layer_html] >> >> Note that the XMLThemeLegend assumes a structured layer list. For more >> information on HTMLLegends take a look at >> http://mapserver.gis.umn.edu/doc40/html-legend-howto.html >> >> Jason >> >> Schnider Markus wrote: >> >Hi all, >> > >> >Is it possible to add WMS with chameleon 1.1? >> >Is it at the moment only possible to add a layer with the mapfile >> >configuration? >> >If yes, how can I show the layer after a 'disable and enable' of the >> > layer? All WMS layers are 'lost' in the viewer, only the >> xml-theme-legend >> > shows the entries of the WMS layers. >> > >> >Kind regards >> > >> >Markus Schnider >> >Sourcepole AG >> >_______________________________________________ >> >Chameleon mailing list >> >Chameleon@lists.maptools.org >> >http://lists.maptools.org/mailman/listinfo/chameleon > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- From iives@holonics.ca Thu Mar 25 09:04:34 2004 Received: from hol-2k-prod02.holonicscorp.com ([209.47.162.17]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2PE4W5x003126 for ; Thu, 25 Mar 2004 09:04:34 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C41272.1397BDA2" Date: Thu, 25 Mar 2004 09:04:23 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Optimizing Chameleon Performance thread-index: AcQSchM4tVE572sIRamHE+3+MNfpdQ== From: "Ian Ives" To: Subject: [Chameleon] Optimizing Chameleon Performance Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------_=_NextPart_001_01C41272.1397BDA2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable What is the recommended hardware profile to deploy Chameleon for optimum performance i.e. OS, Processor, RAM =20 Thank you =20 Ian Ives =20 ------_=_NextPart_001_01C41272.1397BDA2 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

What is the recommended hardware profile to = deploy Chameleon for optimum performance i.e. OS, Processor, = RAM

 

Thank you

 

Ian Ives

 

=00 ------_=_NextPart_001_01C41272.1397BDA2-- From msr@sourcepole.ch Mon Mar 29 02:15:20 2004 Received: from smtp.tiscali.ch (smtp.tiscali.ch [212.40.5.52]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2T7FI5x003478 for ; Mon, 29 Mar 2004 02:15:19 -0500 Received: from wal.sourcepole (adsl-98-113-zh1.tiscali.ch [212.254.98.113]) by smtp.tiscali.ch (8.11.7/8.11.7) with ESMTP id i2T7FFr13391; Mon, 29 Mar 2004 09:15:15 +0200 Received: from msr.sourcepole ([192.168.1.104]) by wal.sourcepole with esmtp (Exim 3.35 #1 (Debian)) id 1B7qzU-0008FU-00; Mon, 29 Mar 2004 09:15:24 +0200 From: Schnider Markus Organization: Sourcepole AG To: bartvde@xs4all.nl Subject: Re: [Chameleon] WMS layers - chameleon 1.1 Date: Mon, 29 Mar 2004 09:15:15 +0200 User-Agent: KMail/1.6.1 References: <200403261105.50668.msr@sourcepole.ch> <200403261748.27412.msr@sourcepole.ch> In-Reply-To: Cc: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200403290915.15043.msr@sourcepole.ch> Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Jason, I've tried the example(s). It works. Thanks But in my application I need the widget layermanager: The simplest way to include it is, in our application or mine: It is shown a button, I can press it, but then the error message is shown: Fatal error: Call to a member function on a non-object in /usr/local/chameleon/htdocs/widgets/Layer.phtml on line 51 After comment the lines 51-53: //$oNewMapSession->oMap->web->set("imageurl", $_SESSION['gszTmpWebPath']); //$oNewMapSession->oMap->web->set("imagepath", $_SESSION['gszTmpImgPath']); //$oNewMapSession->oMap->selectOutputFormat($_SESSION['gszImgType']); I could see the popup with the possibilities, but with an other error, perhaps, because I have comment the three lines: Fatal error: Call to a member function on a non-object in /usr/local/chameleon/htdocs/widgets/Layer.phtml on line 344 Line 344: $aLayerOrder = $oNewMapSession->oMap->getlayersdrawingorder(); Where have I to set the variables 'imageurl', imagepath' else? ... ? I use Linux (Debian). Regards Markus Schnider On Friday 26 March 2004 20:36, Bart van den Eijnden wrote: > Hi Markus, > > try using the LegendTemplate widget for layer manager type of > functionality. You can see an example in the following application created > by DM Solutions (Chameleon 1.1 compatible): > > http://www.vz.geodan.nl/users/bart/geodan_ms4w-2003-10-31.zip > > If you want there are also Promote/Demote and Remove Layer widgets > available to use with the LegendTemplate. > > Best regards, > Bart > > On Fri, 26 Mar 2004 17:48:27 +0100, Schnider Markus > > wrote: > > Jason, > > > > I have tried to implement the LayerManager, but I have not succeeded in > > it. > > Some errors occured (.. in line 51 or 52 or ...). > > Then I've tried to comment this lines in the code. > > After changing the Code, I could see the popup, but with errors. > > > > Is there a documentation how to use the layermanager with Chameleon 1.1? > > Or have somebody a sample application with WMS support and the > > layermanager? > > > > Thanks > > > > Markus Schnider > > > > On Friday 26 March 2004 16:49, Jason Fournier wrote: > >> Markus, > >> > >> It is possible to use WMS/WFS in Chameleon 1.1. You can add data to the > >> map either through your MapFile or through the LayerManager widget. > >> That being said, you can use either the XMLThemeLegend -or- the > >> HTMLLegend as your basis for hiding/showing WMS and/or local data > >> layers. Here is an example of an HTMLLegend template for showing a > >> combination of both local and WMS data: > >> > >> [leg_layer_html order=ascending opt_flag=14] > >> > >> >> name="legendlayername[]" value="[leg_layer_name]" [if name=layer_status > >> oper=eq value=1]CHECKED[/if]> > >> > >>

[if name=wms_name > >> oper=isnull][leg_layer_name][/if][if name=wms_name oper=isset][metadata > >> name=WMS_TITLE][/if]

> >> > >> > >> [/leg_layer_html] > >> > >> Note that the XMLThemeLegend assumes a structured layer list. For more > >> information on HTMLLegends take a look at > >> http://mapserver.gis.umn.edu/doc40/html-legend-howto.html > >> > >> Jason > >> > >> Schnider Markus wrote: > >> >Hi all, > >> > > >> >Is it possible to add WMS with chameleon 1.1? > >> >Is it at the moment only possible to add a layer with the mapfile > >> >configuration? > >> >If yes, how can I show the layer after a 'disable and enable' of the > >> > layer? All WMS layers are 'lost' in the viewer, only the > >> > >> xml-theme-legend > >> > >> > shows the entries of the WMS layers. > >> > > >> >Kind regards > >> > > >> >Markus Schnider > >> >Sourcepole AG > >> >_______________________________________________ > >> >Chameleon mailing list > >> >Chameleon@lists.maptools.org > >> >http://lists.maptools.org/mailman/listinfo/chameleon > > > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > http://lists.maptools.org/mailman/listinfo/chameleon From jacob.delfos@maunsell.com Mon Mar 29 02:26:29 2004 Received: from aumel1gw002.maunsell.com (210-193-148-152.macquarie.net.au [210.193.148.152] (may be forged)) by www.maptools.org (8.12.5/8.12.5) with SMTP id i2T7QR60003527 for ; Mon, 29 Mar 2004 02:26:29 -0500 Received: from aumel1ex001.mel.maunsell.com.au ([172.21.0.15]) by aumel1gw002.maunsell.com (SAVSMTP 3.1.0.29) with SMTP id M2004032917285811730 for ; Mon, 29 Mar 2004 17:28:58 +1000 Received: by aumel1ex001.mel.maunsell.com.au with Internet Mail Service (5.5.2653.19) id ; Mon, 29 Mar 2004 17:28:11 +1000 Message-ID: From: "Delfos, Jacob" To: "'chameleon@lists.maptools.org'" Date: Mon, 29 Mar 2004 17:28:38 +1000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4155F.7415AAF0" Subject: [Chameleon] Large TIFF not rendering Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C4155F.7415AAF0 Content-Type: text/plain; charset="iso-8859-1" Hi List, I'm trying to display a geoTiff file of slightly less than a gigabyte, but it's not rendering. My TFW file is valid, because it shows alright in ArcGIS. It is in the same projection as the mapfile. I couldn't find any similar issues in the archive. Is there a limit on the filesize for a TIF? I'm using Chamaleon version 1.0.4. The TIF is RGB, 24bit. Thanks in advance, Jacob JACOB DELFOS SPATIAL INFORMATION ANALYST Maunsell Australia Pty Ltd 629 Newcastle Street PO Box 81 Leederville 6902 Western Australia ABN 20 093 846 925 Tel + 61 8 9281 6185 Fax + 61 8 9281 6297 jacob.delfos@maunsell.com ------_=_NextPart_001_01C4155F.7415AAF0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Large TIFF not rendering

Hi List,

I'm trying to display a geoTiff file = of slightly less than a gigabyte, but it's not rendering. My TFW file = is valid, because it shows alright in ArcGIS. It is in the same = projection as the mapfile. I couldn't find any similar issues in the = archive. Is there a limit on the filesize for a TIF? I'm using = Chamaleon version 1.0.4. The TIF is RGB, 24bit.

Thanks in advance,

Jacob


JACOB DELFOS
SPATIAL INFORMATION ANALYST
Maunsell Australia = Pty Ltd
629 Newcastle Street
PO Box 81
Leederville 6902
Western Australia
ABN 20 093 846 925

Tel =A0=A0=A0=A0+ 61 8 9281 6185
Fax=A0=A0=A0 + 61 8 9281 6297
jacob.delfos@maunsell.com

------_=_NextPart_001_01C4155F.7415AAF0-- From mapgisnewbies@yahoo.com Mon Mar 29 09:05:31 2004 Received: from web60004.mail.yahoo.com (web60004.mail.yahoo.com [216.109.116.227]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i2TE5U5x006388 for ; Mon, 29 Mar 2004 09:05:31 -0500 Message-ID: <20040329140529.86533.qmail@web60004.mail.yahoo.com> Received: from [199.212.19.130] by web60004.mail.yahoo.com via HTTP; Mon, 29 Mar 2004 06:05:29 PST Date: Mon, 29 Mar 2004 06:05:29 -0800 (PST) From: we wei To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Chameleon] Questions about Chameleon-1.1a Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi all, Does anyone know how can I use a context file to start up Chameleon application in Chameleon 1.1a instead of a mapfile? Also, is it possible to have the manage servers functionality in the Layer manager of Chameleon 1.0.5 in Chameleon-1.1a ? If it is possible, which widget should I use? Thanks in advance, Wei __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html From jfournier@dmsolutions.ca Mon Mar 29 12:39:35 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2THdY5x007399 for ; Mon, 29 Mar 2004 12:39:35 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i2THdYMP004509; Mon, 29 Mar 2004 12:39:34 -0500 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i2THdW0X015169; Mon, 29 Mar 2004 12:39:33 -0500 Message-ID: <40685F73.2070800@dmsolutions.ca> Date: Mon, 29 Mar 2004 12:40:03 -0500 From: Jason Fournier Reply-To: jfournier@dmsolutions.ca User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: we wei CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Questions about Chameleon-1.1a References: <20040329140529.86533.qmail@web60004.mail.yahoo.com> In-Reply-To: <20040329140529.86533.qmail@web60004.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Wei, It's possible, through the index.phtml page, to load a context into the existing mapfile. The mapfile is a necessary component to the operation of the application. That being said, the Mapfile can be vanilla (ie, contain no layers). Here is a sample index.phtml you could use: moMapSession = new MapSession_RW; $this->moMapSession->setTempDir( getSessionSavePath()); } } $oApp = new FOO(); $oApp->CWCInitialize( $szTemplate, $szMapFile ); if (!isset($_GET['NAV_CMD']) && !isset($_POST['NAV_CMD'])) { $oApp->moMapSession->oMap->loadMapContext( $GLOBALS['szContext'] ); } $oApp->CWCExecute(); ?> This code is a temporary solution to a feature that will be supported in a future version of Chameleon. Kind Regards, Jason we wei wrote: >Hi all, > >Does anyone know how can I use a context file to start >up Chameleon application in Chameleon 1.1a instead of >a mapfile? Also, is it possible to have the manage >servers functionality in the Layer manager of >Chameleon 1.0.5 in Chameleon-1.1a ? If it is >possible, which widget should I use? > >Thanks in advance, > >Wei > > >__________________________________ >Do you Yahoo!? >Yahoo! Finance Tax Center - File online. File on time. >http://taxes.yahoo.com/filing.html >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > > -- ___________________________ Jason Fournier DM Solutions Group Application Developer Ottawa, ON 613.565.5056 x 18 jfournier@dmsolutions.ca From mapgisnewbies@yahoo.com Mon Mar 29 12:55:59 2004 Received: from web60002.mail.yahoo.com (web60002.mail.yahoo.com [216.109.116.225]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i2THtx5x007477 for ; Mon, 29 Mar 2004 12:55:59 -0500 Message-ID: <20040329175557.62620.qmail@web60002.mail.yahoo.com> Received: from [199.212.19.130] by web60002.mail.yahoo.com via HTTP; Mon, 29 Mar 2004 09:55:57 PST Date: Mon, 29 Mar 2004 09:55:57 -0800 (PST) From: we wei Subject: Re: [Chameleon] Questions about Chameleon-1.1a To: jfournier@dmsolutions.ca Cc: chameleon@lists.maptools.org In-Reply-To: <40685F73.2070800@dmsolutions.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Jason, Thanks for your help :) It is great that a context file can be used. And do you know if manager server functionality is ready in Chameleon-1.1a yet ? 'coz in Chameleon-1.0.5, it allows users to add layers very easy through remote WMS server. If this is also included in Chameleon-1.1a then it will be great :) Wei --- Jason Fournier wrote: > Wei, > > It's possible, through the index.phtml page, to load > a context into the > existing mapfile. The mapfile is a necessary > component to the operation > of the application. That being said, the Mapfile > can be vanilla (ie, > contain no layers). Here is a sample index.phtml > you could use: > > > include( "/path/to/chameleon.php" ); > > $szTemplate = "test.html"; > $szMapFile = "/path/to/test.map"; > $szContext = "/path/to/test.cml"; > > class FOO extends Chameleon > { > function FOO() > { > parent::Chameleon(); > $this->moMapSession = new MapSession_RW; > $this->moMapSession->setTempDir( > getSessionSavePath()); > } > } > > $oApp = new FOO(); > $oApp->CWCInitialize( $szTemplate, $szMapFile ); > > if (!isset($_GET['NAV_CMD']) && > !isset($_POST['NAV_CMD'])) > { > $oApp->moMapSession->oMap->loadMapContext( > $GLOBALS['szContext'] ); > } > > $oApp->CWCExecute(); > > ?> > > This code is a temporary solution to a feature that > will be supported in > a future version of Chameleon. > > Kind Regards, > Jason > > > > > > we wei wrote: > > >Hi all, > > > >Does anyone know how can I use a context file to > start > >up Chameleon application in Chameleon 1.1a instead > of > >a mapfile? Also, is it possible to have the manage > >servers functionality in the Layer manager of > >Chameleon 1.0.5 in Chameleon-1.1a ? If it is > >possible, which widget should I use? > > > >Thanks in advance, > > > >Wei > > > > > >__________________________________ > >Do you Yahoo!? > >Yahoo! Finance Tax Center - File online. File on > time. > >http://taxes.yahoo.com/filing.html > >_______________________________________________ > >Chameleon mailing list > >Chameleon@lists.maptools.org > >http://lists.maptools.org/mailman/listinfo/chameleon > > > > > > > > -- > ___________________________ > Jason Fournier > DM Solutions Group > Application Developer > Ottawa, ON > 613.565.5056 x 18 > jfournier@dmsolutions.ca > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html From pdymecki@sympatico.ca Mon Mar 29 22:04:26 2004 Received: from tomts22-srv.bellnexxia.net (tomts22.bellnexxia.net [209.226.175.184]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2U34P5x009641 for ; Mon, 29 Mar 2004 22:04:25 -0500 Received: from paul ([67.71.16.177]) by tomts22-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20040330030419.FFWN7304.tomts22-srv.bellnexxia.net@paul>; Mon, 29 Mar 2004 22:04:19 -0500 Message-ID: <000c01c41603$b75ffa50$7b45fea9@paul> From: "Paul Dymecki" To: , "we wei" Cc: References: <20040329140529.86533.qmail@web60004.mail.yahoo.com> <40685F73.2070800@dmsolutions.ca> Subject: Re: [Chameleon] Questions about Chameleon-1.1a Date: Mon, 29 Mar 2004 22:04:28 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, I was wondering if there is a tool in Chameleon to make points hotlinked? I've implemented this feature in my last maplab application but have no idea where to start with Chameleon? Paul ----- Original Message ----- From: "Jason Fournier" To: "we wei" Cc: Sent: Monday, March 29, 2004 12:40 PM Subject: Re: [Chameleon] Questions about Chameleon-1.1a > Wei, > > It's possible, through the index.phtml page, to load a context into the > existing mapfile. The mapfile is a necessary component to the operation > of the application. That being said, the Mapfile can be vanilla (ie, > contain no layers). Here is a sample index.phtml you could use: > > > include( "/path/to/chameleon.php" ); > > $szTemplate = "test.html"; > $szMapFile = "/path/to/test.map"; > $szContext = "/path/to/test.cml"; > > class FOO extends Chameleon > { > function FOO() > { > parent::Chameleon(); > $this->moMapSession = new MapSession_RW; > $this->moMapSession->setTempDir( getSessionSavePath()); > } > } > > $oApp = new FOO(); > $oApp->CWCInitialize( $szTemplate, $szMapFile ); > > if (!isset($_GET['NAV_CMD']) && !isset($_POST['NAV_CMD'])) > { > $oApp->moMapSession->oMap->loadMapContext( $GLOBALS['szContext'] ); > } > > $oApp->CWCExecute(); > > ?> > > This code is a temporary solution to a feature that will be supported in > a future version of Chameleon. > > Kind Regards, > Jason > > > > > > we wei wrote: > > >Hi all, > > > >Does anyone know how can I use a context file to start > >up Chameleon application in Chameleon 1.1a instead of > >a mapfile? Also, is it possible to have the manage > >servers functionality in the Layer manager of > >Chameleon 1.0.5 in Chameleon-1.1a ? If it is > >possible, which widget should I use? > > > >Thanks in advance, > > > >Wei > > > > > >__________________________________ > >Do you Yahoo!? > >Yahoo! Finance Tax Center - File online. File on time. > >http://taxes.yahoo.com/filing.html > >_______________________________________________ > >Chameleon mailing list > >Chameleon@lists.maptools.org > >http://lists.maptools.org/mailman/listinfo/chameleon > > > > > > > > -- > ___________________________ > Jason Fournier > DM Solutions Group > Application Developer > Ottawa, ON > 613.565.5056 x 18 > jfournier@dmsolutions.ca > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon From aaronr@ccalmr.ogi.edu Tue Mar 30 00:48:27 2004 Received: from amb24.ccalmr.ogi.edu (amb24.ccalmr.ogi.edu [129.95.72.56]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2U5mR5x010187 for ; Tue, 30 Mar 2004 00:48:27 -0500 Received: from ZPULLEY1 (dsl-206-102-11-36.dsl.easystreet.com [206.102.11.36]) by amb24.ccalmr.ogi.edu (8.12.3/8.12.3) with ESMTP id i2U5mOGN2052466; Mon, 29 Mar 2004 21:48:24 -0800 (PST) From: "Aaron Racicot" To: "'Paul Dymecki'" Cc: Date: Mon, 29 Mar 2004 21:48:25 -0800 Message-ID: <000001c4161a$9ee75ce0$0200a8c0@ZPULLEY1> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_01C415D7.90C41CE0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal In-Reply-To: <002f01c4160c$8e548960$7b45fea9@paul> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: [Chameleon] RE: onload() Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0001_01C415D7.90C41CE0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Paul, I am actually heading out of town tomorrow morning, but today I made some good progress. I was having ALL SORTS of problems with my new mapserver installation, including chameleon, maplab, mapscript, and just about everything else you could imagine. Every product I tried had a different problem, but all smelled of the same type of issue. Well, after hunting and hunting I found a message on a php message board that talked about incompatibility of libPDF and libPNG. I don't have the web addresses here at home, but next week I can send them to you (if you are even having the same issue). In this installation I had decided to play with PDF's so I added the mapserver switch at configure for PDF's. Well, it turns out that there are certain configurations of libPDF (mine was an RPM I installed) that don't play nice with libPNG, and actually can cause runtime errors with PNG's. So after stripping the problem down to simple PNG manipulation via PHP I found certain PNG functions were hosed. So, a quick re-configure with no PDF support produced a working mapscript installation. All of the sudden maplab worked, and I was able to port some of my old mapserver work from my 3.6 installation and get postgres/postgis up and running. What I did not have time to look at was chameleon again today, but I am feeling pretty confident that the issues I was having are going to be tied to this same problem. So, this little rant might not help you if you are not suffering from the same problem, but check your mapserver configure and see if you have PDF enabled. Hope you make some progress, and I would love to check back in when I get back into town next week. Good luck! Aaron -----Original Message----- From: Paul Dymecki [mailto:paul.dymecki@sympatico.ca] Sent: Monday, March 29, 2004 8:08 PM To: aaronr@ccalmr.ogi.edu Cc: chameleon@lists.maptools.org Subject: onload() Hi Aaron, Not sure if you are still having the same problems with the onload funtion but i am also having trouble with it. I debugged the chameleon demo down to the panmap widget which is actually called from the onload function.. If you do a view source on the demo html page you will find the related javascript function. Still this is no anwer just more questions.. Paul ------=_NextPart_000_0001_01C415D7.90C41CE0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Paul,

        = ;    I am actually heading out of town tomorrow morning, but today I made some = good progress.  I was having ALL = SORTS of problems with my new mapserver installation, including chameleon, = maplab, mapscript, and just about everything else you could imagine.  Every product I tried had a = different problem, but all smelled of the same type of issue.  Well, after hunting and hunting = I found a message on a php message board that talked about incompatibility of = libPDF and libPNG.  I don’t = have the web addresses here at home, but next week I can send them to you (if you are = even having the same issue).  In = this installation I had decided to play with PDF’s so I added the = mapserver switch at configure for PDF’s.  Well, it turns out that there are certain configurations of = libPDF (mine was an RPM I installed) that don’t play nice with libPNG, and = actually can cause runtime errors with PNG’s.  So after stripping the problem down to simple PNG manipulation = via PHP I found certain PNG functions were hosed.  So, a quick re-configure with no PDF support produced a working mapscript installation.  All of the sudden maplab worked, and I was able to port some of my old mapserver = work from my 3.6 installation and get postgres/postgis up and running.  What I did not have time to look = at was chameleon again today, but I am feeling pretty confident that the issues = I was having are going to be tied to this same problem.  So, this little rant might not = help you if you are not suffering from the same problem, but check your mapserver configure and see if you have PDF enabled.

 

Hope you make some progress, and I = would love to check back in when I get back into town next week.  Good = luck!

 

Aaron

 

-----Original = Message-----
From: Paul Dymecki [mailto:paul.dymecki@sympatico.ca]
Sent: Monday, March 29, = 2004 8:08 PM
To: = aaronr@ccalmr.ogi.edu
Cc: = chameleon@lists.maptools.org
Subject: = onload()

 

Hi = Aaron,

   Not sure if = you are still having the same problems with the onload funtion but i am also = having trouble with it.  I debugged the chameleon demo down to = the panmap widget which is actually called from the onload function..  = If you do a view source on the demo html page you will find the related = javascript function.  Still this is no anwer just more = questions..

Paul

------=_NextPart_000_0001_01C415D7.90C41CE0-- From msr@sourcepole.ch Tue Mar 30 01:59:49 2004 Received: from smtp.tiscali.ch (smtp.tiscali.ch [212.40.5.52]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2U6xl5x010481 for ; Tue, 30 Mar 2004 01:59:48 -0500 Received: from wal.sourcepole (adsl-98-113-zh1.tiscali.ch [212.254.98.113]) by smtp.tiscali.ch (8.11.7/8.11.7) with ESMTP id i2U6xkr22882 for ; Tue, 30 Mar 2004 08:59:46 +0200 Received: from msr.sourcepole ([192.168.1.104]) by wal.sourcepole with esmtp (Exim 3.35 #1 (Debian)) id 1B8DE4-0004AB-00 for ; Tue, 30 Mar 2004 08:59:56 +0200 From: Schnider Markus Organization: Sourcepole AG To: chameleon@lists.maptools.org Date: Tue, 30 Mar 2004 08:59:45 +0200 User-Agent: KMail/1.6.1 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200403300859.45684.msr@sourcepole.ch> Subject: [Chameleon] layermanager in chameleon 1.1a Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi all, I've tried this code in the index file: ---------------------------------------------------------------------------------------- moMapSession = new MapSession_RW; $this->moMapSession->setTempDir( getSessionSavePath()); } } $oApp = new FOO(); $oApp->CWCInitialize( $szTemplate, $szMapFile ); if (!isset($_GET['NAV_CMD']) && !isset($_POST['NAV_CMD'])) { $oApp->moMapSession->oMap->loadMapContext( $GLOBALS['szContext'] ); } $oApp->CWCExecute(); ?> ---------------------------------------------------------------------------------------- and added the layermanager widget in the sample.html. What else must I include to run the layermanager without errors? Is there an other widget, to include wms servers? Thanks, Markus Schnider From paul.dymecki@sympatico.ca Mon Mar 29 23:07:37 2004 Received: from tomts16-srv.bellnexxia.net (tomts16.bellnexxia.net [209.226.175.4]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2U47a5x009842 for ; Mon, 29 Mar 2004 23:07:37 -0500 Received: from paul ([67.71.16.177]) by tomts16-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20040330040735.IKHM11615.tomts16-srv.bellnexxia.net@paul>; Mon, 29 Mar 2004 23:07:35 -0500 Message-ID: <002f01c4160c$8e548960$7b45fea9@paul> From: "Paul Dymecki" To: Cc: Date: Mon, 29 Mar 2004 23:07:45 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_002C_01C415E2.A55ACCC0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: [Chameleon] onload() Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_002C_01C415E2.A55ACCC0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Aaron, Not sure if you are still having the same problems with the onload = funtion but i am also having trouble with it. I debugged the chameleon = demo down to the panmap widget which is actually called from the onload = function.. If you do a view source on the demo html page you will find = the related javascript function. Still this is no anwer just more = questions.. Paul ------=_NextPart_000_002C_01C415E2.A55ACCC0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi Aaron,
   Not sure if you are still = having the=20 same problems with the onload funtion but i am also having trouble with=20 it.  I debugged the chameleon demo down to the panmap = widget=20 which is actually called from the onload function..  If you do a = view=20 source on the demo html page you will find the related javascript=20 function.  Still this is no anwer just more = questions..
Paul
------=_NextPart_000_002C_01C415E2.A55ACCC0-- From pagameba@webmail1.magma.ca Tue Mar 30 09:00:32 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2UE0W5x012876 for ; Tue, 30 Mar 2004 09:00:32 -0500 Received: from webmail1.magma.ca (webmail1.magma.ca [206.191.0.241]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i2UE0VKG001537; Tue, 30 Mar 2004 09:00:31 -0500 Received: (from pagameba@localhost) by webmail1.magma.ca (Magma's Logging Server) id i2UE0Vwv013599; Tue, 30 Mar 2004 09:00:31 -0500 (EST) Date: Tue, 30 Mar 2004 09:00:31 -0500 (EST) Message-Id: <200403301400.i2UE0Vwv013599@webmail1.magma.ca> To: Schnider Markus , chameleon@lists.maptools.org From: "Paul Spencer" Subject: Re: [Chameleon] layermanager in chameleon 1.1a X-Account: pagameba X-Sender-IP: 132.156.11.217 X-INFO: Folder - 0, Message - 0, MimeBody - 0 Mime-Version: 1.0 Content-Type: text/plain Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Markus, the layer manager widget has not been updated to work with the latest version of chameleon and will actually be removed from the distribution. In its place will be a couple of new widgets including a WMSBrowser widget (to explore and add WMS layers) and some sort of layer management widget which will allow for promote/demote/delete functionality. These widgets will be available in the next couple of weeks. Cheers, Paul On Mar 30, Schnider Markus wrote: > > Hi all, > > I've tried this code in the index file: > > ---------------------------------------------------------------------------------------- > > include( "/path/to/chameleon.php" ); > > $szTemplate = "test.html"; > $szMapFile = "/path/to/test.map"; > $szContext = "/path/to/test.cml"; > > class FOO extends Chameleon > { > function FOO() > { > parent::Chameleon(); > $this->moMapSession = new MapSession_RW; > $this->moMapSession->setTempDir( getSessionSavePath()); > } > } > > $oApp = new FOO(); > $oApp->CWCInitialize( $szTemplate, $szMapFile ); > > if (!isset($_GET['NAV_CMD']) && !isset($_POST['NAV_CMD'])) > { > $oApp->moMapSession->oMap->loadMapContext( $GLOBALS['szContext'] ); > } > > $oApp->CWCExecute(); > > ?> > ---------------------------------------------------------------------------------------- > > and added the layermanager widget in the sample.html. > > What else must I include to run the layermanager without errors? > Is there an other widget, to include wms servers? > > Thanks, > > Markus Schnider > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From jfournier@dmsolutions.ca Tue Mar 30 09:06:48 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2UE6m5x012928 for ; Tue, 30 Mar 2004 09:06:48 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i2UE6lKG005037; Tue, 30 Mar 2004 09:06:47 -0500 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i2UE6kJ7020674; Tue, 30 Mar 2004 09:06:48 -0500 Message-ID: <40697F2C.4060901@dmsolutions.ca> Date: Tue, 30 Mar 2004 09:07:40 -0500 From: Jason Fournier Reply-To: jfournier@dmsolutions.ca User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Paul Dymecki CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Questions about Chameleon-1.1a References: <20040329140529.86533.qmail@web60004.mail.yahoo.com> <40685F73.2070800@dmsolutions.ca> <000c01c41603$b75ffa50$7b45fea9@paul> In-Reply-To: <000c01c41603$b75ffa50$7b45fea9@paul> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Paul, Advanced MapTips will handle hotlinking of point layers (or line or polygonal for that matter) to a predefined URL using an attribute field from your selected datasource. This widget will be available in the next few weeks. Regards, Jason Paul Dymecki wrote: >Hi, > I was wondering if there is a tool in Chameleon to make points hotlinked? >I've implemented this feature in my last maplab application but have no idea >where to start with Chameleon? >Paul > > -- ___________________________ Jason Fournier DM Solutions Group Application Developer Ottawa, ON 613.565.5056 x 18 jfournier@dmsolutions.ca From msr@sourcepole.ch Tue Mar 30 10:19:03 2004 Received: from smtp.tiscali.ch (smtp.tiscali.ch [212.40.5.52]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2UFJ25x013295 for ; Tue, 30 Mar 2004 10:19:03 -0500 Received: from wal.sourcepole (adsl-98-113-zh1.tiscali.ch [212.254.98.113]) by smtp.tiscali.ch (8.11.7/8.11.7) with ESMTP id i2UFIsr22104; Tue, 30 Mar 2004 17:18:55 +0200 Received: from msr.sourcepole ([192.168.1.104]) by wal.sourcepole with esmtp (Exim 3.35 #1 (Debian)) id 1B8L17-0001F5-00; Tue, 30 Mar 2004 17:19:05 +0200 From: Schnider Markus Organization: Sourcepole AG To: "Paul Spencer" Subject: Re: [Chameleon] layermanager in chameleon 1.1a Date: Tue, 30 Mar 2004 17:18:53 +0200 User-Agent: KMail/1.6.1 References: <200403301400.i2UE0Vwv013599@webmail1.magma.ca> In-Reply-To: <200403301400.i2UE0Vwv013599@webmail1.magma.ca> Cc: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200403301718.53561.msr@sourcepole.ch> Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Paul, Thanks, Do you also know the how long it can take to release this version? Or, has the cvs version this included? Is there yet a possibility to manage wms layers? Should I take the chameleon version 1.0 or wait for the new version? Thanks Markus On Tuesday 30 March 2004 16:00, Paul Spencer wrote: > Markus, > > the layer manager widget has not been updated to work with the latest > version of chameleon and will actually be removed from the distribution. > In its place will be a couple of new widgets including a WMSBrowser widget > (to explore and add WMS layers) and some sort of layer management widget > which will allow for promote/demote/delete functionality. > > These widgets will be available in the next couple of weeks. > > Cheers, > > Paul > > On Mar 30, Schnider Markus wrote: > > Hi all, > > > > I've tried this code in the index file: > > > > ------------------------------------------------------------------------- > >--------------- > > > include( "/path/to/chameleon.php" ); > > > > $szTemplate = "test.html"; > > $szMapFile = "/path/to/test.map"; > > $szContext = "/path/to/test.cml"; > > > > class FOO extends Chameleon > > { > > function FOO() > > { > > parent::Chameleon(); > > $this->moMapSession = new MapSession_RW; > > $this->moMapSession->setTempDir( getSessionSavePath()); > > } > > } > > > > $oApp = new FOO(); > > $oApp->CWCInitialize( $szTemplate, $szMapFile ); > > > > if (!isset($_GET['NAV_CMD']) && !isset($_POST['NAV_CMD'])) > > { > > $oApp->moMapSession->oMap->loadMapContext( $GLOBALS['szContext'] ); > > } > > > > $oApp->CWCExecute(); > > > > ?> > > ------------------------------------------------------------------------- > >--------------- > > > > and added the layermanager widget in the sample.html. > > > > What else must I include to run the layermanager without errors? > > Is there an other widget, to include wms servers? > > > > Thanks, > > > > Markus Schnider > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > > href='http://lists.maptools.org/mailman/listinfo/chameleon'>http://lists.ma >ptools.org/mailman/listinfo/chameleon > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon From msr@sourcepole.ch Wed Mar 31 01:08:35 2004 Received: from smtp.tiscali.ch (smtp.tiscali.ch [212.40.5.52]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i2V68Y5x017393 for ; Wed, 31 Mar 2004 01:08:34 -0500 Received: from wal.sourcepole (adsl-98-113-zh1.tiscali.ch [212.254.98.113]) by smtp.tiscali.ch (8.11.7/8.11.7) with ESMTP id i2V68Qr07842; Wed, 31 Mar 2004 08:08:27 +0200 Received: from msr.sourcepole ([192.168.1.104]) by wal.sourcepole with esmtp (Exim 3.35 #1 (Debian)) id 1B8Ytt-0000oC-00; Wed, 31 Mar 2004 08:08:33 +0200 From: Schnider Markus Organization: Sourcepole AG To: "Paul Spencer" Subject: Re: [Chameleon] layermanager in chameleon 1.1a Date: Wed, 31 Mar 2004 08:08:21 +0200 User-Agent: KMail/1.6.1 References: <200403301554.i2UFsxuu027098@webmail2.magma.ca> In-Reply-To: <200403301554.i2UFsxuu027098@webmail2.magma.ca> Cc: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200403310808.21050.msr@sourcepole.ch> Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Thanks, It will solve more problems than to use the version 1.0. It must be very new. I have a look sometimes into the cvs ... Markus On Tuesday 30 March 2004 17:54, you wrote: > Markus, > > I'd prefer that you use the new version. You can obtain it from cvs and > there will be a beta release in 1-2 weeks if you can wait. The beta > release should have everything in it. Stuff is in cvs now, but may not be > finished or stable. > > Cheers, > > Paul > > On Mar 30, Schnider Markus wrote: > > Paul, > > > > Thanks, > > > > Do you also know the how long it can take to release this version? > > Or, has the cvs version this included? > > Is there yet a possibility to manage wms layers? > > Should I take the chameleon version 1.0 or wait for the new version? > > > > Thanks > > > > Markus > > > > On Tuesday 30 March 2004 16:00, Paul Spencer wrote: > > > Markus, > > > > > > the layer manager widget has not been updated to work with the latest > > > version of chameleon and will actually be removed from the > > > distribution. In its place will be a couple of new widgets including a > > > WMSBrowser widget (to explore and add WMS layers) and some sort of > > > layer management widget which will allow for promote/demote/delete > > > functionality. > > > > > > These widgets will be available in the next couple of weeks. > > > > > > Cheers, > > > > > > Paul > > > > > > On Mar 30, Schnider Markus wrote: > > > > Hi all, > > > > > > > > I've tried this code in the index file: > > > > > > > > --------------------------------------------------------------------- > > > >---- --------------- > > > > > > > include( "/path/to/chameleon.php" ); > > > > > > > > $szTemplate = "test.html"; > > > > $szMapFile = "/path/to/test.map"; > > > > $szContext = "/path/to/test.cml"; > > > > > > > > class FOO extends Chameleon > > > > { > > > > function FOO() > > > > { > > > > parent::Chameleon(); > > > > $this->moMapSession = new MapSession_RW; > > > > $this->moMapSession->setTempDir( getSessionSavePath()); > > > > } > > > > } > > > > > > > > $oApp = new FOO(); > > > > $oApp->CWCInitialize( $szTemplate, $szMapFile ); > > > > > > > > if (!isset($_GET['NAV_CMD']) && !isset($_POST['NAV_CMD'])) > > > > { > > > > $oApp->moMapSession->oMap->loadMapContext( $GLOBALS['szContext'] > > > > ); } > > > > > > > > $oApp->CWCExecute(); > > > > > > > > ?> > > > > --------------------------------------------------------------------- > > > >---- --------------- > > > > > > > > and added the layermanager widget in the sample.html. > > > > > > > > What else must I include to run the layermanager without errors? > > > > Is there an other widget, to include wms servers? > > > > > > > > Thanks, > > > > > > > > Markus Schnider > > > > _______________________________________________ > > > > Chameleon mailing list > > > > Chameleon@lists.maptools.org > > > > > > > > > href=' > > href='http://lists.maptools.org/mailman/listinfo/chameleon'> > href='http://lists.ma'>http://lists.ma'>http://lists.maptools.org/mailm >an/listinfo/chameleon'>http://lists.ma > > > >ptools.org/mailman/listinfo/chameleon > > > > > > _______________________________________________ > > > Chameleon mailing list > > > Chameleon@lists.maptools.org > > > > href='http://lists.maptools.org/mailman/listinfo/chameleon'>http://lists.ma >ptools.org/mailman/listinfo/chameleon From pagameba@magma.ca Thu Apr 1 10:04:55 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i31F4t5x028859 for ; Thu, 1 Apr 2004 10:04:55 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i31F4sjs007237; Thu, 1 Apr 2004 10:04:54 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i31F4q9t020236; Thu, 1 Apr 2004 10:04:54 -0500 Message-ID: <406C2F91.4050204@magma.ca> Date: Thu, 01 Apr 2004 10:04:49 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Schnider Markus CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] layermanager in chameleon 1.1a References: <200403301400.i2UE0Vwv013599@webmail1.magma.ca> <200403301718.53561.msr@sourcepole.ch> In-Reply-To: <200403301718.53561.msr@sourcepole.ch> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: In the very latest cvs is a new widget to launch a WMS Browser, which has similiar functionality to MapBrowser from MapLab, including adding, removing and refreshing WMS Servers, and browsing layers from WMS servers then adding them to the current map view. There is no documentation for this yet, and it has not been fully tested. The next release will be in a couple of weeks. Cheers, Paul Schnider Markus wrote: > Paul, > > Thanks, > > Do you also know the how long it can take to release this version? > Or, has the cvs version this included? > Is there yet a possibility to manage wms layers? > Should I take the chameleon version 1.0 or wait for the new version? > > Thanks > > Markus > > On Tuesday 30 March 2004 16:00, Paul Spencer wrote: > >>Markus, >> >>the layer manager widget has not been updated to work with the latest >>version of chameleon and will actually be removed from the distribution. >>In its place will be a couple of new widgets including a WMSBrowser widget >>(to explore and add WMS layers) and some sort of layer management widget >>which will allow for promote/demote/delete functionality. >> >>These widgets will be available in the next couple of weeks. >> >>Cheers, >> >>Paul >> >>On Mar 30, Schnider Markus wrote: >> >>>Hi all, >>> >>>I've tried this code in the index file: >>> >>>------------------------------------------------------------------------- >>>--------------- >> >>>include( "/path/to/chameleon.php" ); >>> >>>$szTemplate = "test.html"; >>>$szMapFile = "/path/to/test.map"; >>>$szContext = "/path/to/test.cml"; >>> >>>class FOO extends Chameleon >>>{ >>> function FOO() >>> { >>> parent::Chameleon(); >>> $this->moMapSession = new MapSession_RW; >>> $this->moMapSession->setTempDir( getSessionSavePath()); >>> } >>>} >>> >>>$oApp = new FOO(); >>>$oApp->CWCInitialize( $szTemplate, $szMapFile ); >>> >>>if (!isset($_GET['NAV_CMD']) && !isset($_POST['NAV_CMD'])) >>>{ >>> $oApp->moMapSession->oMap->loadMapContext( $GLOBALS['szContext'] ); >>>} >>> >>>$oApp->CWCExecute(); >>> >>>?> >>>------------------------------------------------------------------------- >>>--------------- >>> >>>and added the layermanager widget in the sample.html. >>> >>>What else must I include to run the layermanager without errors? >>>Is there an other widget, to include wms servers? >>> >>>Thanks, >>> >>>Markus Schnider >>>_______________________________________________ >>>Chameleon mailing list >>>Chameleon@lists.maptools.org >>>> >>href='http://lists.maptools.org/mailman/listinfo/chameleon'>http://lists.ma >>ptools.org/mailman/listinfo/chameleon >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon > > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Apr 1 10:07:28 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i31F7S5x028888 for ; Thu, 1 Apr 2004 10:07:28 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i31F7RY6030704; Thu, 1 Apr 2004 10:07:27 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i31F7Pif018646; Thu, 1 Apr 2004 10:07:27 -0500 Message-ID: <406C302A.1020401@magma.ca> Date: Thu, 01 Apr 2004 10:07:22 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Delfos, Jacob" CC: "'chameleon@lists.maptools.org'" Subject: Re: [Chameleon] Large TIFF not rendering References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Jacob, there is not, as far as I know, any limitations on size of data files. If you are using Chameleon 1.0.4 then you are accessing layers via WMS by loading a context file, unless you have hacked the source to do something different? This would mean that the type of the file is essentially immaterial. Can you explain what you are trying to do? Delfos, Jacob wrote: > Hi List, > > I'm trying to display a geoTiff file of slightly less than a gigabyte, > but it's not rendering. My TFW file is valid, because it shows alright > in ArcGIS. It is in the same projection as the mapfile. I couldn't find > any similar issues in the archive. Is there a limit on the filesize for > a TIF? I'm using Chamaleon version 1.0.4. The TIF is RGB, 24bit. > > Thanks in advance, > > Jacob > > > *JACOB DELFOS > SPATIAL INFORMATION ANALYST > *Maunsell Australia Pty Ltd > 629 Newcastle Street > PO Box 81 > Leederville 6902 > Western Australia > ABN 20 093 846 925 > > Tel + 61 8 9281 6185 > Fax + 61 8 9281 6297 > _jacob.delfos@maunsell.com_ > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Apr 1 10:11:03 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i31FB35x028921 for ; Thu, 1 Apr 2004 10:11:03 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i31FB3js011355; Thu, 1 Apr 2004 10:11:03 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i31FAx9d026016; Thu, 1 Apr 2004 10:11:03 -0500 Message-ID: <406C3100.4030005@magma.ca> Date: Thu, 01 Apr 2004 10:10:56 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Debbie Pagurek CC: jfournier@dmsolutions.ca, chameleon@lists.maptools.org Subject: Re: [Chameleon] language change References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Debbie, there is a small problem in the template parser that affects the language widget, it can be resolved by adding a space at the end of the widget definition. Perhaps this is your problem? ^ <- space here Cheers, Paul Debbie Pagurek wrote: > If I put that in, > now i get an error that says: > > document.forms[0].LANGUAGE has no properties > source file http://latlong24.gis.agr.gc.ca/cwc2/cwc2.php Line 3110 > > Debbie > > >>> Jason Fournier 03/26/04 10:26AM >>> > Debbie, > > The implementation of the Language widget should be identical in CWC2 as > it is in Chameleon. Out of curiousity ... if you place the following js > function in the HEAD of your template does it work?: > > /** > * set the current language > */ > function setLanguage(szLanguage) > { > aLanguages = new Array(); > aLanguages[aLanguages.length] = new Array( "en-CA" ); > aLanguages[aLanguages.length] = new Array( "fr-CA" ); > > > bValid = false; > for( i=0; i< aLanguages.length; i++ ) > { > if ( aLanguages[i][0] == szLanguage ) > { > bValid = true; > break; > } > } > document.forms[0].LANGUAGE.value = szLanguage; > document.forms[0].submit(); > return true; > > } > > Jason > > > > > > > > Debbie Pagurek wrote: > > > Hi all, > > I hate to muddy the waters on the Chameleon list, but I also have > > the old CWC2 product installed on my systems and I'd like to get the > > language translation working there as well. However, I keep seeing a > > javascript error that says that setLanguage is undefined. > > > > Jason or anyone else... > > how is the Language widget used in the old CWC2 product? What is the > > difference between implementing it in CWC2 vs the latest Chameleon > > version? > > > > Thanks for your help. > > > > D. Pagurek > > > > > > >>> Jason Fournier 03/23/04 05:40PM >>> > > Debbie, > > > > Along with the required SharedResource Declaration you will have to add > > the following lines just before you initialize the application > > index.phtml. Here's an example: > > > > $oApp = new MapApp(); // this is the class in index.phtml which extends > > the Chameleon class > > $oApp->CWCAddRegionalTemplate( "en-CA", "mymap_en.html"); > > $oApp->CWCAddRegionalTemplate( "fr-CA", "mymap_fr.html"); > > $oApp->CWCInitialize( $szTemplate, $szMapFile ); > > > > This assumes that you have created mymap_en.html and mymap_fr.html. > > > > To switch over, for example, from an English to French template you > > would add a link in your english template similar to: > > > > Français > > > > The MLT should handle translation between English and French for the > > widgets you are using. > > > > I believe this should do it. > > > > Jason > > > > > > > > Debbie Pagurek wrote: > > > > > Hi all, > > > can anyone give me some pointers on how to use the language widget? > > > > > > > > > > > > > > > > > > > > > What are the supporting things needed to make this work? > > > > > > I would like to switch between english and french. What else needs to > > > be in my template files (both the english and french .html files) to > > > make the switch happen? I see that there is a function > > > CWCSetLanguage(szTmpLanguage) in the cwcjsapi.js file - do I need to > > > use this? And if so, how? I'm not sure if that .js file is for the > > > old CWC2 product or not. > > > > > > Please, anyone who can provide info for me on how to switch language > > > templates, I'd really appreciate the help. > > > > > > Thanks, > > > D. Pagurek > > > > > > -- > > ___________________________ > > Jason Fournier > > DM Solutions Group > > Application Developer > > Ottawa, ON > > 613.565.5056 x 18 > > jfournier@dmsolutions.ca > > > > > > > > -- > ___________________________ > Jason Fournier > DM Solutions Group > Application Developer > Ottawa, ON > 613.565.5056 x 18 > jfournier@dmsolutions.ca > > > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From dgadoury@dmsolutions.ca Thu Apr 1 11:53:42 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i31Grg5x029391 for ; Thu, 1 Apr 2004 11:53:42 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i31Grf57020594; Thu, 1 Apr 2004 11:53:41 -0500 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i31Grdl3009011; Thu, 1 Apr 2004 11:53:41 -0500 Message-ID: <406C48FB.8000008@dmsolutions.ca> Date: Thu, 01 Apr 2004 11:53:15 -0500 From: Dean Gadoury Reply-To: dgadoury@dmsolutions.ca Organization: DM Solutions Group User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: spencer@dmsolutions.ca CC: Schnider Markus , chameleon@lists.maptools.org Subject: Re: [Chameleon] layermanager in chameleon 1.1a References: <200403301400.i2UE0Vwv013599@webmail1.magma.ca> <200403301718.53561.msr@sourcepole.ch> <406C2F91.4050204@magma.ca> In-Reply-To: <406C2F91.4050204@magma.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: What is the widget called? Paul Spencer wrote: > In the very latest cvs is a new widget to launch a WMS Browser, which > has similiar functionality to MapBrowser from MapLab, including > adding, removing and refreshing WMS Servers, and browsing layers from > WMS servers then adding them to the current map view. > > There is no documentation for this yet, and it has not been fully tested. > > The next release will be in a couple of weeks. > > Cheers, > > Paul > > Schnider Markus wrote: > >> Paul, >> >> Thanks, >> >> Do you also know the how long it can take to release this version? >> Or, has the cvs version this included? >> Is there yet a possibility to manage wms layers? >> Should I take the chameleon version 1.0 or wait for the new version? >> >> Thanks >> >> Markus >> >> On Tuesday 30 March 2004 16:00, Paul Spencer wrote: >> >>> Markus, >>> >>> the layer manager widget has not been updated to work with the latest >>> version of chameleon and will actually be removed from the >>> distribution. In its place will be a couple of new widgets including >>> a WMSBrowser widget >>> (to explore and add WMS layers) and some sort of layer management >>> widget >>> which will allow for promote/demote/delete functionality. >>> >>> These widgets will be available in the next couple of weeks. >>> >>> Cheers, >>> >>> Paul >>> >>> On Mar 30, Schnider Markus wrote: >>> >>>> Hi all, >>>> >>>> I've tried this code in the index file: >>>> >>>> ------------------------------------------------------------------------- >>>> >>>> --------------- >>> >>>> include( "/path/to/chameleon.php" ); >>>> >>>> $szTemplate = "test.html"; >>>> $szMapFile = "/path/to/test.map"; >>>> $szContext = "/path/to/test.cml"; >>>> >>>> class FOO extends Chameleon >>>> { >>>> function FOO() >>>> { >>>> parent::Chameleon(); >>>> $this->moMapSession = new MapSession_RW; >>>> $this->moMapSession->setTempDir( getSessionSavePath()); >>>> } >>>> } >>>> >>>> $oApp = new FOO(); >>>> $oApp->CWCInitialize( $szTemplate, $szMapFile ); >>>> >>>> if (!isset($_GET['NAV_CMD']) && !isset($_POST['NAV_CMD'])) >>>> { >>>> $oApp->moMapSession->oMap->loadMapContext( $GLOBALS['szContext'] ); >>>> } >>>> >>>> $oApp->CWCExecute(); >>>> >>>> ?> >>>> ------------------------------------------------------------------------- >>>> >>>> --------------- >>>> >>>> and added the layermanager widget in the sample.html. >>>> >>>> What else must I include to run the layermanager without errors? >>>> Is there an other widget, to include wms servers? >>>> >>>> Thanks, >>>> >>>> Markus Schnider >>>> _______________________________________________ >>>> Chameleon mailing list >>>> Chameleon@lists.maptools.org >>>> >> >>> >>> href='http://lists.maptools.org/mailman/listinfo/chameleon'>http://lists.ma >>> >>> ptools.org/mailman/listinfo/chameleon >>> >>> _______________________________________________ >>> Chameleon mailing list >>> Chameleon@lists.maptools.org >>> http://lists.maptools.org/mailman/listinfo/chameleon >> >> >> > -- ___________________________ Dean Gadoury DM Solutions Group 30 Rosemount Ave. Suite 200 Ottawa, Ontario. K1Y 1P4 613.565.5056 ext. 24 dgadoury@dmsolutions.ca www.dmsolutions.ca From pagameba@magma.ca Thu Apr 1 11:59:01 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i31Gx15x029428 for ; Thu, 1 Apr 2004 11:59:01 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i31Gx057024862; Thu, 1 Apr 2004 11:59:00 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i31Gwvrf021563; Thu, 1 Apr 2004 11:59:00 -0500 Message-ID: <406C4A4E.1030705@magma.ca> Date: Thu, 01 Apr 2004 11:58:54 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dgadoury@dmsolutions.ca CC: Schnider Markus , chameleon@lists.maptools.org Subject: Re: [Chameleon] layermanager in chameleon 1.1a References: <200403301400.i2UE0Vwv013599@webmail1.magma.ca> <200403301718.53561.msr@sourcepole.ch> <406C2F91.4050204@magma.ca> <406C48FB.8000008@dmsolutions.ca> In-Reply-To: <406C48FB.8000008@dmsolutions.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: WMSBrowser :) Once it is tested and documented, I'll post more about it. Dean Gadoury wrote: > What is the widget called? > > Paul Spencer wrote: > >> In the very latest cvs is a new widget to launch a WMS Browser, which >> has similiar functionality to MapBrowser from MapLab, including >> adding, removing and refreshing WMS Servers, and browsing layers from >> WMS servers then adding them to the current map view. >> >> There is no documentation for this yet, and it has not been fully tested. >> >> The next release will be in a couple of weeks. >> >> Cheers, >> >> Paul >> >> Schnider Markus wrote: >> >>> Paul, >>> >>> Thanks, >>> >>> Do you also know the how long it can take to release this version? >>> Or, has the cvs version this included? >>> Is there yet a possibility to manage wms layers? >>> Should I take the chameleon version 1.0 or wait for the new version? >>> >>> Thanks >>> >>> Markus >>> >>> On Tuesday 30 March 2004 16:00, Paul Spencer wrote: >>> >>>> Markus, >>>> >>>> the layer manager widget has not been updated to work with the latest >>>> version of chameleon and will actually be removed from the >>>> distribution. In its place will be a couple of new widgets including >>>> a WMSBrowser widget >>>> (to explore and add WMS layers) and some sort of layer management >>>> widget >>>> which will allow for promote/demote/delete functionality. >>>> >>>> These widgets will be available in the next couple of weeks. >>>> >>>> Cheers, >>>> >>>> Paul >>>> >>>> On Mar 30, Schnider Markus wrote: >>>> >>>>> Hi all, >>>>> >>>>> I've tried this code in the index file: >>>>> >>>>> ------------------------------------------------------------------------- >>>>> >>>>> --------------- >>>> >>>>> include( "/path/to/chameleon.php" ); >>>>> >>>>> $szTemplate = "test.html"; >>>>> $szMapFile = "/path/to/test.map"; >>>>> $szContext = "/path/to/test.cml"; >>>>> >>>>> class FOO extends Chameleon >>>>> { >>>>> function FOO() >>>>> { >>>>> parent::Chameleon(); >>>>> $this->moMapSession = new MapSession_RW; >>>>> $this->moMapSession->setTempDir( getSessionSavePath()); >>>>> } >>>>> } >>>>> >>>>> $oApp = new FOO(); >>>>> $oApp->CWCInitialize( $szTemplate, $szMapFile ); >>>>> >>>>> if (!isset($_GET['NAV_CMD']) && !isset($_POST['NAV_CMD'])) >>>>> { >>>>> $oApp->moMapSession->oMap->loadMapContext( $GLOBALS['szContext'] ); >>>>> } >>>>> >>>>> $oApp->CWCExecute(); >>>>> >>>>> ?> >>>>> ------------------------------------------------------------------------- >>>>> >>>>> --------------- >>>>> >>>>> and added the layermanager widget in the sample.html. >>>>> >>>>> What else must I include to run the layermanager without errors? >>>>> Is there an other widget, to include wms servers? >>>>> >>>>> Thanks, >>>>> >>>>> Markus Schnider >>>>> _______________________________________________ >>>>> Chameleon mailing list >>>>> Chameleon@lists.maptools.org >>>>> >>> >>>> >>>> >>>> href='http://lists.maptools.org/mailman/listinfo/chameleon'>http://lists.ma >>>> >>>> ptools.org/mailman/listinfo/chameleon >>>> >>>> _______________________________________________ >>>> Chameleon mailing list >>>> Chameleon@lists.maptools.org >>>> http://lists.maptools.org/mailman/listinfo/chameleon >>> >>> >>> >>> >> > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Apr 1 12:09:53 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i31H9r5x029560 for ; Thu, 1 Apr 2004 12:09:53 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i31H9qUw008754 for ; Thu, 1 Apr 2004 12:09:52 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i31H9orf012180 for ; Thu, 1 Apr 2004 12:09:52 -0500 Message-ID: <406C4CDB.704@magma.ca> Date: Thu, 01 Apr 2004 12:09:47 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "chameleon@lists.maptools.org" Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Chameleon] upcoming Chameleon stuff Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Listers, there have been a couple of questions lately about when the next version of Chameleon will be available and I thought I would attempt to answer these and other questions with a quick email ... now that I look at it, its longer than I intended. Keep reading, there is good information in here somewhere ;) As most of you know, we have been diligently working on a new version of Chameleon. The new version has been more than a year in the making ... which is odd because all the changes we intended to make were done in the first month or so :) Initially we intended the next version to be version 1.1. The intention was to improve performance of the core engine and to begin to look at the performance of individual widgets. This was a modest goal and warrented only a sub-version number increase. The changes we made to the core engine ended up requiring changes to most existing widgets, which necessitating more extensive testing. Unfortunately (or perhaps fortunately) the new version became popular before it was stable enough to be released, and we started building new projects on it. The thought at the time was to stabilize individual widgets as they were required by the projects that needed them, and after some time we would be ready for a release. I guess that we are just now nearing the end of that process. As we have proceeded, there have been more significant changes to Chameleon that were not planned when we started thinking of version 1.1. This is not the best way to plan software, but we had to adapt to the realities of business along the way. In any case, the changes have now been significant enough, and Chameleon is sufficiently different from the original 1.0 version, that we have decided it deserves a new major version number. To forstall confusion on this front, I will explain how the next Chameleon release (and future releases) will be versioned. Version x.0 is the initial stable release. If there was a previous major version, then x will be one greater than the previous version. Version x.0.x is a bug fix release, no new features should be introduced. Version x.1 is the development version where new features will be added following the x.0 release. Version x.2 is the next stable release containing new features. All odd-numbered minor version numbers represent development versions, and all even-numbered minor version numbers represent stable versions. When we are ready to move from version x to version x+1 because of significant changes in features, there will be an x.99 release. This release will probably be called a 'community release' or something like that. It will be considered a stable release of the code, but will be lacking in some non-functional areas like documentation. Once we have completed all the other work, and gathered feedback from users on quality, we'll release a x+1.0 release. So, the next version of Chameleon that you will see officially released will be version 1.99 to be followed by a 2.0 release a few months later (give or take). In the next couple of weeks I hope to put out a beta version of 1.99 and then a couple of weeks after that I hope to put out a first release candidate. If there are no significant issues then the 1.99 release will happen sometime in May. So what's new in Chameleon 1.99? I'm working on documenting that, but the short answer is not much and everything :) The biggest change has been the move from a service instance model to a map-file-based model. The use of templates is essentially the same, but now there are a great many new widgets available thanks to funding from a number of sources. I will be attempting to divide widgets up into 'Packs' that group widgets of similiar scope or functionality, and it will be possible to download and install different versions of widget packs to help with upgrading between versions. The widget documentation will be more extensive and there will be a web-based installation system available for those that desire easier installation and configuration. There will also be a reasonably complete sample application with a number of different templates to showcase the various widget packs. I'll have more details once I get the beta release out the door, but hopefully this has whetted your appetite and will give you enough to be satisified until the beta version is out. Cheers and thanks for reading this far ;) Paul -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Apr 1 12:13:24 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i31HDO5x029604 for ; Thu, 1 Apr 2004 12:13:24 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i31HDOta004032; Thu, 1 Apr 2004 12:13:24 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i31HDMrf018377; Thu, 1 Apr 2004 12:13:24 -0500 Message-ID: <406C4DAE.6030807@magma.ca> Date: Thu, 01 Apr 2004 12:13:18 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: we wei CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Questions about ROI's widgets References: <20040325175103.26432.qmail@web60006.mail.yahoo.com> In-Reply-To: <20040325175103.26432.qmail@web60006.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: There is nothing specific, but you can use: if (goCWCROIManager.aROI.length == 0) { alert( 'there are no ROIs left!' ); } Cheers, Paul we wei wrote: > Hi all, > > I got a question about ROI's widgets. I just wonder > if ROIRemoverAll widget is executed, is there any > javascript or form variables which indicates there are > no ROI specified regions left ? > > Thanks! > > __________________________________ > Do you Yahoo!? > Yahoo! Finance Tax Center - File online. File on time. > http://taxes.yahoo.com/filing.html > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Apr 1 13:12:56 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i31ICu5x029875 for ; Thu, 1 Apr 2004 13:12:56 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i31ICtta008474; Thu, 1 Apr 2004 13:12:55 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i31ICopH012545; Thu, 1 Apr 2004 13:12:55 -0500 Message-ID: <406C5B9F.8010704@magma.ca> Date: Thu, 01 Apr 2004 13:12:47 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ian Ives CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Optimizing Chameleon Performance References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Ian, that's a very open ended question. Chameleon should run on quite a range of hardware, certainly anything new would suffice. It also depends on the type and quantity of data you are using, the number of hits you expect, network speed, etc. etc. etc. As for OS, anything that you can run a web server, php and mapscript on will do ... and we haven't found one yet that doesn't work (although some take a lot of effort to get working). Certainly windows and linux are well used. I don't want to start an OS war, but given the choice I would probably go with a linux server running a major distribution like RedHat or Debian. Sorry I can't be more specific. Cheers, Paul Ian Ives wrote: > What is the recommended hardware profile to deploy Chameleon for optimum > performance i.e. OS, Processor, RAM > > > > Thank you > > > > Ian Ives > > > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Apr 1 13:16:37 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i31IGb5x029923 for ; Thu, 1 Apr 2004 13:16:37 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i31IGbta010361; Thu, 1 Apr 2004 13:16:37 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i31IGZA3002284; Thu, 1 Apr 2004 13:16:37 -0500 Message-ID: <406C5C80.8040105@magma.ca> Date: Thu, 01 Apr 2004 13:16:32 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: mickel delay CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] real time applicatin with chameleon References: <20040324214304.17830.qmail@web21111.mail.yahoo.com> In-Reply-To: <20040324214304.17830.qmail@web21111.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Um, there are probably a few different ways of doing this, none of which are particularly chameleon dependent. I think that you will need to consider how you will gather the data, store it, and present it to the user. Chameleon just displays the contents of a mapserver Map file inside an application template containing widgets. If you need an application that automatically refreshes every few seconds or minutes, it is easy to add javascript in the application template to do this. But there is no widget that would do this for you. If you need the application to do something when it is accessed, you can add the code the application's index file (the one that creates and executes the chameleon application). But I probably wouldn't design an application this way unless there was some compeling reason to do so. Cheers, Paul mickel delay wrote: > Dear list > > hi > if i decision to implement a real time application > with chameleon such as vehicle tracking ,how i can do > it? > this similar to mapsherpa application that Dmsolution > do for GPS tracking. > > regards > mickel > > > > __________________________________ > Do you Yahoo!? > Yahoo! Finance Tax Center - File online. File on time. > http://taxes.yahoo.com/filing.html > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Apr 1 13:21:21 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i31ILK5x029963 for ; Thu, 1 Apr 2004 13:21:21 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i31ILJUw011240; Thu, 1 Apr 2004 13:21:19 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i31ILHA3011223; Thu, 1 Apr 2004 13:21:19 -0500 Message-ID: <406C5D9A.9030907@magma.ca> Date: Thu, 01 Apr 2004 13:21:14 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Aaron Racicot CC: jfournier@dmsolutions.ca, chameleon@lists.maptools.org Subject: Re: [Chameleon] Problem with CWC2OnLoadFunction... References: <200403241928.i2OJSEr91039069@amb24.ccalmr.ogi.edu> In-Reply-To: <200403241928.i2OJSEr91039069@amb24.ccalmr.ogi.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Aaron, I believe that there is a potential problem in that if the UIManager does not have any widgets that want to use the onload function, then it will not output the code for this function. Somewhere in UIManager you may find this code block (starting at line 216 in my copy, but it is probably changed from yours): if ($szOnLoadFunc != "") { $szOnLoadFunc = "function CWC2OnLoadFunction()\n{\n".$szOnLoadFunc; $szOnLoadFunc.= "\n}\n"; } At some point, this block was changed to: //if ($szOnLoadFunc != "") //{ $szOnLoadFunc = "function CWC2OnLoadFunction()\n{\n".$szOnLoadFunc; $szOnLoadFunc.= "\n}\n"; //} If you have the first and not the second version then you can modify the code to look like the second version and your problem should (hopefully) go away. If you do have the second version, then I am not sure why you are having the problem and will have to put more thought into it. This change is in the latest CVS version but I am not sure if it is in any of the tarball packages yet. Cheers, Paul Aaron Racicot wrote: > Jason, > > I have been going through the chameleon code to try and locate where I am > having problems. I have taken your advise and gone back to the downloaded > demo from the MapTools web site. > > I have started to systematically walk through the code to try to debug my > problem. What I have come up with is that in the UIManager.php file I am > getting a JS runtime error at the following piece of code: > > +++++++++++++ Start code +++++++++++++++++++++++ > function DrawPublish() > { > > //get javascript code from widgets > $this->ProcessWidgetIncludes(); > > // Debug Added by Aaron Racicot > echo "PRIORITY_MAXIMUM= ".PRIORITY_MAXIMUM."
"; > echo "PRIORITY_MINIMUM= ".PRIORITY_MINIMUM."
"; > > //process widgets into template > for ($i=PRIORITY_MAXIMUM; $i>=PRIORITY_MINIMUM; $i--) > { > foreach( $this->manPriorities[$i] as $nWidgetIndex ) > { > // Debug Added by Aaron Racicot > echo "Loop i= ".$i." nWidgetIndex= ".$nWidgetIndex."
"; > > $oWidget =& $this->maoWidgets[$nWidgetIndex]; > $this->oCWCParser->SetElement( $nWidgetIndex, > $oWidget->DrawPublish() ); > } > } > $this->oCWCParser->ProcessElements(); > ++++++++++++++ End Code +++++++++++++++++++++++++ > > I added some debug output to show the looping indexes and widget index and I > get the following: > > PRIORITY_MAXIMUM= 5 > PRIORITY_MINIMUM= 0 > Loop i= 4 nWidgetIndex= 12 > Loop i= 3 nWidgetIndex= 17 > Loop i= 2 nWidgetIndex= 0 > Loop i= 2 nWidgetIndex= 1 > Loop i= 2 nWidgetIndex= 2 > Loop i= 2 nWidgetIndex= 3 > Loop i= 2 nWidgetIndex= 4 > Loop i= 2 nWidgetIndex= 5 > Loop i= 2 nWidgetIndex= 9 > Loop i= 2 nWidgetIndex= 13 > Loop i= 2 nWidgetIndex= 14 > Loop i= 2 nWidgetIndex= 15 > Loop i= 2 nWidgetIndex= 16 > Loop i= 2 nWidgetIndex= 18 > Loop i= 2 nWidgetIndex= 19 > > At this point I get an error which is from the CWC2OnLoadFunction never > getting created just after this in the DrawPublish function. The > interesting thing is that the index $i never reaches 1 or 0. > > Does this ring a bell for you? I am very confused why my installation seems > to have this problem (which now does not seem to be path or permissions > related). Thanks > > Aaron > > Again, my setup is: > RedHat Enterprise Linux 3.0 AS on Intel Box (2.8gHz,1G,Dual 40G drives) > Mapserver/Mapscript - 4.0.1 > Postgresql - 7.4.2 > Postgis - 0.8.1 > PHP - 4.3.4 > Maplab - 2.1-rc3 > Chameleon 1.1alpha-20031031 > chameleon-sample - From MapTools.org > > > -----Original Message----- > From: chameleon-admin@lists.maptools.org > [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Jason Fournier > Sent: Tuesday, March 23, 2004 4:31 PM > To: Aaron Racicot > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Problem with CWC2OnLoadFunction... > > Hi Aaron, > > Have you tried downloading and installing (ie, unzipping) the Chameleon > sample application from Maptools.org > (http://maptools.org/chameleon/index.phtml?page=downloads.html)? It's > located at the bottom of the page. At the very least it will give you > an indication of the files required for an application as well as a > suggested directory structure. > > Generally speaking a Chameleon application will reside outside your core > Chameleon installation. > > Best Regards, > Jason > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Apr 1 13:58:34 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i31IwV5x030124 for ; Thu, 1 Apr 2004 13:58:34 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i31IwUUw027746; Thu, 1 Apr 2004 13:58:30 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i31IwRUf017290; Thu, 1 Apr 2004 13:58:30 -0500 Message-ID: <406C6650.2090909@magma.ca> Date: Thu, 01 Apr 2004 13:58:24 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Darren.Cope@statcan.ca CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Searches, Buffers and Choropleth Maps References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Darren, I think that I understand what you are looking for. Unfortunately most of what you are looking for it not yet in Chameleon. Some responses follow in line ... Darren.Cope@statcan.ca wrote: > Hello everyone, > > I've been working with the CWC2 application from the MS4W package for > the last few weeks. I have a demo set up which displays some of our own > data, and allows me to perform many of the basic functions I need. > However, I am researching the feasibility of some more advanced > functionality, and am not finding much to suit my needs. I have > searched the archive, and found some snippets of information, but never > enough to help me pull everything together. I am currently using > shapefiles as a data source. > > I would like to know if the following are possible, and if so, how I > would go about implementing them: > > - do searches based on my own data, rather than the CGDI-based (i.e.. > postal code, locality, nts) searches. I would like to do searches based > on one field (e.g. find a street name), and multiple fields (possibly in > different layers) (e.g. find a city in a specific province). Is there a > widget which I could modify easily in order to do such a search? > Someone out there must have a widget which does this? There is no widget that does this but one has been discussed a couple of times. We just haven't had a specific application to implement one for it yet. The place name lookup in the locate widget actually uses a dbf file locally to do the lookup I think, and since a shape file has a dbf file, you could start there. There is certainly support in mapscript for doing a query by attribute, and it shouldn't be too difficult to write a widget to use this function internally. Most widgets are wrapped around a specific piece of internal mapscript functionality like this. I'm guessing the tricky part is in defining the requirements of the widget. It's pretty easy to implement something for a specific application but it gets more difficult to design something intended for general use. > > - search based on topology (e.g. find the intersection of two streets) nothing like this exists nor is in the works. Unfortunately, it is difficult to this type of thing in a web based application. > > - create a circular buffer around a user-selected point (where user > clicks on the map) with a user-entered radius There are tools for creating regions of interest, and there is one that allows the user to define a circular region by clicking a point and dragging a radius ... > > - select and highlight a feature when it is "identified," and retain > this selection until the user clears it There is an ROIFeatureTool that allows turning a feature into a region of interest and it is persistent until cleared, but I doubt that is what you want. > > - display a choropleth map (without hard-coding the ranges in the .map > file) we have been working on tools to allow user-classification of layers, but it doesn't have a lot of automated features yet. I suspect it would probably too limited for now, but it may improve over time and allow for different types of generation of classes and automating application of styles etc. > > Do I need to use something like PostGIS or GeoServer do accomplish these > tasks? If so, how do these work with Chameleon/MapServer? probably not unless you need an application that can modify the data, in which case they may be better suited. Except perhaps for searching based on topology, I think postgis would be more efficient and feature-full in that area. > > I am very new to all of this, and have very little programming > knowledge, so please keep this in mind. > > I realize that I am asking a lot of questions, so thanks in advance for > any help! no problem. The features that you are looking for are common in desktop GIS but, in my experience, not available in most or all web GIS systems yet. Web GIS is getting better and better, but this is still just outside the envelope I think. > > Darren Cope > Geography Division > Statistics Canada > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Apr 1 14:25:50 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i31JPo5x030404 for ; Thu, 1 Apr 2004 14:25:50 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i31JPnta017903; Thu, 1 Apr 2004 14:25:49 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i31JPlUf003866; Thu, 1 Apr 2004 14:25:49 -0500 Message-ID: <406C6CB8.8040506@magma.ca> Date: Thu, 01 Apr 2004 14:25:44 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: we wei CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] An empty list for Projection list References: <20040323184629.84904.qmail@web60005.mail.yahoo.com> In-Reply-To: <20040323184629.84904.qmail@web60005.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: we wei, what exactly is the error you are seeing? I suspect that you are missing projection information in your proj installation, specifically if you are using projections like epsg:42304 that are custom definitions not part of the formal epsg code database yet. There are many references to this on the mapserver users mailing list and you will get more specific help there too. Paul we wei wrote: > Hi all, > > I am trying to set up a demo for chameleon 1.1 alpha > 6. But I got an empty projection list return when I > tried to click the projection button. I setup a > projection widget in my template file as followed: > > PopupHeight="550" Visible="true" > Image="images/icon_projection.png" ImageTip="Change a > new projection" Label="Projection" /> > > And I have already checked if I have SharedResource > widget for projection at the beginning of my template > file. Here is the SharedResource widget for > projection: > > > srs="epsg:4269"/> > srs="epsg:4326"/> > srs="AUTO:42001"/> > srs="AUTO:42002"/> > srs="AUTO:42003"/> > srs="AUTO:42004"/> > srs="epsg:42101"/> > srs="epsg:42304" default="true"/> > > > And I put in this as well: > > > I guess I am missing something here because it works > fine in my chameleon-1.0.5. > > Could anyone give me some hints on this problem or > give me some directions on how to debug this ? > > Any help would be much appreciated. > > Thanks in advance, > > wei > > > > __________________________________ > Do you Yahoo!? > Yahoo! Finance Tax Center - File online. File on time. > http://taxes.yahoo.com/filing.html > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Apr 1 14:49:12 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i31JnC5x030648 for ; Thu, 1 Apr 2004 14:49:12 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i31JnBUw018282; Thu, 1 Apr 2004 14:49:11 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i31Jn9Lm016575; Thu, 1 Apr 2004 14:49:11 -0500 Message-ID: <406C7232.8090707@magma.ca> Date: Thu, 01 Apr 2004 14:49:06 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: we wei , "chameleon@lists.maptools.org" Subject: Re: [Chameleon] Extract WFS Data References: <20040322190116.24786.qmail@web60006.mail.yahoo.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: http://www.maptools.org/dl/php_ogr/ I don't think there is a project page for it yet, nor is cvs access open (although there have been no changes since this release that I know of). I would imagine that we will get to those at some point, esp if people start using it. Cheers, Paul Bart van den Eijnden wrote: > Hi, > > good to hear it is working now. > > I only have a Windows binary of php_ogr, and I don't know if the source > code is (already) available through the Maptools CVS. > > Hopefully DM Solutions can comment on this one. > > Best regards, > Bart > > On Mon, 22 Mar 2004 11:01:16 -0800 (PST), we wei > wrote: > >> Hi Bart, >> >> The second one work for me. And i guess I accidently >> use mapserver-4.0 in the connection string of the map >> file. That's why I couldn't make it get GML because >> the executewfsgetfeature method is missing in >> php_mapscript.c of version 4.0 of mapserver. So, >> right now, it is working. Thanks a lot for you help >> :) >> >> And I got another question about extract WFS data in >> shape file. I noticed that my php_ogr.so is missing. >> Do you know where I can get or how can I build it? I >> am on Linux Redhat 9 perform. >> >> Thanks, >> Wei >> >> >> >> >> --- Bart van den Eijnden wrote: >> >>> Hi, >>> >>> it should work if you use a properly configured >>> sample_wms_wfs_client.map >>> in your Chameleon application. >>> >>> Try the following (for WMS layers): >>> >>> 1) perform a DescribeLayer request on the road >>> layer, i.e. >>> >> http://localhost/cgi-bin/mapserv_41.exe?map=/ms4w/apps/geodan_sample/map/sample_wms_wfs_server.map&request=DescribeLayer&layers=road&version=1.1.1 >> >> >>> >>> does this work? >>> >>> if 1) works try (as the OnlineResource part you >>> should normally take the >>> response from request 1, but as Mapserver is WMS and >>> WFS in one, the >>> OnlineResource is normally the same): >>> >>> 2) >>> >> http://localhost/cgi-bin/mapserv_41.exe?map=/ms4w/apps/geodan_sample/map/sample_wms_wfs_server.map&request=GetFeature&typename=road&service=WFS&version=1.0.0 >> >> >>> >>> Do you get GML? >>> >>> This is the exact same way the ExtractWFSData would >>> try to get its GML >>> from a WMS Layer. So I suspect 1) and 2) won't both >>> work. >>> >>> Best regards, >>> Bart >>> >>> On Mon, 22 Mar 2004 09:33:42 -0800 (PST), we wei >>> >>> wrote: >>> >>> > Hi all, >>> > >>> > I have a question about using Extract WFS Data in >>> > Chameleon 1.1 alpha 6 sample application. I tried >>> to >>> > see the actiion of this widget. But when I click >>> > extract button on the pop-up window of Extract WFS >>> > Data, I got the following error: >>> > >>> > "Invalid layer or none selected. Please ensure >>> that >>> > the selected layer is WMS or WFS layer" >>> > >>> > Then I look in sample.map file and it doesn't not >>> seem >>> > to have any WFS layer. So, I changed to use >>> > sample_wms_wfs_server.map and >>> > sample_wms_wfs_client.map; however, I still got >>> the >>> > above error. >>> > >>> > I guess I may setup something wrongly. >>> > >>> > Could anyone give some hints to me so that I could >>> > make this functionality work ? >>> > >>> > Any help would be greatly appreciated. >>> > >>> > Thanks in advance. >>> > >>> > >>> > __________________________________ >>> > Do you Yahoo!? >>> > Yahoo! Finance Tax Center - File online. File on >>> time. >>> > http://taxes.yahoo.com/filing.html >>> > _______________________________________________ >>> > Chameleon mailing list >>> > Chameleon@lists.maptools.org >>> > >>> http://lists.maptools.org/mailman/listinfo/chameleon >>> > >>> >>> >>> >>> -- >>> >>> _______________________________________________ >>> Chameleon mailing list >>> Chameleon@lists.maptools.org >>> http://lists.maptools.org/mailman/listinfo/chameleon >> >> >> >> __________________________________ >> Do you Yahoo!? >> Yahoo! Finance Tax Center - File online. File on time. >> http://taxes.yahoo.com/filing.html >> > > > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Apr 1 15:07:02 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i31K725x030988 for ; Thu, 1 Apr 2004 15:07:02 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i31K6x3g027660; Thu, 1 Apr 2004 15:06:59 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i31K6uV5032582; Thu, 1 Apr 2004 15:06:59 -0500 Message-ID: <406C765D.6070009@magma.ca> Date: Thu, 01 Apr 2004 15:06:53 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Fortin,Nicolas [SteFoy]" CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] 2 Questions... References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Nicolas, I suspect that these are bugs in Chameleon. I would recommend that you file both issues as separate bugs in the Chameleon bugzilla on maptools.org so that we don't forget them. Cheers, Paul Fortin,Nicolas [SteFoy] wrote: > Hi list, > > I had 2 issues with Chameleon yesterday and I wonder if it's normal, bugs or another problem of mine. > > 1- Using Chameleon Layer manager, I added a GROUP layer from a Mapserver WMS successfully. When I turned it on, it doesn't appear on the map. From a simple mapserver app, the group works well. > If I added all the layers ot the GROUP separately, they all show up. Why? > > 2- Using Lager manager, I added a layer from a Mapguide Liteview WMS that had a %5c ( a url backslash...) and I can't make it appear at all on the map. If I turn it on then refresh, it doesn't turn on at all. If I click on the layer the get info from it, I have an error. In the error message, the name of the layer is incorrect ... without %5c neither \. Why? Instead of turning only a layer on, if I choose the "mapguide service" on instead (kinda of group), all the layers appear normally. The problem is that I only need one of these layers and not all of them. > > Thx, > > Nicolas Fortin > Mathématicien, Programmeur, Analyste de données > SMC-Québec Hydrologie, Environnement Canada > 1141, Rte de l'Église, Sainte-Foy(QC) G1V 4H5 > (418)648-2516 > nicolas.fortin@ec.gc.ca > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Apr 1 15:09:39 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i31K9d5x031019 for ; Thu, 1 Apr 2004 15:09:39 -0500 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i31K9c3g029200; Thu, 1 Apr 2004 15:09:38 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i31K9ZV5006413; Thu, 1 Apr 2004 15:09:37 -0500 Message-ID: <406C76FC.1060003@magma.ca> Date: Thu, 01 Apr 2004 15:09:32 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Choi,Stephanie [Ontario]" CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Problem when trying ROIRectangleTool Widget References: <79D8CC9C0F21D611A0C900805FBBC3AC03D502E6@mgtserver3.ontario.int.ec.gc.ca> In-Reply-To: <79D8CC9C0F21D611A0C900805FBBC3AC03D502E6@mgtserver3.ontario.int.ec.gc.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Stephanie, the code you quote below was used in 1.0 version of CWC2/Chameleon. It is no longer required in the 1.1/1.99/2.0 version of Chameleon and has been removed. If you can not load your application then I think you are using Chameleon 1.0 and the latest CVS stuff is only for version 1.99. Sorry. There will be more info about 1.99 including how to upgrade in the next few weeks, Cheers, Paul Choi,Stephanie [Ontario] wrote: > Hi all, > > From the previous discussion about querying by rectangle, it mentioned > that there are a few new widgets available from CVS. And I updated my > widgets folder from CVS. However, after updated it, I can no longer > load the CWC2 application. It seems to me that the reason for this > problem is most of those new php files I updated do not have the > following code in it : > > If ( function_exists ( "RegisterWidget" ) ) > RegisterWidget ( "WidgetName", "WidgetNameWIdget" ); > > Therefore, no widgets are added into the register widgets array. I > tried to add the above lines back. However, it doesn't work. Maybe I > shouldn't update it in this way. Could anyone give me some ideas on > this problem or a proper way to do this? I hope to give these new > widgets a try. Any help would be greatly appreciated. > > Thanks, > > Stephanie > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Apr 1 15:19:29 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i31KJS5x031139 for ; Thu, 1 Apr 2004 15:19:28 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i31KJSEM020924; Thu, 1 Apr 2004 15:19:28 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i31KJPn6007577; Thu, 1 Apr 2004 15:19:28 -0500 Message-ID: <406C794A.5010004@magma.ca> Date: Thu, 01 Apr 2004 15:19:22 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: "Delfos, Jacob" , chameleon@lists.maptools.org Subject: Re: [Chameleon] DHTML image gets shifted References: <21578.212.238.227.182.1079597839.squirrel@webmail.xs4all.nl> In-Reply-To: <21578.212.238.227.182.1079597839.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: In the latest cvs version, this issue and related issues should be fixed. The problem is that different browsers can resolve page layout in different orders. We had made the assumption that by positioning the map image in the script after the tag, the browser would have completed all calculations and the image would be positioned correctly. This is not (apparently) the case. Now the map image is positioned as part of the page's onload event and appears correctly in every circumstance we can invent. As a side benefit we have added a hook to the page's onresize event which correctly repositions the map image when resizing the page in IE (netscape/mozilla submits after a resize so it was less of an issue). This would only happen if the html in the page was designed to move if the page resized, for instance if a table is fixed width and centered. Cheers, Paul bartvde@xs4all.nl wrote: > Hi Jacob, > > there was a pretty extended discussion about this in January, see this > thread: > > http://lists.maptools.org/pipermail/chameleon/2004-January/000299.html > > Best regards, > Bart > > >>Hi List, >> >>I got a little bug in the chameleon site I built (version 1.0.4). It's >>something that happens only sometimes (most enjoyable kind of bug to fix). >>When the page loads for the first time, the DHTML image tends to show up >>shifted roughly 250 pixels to the right. After I either refresh or >>re-submit, it's mostly okay again. It happens more frequently if the >>connection is slower. I was wondering if this is a known issue, and if >>there >>is a quick fix. I suspect that it's a problem with the order in which >>things >>get initialised. I was thinking of running a function on the 'onload' >>event >>which forces the image in the right spot. But I'm not too clear about how >>I'd actually move the DHTML image (or the DIV it sits in) without messing >>up >>other things. Any ideas? >> >>The site runs at http://spatial.hgm.com.au/cwcroe7/cwc2.php >> (internet explorer >>oriented... >>sorry) >> >>Regards, >> >>Jacob >> >> >> >>JACOB DELFOS >>SPATIAL INFORMATION ANALYST >>Maunsell Australia Pty Ltd >>629 Newcastle Street >>PO Box 81 >>Leederville 6902 >>Western Australia >>ABN 20 093 846 925 >> >>Tel + 61 8 9281 6185 >>Fax + 61 8 9281 6297 >>jacob.delfos@maunsell.com >> >> > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Apr 1 15:20:28 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i31KKS5x031176 for ; Thu, 1 Apr 2004 15:20:28 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i31KKSEM021634; Thu, 1 Apr 2004 15:20:28 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i31KKPLm009585; Thu, 1 Apr 2004 15:20:28 -0500 Message-ID: <406C7986.7060309@magma.ca> Date: Thu, 01 Apr 2004 15:20:22 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: we wei CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] queryable problem References: <20040318025332.36056.qmail@web60004.mail.yahoo.com> In-Reply-To: <20040318025332.36056.qmail@web60004.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: did you ever get this to work? It looks as if you have done all the right things. Paul we wei wrote: > Hello all, > > I got a question about queryable layer. I noticed that there are some > discuession about not getting query layer working. I am running into > this problem too. I tried all the suggestion from the previous > suggestion; however, I still couldn't make it work. What I tried is > to get the demo working with the cities layer queryable. I modified > gmap_context.xml to make cities layer point to my mapfile and enable > queryable as following: > > > > Then I modified the cities layer in my mapfile as followed: > > LAYER > NAME "popplace" > METADATA > "wms_title" "Cities" > "RESULT_FIELDS" "NAME" > END > TYPE POINT > STATUS ON > DATA popplace > PROJECTION > "init=epsg:42304" > END > LabelItem "Name" > *DUMP true* > *TOLERANCE 10 > TOLERANCEUNITS PIXELS > TEMPLATE "blank.html" > * CLASSITEM "Capital" > CLASS > EXPRESSION "1" > *TEMPLATE "ttt_query.html" > * SYMBOL 2 > SIZE 8 > NAME "Cities" > LABEL > COLOR 255 0 0 > FONT fritqat-italic > TYPE truetype > SIZE 8 > POSITION AUTO > PARTIALS FALSE > OUTLINECOLOR 255 255 255 > END > COLOR 0 0 0 > END > CLASS > EXPRESSION /2|3/ > *TEMPLATE "ttt_query.html" > * SYMBOL 7 > SIZE 6 > NAME "Cities" > LABEL > COLOR 0 0 0 > FONT fritqat > TYPE truetype > SIZE 8 > POSITION AUTO > PARTIALS FALSE > OUTLINECOLOR 255 255 255 > END > COLOR 0 0 0 > END > Transparency 0 > END # Layer > > However, I still couldn't make it working. It pop-up a window and said > "no queryable layer found", but i did specific cities layer as > queryable. I am a newbie to chameleon. Could anyone give me some hint > on this problem? Any help would be greatly appreciated. > > Thanks in advance. > > > Do you Yahoo!? > *Yahoo! Mail* > - More reliable, more storage, less spam > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Apr 1 15:28:08 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i31KS85x031258 for ; Thu, 1 Apr 2004 15:28:08 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i31KS6EM026886; Thu, 1 Apr 2004 15:28:06 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i31KS4n6023420; Thu, 1 Apr 2004 15:28:06 -0500 Message-ID: <406C7B50.1090008@magma.ca> Date: Thu, 01 Apr 2004 15:28:00 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Choi,Stephanie [Ontario]" CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Only a subset of points showed up on a layer References: <79D8CC9C0F21D611A0C900805FBBC3AC03D502E5@mgtserver3.ontario.int.ec.gc.ca> In-Reply-To: <79D8CC9C0F21D611A0C900805FBBC3AC03D502E5@mgtserver3.ontario.int.ec.gc.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Stephanie, there are a number of places that this could go wrong. First, if you are using contexts then you are using WMS layers, not WFS. If you are supplying a WFS as the online resource of a layer in the context file then it will likely not work at all, or perhaps only partially. MapServer may interpret the results correctly due to how it attempts to load data using multiple drivers. But I don't think it would work in this case. Another possibility is differences in projection or location in data. When you view the wms image, it will show you all the data. Is it possible that the extents that you are viewing in the chameleon application are limiting the points spatially and that the result is actually correct? If only some points show up and they are not in the right place then it may be a projection issue. Cheers, Paul Choi,Stephanie [Ontario] wrote: > Hi all, > > I am working on a mapserver demo using chameleon. I have tried the > Oracle connection using virtual spatial data access method on each of > the layers in my mapfile and they all work okay. Right now I am trying > to add another layer using Connection Type as WFS and use its GML file > as data source. I tested the mapfile using shp2image and it works > correctly and it outputed a correct image, too. And then I tested it > thru a browser running as WMS service. It works okay too. However, > when I tried to add this layer to chameleon by modifying > gmap_context.xml and then run CWC2 instance, the addition layer did show > up; however, on this layer, only a subset of the points showed up. I > just wonder where are those points go ? From my understanding, > gmap_context.xml file is only a context file for chameleon that allow > adding remote layers to the result images. So, the actual part to > create layers is from the remote map servers. However, I have already > test this new layer and it has been created correctly from my > mapserver. So right now I really have no clue on this problem. I am a > newbie on all this GIS stuffs. If I misunderstood anything, please > point me out. Any help would be greatly apprieciated. > > Thanks, > Stephanie > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From jacob.delfos@maunsell.com Thu Apr 1 18:44:54 2004 Received: from aumel1gw002.maunsell.com (210-193-148-152.macquarie.net.au [210.193.148.152] (may be forged)) by www.maptools.org (8.12.5/8.12.5) with SMTP id i31Niq60032181 for ; Thu, 1 Apr 2004 18:44:53 -0500 Received: from aumel1ex001.mel.maunsell.com.au ([172.21.0.15]) by aumel1gw002.maunsell.com (SAVSMTP 3.1.0.29) with SMTP id M2004040209465822088 ; Fri, 02 Apr 2004 09:46:58 +1000 Received: by aumel1ex001.mel.maunsell.com.au with Internet Mail Service (5.5.2653.19) id ; Fri, 2 Apr 2004 09:46:11 +1000 Message-ID: From: "Delfos, Jacob" To: "'spencer@dmsolutions.ca'" Cc: "'chameleon@lists.maptools.org'" Subject: RE: [Chameleon] Large TIFF not rendering Date: Fri, 2 Apr 2004 09:49:50 +1000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Paul, The release I have is cwc2-1.0.4-20031112. I am definitely using a map-file (didn't hack it, at least not that bit). I had an ECW of around a 100MB which I used initially. Because I wasn't happy with the graphic quality (greenish planet mars-looking landscape, supposedly Australia) I fixed it up in photoshop. Unfortunately, since the free ECW software can typically only support up to 500MB, I couldn't save it back to ECW, so I converted to TIFF. However, now chameleon won't load it (doesn't hang on it either, though). All I changed is the filename in the DATA statement. The tif has a TFW file, and I also created an ERS file for it; no effect. A better alternative to my problem would be a freeware program that compresses >500MB to ECW. The new ECW sdk does it, but you'd need a license to do it commercially (and visual C++). What else could cause a TIFF not to display? I'm not using compression. Regards, Jacob -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: Thursday, 1 April 2004 23:07 To: Delfos, Jacob Cc: 'chameleon@lists.maptools.org' Subject: Re: [Chameleon] Large TIFF not rendering Jacob, there is not, as far as I know, any limitations on size of data files. If you are using Chameleon 1.0.4 then you are accessing layers via WMS by loading a context file, unless you have hacked the source to do something different? This would mean that the type of the file is essentially immaterial. Can you explain what you are trying to do? Delfos, Jacob wrote: > Hi List, > > I'm trying to display a geoTiff file of slightly less than a gigabyte, > but it's not rendering. My TFW file is valid, because it shows alright > in ArcGIS. It is in the same projection as the mapfile. I couldn't find > any similar issues in the archive. Is there a limit on the filesize for > a TIF? I'm using Chamaleon version 1.0.4. The TIF is RGB, 24bit. > > Thanks in advance, > > Jacob > > > *JACOB DELFOS > SPATIAL INFORMATION ANALYST > *Maunsell Australia Pty Ltd > 629 Newcastle Street > PO Box 81 > Leederville 6902 > Western Australia > ABN 20 093 846 925 > > Tel + 61 8 9281 6185 > Fax + 61 8 9281 6297 > _jacob.delfos@maunsell.com_ > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From jacob.delfos@maunsell.com Thu Apr 1 21:04:30 2004 Received: from aumel1gw002.maunsell.com (210-193-148-152.macquarie.net.au [210.193.148.152] (may be forged)) by www.maptools.org (8.12.5/8.12.5) with SMTP id i3224S60032604 for ; Thu, 1 Apr 2004 21:04:29 -0500 Received: from aumel1ex001.mel.maunsell.com.au ([172.21.0.15]) by aumel1gw002.maunsell.com (SAVSMTP 3.1.0.29) with SMTP id M2004040212053824336 ; Fri, 02 Apr 2004 12:05:38 +1000 Received: by aumel1ex001.mel.maunsell.com.au with Internet Mail Service (5.5.2653.19) id ; Fri, 2 Apr 2004 12:04:50 +1000 Message-ID: From: "Delfos, Jacob" To: "'spencer@dmsolutions.ca'" Cc: "'chameleon@lists.maptools.org'" Subject: RE: [Chameleon] Large TIFF not rendering Date: Fri, 2 Apr 2004 12:08:29 +1000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: I think my problem may be that my TIFF is RGB. Do I understand correctly that that is not supported? Does this mean you can't display a colour TIFF? Regards, Jacob -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: Thursday, 1 April 2004 23:07 To: Delfos, Jacob Cc: 'chameleon@lists.maptools.org' Subject: Re: [Chameleon] Large TIFF not rendering Jacob, there is not, as far as I know, any limitations on size of data files. If you are using Chameleon 1.0.4 then you are accessing layers via WMS by loading a context file, unless you have hacked the source to do something different? This would mean that the type of the file is essentially immaterial. Can you explain what you are trying to do? Delfos, Jacob wrote: > Hi List, > > I'm trying to display a geoTiff file of slightly less than a gigabyte, > but it's not rendering. My TFW file is valid, because it shows alright > in ArcGIS. It is in the same projection as the mapfile. I couldn't find > any similar issues in the archive. Is there a limit on the filesize for > a TIF? I'm using Chamaleon version 1.0.4. The TIF is RGB, 24bit. > > Thanks in advance, > > Jacob > > > *JACOB DELFOS > SPATIAL INFORMATION ANALYST > *Maunsell Australia Pty Ltd > 629 Newcastle Street > PO Box 81 > Leederville 6902 > Western Australia > ABN 20 093 846 925 > > Tel + 61 8 9281 6185 > Fax + 61 8 9281 6297 > _jacob.delfos@maunsell.com_ > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Apr 1 21:17:20 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i322HK5x032681 for ; Thu, 1 Apr 2004 21:17:20 -0500 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i322HKSo003204; Thu, 1 Apr 2004 21:17:20 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i322HGPC018835; Thu, 1 Apr 2004 21:17:20 -0500 Message-ID: <406CCD28.4000507@magma.ca> Date: Thu, 01 Apr 2004 21:17:12 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Delfos, Jacob" CC: "'spencer@dmsolutions.ca'" , "'chameleon@lists.maptools.org'" Subject: Re: [Chameleon] Large TIFF not rendering References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Jacob, this is definitely outside of my area of expertise and would be better handled on the mapserver list since it is not directly a chameleon issue. One thought ... perhaps you don't have tiff support or it is broken some how? Cheers, Paul Delfos, Jacob wrote: > Paul, > > The release I have is cwc2-1.0.4-20031112. I am definitely using a map-file > (didn't hack it, at least not that bit). I had an ECW of around a 100MB > which I used initially. Because I wasn't happy with the graphic quality > (greenish planet mars-looking landscape, supposedly Australia) I fixed it up > in photoshop. Unfortunately, since the free ECW software can typically only > support up to 500MB, I couldn't save it back to ECW, so I converted to TIFF. > However, now chameleon won't load it (doesn't hang on it either, though). > All I changed is the filename in the DATA statement. The tif has a TFW file, > and I also created an ERS file for it; no effect. > > A better alternative to my problem would be a freeware program that > compresses >500MB to ECW. The new ECW sdk does it, but you'd need a license > to do it commercially (and visual C++). > > What else could cause a TIFF not to display? I'm not using compression. > > Regards, > > Jacob > > > -----Original Message----- > From: Paul Spencer [mailto:pagameba@magma.ca] > Sent: Thursday, 1 April 2004 23:07 > To: Delfos, Jacob > Cc: 'chameleon@lists.maptools.org' > Subject: Re: [Chameleon] Large TIFF not rendering > > > Jacob, > > there is not, as far as I know, any limitations on size of data files. > > If you are using Chameleon 1.0.4 then you are accessing layers via WMS > by loading a context file, unless you have hacked the source to do > something different? This would mean that the type of the file is > essentially immaterial. Can you explain what you are trying to do? > > Delfos, Jacob wrote: > > >>Hi List, >> >>I'm trying to display a geoTiff file of slightly less than a gigabyte, >>but it's not rendering. My TFW file is valid, because it shows alright >>in ArcGIS. It is in the same projection as the mapfile. I couldn't find >>any similar issues in the archive. Is there a limit on the filesize for >>a TIF? I'm using Chamaleon version 1.0.4. The TIF is RGB, 24bit. >> >>Thanks in advance, >> >>Jacob >> >> >>*JACOB DELFOS >>SPATIAL INFORMATION ANALYST >>*Maunsell Australia Pty Ltd >>629 Newcastle Street >>PO Box 81 >>Leederville 6902 >>Western Australia >>ABN 20 093 846 925 >> >>Tel + 61 8 9281 6185 >>Fax + 61 8 9281 6297 >>_jacob.delfos@maunsell.com_ >> > > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pdymecki@sympatico.ca Fri Apr 2 20:27:16 2004 Received: from tomts5-srv.bellnexxia.net (tomts5.bellnexxia.net [209.226.175.25]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i331RF5x006073 for ; Fri, 2 Apr 2004 20:27:15 -0500 Received: from paul ([65.93.196.199]) by tomts5-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20040403012659.LFUB18104.tomts5-srv.bellnexxia.net@paul> for ; Fri, 2 Apr 2004 20:26:59 -0500 Message-ID: <00c501c4191a$c436b420$7b45fea9@paul> From: "Paul Dymecki" To: References: Subject: Re: [Chameleon] Large TIFF not rendering Date: Fri, 2 Apr 2004 20:27:02 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, I was wondering if there is any documentation anywhere on the steps to go about for developing new widgets? I've been looking at the html docs but they seem a little meagre, thx, Paul ----- Original Message ----- From: "Delfos, Jacob" To: Cc: Sent: Thursday, April 01, 2004 6:49 PM Subject: RE: [Chameleon] Large TIFF not rendering > Paul, > > The release I have is cwc2-1.0.4-20031112. I am definitely using a map-file > (didn't hack it, at least not that bit). I had an ECW of around a 100MB > which I used initially. Because I wasn't happy with the graphic quality > (greenish planet mars-looking landscape, supposedly Australia) I fixed it up > in photoshop. Unfortunately, since the free ECW software can typically only > support up to 500MB, I couldn't save it back to ECW, so I converted to TIFF. > However, now chameleon won't load it (doesn't hang on it either, though). > All I changed is the filename in the DATA statement. The tif has a TFW file, > and I also created an ERS file for it; no effect. > > A better alternative to my problem would be a freeware program that > compresses >500MB to ECW. The new ECW sdk does it, but you'd need a license > to do it commercially (and visual C++). > > What else could cause a TIFF not to display? I'm not using compression. > > Regards, > > Jacob > > > -----Original Message----- > From: Paul Spencer [mailto:pagameba@magma.ca] > Sent: Thursday, 1 April 2004 23:07 > To: Delfos, Jacob > Cc: 'chameleon@lists.maptools.org' > Subject: Re: [Chameleon] Large TIFF not rendering > > > Jacob, > > there is not, as far as I know, any limitations on size of data files. > > If you are using Chameleon 1.0.4 then you are accessing layers via WMS > by loading a context file, unless you have hacked the source to do > something different? This would mean that the type of the file is > essentially immaterial. Can you explain what you are trying to do? > > Delfos, Jacob wrote: > > > Hi List, > > > > I'm trying to display a geoTiff file of slightly less than a gigabyte, > > but it's not rendering. My TFW file is valid, because it shows alright > > in ArcGIS. It is in the same projection as the mapfile. I couldn't find > > any similar issues in the archive. Is there a limit on the filesize for > > a TIF? I'm using Chamaleon version 1.0.4. The TIF is RGB, 24bit. > > > > Thanks in advance, > > > > Jacob > > > > > > *JACOB DELFOS > > SPATIAL INFORMATION ANALYST > > *Maunsell Australia Pty Ltd > > 629 Newcastle Street > > PO Box 81 > > Leederville 6902 > > Western Australia > > ABN 20 093 846 925 > > > > Tel + 61 8 9281 6185 > > Fax + 61 8 9281 6297 > > _jacob.delfos@maunsell.com_ > > > > -- > ----------------------------------------------------------------- > |Paul Spencer pspencer@dmsolutions.ca | > |-----------------------------------------------------------------| > |Applications & Software Development | > |DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon From pagameba@magma.ca Sat Apr 3 10:36:12 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i33FaC5x009562 for ; Sat, 3 Apr 2004 10:36:12 -0500 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i33FaC74025788; Sat, 3 Apr 2004 10:36:12 -0500 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i33Fa7aa019682; Sat, 3 Apr 2004 10:36:12 -0500 Message-ID: <406ED9E3.10508@magma.ca> Date: Sat, 03 Apr 2004 10:36:03 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Paul Dymecki CC: chameleon@lists.maptools.org Subject: Developing Widgets (was Re: [Chameleon] Large TIFF not rendering) References: <00c501c4191a$c436b420$7b45fea9@paul> In-Reply-To: <00c501c4191a$c436b420$7b45fea9@paul> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Paul, I have started to put such a document together, I will try to send you what I have next week ... some review would be a good idea, programmers don't necessarily make good writers :) Paul Paul Dymecki wrote: > Hi, > I was wondering if there is any documentation anywhere on the steps to go > about for developing new widgets? I've been looking at the html docs but > they seem a little meagre, > thx, > Paul > ----- Original Message ----- > From: "Delfos, Jacob" > To: > Cc: > Sent: Thursday, April 01, 2004 6:49 PM > Subject: RE: [Chameleon] Large TIFF not rendering > > > >>Paul, >> >>The release I have is cwc2-1.0.4-20031112. I am definitely using a > > map-file > >>(didn't hack it, at least not that bit). I had an ECW of around a 100MB >>which I used initially. Because I wasn't happy with the graphic quality >>(greenish planet mars-looking landscape, supposedly Australia) I fixed it > > up > >>in photoshop. Unfortunately, since the free ECW software can typically > > only > >>support up to 500MB, I couldn't save it back to ECW, so I converted to > > TIFF. > >>However, now chameleon won't load it (doesn't hang on it either, though). >>All I changed is the filename in the DATA statement. The tif has a TFW > > file, > >>and I also created an ERS file for it; no effect. >> >>A better alternative to my problem would be a freeware program that >>compresses >500MB to ECW. The new ECW sdk does it, but you'd need a > > license > >>to do it commercially (and visual C++). >> >>What else could cause a TIFF not to display? I'm not using compression. >> >>Regards, >> >>Jacob >> >> >>-----Original Message----- >>From: Paul Spencer [mailto:pagameba@magma.ca] >>Sent: Thursday, 1 April 2004 23:07 >>To: Delfos, Jacob >>Cc: 'chameleon@lists.maptools.org' >>Subject: Re: [Chameleon] Large TIFF not rendering >> >> >>Jacob, >> >>there is not, as far as I know, any limitations on size of data files. >> >>If you are using Chameleon 1.0.4 then you are accessing layers via WMS >>by loading a context file, unless you have hacked the source to do >>something different? This would mean that the type of the file is >>essentially immaterial. Can you explain what you are trying to do? >> >>Delfos, Jacob wrote: >> >> >>>Hi List, >>> >>>I'm trying to display a geoTiff file of slightly less than a gigabyte, >>>but it's not rendering. My TFW file is valid, because it shows alright >>>in ArcGIS. It is in the same projection as the mapfile. I couldn't find >>>any similar issues in the archive. Is there a limit on the filesize for >>>a TIF? I'm using Chamaleon version 1.0.4. The TIF is RGB, 24bit. >>> >>>Thanks in advance, >>> >>>Jacob >>> >>> >>>*JACOB DELFOS >>>SPATIAL INFORMATION ANALYST >>>*Maunsell Australia Pty Ltd >>>629 Newcastle Street >>>PO Box 81 >>>Leederville 6902 >>>Western Australia >>>ABN 20 093 846 925 >>> >>>Tel + 61 8 9281 6185 >>>Fax + 61 8 9281 6297 >>>_jacob.delfos@maunsell.com_ >>> >> >>-- >> ----------------------------------------------------------------- >>|Paul Spencer pspencer@dmsolutions.ca | >>|-----------------------------------------------------------------| >>|Applications & Software Development | >>|DM Solutions Group Inc http://www.dmsolutions.ca/| >> ----------------------------------------------------------------- >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pdymecki@sympatico.ca Sat Apr 3 13:21:14 2004 Received: from tomts36-srv.bellnexxia.net (tomts36.bellnexxia.net [209.226.175.93]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i33ILE5x010187 for ; Sat, 3 Apr 2004 13:21:14 -0500 Received: from paul ([67.71.17.31]) by tomts36-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20040403182113.GNWS1581.tomts36-srv.bellnexxia.net@paul>; Sat, 3 Apr 2004 13:21:13 -0500 Message-ID: <003401c419a8$74fe00a0$7b45fea9@paul> From: "Paul Dymecki" To: Cc: References: <00c501c4191a$c436b420$7b45fea9@paul> <406ED9E3.10508@magma.ca> Subject: Re: Developing Widgets (was Re: [Chameleon] Large TIFF not rendering) Date: Sat, 3 Apr 2004 13:21:17 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Thanks Paul, Sorry one more question, I'm trying to connect to an SQL server through ODBC and was wondering what the dbtype should be in the SQLQuery Widget? thx, Paul ----- Original Message ----- From: "Paul Spencer" To: "Paul Dymecki" Cc: Sent: Saturday, April 03, 2004 10:36 AM Subject: Developing Widgets (was Re: [Chameleon] Large TIFF not rendering) > Paul, > > I have started to put such a document together, I will try to send you > what I have next week ... some review would be a good idea, programmers > don't necessarily make good writers :) > > Paul > > Paul Dymecki wrote: > > Hi, > > I was wondering if there is any documentation anywhere on the steps to go > > about for developing new widgets? I've been looking at the html docs but > > they seem a little meagre, > > thx, > > Paul > > ----- Original Message ----- > > From: "Delfos, Jacob" > > To: > > Cc: > > Sent: Thursday, April 01, 2004 6:49 PM > > Subject: RE: [Chameleon] Large TIFF not rendering > > > > > > > >>Paul, > >> > >>The release I have is cwc2-1.0.4-20031112. I am definitely using a > > > > map-file > > > >>(didn't hack it, at least not that bit). I had an ECW of around a 100MB > >>which I used initially. Because I wasn't happy with the graphic quality > >>(greenish planet mars-looking landscape, supposedly Australia) I fixed it > > > > up > > > >>in photoshop. Unfortunately, since the free ECW software can typically > > > > only > > > >>support up to 500MB, I couldn't save it back to ECW, so I converted to > > > > TIFF. > > > >>However, now chameleon won't load it (doesn't hang on it either, though). > >>All I changed is the filename in the DATA statement. The tif has a TFW > > > > file, > > > >>and I also created an ERS file for it; no effect. > >> > >>A better alternative to my problem would be a freeware program that > >>compresses >500MB to ECW. The new ECW sdk does it, but you'd need a > > > > license > > > >>to do it commercially (and visual C++). > >> > >>What else could cause a TIFF not to display? I'm not using compression. > >> > >>Regards, > >> > >>Jacob > >> > >> > >>-----Original Message----- > >>From: Paul Spencer [mailto:pagameba@magma.ca] > >>Sent: Thursday, 1 April 2004 23:07 > >>To: Delfos, Jacob > >>Cc: 'chameleon@lists.maptools.org' > >>Subject: Re: [Chameleon] Large TIFF not rendering > >> > >> > >>Jacob, > >> > >>there is not, as far as I know, any limitations on size of data files. > >> > >>If you are using Chameleon 1.0.4 then you are accessing layers via WMS > >>by loading a context file, unless you have hacked the source to do > >>something different? This would mean that the type of the file is > >>essentially immaterial. Can you explain what you are trying to do? > >> > >>Delfos, Jacob wrote: > >> > >> > >>>Hi List, > >>> > >>>I'm trying to display a geoTiff file of slightly less than a gigabyte, > >>>but it's not rendering. My TFW file is valid, because it shows alright > >>>in ArcGIS. It is in the same projection as the mapfile. I couldn't find > >>>any similar issues in the archive. Is there a limit on the filesize for > >>>a TIF? I'm using Chamaleon version 1.0.4. The TIF is RGB, 24bit. > >>> > >>>Thanks in advance, > >>> > >>>Jacob > >>> > >>> > >>>*JACOB DELFOS > >>>SPATIAL INFORMATION ANALYST > >>>*Maunsell Australia Pty Ltd > >>>629 Newcastle Street > >>>PO Box 81 > >>>Leederville 6902 > >>>Western Australia > >>>ABN 20 093 846 925 > >>> > >>>Tel + 61 8 9281 6185 > >>>Fax + 61 8 9281 6297 > >>>_jacob.delfos@maunsell.com_ > >>> > >> > >>-- > >> ----------------------------------------------------------------- > >>|Paul Spencer pspencer@dmsolutions.ca | > >>|-----------------------------------------------------------------| > >>|Applications & Software Development | > >>|DM Solutions Group Inc http://www.dmsolutions.ca/| > >> ----------------------------------------------------------------- > >>_______________________________________________ > >>Chameleon mailing list > >>Chameleon@lists.maptools.org > >>http://lists.maptools.org/mailman/listinfo/chameleon > > > > > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > http://lists.maptools.org/mailman/listinfo/chameleon > > > > -- > ----------------------------------------------------------------- > |Paul Spencer pspencer@dmsolutions.ca | > |-----------------------------------------------------------------| > |Applications & Software Development | > |DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > > From pdymecki@sympatico.ca Sat Apr 3 21:48:03 2004 Received: from tomts16-srv.bellnexxia.net (tomts16.bellnexxia.net [209.226.175.4]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i342m35x011784 for ; Sat, 3 Apr 2004 21:48:03 -0500 Received: from paul ([67.71.17.31]) by tomts16-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20040404024752.BDSJ11615.tomts16-srv.bellnexxia.net@paul>; Sat, 3 Apr 2004 21:47:52 -0500 Message-ID: <004d01c419ef$3c5db9b0$7b45fea9@paul> From: "Paul Dymecki" To: Cc: References: <00c501c4191a$c436b420$7b45fea9@paul> <406ED9E3.10508@magma.ca> <003401c419a8$74fe00a0$7b45fea9@paul> Subject: Re: Developing Widgets (was Re: [Chameleon] Large TIFF not rendering) Date: Sat, 3 Apr 2004 21:47:56 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Actually the wiki just answered most of my questions i think, now i just have to figure out how to send the query a paramter from another widg, thanks, Paul ----- Original Message ----- From: "Paul Dymecki" To: Cc: Sent: Saturday, April 03, 2004 1:21 PM Subject: Re: Developing Widgets (was Re: [Chameleon] Large TIFF not rendering) > Thanks Paul, > Sorry one more question, I'm trying to connect to an SQL server through > ODBC and was wondering what the dbtype should be in the SQLQuery Widget? > thx, > Paul > ----- Original Message ----- > From: "Paul Spencer" > To: "Paul Dymecki" > Cc: > Sent: Saturday, April 03, 2004 10:36 AM > Subject: Developing Widgets (was Re: [Chameleon] Large TIFF not rendering) > > > > Paul, > > > > I have started to put such a document together, I will try to send you > > what I have next week ... some review would be a good idea, programmers > > don't necessarily make good writers :) > > > > Paul > > > > Paul Dymecki wrote: > > > Hi, > > > I was wondering if there is any documentation anywhere on the steps to > go > > > about for developing new widgets? I've been looking at the html docs > but > > > they seem a little meagre, > > > thx, > > > Paul > > > ----- Original Message ----- > > > From: "Delfos, Jacob" > > > To: > > > Cc: > > > Sent: Thursday, April 01, 2004 6:49 PM > > > Subject: RE: [Chameleon] Large TIFF not rendering > > > > > > > > > > > >>Paul, > > >> > > >>The release I have is cwc2-1.0.4-20031112. I am definitely using a > > > > > > map-file > > > > > >>(didn't hack it, at least not that bit). I had an ECW of around a 100MB > > >>which I used initially. Because I wasn't happy with the graphic quality > > >>(greenish planet mars-looking landscape, supposedly Australia) I fixed > it > > > > > > up > > > > > >>in photoshop. Unfortunately, since the free ECW software can typically > > > > > > only > > > > > >>support up to 500MB, I couldn't save it back to ECW, so I converted to > > > > > > TIFF. > > > > > >>However, now chameleon won't load it (doesn't hang on it either, > though). > > >>All I changed is the filename in the DATA statement. The tif has a TFW > > > > > > file, > > > > > >>and I also created an ERS file for it; no effect. > > >> > > >>A better alternative to my problem would be a freeware program that > > >>compresses >500MB to ECW. The new ECW sdk does it, but you'd need a > > > > > > license > > > > > >>to do it commercially (and visual C++). > > >> > > >>What else could cause a TIFF not to display? I'm not using compression. > > >> > > >>Regards, > > >> > > >>Jacob > > >> > > >> > > >>-----Original Message----- > > >>From: Paul Spencer [mailto:pagameba@magma.ca] > > >>Sent: Thursday, 1 April 2004 23:07 > > >>To: Delfos, Jacob > > >>Cc: 'chameleon@lists.maptools.org' > > >>Subject: Re: [Chameleon] Large TIFF not rendering > > >> > > >> > > >>Jacob, > > >> > > >>there is not, as far as I know, any limitations on size of data files. > > >> > > >>If you are using Chameleon 1.0.4 then you are accessing layers via WMS > > >>by loading a context file, unless you have hacked the source to do > > >>something different? This would mean that the type of the file is > > >>essentially immaterial. Can you explain what you are trying to do? > > >> > > >>Delfos, Jacob wrote: > > >> > > >> > > >>>Hi List, > > >>> > > >>>I'm trying to display a geoTiff file of slightly less than a gigabyte, > > >>>but it's not rendering. My TFW file is valid, because it shows alright > > >>>in ArcGIS. It is in the same projection as the mapfile. I couldn't find > > >>>any similar issues in the archive. Is there a limit on the filesize for > > >>>a TIF? I'm using Chamaleon version 1.0.4. The TIF is RGB, 24bit. > > >>> > > >>>Thanks in advance, > > >>> > > >>>Jacob > > >>> > > >>> > > >>>*JACOB DELFOS > > >>>SPATIAL INFORMATION ANALYST > > >>>*Maunsell Australia Pty Ltd > > >>>629 Newcastle Street > > >>>PO Box 81 > > >>>Leederville 6902 > > >>>Western Australia > > >>>ABN 20 093 846 925 > > >>> > > >>>Tel + 61 8 9281 6185 > > >>>Fax + 61 8 9281 6297 > > >>>_jacob.delfos@maunsell.com_ > > >>> > > >> > > >>-- > > >> ----------------------------------------------------------------- > > >>|Paul Spencer pspencer@dmsolutions.ca | > > >>|-----------------------------------------------------------------| > > >>|Applications & Software Development | > > >>|DM Solutions Group Inc http://www.dmsolutions.ca/| > > >> ----------------------------------------------------------------- > > >>_______________________________________________ > > >>Chameleon mailing list > > >>Chameleon@lists.maptools.org > > >>http://lists.maptools.org/mailman/listinfo/chameleon > > > > > > > > > _______________________________________________ > > > Chameleon mailing list > > > Chameleon@lists.maptools.org > > > http://lists.maptools.org/mailman/listinfo/chameleon > > > > > > > -- > > ----------------------------------------------------------------- > > |Paul Spencer pspencer@dmsolutions.ca | > > |-----------------------------------------------------------------| > > |Applications & Software Development | > > |DM Solutions Group Inc http://www.dmsolutions.ca/| > > ----------------------------------------------------------------- > > > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From bartvde@xs4all.nl Sun Apr 4 15:43:17 2004 Received: from smtp-out5.xs4all.nl (smtp-out5.xs4all.nl [194.109.24.6]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i34JhG5x021452 for ; Sun, 4 Apr 2004 15:43:17 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out5.xs4all.nl (8.12.10/8.12.10) with ESMTP id i34Jh8k2005765 for ; Sun, 4 Apr 2004 21:43:13 +0200 (CEST) Reply-To: bartvde@xs4all.nl To: "chameleon@lists.maptools.org" From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Sun, 04 Apr 2004 21:42:14 +0200 Message-ID: User-Agent: Opera7.23/Win32 M2 build 3227 Subject: [Chameleon] Zend WinEnabler Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, I was trying to use Zend's WinEnabler in combination with Chameleon, but this probably won't work at the moment because php_mapscript is not compliant with the prerequisites for modules to run under WinEnabler: Modules compiled for standard PHP version 4.3.X work with WinEnabler. Make sure to compile modules for thread-safe non-debug PHP. Will Chameleon 1.99 be able to run in this mode? Do the modules on which php_mapscript depend (GD etc.) follow these prerequisites? For performance this could be a big step, or not? Best regards, Bart From pagameba@magma.ca Sun Apr 4 17:40:52 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i34Leq5x021897 for ; Sun, 4 Apr 2004 17:40:52 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i34LepFn023159; Sun, 4 Apr 2004 17:40:51 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i34LenqW017079; Sun, 4 Apr 2004 17:40:51 -0400 Message-ID: <407080DB.3080206@magma.ca> Date: Sun, 04 Apr 2004 16:40:43 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: "chameleon@lists.maptools.org" Subject: Re: [Chameleon] Zend WinEnabler References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This could be a big performance boost and is something that we have been trying to find the time to start testing. MapScript now compiles for php as a module, but has not been extensively tested nor have many applications. Just running as a module should provide some increase in performance, but probably neglible for Chameleon. However, once running as a module, it should be possible to take advantage of memory-persistent sessions, and to have pre-compiled or optimized versions of the php code (Zend Optimizer for example). Cheers, Paul PS You don't actually need WinEnabler to do these things, it just won't be quite as stable without it. Bart van den Eijnden wrote: > Hi list, > > I was trying to use Zend's WinEnabler in combination with Chameleon, but > this probably won't work at the moment because php_mapscript is not > compliant with the prerequisites for modules to run under WinEnabler: > > Modules compiled for standard > PHP version 4.3.X work with > WinEnabler. Make sure to > compile modules for thread-safe > non-debug PHP. > > Will Chameleon 1.99 be able to run in this mode? Do the modules on which > php_mapscript depend (GD etc.) follow these prerequisites? For > performance this could be a big step, or not? > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pdymecki@sympatico.ca Mon Apr 5 02:59:58 2004 Received: from tomts20-srv.bellnexxia.net (tomts20.bellnexxia.net [209.226.175.74]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i356xw5x023605 for ; Mon, 5 Apr 2004 02:59:58 -0400 Received: from paul ([67.71.17.247]) by tomts20-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20040405065941.GHQG15811.tomts20-srv.bellnexxia.net@paul>; Mon, 5 Apr 2004 02:59:41 -0400 Message-ID: <000d01c41adb$9503c9f0$7b45fea9@paul> From: "Paul Dymecki" To: Cc: References: <407080DB.3080206@magma.ca> Subject: Re: [Chameleon] Zend WinEnabler Date: Mon, 5 Apr 2004 02:59:46 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hello, I have a general question about chameleon's use of sessions. I am trying to gain access to the session object, in particular to create a new query and am having no luck with accessing it from my widget is there a security feature that disallows this? thx, Paul ----- Original Message ----- From: "Paul Spencer" To: Cc: Sent: Sunday, April 04, 2004 5:40 PM Subject: Re: [Chameleon] Zend WinEnabler > This could be a big performance boost and is something that we have been > trying to find the time to start testing. MapScript now compiles for > php as a module, but has not been extensively tested nor have many > applications. > > Just running as a module should provide some increase in performance, > but probably neglible for Chameleon. However, once running as a module, > it should be possible to take advantage of memory-persistent sessions, > and to have pre-compiled or optimized versions of the php code (Zend > Optimizer for example). > > Cheers, > > Paul > > PS You don't actually need WinEnabler to do these things, it just won't > be quite as stable without it. > > Bart van den Eijnden wrote: > > > Hi list, > > > > I was trying to use Zend's WinEnabler in combination with Chameleon, but > > this probably won't work at the moment because php_mapscript is not > > compliant with the prerequisites for modules to run under WinEnabler: > > > > Modules compiled for standard > > PHP version 4.3.X work with > > WinEnabler. Make sure to > > compile modules for thread-safe > > non-debug PHP. > > > > Will Chameleon 1.99 be able to run in this mode? Do the modules on which > > php_mapscript depend (GD etc.) follow these prerequisites? For > > performance this could be a big step, or not? > > > > Best regards, > > Bart > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > http://lists.maptools.org/mailman/listinfo/chameleon > > > > -- > ----------------------------------------------------------------- > |Paul Spencer pspencer@dmsolutions.ca | > |-----------------------------------------------------------------| > |Applications & Software Development | > |DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon From Darren.Cope@statcan.ca Mon Apr 5 07:28:39 2004 Received: from stcshb2.statcan.ca (stcshb2.statcan.ca [142.206.3.27]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i35BSd5x025337 for ; Mon, 5 Apr 2004 07:28:39 -0400 Received: from egapb ([142.206.214.207]) by stcshb2.statcan.ca (8.12.10+Sun/8.11.1) with SMTP id i35BQmmb025694 for ; Mon, 5 Apr 2004 07:26:48 -0400 (EDT) Received: from smtpsha.iusd.statcan.ca (IDENT:root@localhost [127.0.0.1]) by smtpsha.iusd.statcan.ca (8.11.1/8.11.1) with ESMTP id i35BFQP30720 for ; Mon, 5 Apr 2004 07:15:26 -0400 Received: from msxa1.statcan.ca (msxa1.statcan.ca [142.205.234.72]) by smtpsha.iusd.statcan.ca (8.11.1/8.11.1) with ESMTP id i35BEDA04039 for ; Mon, 5 Apr 2004 07:14:13 -0400 Received: by msxa1.statcan.ca with Internet Mail Service (5.5.2653.19) id <1PMB3V9N>; Mon, 5 Apr 2004 07:24:54 -0400 Message-ID: From: Darren.Cope@statcan.ca To: chameleon@lists.maptools.org Date: Mon, 5 Apr 2004 07:24:52 -0400 X-Message-Flag: MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C41B00.9D3D9D50" Subject: [Chameleon] Legend template help Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C41B00.9D3D9D50 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, I am having some issues with my legend. I am using the Chameleon 1.0 = (CWC2) application. I have created an html legend (see below) which displays non-WMS layers as I would like (with their correct legend icons). Unfortunately, the "Query" widget does not query non-WMS layers, so I = would like to use only WMS layers in my application, and would like to = duplicate my current legend with WMS layers only, and then remove all of the = layers in my template map file (at this point, I am displaying all layers from = both a WMS and from my map template file. This, obviously, is not a good = solution to the problem, and causes layers to show up twice in the legend.) I = think the main problem is that I cannot display the legend icons for WMS layers--does anyone know how to do this properly? If I could display = legend icons for WMS layers, I would be able to use only layers from my WMS = server, and this would fix all of my problems. Any advice is much appreciated! Here is my html legend template: [leg_layer_html opt_flag=3D15] [if name=3Dwms_name oper=3Disnull] [leg_layer_name]
[/if] [if name=3Dwms_name oper=3Disset] [metadata name=3DWMS_TITLE] [/if] [/leg_layer_html] [leg_class_html opt_flag=3D15] [leg_class_name] [/leg_class_html] Thanks in advance for any suggestions! Darren Cope Statistics Canada/Statistique Canada Geography Division/Division de la g=E9ographie Jean Talon 3D5 Ottawa, Canada (613) 951-6461 ------_=_NextPart_001_01C41B00.9D3D9D50 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Legend template help

Hi all,

I am having some issues with my = legend.  I am using the Chameleon 1.0 (CWC2) application.  I = have created an html legend (see below) which displays non-WMS layers = as I would like (with their correct legend icons).   = Unfortunately, the "Query" widget does not query non-WMS = layers, so I would like to use only WMS layers in my application, and = would like to duplicate my current legend with WMS layers only, and = then remove all of the layers in my template map file (at this point, I = am displaying all layers from both a WMS and from my map template = file.  This, obviously, is not a good solution to the problem, and = causes layers to show up twice in the legend.)  I think the main = problem is that I cannot display the legend icons for WMS layers--does = anyone know how to do this properly?  If I could display legend = icons for WMS layers, I would be able to use only layers from my WMS = server, and this would fix all of my problems.

Any advice is much appreciated!  = Here is my html legend template:




[leg_layer_html opt_flag=3D15]

  <tr = bgcolor=3D"#FFFFFF" width=3D100%">
    <td = align=3D"center"><input type=3D"checkbox" = name=3D"legendlayername[]"
value=3D"[leg_layer_name]"
    [if = name=3Dlayer_status oper=3Deq  value=3D1]CHECKED[/if]
    [if = name=3Dlayer_status oper=3Deq = value=3D2]CHECKED[/if]></td>
    [if = name=3Dwms_name oper=3Disnull]
   <td>
<a href=3D"#" = onclick=3D"javascript:LegendTemplateLayerInfo('[leg_layer_name]');&= quot;><font face=3D"Arial, Helvetica, sans-serif" = size=3D"3">[leg_layer_name]</font></a></td&g= t;

  </tr>
    [/if]
    [if = name=3Dwms_name oper=3Disset]
    <td><img = src=3D"[leg_icon]"><a href=3D"#" = onclick=3D"javascript:LegendTemplateLayerInfo('[leg_layer_name]');&= quot;><font face=3D"Arial, Helvetica, sans-serif" = size=3D"2">[metadata = name=3DWMS_TITLE]</font></a></td>

  </tr>
    [/if]

[/leg_layer_html]

[leg_class_html opt_flag=3D15]
<tr><td = colspan=3D"2" align=3D"right">
<font face=3D"Arial, = Helvetica, sans-serif" size=3D"1">
[leg_class_name]
</font>
<IMG = SRC=3D"[leg_icon]">
</td></tr>
[/leg_class_html]


Thanks in advance for any = suggestions!

Darren Cope
Statistics Canada/Statistique = Canada
Geography Division/Division de = la g=E9ographie
Jean Talon 3D5
Ottawa, Canada
(613) 951-6461

------_=_NextPart_001_01C41B00.9D3D9D50-- From pagameba@magma.ca Mon Apr 5 08:33:52 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i35CXq5x025645 for ; Mon, 5 Apr 2004 08:33:52 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i35CXp0w008020; Mon, 5 Apr 2004 08:33:51 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i35CXkap009706; Mon, 5 Apr 2004 08:33:51 -0400 Message-ID: <40715224.2050508@magma.ca> Date: Mon, 05 Apr 2004 07:33:40 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Darren.Cope@statcan.ca CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Legend template help References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Darren, display of legend icons for WMS layers is currently not handled very well in MapServer and consequently Chameleon has problems too. The WMS spec does provide GetLegendGraphic but this is only partially supported in MapServer (as a WMS server) and I am not sure what the status is as a WMS client (which is what we need). In some cases, Chameleon is able to get a legend graphic but I believe that the legend template (which is just a standard mapserver legend template from cgi mode) does not support it yet. This is an area of concern for many Chameleon users and we will hopefully be looking to address this in the Spring. No specific timeline is available yet, however. The query widget *should* work with non-WMS layers but I think that in version 1.0 (because it was designed to work with only Context files and WMS layers) the capability to query local layers was disabled or not quite completed. It does work in version 1.99 Cheers, Paul Darren.Cope@statcan.ca wrote: > Hi all, > > I am having some issues with my legend. I am using the Chameleon 1.0 > (CWC2) application. I have created an html legend (see below) which > displays non-WMS layers as I would like (with their correct legend > icons). Unfortunately, the "Query" widget does not query non-WMS > layers, so I would like to use only WMS layers in my application, and > would like to duplicate my current legend with WMS layers only, and then > remove all of the layers in my template map file (at this point, I am > displaying all layers from both a WMS and from my map template file. > This, obviously, is not a good solution to the problem, and causes > layers to show up twice in the legend.) I think the main problem is > that I cannot display the legend icons for WMS layers--does anyone know > how to do this properly? If I could display legend icons for WMS > layers, I would be able to use only layers from my WMS server, and this > would fix all of my problems. > > Any advice is much appreciated! Here is my html legend template: > > > > > [leg_layer_html opt_flag=15] > > > value="[leg_layer_name]" > [if name=layer_status oper=eq value=1]CHECKED[/if] > [if name=layer_status oper=eq value=2]CHECKED[/if]> > [if name=wms_name oper=isnull] > > onclick="javascript:LegendTemplateLayerInfo('[leg_layer_name]');"> face="Arial, Helvetica, sans-serif" > size="3">[leg_layer_name] > > > [/if] > [if name=wms_name oper=isset] > onclick="javascript:LegendTemplateLayerInfo('[leg_layer_name]');"> face="Arial, Helvetica, sans-serif" size="2">[metadata > name=WMS_TITLE] > > > [/if] > > [/leg_layer_html] > > [leg_class_html opt_flag=15] > > > [leg_class_name] > > > > [/leg_class_html] > > > Thanks in advance for any suggestions! > > *Darren Cope* > Statistics Canada/Statistique Canada > Geography Division/Division de la géographie > Jean Talon 3D5 > Ottawa, Canada > (613) 951-6461 > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From vladamirk@hotmail.com Mon Apr 5 14:35:53 2004 Received: from hotmail.com (bay15-f60.bay15.hotmail.com [65.54.185.60]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i35IZr2H027786 for ; Mon, 5 Apr 2004 14:35:53 -0400 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 5 Apr 2004 11:24:29 -0700 Received: from 199.212.21.22 by by15fd.bay15.hotmail.msn.com with HTTP; Mon, 05 Apr 2004 18:24:28 GMT X-Originating-IP: [199.212.21.22] X-Originating-Email: [vladamirk@hotmail.com] X-Sender: vladamirk@hotmail.com From: "Vladamir Kay" To: chameleon@lists.maptools.org Date: Mon, 05 Apr 2004 18:24:28 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 05 Apr 2004 18:24:29.0002 (UTC) FILETIME=[3B977AA0:01C41B3B] Subject: [Chameleon] ArcIMS Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Can we use ArcIMS with Chameleon? Thanks. Vladamir. _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From Tom.Kralidis@ec.gc.ca Mon Apr 5 14:53:46 2004 Received: from ecnwri1.ontario.int.ec.gc.ca (ecolink.cciw.ca [192.75.68.254]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i35Irk2H027952 for ; Mon, 5 Apr 2004 14:53:46 -0400 Received: by ECNWRI1.ontario.int.ec.gc.ca with Internet Mail Service (5.5.2657.72) id ; Mon, 5 Apr 2004 14:53:38 -0400 Message-ID: <2576812186CDD411BF1500508B6DCE95064370DC@ECNWRI1.ontario.int.ec.gc.ca> From: "Kralidis,Tom [Burlington]" To: "'Vladamir Kay'" , chameleon@lists.maptools.org Subject: RE: [Chameleon] ArcIMS Date: Mon, 5 Apr 2004 14:53:38 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: > -----Original Message----- > From: Vladamir Kay [mailto:vladamirk@hotmail.com] > Sent: Monday, April 05, 2004 2:24 PM > To: chameleon@lists.maptools.org > Subject: [Chameleon] ArcIMS > > > Can we use ArcIMS with Chameleon? Thanks. > If your ArcIMS provides OGC:WMS, you can use it with Chameleon. ..Tom > Vladamir. > > _________________________________________________________________ > Add photos to your e-mail with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/cha> meleon > From dgadoury@dmsolutions.ca Mon Apr 5 14:57:53 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i35Ivr2H027980 for ; Mon, 5 Apr 2004 14:57:53 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i35Ivli9001933; Mon, 5 Apr 2004 14:57:47 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i35IvkOJ020887; Mon, 5 Apr 2004 14:57:47 -0400 Message-ID: <4071ABEC.5020003@dmsolutions.ca> Date: Mon, 05 Apr 2004 14:56:44 -0400 From: Dean Gadoury Reply-To: dgadoury@dmsolutions.ca Organization: DM Solutions Group User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Vladamir Kay CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] ArcIMS References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: It depends on what you mean. Chameleon uses MapServer as its image rendering engine and it is required to use Chameleon. However, you can request WMS layers from OGC compliant ArcIMS servers. Dean Vladamir Kay wrote: > Can we use ArcIMS with Chameleon? Thanks. > > Vladamir. > > _________________________________________________________________ > Add photos to your e-mail with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ___________________________ Dean Gadoury DM Solutions Group 30 Rosemount Ave. Suite 200 Ottawa, Ontario. K1Y 1P4 613.565.5056 ext. 24 dgadoury@dmsolutions.ca www.dmsolutions.ca From bartvde@xs4all.nl Mon Apr 5 15:04:45 2004 Received: from smtp-out5.xs4all.nl (smtp-out5.xs4all.nl [194.109.24.6]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i35J4i2H028109 for ; Mon, 5 Apr 2004 15:04:44 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out5.xs4all.nl (8.12.10/8.12.10) with ESMTP id i35J4Vk2013310; Mon, 5 Apr 2004 21:04:31 +0200 (CEST) Date: Mon, 05 Apr 2004 21:03:37 +0200 To: "'Vladamir Kay'" , chameleon@lists.maptools.org Subject: Re: [Chameleon] ArcIMS Reply-To: bartvde@xs4all.nl References: <2576812186CDD411BF1500508B6DCE95064370DC@ECNWRI1.ontario.int.ec.gc.ca> From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <2576812186CDD411BF1500508B6DCE95064370DC@ECNWRI1.ontario.int.ec.gc.ca> User-Agent: Opera7.23/Win32 M2 build 3227 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, you won't have any problems getting your maps from ArcIMS in Chameleon if you use the WMS connector (version 0.0.6) from the ESRI interoperability download centre. However, the following type of functionality will be problematic (but not impossible if you have e.g. basic PHP skills): -WMS GetFeatureInfo (query results using a click in the map) as ArcIMS WMS provides ArcXML as output -download GML or shapefile (as ArcIMS WFS connector only provides a HTTP POST interface for GetFeature and Chameleon assumes HTTP GET). So basic functionality (getting maps) will work, advanced functionality won't work out of the box. Best regards, Bart On Mon, 5 Apr 2004 14:53:38 -0400, Kralidis,Tom [Burlington] wrote: > > >> -----Original Message----- >> From: Vladamir Kay [mailto:vladamirk@hotmail.com] >> Sent: Monday, April 05, 2004 2:24 PM >> To: chameleon@lists.maptools.org >> Subject: [Chameleon] ArcIMS >> >> >> Can we use ArcIMS with Chameleon? Thanks. >> > > If your ArcIMS provides OGC:WMS, you can use it with Chameleon. > > ..Tom > >> Vladamir. >> >> _________________________________________________________________ >> Add photos to your e-mail with MSN 8. Get 2 months FREE*. >> http://join.msn.com/?page=features/featuredemail >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/cha> meleon >> > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- From vladamirk@hotmail.com Tue Apr 6 08:15:31 2004 Received: from hotmail.com (bay15-f63.bay15.hotmail.com [65.54.185.63]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i36CFU2H001073 for ; Tue, 6 Apr 2004 08:15:31 -0400 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 6 Apr 2004 05:15:29 -0700 Received: from 199.212.21.22 by by15fd.bay15.hotmail.msn.com with HTTP; Tue, 06 Apr 2004 12:15:29 GMT X-Originating-IP: [199.212.21.22] X-Originating-Email: [vladamirk@hotmail.com] X-Sender: vladamirk@hotmail.com From: "Vladamir Kay" To: chameleon@lists.maptools.org Date: Tue, 06 Apr 2004 12:15:29 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 06 Apr 2004 12:15:29.0708 (UTC) FILETIME=[D9F50EC0:01C41BD0] Subject: [Chameleon] ArcIMS Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Why would one not want to use Chameleon as a map server for IMS. I've been trying to find the advantages and disadvantages on the internet, but it doesnt seem to be a very popular map server. What do you suggest is ideal for ArcIMS? Cheers! Vladamir _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From bartvde@xs4all.nl Tue Apr 6 09:18:41 2004 Received: from smtp-out1.xs4all.nl (smtp-out1.xs4all.nl [194.109.24.11]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i36DIe2H001359 for ; Tue, 6 Apr 2004 09:18:41 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out1.xs4all.nl (8.12.10/8.12.10) with SMTP id i36DIWRd018170; Tue, 6 Apr 2004 15:18:32 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Tue, 6 Apr 2004 15:18:38 +0200 (CEST) Message-ID: <15512.212.238.227.182.1081257518.squirrel@webmail.xs4all.nl> In-Reply-To: References: Date: Tue, 6 Apr 2004 15:18:38 +0200 (CEST) Subject: Re: [Chameleon] ArcIMS From: bartvde@xs4all.nl To: "Vladamir Kay" Cc: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, Chameleon is not a Map Server, it is Map client, or to be more precise a template-based "toolbox" for generating Map clients. Nothing is ideal for ArcIMS, except ESRI clients :-) You can perfectly use Chameleon as a Map client for ArcIMS. Best regards, Bart > Why would one not want to use Chameleon as a map server for IMS. I've been > trying to find the advantages and disadvantages on the internet, but it > doesnt seem to be a very popular map server. What do you suggest is ideal > for ArcIMS? > > Cheers! > Vladamir > > _________________________________________________________________ > Help STOP SPAM with the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From bartvde@xs4all.nl Tue Apr 6 10:03:02 2004 Received: from smtp-out1.xs4all.nl (smtp-out1.xs4all.nl [194.109.24.11]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i36E322H001626 for ; Tue, 6 Apr 2004 10:03:02 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out1.xs4all.nl (8.12.10/8.12.10) with SMTP id i36E2teh060867; Tue, 6 Apr 2004 16:02:55 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Tue, 6 Apr 2004 16:02:55 +0200 (CEST) Message-ID: <10460.212.238.227.182.1081260175.squirrel@webmail.xs4all.nl> In-Reply-To: References: Date: Tue, 6 Apr 2004 16:02:55 +0200 (CEST) From: bartvde@xs4all.nl To: "Vladamir Kay" Cc: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [Chameleon] Re: Tutorial Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Vladimir, I believe the documentation for the latest version is still in the works. I don't know if the new documentation will include something like a tutorial. Basically what you do with Chameleon is create an HTML template which contains special XML tags that look like . These tags are interpreted by Chameleon to create HTML and javascript. The CWC2 tags represent widgets, like e.g. a zoomin widget, a pan widget etc. Chameleon is written in PHP and depends on PHP/Mapscript. Best thing you can do at the moment is try to install to following (and play with it): -MS4W -Chameleon 1.1 -a Chameleon sample application, e.g.(http://www.vz.geodan.nl/users/bart/geodan_ms4w-2003-10-31.zip) An example site for Chameleon is: http://mapsherpa.dmsolutions.ca/hawaii2/ If you have more specific questions just post them to the list. Best regards, Bart > Where can I learn more about Chameleon, asides from the main website. > > Thanks. > > _________________________________________________________________ > MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. > http://join.msn.com/?page=features/virus > > From dgadoury@dmsolutions.ca Tue Apr 6 10:36:18 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i36EaI2H001887 for ; Tue, 6 Apr 2004 10:36:18 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i36EaEXh018756; Tue, 6 Apr 2004 10:36:14 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i36EaCig018291; Tue, 6 Apr 2004 10:36:14 -0400 Message-ID: <4072C017.9090903@dmsolutions.ca> Date: Tue, 06 Apr 2004 10:35:03 -0400 From: Dean Gadoury Reply-To: dgadoury@dmsolutions.ca Organization: DM Solutions Group User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: Vladamir Kay , chameleon@lists.maptools.org Subject: Re: [Chameleon] Re: Tutorial References: <10460.212.238.227.182.1081260175.squirrel@webmail.xs4all.nl> In-Reply-To: <10460.212.238.227.182.1081260175.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi, The 2.0 release will include substantial documentation including a tutorial. Dean bartvde@xs4all.nl wrote: >Hi Vladimir, > >I believe the documentation for the latest version is still in the works. > >I don't know if the new documentation will include something like a >tutorial. Basically what you do with Chameleon is create an HTML template >which contains special XML tags that look like . These tags are >interpreted by Chameleon to create HTML and javascript. The CWC2 tags >represent widgets, like e.g. a zoomin widget, a pan widget etc. Chameleon >is written in PHP and depends on PHP/Mapscript. > >Best thing you can do at the moment is try to install to following (and >play with it): >-MS4W >-Chameleon 1.1 >-a Chameleon sample application, >e.g.(http://www.vz.geodan.nl/users/bart/geodan_ms4w-2003-10-31.zip) > >An example site for Chameleon is: >http://mapsherpa.dmsolutions.ca/hawaii2/ > >If you have more specific questions just post them to the list. > >Best regards, >Bart > > > >>Where can I learn more about Chameleon, asides from the main website. >> >>Thanks. >> >>_________________________________________________________________ >>MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. >>http://join.msn.com/?page=features/virus >> >> >> >> > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > > -- ___________________________ Dean Gadoury DM Solutions Group 30 Rosemount Ave. Suite 200 Ottawa, Ontario. K1Y 1P4 613.565.5056 ext. 24 dgadoury@dmsolutions.ca www.dmsolutions.ca From ken@rockies.ca Tue Apr 6 13:17:51 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i36HHo2H002912 for ; Tue, 6 Apr 2004 13:17:51 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id tyfleaaa for chameleon@lists.maptools.org; Tue, 6 Apr 2004 11:12:03 -0600 From: "Ken Sanderson" To: Subject: RE: [Chameleon] Re: Tutorial Date: Tue, 6 Apr 2004 11:22:16 -0600 Message-ID: <006d01c41bfb$b93efa30$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 In-Reply-To: <4072C017.9090903@dmsolutions.ca> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: What is the expected timeline on the 2.0 release? Ken -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Dean Gadoury Sent: April 6, 2004 8:35 AM To: bartvde@xs4all.nl Cc: Vladamir Kay; chameleon@lists.maptools.org Subject: Re: [Chameleon] Re: Tutorial Hi, The 2.0 release will include substantial documentation including a tutorial. Dean bartvde@xs4all.nl wrote: >Hi Vladimir, > >I believe the documentation for the latest version is still in the >works. > >I don't know if the new documentation will include something like a >tutorial. Basically what you do with Chameleon is create an HTML >template which contains special XML tags that look like . These >tags are interpreted by Chameleon to create HTML and javascript. The >CWC2 tags represent widgets, like e.g. a zoomin widget, a pan widget >etc. Chameleon is written in PHP and depends on PHP/Mapscript. > >Best thing you can do at the moment is try to install to following (and >play with it): -MS4W >-Chameleon 1.1 >-a Chameleon sample application, >e.g.(http://www.vz.geodan.nl/users/bart/geodan_ms4w-2003-10-31.zip) > >An example site for Chameleon is: >http://mapsherpa.dmsolutions.ca/hawaii2/ > >If you have more specific questions just post them to the list. > >Best regards, >Bart > > > >>Where can I learn more about Chameleon, asides from the main website. >> >>Thanks. >> >>_________________________________________________________________ >>MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. >>http://join.msn.com/?page=features/virus >> >> >> >> > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > > -- ___________________________ Dean Gadoury DM Solutions Group 30 Rosemount Ave. Suite 200 Ottawa, Ontario. K1Y 1P4 613.565.5056 ext. 24 dgadoury@dmsolutions.ca www.dmsolutions.ca _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From pagameba@magma.ca Tue Apr 6 13:34:23 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i36HYN2H003267 for ; Tue, 6 Apr 2004 13:34:23 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i36HYMYk009515; Tue, 6 Apr 2004 13:34:22 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i36HYI5M022898; Tue, 6 Apr 2004 13:34:22 -0400 Message-ID: <4072EA11.2000602@magma.ca> Date: Tue, 06 Apr 2004 12:34:09 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ken Sanderson CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Re: Tutorial References: <006d01c41bfb$b93efa30$31289f88@GLADSTONE> In-Reply-To: <006d01c41bfb$b93efa30$31289f88@GLADSTONE> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: real soon now :) As described in http://lists.maptools.org/pipermail/chameleon/2004-April/000697.html the next release will be 1.99, the beta should be out in a couple of weeks, the full release will be longer (including full documentation). There is currently no timeline, I'll let everyone know when we get within a month of full release. Cheers, Paul Ken Sanderson wrote: > What is the expected timeline on the 2.0 release? > > Ken > > -----Original Message----- > From: chameleon-admin@lists.maptools.org > [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Dean Gadoury > Sent: April 6, 2004 8:35 AM > To: bartvde@xs4all.nl > Cc: Vladamir Kay; chameleon@lists.maptools.org > Subject: Re: [Chameleon] Re: Tutorial > > > Hi, > The 2.0 release will include substantial documentation including a > tutorial. Dean > > bartvde@xs4all.nl wrote: > > >>Hi Vladimir, >> >>I believe the documentation for the latest version is still in the >>works. >> >>I don't know if the new documentation will include something like a >>tutorial. Basically what you do with Chameleon is create an HTML >>template which contains special XML tags that look like . These >>tags are interpreted by Chameleon to create HTML and javascript. The >>CWC2 tags represent widgets, like e.g. a zoomin widget, a pan widget >>etc. Chameleon is written in PHP and depends on PHP/Mapscript. >> >>Best thing you can do at the moment is try to install to following (and > > >>play with it): -MS4W >>-Chameleon 1.1 >>-a Chameleon sample application, >>e.g.(http://www.vz.geodan.nl/users/bart/geodan_ms4w-2003-10-31.zip) >> >>An example site for Chameleon is: >>http://mapsherpa.dmsolutions.ca/hawaii2/ >> >>If you have more specific questions just post them to the list. >> >>Best regards, >>Bart >> >> >> >> >>>Where can I learn more about Chameleon, asides from the main website. >>> >>>Thanks. >>> >>>_________________________________________________________________ >>>MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. >>>http://join.msn.com/?page=features/virus >>> >>> >>> >>> >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> >> >> > > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From ken@rockies.ca Tue Apr 6 13:42:28 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i36HgS2H003405 for ; Tue, 6 Apr 2004 13:42:28 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id gqgleaaa for chameleon@lists.maptools.org; Tue, 6 Apr 2004 11:37:27 -0600 From: "Ken Sanderson" To: Subject: RE: [Chameleon] Re: Tutorial Date: Tue, 6 Apr 2004 11:47:40 -0600 Message-ID: <007101c41bff$44775c20$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 In-Reply-To: <4072EA11.2000602@magma.ca> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Excellent. Will the tutorial and other documentation be in the 1.99 beta or just the 2 release? Ken -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Paul Spencer Sent: April 6, 2004 11:34 AM To: Ken Sanderson Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Re: Tutorial real soon now :) As described in http://lists.maptools.org/pipermail/chameleon/2004-April/000697.html the next release will be 1.99, the beta should be out in a couple of weeks, the full release will be longer (including full documentation). There is currently no timeline, I'll let everyone know when we get within a month of full release. Cheers, Paul Ken Sanderson wrote: > What is the expected timeline on the 2.0 release? > > Ken > > -----Original Message----- > From: chameleon-admin@lists.maptools.org > [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Dean Gadoury > Sent: April 6, 2004 8:35 AM > To: bartvde@xs4all.nl > Cc: Vladamir Kay; chameleon@lists.maptools.org > Subject: Re: [Chameleon] Re: Tutorial > > > Hi, > The 2.0 release will include substantial documentation including a > tutorial. Dean > > bartvde@xs4all.nl wrote: > > >>Hi Vladimir, >> >>I believe the documentation for the latest version is still in the >>works. >> >>I don't know if the new documentation will include something like a >>tutorial. Basically what you do with Chameleon is create an HTML >>template which contains special XML tags that look like . These >>tags are interpreted by Chameleon to create HTML and javascript. The >>CWC2 tags represent widgets, like e.g. a zoomin widget, a pan widget >>etc. Chameleon is written in PHP and depends on PHP/Mapscript. >> >>Best thing you can do at the moment is try to install to following >>(and > > >>play with it): -MS4W >>-Chameleon 1.1 >>-a Chameleon sample application, >>e.g.(http://www.vz.geodan.nl/users/bart/geodan_ms4w-2003-10-31.zip) >> >>An example site for Chameleon is: >>http://mapsherpa.dmsolutions.ca/hawaii2/ >> >>If you have more specific questions just post them to the list. >> >>Best regards, >>Bart >> >> >> >> >>>Where can I learn more about Chameleon, asides from the main website. >>> >>>Thanks. >>> >>>_________________________________________________________________ >>>MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. >>>http://join.msn.com/?page=features/virus >>> >>> >>> >>> >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> >> >> > > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From jmckenna@dmsolutions.ca Tue Apr 6 13:50:22 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i36HoM2H003490 for ; Tue, 6 Apr 2004 13:50:22 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i36HoLdR015580; Tue, 6 Apr 2004 13:50:21 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i36HoJTE031075; Tue, 6 Apr 2004 13:50:20 -0400 Message-ID: <4072EDD6.3020709@dmsolutions.ca> Date: Tue, 06 Apr 2004 13:50:14 -0400 From: Jeff McKenna User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ken Sanderson CC: chameleon@lists.maptools.org, Darren Redfern Subject: Re: [Chameleon] Re: Tutorial References: <007101c41bff$44775c20$31289f88@GLADSTONE> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Ken, We're currently in the process of deciding what documents (including tutorial, sample app) will be updated for 1.99. As soon as we decide I'll send a message to this list. Jeff Ken Sanderson wrote: > Excellent. Will the tutorial and other documentation be in the 1.99 beta > or just the 2 release? > > Ken -- Jeff McKenna GIS Specialist DM Solutions Group Inc. http://www.dmsolutions.ca From pagameba@magma.ca Tue Apr 6 15:29:05 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i36JT52H004183 for ; Tue, 6 Apr 2004 15:29:05 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i36JT5j3007764; Tue, 6 Apr 2004 15:29:05 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i36JT2HO019631; Tue, 6 Apr 2004 15:29:04 -0400 Message-ID: <407304F6.1090000@magma.ca> Date: Tue, 06 Apr 2004 14:28:54 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ken Sanderson CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Re: Tutorial References: <007101c41bff$44775c20$31289f88@GLADSTONE> In-Reply-To: <007101c41bff$44775c20$31289f88@GLADSTONE> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Some documentation will be ready with the beta, the rest will be released as it is finished, when it is all done then 2.0 will likely be released assuming all the other pieces have come together (like QA) Paul Ken Sanderson wrote: > Excellent. Will the tutorial and other documentation be in the 1.99 beta > or just the 2 release? > > Ken > > -----Original Message----- > From: chameleon-admin@lists.maptools.org > [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Paul Spencer > Sent: April 6, 2004 11:34 AM > To: Ken Sanderson > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Re: Tutorial > > > real soon now :) As described in > http://lists.maptools.org/pipermail/chameleon/2004-April/000697.html > > the next release will be 1.99, the beta should be out in a couple of > weeks, the full release will be longer (including full documentation). > There is currently no timeline, I'll let everyone know when we get > within a month of full release. > > Cheers, > > Paul > > Ken Sanderson wrote: > > >>What is the expected timeline on the 2.0 release? >> >>Ken >> >>-----Original Message----- >>From: chameleon-admin@lists.maptools.org >>[mailto:chameleon-admin@lists.maptools.org] On Behalf Of Dean Gadoury >>Sent: April 6, 2004 8:35 AM >>To: bartvde@xs4all.nl >>Cc: Vladamir Kay; chameleon@lists.maptools.org >>Subject: Re: [Chameleon] Re: Tutorial >> >> >>Hi, >>The 2.0 release will include substantial documentation including a >>tutorial. Dean >> >>bartvde@xs4all.nl wrote: >> >> >> >>>Hi Vladimir, >>> >>>I believe the documentation for the latest version is still in the >>>works. >>> >>>I don't know if the new documentation will include something like a >>>tutorial. Basically what you do with Chameleon is create an HTML >>>template which contains special XML tags that look like . These >>>tags are interpreted by Chameleon to create HTML and javascript. The >>>CWC2 tags represent widgets, like e.g. a zoomin widget, a pan widget >>>etc. Chameleon is written in PHP and depends on PHP/Mapscript. >>> >>>Best thing you can do at the moment is try to install to following >>>(and >> >> >>>play with it): -MS4W >>>-Chameleon 1.1 >>>-a Chameleon sample application, >>>e.g.(http://www.vz.geodan.nl/users/bart/geodan_ms4w-2003-10-31.zip) >>> >>>An example site for Chameleon is: >>>http://mapsherpa.dmsolutions.ca/hawaii2/ >>> >>>If you have more specific questions just post them to the list. >>> >>>Best regards, >>>Bart >>> >>> >>> >>> >>> >>>>Where can I learn more about Chameleon, asides from the main website. >>>> >>>>Thanks. >>>> >>>>_________________________________________________________________ >>>>MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. >>>>http://join.msn.com/?page=features/virus >>>> >>>> >>>> >>>> >>> >>>_______________________________________________ >>>Chameleon mailing list >>>Chameleon@lists.maptools.org >>>http://lists.maptools.org/mailman/listinfo/chameleon >>> >>> >>> >> >> > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Stephanie.Choi@ec.gc.ca Wed Apr 7 13:14:08 2004 Received: from mgtserver3.tor.ec.gc.ca (ecdow130.tor.ec.gc.ca [199.212.19.130]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i37HE82H011564 for ; Wed, 7 Apr 2004 13:14:08 -0400 content-class: urn:content-classes:message Date: Wed, 7 Apr 2004 13:14:08 -0400 Message-ID: <9B09D75DF5B3494BA06E6FE478CE9CC1490825@mgtserver3.ontario.int.ec.gc.ca> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C41CC3.BCCD5D54" X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Chameleon and CubeSERV X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Thread-Index: AcQcw7xv8EnaHV6vSja1GeSbPaMFtQ== From: "Choi,Stephanie [Ontario]" To: Subject: [Chameleon] Chameleon and CubeSERV Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------_=_NextPart_001_01C41CC3.BCCD5D54 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi all, I got a question about Chameleon. Will it be possible to use Chameleon as a client with CubeSERV instead of Mapserver ? I am not quite sure about this because I know that Chameleon needs php_mapscript.so to run but that is generated from the mapserver build though. =20 Thanks in advance, Stephanie =20 ------_=_NextPart_001_01C41CC3.BCCD5D54 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Chameleon and CubeSERV

Hi all,

I got a question about Chameleon.  = Will it be possible to use Chameleon as a client with CubeSERV instead = of Mapserver ?  I am not quite sure about this because I know that = Chameleon needs php_mapscript.so to run but that is generated from the = mapserver build though. 

Thanks in advance,

Stephanie 

------_=_NextPart_001_01C41CC3.BCCD5D54-- From Tom.Kralidis@ec.gc.ca Wed Apr 7 13:35:28 2004 Received: from ecnwri1.ontario.int.ec.gc.ca (ecolink.cciw.ca [192.75.68.254]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i37HZS2H011810 for ; Wed, 7 Apr 2004 13:35:28 -0400 Received: by ECNWRI1.ontario.int.ec.gc.ca with Internet Mail Service (5.5.2657.72) id <2NTF4KD7>; Wed, 7 Apr 2004 13:35:24 -0400 Message-ID: <2576812186CDD411BF1500508B6DCE9506437107@ECNWRI1.ontario.int.ec.gc.ca> From: "Kralidis,Tom [Burlington]" To: "Choi,Stephanie [Ontario]" , chameleon@lists.maptools.org Subject: RE: [Chameleon] Chameleon and CubeSERV Date: Wed, 7 Apr 2004 13:35:23 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi Stephanie, Chameleon requires MapServer for web mapping interface functionality. As far as map data per se, Chameleon can connect to ANY OGC:WMS, which includes CubeWerx, ArcIMS, etc. Hope this helps. ..Tom ========================= Tom Kralidis Systems Scientist Environment Canada Tel: +01-905-336-4409 http://www.ec.gc.ca/ http://www.cise-scie.ca/ -----Original Message----- From: Choi,Stephanie [Ontario] [mailto:Stephanie.Choi@ec.gc.ca] Sent: Wednesday, April 07, 2004 1:14 PM To: chameleon@lists.maptools.org Subject: [Chameleon] Chameleon and CubeSERV Hi all, I got a question about Chameleon. Will it be possible to use Chameleon as a client with CubeSERV instead of Mapserver ? I am not quite sure about this because I know that Chameleon needs php_mapscript.so to run but that is generated from the mapserver build though. Thanks in advance, Stephanie From jcradock@redington.me3.com Wed Apr 7 13:47:06 2004 Received: from redington.me3.com ([65.198.76.159]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i37Hl52H011886 for ; Wed, 7 Apr 2004 13:47:05 -0400 Received: (qmail 8482 invoked by uid 99); 7 Apr 2004 17:42:56 -0000 Received: from 127.0.0.1 (SquirrelMail authenticated user creadoc) by redington.me3.com with HTTP; Wed, 7 Apr 2004 13:42:56 -0400 (EDT) Message-ID: <36025.127.0.0.1.1081359776.squirrel@redington.me3.com> Date: Wed, 7 Apr 2004 13:42:56 -0400 (EDT) From: "james cradock" To: chameleon@lists.maptools.org Reply-To: jcradock@redington.me3.com User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal Subject: [Chameleon] chameleon install and logging problem Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: hello, sadly, my first post is an installation (or configuration) problem: i've installed chameleon on red hat linux. i'm running apache 2.0.48. php is running as a module, not as a cgi. here's my demo page: http://redington.me3.com/chameleon/htdocs/demo.html probably a common problem. what's the solution? i'm using the latest alpha of 1.1. followed all the instructions -- or *thought* i'd followed all the instructions -- in the somewhat outdated installation document. also, logging is not (logging). i'd normally tail the logs for activity or errors. i've asked chameleon to log everything (all), but i get nothing. logs directory is writeable by the apache user. thanks. jc ----- james cradock jcradock@redington.me3.com From jfournier@dmsolutions.ca Wed Apr 7 14:27:56 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i37IRt2H012070 for ; Wed, 7 Apr 2004 14:27:55 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i37IRtKp001666; Wed, 7 Apr 2004 14:27:55 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i37IRsgM020481; Wed, 7 Apr 2004 14:27:55 -0400 Message-ID: <40744860.4010700@dmsolutions.ca> Date: Wed, 07 Apr 2004 14:28:48 -0400 From: Jason Fournier Reply-To: jfournier@dmsolutions.ca User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: jcradock@redington.me3.com CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] chameleon install and logging problem References: <36025.127.0.0.1.1081359776.squirrel@redington.me3.com> In-Reply-To: <36025.127.0.0.1.1081359776.squirrel@redington.me3.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: James, The html template is one component of your application. In order to initialize Chameleon to parse the template you use another file, normally called index.phtml, which contains paths to your template (eg, demo.html) and your mapfile. Here is what a simple index file would look like: ------------------------------------------------------------------------------------------------ include( "/path/to/chameleon/htdocs/chameleon.php" ); $szTemplate = "demo.html"; $szMapFile = "/path/to/mapfile.map"; class test extends Chameleon { function test() { parent::Chameleon(); $this->moMapSession = new MapSession_RW; $this->moMapSession->setTempDir( getSessionSavePath()); } function CWCInitializeMap() { parent::CWCInitializeMap(); } function CWCLoadTemplate($szTemplateName) { $this->mszTemplate = implode("\n", file($szTemplateName)); } } $oApp = new test(); $oApp->CWCInitialize( $szTemplate, $szMapFile ); $oApp->CWCExecute(); ------------------------------------------------------------------------------------------------ Place this file in the same directory as your template. Regards, Jason james cradock wrote: >hello, > >sadly, my first post is an installation (or configuration) problem: > >i've installed chameleon on red hat linux. i'm running apache 2.0.48. php >is running as a module, not as a cgi. here's my demo page: > >http://redington.me3.com/chameleon/htdocs/demo.html > >probably a common problem. what's the solution? > >i'm using the latest alpha of 1.1. followed all the instructions -- or >*thought* i'd followed all the instructions -- in the somewhat outdated >installation document. > >also, logging is not (logging). i'd normally tail the logs for activity or >errors. i've asked chameleon to log everything (all), but i get nothing. >logs directory is writeable by the apache user. > >thanks. > >jc > >----- >james cradock >jcradock@redington.me3.com >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > > -- ___________________________ Jason Fournier DM Solutions Group Application Developer Ottawa, ON 613.565.5056 x 18 jfournier@dmsolutions.ca From godwinl@agr.gc.ca Wed Apr 7 15:49:32 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i37JnW2H012517 for ; Wed, 7 Apr 2004 15:49:32 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i37JlXa0004453 for ; Wed, 7 Apr 2004 15:47:35 -0400 Received: from ncrxem6 (webshieldout.agr.gc.ca [10.117.15.110]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with SMTP id i37Jj7QE015369 for ; Wed, 7 Apr 2004 15:45:07 -0400 Received: From agr.gc.ca ([10.117.15.106]) by ncrxem6 (WebShield SMTP v4.5 MR1a); id 1081367109656; Wed, 7 Apr 2004 15:45:09 -0400 Received: from AGCAN-MTA by agr.gc.ca with Novell_GroupWise; Wed, 07 Apr 2004 15:41:42 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.2 Date: Wed, 07 Apr 2004 15:41:32 -0400 From: "Liz Godwin" To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [Chameleon] Widget Dev - legend/layers Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hey, I've created my first widget....almost. In absense of an HTML Legend solution I liked, I made my own widget that uses Group, Layer and Class objects from a mapfile to display a collapsable tree view of a legend. Because of the frequency of layers/classes, the class list collapses under a layer also. This legend uses radio buttons at the moment for layer selection (only one layer may be visible at a time... for now), although eventually my widget will define conditions for both radio button and checkbox use. Ok... so it works mostly. That is.. my javascript to collapse the list at different levels works, and all levels display correctly, with styling. What does not work is my layer selection. The layer visible correctly makes the right radio button selected, but I am unable to change the layer that is visible. What do I need to do for this? Can I piggy back off another widget? Without any documentation yet, I am guessing as to the way to do this. My guess is that there are two parts to this, 1) making sure my radio buttons have the correct name and value pairs, and 2), how to handle the request sent to chameleon in the post request. I looked at LayerManager and it looked like I have to parse the URL to get the right request. Do I use this Widget as a good example, or is it all wrong (I read a month ago in the list that LayerManager is changing).? Where would I call a function to update the map layer status from? Hopefully you all understand what I'm trying to do, thanks for your help!! Liz Godwin From pagameba@magma.ca Wed Apr 7 21:59:02 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i381x22H014462 for ; Wed, 7 Apr 2004 21:59:02 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i381x166009201; Wed, 7 Apr 2004 21:59:01 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i381wwX8014357; Wed, 7 Apr 2004 21:59:00 -0400 Message-ID: <4074B1D8.6060406@magma.ca> Date: Wed, 07 Apr 2004 20:58:48 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Liz Godwin CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Widget Dev - legend/layers References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Liz, great work so far :) It sounds like you need to implement a ParseURL function in your widget to handle the user selection and submit. If you have named your radio buttons all the same name (let's say for arguments sake that you named them "ActiveLayer" and the value associated with each radio button was a layer name, then your ParseURL function would probably look like this (not tested): function ParseURL() { if (isset($this->moURLParams['ActiveLayer']) && $this->moURLParams['ActiveLayer'] != '') { for ($i=0; $i<$this->moMapObject->oMap->numlayers; $i++) { $oLayer = $oMap->getLayer($i); if ($oLayer->name == $this->moURLArrayParams['ActiveLayer']) $oLayer->set( 'status', MS_ON ); else $oLayer->set( 'status', MS_OFF ); } } return true; } Let me know if that works for you, Paul Liz Godwin wrote: > Hey, > > I've created my first widget....almost. > > In absense of an HTML Legend solution I liked, I made my own widget > that uses Group, Layer and Class objects from a mapfile to display a > collapsable tree view of a legend. Because of the frequency of > layers/classes, the class list collapses under a layer also. This > legend uses radio buttons at the moment for layer selection (only one > layer may be visible at a time... for now), although eventually my > widget will define conditions for both radio button and checkbox use. > > Ok... so it works mostly. That is.. my javascript to collapse the > list at different levels works, and all levels display correctly, with > styling. > > What does not work is my layer selection. The layer visible correctly > makes the right radio button selected, but I am unable to change the > layer that is visible. > What do I need to do for this? Can I piggy back off another widget? > > Without any documentation yet, I am guessing as to the way to do this. > My guess is that there are two parts to this, 1) making sure my radio > buttons have the correct name and value pairs, and 2), how to handle the > request sent to chameleon in the post request. I looked at LayerManager > and it looked like I have to parse the URL to get the right request. Do > I use this Widget as a good example, or is it all wrong (I read a month > ago in the list that LayerManager is changing).? > Where would I call a function to update the map layer status from? > > Hopefully you all understand what I'm trying to do, thanks for your > help!! > > Liz Godwin > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From bartvde@xs4all.nl Thu Apr 8 05:39:56 2004 Received: from smtp-out2.xs4all.nl (smtp-out2.xs4all.nl [194.109.24.12]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i389dt2H017378 for ; Thu, 8 Apr 2004 05:39:56 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out2.xs4all.nl (8.12.10/8.12.10) with SMTP id i389dgQe050165 for ; Thu, 8 Apr 2004 11:39:54 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Thu, 8 Apr 2004 11:39:54 +0200 (CEST) Message-ID: <10647.212.238.227.182.1081417194.squirrel@webmail.xs4all.nl> Date: Thu, 8 Apr 2004 11:39:54 +0200 (CEST) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [Chameleon] Chameleon and GMapFactory Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, GMapFactory is a part of Maplab which allows rapid visual creation of applications. I believe this will be discontinued in Maplab 3? Using Chameleon, somebody has to be able to define a template to create an application. Will this be a requirement for a Chameleon user, or will there also be some kind of tool available in the future for the "dummy user" to create applications? Best regards, Bart From pagameba@magma.ca Thu Apr 8 08:21:17 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i38CLH2H018330 for ; Thu, 8 Apr 2004 08:21:17 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i38CLGkJ007211; Thu, 8 Apr 2004 08:21:16 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i38CLCrI004412; Thu, 8 Apr 2004 08:21:16 -0400 Message-ID: <407543AE.1090608@magma.ca> Date: Thu, 08 Apr 2004 07:21:02 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Chameleon and GMapFactory References: <10647.212.238.227.182.1081417194.squirrel@webmail.xs4all.nl> In-Reply-To: <10647.212.238.227.182.1081417194.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Bart et al, when we originally designed chameleon, we thought of several ways of building some sort of online editing tool. Since then, it has become obvious that any sort of tool for chameleon applications would really need to be a general purpose HTML editor. The current thinking is that it would be great to build a chameleon extension to Dreamweaver. The general architecture is in place to allow for some sort of web-based editor, but only in very rough terms, and a lot of work would need to be done (probably more than the Dreamweaver extension) to get something working. The only thing that will be available for beginner users will be a reasonably complete set of examples that could form the basis for other projects. Cheers, Paul bartvde@xs4all.nl wrote: > Hi list, > > GMapFactory is a part of Maplab which allows rapid visual creation of > applications. I believe this will be discontinued in Maplab 3? > > Using Chameleon, somebody has to be able to define a template to create an > application. > > Will this be a requirement for a Chameleon user, or will there also be > some kind of tool available in the future for the "dummy user" to create > applications? > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Apr 8 10:14:14 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i38EEE2H020530 for ; Thu, 8 Apr 2004 10:14:14 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i38EEAS2028192; Thu, 8 Apr 2004 10:14:10 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i38EE7EL004830; Thu, 8 Apr 2004 10:14:09 -0400 Message-ID: <40755E25.5010900@magma.ca> Date: Thu, 08 Apr 2004 09:13:57 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Choi,Stephanie [Ontario]" CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Chameleon and CubeSERV References: <9B09D75DF5B3494BA06E6FE478CE9CC1490825@mgtserver3.ontario.int.ec.gc.ca> In-Reply-To: <9B09D75DF5B3494BA06E6FE478CE9CC1490825@mgtserver3.ontario.int.ec.gc.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Stephanie, I believe that others have answered this question but just to clarify, Chameleon functionality is built on top of PHP MapScript. MapScript is a scripting extension to MapServer. So any data source that MapServer can use is available in Chameleon applications. CubeSERV provides a WMS interface that Chameleon can use, I am not sure if there is a more direct protocol that can be used with a local CubeSERV. But that is one of the great things about the OGC standards, any WMS client can use any WMS server so you have lots of choice in the matter. Cheers, Paul Choi,Stephanie [Ontario] wrote: > Hi all, > > I got a question about Chameleon. Will it be possible to use Chameleon > as a client with CubeSERV instead of Mapserver ? I am not quite sure > about this because I know that Chameleon needs php_mapscript.so to run > but that is generated from the mapserver build though. > > Thanks in advance, > > Stephanie > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From godwinl@agr.gc.ca Thu Apr 8 10:19:38 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i38EJc2H020620 for ; Thu, 8 Apr 2004 10:19:38 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i38EHaa0007177 for ; Thu, 8 Apr 2004 10:17:36 -0400 Received: from ncrxem6 (webshieldout.agr.gc.ca [10.117.15.110]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with SMTP id i38EITdR012547 for ; Thu, 8 Apr 2004 10:18:29 -0400 Received: From agr.gc.ca ([10.117.15.106]) by ncrxem6 (WebShield SMTP v4.5 MR1a); id 1081434119765; Thu, 8 Apr 2004 10:21:59 -0400 Received: from AGCAN-MTA by agr.gc.ca with Novell_GroupWise; Thu, 08 Apr 2004 10:18:32 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.2 Date: Thu, 08 Apr 2004 10:18:26 -0400 From: "Liz Godwin" To: Cc: Subject: Re: [Chameleon] Widget Dev - legend/layers Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Paul, That did the trick! THANKS!! Only change I had to make was that it's moURLArray, not moURLParams, the rest worked fine. Liz >>> pagameba@magma.ca 04/07/04 09:58PM >>> Liz, great work so far :) It sounds like you need to implement a ParseURL function in your widget to handle the user selection and submit. If you have named your radio buttons all the same name (let's say for arguments sake that you named them "ActiveLayer" and the value associated with each radio button was a layer name, then your ParseURL function would probably look like this (not tested): function ParseURL() { if (isset($this->moURLParams['ActiveLayer']) && $this->moURLParams['ActiveLayer'] != '') { for ($i=0; $i<$this->moMapObject->oMap->numlayers; $i++) { $oLayer = $oMap->getLayer($i); if ($oLayer->name == $this->moURLArrayParams['ActiveLayer']) $oLayer->set( 'status', MS_ON ); else $oLayer->set( 'status', MS_OFF ); } } return true; } Let me know if that works for you, Paul Liz Godwin wrote: > Hey, > > I've created my first widget....almost. > > In absense of an HTML Legend solution I liked, I made my own widget > that uses Group, Layer and Class objects from a mapfile to display a > collapsable tree view of a legend. Because of the frequency of > layers/classes, the class list collapses under a layer also. This > legend uses radio buttons at the moment for layer selection (only one > layer may be visible at a time... for now), although eventually my > widget will define conditions for both radio button and checkbox use. > > Ok... so it works mostly. That is.. my javascript to collapse the > list at different levels works, and all levels display correctly, with > styling. > > What does not work is my layer selection. The layer visible correctly > makes the right radio button selected, but I am unable to change the > layer that is visible. > What do I need to do for this? Can I piggy back off another widget? > > Without any documentation yet, I am guessing as to the way to do this. > My guess is that there are two parts to this, 1) making sure my radio > buttons have the correct name and value pairs, and 2), how to handle the > request sent to chameleon in the post request. I looked at LayerManager > and it looked like I have to parse the URL to get the right request. Do > I use this Widget as a good example, or is it all wrong (I read a month > ago in the list that LayerManager is changing).? > Where would I call a function to update the map layer status from? > > Hopefully you all understand what I'm trying to do, thanks for your > help!! > > Liz Godwin > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Apr 8 10:26:26 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i38EQQ2H020697 for ; Thu, 8 Apr 2004 10:26:26 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i38EQKS2005271; Thu, 8 Apr 2004 10:26:25 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i38EQHEL030336; Thu, 8 Apr 2004 10:26:20 -0400 Message-ID: <407560FF.7070508@magma.ca> Date: Thu, 08 Apr 2004 09:26:07 -0500 From: Paul Spencer Reply-To: spencer@dmsolutions.ca Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Liz Godwin CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] Widget Dev - legend/layers References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: ooops. Glad it worked :) Good work! Paul Liz Godwin wrote: > Paul, > > That did the trick! THANKS!! > > Only change I had to make was that it's moURLArray, not moURLParams, > the rest worked fine. > > Liz > > >>>>pagameba@magma.ca 04/07/04 09:58PM >>> > > Liz, > > great work so far :) > > It sounds like you need to implement a ParseURL function in your widget > > to handle the user selection and submit. > > If you have named your radio buttons all the same name (let's say for > arguments sake that you named them "ActiveLayer" and the value > associated with each radio button was a layer name, then your ParseURL > > function would probably look like this (not tested): > > function ParseURL() > { > if (isset($this->moURLParams['ActiveLayer']) && > $this->moURLParams['ActiveLayer'] != '') > { > for ($i=0; $i<$this->moMapObject->oMap->numlayers; $i++) > { > $oLayer = $oMap->getLayer($i); > if ($oLayer->name == $this->moURLArrayParams['ActiveLayer']) > $oLayer->set( 'status', MS_ON ); > else > $oLayer->set( 'status', MS_OFF ); > } > } > return true; > } > > Let me know if that works for you, > > Paul > > Liz Godwin wrote: > > >>Hey, >> >>I've created my first widget....almost. >> >>In absense of an HTML Legend solution I liked, I made my own widget >>that uses Group, Layer and Class objects from a mapfile to display a >>collapsable tree view of a legend. Because of the frequency of >>layers/classes, the class list collapses under a layer also. This >>legend uses radio buttons at the moment for layer selection (only > > one > >>layer may be visible at a time... for now), although eventually my >>widget will define conditions for both radio button and checkbox > > use. > >>Ok... so it works mostly. That is.. my javascript to collapse the >>list at different levels works, and all levels display correctly, > > with > >>styling. >> >>What does not work is my layer selection. The layer visible > > correctly > >>makes the right radio button selected, but I am unable to change the >>layer that is visible. >>What do I need to do for this? Can I piggy back off another widget? > > >>Without any documentation yet, I am guessing as to the way to do > > this. > >>My guess is that there are two parts to this, 1) making sure my > > radio > >>buttons have the correct name and value pairs, and 2), how to handle > > the > >>request sent to chameleon in the post request. I looked at > > LayerManager > >>and it looked like I have to parse the URL to get the right request. > > Do > >>I use this Widget as a good example, or is it all wrong (I read a > > month > >>ago in the list that LayerManager is changing).? >>Where would I call a function to update the map layer status from? >> >>Hopefully you all understand what I'm trying to do, thanks for your >>help!! >> >>Liz Godwin >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Stephanie.Choi@ec.gc.ca Thu Apr 8 11:30:29 2004 Received: from mgtserver3.tor.ec.gc.ca (ecdow130.tor.ec.gc.ca [199.212.19.130]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i38FUO2H025318 for ; Thu, 8 Apr 2004 11:30:28 -0400 content-class: urn:content-classes:message Date: Thu, 8 Apr 2004 11:30:23 -0400 Message-ID: <9B09D75DF5B3494BA06E6FE478CE9CC148FAE4@mgtserver3.ontario.int.ec.gc.ca> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C41D7E.690B8581" X-MS-Has-Attach: X-MS-TNEF-Correlator: X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Thread-Topic: Legend question Thread-Index: AcQdfmj+TouTovVaRr2kv8eSRZ7vUg== From: "Choi,Stephanie [Ontario]" To: Subject: [Chameleon] Legend question Sender: chameleon-admin@lists.maptools.org Errors-To: chameleon-admin@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------_=_NextPart_001_01C41D7E.690B8581 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi all,=20 I got a problem for displaying Legend icon when I use Legend widget in CWC2 1.0. And I noticed that few days ago, there was a discussion about the problem of displaying legend. Is there a way to make Chameleon displaying legend icon in version 1.0 'coz right now I couldn't make legend icons show up at all ? I have the latest version of Mapserver that I got from cvs and it has GetLegendGraphic support, too. Could anyone give me some hint on this problem ? Any help would be greatly appreciated. Thanks in advance, Stephanie =20 ------_=_NextPart_001_01C41D7E.690B8581 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Legend question

Hi all,

I got a problem for displaying Legend = icon when I use Legend widget in CWC2 1.0.  And I noticed that few = days ago, there was a discussion about the problem of displaying = legend.  Is there a way to make Chameleon displaying legend icon in = version 1.0 'coz right now I couldn't make legend icons show up at all = ?  I have the latest version of Mapserver that I got from cvs and = it has GetLegendGraphic support, too.  Could anyone give me some = hint on this problem ?  Any help would be greatly = appreciated.

Thanks in advance,
Stephanie        &= nbsp;  

------_=_NextPart_001_01C41D7E.690B8581-- From sfournier@dmsolutions.ca Thu Apr 8 13:27:20 2004 Received: from xcalibur.dmsolutions.ca (www2.dmsolutions.ca [209.217.116.146]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i38HRKK9014623 for ; Thu, 8 Apr 2004 13:27:20 -0400 Received: from dmsolutions.ca ([10.1.0.2]) by xcalibur.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id i38HRKZ00518 for ; Thu, 8 Apr 2004 13:27:20 -0400 Message-ID: <40758B78.5080609@dmsolutions.ca> Date: Thu, 08 Apr 2004 13:27:20 -0400 From: Sacha Fournier Organization: DM Solutions Group User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en, fr-ca MIME-Version: 1.0 To: "chameleon@lists.maptools.org" Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Chameleon] Upgrade test X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: sfournier@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2004 17:27:21 -0000 Please ignore. -- Sacha Fournier Applications Developer DM Solutions Group tel: 418.696.5056 fax: 418.696.5056 http://www.dmsolutions.ca mailto://sfournier@dmsolutions.ca -- ------------------------------------------------- /"\ ASCII Ribbon Campaign against HTML \ / email and proprietary format X attachments. / \ ------------------------------------------------- From ken@rockies.ca Thu Apr 8 18:25:13 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i38MPBRJ021644 for ; Thu, 8 Apr 2004 18:25:11 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id ftkleaaa for chameleon@lists.maptools.org; Thu, 8 Apr 2004 16:20:05 -0600 From: "Ken Sanderson" To: Date: Thu, 8 Apr 2004 16:30:29 -0600 Message-ID: <001701c41db9$1c085580$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <4072EDD6.3020709@dmsolutions.ca> X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: ken@rockies.ca Subject: [Chameleon] Chameleon Install X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2004 22:25:14 -0000 Hello. Working my way through the IIS install guide I found on the Chameleon WIKI page. Mapserver Installed and working New version of PHP installed and working Installing PHP Mapscript, problem is that it calls for me to put php_mapscript_4.0.1.dll and php_proj.dll to my php extensions directory. An easy enough process, if I could find those DLL's. They are not in the mapserver w32 zip files for 4.0.1 or 3.6.7. From the docs I get the impression they should be found there. Sounds like they used to be hosted as well at maptools.org, but now only at the Mapserver main page. Any idea where I get these two files? Thanks, Ken From ken@rockies.ca Thu Apr 8 18:40:31 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i38MeTRJ021709 for ; Thu, 8 Apr 2004 18:40:29 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id jalleaaa for chameleon@lists.maptools.org; Thu, 8 Apr 2004 16:35:22 -0600 From: "Ken Sanderson" To: Subject: RE: [Chameleon] Chameleon Install Date: Thu, 8 Apr 2004 16:45:47 -0600 Message-ID: <002001c41dbb$3eeee530$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <001701c41db9$1c085580$31289f88@GLADSTONE> X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: ken@rockies.ca X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2004 22:40:31 -0000 Never mind, found them. Was just clicking on the links in the body of the page, found the maptools mapserver downloads in the downloads section at the top of the page.... Late in the day, must be going blind. Sorry for the spam. Ken -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Ken Sanderson Sent: April 8, 2004 4:30 PM To: chameleon@lists.maptools.org Subject: [Chameleon] Chameleon Install Hello. Working my way through the IIS install guide I found on the Chameleon WIKI page. Mapserver Installed and working New version of PHP installed and working Installing PHP Mapscript, problem is that it calls for me to put php_mapscript_4.0.1.dll and php_proj.dll to my php extensions directory. An easy enough process, if I could find those DLL's. They are not in the mapserver w32 zip files for 4.0.1 or 3.6.7. From the docs I get the impression they should be found there. Sounds like they used to be hosted as well at maptools.org, but now only at the Mapserver main page. Any idea where I get these two files? Thanks, Ken _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From jamie.van.dyke@scoutaround.com Sat Apr 10 07:35:52 2004 Received: from hafnium.btinternet.com (hafnium.btinternet.com [194.73.73.121]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3ABZkRJ032617 for ; Sat, 10 Apr 2004 07:35:47 -0400 Received: from [217.44.5.204] (helo=[192.168.0.193]) by hafnium.btinternet.com with esmtp (Exim 3.22 #25) id 1BCGlq-0000i8-00 for chameleon@lists.maptools.org; Sat, 10 Apr 2004 12:35:34 +0100 From: Jamie van Dyke To: chameleon@lists.maptools.org Content-Type: text/plain Message-Id: <1081596933.6094.8.camel@linuxbloke.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Sat, 10 Apr 2004 12:35:33 +0100 Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: jamie.van.dyke@scoutaround.com X-Mailman-Approved-At: Sat, 10 Apr 2004 17:37:13 -0400 Subject: [Chameleon] Confused Chameleon Starter X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Apr 2004 11:35:53 -0000 Hi there everyone. I'm a new user of the Chameleon scripts, and have been battling away for a few days now with no luck. There is multiple documentations, for multiple versions, and the wiki site is extremely hard to navigate. There are documents all over the place that refer to cwc2.php...but I don't have one of those. So what I am looking for, is the definative guide to Chameleon. I've tried both versions, but still don't really know the difference. All my data is local, and from what I've read I should use version 1.1. Are there any suggestions to help clear up my confusion, basically, I need to stop running into documents on different versions, which don't state the version and hence I read it all and find out after experimenting, that it is in fact wrong. Thanks. Jamie From dastolfo1@cogeco.ca Sat Apr 10 18:54:41 2004 Received: from fep3.cogeco.net (smtp.cogeco.net [216.221.81.25]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3AMsdRJ003061 for ; Sat, 10 Apr 2004 18:54:39 -0400 Received: from DGG (d141-153-10.home.cgocable.net [24.141.153.10]) by fep3.cogeco.net (Postfix) with ESMTP id 0A2A43CED for ; Sat, 10 Apr 2004 18:54:38 -0400 (EDT) From: "Dave Astolfo" To: Date: Sat, 10 Apr 2004 18:54:27 -0400 Message-ID: <000901c41f4e$ca891c70$3302a8c0@DGG> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <4074B1D8.6060406@magma.ca> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: dastolfo1@cogeco.ca Subject: [Chameleon] Chameleon CVS X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Apr 2004 22:54:41 -0000 Hi all, I am a little "green" on this one, but can anyone tell me how to get access to the Chameleon CVS? I use a Win32 environment.. I downloaded WinCVS and tried the instructions listed here (http://www.maptools.org/chameleon/index.phtml?page=cvs.html), but got lost... Does anyone have step-by-step docs? Thanks! Dave From bartvde@xs4all.nl Sun Apr 11 15:00:51 2004 Received: from smtp-out6.xs4all.nl (smtp-out6.xs4all.nl [194.109.24.7]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3BJ0lRJ013835 for ; Sun, 11 Apr 2004 15:00:47 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out6.xs4all.nl (8.12.10/8.12.10) with ESMTP id i3BJ0cYk002998; Sun, 11 Apr 2004 21:00:39 +0200 (CEST) To: Dave Astolfo , chameleon@lists.maptools.org Subject: Re: [Chameleon] Chameleon CVS References: <000901c41f4e$ca891c70$3302a8c0@DGG> Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Sun, 11 Apr 2004 20:59:38 +0200 In-Reply-To: <000901c41f4e$ca891c70$3302a8c0@DGG> User-Agent: Opera7.23/Win32 M2 build 3227 X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: bartvde@xs4all.nl List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Apr 2004 19:00:51 -0000 Hi Dave, I don't know about WinCVS (I always have trouble using it), but in the following e-mail is a small howto which should enable you to get the latest CVS sources on Windows: http://lists.maptools.org/pipermail/chameleon/2004-January/000371.html Best regards, Bart On Sat, 10 Apr 2004 18:54:27 -0400, Dave Astolfo wrote: > Hi all, > > I am a little "green" on this one, but can anyone tell me how to get > access to the Chameleon CVS? I use a Win32 environment.. I downloaded > WinCVS and tried the instructions listed here > (http://www.maptools.org/chameleon/index.phtml?page=cvs.html), but got > lost... Does anyone have step-by-step docs? > > Thanks! > > Dave > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- From jmckenna@dmsolutions.ca Mon Apr 12 11:50:19 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3CFoBBk002757 for ; Mon, 12 Apr 2004 11:50:11 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i3CFo6SW024936; Mon, 12 Apr 2004 11:50:07 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i3CFo44v012423; Mon, 12 Apr 2004 11:50:05 -0400 Message-ID: <407ABAAD.1080201@dmsolutions.ca> Date: Mon, 12 Apr 2004 11:50:05 -0400 From: Jeff McKenna User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dave Astolfo Subject: Re: [Chameleon] Chameleon CVS References: <000901c41f4e$ca891c70$3302a8c0@DGG> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: jmckenna@dmsolutions.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Apr 2004 15:50:19 -0000 Dave, I use WinCVS and should be able to help. I use v1.2, it's an old version but really all u need. Goto Admin/Preferences and click the WinCVS tab...set a HOME folder (e.g. C:\Home). Now goto the "General" tab and enter the CVSROOT as specified on the maptools CVS page. For Authentication choose "Passwd file on CVS server". Now goto Create/Checkout module and specify "chameleon" as the module name and browse to where u want to place it and hit OK. hope this helps Jeff Dave Astolfo wrote: > Hi all, > > I am a little "green" on this one, but can anyone tell me how to get > access to the Chameleon CVS? I use a Win32 environment.. I downloaded > WinCVS and tried the instructions listed here > (http://www.maptools.org/chameleon/index.phtml?page=cvs.html), but got > lost... Does anyone have step-by-step docs? > > Thanks! > > Dave > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- Jeff McKenna GIS Specialist DM Solutions Group Inc. http://www.dmsolutions.ca From pxniw69@yahoo.com Mon Apr 12 12:12:37 2004 Received: from web41902.mail.yahoo.com (web41902.mail.yahoo.com [66.218.93.153]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i3CGCVGh003315 for ; Mon, 12 Apr 2004 12:12:32 -0400 Message-ID: <20040412161159.71858.qmail@web41902.mail.yahoo.com> Received: from [69.160.72.105] by web41902.mail.yahoo.com via HTTP; Mon, 12 Apr 2004 09:11:59 PDT Date: Mon, 12 Apr 2004 09:11:59 -0700 (PDT) From: pxniw pxniw To: chameleon@lists.maptools.org In-Reply-To: <20040311174950.50377.qmail@web41903.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pxniw69@yahoo.com Subject: [Chameleon] Security (Password visible)? X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Apr 2004 16:12:37 -0000 I am using SQLQuery widget, and wondering why the password has to be visible right on the .html source. I.e. if some one knows where .html page is and then just look for source they will see: Any suggestions how to prevent this? __________________________________ Do you Yahoo!? Yahoo! Tax Center - File online by April 15th http://taxes.yahoo.com/filing.html From jlacroix@dmsolutions.ca Mon Apr 12 12:48:21 2004 Received: from angrenost.dmsolutions.ca (chic.dmsolutions.ca [207.96.191.142]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3CGmF5O003829 for ; Mon, 12 Apr 2004 12:48:15 -0400 Received: from dmsolutions.ca (orthanc [192.168.4.8]) by angrenost.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id i3CGk4k08062; Mon, 12 Apr 2004 12:46:04 -0400 Message-ID: <407AC7CC.6050408@dmsolutions.ca> Date: Mon, 12 Apr 2004 12:46:04 -0400 From: Julien-Samuel Lacroix Organization: DM Solutions User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pxniw pxniw Subject: Re: [Chameleon] Security (Password visible)? References: <20040412161159.71858.qmail@web41902.mail.yahoo.com> In-Reply-To: <20040412161159.71858.qmail@web41902.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: jlacroix@dmsolutions.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Apr 2004 16:48:21 -0000 Hi, The best (and cleaner) way to avoid this, I think, is to build your own widget on the top of the SQLQuery one. So in this new widget you will be able to specify the user/password. You can also put your templates in a directory that is not web-visible. With Chameleon 1.1, your service instance loads the template, so it does not have to be web-visible. Julien pxniw pxniw wrote: > I am using SQLQuery widget, and wondering why the > password has to be visible right on the .html source. > > I.e. if some one knows where .html page is and then > just look for source they will see: > > SQLQuery="SELECT * FROM test" Server="localhost" > Database="testdb" USERNAME="testuser" > PASSWORD="testpass"/> > > Any suggestions how to prevent this? > > __________________________________ > Do you Yahoo!? > Yahoo! Tax Center - File online by April 15th > http://taxes.yahoo.com/filing.html > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ------------------------------------------------------------ Julien-Samuel Lacroix jlacroix@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From jmckenna@dmsolutions.ca Mon Apr 12 14:04:04 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3CI40cr004433 for ; Mon, 12 Apr 2004 14:04:00 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i3CI3xk3000609; Mon, 12 Apr 2004 14:03:59 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i3CI3wD9022799; Mon, 12 Apr 2004 14:03:59 -0400 Message-ID: <407ADA10.4060407@dmsolutions.ca> Date: Mon, 12 Apr 2004 14:04:00 -0400 From: Jeff McKenna User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jamie van Dyke Subject: Re: [Chameleon] Confused Chameleon Starter References: <1081596933.6094.8.camel@linuxbloke.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: jmckenna@dmsolutions.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Apr 2004 18:04:04 -0000 Jamie, I feel your pain. We are now on a big push to clean up the documentation for the upcoming v1.99 and 2.0 releases. Until then this email list and its archives will be your best resource. You are correct that with local data Chameleon 1.1 is your best bet. At this point there is really no documentation for the installation and configuration of Chameleon 1.1, but this will change soon. For now I would download the latest Chameleon version (alpha6) and modify the chameleon config file (/chameleon/config/config.xml). You probably have to rename this file from config.xml-dist. If you have trouble with these parameters send a message to this list and someone should be able to help. The next step would be to try the chameleon sample app with your chameleon install, and u can find the sample app on the chameleon download page (this sample app will also be changing for the releases). Modify the index.phtml file in /chameleon_sample/htdocs/: - change the include on line 9 to point to your chameleon.php file of your installation - change $szMapFile to point to the mapfile in /chameleon_sample/map Now load the index.phtml file in your browser, you should see a small sample app with a few navigation buttons. You can use this template to experiment with other widgets. hope this helps a little. jeff Jamie van Dyke wrote: > Hi there everyone. > > I'm a new user of the Chameleon scripts, and have been battling away for > a few days now with no luck. There is multiple documentations, for > multiple versions, and the wiki site is extremely hard to navigate. > There are documents all over the place that refer to cwc2.php...but I > don't have one of those. > > So what I am looking for, is the definative guide to Chameleon. I've > tried both versions, but still don't really know the difference. All my > data is local, and from what I've read I should use version 1.1. > > Are there any suggestions to help clear up my confusion, basically, I > need to stop running into documents on different versions, which don't > state the version and hence I read it all and find out after > experimenting, that it is in fact wrong. > > Thanks. > Jamie > -- Jeff McKenna GIS Specialist DM Solutions Group Inc. http://www.dmsolutions.ca From jamie.van.dyke@scoutaround.com Mon Apr 12 14:16:49 2004 Received: from tungsten.btinternet.com (tungsten.btinternet.com [194.73.73.81]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3CIGicr004656 for ; Mon, 12 Apr 2004 14:16:44 -0400 Received: from [217.44.5.204] (helo=[192.168.0.193]) by tungsten.btinternet.com with esmtp (Exim 3.22 #25) id 1BD5yr-0006qc-00; Mon, 12 Apr 2004 19:16:25 +0100 Subject: Re: [Chameleon] Confused Chameleon Starter From: Jamie van Dyke To: Jeff McKenna In-Reply-To: <407ADA10.4060407@dmsolutions.ca> References: <1081596933.6094.8.camel@linuxbloke.localdomain> <407ADA10.4060407@dmsolutions.ca> Content-Type: text/plain Message-Id: <1081793785.16319.3.camel@linuxbloke.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Mon, 12 Apr 2004 19:16:25 +0100 Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: jamie.van.dyke@scoutaround.com X-Mailman-Approved-At: Mon, 12 Apr 2004 14:20:04 -0400 Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Apr 2004 18:16:50 -0000 Thanks very much to you and Dave for your responses. I'll give what you suggest a try Jeff. At the moment I am using the GMT mapping tools with custom scripts I've written to achieve similar. A few weeks isn't going to hurt so much I think. :-/ Once again, much appreciated. Jamie van Dyke On Mon, 2004-04-12 at 19:04, Jeff McKenna wrote: > Jamie, > > I feel your pain. We are now on a big push to clean up the > documentation for the upcoming v1.99 and 2.0 releases. Until then this > email list and its archives will be your best resource. > > You are correct that with local data Chameleon 1.1 is your best bet. At > this point there is really no documentation for the installation and > configuration of Chameleon 1.1, but this will change soon. For now I > would download the latest Chameleon version (alpha6) and modify the > chameleon config file (/chameleon/config/config.xml). You probably have > to rename this file from config.xml-dist. If you have trouble with > these parameters send a message to this list and someone should be able > to help. > > The next step would be to try the chameleon sample app with your > chameleon install, and u can find the sample app on the chameleon > download page (this sample app will also be changing for the releases). > Modify the index.phtml file in /chameleon_sample/htdocs/: > > - change the include on line 9 to point to your chameleon.php file of > your installation > - change $szMapFile to point to the mapfile in /chameleon_sample/map > > Now load the index.phtml file in your browser, you should see a small > sample app with a few navigation buttons. You can use this template to > experiment with other widgets. > > hope this helps a little. > > > jeff > > > > Jamie van Dyke wrote: > > Hi there everyone. > > > > I'm a new user of the Chameleon scripts, and have been battling away for > > a few days now with no luck. There is multiple documentations, for > > multiple versions, and the wiki site is extremely hard to navigate. > > There are documents all over the place that refer to cwc2.php...but I > > don't have one of those. > > > > So what I am looking for, is the definative guide to Chameleon. I've > > tried both versions, but still don't really know the difference. All my > > data is local, and from what I've read I should use version 1.1. > > > > Are there any suggestions to help clear up my confusion, basically, I > > need to stop running into documents on different versions, which don't > > state the version and hence I read it all and find out after > > experimenting, that it is in fact wrong. > > > > Thanks. > > Jamie > > > > From pxniw69@yahoo.com Tue Apr 13 02:01:06 2004 Received: from web41901.mail.yahoo.com (web41901.mail.yahoo.com [66.218.93.152]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i3D612fe007652 for ; Tue, 13 Apr 2004 02:01:02 -0400 Message-ID: <20040413060030.98478.qmail@web41901.mail.yahoo.com> Received: from [69.160.72.105] by web41901.mail.yahoo.com via HTTP; Mon, 12 Apr 2004 23:00:30 PDT Date: Mon, 12 Apr 2004 23:00:30 -0700 (PDT) From: pxniw pxniw To: chameleon@lists.maptools.org In-Reply-To: <407AC7CC.6050408@dmsolutions.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pxniw69@yahoo.com Subject: [Chameleon] extent in your html file X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2004 06:01:06 -0000 How to set EXTENT -127 23 -66 50 in your html file? I Have above working fine in my .map page and if I use other scripts ie MapLab it works fine. I have sqlquery widget and it has some coordinates that goes over those extents and now it will display them too and map image is now different extent. __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ From pxniw69@yahoo.com Tue Apr 13 02:04:09 2004 Received: from web41906.mail.yahoo.com (web41906.mail.yahoo.com [66.218.93.157]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i3D644fe007730 for ; Tue, 13 Apr 2004 02:04:05 -0400 Message-ID: <20040413060404.78811.qmail@web41906.mail.yahoo.com> Received: from [69.160.72.105] by web41906.mail.yahoo.com via HTTP; Mon, 12 Apr 2004 23:04:04 PDT Date: Mon, 12 Apr 2004 23:04:04 -0700 (PDT) From: pxniw pxniw To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pxniw69@yahoo.com Subject: [Chameleon] US and Canada background images X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2004 06:04:09 -0000 Any Idea where I might find nice background images for US and Canada? (Download) (I quess tiff file would be appropriate) more detail.... better ;) How 'bout the whole world? Thanks __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ From pagameba@magma.ca Tue Apr 13 08:33:22 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3DCXHfe010749 for ; Tue, 13 Apr 2004 08:33:18 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i3DCXHdo032303; Tue, 13 Apr 2004 08:33:17 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i3DCX9PD000625; Tue, 13 Apr 2004 08:33:17 -0400 Message-ID: <407BDDF3.7000701@magma.ca> Date: Tue, 13 Apr 2004 07:32:51 -0500 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pxniw pxniw Subject: Re: [Chameleon] Security (Password visible)? References: <20040412161159.71858.qmail@web41902.mail.yahoo.com> In-Reply-To: <20040412161159.71858.qmail@web41902.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2004 12:33:22 -0000 You can place your template in a non-web-accessible directory. PHP uses file system commands to open the template. Paul pxniw pxniw wrote: > I am using SQLQuery widget, and wondering why the > password has to be visible right on the .html source. > > I.e. if some one knows where .html page is and then > just look for source they will see: > > SQLQuery="SELECT * FROM test" Server="localhost" > Database="testdb" USERNAME="testuser" > PASSWORD="testpass"/> > > Any suggestions how to prevent this? > > __________________________________ > Do you Yahoo!? > Yahoo! Tax Center - File online by April 15th > http://taxes.yahoo.com/filing.html > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Tue Apr 13 08:40:59 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3DCeufe010833 for ; Tue, 13 Apr 2004 08:40:56 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i3DCetfc032309; Tue, 13 Apr 2004 08:40:55 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i3DCerkd015044; Tue, 13 Apr 2004 08:40:55 -0400 Message-ID: <407BDFC5.9060403@magma.ca> Date: Tue, 13 Apr 2004 07:40:37 -0500 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jeff McKenna Subject: Re: [Chameleon] Chameleon CVS References: <000901c41f4e$ca891c70$3302a8c0@DGG> <407ABAAD.1080201@dmsolutions.ca> In-Reply-To: <407ABAAD.1080201@dmsolutions.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: Dave Astolfo , chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2004 12:41:00 -0000 You'll also need to checkout a module called php_utils and copy the contents of php_utils/src/ to chameleon/htdocs/common (i.e. you should end up copying directories from php_utils/src/ to chameleon/htdocs/common) Cheers, Paul Jeff McKenna wrote: > Dave, > > I use WinCVS and should be able to help. I use v1.2, it's an old > version but really all u need. Goto Admin/Preferences and click the > WinCVS tab...set a HOME folder (e.g. C:\Home). Now goto the "General" > tab and enter the CVSROOT as specified on the maptools CVS page. For > Authentication choose "Passwd file on CVS server". Now goto > Create/Checkout module and specify "chameleon" as the module name and > browse to where u want to place it and hit OK. > hope this helps > > > Jeff > > > > Dave Astolfo wrote: > >> Hi all, >> >> I am a little "green" on this one, but can anyone tell me how to get >> access to the Chameleon CVS? I use a Win32 environment.. I downloaded >> WinCVS and tried the instructions listed here >> (http://www.maptools.org/chameleon/index.phtml?page=cvs.html), but got >> lost... Does anyone have step-by-step docs? >> >> Thanks! >> >> Dave >> >> >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Tue Apr 13 09:19:24 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3DDJKfe011180 for ; Tue, 13 Apr 2004 09:19:21 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i3DDJIMt020925; Tue, 13 Apr 2004 09:19:18 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i3DDJHIJ029890; Tue, 13 Apr 2004 09:19:18 -0400 Message-ID: <407BE8C5.1060004@magma.ca> Date: Tue, 13 Apr 2004 08:19:01 -0500 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Choi,Stephanie [Ontario]" Subject: Re: [Chameleon] Legend question References: <9B09D75DF5B3494BA06E6FE478CE9CC148FAE4@mgtserver3.ontario.int.ec.gc.ca> In-Reply-To: <9B09D75DF5B3494BA06E6FE478CE9CC148FAE4@mgtserver3.ontario.int.ec.gc.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2004 13:19:25 -0000 Stephanie, I'm not sure that it will work with Chameleon right now. We are planning to spend some time on this in May. Cheers, Paul Choi,Stephanie [Ontario] wrote: > Hi all, > > I got a problem for displaying Legend icon when I use Legend widget in > CWC2 1.0. And I noticed that few days ago, there was a discussion about > the problem of displaying legend. Is there a way to make Chameleon > displaying legend icon in version 1.0 'coz right now I couldn't make > legend icons show up at all ? I have the latest version of Mapserver > that I got from cvs and it has GetLegendGraphic support, too. Could > anyone give me some hint on this problem ? Any help would be greatly > appreciated. > > Thanks in advance, > Stephanie > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From jmckenna@dmsolutions.ca Tue Apr 13 09:43:10 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3DDh2fe011525 for ; Tue, 13 Apr 2004 09:43:02 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i3DDh1A1019249; Tue, 13 Apr 2004 09:43:01 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i3DDgx2r021773; Tue, 13 Apr 2004 09:43:01 -0400 Message-ID: <407BEE66.8050900@dmsolutions.ca> Date: Tue, 13 Apr 2004 09:43:02 -0400 From: Jeff McKenna User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pxniw pxniw Subject: Re: [Chameleon] US and Canada background images References: <20040413060404.78811.qmail@web41906.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: jmckenna@dmsolutions.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2004 13:43:11 -0000 Well this list isn't the proper place to ask this question...but check out the University of Maryland site for free imagery (http://glcf.umiacs.umd.edu/data/). jeff pxniw pxniw wrote: > Any Idea where I might find nice background images for > US and Canada? (Download) > > (I quess tiff file would be appropriate) > more detail.... better ;) > > How 'bout the whole world? > > Thanks > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Small Business $15K Web Design Giveaway > http://promotions.yahoo.com/design_giveaway/ > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- Jeff McKenna GIS Specialist DM Solutions Group Inc. http://www.dmsolutions.ca From sander.dee@geodan.nl Tue Apr 13 09:53:00 2004 Received: from mailbin.geodan.nl (vuurmuur.geodan.nl [213.197.234.125]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3DDqsfe011678 for ; Tue, 13 Apr 2004 09:52:54 -0400 Received: from sander.geodan.nl ([192.168.25.108]) by geodan.nl (geodan.nl [213.197.234.114]) (MDaemon.PRO.v7.0.1.R) with ESMTP id md50000109746.msg for ; Tue, 13 Apr 2004 15:52:38 +0200 Message-Id: <5.1.0.14.2.20040413154224.00b65da8@mail> X-Sender: sanderd@mail X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 13 Apr 2004 15:52:33 +0200 To: chameleon@lists.maptools.org From: Sander Dee Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Processed: geodan.nl, Tue, 13 Apr 2004 15:52:38 +0200 (not processed: message from valid local sender) X-MDRemoteIP: 192.168.25.108 X-Return-Path: sander.dee@geodan.nl X-MDaemon-Deliver-To: chameleon@lists.maptools.org X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: sander.dee@geodan.nl X-Mailman-Approved-At: Tue, 13 Apr 2004 10:07:10 -0400 Subject: [Chameleon] Query widget, different types of layers X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2004 13:53:00 -0000 Hi, I have a problem with the Query widget in Chameleon. I have a mapfile with a couple of different layers, some are of connectiontype wms and some are directed to shapefiles (using DATA "shapefile"). The Query-widget will not give me any results on the shapefiles (I do get results from the wms-layers). But when I turn all the other layers off the shape-layers will give results with the query widget. Is it not possible to get results from both wms-layers and shape-layers from one mapfile? I need this because otherwise my legends won't work (I get legends by using classes in the mapfile). Regards, Sander From chameleon@a-bloke.com Tue Apr 13 20:57:26 2004 Received: from carbon.btinternet.com (carbon.btinternet.com [194.73.73.92]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3E0vJfe015637 for ; Tue, 13 Apr 2004 20:57:20 -0400 Received: from [217.44.5.204] (helo=[192.168.0.193]) by carbon.btinternet.com with esmtp (Exim 3.22 #25) id 1BDYiM-0001Ab-00 for chameleon@lists.maptools.org; Wed, 14 Apr 2004 01:57:18 +0100 From: Jamie van Dyke To: chameleon@lists.maptools.org Content-Type: text/plain Message-Id: <1081904237.27192.2.camel@linuxbloke.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Wed, 14 Apr 2004 01:57:18 +0100 Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: chameleon@a-bloke.com Subject: [Chameleon] Startup configuration woes X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2004 00:57:26 -0000 Hi there again everybody, I listened to the advice previously given, adn have now got chameleon 1.1, and the sample application. However, getting them to work in the context I am after is proving beyond me. My sample app is in: /var/www/html/test/ That would be everything, and I have my apache server setup to use this as the document root: http://test.mydomain.com -> /var/www/html/test/htdocs/ OK, now the chameleon files have been arrange like this: /var/www/html/chameleon/htdocs/ /var/www/html/chameleon/config/ /var/www/html/chameleon/htdocs_admin/ /var/www/html/chameleon/html/ /opt/data/ /opt/etc/ The apache web server has been setup to use this as the document root: http://chameleon.mydomain.com -> /var/www/html/chameleon/htdocs/ I have the following as a tmp directory: /var/tmp/ OK, and in the sample app I changed line 9 to be: include( "/var/www/html/chameleon/htdocs/chameleon.php" ); and the map file to be: $szMapFile = "/var/www/html/test/map/chameleon.map"; -------- Right, so now that leaves me with one problem...how do I configure the xml file to portray this. Here's what I've got, and I get errors saying it couldn't find my mapscript php extension (Which I definately have the right name for). cwc2_url http://chameleon.mydomain.com/ This is the URL that points to the HTDOCS directory of the local cwc2 installation. server_data_path /opt/data/ This is where cached capabilities and other information, common to each session, should be. When a user start a new session, all files from that directory are copied to user_session_tmp_path web_server_path /var/www/html/chameleon/htdocs This is where chameleon.php script is located. ows_schemas_location http://ogc.dmsolutions.ca URL pointing to the root of a repository of OGC schemas. See http://ogc.dmsolutions.ca for an example. wms_parse_file Full file path to the binary wms parser executable ('/path/to/wmsparse' on Unix, '/path/to/wmsparse.exe' on Windows). Leave empty to use the built in PHP parser (slower). wms_connectiontimeout 30 Maximum time in seconds that MapServer will wait for an answer from a WMS server. allow_upload_context true Enable the "Upload map context" feature? (true or false). allow_upload_template true Allow use of the 'TEMPLATE=' parameter when calling the CWC2 instance to specify any CWC2 HTML template url? (true or false) If set to false then the value of 'default_template' config parameter is always used. cache_template true If template come from a remote server (http://....), the template is download from that remote server and saved on local server for further loading. For performace, it is prefered to set this value to "true". If the remote server template is dynamic, this value should be set to "false" so the template will be loaded remotely every page load. validate_template true Validate the attributes of each tag in the input template. This should be set to true for debugging but may be set to false in a production environment to enhance performance. default_language en-CA Default language specifier. (en-CA or fr-CA) default_template /var/www/html/chameleon/htdocs/geobase_en.html Default HTML template to use with this CWC2 instance. Used when TEMPLATE= parameter not set, or when allow_upload_template config parameter is set to false. invalid_session_template Template to display if session is invalid. default_context /var/www/html/chameleon/htdocs/gmap_context.xml Default map context to load when starting this application map_template /var/www/html/chameleon/htdocs/template.map Default MapServer mapfile template to use when uploading a context file. mapscript_module php_mapscript.so Mapscript module name (i.e. php_mapscript_40.dll for Windows installations or php_mapscript_40.so for Unix installations). log_path /var/tmp/ Directory in which to write log files. log_error true This define if chameleon should log errors in session. If set to false, no errors will be logged at all. log_level LOG_VERBOSE Control the application runtime logging level. Must be one of LOG_OFF, LOG_QUIET, LOG_VERBOSE or LOG_ALL. image_type PNG Output image type (eg: PNG, GIF). Must be uppercase. This image format MUST be supported by your browser and GD (on the server). Please don't change that value unless you know what you'r doing. button_cache_path /var/tmp/buttons/ Directory in which to write image files generated for buttons. This directory must be writable by the web server user and web accessible. For performance reasons, this directory should not be cleaned out automatically. button_cache_web_path /tmp/buttons/ The URL where a browser can find cached button images. tmp_web_path /tmp/ URL where browser can find temporary files as context or images tmp_img_path /tmp/ Directory where temporary image files are put. context_root /tmp/ Absolute root path to context files. All context should be in that folder (or sub folder). context_maxsize 1000000 This is the context file max size that a CWC2 user can upload on the server template_root /var/www/html/chameleon/ Absolute root path to template files. All template should be in that folder (or sub folder). fontlist_file /opt/etc/fonts.txt Path and filename of the font list file used by MapServer (i.e. /path/to/file/fonts.txt ). symbol_file /opt/etc/symbols.sym Path and filename of the symbol file used by MapServer (i.e. /path/to/file/symbols.sym ). textbutton_default_font_size 11 Buttons font size in points textbutton_default_font_antialiasing true Text Button font antialiasing (true or false) gd_version gd2 Version of GD graphic library (gd, gd2) freetype_version ttf Version of Freetype library used (use "ttf" for Freetype 1.3 or "freetype" for Freetype 2.x) execution_timeout 120 The amount of time in seconds to allow PHP to process a PHP page. This includes (for now) the time required to draw remote WMS layers which can be lengthy. Thanks for the help, it's much appreciated. Jamie van Dyke From pagameba@magma.ca Wed Apr 14 08:59:44 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3ECxdfe019943 for ; Wed, 14 Apr 2004 08:59:39 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i3ECwqXo019404; Wed, 14 Apr 2004 08:58:52 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i3ECwowJ013041; Wed, 14 Apr 2004 08:58:52 -0400 Message-ID: <407D357A.1030609@magma.ca> Date: Wed, 14 Apr 2004 08:58:34 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jamie van Dyke Subject: Re: [Chameleon] Startup configuration woes References: <1081904237.27192.2.camel@linuxbloke.localdomain> In-Reply-To: <1081904237.27192.2.camel@linuxbloke.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2004 12:59:45 -0000 Jamie, response in line ... Jamie van Dyke wrote: > Hi there again everybody, I listened to the advice previously given, adn > have now got chameleon 1.1, and the sample application. However, > getting them to work in the context I am after is proving beyond me. > > My sample app is in: > > /var/www/html/test/ > > That would be everything, and I have my apache server setup to use this > as the document root: > > http://test.mydomain.com -> /var/www/html/test/htdocs/ > > OK, now the chameleon files have been arrange like this: > > /var/www/html/chameleon/htdocs/ > /var/www/html/chameleon/config/ > /var/www/html/chameleon/htdocs_admin/ > /var/www/html/chameleon/html/ > > /opt/data/ > /opt/etc/ > > The apache web server has been setup to use this as the document root: > > http://chameleon.mydomain.com -> /var/www/html/chameleon/htdocs/ > > I have the following as a tmp directory: > > /var/tmp/ > > OK, and in the sample app I changed line 9 to be: > > include( "/var/www/html/chameleon/htdocs/chameleon.php" ); > > and the map file to be: > > $szMapFile = "/var/www/html/test/map/chameleon.map"; > > -------- > > Right, so now that leaves me with one problem...how do I configure the > xml file to portray this. Here's what I've got, and I get errors saying > it couldn't find my mapscript php extension (Which I definately have the > right name for). > > > > > > cwc2_url > http://chameleon.mydomain.com/ > This is the URL that points to the HTDOCS directory of > the local cwc2 installation. > > > server_data_path > /opt/data/ > This is where cached capabilities and other > information, common to each session, should be. When a user start a new > session, all files from that directory are copied to > user_session_tmp_path > > > web_server_path > /var/www/html/chameleon/htdocs this should be http://chameleon.mydomain.com/ ... very poorly described, will be fixed for release. > This is where chameleon.php script is > located. > > > ows_schemas_location > http://ogc.dmsolutions.ca > URL pointing to the root of a repository of OGC > schemas. See http://ogc.dmsolutions.ca for an example. > > > wms_parse_file > > Full file path to the binary wms parser executable > ('/path/to/wmsparse' on Unix, '/path/to/wmsparse.exe' on Windows). > Leave empty to use the built in PHP parser (slower). > > > wms_connectiontimeout > 30 > Maximum time in seconds that MapServer will wait for an > answer from a WMS server. > > > allow_upload_context > true > Enable the "Upload map context" feature? (true or > false). > > > allow_upload_template > true > Allow use of the 'TEMPLATE=' parameter when calling the > CWC2 instance to specify any CWC2 HTML template url? (true or false) If > set to false then the value of 'default_template' config parameter is > always used. > > > cache_template > true > If template come from a remote server (http://....), > the template is download from that remote server and saved on local > server for further loading. For performace, it is prefered to set this > value to "true". If the remote server template is dynamic, this value > should be set to "false" so the template will be loaded remotely every > page load. > > > validate_template > true > Validate the attributes of each tag in the input > template. This should be set to true for debugging but may be set to > false in a production environment to enhance performance. > > > default_language > en-CA > Default language specifier. (en-CA or > fr-CA) > > > default_template > > /var/www/html/chameleon/htdocs/geobase_en.html > Default HTML template to use with this CWC2 instance. > Used when TEMPLATE= parameter not set, or when allow_upload_template > config parameter is set to false. > > > invalid_session_template > > Template to display if session is > invalid. > > > default_context > > /var/www/html/chameleon/htdocs/gmap_context.xml > Default map context to load when starting this > application > > > map_template > > /var/www/html/chameleon/htdocs/template.map > Default MapServer mapfile template to use when > uploading a context file. > > > mapscript_module > php_mapscript.so if it is not finding this then there is a problem with your php configuration. To resolve this, first create a script called phpinfo.php somewhere web accessible ... and then access it by web browser, you should get the php info output, if you don't then there is a problem you will have to fix ... If it does work then in the top block it will tell you which php.ini file it is using (perhaps, depending on how you configured php when you built it). You need to look in this file to see where your extension_dir is pointing to and make sure that php_mapscript.so is in there. You will also need to make sure that the run time linker can find dependencies (run ldd php_mapscript.so) If that appears correct, then change the script to: and open it again, this time you should get a MapScript block somewhere in the output. Once that is working, try chameleon again. If chameleon is still not working, check the location of session.save_path in php.ini and make sure that it is writable by the web server's user. If all of that is okay without changes, get back to me again :) > Mapscript module name (i.e. php_mapscript_40.dll for > Windows installations or php_mapscript_40.so for Unix > installations). > > > log_path > /var/tmp/ > Directory in which to write log files. > > > log_error > true > This define if chameleon should log errors in session. > If set to false, no errors will be logged at all. > > > log_level > LOG_VERBOSE > Control the application runtime logging level. Must be > one of LOG_OFF, LOG_QUIET, LOG_VERBOSE or LOG_ALL. > > > image_type > PNG > Output image type (eg: PNG, GIF). Must be uppercase. > This image format MUST be supported by your browser and GD (on the > server). Please don't change that value unless you know what you'r > doing. > > > button_cache_path > /var/tmp/buttons/ > Directory in which to write image files generated for > buttons. This directory must be writable by the web server user and web > accessible. For performance reasons, this directory should not be > cleaned out automatically. > > > button_cache_web_path > /tmp/buttons/ > The URL where a browser can find cached button > images. > > > tmp_web_path > /tmp/ > URL where browser can find temporary files as context > or images > > > tmp_img_path > /tmp/ > Directory where temporary image files are > put. > > > context_root > /tmp/ > Absolute root path to context files. All context should > be in that folder (or sub folder). > > > context_maxsize > 1000000 > This is the context file max size that a CWC2 user can > upload on the server > > > template_root > /var/www/html/chameleon/ > Absolute root path to template files. All template > should be in that folder (or sub folder). > > > fontlist_file > /opt/etc/fonts.txt > Path and filename of the font list file used by > MapServer (i.e. /path/to/file/fonts.txt ). > > > symbol_file > /opt/etc/symbols.sym > Path and filename of the symbol file used by MapServer > (i.e. /path/to/file/symbols.sym ). > > > textbutton_default_font_size > 11 > Buttons font size in points > > > textbutton_default_font_antialiasing > true > Text Button font antialiasing (true or > false) > > > gd_version > gd2 > Version of GD graphic library (gd, gd2) > > > freetype_version > ttf > Version of Freetype library used (use "ttf" for > Freetype 1.3 or "freetype" for Freetype 2.x) > > > execution_timeout > 120 > The amount of time in seconds to allow PHP to process a > PHP page. This includes (for now) the time required to draw remote WMS > layers which can be lengthy. > > > > > Thanks for the help, it's much appreciated. > Jamie van Dyke > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From dmcilhagga@dmsolutions.ca Thu Apr 15 12:45:34 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3FGjUfe032271; Thu, 15 Apr 2004 12:45:30 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i3FGjSSo013049; Thu, 15 Apr 2004 12:45:28 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i3FGjSfb020460; Thu, 15 Apr 2004 12:45:28 -0400 Message-ID: <407EBCB7.6010700@dmsolutions.ca> Date: Thu, 15 Apr 2004 12:47:51 -0400 From: Dave McIlhagga User-Agent: Mozilla Thunderbird 0.5 (Macintosh/20040208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: mapserver , chameleon@lists.maptools.org, maplab-users@lists.maptools.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: dmcilhagga@dmsolutions.ca Cc: Subject: [Chameleon] ANNOUNCE: Update on 2nd MapServer User Meeting and OSGIS 2004 X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Apr 2004 16:45:34 -0000 Hi everyone, Sorry for the cross-postings, but I wanted to make sure we got this message to as many people as possible. Please feel free to distribute. For those of you who have not heard yet, the Ottawa MapServer Users Group is very busy preparing for this year's 2nd Annual MapServer User Meeting scheduled for June 9-11, 2004 at Carleton University, Ottawa, Canada. The early bird registration is available only until April 30th, so please register soon. Not only does this save you some money, it also helps us plan for the numbers that we may expect for the big event. As you will see on the conference website (http://www.omsug.ca), some new additions have now been included: - Online Registration is now Available! - We have a number of workshops and presenters committed -- take a look at the conferece program for details (http://www.omsug.ca/osgis2004/program.html). This is tentative, but should give you an idea of the kinds of presenters and topics that will be covered. - Our program is not full -- so we're looking to you to give us your suggestions on presentations that you are interested in giving. See the call for presentations for more details. We also want to hear from you about the about the workshops we have lined up with any suggestions for others you may be interested in. - Thank you to our initial sponsors - Tydac, GIS Monitor and DM Solutions Group. Anyone who is interested in sponsoring and/or exhibiting, please contact us. There is also a bonus for early-bird sponsors before April 30th. Some additional notes: In addition to the MapServer User meeting, a parallel Open Source GIS Conference will be taking place. In this event, there will be a lot of general discussion about the open source movement within the GIS community, exposure to many technologies such as OpenEV and Grass, and a stream focussed on management issues for incorporating Open Source in your organization. I encourage all of you to look into participating in this event and help us to get the word out to the other open source gis communities who may be interested in attending. Also - I should mention that the hotel rooms and conference rates are only guaranteed through May 9th, so book your accomodations as soon as possible, as we cannot provide any guarantees beyond this date. Tourist season in Ottawa starts in May/June so booking a hotel late can be tricky. We are eager for any feedback or comments you may have so don't hesitate to contact me directly or provide feedback through the conference website. Only 2 months to go! Looking forward to seeing you all soon here in Ottawa! Dave Dave McIlhagga dmcilhagga@dmsolutions.ca OSGIS 2004 and 2nd Annual MUM Planning Committee http://www.omsug.ca From NONSEITI@telefonica.net Thu Apr 15 13:47:43 2004 Received: from tnetsmtp1.mail.isp (smtp.telefonica.net [213.4.129.135]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3FHlbfe032756 for ; Thu, 15 Apr 2004 13:47:37 -0400 Message-Id: <200404151747.i3FHlbfe032756@www.maptools.org> Received: from centrino ([80.38.176.40]) by tnetsmtp1.mail.isp (terra.es) with ESMTP id HW842Z01.ZLY for ; Thu, 15 Apr 2004 19:47:23 +0200 From: "Juan Martinez" To: Date: Thu, 15 Apr 2004 19:47:15 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0000_01C42322.7500BF60" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcQjEa/WcnDlsD6BTtOsCygOSkBSeQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: nonseiti@telefonica.net Subject: [Chameleon] php_dbase.dll X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Apr 2004 17:47:44 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0000_01C42322.7500BF60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, =20 I installed Chameleon(chameleon-1.1alpha) under Redhat Enterprise. I = have also installed PHP (working as a CGI) and Mapserver. Php and Mapserver = work but, when I try to access http://localhost/chameleon/chameleon_sample/htdocs/index.phtml I get the following output: =20 Warning: dl(): Unable to load dynamic library '/usr/local/lib/php/extensions/php_dbase.dll' - /usr/local/lib/php/extensions/php_dbase.dll: cannot open shared object = file: No such file or directory in /opt/chameleon/htdocs/common/mlt/mlt.php on line 245 Warning: dl(): Unable to load dynamic library '/usr/local/lib/php/extensions/php_dbase.dll' - /usr/local/lib/php/extensions/php_dbase.dll: cannot open shared object = file: No such file or directory in /opt/chameleon/htdocs/common/mlt/mlt.php on line 245 =20 I compiled PHP4 with =96enable-dbase but there are no php_dbase.dll or php_dbase.so files. =20 I have also installed cwc2-1.0.6 and when I run test.php or demo.php I = get a blank page (source code is: ) =20 If I embed a echo =93hello=94 inside the php script, the output displays = that message. =20 anybody knows how to solve this problem? =20 Thanks, =20 Juan ------=_NextPart_000_0000_01C42322.7500BF60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hello,

 

I installed Chameleon(chameleon-1.1alpha) under Redhat Enterprise. I have also installed PHP (working as a CGI) and Mapserver. Php and = Mapserver work but, when I try to access h= ttp://localhost/chameleon/chameleon_sample/htdocs/index.phtml I get the following output:

 

Warni= ng: dl(): Unable to load dynamic library '/usr/local/lib/php/extensions/php_dbase.dll' - /usr/local/lib/php/extensions/php_dbase.dll: cannot open shared object = file: No such file or directory in /opt/chameleon/htdocs/common/mlt/mlt.php on line = 245

Warning: dl(): Unable to load dynamic library = '/usr/local/lib/php/extensions/php_dbase.dll' - /usr/local/lib/php/extensions/php_dbase.dll: cannot open shared object = file: No such file or directory in /opt/chameleon/htdocs/common/mlt/mlt.php on line = 245

=  

I compiled PHP4 with –enable-dbase but there are no php_dbase.dll or = php_dbase.so files.

 

I have also installed cwc2-1.0.6 and when I run test.php or = demo.php I get a blank page (source code is: = <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><META http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"></HEAD><BODY>&= lt;/BODY></HTML>)

 

If I embed a echo “hello” inside the php = script, the output displays that message.

 

anybody<= /span> knows how to solve this = problem?

 

Thanks,

 

Juan=

------=_NextPart_000_0000_01C42322.7500BF60-- From Stephanie.Choi@ec.gc.ca Fri Apr 16 09:07:45 2004 Received: from mgtserver3.tor.ec.gc.ca (ecdow130.tor.ec.gc.ca [199.212.19.130]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3GD7efe007280 for ; Fri, 16 Apr 2004 09:07:40 -0400 content-class: urn:content-classes:message Date: Fri, 16 Apr 2004 09:07:35 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C423B3.C97AD9EA" Message-ID: <9B09D75DF5B3494BA06E6FE478CE9CC148FAE8@mgtserver3.ontario.int.ec.gc.ca> X-MS-Has-Attach: X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 X-MS-TNEF-Correlator: Thread-Topic: Problem in Print widget Thread-Index: AcQjs8l+BLwj3PpBQSWHP47n+K0MXg== From: "Choi,Stephanie [Ontario]" To: X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: stephanie.choi@ec.gc.ca Subject: [Chameleon] Problem in Print widget X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2004 13:07:46 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C423B3.C97AD9EA Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi all, I got a problem when using print widget in Chameleon 1.0. I am running it with the development version of Mapserver which I got from cvs. When I preview the map with legend in it, the legend icons showed as "?" instead of the symbols I have set. I understand that Chameleon takes a context file as an input and then uses it to generate an updated mapfile whenever a change is made to the application. Therefore, I have created the following context file for testing the creation of legend icons: A Test context file: And the mapfile it generated is : LEGEND IMAGECOLOR 255 255 255 KEYSIZE 18 12 KEYSPACING 5 5 LABEL SIZE MEDIUM TYPE BITMAP BUFFER 0 COLOR 0 0 89 FORCE FALSE MINDISTANCE -1 MINFEATURESIZE -1 OFFSET 0 0 PARTIALS TRUE END POSITION LL STATUS ON TEMPLATE "legend_template.html" END LAYER CONNECTION "http://142.97.246.104/cgi-bin/envirodat?" CONNECTIONTYPE WMS METADATA "wms_srs" "EPSG:42304 EPSG:42101 EPSG:4269 EPSG:4326 EPSG:42304" "wms_onlineresource" "http://142.97.246.104/cgi-bin/envirodat?" "wms_style_avn_legendurl_width" "18" "wms_name" "Aviation_Surface_Weather_Network" "wms_style_avn_title" "avn" "wms_style_avn_legendurl_format" "image/png" "wms_style_avn_legendurl_height" "12" "wms_formatlist" "image/png,image/jpeg,image/wbmp" "wms_format" "image/png" "LEGEND_ORDER" "0" "wms_style_avn_legendurl_href" "http://localhost/cgi-bin/wms?version=3D1.1.1&request=3DGetLegendGraphic&= Lay er=3DAviation_Surface_Weather_Network&format=3Dimage%2Fpng&simple=3Dtrue"= "wms_server_version" "1.1.1" "wms_stylelist" "avn" "wms_style" "avn" "wms_title" "Aviation_Surface_Weather_Network" END NAME "l0:Aviation_Surface_Weather_Network" SIZEUNITS PIXELS STATUS ON TOLERANCE 0 TOLERANCEUNITS PIXELS TYPE RASTER UNITS METERS END However, when I started up Chameleon 1.0 with the above context file I got the following error and the image doesn't generate at all: "msWMSLoadGetMapParams(): Invalid style ((null)) Mapserver supports only default styles and is expecting and empty string for the STYLES=3D or STYLES=3D,,,," =20 I know I mess up something somewhere in the context file or anywhere else. Does anyone have any idea on what did I set up wrongly and does anyone know a proper way to make the legend icons show up in the preview ? I am a new to Chameleon if I understood anything wrongly, just point me out. Any help would be greatly appreciated. Thanks in advance, Stephanie ------_=_NextPart_001_01C423B3.C97AD9EA Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Problem in Print widget

Hi all,

I got a problem when using print widget = in Chameleon 1.0.  I am running it with the development version of = Mapserver which I got from cvs.  When I preview the map with legend = in it, the legend icons showed as "?" instead of the symbols I = have set.  I understand that Chameleon takes a context file as an = input and then uses it to generate an updated mapfile whenever a change = is made to the application.  Therefore, I have created the = following context file for testing the creation of legend = icons:

A Test context file:
   <LayerList>
    <Layer = queryable=3D"0" hidden=3D"0">
      = <Server service=3D"WMS" version=3D"1.1.1" = title=3D"Aviation_Surface_Weather_Network">
        = <OnlineResource xlink:type=3D"simple" xlink:href=3D"http://localhost/cgi-bin/wms?&q= uot;/>
      = </Server>
      = <Name>Aviation_Surface_Weather_Network</Name>
      = <Title>Aviation_Surface_Weather_Network</Title>
      = <SRS>EPSG:42304 EPSG:42101 EPSG:4269 EPSG:4326 = EPSG:42304</SRS>
      = <FormatList>
        <Format = current=3D"1">image/png</Format>
        = <Format>image/jpeg</Format>
        = <Format>image/wbmp</Format>
      = </FormatList>
      = <StyleList>
        <Style = current=3D"1">
          = <Name>avn</Name>
          = <Title>avn</Title>
          = <LegendURL width=3D"18" height=3D"12" = format=3D"image/png">
         &nbs= p;  <OnlineResource xlink:type=3D"simple" = xlink:href=3D"http://localhost/cgi-bin/wms?version=3D1.1.1&a= mp;request=3DGetLegendGraphic&Layer=3DAviation_Surface_Weather_Networ= k&format=3Dimage%2Fpng&simple=3Dtrue"/>

          = </LegendURL>
        = </Style>
      = </StyleList>
    = </Layer>
  </LayerList>

And the mapfile it = generated is :

LEGEND
      = IMAGECOLOR 255 255 255
    KEYSIZE 18 = 12
    KEYSPACING 5 = 5
    LABEL
      SIZE = MEDIUM
      TYPE = BITMAP
      BUFFER = 0
      COLOR 0 = 0 89
      FORCE = FALSE
      = MINDISTANCE -1
      = MINFEATURESIZE -1
      OFFSET = 0 0
      = PARTIALS TRUE
    END
    POSITION LL
    STATUS ON
    TEMPLATE = "legend_template.html"
  END

LAYER
    CONNECTION = "http://142.97.246.104/cgi-bin/envirodat?"
    CONNECTIONTYPE = WMS
      = METADATA
        = "wms_srs"       "EPSG:42304 = EPSG:42101 EPSG:4269 EPSG:4326 EPSG:42304"
        = "wms_onlineresource"    "http://142.97.246.104/cgi-bin/envirodat?"
        = "wms_style_avn_legendurl_width" "18"
        = "wms_name"      = "Aviation_Surface_Weather_Network"
        = "wms_style_avn_title"   "avn"
        = "wms_style_avn_legendurl_format"     &= nbsp;  "image/png"
        = "wms_style_avn_legendurl_height"     &= nbsp;  "12"
        = "wms_formatlist"        = "image/png,image/jpeg,image/wbmp"
        = "wms_format"    "image/png"
        = "LEGEND_ORDER"  "0"
        = "wms_style_avn_legendurl_href"  "http://localhost/cgi-bin/wms?version=3D1.1.1&request=3D= GetLegendGraphic&Layer=3DAviation_Surface_Weather_Network&format=3D= image%2Fpng&simple=3Dtrue"

        = "wms_server_version"    = "1.1.1"
        = "wms_stylelist" "avn"
        = "wms_style"     "avn"
        = "wms_title"     = "Aviation_Surface_Weather_Network"
      = END
    NAME = "l0:Aviation_Surface_Weather_Network"
    SIZEUNITS = PIXELS
    STATUS ON
    TOLERANCE 0
    TOLERANCEUNITS = PIXELS
    TYPE RASTER
    UNITS METERS
  END

However, when I started up Chameleon = 1.0 with the above context file I got the following error and the image = doesn't generate at all:

"msWMSLoadGetMapParams(): Invalid = style ((null)) Mapserver supports only default styles and is expecting = and empty string for the STYLES=3D or STYLES=3D,,,,"  =

I know I mess up something somewhere in = the context file or anywhere else.  Does anyone have any idea on = what did I set up wrongly and does anyone know a proper way to make the = legend icons show up in the preview ?  I am a new to Chameleon if I = understood anything wrongly, just point me out.  Any help would be = greatly appreciated.

Thanks in advance,
Stephanie

------_=_NextPart_001_01C423B3.C97AD9EA-- From pagameba@magma.ca Fri Apr 16 09:29:36 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3GDTVfe007432 for ; Fri, 16 Apr 2004 09:29:31 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i3GDTT6O016813; Fri, 16 Apr 2004 09:29:29 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i3GDTKvL026504; Fri, 16 Apr 2004 09:29:29 -0400 Message-ID: <407FDFAD.1050008@magma.ca> Date: Fri, 16 Apr 2004 09:29:17 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Choi,Stephanie [Ontario]" Subject: Re: [Chameleon] Problem in Print widget References: <9B09D75DF5B3494BA06E6FE478CE9CC148FAE8@mgtserver3.ontario.int.ec.gc.ca> In-Reply-To: <9B09D75DF5B3494BA06E6FE478CE9CC148FAE8@mgtserver3.ontario.int.ec.gc.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2004 13:29:36 -0000 Stephanie, this is a limitation of Chameleon/MapServer right now that we will be working to address in the near future. Basically the support for GetLegendGraphic has been added for MapServer WMS Server but not for WMS Client so the legend template processor is not seeing the url to the legend graphic. I would hope that this would be fixed by mid summer. Paul Choi,Stephanie [Ontario] wrote: > Hi all, > > I got a problem when using print widget in Chameleon 1.0. I am running > it with the development version of Mapserver which I got from cvs. When > I preview the map with legend in it, the legend icons showed as "?" > instead of the symbols I have set. I understand that Chameleon takes a > context file as an input and then uses it to generate an updated mapfile > whenever a change is made to the application. Therefore, I have created > the following context file for testing the creation of legend icons: > > A Test_ context_ file: > > > > > And the_ mapfile_ it generated is : > > LEGEND > IMAGECOLOR 255 255 255 > KEYSIZE 18 12 > KEYSPACING 5 5 > LABEL > SIZE MEDIUM > TYPE BITMAP > BUFFER 0 > COLOR 0 0 89 > FORCE FALSE > MINDISTANCE -1 > MINFEATURESIZE -1 > OFFSET 0 0 > PARTIALS TRUE > END > POSITION LL > STATUS ON > TEMPLATE "legend_template.html" > END > > LAYER > CONNECTION "_http://142.97.246.104/cgi-bin/envirodat?_" > CONNECTIONTYPE WMS > METADATA > "wms_srs" "EPSG:42304 EPSG:42101 EPSG:4269 EPSG:4326 > EPSG:42304" > "wms_onlineresource" > "_http://142.97.246.104/cgi-bin/envirodat?_" > "wms_style_avn_legendurl_width" "18" > "wms_name" "Aviation_Surface_Weather_Network" > "wms_style_avn_title" "avn" > "wms_style_avn_legendurl_format" "image/png" > "wms_style_avn_legendurl_height" "12" > "wms_formatlist" "image/png,image/jpeg,image/wbmp" > "wms_format" "image/png" > "LEGEND_ORDER" "0" > "wms_style_avn_legendurl_href" > "_http://localhost/cgi-bin/wms?version=1.1.1&request=GetLegendGraphic&Layer=Aviation_Surface_Weather_Network&format=image%2Fpng&simple=true_ > " > > "wms_server_version" "1.1.1" > "wms_stylelist" "avn" > "wms_style" "avn" > "wms_title" "Aviation_Surface_Weather_Network" > END > NAME "l0:Aviation_Surface_Weather_Network" > SIZEUNITS PIXELS > STATUS ON > TOLERANCE 0 > TOLERANCEUNITS PIXELS > TYPE RASTER > UNITS METERS > END > > However, when I started up Chameleon 1.0 with the above context file I > got the following error and the image doesn't generate at all: > > "msWMSLoadGetMapParams(): Invalid style ((null)) Mapserver supports only > default styles and is expecting and empty string for the STYLES= or > STYLES=,,,," > > I know I mess up something somewhere in the context file or anywhere > else. Does anyone have any idea on what did I set up wrongly and does > anyone know a proper way to make the legend icons show up in the preview > ? I am a new to Chameleon if I understood anything wrongly, just point > me out. Any help would be greatly appreciated. > > Thanks in advance, > Stephanie > > > ------------------------------------------------------------------------ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Stephanie.Choi@ec.gc.ca Thu Apr 15 14:56:06 2004 Received: from mgtserver3.tor.ec.gc.ca (ecdow130.tor.ec.gc.ca [199.212.19.130]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3FIu0fe000864 for ; Thu, 15 Apr 2004 14:56:00 -0400 content-class: urn:content-classes:message Date: Thu, 15 Apr 2004 14:55:54 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4231B.477DEA60" Message-ID: <9B09D75DF5B3494BA06E6FE478CE9CC148FAE5@mgtserver3.ontario.int.ec.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Thread-Topic: Problem in preview widget Thread-Index: AcQjG0dwXcskpXffT+mJ8GQAVtkRXg== From: "Choi,Stephanie [Ontario]" To: X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: stephanie.choi@ec.gc.ca X-Mailman-Approved-At: Fri, 16 Apr 2004 10:54:36 -0400 Subject: [Chameleon] Problem in preview widget X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Apr 2004 18:56:06 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C4231B.477DEA60 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi all, I got a question about the preview widget. I am working with Chameleon 1.0 and Mapserver-dev version which is the latest one I got from cvs. And when I includes legend to be displayed in the preview, it shows the default icons which is the "?" instead of the symbols that I set to them. I understand that in Chameleon 1.0, it uses a context file to create an updated mapfile whenever a change is made to the application. And I found out that those legend icons are created from the legendurls which are included in the context file within each style block. Therefore, I made the following test context file for testing the creation of legend icons in preview: Here is the corresponding mapfile that generated by Chameleon: MAP EXTENT -2594561.35333333 -712631 3467361.35333333 3840000 FONTSET "/var/www/html/cwc2/etc/fonts.txt" IMAGECOLOR 255 255 255 IMAGETYPE png RESOLUTION 90.714286 SYMBOLSET "/var/www/html/cwc2/etc/symbols.sym" SIZE 400 300 STATUS ON TRANSPARENT TRUE UNITS METERS NAME "envirodat_wms" OUTPUTFORMAT NAME png MIMETYPE image/png DRIVER GD/PNG EXTENSION png IMAGEMODE PC256 TRANSPARENT TRUE END PROJECTION "init=3Depsg:42304" END LEGEND IMAGECOLOR 255 255 255 KEYSIZE 18 12 KEYSPACING 5 5 LABEL SIZE MEDIUM TYPE BITMAP BUFFER 0 COLOR 0 0 89 FORCE FALSE MINDISTANCE -1 MINFEATURESIZE -1 OFFSET 0 0 PARTIALS TRUE END POSITION LL STATUS ON TEMPLATE "legend_template.html" END QUERYMAP COLOR 255 0 0 SIZE -1 -1 STATUS OFF STYLE HILITE END REFERENCE COLOR -1 -1 -1 EXTENT -1 -1 -1 -1 IMAGE "./images/keymap.png" OUTLINECOLOR 255 0 0 SIZE 120 90 STATUS ON MARKER 0 MARKERSIZE 0 MINBOXSIZE 3 MAXBOXSIZE 0 END SCALEBAR BACKGROUNDCOLOR 0 0 0 COLOR 255 255 255 IMAGECOLOR 255 255 255 INTERVALS 5 LABEL SIZE SMALL TYPE BITMAP BUFFER 0 COLOR 0 0 0 FORCE FALSE MINDISTANCE -1 MINFEATURESIZE -1 OFFSET 0 0 PARTIALS TRUE POSITION CR END OUTLINECOLOR 0 0 0 POSITION LL SIZE 300 5 STATUS ON STYLE 0 TRANSPARENT TRUE UNITS KILOMETERS END WEB IMAGEPATH "/var/www/html/cwc2/tmp/images/" IMAGEURL "/image_tmp/" LOG "error.log" METADATA "original_projection" "init=3Depsg:42304" "wms_connectiontimeout" "3000" "original_extents" "-2200000,-712631,3072800,3840000" "wms_context_version" "1.0.0" "wms_title" "WMS Demo" END QUERYFORMAT text/html END LAYER CONNECTION "http://localhost/cgi-bin/wms?" CONNECTIONTYPE WMS METADATA "wms_srs" "EPSG:42304 EPSG:42101 EPSG:4269 EPSG:4326 EPSG:42304" "wms_onlineresource" "http://localhsot/cgi-bin/wms?" "wms_style_avn_legendurl_width" "18" "wms_name" "Aviation_Surface_Weather_Network" "wms_style_avn_title" "avn" "wms_style_avn_legendurl_format" "image/png" "wms_style_avn_legendurl_height" "12" "wms_formatlist" "image/png,image/jpeg,image/wbmp" "wms_format" "image/png" "LEGEND_ORDER" "0" "wms_style_avn_legendurl_href" "http://localhost/cgi-bin/wms?version=3D1.1.1&request=3DGetLegendGraphic&= Lay er=3DAviation_Surface_Weather_Network&format=3Dimage%2Fpng&simple=3Dtrue"= "wms_server_version" "1.1.1" "wms_stylelist" "avn" "wms_style" "avn" "wms_title" "Aviation_Surface_Weather_Network" END NAME "l0:Aviation_Surface_Weather_Network" SIZEUNITS PIXELS STATUS ON TOLERANCE 0 TOLERANCEUNITS PIXELS TYPE RASTER UNITS METERS END END However, when I starts Chameleon 1.0 with this context file, I got the following error and the map image doesn't generate at all: "msWMSLoadGetMapParams (): Invalid style ((null)) Mapserver supports only default styles and is expecting an empty string for the STYLES: or STYLES=3D,,,," Does anyone have any idea on this problem ? I guess I am missing something or messing up something in the mapfile or context file. If anyone knows the proper way to set up this, please let me know. Hey I am a newbie to the Chameleon, so if I misunderstood anything, just let me know :) Any help would be greatly appreciated. Thanks in advance, Stephanie =20 ------_=_NextPart_001_01C4231B.477DEA60 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Problem in preview widget

Hi all,

I got a question about the preview = widget.  I am working with Chameleon 1.0 and Mapserver-dev version = which is the latest one I got from cvs.  And when I includes legend = to be displayed in the preview, it shows the default icons which is the = "?" instead of the symbols that I set to them.  I = understand that in Chameleon 1.0, it uses a context file to create an = updated mapfile whenever a change is made to the application.  And = I found out that those legend icons are created from the legendurls = which are included in the context file within each style block.  = Therefore, I made the following test context file for testing the = creation of legend icons in preview:

<?xml version=3D'1.0' = encoding=3D"ISO-8859-1" standalone=3D"no" = ?>
<ViewContext = version=3D"1.0.0" id=3D"envirodat_wms" = xmlns:xsi=3D"http://www.w3.org/2001= /XMLSchema-instance" xmlns:xlink=3D"http://www.w3.org/1999/xlink&qu= ot; xmlns=3D"http://www.opengis.net/context" xsi:schemaLocation=3D"http://www.opengis.net/context http://schemas.opengis.net/context/1.0.0/context.xsd">

  <!-- LayerList of Layer = elements
       - = implied order: bottom To Top
       = first Layer element is bottom most layer in map view
       = last Layer elements is op most layer in map view
  -->
  <LayerList>
    <Layer = queryable=3D"0" hidden=3D"0">
      = <Server service=3D"WMS" version=3D"1.1.1" = title=3D"Aviation_Surface_Weather_Network">
        = <OnlineResource xlink:type=3D"simple" xlink:href=3D"http://localhost/cgi-bin/wms?&q= uot;/>
      = </Server>
      = <Name>Aviation_Surface_Weather_Network</Name>
      = <Title>Aviation_Surface_Weather_Network</Title>
      = <SRS>EPSG:42304 EPSG:42101 EPSG:4269 EPSG:4326 = EPSG:42304</SRS>
      = <FormatList>
        <Format = current=3D"1">image/png</Format>
        = <Format>image/jpeg</Format>
        = <Format>image/wbmp</Format>
      = </FormatList>
      = <StyleList>
        <Style = current=3D"1">
          = <Name>avn</Name>
          = <Title>avn</Title>
          = <LegendURL width=3D"18" height=3D"12" = format=3D"image/png">
         &nbs= p;  <OnlineResource xlink:type=3D"simple" = xlink:href=3D"http://localhost/cgi-bin/wms?version=3D1.1.1&a= mp;request=3DGetLegendGraphic&Layer=3DAviation_Surface_Weather_Networ= k&format=3Dimage%2Fpng&simple=3Dtrue"/>

          = </LegendURL>
        = </Style>
      = </StyleList>
    = </Layer>
  </LayerList>
</ViewContext>

Here is the corresponding mapfile that = generated by Chameleon:

MAP
  EXTENT -2594561.35333333 = -712631 3467361.35333333 3840000
  FONTSET = "/var/www/html/cwc2/etc/fonts.txt"
  IMAGECOLOR 255 255 255
  IMAGETYPE png
  RESOLUTION 90.714286
  SYMBOLSET = "/var/www/html/cwc2/etc/symbols.sym"
  SIZE 400 300
  STATUS ON
  TRANSPARENT TRUE
  UNITS METERS
  NAME = "envirodat_wms"

  OUTPUTFORMAT
    NAME png
    MIMETYPE = image/png
    DRIVER = GD/PNG
    EXTENSION = png
    IMAGEMODE = PC256
    TRANSPARENT = TRUE
  END

  PROJECTION
    = "init=3Depsg:42304"
  END
  LEGEND
      = IMAGECOLOR 255 255 255
    KEYSIZE 18 = 12
    KEYSPACING 5 = 5
    LABEL
      SIZE = MEDIUM
      TYPE = BITMAP
      BUFFER = 0
      COLOR 0 = 0 89
      FORCE = FALSE
      = MINDISTANCE -1
      = MINFEATURESIZE -1
      OFFSET = 0 0
      = PARTIALS TRUE
    END
    POSITION LL
    STATUS ON
    TEMPLATE = "legend_template.html"
  END

  QUERYMAP
      COLOR = 255 0 0
    SIZE -1 -1
    STATUS OFF
    STYLE HILITE
  END

  REFERENCE
    COLOR -1 -1 = -1
    EXTENT -1 -1 -1 = -1
    IMAGE = "./images/keymap.png"
    OUTLINECOLOR 255 0 = 0
    SIZE 120 90
    STATUS ON
      MARKER = 0
      = MARKERSIZE 0
      = MINBOXSIZE 3
      = MAXBOXSIZE 0
  END

  SCALEBAR
      = BACKGROUNDCOLOR 0 0 0
      COLOR = 255 255 255
    IMAGECOLOR 255 255 = 255
    INTERVALS 5
    LABEL
      SIZE = SMALL
      TYPE = BITMAP
      BUFFER = 0
      COLOR 0 = 0 0
      FORCE = FALSE
      = MINDISTANCE -1
      = MINFEATURESIZE -1
      OFFSET = 0 0
      = PARTIALS TRUE
      = POSITION CR
    END
      = OUTLINECOLOR 0 0 0
    POSITION LL
    SIZE 300 5
    STATUS ON
    STYLE 0
    TRANSPARENT = TRUE
    UNITS = KILOMETERS
  END

  WEB
    IMAGEPATH = "/var/www/html/cwc2/tmp/images/"
    IMAGEURL = "/image_tmp/"
    LOG = "error.log"
      = METADATA
        = "original_projection"   = "init=3Depsg:42304"
        = "wms_connectiontimeout" "3000"
        = "original_extents"      = "-2200000,-712631,3072800,3840000"
        = "wms_context_version"   "1.0.0"
        = "wms_title"     "WMS = Demo"
      = END
    QUERYFORMAT = text/html
  END

  LAYER
    CONNECTION = "http://localhost/cgi-bin/wms?"
    CONNECTIONTYPE = WMS
      = METADATA
        = "wms_srs"       "EPSG:42304 = EPSG:42101 EPSG:4269 EPSG:4326 EPSG:42304"
        = "wms_onlineresource"    "http://localhsot/cgi-bin/wms?"
        = "wms_style_avn_legendurl_width" "18"
        = "wms_name"      = "Aviation_Surface_Weather_Network"
        = "wms_style_avn_title"   "avn"
        = "wms_style_avn_legendurl_format"     &= nbsp;  "image/png"
        = "wms_style_avn_legendurl_height"     &= nbsp;  "12"
        = "wms_formatlist"        = "image/png,image/jpeg,image/wbmp"
        = "wms_format"    "image/png"
        = "LEGEND_ORDER"  "0"
        = "wms_style_avn_legendurl_href"  "http://localhost/cgi-bin/wms?version=3D1.1.1&request=3D= GetLegendGraphic&Layer=3DAviation_Surface_Weather_Network&format=3D= image%2Fpng&simple=3Dtrue"

        = "wms_server_version"    = "1.1.1"
        = "wms_stylelist" "avn"
        = "wms_style"     "avn"
        = "wms_title"     = "Aviation_Surface_Weather_Network"
      = END
    NAME = "l0:Aviation_Surface_Weather_Network"
    SIZEUNITS = PIXELS
    STATUS ON
    TOLERANCE 0
    TOLERANCEUNITS = PIXELS
    TYPE RASTER
    UNITS METERS
  END

END

However, when I starts Chameleon 1.0 = with this context file, I got the following error and the map image = doesn't generate at all:

"msWMSLoadGetMapParams (): Invalid = style ((null)) Mapserver supports only default styles and is expecting = an empty string for the STYLES: or STYLES=3D,,,,"

Does anyone have any idea on this = problem ?  I guess I am missing something or messing up something = in the mapfile or context file.  If anyone knows the proper way to = set up this, please let me know.  Hey I am a newbie to the = Chameleon, so if I misunderstood anything,  just let me know = :)

Any help would be greatly = appreciated.

Thanks in advance,

Stephanie 

------_=_NextPart_001_01C4231B.477DEA60-- From Stephanie.Choi@ec.gc.ca Fri Apr 16 11:48:26 2004 Received: from mgtserver3.tor.ec.gc.ca (ecdow130.tor.ec.gc.ca [199.212.19.130]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3GFmLfe008722 for ; Fri, 16 Apr 2004 11:48:21 -0400 content-class: urn:content-classes:message Subject: RE: [Chameleon] Problem in preview widget Date: Fri, 16 Apr 2004 11:48:20 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C423CA.3DFC12B4" Message-ID: <9B09D75DF5B3494BA06E6FE478CE9CC1490841@mgtserver3.ontario.int.ec.gc.ca> X-MS-Has-Attach: X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 X-MS-TNEF-Correlator: Thread-Topic: [Chameleon] Problem in preview widget Thread-Index: AcQjwuRM/WWhh2xjQaqcX51TVL3A/QAB0CqA From: "Choi,Stephanie [Ontario]" To: X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: stephanie.choi@ec.gc.ca X-Mailman-Approved-At: Fri, 16 Apr 2004 12:43:53 -0400 X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2004 15:48:27 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C423CA.3DFC12B4 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Please ignore this. Thanks! -----Original Message----- From: Choi,Stephanie [Ontario]=20 Sent: Thursday, April 15, 2004 2:56 PM To: chameleon@lists.maptools.org Subject: [Chameleon] Problem in preview widget =09 =09 Hi all,=20 I got a question about the preview widget. I am working with Chameleon 1.0 and Mapserver-dev version which is the latest one I got from cvs. And when I includes legend to be displayed in the preview, it shows the default icons which is the "?" instead of the symbols that I set to them. I understand that in Chameleon 1.0, it uses a context file to create an updated mapfile whenever a change is made to the application. And I found out that those legend icons are created from the legendurls which are included in the context file within each style block. Therefore, I made the following test context file for testing the creation of legend icons in preview: =20 "> =20 =20 =20 =20 =20 Here is the corresponding mapfile that generated by Chameleon:=20 MAP=20 EXTENT -2594561.35333333 -712631 3467361.35333333 3840000=20 FONTSET "/var/www/html/cwc2/etc/fonts.txt"=20 IMAGECOLOR 255 255 255=20 IMAGETYPE png=20 RESOLUTION 90.714286=20 SYMBOLSET "/var/www/html/cwc2/etc/symbols.sym"=20 SIZE 400 300=20 STATUS ON=20 TRANSPARENT TRUE=20 UNITS METERS=20 NAME "envirodat_wms"=20 OUTPUTFORMAT=20 NAME png=20 MIMETYPE image/png=20 DRIVER GD/PNG=20 EXTENSION png=20 IMAGEMODE PC256=20 TRANSPARENT TRUE=20 END=20 PROJECTION=20 "init=3Depsg:42304"=20 END=20 LEGEND=20 IMAGECOLOR 255 255 255=20 KEYSIZE 18 12=20 KEYSPACING 5 5=20 LABEL=20 SIZE MEDIUM=20 TYPE BITMAP=20 BUFFER 0=20 COLOR 0 0 89=20 FORCE FALSE=20 MINDISTANCE -1=20 MINFEATURESIZE -1=20 OFFSET 0 0=20 PARTIALS TRUE=20 END=20 POSITION LL=20 STATUS ON=20 TEMPLATE "legend_template.html"=20 END=20 QUERYMAP=20 COLOR 255 0 0=20 SIZE -1 -1=20 STATUS OFF=20 STYLE HILITE=20 END=20 REFERENCE=20 COLOR -1 -1 -1=20 EXTENT -1 -1 -1 -1=20 IMAGE "./images/keymap.png"=20 OUTLINECOLOR 255 0 0=20 SIZE 120 90=20 STATUS ON=20 MARKER 0=20 MARKERSIZE 0=20 MINBOXSIZE 3=20 MAXBOXSIZE 0=20 END=20 SCALEBAR=20 BACKGROUNDCOLOR 0 0 0=20 COLOR 255 255 255=20 IMAGECOLOR 255 255 255=20 INTERVALS 5=20 LABEL=20 SIZE SMALL=20 TYPE BITMAP=20 BUFFER 0=20 COLOR 0 0 0=20 FORCE FALSE=20 MINDISTANCE -1=20 MINFEATURESIZE -1=20 OFFSET 0 0=20 PARTIALS TRUE=20 POSITION CR=20 END=20 OUTLINECOLOR 0 0 0=20 POSITION LL=20 SIZE 300 5=20 STATUS ON=20 STYLE 0=20 TRANSPARENT TRUE=20 UNITS KILOMETERS=20 END=20 WEB=20 IMAGEPATH "/var/www/html/cwc2/tmp/images/"=20 IMAGEURL "/image_tmp/"=20 LOG "error.log"=20 METADATA=20 "original_projection" "init=3Depsg:42304"=20 "wms_connectiontimeout" "3000"=20 "original_extents" "-2200000,-712631,3072800,3840000"=20 "wms_context_version" "1.0.0"=20 "wms_title" "WMS Demo"=20 END=20 QUERYFORMAT text/html=20 END=20 LAYER=20 CONNECTION "http://localhost/cgi-bin/wms? "=20 CONNECTIONTYPE WMS=20 METADATA=20 "wms_srs" "EPSG:42304 EPSG:42101 EPSG:4269 EPSG:4326 EPSG:42304"=20 "wms_onlineresource" "http://localhsot/cgi-bin/wms? "=20 "wms_style_avn_legendurl_width" "18"=20 "wms_name" "Aviation_Surface_Weather_Network"=20 "wms_style_avn_title" "avn"=20 "wms_style_avn_legendurl_format" "image/png"=20 "wms_style_avn_legendurl_height" "12"=20 "wms_formatlist" "image/png,image/jpeg,image/wbmp"=20 "wms_format" "image/png"=20 "LEGEND_ORDER" "0"=20 "wms_style_avn_legendurl_href" "http://localhost/cgi-bin/wms?version=3D1.1.1&request=3DGetLegendGraphic&= Lay er=3DAviation_Surface_Weather_Network&format=3Dimage%2Fpng&simple=3Dtrue = " "wms_server_version" "1.1.1"=20 "wms_stylelist" "avn"=20 "wms_style" "avn"=20 "wms_title" "Aviation_Surface_Weather_Network"=20 END=20 NAME "l0:Aviation_Surface_Weather_Network"=20 SIZEUNITS PIXELS=20 STATUS ON=20 TOLERANCE 0=20 TOLERANCEUNITS PIXELS=20 TYPE RASTER=20 UNITS METERS=20 END=20 END=20 However, when I starts Chameleon 1.0 with this context file, I got the following error and the map image doesn't generate at all: "msWMSLoadGetMapParams (): Invalid style ((null)) Mapserver supports only default styles and is expecting an empty string for the STYLES: or STYLES=3D,,,," Does anyone have any idea on this problem ? I guess I am missing something or messing up something in the mapfile or context file. If anyone knows the proper way to set up this, please let me know. Hey I am a newbie to the Chameleon, so if I misunderstood anything, just let me know :) Any help would be greatly appreciated.=20 Thanks in advance,=20 Stephanie =20 ------_=_NextPart_001_01C423CA.3DFC12B4 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message
Please=20 ignore this.  Thanks!
-----Original Message-----
From: = Choi,Stephanie=20 [Ontario]
Sent: Thursday, April 15, 2004 2:56 = PM
To:=20 chameleon@lists.maptools.org
Subject: [Chameleon] Problem in = preview=20 widget

Hi all,

I got a question about the preview = widget.  I=20 am working with Chameleon 1.0 and Mapserver-dev version which is the = latest=20 one I got from cvs.  And when I includes legend to be displayed = in the=20 preview, it shows the default icons which is the "?" instead of the = symbols=20 that I set to them.  I understand that in Chameleon 1.0, it uses = a=20 context file to create an updated mapfile whenever a change is made to = the=20 application.  And I found out that those legend icons are created = from=20 the legendurls which are included in the context file within each = style=20 block.  Therefore, I made the following test context file for = testing the=20 creation of legend icons in preview:

<?xml version=3D'1.0' = encoding=3D"ISO-8859-1"=20 standalone=3D"no" ?>
<ViewContext=20 version=3D"1.0.0" id=3D"envirodat_wms" xmlns:xsi=3D"http://www.w3.org/2001= /XMLSchema-instance"=20 xmlns:xlink=3D"http://www.w3.org/1999/xlink"=20 xmlns=3D"http://www.opengis.net/context"=20 xsi:schemaLocation=3D"http://www.opengis.net/context=20 http://schemas.opengis.net/context/1.0.0/context.xsd<= /A>">

  <!-- LayerList of Layer = elements=20
       - = implied=20 order: bottom To Top
       first Layer element is = bottom most=20 layer in map view
       last Layer elements is = op most=20 layer in map view
  = -->=20
  <LayerList> =
    <Layer queryable=3D"0"=20 hidden=3D"0">
      <Server service=3D"WMS" = version=3D"1.1.1"=20 title=3D"Aviation_Surface_Weather_Network">
        <OnlineResource = xlink:type=3D"simple" xlink:href=3D"http://localhost/cgi-bin/wms
?"/= >=20
     =20 </Server>
     =20 <Name>Aviation_Surface_Weather_Network</Name> =
     =20 <Title>Aviation_Surface_Weather_Network</Title> =
      = <SRS>EPSG:42304=20 EPSG:42101 EPSG:4269 EPSG:4326 EPSG:42304</SRS>
      = <FormatList>=20
       =20 <Format current=3D"1">image/png</Format>
       =20 <Format>image/jpeg</Format>
       =20 <Format>image/wbmp</Format>
      </FormatList> =
      = <StyleList>=20
       =20 <Style current=3D"1">
         =20 <Name>avn</Name>
         =20 <Title>avn</Title>
          = <LegendURL=20 width=3D"18" height=3D"12" format=3D"image/png">
          &nbs= p;=20 <OnlineResource xlink:type=3D"simple" xlink:href=3D"http://localhost/cgi-bin/wms?version=3D1.1.1&a= mp;request=3DGetLegendGraphic&Layer=3DAviation_Surface_Weather_Networ= k&format=3Dimage%2Fpng&simple=3Dtrue"/>

         =20 </LegendURL>
        = </Style>=20
     =20 </StyleList>
   =20 </Layer>
 =20 </LayerList>
</ViewContext>

Here is the corresponding mapfile that = generated by=20 Chameleon:

MAP
 =20 EXTENT -2594561.35333333 -712631 3467361.35333333 3840000 =
  FONTSET = "/var/www/html/cwc2/etc/fonts.txt"=20
  IMAGECOLOR 255 255 255 =
  IMAGETYPE png
  RESOLUTION 90.714286
 =20 SYMBOLSET "/var/www/html/cwc2/etc/symbols.sym"
  SIZE 400 300
  STATUS=20 ON
  TRANSPARENT = TRUE
  UNITS METERS
  NAME "envirodat_wms"

  OUTPUTFORMAT
    NAME png
    MIMETYPE image/png
    DRIVER GD/PNG
    EXTENSION png
    IMAGEMODE PC256
    TRANSPARENT TRUE
  END

  PROJECTION
    "init=3Depsg:42304"
  END
  = LEGEND=20
      = IMAGECOLOR 255 255=20 255
    KEYSIZE = 18 12=20
    KEYSPACING 5 = 5
    LABEL
      SIZE MEDIUM
      TYPE BITMAP
      BUFFER 0
      COLOR 0 0 89
      FORCE FALSE
      MINDISTANCE -1 =
      MINFEATURESIZE = -1=20
      OFFSET = 0 0=20
      = PARTIALS=20 TRUE
    = END=20
    POSITION LL =
    STATUS ON
    TEMPLATE "legend_template.html" =
  END

  QUERYMAP
      COLOR 255 0 0
    SIZE -1 -1
    STATUS OFF
    STYLE HILITE
  END

  REFERENCE
    COLOR -1 -1 -1
    EXTENT -1 -1 -1 -1
    IMAGE "./images/keymap.png" =
    OUTLINECOLOR 255 0 0 =
    SIZE 120 90
    STATUS ON
      MARKER 0
      MARKERSIZE 0
      MINBOXSIZE 3
      MAXBOXSIZE 0
  END

  SCALEBAR
      BACKGROUNDCOLOR 0 0 0 =
      COLOR 255 255 = 255=20
    IMAGECOLOR 255 255 = 255=20
    INTERVALS 5 =
    LABEL
      SIZE SMALL
      TYPE BITMAP
      BUFFER 0
      COLOR 0 0 0
      FORCE FALSE
      MINDISTANCE -1 =
      MINFEATURESIZE = -1=20
      OFFSET = 0 0=20
      = PARTIALS=20 TRUE
     =20 POSITION CR
    = END=20
      = OUTLINECOLOR 0 0=20 0
    POSITION = LL=20
    SIZE 300 5 =
    STATUS ON
    STYLE 0
    TRANSPARENT TRUE
    UNITS KILOMETERS
  END

  WEB
    IMAGEPATH = "/var/www/html/cwc2/tmp/images/"=20
    IMAGEURL = "/image_tmp/"=20
    LOG = "error.log"=20
      = METADATA=20
       =20 "original_projection"   "init=3Depsg:42304"
       =20 "wms_connectiontimeout" "3000"
       =20 "original_extents"     =20 "-2200000,-712631,3072800,3840000"
       =20 "wms_context_version"   "1.0.0"
       =20 "wms_title"     "WMS Demo"
      END
    QUERYFORMAT text/html
  END

  LAYER
    CONNECTION "http://localhost/cgi-bin/wms?"
    = CONNECTIONTYPE=20 WMS
     =20 METADATA
       =20 "wms_srs"       "EPSG:42304 EPSG:42101 = EPSG:4269=20 EPSG:4326 EPSG:42304"
       =20 "wms_onlineresource"    "http://localhsot/cgi-bin/wms?"
       =20 "wms_style_avn_legendurl_width" "18"
       =20 "wms_name"     =20 "Aviation_Surface_Weather_Network"
       =20 "wms_style_avn_title"   "avn"
       =20 = "wms_style_avn_legendurl_format"       = ;=20 "image/png"
       =20 = "wms_style_avn_legendurl_height"       = ;=20 "12"
       =20 "wms_formatlist"       =20 "image/png,image/jpeg,image/wbmp"
       =20 "wms_format"    "image/png"
        = "LEGEND_ORDER" =20 "0"
       =20 "wms_style_avn_legendurl_href"  "http://localhost/cgi-bin/wms?version=3D1.1.1&request=3DGetLe= gendGraphic&Layer=3DAviation_Surface_Weather_Network&format=3Dima= ge%2Fpng&simple=3Dtrue"

       =20 "wms_server_version"    "1.1.1"
        "wms_stylelist" = "avn"=20
       =20 "wms_style"     "avn"
       =20 "wms_title"     = "Aviation_Surface_Weather_Network"=20
      = END=20
    NAME=20 "l0:Aviation_Surface_Weather_Network"
    SIZEUNITS PIXELS
    STATUS ON
    TOLERANCE 0
    TOLERANCEUNITS PIXELS
    TYPE RASTER
    UNITS METERS
  END

END

However, when I starts Chameleon 1.0 = with this=20 context file, I got the following error and the map image doesn't = generate at=20 all:

"msWMSLoadGetMapParams (): Invalid = style ((null))=20 Mapserver supports only default styles and is expecting an empty = string for=20 the STYLES: or STYLES=3D,,,,"

Does anyone have any idea on this = problem ?  I=20 guess I am missing something or messing up something in the mapfile or = context=20 file.  If anyone knows the proper way to set up this, please let = me=20 know.  Hey I am a newbie to the Chameleon, so if I misunderstood=20 anything,  just let me know :)

Any help would be greatly = appreciated.

Thanks in advance,

Stephanie =20

=00 ------_=_NextPart_001_01C423CA.3DFC12B4-- From thowlett@whistlermuseum.org Sat Apr 17 16:26:05 2004 Received: from smtp1000.radiant.net (smtp.radiant.net [216.21.149.209]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i3HKPwov018184 for ; Sat, 17 Apr 2004 16:25:58 -0400 Message-Id: <200404172025.i3HKPwov018184@www.maptools.org> Received: (qmail 23765 invoked from network); 17 Apr 2004 20:09:54 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp.radiant.net with SMTP; 17 Apr 2004 20:09:54 -0000 From: "Tracy Howlett" To: Subject: RE: [Chameleon] Problem in Print widget Date: Sat, 17 Apr 2004 13:25:51 -0700 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcQjtxh8iJSPbulaQf+bGi4X3AMiCQBAGyzw In-Reply-To: <407FDFAD.1050008@magma.ca> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: thowlett@whistlermuseum.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: thowlett@whistlermuseum.org List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Apr 2004 20:26:06 -0000 Hello All, My application is pretty much finished now but I do have a couple of tweaks I'd like to get done. My query tool works well but in my query results I always get these three additional fields: SHAPE_INDEX; TILE_INDEX; LAYER_INDEX I'd like to suppress this information as it means nothing to the user. In order to try and streamline my query results all of my shapefiles contain only the following fields: FID; Shape; Name; Detail I've dug around and I think that the table is being written out in the QueryResults.phtml file. I see a number of arrays in there which I assume are populated with my layers and the fields for each layer. Could someone give me some hint as to how I can tell the array to ignore the above named fields??? The part I can't figure out is how the names of the fields are being changed from FID in my shapefile to SHAPE_INDEX in the results. Is there a file I'm missing which includes this name switch? Any help would be appreciated. I'm guessing that I'm not the only person who'd like to have these ID fields be invisible! Cheers! Tracy From thowlett@whistlermuseum.org Sat Apr 17 16:28:16 2004 Received: from smtp1000.radiant.net (smtp.radiant.net [216.21.149.209]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i3HKS9ov018267 for ; Sat, 17 Apr 2004 16:28:09 -0400 Message-Id: <200404172028.i3HKS9ov018267@www.maptools.org> Received: (qmail 24043 invoked from network); 17 Apr 2004 20:12:06 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp.radiant.net with SMTP; 17 Apr 2004 20:12:06 -0000 From: "Tracy Howlett" To: Date: Sat, 17 Apr 2004 13:28:03 -0700 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0000_01C4247F.CF67A820" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcQjEa/WcnDlsD6BTtOsCygOSkBSeQBqJz5w In-Reply-To: <200404151747.i3FHlbfe032756@www.maptools.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: thowlett@whistlermuseum.org Subject: [Chameleon] Printouts X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: thowlett@whistlermuseum.org List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Apr 2004 20:28:17 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0000_01C4247F.CF67A820 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, Has anyone figured out how to customize the printout results from the print tool? The legend is always drawn on top of the map which is useless!! I've fiddled around with it but I can't figure out how to stop the items on the page from overlapping each other. Any ideas? Tracy _____ From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Juan Martinez Sent: Thursday, April 15, 2004 10:47 AM To: chameleon@lists.maptools.org Subject: [Chameleon] php_dbase.dll Hello, I installed Chameleon(chameleon-1.1alpha) under Redhat Enterprise. I have also installed PHP (working as a CGI) and Mapserver. Php and Mapserver work but, when I try to access http://localhost/chameleon/chameleon_sample/htdocs/index.phtml I get the following output: Warning: dl(): Unable to load dynamic library '/usr/local/lib/php/extensions/php_dbase.dll' - /usr/local/lib/php/extensions/php_dbase.dll: cannot open shared object file: No such file or directory in /opt/chameleon/htdocs/common/mlt/mlt.php on line 245 Warning: dl(): Unable to load dynamic library '/usr/local/lib/php/extensions/php_dbase.dll' - /usr/local/lib/php/extensions/php_dbase.dll: cannot open shared object file: No such file or directory in /opt/chameleon/htdocs/common/mlt/mlt.php on line 245 I compiled PHP4 with -enable-dbase but there are no php_dbase.dll or php_dbase.so files. I have also installed cwc2-1.0.6 and when I run test.php or demo.php I get a blank page (source code is: ) If I embed a echo "hello" inside the php script, the output displays that message. anybody knows how to solve this problem? Thanks, Juan ------=_NextPart_000_0000_01C4247F.CF67A820 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

Has anyone figured out how to = customize the printout results from the print tool?  The legend is always = drawn on top of the map which is useless!!  I’ve fiddled around with it but I = can’t figure out how to stop the items on the page from overlapping each = other.

 

Any = ideas?

 

Tracy

=

 


From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Juan Martinez
Sent: Thursday, April 15, = 2004 10:47 AM
To: = chameleon@lists.maptools.org
Subject: [Chameleon] = php_dbase.dll

 

Hello,

 

I installed = Chameleon(chameleon-1.1alpha) under Redhat = Enterprise. I have also installed PHP (working as a CGI) and Mapserver. Php and Mapserver = work but, when I try to access h= ttp://localhost/chameleon/chameleon_sample/htdocs/index.phtml I get the following output:

 

Warning: dl(): Unable to load dynamic = library '/usr/local/lib/php/extensions/php_dbase.dll' - /usr/local/lib/php/extensions/php_dbase.dll: cannot open shared object = file: No such file or directory in /opt/chameleon/htdocs/common/mlt/mlt.php on line 245

Warning: dl(): Unable to = load dynamic library '/usr/local/lib/php/extensions/php_dbase.dll' - /usr/local/lib/php/extensions/php_dbase.dll: cannot open shared object = file: No such file or directory in /opt/chameleon/htdocs/common/mlt/mlt.php on line 245

 

I compiled PHP4 with –enable-dbase but there are no = php_dbase.dll or php_dbase.so files.

 

I have also installed cwc2-1.0.6 and when I run test.php = or demo.php I get a blank page (source code is: <!DOCTYPE HTML PUBLIC "-//W3C//DTD = HTML 4.0 Transitional//EN"><HTML><HEAD><META http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"></HEAD><BODY></BODY></HTML&= gt;)

 

If I embed a echo “hello” inside the php script, the = output displays that message.

 

anybody knows how to solve this = problem?

 

Thanks,

 

Juan

------=_NextPart_000_0000_01C4247F.CF67A820-- From thowlett@whistlermuseum.org Sat Apr 17 16:29:37 2004 Received: from smtp1000.radiant.net (smtp.radiant.net [216.21.149.209]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i3HKTVov018339 for ; Sat, 17 Apr 2004 16:29:31 -0400 Message-Id: <200404172029.i3HKTVov018339@www.maptools.org> Received: (qmail 24212 invoked from network); 17 Apr 2004 20:13:27 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp.radiant.net with SMTP; 17 Apr 2004 20:13:27 -0000 From: "Tracy Howlett" To: Date: Sat, 17 Apr 2004 13:29:24 -0700 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcQjtxh8iJSPbulaQf+bGi4X3AMiCQBAGyzwAADB6HA= In-Reply-To: <200404172025.i3HKPwov018184@www.maptools.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: thowlett@whistlermuseum.org Subject: [Chameleon] Custom Query Results X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: thowlett@whistlermuseum.org List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Apr 2004 20:29:37 -0000 > Pardon the duplicate post - just wanted to make sure the subject heading wasn't misleading! Hello All, My application is pretty much finished now but I do have a couple of tweaks I'd like to get done. My query tool works well but in my query results I always get these three additional fields: SHAPE_INDEX; TILE_INDEX; LAYER_INDEX I'd like to suppress this information as it means nothing to the user. In order to try and streamline my query results all of my shapefiles contain only the following fields: FID; Shape; Name; Detail I've dug around and I think that the table is being written out in the QueryResults.phtml file. I see a number of arrays in there which I assume are populated with my layers and the fields for each layer. Could someone give me some hint as to how I can tell the array to ignore the above named fields??? The part I can't figure out is how the names of the fields are being changed from FID in my shapefile to SHAPE_INDEX in the results. Is there a file I'm missing which includes this name switch? Any help would be appreciated. I'm guessing that I'm not the only person who'd like to have these ID fields be invisible! Cheers! Tracy _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From jacob.delfos@maunsell.com Sun Apr 18 21:10:07 2004 Received: from aumel1gw002.maunsell.com (210-193-148-152.macquarie.net.au [210.193.148.152] (may be forged)) by www.maptools.org (8.12.5/8.12.5) with SMTP id i3J19ufZ031505 for ; Sun, 18 Apr 2004 21:09:57 -0400 Received: from aumel1ex001.mel.maunsell.com.au ([172.21.0.15]) by aumel1gw002.maunsell.com (SAVSMTP 3.1.0.29) with SMTP id M2004041911121616692 ; Mon, 19 Apr 2004 11:12:16 +1000 Received: by aumel1ex001.mel.maunsell.com.au with Internet Mail Service (5.5.2653.19) id <2KHRM7G3>; Mon, 19 Apr 2004 11:11:28 +1000 Message-ID: From: "Delfos, Jacob" To: "'thowlett@whistlermuseum.org'" , chameleon@lists.maptools.org Subject: RE: [Chameleon] Printouts Date: Mon, 19 Apr 2004 11:14:57 +1000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C425AB.BA79DB40" X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: jacob.delfos@maunsell.com Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2004 01:10:07 -0000 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C425AB.BA79DB40 Content-Type: text/plain Hi Tracy, I can't really give a direct solution to your questions, as for some reason I never got the print tool to work. But I created a solution myself, based on 'draggable' layers. Maybe you, or whomever made the actual print tool, can incorporate such an idea into the print tool. By making it draggable, a user can move any part of the map, e.g. legend or maybe northarrow, to a part where overlap doesn't matter. (see http://spatial.hgm.com.au/cwcroe7/cwc2.php , drag the legend in either the layout or the actual page by clicking near the edges and holding down the mouse-button) Only problem I had with it is that when it's printed, the layer loses its opaque background. regards, Jacob -----Original Message----- From: Tracy Howlett [mailto:thowlett@whistlermuseum.org] Sent: Sunday, 18 April 2004 4:28 AM To: chameleon@lists.maptools.org Subject: [Chameleon] Printouts Hi, Has anyone figured out how to customize the printout results from the print tool? The legend is always drawn on top of the map which is useless!! I've fiddled around with it but I can't figure out how to stop the items on the page from overlapping each other. Any ideas? Tracy _____ From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Juan Martinez Sent: Thursday, April 15, 2004 10:47 AM To: chameleon@lists.maptools.org Subject: [Chameleon] php_dbase.dll Hello, I installed Chameleon(chameleon-1.1alpha) under Redhat Enterprise. I have also installed PHP (working as a CGI) and Mapserver. Php and Mapserver work but, when I try to access http://localhost/chameleon/chameleon_sample/htdocs/index.phtml I get the following output: Warning: dl(): Unable to load dynamic library '/usr/local/lib/php/extensions/php_dbase.dll' - /usr/local/lib/php/extensions/php_dbase.dll: cannot open shared object file: No such file or directory in /opt/chameleon/htdocs/common/mlt/mlt.php on line 245 Warning: dl(): Unable to load dynamic library '/usr/local/lib/php/extensions/php_dbase.dll' - /usr/local/lib/php/extensions/php_dbase.dll: cannot open shared object file: No such file or directory in /opt/chameleon/htdocs/common/mlt/mlt.php on line 245 I compiled PHP4 with -enable-dbase but there are no php_dbase.dll or php_dbase.so files. I have also installed cwc2-1.0.6 and when I run test.php or demo.php I get a blank page (source code is: ) If I embed a echo "hello" inside the php script, the output displays that message. anybody knows how to solve this problem? Thanks, Juan ------_=_NextPart_001_01C425AB.BA79DB40 Content-Type: text/html Message
Hi Tracy,
 
I can't really give a direct solution to your questions, as for some reason I never got the print tool to work. But I created a solution myself, based on 'draggable' layers. Maybe you, or whomever made the actual print tool, can incorporate such an idea into the print tool. By making it draggable, a user can move any part of the map, e.g. legend or maybe northarrow, to a part where overlap doesn't matter. (see http://spatial.hgm.com.au/cwcroe7/cwc2.php , drag the legend in either the layout or the actual page by clicking near the edges and holding down the mouse-button)
Only problem I had with it is that when it's printed, the layer loses its opaque background.
 
regards,
 
Jacob
 
 
 
-----Original Message-----
From: Tracy Howlett [mailto:thowlett@whistlermuseum.org]
Sent: Sunday, 18 April 2004 4:28 AM
To: chameleon@lists.maptools.org
Subject: [Chameleon] Printouts

Hi,

 

Has anyone figured out how to customize the printout results from the print tool?  The legend is always drawn on top of the map which is useless!!  I've fiddled around with it but I can't figure out how to stop the items on the page from overlapping each other.

 

Any ideas?

 

Tracy

 


From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Juan Martinez
Sent: Thursday, April 15, 2004 10:47 AM
To: chameleon@lists.maptools.org
Subject: [Chameleon] php_dbase.dll

 

Hello,

 

I installed Chameleon(chameleon-1.1alpha) under Redhat Enterprise. I have also installed PHP (working as a CGI) and Mapserver. Php and Mapserver work but, when I try to access http://localhost/chameleon/chameleon_sample/htdocs/index.phtml I get the following output:

 

Warning: dl(): Unable to load dynamic library '/usr/local/lib/php/extensions/php_dbase.dll' - /usr/local/lib/php/extensions/php_dbase.dll: cannot open shared object file: No such file or directory in /opt/chameleon/htdocs/common/mlt/mlt.php on line 245

Warning: dl(): Unable to load dynamic library '/usr/local/lib/php/extensions/php_dbase.dll' - /usr/local/lib/php/extensions/php_dbase.dll: cannot open shared object file: No such file or directory in /opt/chameleon/htdocs/common/mlt/mlt.php on line 245

 

I compiled PHP4 with -enable-dbase but there are no php_dbase.dll or php_dbase.so files.

 

I have also installed cwc2-1.0.6 and when I run test.php or demo.php I get a blank page (source code is: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><META http-equiv=Content-Type content="text/html; charset=utf-8"></HEAD><BODY></BODY></HTML>)

 

If I embed a echo "hello" inside the php script, the output displays that message.

 

anybody knows how to solve this problem?

 

Thanks,

 

Juan

------_=_NextPart_001_01C425AB.BA79DB40-- From ken@rockies.ca Mon Apr 19 16:50:01 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3JKnsG1006615 for ; Mon, 19 Apr 2004 16:49:54 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id zhameaaa for chameleon@lists.maptools.org; Mon, 19 Apr 2004 14:44:13 -0600 From: "Ken Sanderson" To: Date: Mon, 19 Apr 2004 14:55:28 -0600 Message-ID: <00fa01c42650$a81b3110$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 In-Reply-To: <4072EDD6.3020709@dmsolutions.ca> Importance: Normal X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: ken@rockies.ca Subject: [Chameleon] Yet another startup question X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2004 20:50:01 -0000 Hello, I have been slowly working my way through a chameleon install. I have a Wiki install guide for 1.0.x on IIS/2000 that's fairly helpful, and a print of a handful of messages from this list to guide me on my way for 1.1. A question I am still debating is what chameleon to install 1.0.x or 1.1. >From what I have read if I am using a map file/local data I should be installing 1.1, however if I am working with WMS 1.0.x. What if I am working with both? I have some local data and I have other data I want to pull in as WMS from remote sites. Do I install both, or just 1.1? I could just serve up my local data as a WMS layer instead of accessing via a .map file if that makes life easier? Comments/Suggestions welcome. Thanks, Ken From bartvde@xs4all.nl Mon Apr 19 17:01:06 2004 Received: from smtp-out1.xs4all.nl (smtp-out1.xs4all.nl [194.109.24.11]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3JL0xG1006764 for ; Mon, 19 Apr 2004 17:00:59 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out1.xs4all.nl (8.12.10/8.12.10) with ESMTP id i3JL0nfg035390; Mon, 19 Apr 2004 23:00:50 +0200 (CEST) To: Ken Sanderson , chameleon@lists.maptools.org Subject: Re: [Chameleon] Yet another startup question References: <00fa01c42650$a81b3110$31289f88@GLADSTONE> Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Mon, 19 Apr 2004 22:59:42 +0200 In-Reply-To: <00fa01c42650$a81b3110$31289f88@GLADSTONE> User-Agent: Opera7.23/Win32 M2 build 3227 X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: bartvde@xs4all.nl List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2004 21:01:07 -0000 Hi Ken, the way to go is 1.1 instead of 1.0. 1.1 has had several design improvements coming from 1.0 (service instance approach in 1.0 versus application based approach in 1.1). But soon 1.99 is gonna be released, so if you have some time stick around and wait for that one instead. 1.1 can work both with MAP files and Web Map Context documents, but normally I end up using MAP files with CONNECTIONTYPE WMS layers. This is pure a configuration type of choice, as you can always load a context document into your application at runtime. So what I do is serve my local data through WMS like you suggest. Hope this helps. Best regards, Bart On Mon, 19 Apr 2004 14:55:28 -0600, Ken Sanderson wrote: > Hello, > > I have been slowly working my way through a chameleon install. I have a > Wiki install guide for 1.0.x on IIS/2000 that's fairly helpful, and a > print of a handful of messages from this list to guide me on my way for > 1.1. A question I am still debating is what chameleon to install 1.0.x > or 1.1. > >> From what I have read if I am using a map file/local data I should be > installing 1.1, however if I am working with WMS 1.0.x. What if I am > working with both? I have some local data and I have other data I want > to pull in as WMS from remote sites. Do I install both, or just 1.1? I > could just serve up my local data as a WMS layer instead of accessing > via a .map file if that makes life easier? > > Comments/Suggestions welcome. > > Thanks, > > Ken > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- From pagameba@magma.ca Tue Apr 20 16:09:06 2004 Received: from ottawa.interneqc.com (209-87-233-98.storm.ca [209.87.233.98]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3KK8vcx015493 for ; Tue, 20 Apr 2004 16:08:58 -0400 Received: from magma.ca (ottawa.interneqc.com [127.0.0.1]) by ottawa.interneqc.com (8.11.6/8.11.6) with ESMTP id i3KKKkL20778; Tue, 20 Apr 2004 16:20:46 -0400 Message-ID: <4085834A.1080600@magma.ca> Date: Tue, 20 Apr 2004 16:08:42 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: thowlett@whistlermuseum.org Subject: Re: [Chameleon] Custom Query Results References: <200404172029.i3HKTVov018339@www.maptools.org> In-Reply-To: <200404172029.i3HKTVov018339@www.maptools.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2004 20:09:06 -0000 Tracy, I think that the important part of QueryResults.phtml starts around line 376 (in my version which is the latest from CVS) and looks like this: // loop and use key for titles foreach ($aRows[0] as $key => $value) { $szReturnValue .= "

".$key."

\n"; } $szReturnValue .= "\n"; // loop through the results and format each row foreach ( $aRows as $aRow ) { // add a row for each $szReturnValue .= "\n"; // loop and add a cell for each result foreach ( $aRow as $xCell ) { $szReturnValue .= "

". $xCell."

\n"; } $szReturnValue .= "\n"; } I think you want to put something like this: // loop and use key for titles foreach ($aRows[0] as $key => $value) { if (strcasecmp($key, "SHAPE_INDEX") == 0 || strcasecmp($key, "TILE_INDEX") == 0 || strcasecmp($key, "LAYER_INDEX") == 0) continue; $szReturnValue .= "

".$key."

\n"; } $szReturnValue .= "\n"; // loop through the results and format each row foreach ( $aRows as $aRow ) { // add a row for each $szReturnValue .= "\n"; // loop and add a cell for each result foreach ( $aRow as $key => $xCell ) { if (strcasecmp($key, "SHAPE_INDEX") == 0 || strcasecmp($key, "TILE_INDEX") == 0 || strcasecmp($key, "LAYER_INDEX") == 0) continue; $szReturnValue .= "

". $xCell."

\n"; } $szReturnValue .= "\n"; } I just tried this and it seems to work. Alternately you could invert the logic and restrict the query results to exactly what you do want ... // loop and use key for titles foreach ($aRows[0] as $key => $value)FID; Shape; Name; Detail { if (strcasecmp($key, "FID") != 0 || strcasecmp($key, "Shape") != 0 || strcasecmp($key, "Name") != 0 || strcasecmp($key, "Detail") != 0) { $szReturnValue .= "

".$key."

\n"; } } $szReturnValue .= "\n"; // loop through the results and format each row foreach ( $aRows as $aRow ) { // add a row for each $szReturnValue .= "\n"; // loop and add a cell for each result foreach ( $aRow as $key => $xCell ) { if (strcasecmp($key, "FID") != 0 || strcasecmp($key, "Shape") != 0 || strcasecmp($key, "Name") != 0 || strcasecmp($key, "Detail") != 0) { $szReturnValue .= "

". $xCell."

\n"; } } $szReturnValue .= "\n"; } Cheers, Paul Tracy Howlett wrote: >>Pardon the duplicate post - just wanted to make sure the subject heading > > wasn't misleading! > > Hello All, > > My application is pretty much finished now but I do have a couple of tweaks > I'd like to get done. > > My query tool works well but in my query results I always get these three > additional fields: > > SHAPE_INDEX; TILE_INDEX; LAYER_INDEX > > I'd like to suppress this information as it means nothing to the user. In > order to try and streamline my query results all of my shapefiles contain > only the following fields: > > FID; Shape; Name; Detail > > I've dug around and I think that the table is being written out in the > QueryResults.phtml file. I see a number of arrays in there which I assume > are populated with my layers and the fields for each layer. Could someone > give me some hint as to how I can tell the array to ignore the above named > fields??? The part I can't figure out is how the names of the fields are > being changed from FID in my shapefile to SHAPE_INDEX in the results. Is > there a file I'm missing which includes this name switch? > > Any help would be appreciated. I'm guessing that I'm not the only person > who'd like to have these ID fields be invisible! > > Cheers! > > Tracy > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From dave.mitchell@newgrove.com Wed Apr 21 06:18:46 2004 Received: from mail.di-hosting.com (dig-mir01.di-hosting.com [213.161.83.22]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3LAIc88020367 for ; Wed, 21 Apr 2004 06:18:39 -0400 Received: from OPTIPLEXGX270 ([213.161.88.10]) by mail.di-hosting.com (Data Integration Mail Server v4.12b33 (2004)) with ASMTP id JEA74390 for ; Wed, 21 Apr 2004 11:19:09 +0100 From: "Dave Mitchell" To: Date: Wed, 21 Apr 2004 11:19:26 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0018_01C42792.819BDB00" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Importance: Normal X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-DMSolutions-MailScanner-SpamScore: s X-MailScanner-From: dave.mitchell@newgrove.com X-Mailman-Approved-At: Wed, 21 Apr 2004 08:21:01 -0400 Subject: [Chameleon] installation problem (win2K) X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: dave.mitchell@newgrove.com List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Apr 2004 10:18:47 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0018_01C42792.819BDB00 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0019_01C42792.819BDB00" ------=_NextPart_001_0019_01C42792.819BDB00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi, I am trying to install chameleon-1.1alpha-20031031 on Win2000 (I have already succesfully installed maplab, mapserver, Mapscript php_mapscript_4.0.2 and php-4.3.4) When I try to load the chameleon_sample up I get a javascript error Line 504: Object Expected The following line is highlighted in the debugger: gMapWhspc = CWCDHTML_FindObjectPosX( document.getElementById('mapFrameTL')); I have included my xml file and a screenshot. Hope someone can advise me. Best regards, Dave ------=_NextPart_001_0019_01C42792.819BDB00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
I am = trying to=20 install chameleon-1.1alpha-20031031 on Win2000
(I = have already=20 succesfully installed maplab, mapserver, Mapscript php_mapscript_4.0.2=20 and php-4.3.4)
 
When I = try to load=20 the chameleon_sample up I get a javascript error Line 504: Object=20 Expected
The = following line=20 is highlighted in the debugger:
 
 gMapWhspc =3D=20 CWCDHTML_FindObjectPosX(=20 document.getElementById('mapFrameTL'));
 
I have = included my=20 xml file and a screenshot.
 
Hope = someone can=20 advise me.
 
Best=20 regards,
Dave
 
 
------=_NextPart_001_0019_01C42792.819BDB00-- ------=_NextPart_000_0018_01C42792.819BDB00 Content-Type: image/gif; name="problem.gif" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="problem.gif" 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 ------=_NextPart_000_0018_01C42792.819BDB00 Content-Type: text/xml; name="cwc2.xml" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="cwc2.xml" =0A= =0A= cwc2_url=0A= = C:/webmap/chameleon-1.1alpha-20031031/htdocs/=0A= This is the URL that points to the HTDOCS directory = of the local cwc2 installation.=0A= =0A= =0A= =0A= server_data_path=0A= = C:/webmap/chameleon-1.1alpha-20031031/data=0A= This is where cached capabilities and other = information, common to each session, should be. When a user start a new = session, all files from that directory are copied to = user_session_tmp_path=0A= =0A= =0A= =0A= web_server_path=0A= = http://localhost/chameleon/chameleon.php/=0A= This is where chameleon.php script is = located.=0A= =0A= =0A= =0A= ows_schemas_location=0A= http://ogc.dmsolutions.ca=0A= URL pointing to the root of a repository of OGC = schemas. See http://ogc.dmsolutions.ca for an example.=0A= =0A= =0A= =0A= wms_parse_file=0A= = C:/webmap/chameleon-1.1alpha-20031031/htdocs/common/wmsparse= /wmsparse=0A= Full file path to the binary wms parser executable = ('/path/to/wmsparse' on Unix, '/path/to/wmsparse.exe' on Windows). = Leave empty to use the built in PHP parser (slower).=0A= =0A= =0A= =0A= wms_connectiontimeout=0A= 30=0A= Maximum time in seconds that MapServer will wait = for an answer from a WMS server.=0A= =0A= =0A= =0A= allow_upload_context=0A= true=0A= Enable the "Upload map context" feature? (true or = false).=0A= =0A= =0A= =0A= allow_upload_template=0A= true=0A= Allow use of the 'TEMPLATE=3D' parameter when = calling the CWC2 instance to specify any CWC2 HTML template url? (true = or false) If set to false then the value of 'default_template' config = parameter is always used.=0A= =0A= =0A= =0A= cache_template=0A= true=0A= If template come from a remote server = (http://....), the template is download from that remote server and = saved on local server for further loading. For performace, it is = prefered to set this value to "true". If the remote server template is = dynamic, this value should be set to "false" so the template will be = loaded remotely every page load.=0A= =0A= =0A= =0A= validate_template=0A= true=0A= Validate the attributes of each tag in the input = template. This should be set to true for debugging but may be set to = false in a production environment to enhance performance.=0A= =0A= =0A= =0A= default_language=0A= en-CA=0A= Default language specifier. (en-CA or = fr-CA)=0A= =0A= =0A= =0A= default_template=0A= /opt/cwc2/htdocs/geobase_en.html=0A= Default HTML template to use with this CWC2 = instance. Used when TEMPLATE=3D parameter not set, or when = allow_upload_template config parameter is set to false.=0A= =0A= =0A= =0A= invalid_session_template=0A= =0A= Template to display if session is = invalid.=0A= =0A= =0A= =0A= default_context=0A= = C:/webmap/chameleon-1.1alpha-20031031/htdocs/gmap_context.xm= l=0A= Default map context to load when starting this = application=0A= =0A= =0A= =0A= map_template=0A= = C:/webmap/chameleon-1.1alpha-20031031/htdocs/template.map=0A= Default MapServer mapfile template to use when = uploading a context file.=0A= =0A= =0A= =0A= mapscript_module=0A= php_mapscript_4.0.2.dll=0A= Mapscript module name (i.e. php_mapscript_40.dll = for Windows installations or php_mapscript_40.so for Unix = installations).=0A= =0A= =0A= =0A= log_path=0A= C:/tmp/=0A= Directory in which to write log files.=0A= =0A= =0A= =0A= log_error=0A= true=0A= This define if chameleon should log errors in = session. If set to false, no errors will be logged at all.=0A= =0A= =0A= =0A= log_level=0A= LOG_NONE=0A= Control the application runtime logging level. = Must be one of LOG_OFF, LOG_QUIET, LOG_VERBOSE or LOG_ALL.=0A= =0A= =0A= =0A= image_type=0A= PNG=0A= Output image type (eg: PNG, GIF). Must be uppercase. = This image format MUST be supported by your browser and GD (on the = server). Please don't change that value unless you know what you'r = doing.=0A= =0A= =0A= =0A= button_cache_path=0A= C:/temp=0A= Directory in which to write image files generated = for buttons. This directory must be writable by the web server user and = web accessible. For performance reasons, this directory should not be = cleaned out automatically.=0A= =0A= =0A= =0A= button_cache_web_path=0A= /temp=0A= The URL where a browser can find cached button = images.=0A= =0A= =0A= =0A= tmp_web_path=0A= /webmap/addcafweb_basingstoke/tmp/=0A= URL where browser can find temporary files as = context or images=0A= =0A= =0A= =0A= tmp_img_path=0A= c:/webmap/addcafweb_basingstoke/tmp/=0A= Directory where temporary image files are = put.=0A= =0A= =0A= =0A= context_root=0A= /tmp/=0A= Absolute root path to context files. All context = should be in that folder (or sub folder).=0A= =0A= =0A= =0A= context_maxsize=0A= 1000000=0A= This is the context file max size that a CWC2 user = can upload on the server=0A= =0A= =0A= =0A= template_root=0A= /tmp/=0A= Absolute root path to template files. All template = should be in that folder (or sub folder).=0A= =0A= =0A= =0A= fontlist_file=0A= = C:/webmap/chameleon-1.1alpha-20031031/etc/fonts.txt=0A= Path and filename of the font list file used by = MapServer (i.e. /path/to/file/fonts.txt ).=0A= =0A= =0A= =0A= symbol_file=0A= = C:/webmap/chameleon-1.1alpha-20031031/etc/symbols.sym=0A= Path and filename of the symbol file used by = MapServer (i.e. /path/to/file/symbols.sym ).=0A= =0A= =0A= =0A= textbutton_default_font_size=0A= 11=0A= Buttons font size in points=0A= =0A= =0A= =0A= textbutton_default_font_antialiasing=0A= true=0A= Text Button font antialiasing (true or = false)=0A= =0A= =0A= =0A= gd_version=0A= gd2=0A= Version of GD graphic library (gd, = gd2)=0A= =0A= =0A= =0A= freetype_version=0A= ttf=0A= Version of Freetype library used (use "ttf" for = Freetype 1.3 or "freetype" for Freetype 2.x)=0A= =0A= =0A= =0A= execution_timeout=0A= 120=0A= The amount of time in seconds to allow PHP to = process a PHP page. This includes (for now) the time required to draw = remote WMS layers which can be lengthy.=0A= =0A= =0A= =0A= ------=_NextPart_000_0018_01C42792.819BDB00-- From pagameba@magma.ca Wed Apr 21 08:46:51 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3LCkf88021473 for ; Wed, 21 Apr 2004 08:46:41 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i3LCkfNl018541; Wed, 21 Apr 2004 08:46:41 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i3LCkT5Y029472; Wed, 21 Apr 2004 08:46:41 -0400 Message-ID: <40866D1D.3010309@magma.ca> Date: Wed, 21 Apr 2004 08:46:21 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dave.mitchell@newgrove.com Subject: Re: [Chameleon] installation problem (win2K) References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-DMSolutions-MailScanner-SpamScore: s X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Apr 2004 12:46:51 -0000 Dave, your configuration is likely correct, this is a relatively old version of chameleon though. I will (hopefully) be releasing the first beta on Friday, I suggest using it as a lot of these types of issues have been resolved since the October version. Cheers, Paul Dave Mitchell wrote: > Hi, > I am trying to install chameleon-1.1alpha-20031031 on Win2000 > (I have already succesfully installed maplab, mapserver, Mapscript > php_mapscript_4.0.2 and php-4.3.4) > > When I try to load the chameleon_sample up I get a javascript error Line > 504: Object Expected > The following line is highlighted in the debugger: > > gMapWhspc = CWCDHTML_FindObjectPosX( > document.getElementById('mapFrameTL')); > > I have included my xml file and a screenshot. > > Hope someone can advise me. > > Best regards, > Dave > > > > ------------------------------------------------------------------------ > > > ------------------------------------------------------------------------ > > > > cwc2_url > C:/webmap/chameleon-1.1alpha-20031031/htdocs/ > This is the URL that points to the HTDOCS directory of the local cwc2 installation. > > > > server_data_path > C:/webmap/chameleon-1.1alpha-20031031/data > This is where cached capabilities and other information, common to each session, should be. When a user start a new session, all files from that directory are copied to user_session_tmp_path > > > > web_server_path > http://localhost/chameleon/chameleon.php/ > This is where chameleon.php script is located. > > > > ows_schemas_location > http://ogc.dmsolutions.ca > URL pointing to the root of a repository of OGC schemas. See http://ogc.dmsolutions.ca for an example. > > > > wms_parse_file > C:/webmap/chameleon-1.1alpha-20031031/htdocs/common/wmsparse/wmsparse > Full file path to the binary wms parser executable ('/path/to/wmsparse' on Unix, '/path/to/wmsparse.exe' on Windows). Leave empty to use the built in PHP parser (slower). > > > > wms_connectiontimeout > 30 > Maximum time in seconds that MapServer will wait for an answer from a WMS server. > > > > allow_upload_context > true > Enable the "Upload map context" feature? (true or false). > > > > allow_upload_template > true > Allow use of the 'TEMPLATE=' parameter when calling the CWC2 instance to specify any CWC2 HTML template url? (true or false) If set to false then the value of 'default_template' config parameter is always used. > > > > cache_template > true > If template come from a remote server (http://....), the template is download from that remote server and saved on local server for further loading. For performace, it is prefered to set this value to "true". If the remote server template is dynamic, this value should be set to "false" so the template will be loaded remotely every page load. > > > > validate_template > true > Validate the attributes of each tag in the input template. This should be set to true for debugging but may be set to false in a production environment to enhance performance. > > > > default_language > en-CA > Default language specifier. (en-CA or fr-CA) > > > > default_template > /opt/cwc2/htdocs/geobase_en.html > Default HTML template to use with this CWC2 instance. Used when TEMPLATE= parameter not set, or when allow_upload_template config parameter is set to false. > > > > invalid_session_template > > Template to display if session is invalid. > > > > default_context > C:/webmap/chameleon-1.1alpha-20031031/htdocs/gmap_context.xml > Default map context to load when starting this application > > > > map_template > C:/webmap/chameleon-1.1alpha-20031031/htdocs/template.map > Default MapServer mapfile template to use when uploading a context file. > > > > mapscript_module > php_mapscript_4.0.2.dll > Mapscript module name (i.e. php_mapscript_40.dll for Windows installations or php_mapscript_40.so for Unix installations). > > > > log_path > C:/tmp/ > Directory in which to write log files. > > > > log_error > true > This define if chameleon should log errors in session. If set to false, no errors will be logged at all. > > > > log_level > LOG_NONE > Control the application runtime logging level. Must be one of LOG_OFF, LOG_QUIET, LOG_VERBOSE or LOG_ALL. > > > > image_type > PNG > Output image type (eg: PNG, GIF). Must be uppercase. This image format MUST be supported by your browser and GD (on the server). Please don't change that value unless you know what you'r doing. > > > > button_cache_path > C:/temp > Directory in which to write image files generated for buttons. This directory must be writable by the web server user and web accessible. For performance reasons, this directory should not be cleaned out automatically. > > > > button_cache_web_path > /temp > The URL where a browser can find cached button images. > > > > tmp_web_path > /webmap/addcafweb_basingstoke/tmp/ > URL where browser can find temporary files as context or images > > > > tmp_img_path > c:/webmap/addcafweb_basingstoke/tmp/ > Directory where temporary image files are put. > > > > context_root > /tmp/ > Absolute root path to context files. All context should be in that folder (or sub folder). > > > > context_maxsize > 1000000 > This is the context file max size that a CWC2 user can upload on the server > > > > template_root > /tmp/ > Absolute root path to template files. All template should be in that folder (or sub folder). > > > > fontlist_file > C:/webmap/chameleon-1.1alpha-20031031/etc/fonts.txt > Path and filename of the font list file used by MapServer (i.e. /path/to/file/fonts.txt ). > > > > symbol_file > C:/webmap/chameleon-1.1alpha-20031031/etc/symbols.sym > Path and filename of the symbol file used by MapServer (i.e. /path/to/file/symbols.sym ). > > > > textbutton_default_font_size > 11 > Buttons font size in points > > > > textbutton_default_font_antialiasing > true > Text Button font antialiasing (true or false) > > > > gd_version > gd2 > Version of GD graphic library (gd, gd2) > > > > freetype_version > ttf > Version of Freetype library used (use "ttf" for Freetype 1.3 or "freetype" for Freetype 2.x) > > > > execution_timeout > 120 > The amount of time in seconds to allow PHP to process a PHP page. This includes (for now) the time required to draw remote WMS layers which can be lengthy. > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From jmckenna@dmsolutions.ca Thu Apr 22 09:09:40 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3MD9WDX031414 for ; Thu, 22 Apr 2004 09:09:32 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i3MD9VbS020048 for ; Thu, 22 Apr 2004 09:09:31 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i3MD9TnA030623 for ; Thu, 22 Apr 2004 09:09:30 -0400 Message-ID: <4087C40B.3000408@dmsolutions.ca> Date: Thu, 22 Apr 2004 09:09:31 -0400 From: Jeff McKenna User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Chameleon-users Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: jmckenna@dmsolutions.ca Subject: [Chameleon] Interoperability Day Showcase - request for live app URLs X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2004 13:09:40 -0000 Hello all, (sorry if you received this already on the MapServer list) As part of the "Canadian Interoperability Day Showcase" for the OGC meeting here in Ottawa (http://www.opengis.org/events/?page=040423) DM Solutions will have a booth tomorrow promoting open source and mapserver. We would like to show cool apps that use and promote OGC specs (WMS, WFS, SLD, Context, etc.) ...so please send me some links if you'd like us to show your app. Please include a brief description of which specs are used. Thanks a lot. jeff -- Jeff McKenna GIS Specialist DM Solutions Group Inc. http://www.dmsolutions.ca From pagurekd@agr.gc.ca Mon Apr 26 12:57:31 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3QGvKmq005757 for ; Mon, 26 Apr 2004 12:57:20 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i3QGqla0026598 for ; Mon, 26 Apr 2004 12:52:48 -0400 Received: from ncrxem6 (webshieldout.agr.gc.ca [10.117.15.110]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with SMTP id i3QGtAxa028671 for ; Mon, 26 Apr 2004 12:55:11 -0400 Received: From agr.gc.ca ([10.117.15.106]) by ncrxem6 (WebShield SMTP v4.5 MR1a); id 1082998651359; Mon, 26 Apr 2004 12:57:31 -0400 Received: from AGCAN-MTA by agr.gc.ca with Novell_GroupWise; Mon, 26 Apr 2004 12:54:04 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.2 Date: Mon, 26 Apr 2004 12:53:55 -0400 From: "Debbie Pagurek" To: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_2706E7BC.1F7E3713" X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagurekd@agr.gc.ca Subject: [Chameleon] chameleon cvs X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2004 16:57:31 -0000 This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=_2706E7BC.1F7E3713 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi all, I downloaded the chameleon CVS last night (apr 25th), but I can't seem to get it working. I also checked out the php_utils and put the /src directories into /chameleon/htdocs/common as Paul mentioned in an earlier email. I am seeing the template as a bunch of red text showing all the CWC2 tags. Obviously something is not being processed by chameleon... pointers anyone? Debbie Pagurek --=_2706E7BC.1F7E3713 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Description: HTML
Hi all,
I downloaded the chameleon CVS last night (apr 25th), but I can't seem to get it working. I also checked out the php_utils and put the /src directories into /chameleon/htdocs/common as Paul mentioned in an earlier email.  I am seeing the template as a bunch of red text showing all the CWC2 tags.   Obviously something is not being processed by chameleon... pointers anyone?
 
Debbie Pagurek 
--=_2706E7BC.1F7E3713-- From pagameba@magma.ca Mon Apr 26 13:28:41 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3QHSXmq006045 for ; Mon, 26 Apr 2004 13:28:33 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i3QHSXFb011809; Mon, 26 Apr 2004 13:28:33 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i3QHSFjo011305; Mon, 26 Apr 2004 13:28:32 -0400 Message-ID: <408D46AA.30506@magma.ca> Date: Mon, 26 Apr 2004 13:28:10 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Debbie Pagurek Subject: Re: [Chameleon] chameleon cvs References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2004 17:28:41 -0000 Debbie, sorry I forgot to mention on the chameleon list (but I did on the chameleon-dev list) that cvs would be broken for a couple of days. I suggest reverting to a slightly older version, pre-friday using cvs update -D 2004-04-22 -P -d this will create a 'sticky' release for you, running subsequent cvs update will do nothing unless you do: cvs update -A -P -d this releases the sticky flag and reverts to the latest version, Cheers, Paul Debbie Pagurek wrote: > Hi all, > I downloaded the chameleon CVS last night (apr 25th), but I can't seem > to get it working. I also checked out the php_utils and put the /src > directories into /chameleon/htdocs/common as Paul mentioned in an > earlier email. I am seeing the template as a bunch of red text showing > all the CWC2 tags. Obviously something is not being processed by > chameleon... pointers anyone? > > Debbie Pagurek > > > ------------------------------------------------------------------------ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From griffin@watersheds.ca Wed Apr 28 22:00:08 2004 Received: from mail2.storm.ca (mail2.storm.ca [204.187.144.18]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3T1xwR4022820 for ; Wed, 28 Apr 2004 21:59:59 -0400 Received: from mail2.storm.ca (mail2.storm.ca [204.187.144.18]) by mail2.storm.ca (8.11.7+Sun/8.11.7) with SMTP id i3T1xvr08461 for ; Wed, 28 Apr 2004 21:59:58 -0400 (EDT) Message-Id: <200404290159.i3T1xvr08461@mail2.storm.ca> To: chameleon@lists.maptools.org From: griffin@watersheds.ca Date: Wed, 28 Apr 2004 21:59:58 +0000 X-Mailer: Endymion MailMan Standard Edition v3.0.2 X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: griffin@watersheds.ca Subject: [Chameleon] chameleon logo X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2004 02:00:09 -0000 Is there a logo for chameleon that I can use on my website? Aaron Griffin From pagameba@magma.ca Wed Apr 28 22:16:50 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3T2GiR4023074 for ; Wed, 28 Apr 2004 22:16:44 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i3T2GhKQ001538; Wed, 28 Apr 2004 22:16:43 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i3T2GYr1019168; Wed, 28 Apr 2004 22:16:43 -0400 Message-ID: <4090657F.5000001@magma.ca> Date: Wed, 28 Apr 2004 22:16:31 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: griffin@watersheds.ca Subject: Re: [Chameleon] chameleon logo References: <200404290159.i3T1xvr08461@mail2.storm.ca> In-Reply-To: <200404290159.i3T1xvr08461@mail2.storm.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2004 02:16:51 -0000 no there is none yet... griffin@watersheds.ca wrote: > Is there a logo for chameleon that I can use on my website? > > Aaron > Griffin > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From bartvde@xs4all.nl Thu Apr 29 03:49:52 2004 Received: from smtp-out5.xs4all.nl (smtp-out5.xs4all.nl [194.109.24.6]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3T7ndR4024208 for ; Thu, 29 Apr 2004 03:49:40 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out5.xs4all.nl (8.12.10/8.12.10) with ESMTP id i3T7nRJM086141 for ; Thu, 29 Apr 2004 09:49:33 +0200 (CEST) To: "chameleon@lists.maptools.org" From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Thu, 29 Apr 2004 09:48:11 +0200 Message-ID: User-Agent: Opera7.23/Win32 M2 build 3227 X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Subject: [Chameleon] strage flash when moving out of map in IE X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: bartvde@xs4all.nl List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2004 07:49:53 -0000 Hi list, I am running the Chameleon 1.99 alpha (from 03-03-2004). There is a problem when moving your mouse outside of the map widget in IE. When you do this the HTML page flashes briefly which is quite annoying. Mozilla does not have this problem. Is this a known issue and is this by any chance already fixed in CVS? Best regards, Bart From cthorne@dmsolutions.ca Thu Apr 29 08:45:51 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3TCjiXX026656 for ; Thu, 29 Apr 2004 08:45:44 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i3TCjixW027773 for ; Thu, 29 Apr 2004 08:45:44 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i3TCjhmS000525 for ; Thu, 29 Apr 2004 08:45:44 -0400 Message-ID: <4090F959.4060809@dmsolutions.ca> Date: Thu, 29 Apr 2004 08:47:21 -0400 From: "Christopher R. Thorne" Organization: DM Solutions Group Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] chameleon logo References: <200404290159.i3T1xvr08461@mail2.storm.ca> <4090657F.5000001@magma.ca> In-Reply-To: <4090657F.5000001@magma.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: cthorne@dmsolutions.ca X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: cthorne@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2004 12:45:52 -0000 Paul It would be great if we had a widget for this. Chris Paul Spencer wrote: > no there is none yet... > > griffin@watersheds.ca wrote: > >> Is there a logo for chameleon that I can use on my website? >> >> Aaron >> Griffin >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > -- --------------------- Christopher R. Thorne GIS Product Specialist, DM Solutions Group Inc. http://www.dmsolutions.ca Email: cthorne@dmsolutions.ca Phone: (613) 565-5056 ext.22 Fax : (613) 565-0925 From godwinl@agr.gc.ca Thu Apr 29 11:25:47 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3TFPbXX027430 for ; Thu, 29 Apr 2004 11:25:38 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i3TFKga0014158 for ; Thu, 29 Apr 2004 11:20:43 -0400 Received: from ncrxem6 (webshieldout.agr.gc.ca [10.117.15.110]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with SMTP id i3TFNrbT012528 for ; Thu, 29 Apr 2004 11:23:53 -0400 Received: From agr.gc.ca ([10.117.15.106]) by ncrxem6 (WebShield SMTP v4.5 MR1a); id 1083252490578; Thu, 29 Apr 2004 11:28:10 -0400 Received: from AGCAN-MTA by agr.gc.ca with Novell_GroupWise; Thu, 29 Apr 2004 11:24:43 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.2 Date: Thu, 29 Apr 2004 11:24:33 -0400 From: "Liz Godwin" To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: godwinl@agr.gc.ca Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i3TFPbXX027430 Cc: Liz@godwin.ca Subject: [Chameleon] Locate widget from cvs (potential repost) X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2004 15:25:47 -0000 Hi list, My original post didn't go through, could be our mail server, so I'm re-sending this. I'm trying to implement the Locate widget on a page I am working on with Chameleon. I am getting several similar errors: Notice: Undefined variable: anRectFirstPoint in C:\ms4w\apps\chameleon_cvs\htdocs\widgets\Locate.widget.php on line 361 (there are 4... 2 for anRectFirstPoint, 2 for anRectSecondPoint) I am working on a machine inside a firewall, with data from a context file only. I am working on the cvs version from April 22/2003. Would any of these impact this? I looked at the widget code, but without knowing how the APIs work behind the services, I don't know what is not working. Has anyone else experienced this? Where should I poke first? Thanks for your help. Liz Godwin Spatial Data Visualization Specialist Research Branch / Direction générale de la recherche Agriculture and Agri-Food Canada / Agriculture et Agroalimentaire Canada Telephone/Téléphone: 613-759-1850 Facsimile/Télécopieur:613-759-1937 960 Carling Avenue/960 Carling Avenue Ottawa, Ontario/Ottawa (Ontario) K1A 0C6 godwinl@agr.gc.ca From pagurekd@agr.gc.ca Thu Apr 29 15:00:23 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3TJ0HXX028538 for ; Thu, 29 Apr 2004 15:00:17 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i3TItKa0024558 for ; Thu, 29 Apr 2004 14:55:20 -0400 Received: from ncrxem6 (webshieldout.agr.gc.ca [10.117.15.110]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with SMTP id i3TIwLWa006525 for ; Thu, 29 Apr 2004 14:58:21 -0400 Received: From agr.gc.ca ([10.117.15.106]) by ncrxem6 (WebShield SMTP v4.5 MR1a); id 1083265359281; Thu, 29 Apr 2004 15:02:39 -0400 Received: from AGCAN-MTA by agr.gc.ca with Novell_GroupWise; Thu, 29 Apr 2004 14:59:12 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.2 Date: Thu, 29 Apr 2004 14:59:07 -0400 From: "Debbie Pagurek" To: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_7958A590.3B5A11BD" X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagurekd@agr.gc.ca Subject: [Chameleon] chameleon and mapserver / php mapscript versions X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2004 19:00:24 -0000 This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=_7958A590.3B5A11BD Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hey all, is chameleon expected to work with mapserver 4.2beta and php_mapscript_42.dll? And php4.3.4. Thanks, Debbie --=_7958A590.3B5A11BD Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Description: HTML
Hey all,
is chameleon expected to work with mapserver 4.2beta and php_mapscript_42.dll?
And php4.3.4.
 
Thanks,
Debbie
 
--=_7958A590.3B5A11BD-- From pagameba@magma.ca Thu Apr 29 15:10:48 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3TJAgXX028772 for ; Thu, 29 Apr 2004 15:10:42 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i3TJAdkI003801; Thu, 29 Apr 2004 15:10:40 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i3TJAY5c001229; Thu, 29 Apr 2004 15:10:39 -0400 Message-ID: <40915327.6090507@magma.ca> Date: Thu, 29 Apr 2004 15:10:31 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Debbie Pagurek Subject: Re: [Chameleon] chameleon and mapserver / php mapscript versions References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2004 19:10:48 -0000 yes Debbie Pagurek wrote: > Hey all, > is chameleon expected to work with mapserver 4.2beta and > php_mapscript_42.dll? > And php4.3.4. > > Thanks, > Debbie > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Fri Apr 30 14:06:08 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i3UI5tJH003373 for ; Fri, 30 Apr 2004 14:05:56 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i3UI5trV005032; Fri, 30 Apr 2004 14:05:55 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i3UI5pLU013455; Fri, 30 Apr 2004 14:05:54 -0400 Message-ID: <4092957B.6060308@magma.ca> Date: Fri, 30 Apr 2004 14:05:47 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl Subject: Re: [Chameleon] strage flash when moving out of map in IE References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: "chameleon@lists.maptools.org" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2004 18:06:16 -0000 Bart, I don't see this behaviour with my version (latest cvs) on IE, WinXP ... but it was never previously identified as an issue either, so I doubt that anything happened to change this behaviour. I am assuming that you mean when you move your mouse from inside to outside of the map? PS Don't use the latest cvs yet, it is still undergoing revision ... most of the widgets are working in the new directory structure now but about 30% are still untested ... Paul Bart van den Eijnden wrote: > Hi list, > > I am running the Chameleon 1.99 alpha (from 03-03-2004). > > There is a problem when moving your mouse outside of the map widget in > IE. When you do this the HTML page flashes briefly which is quite > annoying. Mozilla does not have this problem. > > Is this a known issue and is this by any chance already fixed in CVS? > > Best regards, > Bart > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From bartvde@xs4all.nl Sat May 1 10:35:11 2004 Received: from smtp-out2.xs4all.nl (smtp-out2.xs4all.nl [194.109.24.12]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i41EYwBp011780 for ; Sat, 1 May 2004 10:34:59 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out2.xs4all.nl (8.12.10/8.12.10) with ESMTP id i41EYlRM012281 for ; Sat, 1 May 2004 16:34:52 +0200 (CEST) To: "chameleon@lists.maptools.org" Subject: Re: [Chameleon] strage flash when moving out of map in IE References: <4092957B.6060308@magma.ca> Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Sat, 01 May 2004 16:33:29 +0200 In-Reply-To: <4092957B.6060308@magma.ca> User-Agent: Opera7.23/Win32 M2 build 3227 X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: bartvde@xs4all.nl List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 May 2004 14:35:11 -0000 Hi Paul, yes the problem arises when I move the mouse from the inside of the map to the outside of the map. Do you have any idea when the CVS will be stable again to use (and when the first 1.99 release will be out)? I am in the process of upgrading my Chameleon 1.1 apps to Chameleon 1.99 (the early March 2004 version) but am finding some troubles especially with the ROI tools (also a problem with a flash in IE, a problem with mouse handling and a problem having the ROI area differ from the box drawn). I assume these are fixed in CVS. Best regards, Bart On Fri, 30 Apr 2004 14:05:47 -0400, Paul Spencer wrote: > Bart, > > I don't see this behaviour with my version (latest cvs) on IE, WinXP ... > but it was never previously identified as an issue either, so I doubt > that anything happened to change this behaviour. > > I am assuming that you mean when you move your mouse from inside to > outside of the map? > > PS Don't use the latest cvs yet, it is still undergoing revision ... > most of the widgets are working in the new directory structure now but > about 30% are still untested ... > > Paul > > Bart van den Eijnden wrote: > >> Hi list, >> >> I am running the Chameleon 1.99 alpha (from 03-03-2004). >> >> There is a problem when moving your mouse outside of the map widget in >> IE. When you do this the HTML page flashes briefly which is quite >> annoying. Mozilla does not have this problem. >> >> Is this a known issue and is this by any chance already fixed in CVS? >> >> Best regards, >> Bart >> >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > -- From jfournier@dmsolutions.ca Sat May 1 10:57:26 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i41EvJBp011939 for ; Sat, 1 May 2004 10:57:19 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i41EvIM6021475; Sat, 1 May 2004 10:57:18 -0400 Received: from dmsolutions.ca (CPE000d8897c8fb-CM.cpe.net.cable.rogers.com [24.157.244.62]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i41EvGDS010941; Sat, 1 May 2004 10:57:18 -0400 Message-ID: <4093BB3C.3030703@dmsolutions.ca> Date: Sat, 01 May 2004 10:59:08 -0400 From: Jason Fournier User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl Subject: Re: [Chameleon] strage flash when moving out of map in IE References: <4092957B.6060308@magma.ca> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: jfournier@dmsolutions.ca Cc: "chameleon@lists.maptools.org" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 May 2004 14:57:27 -0000 Hi Bart, I have done some testing and only notice something similar to this behaviour if the Image Toolbar (Tools > Internet Options > Advanced > Multimeda > Enable Image Toolbar) is activated. This testing was performed in IE 6 on XP Pro. Do you have the Image Toolbar enabled? If so, does disabling the toolbar rectify the problem? Jason Bart van den Eijnden wrote: > Hi Paul, > > yes the problem arises when I move the mouse from the inside of the > map to the outside of the map. > > Do you have any idea when the CVS will be stable again to use (and > when the first 1.99 release will be out)? I am in the process of > upgrading my Chameleon 1.1 apps to Chameleon 1.99 (the early March > 2004 version) but am finding some troubles especially with the ROI > tools (also a problem with a flash in IE, a problem with mouse > handling and a problem having the ROI area differ from the box drawn). > I assume these are fixed in CVS. > > Best regards, > Bart > > On Fri, 30 Apr 2004 14:05:47 -0400, Paul Spencer > wrote: > >> Bart, >> >> I don't see this behaviour with my version (latest cvs) on IE, WinXP >> ... but it was never previously identified as an issue either, so I >> doubt that anything happened to change this behaviour. >> >> I am assuming that you mean when you move your mouse from inside to >> outside of the map? >> >> PS Don't use the latest cvs yet, it is still undergoing revision ... >> most of the widgets are working in the new directory structure now >> but about 30% are still untested ... >> >> Paul >> >> Bart van den Eijnden wrote: >> >>> Hi list, >>> >>> I am running the Chameleon 1.99 alpha (from 03-03-2004). >>> >>> There is a problem when moving your mouse outside of the map widget >>> in IE. When you do this the HTML page flashes briefly which is quite >>> annoying. Mozilla does not have this problem. >>> >>> Is this a known issue and is this by any chance already fixed in CVS? >>> >>> Best regards, >>> Bart >>> >>> >>> _______________________________________________ >>> Chameleon mailing list >>> Chameleon@lists.maptools.org >>> http://lists.maptools.org/mailman/listinfo/chameleon >>> >> > > > -- ________________________ Jason Fournier Application Developer DM Solutions Group Inc. jfournier@dmsolutions.ca www.dmsolutions.ca 613.565.5056 x18 From bartvde@xs4all.nl Sat May 1 11:04:22 2004 Received: from smtp-out3.xs4all.nl (smtp-out3.xs4all.nl [194.109.24.13]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i41F4DBp012043 for ; Sat, 1 May 2004 11:04:14 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out3.xs4all.nl (8.12.10/8.12.10) with ESMTP id i41F47VB053788 for ; Sat, 1 May 2004 17:04:12 +0200 (CEST) To: "chameleon@lists.maptools.org" Subject: Re: [Chameleon] strage flash when moving out of map in IE References: <4092957B.6060308@magma.ca> <4093BB3C.3030703@dmsolutions.ca> Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Sat, 01 May 2004 17:02:49 +0200 In-Reply-To: <4093BB3C.3030703@dmsolutions.ca> User-Agent: Opera7.23/Win32 M2 build 3227 X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: bartvde@xs4all.nl List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 May 2004 15:04:23 -0000 Hi Jason, I had it enabled (I think this is default) and disabling it removes the problem. Do you have any clue what might be causing this? Best regards, Bart On Sat, 01 May 2004 10:59:08 -0400, Jason Fournier wrote: > Hi Bart, > > I have done some testing and only notice something similar to this > behaviour if the Image Toolbar (Tools > Internet Options > Advanced > > Multimeda > Enable Image Toolbar) is activated. This testing was > performed in IE 6 on XP Pro. > > Do you have the Image Toolbar enabled? If so, does disabling the > toolbar rectify the problem? > > Jason > > > > > Bart van den Eijnden wrote: > >> Hi Paul, >> >> yes the problem arises when I move the mouse from the inside of the map >> to the outside of the map. >> >> Do you have any idea when the CVS will be stable again to use (and when >> the first 1.99 release will be out)? I am in the process of upgrading >> my Chameleon 1.1 apps to Chameleon 1.99 (the early March 2004 version) >> but am finding some troubles especially with the ROI tools (also a >> problem with a flash in IE, a problem with mouse handling and a problem >> having the ROI area differ from the box drawn). I assume these are >> fixed in CVS. >> >> Best regards, >> Bart >> >> On Fri, 30 Apr 2004 14:05:47 -0400, Paul Spencer >> wrote: >> >>> Bart, >>> >>> I don't see this behaviour with my version (latest cvs) on IE, WinXP >>> ... but it was never previously identified as an issue either, so I >>> doubt that anything happened to change this behaviour. >>> >>> I am assuming that you mean when you move your mouse from inside to >>> outside of the map? >>> >>> PS Don't use the latest cvs yet, it is still undergoing revision ... >>> most of the widgets are working in the new directory structure now but >>> about 30% are still untested ... >>> >>> Paul >>> >>> Bart van den Eijnden wrote: >>> >>>> Hi list, >>>> >>>> I am running the Chameleon 1.99 alpha (from 03-03-2004). >>>> >>>> There is a problem when moving your mouse outside of the map widget >>>> in IE. When you do this the HTML page flashes briefly which is quite >>>> annoying. Mozilla does not have this problem. >>>> >>>> Is this a known issue and is this by any chance already fixed in CVS? >>>> >>>> Best regards, >>>> Bart >>>> >>>> >>>> _______________________________________________ >>>> Chameleon mailing list >>>> Chameleon@lists.maptools.org >>>> http://lists.maptools.org/mailman/listinfo/chameleon >>>> >>> >> >> >> > -- From jfournier@dmsolutions.ca Sat May 1 11:15:33 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i41FFQBp012239 for ; Sat, 1 May 2004 11:15:26 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i41FFQWB025286; Sat, 1 May 2004 11:15:26 -0400 Received: from dmsolutions.ca (CPE000d8897c8fb-CM.cpe.net.cable.rogers.com [24.157.244.62]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i41FFPfC006734; Sat, 1 May 2004 11:15:26 -0400 Message-ID: <4093BF7E.1010204@dmsolutions.ca> Date: Sat, 01 May 2004 11:17:18 -0400 From: Jason Fournier User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl Subject: Re: [Chameleon] strage flash when moving out of map in IE References: <4092957B.6060308@magma.ca> <4093BB3C.3030703@dmsolutions.ca> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-DMSolutions-MailScanner-SpamScore: s X-MailScanner-From: jfournier@dmsolutions.ca Cc: "chameleon@lists.maptools.org" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 May 2004 15:15:33 -0000 Bart, I'm not sure of the exact problem. With 'flat' images (eg, images which are not href'ed, etc.) I don't see this issue surface. I will conduct a few tests to try and determine which scenarios cause this behaviour. Thanks, Jason Bart van den Eijnden wrote: > Hi Jason, > > I had it enabled (I think this is default) and disabling it removes > the problem. > > Do you have any clue what might be causing this? > > Best regards, > Bart > > On Sat, 01 May 2004 10:59:08 -0400, Jason Fournier > wrote: > >> Hi Bart, >> >> I have done some testing and only notice something similar to this >> behaviour if the Image Toolbar (Tools > Internet Options > Advanced > >> Multimeda > Enable Image Toolbar) is activated. This testing was >> performed in IE 6 on XP Pro. >> >> Do you have the Image Toolbar enabled? If so, does disabling the >> toolbar rectify the problem? >> >> Jason >> >> >> >> >> Bart van den Eijnden wrote: >> >>> Hi Paul, >>> >>> yes the problem arises when I move the mouse from the inside of the >>> map to the outside of the map. >>> >>> Do you have any idea when the CVS will be stable again to use (and >>> when the first 1.99 release will be out)? I am in the process of >>> upgrading my Chameleon 1.1 apps to Chameleon 1.99 (the early March >>> 2004 version) but am finding some troubles especially with the ROI >>> tools (also a problem with a flash in IE, a problem with mouse >>> handling and a problem having the ROI area differ from the box >>> drawn). I assume these are fixed in CVS. >>> >>> Best regards, >>> Bart >>> >>> On Fri, 30 Apr 2004 14:05:47 -0400, Paul Spencer >>> wrote: >>> >>>> Bart, >>>> >>>> I don't see this behaviour with my version (latest cvs) on IE, >>>> WinXP ... but it was never previously identified as an issue >>>> either, so I doubt that anything happened to change this behaviour. >>>> >>>> I am assuming that you mean when you move your mouse from inside to >>>> outside of the map? >>>> >>>> PS Don't use the latest cvs yet, it is still undergoing revision >>>> ... most of the widgets are working in the new directory structure >>>> now but about 30% are still untested ... >>>> >>>> Paul >>>> >>>> Bart van den Eijnden wrote: >>>> >>>>> Hi list, >>>>> >>>>> I am running the Chameleon 1.99 alpha (from 03-03-2004). >>>>> >>>>> There is a problem when moving your mouse outside of the map >>>>> widget in IE. When you do this the HTML page flashes briefly which >>>>> is quite annoying. Mozilla does not have this problem. >>>>> >>>>> Is this a known issue and is this by any chance already fixed in CVS? >>>>> >>>>> Best regards, >>>>> Bart >>>>> >>>>> >>>>> _______________________________________________ >>>>> Chameleon mailing list >>>>> Chameleon@lists.maptools.org >>>>> http://lists.maptools.org/mailman/listinfo/chameleon >>>>> >>>> >>> >>> >>> >> > > > -- ________________________ Jason Fournier Application Developer DM Solutions Group Inc. jfournier@dmsolutions.ca www.dmsolutions.ca 613.565.5056 x18 From bartvde@xs4all.nl Sat May 1 11:17:05 2004 Received: from smtp-out5.xs4all.nl (smtp-out5.xs4all.nl [194.109.24.6]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i41FGuBp012282 for ; Sat, 1 May 2004 11:16:56 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out5.xs4all.nl (8.12.10/8.12.10) with ESMTP id i41FGjJM009493 for ; Sat, 1 May 2004 17:16:50 +0200 (CEST) Date: Sat, 01 May 2004 17:15:26 +0200 To: "chameleon@lists.maptools.org" Subject: Re: [Chameleon] strage flash when moving out of map in IE References: <4092957B.6060308@magma.ca> <4093BB3C.3030703@dmsolutions.ca> From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: User-Agent: Opera7.23/Win32 M2 build 3227 X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: bartvde@xs4all.nl List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 May 2004 15:17:05 -0000 Hi Jason, I see now that it is possible to disable the image toolbar in a HTML page by using: I will be adding this to all my templates for sure ... Strange thing is that this problem does not occur with my Chameleon 1.1 applications. Best regards, Bart On Sat, 01 May 2004 17:02:49 +0200, Bart van den Eijnden wrote: > Hi Jason, > > I had it enabled (I think this is default) and disabling it removes the > problem. > > Do you have any clue what might be causing this? > > Best regards, > Bart > > On Sat, 01 May 2004 10:59:08 -0400, Jason Fournier > wrote: > >> Hi Bart, >> >> I have done some testing and only notice something similar to this >> behaviour if the Image Toolbar (Tools > Internet Options > Advanced > >> Multimeda > Enable Image Toolbar) is activated. This testing was >> performed in IE 6 on XP Pro. >> >> Do you have the Image Toolbar enabled? If so, does disabling the >> toolbar rectify the problem? >> >> Jason >> >> >> >> >> Bart van den Eijnden wrote: >> >>> Hi Paul, >>> >>> yes the problem arises when I move the mouse from the inside of the >>> map to the outside of the map. >>> >>> Do you have any idea when the CVS will be stable again to use (and >>> when the first 1.99 release will be out)? I am in the process of >>> upgrading my Chameleon 1.1 apps to Chameleon 1.99 (the early March >>> 2004 version) but am finding some troubles especially with the ROI >>> tools (also a problem with a flash in IE, a problem with mouse >>> handling and a problem having the ROI area differ from the box drawn). >>> I assume these are fixed in CVS. >>> >>> Best regards, >>> Bart >>> >>> On Fri, 30 Apr 2004 14:05:47 -0400, Paul Spencer >>> wrote: >>> >>>> Bart, >>>> >>>> I don't see this behaviour with my version (latest cvs) on IE, WinXP >>>> ... but it was never previously identified as an issue either, so I >>>> doubt that anything happened to change this behaviour. >>>> >>>> I am assuming that you mean when you move your mouse from inside to >>>> outside of the map? >>>> >>>> PS Don't use the latest cvs yet, it is still undergoing revision ... >>>> most of the widgets are working in the new directory structure now >>>> but about 30% are still untested ... >>>> >>>> Paul >>>> >>>> Bart van den Eijnden wrote: >>>> >>>>> Hi list, >>>>> >>>>> I am running the Chameleon 1.99 alpha (from 03-03-2004). >>>>> >>>>> There is a problem when moving your mouse outside of the map widget >>>>> in IE. When you do this the HTML page flashes briefly which is quite >>>>> annoying. Mozilla does not have this problem. >>>>> >>>>> Is this a known issue and is this by any chance already fixed in CVS? >>>>> >>>>> Best regards, >>>>> Bart >>>>> >>>>> >>>>> _______________________________________________ >>>>> Chameleon mailing list >>>>> Chameleon@lists.maptools.org >>>>> http://lists.maptools.org/mailman/listinfo/chameleon >>>>> >>>> >>> >>> >>> >> > > > -- From bartvde@xs4all.nl Sun May 2 05:00:49 2004 Received: from smtp-out2.xs4all.nl (smtp-out2.xs4all.nl [194.109.24.12]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4290bBp022692 for ; Sun, 2 May 2004 05:00:42 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out2.xs4all.nl (8.12.10/8.12.10) with ESMTP id i4290V4x033352 for ; Sun, 2 May 2004 11:00:31 +0200 (CEST) To: "chameleon@lists.maptools.org" From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Sun, 02 May 2004 10:59:13 +0200 Message-ID: User-Agent: Opera7.23/Win32 M2 build 3227 X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Subject: [Chameleon] status of "multiple submit problem in IE" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: bartvde@xs4all.nl List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 May 2004 09:00:49 -0000 Hi Paul (cc list), what is the current status of the multiple submit problem in IE? I could not find any changes in my 1.99 preview with respect to this problem, but maybe it is in the CVS version? http://lists.maptools.org/pipermail/chameleon/2004-January/000434.html (I should have opened a bug in January to track this down .... sorry for that). Best regards, Bart From bartvde@xs4all.nl Sun May 2 08:09:31 2004 Received: from smtp-out2.xs4all.nl (smtp-out2.xs4all.nl [194.109.24.12]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i42C9Lwq024051 for ; Sun, 2 May 2004 08:09:22 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out2.xs4all.nl (8.12.10/8.12.10) with ESMTP id i42C9FQJ012116 for ; Sun, 2 May 2004 14:09:15 +0200 (CEST) To: "chameleon@lists.maptools.org" From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Sun, 02 May 2004 14:07:56 +0200 Message-ID: User-Agent: Opera7.23/Win32 M2 build 3227 X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Subject: [Chameleon] mouse handling problems in IE X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: bartvde@xs4all.nl List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 May 2004 12:09:32 -0000 Hi list, has anybody experienced mouse handling problems in IE with the 1.99 version or the CVS version from 22-04-04 (I tried both). Both the zoomin box tool but mostly the ROIRectangle tool have these problems. When dragging it most of the time happens that on the mouseup event the box does not stop, i.e. when moving the mouse without any mouse button pressed the box keeps following the mouse cursor. Then I have to click again with the zoomin tool to get the action to be performed and the "dragging" to stop. Also, sometimes the cannot drag cursor appears. I cannot get the ROIRectangle tool to work in IE (box keeps dragging whatever I do). I also tried Mozilla but no problems there. Any thoughts? Best regards, Bart From pdymecki@sympatico.ca Sun May 2 14:11:55 2004 Received: from tomts36-srv.bellnexxia.net (tomts36.bellnexxia.net [209.226.175.93]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i42IBkwq025832 for ; Sun, 2 May 2004 14:11:46 -0400 Received: from paul ([69.158.153.19]) by tomts36-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20040502181125.RJXY14479.tomts36-srv.bellnexxia.net@paul> for ; Sun, 2 May 2004 14:11:25 -0400 Message-ID: <000f01c43070$e8dd8ac0$7b45fea9@paul> From: "Paul Dymecki" To: References: <4092957B.6060308@magma.ca> <4093BB3C.3030703@dmsolutions.ca> Date: Sun, 2 May 2004 14:11:37 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pdymecki@sympatico.ca Subject: [Chameleon] sqlQuery parameters? X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 May 2004 18:11:55 -0000 Hi all, I was wondering if there is a way to pass a parameter to the sqlQuery widget? I'm trying to get a parmeterized query working... thx, Paul ----- Original Message ----- From: "Bart van den Eijnden" To: Sent: Saturday, May 01, 2004 11:15 AM Subject: Re: [Chameleon] strage flash when moving out of map in IE > Hi Jason, > > I see now that it is possible to disable the image toolbar in a HTML page > by using: > > > > I will be adding this to all my templates for sure ... > > Strange thing is that this problem does not occur with my Chameleon 1.1 > applications. > > Best regards, > Bart > > On Sat, 01 May 2004 17:02:49 +0200, Bart van den Eijnden > wrote: > > > Hi Jason, > > > > I had it enabled (I think this is default) and disabling it removes the > > problem. > > > > Do you have any clue what might be causing this? > > > > Best regards, > > Bart > > > > On Sat, 01 May 2004 10:59:08 -0400, Jason Fournier > > wrote: > > > >> Hi Bart, > >> > >> I have done some testing and only notice something similar to this > >> behaviour if the Image Toolbar (Tools > Internet Options > Advanced > > >> Multimeda > Enable Image Toolbar) is activated. This testing was > >> performed in IE 6 on XP Pro. > >> > >> Do you have the Image Toolbar enabled? If so, does disabling the > >> toolbar rectify the problem? > >> > >> Jason > >> > >> > >> > >> > >> Bart van den Eijnden wrote: > >> > >>> Hi Paul, > >>> > >>> yes the problem arises when I move the mouse from the inside of the > >>> map to the outside of the map. > >>> > >>> Do you have any idea when the CVS will be stable again to use (and > >>> when the first 1.99 release will be out)? I am in the process of > >>> upgrading my Chameleon 1.1 apps to Chameleon 1.99 (the early March > >>> 2004 version) but am finding some troubles especially with the ROI > >>> tools (also a problem with a flash in IE, a problem with mouse > >>> handling and a problem having the ROI area differ from the box drawn). > >>> I assume these are fixed in CVS. > >>> > >>> Best regards, > >>> Bart > >>> > >>> On Fri, 30 Apr 2004 14:05:47 -0400, Paul Spencer > >>> wrote: > >>> > >>>> Bart, > >>>> > >>>> I don't see this behaviour with my version (latest cvs) on IE, WinXP > >>>> ... but it was never previously identified as an issue either, so I > >>>> doubt that anything happened to change this behaviour. > >>>> > >>>> I am assuming that you mean when you move your mouse from inside to > >>>> outside of the map? > >>>> > >>>> PS Don't use the latest cvs yet, it is still undergoing revision ... > >>>> most of the widgets are working in the new directory structure now > >>>> but about 30% are still untested ... > >>>> > >>>> Paul > >>>> > >>>> Bart van den Eijnden wrote: > >>>> > >>>>> Hi list, > >>>>> > >>>>> I am running the Chameleon 1.99 alpha (from 03-03-2004). > >>>>> > >>>>> There is a problem when moving your mouse outside of the map widget > >>>>> in IE. When you do this the HTML page flashes briefly which is quite > >>>>> annoying. Mozilla does not have this problem. > >>>>> > >>>>> Is this a known issue and is this by any chance already fixed in CVS? > >>>>> > >>>>> Best regards, > >>>>> Bart > >>>>> > >>>>> > >>>>> _______________________________________________ > >>>>> Chameleon mailing list > >>>>> Chameleon@lists.maptools.org > >>>>> http://lists.maptools.org/mailman/listinfo/chameleon > >>>>> > >>>> > >>> > >>> > >>> > >> > > > > > > > > > > -- > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From jacob.delfos@maunsell.com Mon May 3 00:35:45 2004 Received: from aumel1gw002.maunsell.com (210-193-148-152.macquarie.net.au [210.193.148.152] (may be forged)) by www.maptools.org (8.12.5/8.12.5) with SMTP id i434ZWwr028314 for ; Mon, 3 May 2004 00:35:34 -0400 Received: from aumel1ex001.mel.maunsell.com.au ([172.21.0.15]) by aumel1gw002.maunsell.com (SAVSMTP 3.1.0.29) with SMTP id M2004050314392521527 for ; Mon, 03 May 2004 14:39:25 +1000 Received: by aumel1ex001.mel.maunsell.com.au with Internet Mail Service (5.5.2653.19) id ; Mon, 3 May 2004 14:38:37 +1000 Message-ID: From: "Delfos, Jacob" To: "'chameleon@lists.maptools.org'" Date: Mon, 3 May 2004 14:41:51 +1000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C430C8.F3E0B980" X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: jacob.delfos@maunsell.com Subject: [Chameleon] Image optimisation X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 May 2004 04:35:46 -0000 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C430C8.F3E0B980 Content-Type: text/plain Hi All, Just a few questions that I hope someone can answer; Is there any way to manipulate whether a browser makes use of the 'progressive' option in JPG files? When I use Firefox / Mozilla to open our chameleon site, it shows the mapimage progressively (from a big blur to a sharp map), almost straight from the beginning. This gives people the feeling that it's faster than it really is (which is great!). But it only loads it progressively the first time. After that, changes to the image extent don't make it load progressively anymore. Also, I have never seen it load progressively in explorer. Does anyone know more about that? The other thing.... Is it possible to change imagetype (GIF / JPEG) on the fly? I only want to use JPEG when I use an image in the background. Is it possible to change this dynamically? Regards, Jacob ------_=_NextPart_001_01C430C8.F3E0B980 Content-Type: text/html Content-Transfer-Encoding: quoted-printable Image optimisation

Hi All,

Just a few questions that I hope = someone can answer; Is there any way to manipulate whether a browser = makes use of the 'progressive' option in JPG files? When I use Firefox = / Mozilla to open our chameleon site, it shows the mapimage = progressively (from a big blur to a sharp map), almost straight from = the beginning. This gives people the feeling that it's faster than it = really is (which is great!). But it only loads it progressively the = first time. After that, changes to the image extent don't make it load = progressively anymore. Also, I have never seen it load progressively in = explorer. Does anyone know more about that?

The other thing.... Is it possible to = change imagetype (GIF / JPEG) on the fly? I only want to use JPEG when = I use an image in the background. Is it possible to change this = dynamically?

Regards,

Jacob


------_=_NextPart_001_01C430C8.F3E0B980-- From jacob.delfos@maunsell.com Mon May 3 22:39:59 2004 Received: from aumel1gw002.maunsell.com (mail.maunsell.com [210.193.148.152] (may be forged)) by www.maptools.org (8.12.5/8.12.5) with SMTP id i442dlXp005064 for ; Mon, 3 May 2004 22:39:49 -0400 Received: from aumel1ex001.mel.maunsell.com.au ([172.21.0.15]) by aumel1gw002.maunsell.com (SAVSMTP 3.1.0.29) with SMTP id M2004050412434501178 for ; Tue, 04 May 2004 12:43:45 +1000 Received: by aumel1ex001.mel.maunsell.com.au with Internet Mail Service (5.5.2653.19) id ; Tue, 4 May 2004 12:42:56 +1000 Message-ID: From: "Delfos, Jacob" To: "'chameleon@lists.maptools.org'" Date: Tue, 4 May 2004 12:46:11 +1000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C43181.F5B83990" X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: jacob.delfos@maunsell.com Subject: [Chameleon] 'styleitem auto' drives Explorer nuts X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2004 02:39:59 -0000 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C43181.F5B83990 Content-Type: text/plain Hi All, I got a little problem using the "styleitem auto" functionality. I have applied this to two DGN layers. It appears to work OK in Mozilla/Firefox (though it says it's waiting for a file to load, which it does not normally do, and gets quite stuck for a while doing so), but explorer really goes nuts; it seems to be stuck in an infinite loop, or something. It doesn't respond to anything anymore, and the CPU runs at 100%. It only happens when I select that layer to be visible. The layers shows alright, but explorer stops responding. I'm using Chameleon 1.0.4 (waiting for 1.99 to upgrade). Does anyone have any clue what causes this? This is my layer definition: LAYER CONNECTIONTYPE OGR CONNECTION "c:\data\wac\HERITAGE.dgn" TYPE line STATUS OFF NAME "Heritage" STYLEITEM "AUTO" DUMP TRUE TEMPLATE "ttt" # this isn't used, but needs to be here for queries TOLERANCE 6 TOLERANCEUNITS PIXELS CLASS color 255 255 255 END END Regards, Jacob ------_=_NextPart_001_01C43181.F5B83990 Content-Type: text/html Content-Transfer-Encoding: quoted-printable 'styleitem auto' drives Explorer nuts

Hi All,

I got a little problem using the = "styleitem auto" functionality. I have applied this to two = DGN layers. It appears to work OK in Mozilla/Firefox (though it says = it's waiting for a file to load, which it does not normally do, and = gets quite stuck for a while doing so), but explorer really goes nuts; = it seems to be stuck in an infinite loop, or something. It doesn't = respond to anything anymore, and the CPU runs at 100%. It only happens = when I select that layer to be visible. The layers shows alright, but = explorer stops responding.

I'm using Chameleon 1.0.4 (waiting for = 1.99 to upgrade).
Does anyone have any clue what causes = this?

This is my layer definition:

LAYER
   CONNECTIONTYPE OGR
   CONNECTION = "c:\data\wac\HERITAGE.dgn"
   TYPE line
   STATUS OFF
   NAME = "Heritage"  
   STYLEITEM = "AUTO"
  
   DUMP TRUE
   TEMPLATE = "ttt" # this isn't used, but needs to be here for = queries
   TOLERANCE 6
   TOLERANCEUNITS = PIXELS

      CLASS
      = color 255 255 255
      = END
END



Regards,

Jacob



------_=_NextPart_001_01C43181.F5B83990-- From bartvde@xs4all.nl Tue May 4 06:26:35 2004 Received: from smtp-out6.xs4all.nl (smtp-out6.xs4all.nl [194.109.24.7]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i44AQSlQ008293 for ; Tue, 4 May 2004 06:26:28 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out6.xs4all.nl (8.12.10/8.12.10) with SMTP id i44AQLEg071979 for ; Tue, 4 May 2004 12:26:27 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Tue, 4 May 2004 12:26:27 +0200 (CEST) Message-ID: <13003.212.238.227.182.1083666387.squirrel@webmail.xs4all.nl> Date: Tue, 4 May 2004 12:26:27 +0200 (CEST) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Subject: [Chameleon] makeButton question X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2004 10:26:35 -0000 Hi list, I am trying to upgrade my old 1.1 widgets to the new button stuff. One thing I don't understand is the meaning of the 3th parameter in the makeButton function (the parameter is called className). makeButton( 'CloseWindow', '', 'ExtractWFSData', "images/icon_cancel.png", If I use the name of my widget as the value for the third argument, I do not get buttons. First I thought it would refer to a css class, but this is not the case as far as I could see. How should I interpret this parameter and do I need some tweaks somewhere? Best regards, Bart From bartvde@xs4all.nl Tue May 4 08:21:58 2004 Received: from smtp-out3.xs4all.nl (smtp-out3.xs4all.nl [194.109.24.13]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i44CLmlQ008922 for ; Tue, 4 May 2004 08:21:48 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out3.xs4all.nl (8.12.10/8.12.10) with SMTP id i44CLaT0065252 for ; Tue, 4 May 2004 14:21:47 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Tue, 4 May 2004 14:21:47 +0200 (CEST) Message-ID: <20171.212.238.227.182.1083673307.squirrel@webmail.xs4all.nl> Date: Tue, 4 May 2004 14:21:47 +0200 (CEST) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Subject: [Chameleon] another button question (bug?) X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2004 12:21:59 -0000 Hi list, if I use a widget which is not part of a toolset (no toolset attribute defined for the widget in the template) the code in Button.php appends some default parameters to the name of the onclick function. This results in the fact that you will get a javascript error that the corresponding function is not defined. Is this intentional? An example to illustrate what I encountered: Best regards, Bart From jmckenna@dmsolutions.ca Tue May 4 08:45:45 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i44CjalQ009077 for ; Tue, 4 May 2004 08:45:36 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i44CjZvl008231; Tue, 4 May 2004 08:45:35 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i44CjXbZ015820; Tue, 4 May 2004 08:45:35 -0400 Message-ID: <4097906F.7070205@dmsolutions.ca> Date: Tue, 04 May 2004 08:45:35 -0400 From: Jeff McKenna User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Delfos, Jacob" Subject: Re: [Chameleon] 'styleitem auto' drives Explorer nuts References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: jmckenna@dmsolutions.ca Cc: "'chameleon@lists.maptools.org'" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2004 12:45:45 -0000 Jacob, Have you verified that this only occurs with Chameleon? Have you tried that mapfile with another MapServer application, such as the Itasca demo? Does that same error occur? jeff Delfos, Jacob wrote: > Hi All, > > I got a little problem using the "styleitem auto" functionality. I have > applied this to two DGN layers. It appears to work OK in Mozilla/Firefox > (though it says it's waiting for a file to load, which it does not > normally do, and gets quite stuck for a while doing so), but explorer > really goes nuts; it seems to be stuck in an infinite loop, or > something. It doesn't respond to anything anymore, and the CPU runs at > 100%. It only happens when I select that layer to be visible. The layers > shows alright, but explorer stops responding. > > I'm using Chameleon 1.0.4 (waiting for 1.99 to upgrade). > Does anyone have any clue what causes this? > > This is my layer definition: > > LAYER > CONNECTIONTYPE OGR > CONNECTION "c:\data\wac\HERITAGE.dgn" > TYPE line > STATUS OFF > NAME "Heritage" > STYLEITEM "AUTO" > > DUMP TRUE > TEMPLATE "ttt" # this isn't used, but needs to be here for queries > TOLERANCE 6 > TOLERANCEUNITS PIXELS > > CLASS > color 255 255 255 > END > END > > > > Regards, > > Jacob > > -- Jeff McKenna GIS Specialist DM Solutions Group Inc. http://www.dmsolutions.ca From ugan@dataworld.co.za Tue May 4 05:24:50 2004 Received: from kwazulu.dataworld.co.za (intraweb.dataworld.co.za [196.33.121.30]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i449OeXo007698 for ; Tue, 4 May 2004 05:24:42 -0400 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C431B9.9CD67190" X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Date: Tue, 4 May 2004 11:24:34 +0200 Message-ID: <00F1D25697A9094BA850427870FC5F051E8004@kwazulu.dataworld.co.za> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: GeoServer compatibility thread-index: AcQxuZyTOft8hVaASJ2TtQb5lyJouw== From: "Ugan" To: X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: ugan@dataworld.co.za X-Mailman-Approved-At: Tue, 04 May 2004 10:12:24 -0400 Subject: [Chameleon] GeoServer compatibility X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2004 09:24:51 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C431B9.9CD67190 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi! =20 Thanks for creating such a great product. I was wondering if instead of Map Server I could use GeoServer. Please let me know ASAP.=20 Thanks. =20 =20 =20 ------_=_NextPart_001_01C431B9.9CD67190 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi!

 

Thanks for creating such a great product. I was = wondering if instead of Map Server I could use = GeoServer.

Please let me know ASAP. =

Thanks.

 

 

 

------_=_NextPart_001_01C431B9.9CD67190-- From pagameba@magma.ca Tue May 4 10:25:56 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i44EPmlQ009995 for ; Tue, 4 May 2004 10:25:48 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i44EPjCp023908; Tue, 4 May 2004 10:25:45 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i44EPgcH030189; Tue, 4 May 2004 10:25:45 -0400 Message-ID: <4097A7DE.60708@magma.ca> Date: Tue, 04 May 2004 10:25:34 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl Subject: Re: [Chameleon] another button question (bug?) References: <20171.212.238.227.182.1083673307.squirrel@webmail.xs4all.nl> In-Reply-To: <20171.212.238.227.182.1083673307.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2004 14:25:57 -0000 Bart, how does this generate an error message? This looks valid to me ... but this is the case when you don't have multi-state buttons I think. It occurs to me that I haven't tested that in a while. Hopefully I will get a chance to check today and let you know. Paul bartvde@xs4all.nl wrote: > Hi list, > > if I use a widget which is not part of a toolset (no toolset attribute > defined for the widget in the template) the code in Button.php appends > some default parameters to the name of the onclick function. This results > in the fact that you will get a javascript error that the corresponding > function is not defined. Is this intentional? > > An example to illustrate what I encountered: >
> > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Tue May 4 10:23:38 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i44ENRlQ009929 for ; Tue, 4 May 2004 10:23:27 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i44ENQCp022485; Tue, 4 May 2004 10:23:26 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i44ENKcH026190; Tue, 4 May 2004 10:23:26 -0400 Message-ID: <4097A750.6050501@magma.ca> Date: Tue, 04 May 2004 10:23:12 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl Subject: Re: [Chameleon] makeButton question References: <13003.212.238.227.182.1083666387.squirrel@webmail.xs4all.nl> In-Reply-To: <13003.212.238.227.182.1083666387.squirrel@webmail.xs4all.nl> Content-Type: multipart/mixed; boundary="------------020203000303090005060502" X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-DMSolutions-MailScanner-SpamScore: s X-MailScanner-From: pagameba@magma.ca X-Mailman-Approved-At: Tue, 04 May 2004 10:26:30 -0400 Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2004 14:23:39 -0000 This is a multi-part message in MIME format. --------------020203000303090005060502 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Bart, the third parameter is the name of the widget that launched the popup. The purpose is to allow the button to find the correct style resource in the session. The style resources are all loaded into the session and each widget creates an entry WIDGETNAMEPOPUPSTYLERESOURCE which is assigned the value of the style resource name to lookup in the session. I've attached the doc I wrote up when making these changes, hopefully it is useful, Paul bartvde@xs4all.nl wrote: > Hi list, > > I am trying to upgrade my old 1.1 widgets to the new button stuff. > > One thing I don't understand is the meaning of the 3th parameter in the > makeButton function (the parameter is called className). > > makeButton( 'CloseWindow', '', 'ExtractWFSData', "images/icon_cancel.png", > > If I use the name of my widget as the value for the third argument, I do > not get buttons. First I thought it would refer to a css class, but this > is not the case as far as I could see. > > How should I interpret this parameter and do I need some tweaks somewhere? > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- --------------020203000303090005060502 Content-Type: text/plain; name="button_changes.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="button_changes.txt" Chameleon Button Architecture The architecture of Chameleon buttons has undergone a significant overhaul to unify and standardize how buttons are created and represented in applications. Prior to this update, there were two separate types of buttons. Each type had advantages and disadvantages. The purpose of this update is to provide a consolidated architecture that has the advantages of both and the disadvantages of neither. Background The two existing button types were TextButtons and NavButtons. TextButton TextButtons are generated on the fly from configuration information provided in the application template and have significant flexibility. They were designed to provide a convenient mechanism for creating customizable and multilingual interfaces without requiring a graphic artist to constantly be regenerating buttons for the application. TextButtons use a common utility called the buttonizer. The buttonizer generates a single image from an array of input parameters. A buttonizer button consists of a border, a background color or image, an image and a label. Most of the parameters are optional, and many are very flexible. For a full description of the capabilities of the buttonizer, see buttonizer.php in common/buttonizer folder. TextButtons use the services of buttonizer to pre-generate a button image from settings in an application template, and these images are cached in a web-accessible location for performance. Once a TextButton with specific characteristics is generated, it will normally not be regenerated unless caching is specifically disabled or the cache directory is emptied. The original implementation of TextButtons were used to represent pretty much every widget that used a button in the application, except Navigational buttons (discussed below). TextButtons ended up as a single clickable image with no fancy javascript image swapping effects, which is a limitation compared to the NavButtons, but also an advantage when designing javascript-minimized applications. The same TextButtons are used in all popup dialog boxes via the services of the CWC2ButtonCache.php file. The original implementation of the caching mechanism for TextButtons was relatively poor and did not take advantage of session management to maximize performance. NavButton NavButtons use Button.php to manage multi-state 'clickable' buttons from a set of pre-generated images. This provides a more user-friendly interface, and can look very nice. However, this approach suffered from a number of drawbacks. The javascript for the buttons was embedded in the application page rather than being loaded via a (browser cachable) .js file. The button images had to be pre-rendered by a graphic artist, so even small changes to the interface required generating several images for each navigation tool. Finally, there was no way to not use javascript with the buttons. The NavButton did have one additional useful trait, it was possible to group NavButtons using a toolset attribute to make them work as 'radio' buttons. Button Requirements >From the existing capabilities of TextButton and NavButton, the following requirements were derived: * All buttons need to use the buttonizer * All buttons need to be multi-state capable * All buttons need to be able to minimize javascript * Multi-state code needs to be moved into a separate js file * Buttons need to work in popup dialogs * Buttons in popup dialogs need to be able to be styled from the application template. * Buttons need to support multiple types of buttons, including radio (single button selected in a group), toggle (the button is on or off and remembers it's state), and click (a single use button). Button Implementation Impact on Application Developers The implementation of the new Buttons necessitated changes to pretty much every widget in Chameleon (there were a few widgets that didn't change because they have no user interface). The biggest change from the previous version are primarily in the TextButton SharedResource and changes to the widget attributes relating to Buttons. Buttons now understand the notion of 'button state', and every button can have either a single state (the default state, called 'normal') or multiple states. The multiple states that are allowed are: * normal - the style of the button when it is not activated and the user is not hovering over the button * hover - the style of the button when the user moves the mouse over the button * selected - the style of the button when it is activated (clicked in) * disabled - the style of the button when it cannot be used. Buttons can be of several types, including: * radio - the button is part of a toolset. All widgets supporting buttons now get a 'toolset' attribute and if it is set, then the button is automatically turned into a radio button regardless of the widget's built in type. A radio button is a sticky button that stays selected until a different button in the same group is activated. A radio button that is activate cannot be re-activated until it has been first deactivated by clicking another button. If there is only a single button in a toolset, this may cause problems because the tool will only be selectable once. A future enhancement may address this issue. * toggle - a toggle button is a sticky button that remembers its state when clicked. Clicking a selected toggle button 'turns it off' by returning the button to its normal state. * normal TextButton SharedResource The TextButton SharedResource has changed significantly. First of all, it is no longer necessary to name the TextButton SharedResource "TextButton". Every widget now refers to a SharedResource by name, so different buttons can easily use different TextButton SharedResources. The structure of the SharedResource has also changed significantly. The existing structure will still work without modification, but in order to support multi-state buttons, a new sub-eleemnt called 'state' has been added. The new structure of a TextButton SharedResource looks like: The values from the main block of the SharedResource form the default values for all states. If no tags are included then a default "normal" state is created from the default values. Otherwise, states are created from each tag and initialized using the defaults then overloaded using the state-specific settings. Any tag can go in either. Widget Attributes The attributes for widgets have changed. All widget attributes relating to button resources are provided by Button.php (with one exception, for popups, described below). The new attributes are: * styleresource - the name of a SharedResource to use for styling TextButtons. If not set or empty or invalid, then the Button will not be generated using the buttonizer. This means that any 'image' attribute for the widget will be used as is. * image - the name of an image to use for the widget. If 'styleresource' is valid, then the image will be placed in the generated button, otherwise it will be used directly. *NOTE* that for buttonizer, all images MUST be PNGs. GIF images are not supported. If the 'styleresource' is not valid or empty or missing, then the image will be output as is, so any browser-supported format would be okay. * imagewidth - the width of the final image. If the styleresource is valid, then this is the width of the buttonized image. If it is not valid, then it is the width of the IMAGE attribute. In either case, it will be output in the WIDTH attribute of an IMG tag. * imageheight - the height of the final image. If the styleresource is valid, then this is the height of the buttonized image. If it is not valid, then it is the height of the IMAGE attribute. In either case, it will be output in the HEIGHT attribute of an IMG tag. * imagetip - the 'tooltip' text to be displayed when the mouse is over the image, using the ALT and TITLE attributes of the IMG tag. * labelalign - the alignment of the label, overrides the styleresource setting for labelalign. * toolset - the name of a group of radio buttons. If not set, or set to an empty string, then the button acts as specified by the widget designer, otherwise it becomes a radio button within this group. * default - for radio buttons and toggle buttons, this determines if a button will start selected or not. Only one widget can be considered the default for a group. Setting to false or empty or omitting entirely means the button will not be selected. If more than one button in the same toolset has the default attribute set to true, one of them will end up being selected but it is not generally possible to determine which one because it depends on widget priorities and order in the template. * onclick - the javascript function to call when the button is clicked. This must be a standalone javascript function. Methods on objects will not work (i.e. window.close) will not work. The javascript function does not include the parentheses () or any parameters There is one additional attribute that applies to widgets with Popup windows. This is: * popupstyleresource - the name of a SharedResource to use for styling Buttons in Popup dialogs. If not set, it will use the styleresource. If this isn't set, then the buttons will appear as plain text, pretty ugly !!! Button Implementation Impact on Widget Developers This section is for people who are building or maintaining widgets and want to know how the button implementation changes affect widget internal code. There are four sections: * Includes - what you need to include() in your widget code * Initialization Phase - what needs to be done to create and initialize a button for the widget. * Processing Phase - what needs to be done in the ParseURL function * Rendering Phase - what needs to be done for widgets in the various Get*** functions and DrawPublish() Includes All widgets can now access the new style of buttons (in fact, must access the new style of buttons) by includeing Button.php. This provides the class definition of CWCButton. include( "Button.php" ); Initialization Phase In order to represent a widget using a button, the widget must create an instance of the CWCButton class as a member variable of the widget and properly initialize the button instance. The widget should (this is not mandatory, but is part of the coding style for Chameleon) declare a member variable in the widget class definition as follows: class MyWidget { var $moButton; ... In the widget constructor, a new button instance can be created using: function MyWidget() { $this->moButton = new CWCButton($this); } You can optionally set the button type using $this->moButton->mnType. mnType can be one of * CWCBUTTONTYPE_CLICK - a normal clickable button * CWCBUTTONTYPE_TOGGLE - a button that remembers its state (in or out) and is sticky * CWCBUTTONTYPE_RADIO - a button that is part of a group of buttons. Normally, it is not necessary to set this as a button that becomes part of a group of buttons is changed to a radio button automatically. In the widget's InitDefaults() method, the button must be given a chance to initialize itself. This involves calling the InitDefaults method of the button object and (normally) setting the onclick event of the button. The SetOnClick function must be called either during Initialization or during Processing. Previously, TextButtons could set the onclick event just before the DrawPublish method was called. This no longer works!!! The onclick function is called with a javascript object representing the button as its first parameter. There is currently no way to pass parameters to javascript functions by widget attributes, but if this is implemented, they will be passed as the second (and subsequent) parameters. function InitDefaults() { $this->moButton->InitDefaults(); $this->moButton->SetOnClick( 'myJSFunction', 'myParam' ); } Processing Phase The processing phase of widgets is all done in the ParseURL function. If a button is either a toggle button or part of a toolset, this is actually managed via HTML form variables and the button code needs access to the URL in order to determine which buttons should be pre-selected when the page is loaded. Because any button can be part of a toolset (whether it makes sense or not), every widget that has a button object should add the following to its ParseURL function: function ParseURL() { $this->moButton->ParseURL(); } Rendering Phase During the rendering phase, the Chameleon core calls several functions for every widget to get HTML variables, javascript code, and the final HTML representation of the widget. Widgets that include buttons must pass some of these calls on to the button instance to allow it to properly represent itself in the page. In particular, the widget must implement function GetJavascriptInitFunctions() { $aReturn = $this->moButton->GetJavascriptInitFunctions(); // add other init functions here if necessary return $aReturn; } function GetJavascriptVariables() { $aReturn = $this->moButton->GetJavascriptVariables(); //add other variables here if necessary return $aReturn; } function GetJavascriptOnLoadFunctions() { $aReturn = $this->moButton->GetJavascriptOnLoadFunctions(); //add other OnLoad functions here if necessary return $aReturn; } function GetJavascriptIncludeFunctions() { $aReturn = $this->moButton->GetJavascriptIncludeFunctions(); //add other Include functions here if necessary return $aReturn; } function GetHTMLHiddenVariables() { $aReturn = $this->moButton->GetHTMLHiddenVariables(); //add other HTML hidden variables here if necessary return $aReturn; } function GetJavascriptFunctions() { $aReturn = $this->moButton->GetJavascriptFunctions(); //add other Javascript functions here return $aReturn; } function DrawPublish() { $szResult = $this->moButton->DrawPublish(); //add other rendering code as required return $szResult; } } Complete Example The following is a complete example of a widget that does nothing but is properly configured to represent itself as a button: include( "Widget.php" ); include( "Button.php" ); class MyWidget extends CWCWidget { var $moButton; function MyWidget() { $this->moButton = new CWCButton($this); } function InitDefaults() { $this->moButton->InitDefaults(); $this->moButton->SetOnClick( 'myJSFunction' ); } function ParseURL() { $this->moButton->ParseURL(); } function GetJavascriptInitFunctions() { $aReturn = $this->moButton->GetJavascriptInitFunctions(); // add other init functions here if necessary return $aReturn; } function GetJavascriptVariables() { $aReturn = $this->moButton->GetJavascriptVariables(); //add other variables here if necessary return $aReturn; } function GetJavascriptOnLoadFunctions() { $aReturn = $this->moButton->GetJavascriptOnLoadFunctions(); //add other OnLoad functions here if necessary return $aReturn; } function GetJavascriptIncludeFunctions() { $aReturn = $this->moButton->GetJavascriptIncludeFunctions(); //add other Include functions here if necessary return $aReturn; } function GetHTMLHiddenVariables() { $aReturn = $this->moButton->GetHTMLHiddenVariables(); //add other HTML hidden variables here if necessary return $aReturn; } function GetJavascriptFunctions() { $aReturn = $this->moButton->GetJavascriptFunctions(); //add other Javascript functions here $szFunctionName = "myJSFunction"; $szFunction = <<moButton->DrawPublish(); //add other rendering code as required return $szResult; } } Popup Dialogs Widgets that provide a Popup dialog as part of the widget (i.e. clicking a button to open a dialog) need some modifications to work correctly. Popup support is provided by Popup.php. This document does not describe how to set up a widget to provide popup services, just what changes are required in relation to Buttons to get Popups to work correctly. The changes are in two separate parts, first in the widget code and second in the code for the popup dialog. Widget Changes In order to get Popups to launch correctly, it is necessary to create a javascript function to open the Popup dialog. The Popup object handles most of this for the developer, but in any particular widget, you will need to output a javascript function that encapsulates the javascript provided by the Popup object. It is this function that should be set as the Button's onclick event. The previous example could be modified as follows: function GetJavascriptFunctions() { $aReturn = $this->moButton->GetJavascriptFunctions(); $this->moPopup->mszLink = "widgets/myWidgetPopup.phtml"; $szFunctionName = "myJSFunction"; $szButtonJS = $this->moPopup->DrawPublish(); $szFunction = << To enable javascript buttons (multi-state), you will need to include the js files as follows somewhere in the section of the page. To output a button on the page at any location (in the BODY section), break to php (using the tags) and echo the results of a call to the makeButton function provided by CWC2ButtonCache. This function gets the information about how to render buttons from the PHP session, and uses the values from the original SharedResource specified as the popupstyleresource. The makeButton function takes the following parameters: * jsFunction - the name of a javascript function to call. It must be a function. If you want to close the window, you cannot call window.close, you must have a javascript function that calls window.close and then pass the name of the function to makeButton. Note that this is the name of the function only and cannot include the parentheses (). * jsParams - the parameters to pass to the javascript function. The javascript object representing the button is passed as the first parameter, the remaining params are passed second. It is only possible to pass a single parameter. If you need to pass multiple parameters, pass them as an array ... 'new Array( param, param2 )' * widgetname - the name of the widget for which this is a popup. This is very important and is used to retrieve the style resources for the buttons. * image - the image to put on the button * label - the label to put on the button, should be obtained from an MLT object to ensure that multilingual interfaces are respected. * imagetip - the tooltip to display when the mouse is over the button * extraparams - an array of buttonizer parameters to override the values obtained from the SharedResource values. Often this will just be the image with. A complete example follows: get("Zoom", "Zoom")), trim($oCommonMLT->get("ZoomRectTip", "Zoom to Bounding Coordinates")), array( 'width' => 75 )); ?> --------------020203000303090005060502-- From bartvde@xs4all.nl Tue May 4 10:27:42 2004 Received: from smtp-out4.xs4all.nl (smtp-out4.xs4all.nl [194.109.24.5]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i44ERQlQ010084 for ; Tue, 4 May 2004 10:27:26 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out4.xs4all.nl (8.12.10/8.12.10) with SMTP id i44ERABT006222; Tue, 4 May 2004 16:27:11 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Tue, 4 May 2004 16:27:17 +0200 (CEST) Message-ID: <8799.212.238.227.182.1083680837.squirrel@webmail.xs4all.nl> In-Reply-To: <00F1D25697A9094BA850427870FC5F051E8004@kwazulu.dataworld.co.za> References: <00F1D25697A9094BA850427870FC5F051E8004@kwazulu.dataworld.co.za> Date: Tue, 4 May 2004 16:27:17 +0200 (CEST) Subject: Re: [Chameleon] GeoServer compatibility From: bartvde@xs4all.nl To: "Ugan" User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2004 14:27:43 -0000 Hi, this should be no problem as both use OGC standards (Chameleon and Geoserver). Note that some of the Chameleon functionality depends on SLD WMS functionality, but Geoserver WMS also supports the SLD WMS spec AFAIK. The Query widget which uses OGC GetFeatureInfo might not work as it only parses the Mapserver GML and the Cubewerx type of output AFAIK. Anyway, it should work to a very large extent. Best regards, Bart > Hi! > > > > Thanks for creating such a great product. I was wondering if instead of > Map Server I could use GeoServer. > > Please let me know ASAP. > > Thanks. > > > > > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From bartvde@xs4all.nl Tue May 4 15:22:56 2004 Received: from smtp-out2.xs4all.nl (smtp-out2.xs4all.nl [194.109.24.12]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i44JMelQ011844 for ; Tue, 4 May 2004 15:22:40 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out2.xs4all.nl (8.12.10/8.12.10) with ESMTP id i44JMUgI059787; Tue, 4 May 2004 21:22:31 +0200 (CEST) To: spencer@dmsolutions.ca Subject: Re: [Chameleon] makeButton question References: <13003.212.238.227.182.1083666387.squirrel@webmail.xs4all.nl> <4097A750.6050501@magma.ca> Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Tue, 04 May 2004 21:21:10 +0200 In-Reply-To: <4097A750.6050501@magma.ca> User-Agent: Opera7.23/Win32 M2 build 3227 X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: bartvde@xs4all.nl List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2004 19:22:57 -0000 Hi Paul, okay this explains things. I was set in the wrong direction by the BoundingBoxPopup widget which I used as an example. I was editing in a file named CatalogSearchPopup, so I used CatalogSearchPopup as the value for the 3rd parameter. But the actual widget name is CatalogSearch ofcourse. So but if you supply an invalid argument for the third parameter, you will get a button like this (which creates an invisble button): Locate Place Perhaps a warning should be generated for the widget developer in this specific case? Best regards, Bart On Tue, 04 May 2004 10:23:12 -0400, Paul Spencer wrote: > Bart, > > the third parameter is the name of the widget that launched the popup. > The purpose is to allow the button to find the correct style resource in > the session. The style resources are all loaded into the session and > each widget creates an entry WIDGETNAMEPOPUPSTYLERESOURCE which is > assigned the value of the style resource name to lookup in the session. > > I've attached the doc I wrote up when making these changes, hopefully it > is useful, > > Paul > > bartvde@xs4all.nl wrote: >> Hi list, >> >> I am trying to upgrade my old 1.1 widgets to the new button stuff. >> >> One thing I don't understand is the meaning of the 3th parameter in the >> makeButton function (the parameter is called className). >> >> makeButton( 'CloseWindow', '', 'ExtractWFSData', >> "images/icon_cancel.png", >> >> If I use the name of my widget as the value for the third argument, I do >> not get buttons. First I thought it would refer to a css class, but this >> is not the case as far as I could see. >> >> How should I interpret this parameter and do I need some tweaks >> somewhere? >> >> Best regards, >> Bart >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > -- From bartvde@xs4all.nl Tue May 4 15:29:33 2004 Received: from smtp-out2.xs4all.nl (smtp-out2.xs4all.nl [194.109.24.12]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i44JTOlQ011926 for ; Tue, 4 May 2004 15:29:24 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out2.xs4all.nl (8.12.10/8.12.10) with ESMTP id i44JTMgI063831; Tue, 4 May 2004 21:29:22 +0200 (CEST) To: spencer@dmsolutions.ca Subject: Re: [Chameleon] another button question (bug?) References: <20171.212.238.227.182.1083673307.squirrel@webmail.xs4all.nl> <4097A7DE.60708@magma.ca> Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Tue, 04 May 2004 21:28:01 +0200 In-Reply-To: <4097A7DE.60708@magma.ca> User-Agent: Opera7.23/Win32 M2 build 3227 X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: bartvde@xs4all.nl List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2004 19:29:33 -0000 Hi Paul, this is all a bit of a misunderstandig on my side of how things work. I had set the on click event like this (so including the brackets for the function): $this->moButton->SetOnClick('myfunction()'); and then Chameleon would create this: The function would be called, but would generate a javascript error that myfunction() is not a function. When I leave out the brackets in the SetOnClick function there is no problem. Best regards, Bart On Tue, 04 May 2004 10:25:34 -0400, Paul Spencer wrote: > Bart, > > how does this generate an error message? This looks valid to me ... but > this is the case when you don't have multi-state buttons I think. It > occurs to me that I haven't tested that in a while. Hopefully I will > get a chance to check today and let you know. > > Paul > > > > bartvde@xs4all.nl wrote: > >> Hi list, >> >> if I use a widget which is not part of a toolset (no toolset attribute >> defined for the widget in the template) the code in Button.php appends >> some default parameters to the name of the onclick function. This >> results >> in the fact that you will get a javascript error that the corresponding >> function is not defined. Is this intentional? >> >> An example to illustrate what I encountered: >> >> >> Best regards, >> Bart >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > -- From pagameba@magma.ca Tue May 4 15:49:35 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i44JnSlQ012044 for ; Tue, 4 May 2004 15:49:28 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i44JnSp9006530; Tue, 4 May 2004 15:49:28 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i44JnHNf012987; Tue, 4 May 2004 15:49:28 -0400 Message-ID: <4097F3BC.5090904@magma.ca> Date: Tue, 04 May 2004 15:49:16 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl Subject: Re: [Chameleon] another button question (bug?) References: <20171.212.238.227.182.1083673307.squirrel@webmail.xs4all.nl> <4097A7DE.60708@magma.ca> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2004 19:49:35 -0000 ah yes :) if you want to pass parameters in the onclick, you would now add a second parameter to the SetOnClick as in: $this->moButton->SetOnClick( 'myfunction', 'myvalue' ); which should generate something like: onclick='myfunction(null, 'myvalue'); and you can pass multiple values too, I forget exactly how right now ... but if you need to, let me know and I'll look it up again Cheers, Paul Bart van den Eijnden wrote: > Hi Paul, > > this is all a bit of a misunderstandig on my side of how things work. > > I had set the on click event like this (so including the brackets for > the function): > > $this->moButton->SetOnClick('myfunction()'); > > and then Chameleon would create this: > > > The function would be called, but would generate a javascript error that > myfunction() is not a function. > > When I leave out the brackets in the SetOnClick function there is no > problem. > > Best regards, > Bart > > On Tue, 04 May 2004 10:25:34 -0400, Paul Spencer wrote: > >> Bart, >> >> how does this generate an error message? This looks valid to me ... >> but this is the case when you don't have multi-state buttons I think. >> It occurs to me that I haven't tested that in a while. Hopefully I >> will get a chance to check today and let you know. >> >> Paul >> >> >> >> bartvde@xs4all.nl wrote: >> >>> Hi list, >>> >>> if I use a widget which is not part of a toolset (no toolset attribute >>> defined for the widget in the template) the code in Button.php appends >>> some default parameters to the name of the onclick function. This >>> results >>> in the fact that you will get a javascript error that the corresponding >>> function is not defined. Is this intentional? >>> >>> An example to illustrate what I encountered: >>> >> onclick='onClickServerManagerDialog(null, "")'> >>> >>> Best regards, >>> Bart >>> _______________________________________________ >>> Chameleon mailing list >>> Chameleon@lists.maptools.org >>> http://lists.maptools.org/mailman/listinfo/chameleon >>> >> > > > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From jacob.delfos@maunsell.com Tue May 4 21:00:32 2004 Received: from aumel1gw002.maunsell.com (210-193-148-152.macquarie.net.au [210.193.148.152] (may be forged)) by www.maptools.org (8.12.5/8.12.5) with SMTP id i4510IlR013322 for ; Tue, 4 May 2004 21:00:19 -0400 Received: from aumel1ex001.mel.maunsell.com.au ([172.21.0.15]) by aumel1gw002.maunsell.com (SAVSMTP 3.1.0.29) with SMTP id M2004050511040213791 ; Wed, 05 May 2004 11:04:02 +1000 Received: by aumel1ex001.mel.maunsell.com.au with Internet Mail Service (5.5.2653.19) id ; Wed, 5 May 2004 11:03:13 +1000 Message-ID: From: "Delfos, Jacob" To: "'Jeff McKenna'" Subject: RE: [Chameleon] 'styleitem auto' drives Explorer nuts Date: Wed, 5 May 2004 11:06:23 +1000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: jacob.delfos@maunsell.com Cc: "'chameleon@lists.maptools.org'" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 May 2004 01:00:32 -0000 Hi Jeff, I used mapserver 4.0 to display the data. It seemed to work okay. There were two instances where it appeared to display the same problem, but I wasn't able to reproduce that, so it may have been something else. One funny thing I noticed though.... The colour of items seems to change. As I panned, an object being displayed in green initially, would be blue after the pan. Is that normal? Regards, Jacob -----Original Message----- From: Jeff McKenna [mailto:jmckenna@dmsolutions.ca] Sent: Tuesday, 4 May 2004 8:46 PM To: Delfos, Jacob Cc: 'chameleon@lists.maptools.org' Subject: Re: [Chameleon] 'styleitem auto' drives Explorer nuts Jacob, Have you verified that this only occurs with Chameleon? Have you tried that mapfile with another MapServer application, such as the Itasca demo? Does that same error occur? jeff Delfos, Jacob wrote: > Hi All, > > I got a little problem using the "styleitem auto" functionality. I > have > applied this to two DGN layers. It appears to work OK in Mozilla/Firefox > (though it says it's waiting for a file to load, which it does not > normally do, and gets quite stuck for a while doing so), but explorer > really goes nuts; it seems to be stuck in an infinite loop, or > something. It doesn't respond to anything anymore, and the CPU runs at > 100%. It only happens when I select that layer to be visible. The layers > shows alright, but explorer stops responding. > > I'm using Chameleon 1.0.4 (waiting for 1.99 to upgrade). > Does anyone have any clue what causes this? > > This is my layer definition: > > LAYER > CONNECTIONTYPE OGR > CONNECTION "c:\data\wac\HERITAGE.dgn" > TYPE line > STATUS OFF > NAME "Heritage" > STYLEITEM "AUTO" > > DUMP TRUE > TEMPLATE "ttt" # this isn't used, but needs to be here for queries > TOLERANCE 6 > TOLERANCEUNITS PIXELS > > CLASS > color 255 255 255 > END > END > > > > Regards, > > Jacob > > -- Jeff McKenna GIS Specialist DM Solutions Group Inc. http://www.dmsolutions.ca From dmorissette@dmsolutions.ca Tue May 4 21:27:53 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i451RklQ013556 for ; Tue, 4 May 2004 21:27:46 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i451RkTA021243; Tue, 4 May 2004 21:27:46 -0400 Received: from dmsolutions.ca (gw.chic.digicom.qc.ca [207.96.191.254] (may be forged)) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i451RjF2014186 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 4 May 2004 21:27:46 -0400 Message-ID: <4098430E.1070605@dmsolutions.ca> Date: Tue, 04 May 2004 21:27:42 -0400 From: Daniel Morissette User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Delfos, Jacob" Subject: Re: [Chameleon] 'styleitem auto' drives Explorer nuts References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: dmorissette@dmsolutions.ca Cc: "'chameleon@lists.maptools.org'" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 May 2004 01:27:53 -0000 Delfos, Jacob wrote: > Hi Jeff, > > I used mapserver 4.0 to display the data. It seemed to work okay. There were > two instances where it appeared to display the same problem, but I wasn't > able to reproduce that, so it may have been something else. One funny thing > I noticed though.... The colour of items seems to change. As I panned, an > object being displayed in green initially, would be blue after the pan. Is > that normal? > Probably the color table becoming full with an 8 bits output image format, this issue has been discussed often on themapserver list. Try setting the output image format to "PNG24" and that should fix the colors problem. -- ------------------------------------------------------------ Daniel Morissette dmorissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From bartvde@xs4all.nl Wed May 5 08:02:13 2004 Received: from smtp-out2.xs4all.nl (smtp-out2.xs4all.nl [194.109.24.12]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i45C24E7017001 for ; Wed, 5 May 2004 08:02:05 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out2.xs4all.nl (8.12.10/8.12.10) with SMTP id i45C23iO085978 for ; Wed, 5 May 2004 14:02:03 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Wed, 5 May 2004 14:02:03 +0200 (CEST) Message-ID: <17425.212.238.227.182.1083758523.squirrel@webmail.xs4all.nl> Date: Wed, 5 May 2004 14:02:03 +0200 (CEST) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Subject: [Chameleon] makeButton and using parameters X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 May 2004 12:02:13 -0000 Hi list, sorry for all these button questions the last days, but maybe it will be useful for people upgrading their widgets in the near future (I will post my HOWTO in a few days on this list). I have the following problem. I have 2 buttons created with makeButton in a popup which use the same javascript function but use a different value for the parameter which needs to be passed in the js function, i.e.: get("23", "Download")), trim($oMLT->get("23", "Download")), array( 'width' => 75 )); ?> get("23", "Download")), trim($oMLT->get("23", "Download")), array( 'width' => 75 )); ?> The problem now is that the second button which uses the same javascript function is inactive, i.e. cannot be clicked on and does not hover. Am I doing something wrong? Best regards, Bart From bartvde@xs4all.nl Thu May 6 04:47:12 2004 Received: from smtp-out4.xs4all.nl (smtp-out4.xs4all.nl [194.109.24.5]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i468l5E7023226 for ; Thu, 6 May 2004 04:47:05 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out4.xs4all.nl (8.12.10/8.12.10) with SMTP id i468kwBT096157 for ; Thu, 6 May 2004 10:47:03 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Thu, 6 May 2004 10:47:03 +0200 (CEST) Message-ID: <16022.212.238.227.182.1083833223.squirrel@webmail.xs4all.nl> Date: Thu, 6 May 2004 10:47:03 +0200 (CEST) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Subject: [Chameleon] WMSBrowser: SRS X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 May 2004 08:47:13 -0000 Hi list, I got the WMSBrowser widget to work (such a cool widget BTW), but I had some problems changing the SRS that the WMSBrowser widget uses. It uses by default lat/lon (EPSG:4326) even if your main Chameleon application is in a different SRS. It also uses the LatLonBoundingBox from the capabilities to determine the extents in the preview. Are there any plans to incorporate a SRS attribute into the WMSBrowser widget? I had to hardcode some changes to fit the Dutch RD system into the WMSBrowser widget. Oh, and don't forget to set the following attribute if you plan on using it (it took me some time to figure out why my list of servers was not in the widget): WMSCACHEDIRECTORY="/ms4w/apps/chameleon/data" Best regards, Bart From pagameba@magma.ca Thu May 6 06:58:05 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i46Avv69024118 for ; Thu, 6 May 2004 06:57:57 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i46Avsl7015556; Thu, 6 May 2004 06:57:55 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i46AvpPa012413; Thu, 6 May 2004 06:57:53 -0400 Message-ID: <409A1A2D.6020807@magma.ca> Date: Thu, 06 May 2004 06:57:49 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl Subject: Re: [Chameleon] WMSBrowser: SRS References: <16022.212.238.227.182.1083833223.squirrel@webmail.xs4all.nl> In-Reply-To: <16022.212.238.227.182.1083833223.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 May 2004 10:58:06 -0000 Bart, I'll look at adding an SRS parameter to the widget tag and I'll see if the WMSCACHEDIRECTORY should be a mandatory attribute. Paul bartvde@xs4all.nl wrote: > Hi list, > > I got the WMSBrowser widget to work (such a cool widget BTW), but I had > some problems changing the SRS that the WMSBrowser widget uses. > > It uses by default lat/lon (EPSG:4326) even if your main Chameleon > application is in a different SRS. It also uses the LatLonBoundingBox from > the capabilities to determine the extents in the preview. > > Are there any plans to incorporate a SRS attribute into the WMSBrowser > widget? > > I had to hardcode some changes to fit the Dutch RD system into the > WMSBrowser widget. > > Oh, and don't forget to set the following attribute if you plan on using > it (it took me some time to figure out why my list of servers was not in > the widget): > WMSCACHEDIRECTORY="/ms4w/apps/chameleon/data" > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From bartvde@xs4all.nl Thu May 6 08:22:59 2004 Received: from smtp-out3.xs4all.nl (smtp-out3.xs4all.nl [194.109.24.13]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i46CMl69024699 for ; Thu, 6 May 2004 08:22:48 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out3.xs4all.nl (8.12.10/8.12.10) with SMTP id i46CMXYd029958 for ; Thu, 6 May 2004 14:22:47 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Thu, 6 May 2004 14:22:47 +0200 (CEST) Message-ID: <13470.212.238.227.182.1083846167.squirrel@webmail.xs4all.nl> In-Reply-To: <409A1A2D.6020807@magma.ca> References: <16022.212.238.227.182.1083833223.squirrel@webmail.xs4all.nl> <409A1A2D.6020807@magma.ca> Date: Thu, 6 May 2004 14:22:47 +0200 (CEST) Subject: Re: [Chameleon] WMSBrowser: SRS From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 May 2004 12:22:59 -0000 Hi Paul, great. I have another question about the WMSBrowser widget. Our customer wants a situation in which not every user of an application has rights on the Manage Servers widget. But all users should have access to the WMSBrowser widget in order to be able to add external layers to their application. Is there an easy way to use a widget parameter to optionally include the "Manage Servers" into the WMSBrowser dialog? BTW: there is a small javascript error in mapbrowser_iframe_en.html: if (obj.options[i].value == documents.forms[0].WMSSERVERS.value) documents should be document (you won't notice it in Mozilla, but in IE it prevents the Manage Servers dialog from popping up). Best regards, Bart > Bart, > > I'll look at adding an SRS parameter to the widget tag and I'll see if > the WMSCACHEDIRECTORY should be a mandatory attribute. > > Paul > > bartvde@xs4all.nl wrote: > >> Hi list, >> >> I got the WMSBrowser widget to work (such a cool widget BTW), but I had >> some problems changing the SRS that the WMSBrowser widget uses. >> >> It uses by default lat/lon (EPSG:4326) even if your main Chameleon >> application is in a different SRS. It also uses the LatLonBoundingBox >> from >> the capabilities to determine the extents in the preview. >> >> Are there any plans to incorporate a SRS attribute into the WMSBrowser >> widget? >> >> I had to hardcode some changes to fit the Dutch RD system into the >> WMSBrowser widget. >> >> Oh, and don't forget to set the following attribute if you plan on using >> it (it took me some time to figure out why my list of servers was not in >> the widget): >> WMSCACHEDIRECTORY="/ms4w/apps/chameleon/data" >> >> Best regards, >> Bart >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > > -- > ----------------------------------------------------------------- > |Paul Spencer pspencer@dmsolutions.ca | > |-----------------------------------------------------------------| > |Applications & Software Development | > |DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From pagameba@magma.ca Thu May 6 08:39:53 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i46Cdj69024793 for ; Thu, 6 May 2004 08:39:45 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i46Cdil7005553; Thu, 6 May 2004 08:39:44 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i46CddFO018975; Thu, 6 May 2004 08:39:43 -0400 Message-ID: <409A3209.3080508@magma.ca> Date: Thu, 06 May 2004 08:39:37 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl Subject: Re: [Chameleon] WMSBrowser: SRS References: <16022.212.238.227.182.1083833223.squirrel@webmail.xs4all.nl> <409A1A2D.6020807@magma.ca> <13470.212.238.227.182.1083846167.squirrel@webmail.xs4all.nl> In-Reply-To: <13470.212.238.227.182.1083846167.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 May 2004 12:39:54 -0000 Bart, bartvde@xs4all.nl wrote: > Hi Paul, > > great. > > I have another question about the WMSBrowser widget. > > Our customer wants a situation in which not every user of an application > has rights on the Manage Servers widget. But all users should have access > to the WMSBrowser widget in order to be able to add external layers to > their application. > > Is there an easy way to use a widget parameter to optionally include the > "Manage Servers" into the WMSBrowser dialog? > um ... there are two modes of operation, one where the widget modifies the actual cache, and one where the cache is copied to the users session and changes made by the user only persist for the session. USEUSERSESSION=[true|false] in the WMSBrowser widget tag. We could also add a 'MANAGESERVERS=[true|false]' but the question would be how to control that on a user basis ... are the users coming from a portal? If yes, then I see two choices: 1. two application templates chosen based on user, one which allows editing and one which doesn't 2. use template replacements as in: USEUSERSESSION="[$bManageServers$]" The value of [$bManageServers$] will be replaced with the value of bManageServers from the URL (get or post) request ... (same could be done if we put in a 'manageservers=[true|false]' > BTW: there is a small javascript error in mapbrowser_iframe_en.html: > > if (obj.options[i].value == documents.forms[0].WMSSERVERS.value) > > documents should be document (you won't notice it in Mozilla, but in IE it > prevents the Manage Servers dialog from popping up). > found that yesterday, fix in cvs :) > Best regards, > Bart > > >>Bart, >> >>I'll look at adding an SRS parameter to the widget tag and I'll see if >>the WMSCACHEDIRECTORY should be a mandatory attribute. >> >>Paul >> >>bartvde@xs4all.nl wrote: >> >> >>>Hi list, >>> >>>I got the WMSBrowser widget to work (such a cool widget BTW), but I had >>>some problems changing the SRS that the WMSBrowser widget uses. >>> >>>It uses by default lat/lon (EPSG:4326) even if your main Chameleon >>>application is in a different SRS. It also uses the LatLonBoundingBox >>>from >>>the capabilities to determine the extents in the preview. >>> >>>Are there any plans to incorporate a SRS attribute into the WMSBrowser >>>widget? >>> >>>I had to hardcode some changes to fit the Dutch RD system into the >>>WMSBrowser widget. >>> >>>Oh, and don't forget to set the following attribute if you plan on using >>>it (it took me some time to figure out why my list of servers was not in >>>the widget): >>>WMSCACHEDIRECTORY="/ms4w/apps/chameleon/data" >>> >>>Best regards, >>>Bart >>>_______________________________________________ >>>Chameleon mailing list >>>Chameleon@lists.maptools.org >>>http://lists.maptools.org/mailman/listinfo/chameleon >>> >> >>-- >> ----------------------------------------------------------------- >>|Paul Spencer pspencer@dmsolutions.ca | >>|-----------------------------------------------------------------| >>|Applications & Software Development | >>|DM Solutions Group Inc http://www.dmsolutions.ca/| >> ----------------------------------------------------------------- >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Fri May 7 07:55:51 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i47BtgRa032509 for ; Fri, 7 May 2004 07:55:42 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i47Btf2t032186 for ; Fri, 7 May 2004 07:55:41 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i47BtbAF013635 for ; Fri, 7 May 2004 07:55:41 -0400 Message-ID: <409B7936.9070903@magma.ca> Date: Fri, 07 May 2004 07:55:34 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "chameleon@lists.maptools.org" Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Subject: [Chameleon] chameleon cvs X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 May 2004 11:55:52 -0000 All, Chameleon in cvs is now fixed up and reasonably stable. This means that we are now on a short path to the first beta release for Chameleon 1.99. There are a few known issues with some of the widgets, I will be starting to document them in bugzilla shortly. If you find any issues with the cvs version, please report them on this list or directly to bugzilla. Once the beta is released, we will take some time to look through the issues in bugzilla and resolve as many as practical/necessary to get a new beta or release candidate out the door, Thanks for your patience, Paul -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From bartvde@xs4all.nl Fri May 7 08:22:37 2004 Received: from smtp-out5.xs4all.nl (smtp-out5.xs4all.nl [194.109.24.6]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i47CMTRa032765 for ; Fri, 7 May 2004 08:22:30 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out5.xs4all.nl (8.12.10/8.12.10) with SMTP id i47CMN3Z017363 for ; Fri, 7 May 2004 14:22:29 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Fri, 7 May 2004 14:22:29 +0200 (CEST) Message-ID: <19296.212.238.227.182.1083932549.squirrel@webmail.xs4all.nl> Date: Fri, 7 May 2004 14:22:29 +0200 (CEST) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Subject: [Chameleon] problem with ExpressionBuilder X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 May 2004 12:22:38 -0000 Hi list, I have a problem with the ExpressionBuilder in 1.99 which did not occur in Chameleon 1.1 (I did not check the current CVS yet though). What happens is that a request is sent to Mapserver and the famous red cross occurs in the map. I have tried to narrow down the problem by examining the difference in the session MAP files, and this is what I noticed: Chameleon 1.1: "wfs_filter" "Name-79153.5714286,305000 369153.571429,619000INWONERS50000" Chameleon 1.99: "wfs_filter" "Name-143835.446429,259775 433835.446429,664225INWONERS50000" So my guess is that the problem is in the filter which is sent to Mapserver. Any thoughts? Best regards, Bart From bartvde@xs4all.nl Fri May 7 09:20:06 2004 Received: from smtp-out1.xs4all.nl (smtp-out1.xs4all.nl [194.109.24.11]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i47DJvRa000735 for ; Fri, 7 May 2004 09:19:58 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out1.xs4all.nl (8.12.10/8.12.10) with SMTP id i47DJpVC006095; Fri, 7 May 2004 15:19:51 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Fri, 7 May 2004 15:19:57 +0200 (CEST) Message-ID: <12288.212.238.227.182.1083935997.squirrel@webmail.xs4all.nl> In-Reply-To: <19296.212.238.227.182.1083932549.squirrel@webmail.xs4all.nl> References: <19296.212.238.227.182.1083932549.squirrel@webmail.xs4all.nl> Date: Fri, 7 May 2004 15:19:57 +0200 (CEST) Subject: Re: [Chameleon] problem with ExpressionBuilder From: bartvde@xs4all.nl To: bartvde@xs4all.nl User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 May 2004 13:20:06 -0000 Seems to work in CVS. Sorry for the post. Best regards, Bart > Hi list, > > I have a problem with the ExpressionBuilder in 1.99 which did not occur in > Chameleon 1.1 (I did not check the current CVS yet though). > > What happens is that a request is sent to Mapserver and the famous red > cross occurs in the map. > > I have tried to narrow down the problem by examining the difference in the > session MAP files, and this is what I noticed: > > Chameleon 1.1: > "wfs_filter" " SRS=EPSG:28992>Name-79153.5714286,305000 > 369153.571429,619000INWONERS50000" > > Chameleon 1.99: > "wfs_filter" "Name srsName='EPSG:28992'>-143835.446429,259775 > 433835.446429,664225INWONERS50000" > > So my guess is that the problem is in the filter which is sent to > Mapserver. > > Any thoughts? > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From bartvde@xs4all.nl Fri May 7 10:10:44 2004 Received: from smtp-out5.xs4all.nl (smtp-out5.xs4all.nl [194.109.24.6]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i47EAZRa001143 for ; Fri, 7 May 2004 10:10:35 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out5.xs4all.nl (8.12.10/8.12.10) with SMTP id i47EAW3Z030198; Fri, 7 May 2004 16:10:32 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Fri, 7 May 2004 16:10:33 +0200 (CEST) Message-ID: <21115.212.238.227.182.1083939033.squirrel@webmail.xs4all.nl> In-Reply-To: <409B7936.9070903@magma.ca> References: <409B7936.9070903@magma.ca> Date: Fri, 7 May 2004 16:10:33 +0200 (CEST) Subject: Re: [Chameleon] chameleon cvs From: bartvde@xs4all.nl To: spencer@dmsolutions.ca User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Cc: "chameleon@lists.maptools.org" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 May 2004 14:10:44 -0000 Hi Paul, I guess I am the first one to try :-) One problem I face is that there must have been some kind of change in the PopupCSS sharedresource. I used to have a relative URL in it, like: Now it seems to want a file system path instead, but I can't get it to work. Hopefully you can explain how to use this now Paul. Best regards, Bart > All, > > Chameleon in cvs is now fixed up and reasonably stable. This means that > we are now on a short path to the first beta release for Chameleon 1.99. > > There are a few known issues with some of the widgets, I will be > starting to document them in bugzilla shortly. If you find any issues > with the cvs version, please report them on this list or directly to > bugzilla. > > Once the beta is released, we will take some time to look through the > issues in bugzilla and resolve as many as practical/necessary to get a > new beta or release candidate out the door, > > Thanks for your patience, > > Paul > -- > ----------------------------------------------------------------- > |Paul Spencer pspencer@dmsolutions.ca | > |-----------------------------------------------------------------| > |Applications & Software Development | > |DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From pagameba@magma.ca Fri May 7 10:38:09 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i47Ec0Ra001294 for ; Fri, 7 May 2004 10:38:00 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i47Ebqs9002867; Fri, 7 May 2004 10:37:52 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i47Ebhga032379; Fri, 7 May 2004 10:37:52 -0400 Message-ID: <409B9F34.6070702@magma.ca> Date: Fri, 07 May 2004 10:37:40 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl Subject: Re: [Chameleon] chameleon cvs References: <409B7936.9070903@magma.ca> <21115.212.238.227.182.1083939033.squirrel@webmail.xs4all.nl> In-Reply-To: <21115.212.238.227.182.1083939033.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: "chameleon@lists.maptools.org" , spencer@dmsolutions.ca X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 May 2004 14:38:09 -0000 Bart, I see the problem but I am not sure what the correct fix is. The PopupCSS is probably being interpreted as a file system path relative to your application directory and then being converted into a URL. This requires a couple of things to be set up correctly and this may be what is causing the problem. First, you will need to set the PopupCSS to a file system path, optionally relative to your application directory (i.e. the location of index.phtml) You may need to explicitly set the following variables: $GLOBALS['gszAppPath'] = "c:/ Hi Paul, > > I guess I am the first one to try :-) > > One problem I face is that there must have been some kind of change in the > PopupCSS sharedresource. > > I used to have a relative URL in it, like: > value="/geoservices05/popup.css"/> > > Now it seems to want a file system path instead, but I can't get it to work. > > Hopefully you can explain how to use this now Paul. > > Best regards, > Bart > > >>All, >> >>Chameleon in cvs is now fixed up and reasonably stable. This means that >>we are now on a short path to the first beta release for Chameleon 1.99. >> >>There are a few known issues with some of the widgets, I will be >>starting to document them in bugzilla shortly. If you find any issues >>with the cvs version, please report them on this list or directly to >>bugzilla. >> >>Once the beta is released, we will take some time to look through the >>issues in bugzilla and resolve as many as practical/necessary to get a >>new beta or release candidate out the door, >> >>Thanks for your patience, >> >>Paul >>-- >> ----------------------------------------------------------------- >>|Paul Spencer pspencer@dmsolutions.ca | >>|-----------------------------------------------------------------| >>|Applications & Software Development | >>|DM Solutions Group Inc http://www.dmsolutions.ca/| >> ----------------------------------------------------------------- >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From godwinl@agr.gc.ca Fri May 7 10:40:03 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i47EdqRa001374 for ; Fri, 7 May 2004 10:39:52 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i47EXqrn029308 for ; Fri, 7 May 2004 10:33:52 -0400 Received: from ncrxem6 (webshieldout.agr.gc.ca [10.117.15.110]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with SMTP id i47EbVwT016618 for ; Fri, 7 May 2004 10:37:31 -0400 Received: From agr.gc.ca ([10.117.15.106]) by ncrxem6 (WebShield SMTP v4.5 MR1a); id 1083940925875; Fri, 7 May 2004 10:42:05 -0400 Received: from AGCAN-MTA by agr.gc.ca with Novell_GroupWise; Fri, 07 May 2004 10:38:37 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.2 Date: Fri, 07 May 2004 10:38:31 -0400 From: "Liz Godwin" To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: godwinl@agr.gc.ca Subject: [Chameleon] maptips/projectionselector in cvs X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 May 2004 14:40:03 -0000 Not the only one.... I've been playing all week with cvs, checking daily for little changes. The samples good fantastic! Anyway... I don't really need this feature right now, but I was just playing.. the maptips don't seem to work for me in the enhanced sample, in either Firefox or IE. I dont' know what error message to give you, I don't get any. I open th emaptips window, add a maptip (only accepts for one layer), click ok, and then the main application window processes, and then when i hover over the map, nothing happens. I also don't know what is supposed to happen. I just thoiught I'd comment here anyway in case it was of any use. Also.. I haven't been able to use the ProjectionSelector widget in the samples or my own apps. I get an error when I try: Fatal error: [MapServer Error]: msSaveMap(): (/tmp/ttt1.map) in C:\ms4w\apps\chameleon\htdocs\common\wrapper\map_session.php on line 295 Cheers, Liz >>> 05/07/04 10:10AM >>> Hi Paul, I guess I am the first one to try :-) One problem I face is that there must have been some kind of change in the PopupCSS sharedresource. I used to have a relative URL in it, like: Now it seems to want a file system path instead, but I can't get it to work. Hopefully you can explain how to use this now Paul. Best regards, Bart > All, > > Chameleon in cvs is now fixed up and reasonably stable. This means that > we are now on a short path to the first beta release for Chameleon 1.99. > > There are a few known issues with some of the widgets, I will be > starting to document them in bugzilla shortly. If you find any issues > with the cvs version, please report them on this list or directly to > bugzilla. > > Once the beta is released, we will take some time to look through the > issues in bugzilla and resolve as many as practical/necessary to get a > new beta or release candidate out the door, > > Thanks for your patience, > > Paul > -- > ----------------------------------------------------------------- > |Paul Spencer pspencer@dmsolutions.ca | > |-----------------------------------------------------------------| > |Applications & Software Development | > |DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From bartvde@xs4all.nl Fri May 7 11:07:28 2004 Received: from smtp-out2.xs4all.nl (smtp-out2.xs4all.nl [194.109.24.12]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i47F7IRa001636 for ; Fri, 7 May 2004 11:07:18 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out2.xs4all.nl (8.12.10/8.12.10) with SMTP id i47F77X1086555; Fri, 7 May 2004 17:07:07 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Fri, 7 May 2004 17:07:16 +0200 (CEST) Message-ID: <5402.212.238.227.182.1083942436.squirrel@webmail.xs4all.nl> In-Reply-To: <409B9F34.6070702@magma.ca> References: <409B7936.9070903@magma.ca><21115.212.238.227.182.1083939033.squirrel@webmail.xs4all.nl> <409B9F34.6070702@magma.ca> Date: Fri, 7 May 2004 17:07:16 +0200 (CEST) Subject: Re: [Chameleon] chameleon cvs From: bartvde@xs4all.nl To: spencer@dmsolutions.ca User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Cc: spencer@dmsolutions.ca, "chameleon@lists.maptools.org" , bartvde@xs4all.nl X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 May 2004 15:07:28 -0000 Hi Paul, it works when I use the following ($_SESSION instead of $GLOBALS): $_SESSION['gszAppPath'] = "/ms4w/apps/geoservices05/htdocs"; $_SESSION['gszAppWebPath'] = "http://localhost/geoservices05"; and: Note that I had to use C: in the beginning of my value as the string compare is case-sensitive in (strncmp) and as the gszAppPath is changed to a real drive letter. I first tried using: but this does not work because of the above-mentioned. (Personally I preferred the old way with a relative URL). Best regards, Bart > Bart, > > I see the problem but I am not sure what the correct fix is. The > PopupCSS is probably being interpreted as a file system path relative to > your application directory and then being converted into a URL. This > requires a couple of things to be set up correctly and this may be what > is causing the problem. > > First, you will need to set the PopupCSS to a file system path, > optionally relative to your application directory (i.e. the location of > index.phtml) > > You may need to explicitly set the following variables: > > $GLOBALS['gszAppPath'] = "c:/ $GLOBALS['gszAppWebPath'] = "http://"; > > What chameleon is trying to do is calculate a full path to popup.css and > comparing it to gszAppPath and if it finds a match then it converts it > to a url by removing the gszAppPath and adding the gszAppWebPath. > > The logic may not yet be perfect, and chameleon may not be calculating > the location of gszAppPath and gszAppWebPath correctly. If you make the > above change and it works then I will focus on the auto-configuration of > gszAppPath and gszAppWebPath. Otherwise I will look at the path > conversion logic > > You may be able to provide a fully qualified url to the css file and it > should work (http://), but there may be problems with that too, not sure > yet. > > Cheers, > > Paul > > bartvde@xs4all.nl wrote: > >> Hi Paul, >> >> I guess I am the first one to try :-) >> >> One problem I face is that there must have been some kind of change in >> the >> PopupCSS sharedresource. >> >> I used to have a relative URL in it, like: >> > value="/geoservices05/popup.css"/> >> >> Now it seems to want a file system path instead, but I can't get it to >> work. >> >> Hopefully you can explain how to use this now Paul. >> >> Best regards, >> Bart >> >> >>>All, >>> >>>Chameleon in cvs is now fixed up and reasonably stable. This means that >>>we are now on a short path to the first beta release for Chameleon 1.99. >>> >>>There are a few known issues with some of the widgets, I will be >>>starting to document them in bugzilla shortly. If you find any issues >>>with the cvs version, please report them on this list or directly to >>>bugzilla. >>> >>>Once the beta is released, we will take some time to look through the >>>issues in bugzilla and resolve as many as practical/necessary to get a >>>new beta or release candidate out the door, >>> >>>Thanks for your patience, >>> >>>Paul >>>-- >>> ----------------------------------------------------------------- >>>|Paul Spencer pspencer@dmsolutions.ca | >>>|-----------------------------------------------------------------| >>>|Applications & Software Development | >>>|DM Solutions Group Inc http://www.dmsolutions.ca/| >>> ----------------------------------------------------------------- >>> >>>_______________________________________________ >>>Chameleon mailing list >>>Chameleon@lists.maptools.org >>>http://lists.maptools.org/mailman/listinfo/chameleon >>> >> >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > > -- > ----------------------------------------------------------------- > |Paul Spencer pspencer@dmsolutions.ca | > |-----------------------------------------------------------------| > |Applications & Software Development | > |DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From pagameba@magma.ca Fri May 7 11:41:55 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i47FflRa001751 for ; Fri, 7 May 2004 11:41:47 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i47FflPn031136; Fri, 7 May 2004 11:41:47 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i47FfhgY018870; Fri, 7 May 2004 11:41:47 -0400 Message-ID: <409BAE34.6020003@magma.ca> Date: Fri, 07 May 2004 11:41:40 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Liz Godwin Subject: Re: [Chameleon] maptips/projectionselector in cvs References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 May 2004 15:41:56 -0000 Liz, you can edit map_session (in the location of the error message) and remove line 295. This was fixed in the php_utils cvs a few days ago. I'll get back to you on maptips ... Cheers, Paul Liz Godwin wrote: > Not the only one.... > > I've been playing all week with cvs, checking daily for little changes. > The samples good fantastic! > > Anyway... I don't really need this feature right now, but I was just > playing.. the maptips don't seem to work for me in the enhanced sample, > in either Firefox or IE. I dont' know what error message to give you, I > don't get any. I open th emaptips window, add a maptip (only accepts > for one layer), click ok, and then the main application window > processes, and then when i hover over the map, nothing happens. I also > don't know what is supposed to happen. I just thoiught I'd comment here > anyway in case it was of any use. > > Also.. I haven't been able to use the ProjectionSelector widget in the > samples or my own apps. I get an error when I try: > Fatal error: [MapServer Error]: msSaveMap(): (/tmp/ttt1.map) in > C:\ms4w\apps\chameleon\htdocs\common\wrapper\map_session.php on line > 295 > > Cheers, Liz > > >>>> 05/07/04 10:10AM >>> > > Hi Paul, > > I guess I am the first one to try :-) > > One problem I face is that there must have been some kind of change in > the > PopupCSS sharedresource. > > I used to have a relative URL in it, like: > value="/geoservices05/popup.css"/> > > Now it seems to want a file system path instead, but I can't get it to > work. > > Hopefully you can explain how to use this now Paul. > > Best regards, > Bart > > >>All, >> >>Chameleon in cvs is now fixed up and reasonably stable. This means > > that > >>we are now on a short path to the first beta release for Chameleon > > 1.99. > >>There are a few known issues with some of the widgets, I will be >>starting to document them in bugzilla shortly. If you find any > > issues > >>with the cvs version, please report them on this list or directly to >>bugzilla. >> >>Once the beta is released, we will take some time to look through > > the > >>issues in bugzilla and resolve as many as practical/necessary to get > > a > >>new beta or release candidate out the door, >> >>Thanks for your patience, >> >>Paul >>-- >> ----------------------------------------------------------------- >>|Paul Spencer pspencer@dmsolutions.ca | >>|-----------------------------------------------------------------| >>|Applications & Software Development | >>|DM Solutions Group Inc http://www.dmsolutions.ca/| >> ----------------------------------------------------------------- >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Fri May 7 11:43:26 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i47FhGRa001889 for ; Fri, 7 May 2004 11:43:16 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i47FhFPn031977; Fri, 7 May 2004 11:43:15 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i47FhDTA011636; Fri, 7 May 2004 11:43:15 -0400 Message-ID: <409BAE8D.3060508@magma.ca> Date: Fri, 07 May 2004 11:43:09 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl Subject: Re: [Chameleon] chameleon cvs References: <409B7936.9070903@magma.ca><21115.212.238.227.182.1083939033.squirrel@webmail.xs4all.nl> <409B9F34.6070702@magma.ca> <5402.212.238.227.182.1083942436.squirrel@webmail.xs4all.nl> In-Reply-To: <5402.212.238.227.182.1083942436.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: "chameleon@lists.maptools.org" , spencer@dmsolutions.ca X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 May 2004 15:43:26 -0000 Thanks Bart. I'll try to fix it so that it doesn't mangle URLs that start with / ... but the idea was to try to make things really portable without requiring changes to templates and code :) Cheers Paul bartvde@xs4all.nl wrote: > Hi Paul, > > it works when I use the following ($_SESSION instead of $GLOBALS): > > $_SESSION['gszAppPath'] = "/ms4w/apps/geoservices05/htdocs"; > $_SESSION['gszAppWebPath'] = "http://localhost/geoservices05"; > > and: > value="C:/ms4w/apps/geoservices05/htdocs/popup.css"/> > > Note that I had to use C: in the beginning of my value as the string > compare is case-sensitive in (strncmp) and as the gszAppPath is changed to > a real drive letter. > > I first tried using: > value="/ms4w/apps/geoservices05/htdocs/popup.css"/> > > but this does not work because of the above-mentioned. > > (Personally I preferred the old way with a relative URL). > > Best regards, > Bart > > >>Bart, >> >>I see the problem but I am not sure what the correct fix is. The >>PopupCSS is probably being interpreted as a file system path relative to >>your application directory and then being converted into a URL. This >>requires a couple of things to be set up correctly and this may be what >>is causing the problem. >> >>First, you will need to set the PopupCSS to a file system path, >>optionally relative to your application directory (i.e. the location of >>index.phtml) >> >>You may need to explicitly set the following variables: >> >>$GLOBALS['gszAppPath'] = "c:/>$GLOBALS['gszAppWebPath'] = "http://"; >> >>What chameleon is trying to do is calculate a full path to popup.css and >>comparing it to gszAppPath and if it finds a match then it converts it >>to a url by removing the gszAppPath and adding the gszAppWebPath. >> >>The logic may not yet be perfect, and chameleon may not be calculating >>the location of gszAppPath and gszAppWebPath correctly. If you make the >>above change and it works then I will focus on the auto-configuration of >>gszAppPath and gszAppWebPath. Otherwise I will look at the path >>conversion logic >> >>You may be able to provide a fully qualified url to the css file and it >>should work (http://), but there may be problems with that too, not sure >>yet. >> >>Cheers, >> >>Paul >> >>bartvde@xs4all.nl wrote: >> >> >>>Hi Paul, >>> >>>I guess I am the first one to try :-) >>> >>>One problem I face is that there must have been some kind of change in >>>the >>>PopupCSS sharedresource. >>> >>>I used to have a relative URL in it, like: >>>>>value="/geoservices05/popup.css"/> >>> >>>Now it seems to want a file system path instead, but I can't get it to >>>work. >>> >>>Hopefully you can explain how to use this now Paul. >>> >>>Best regards, >>>Bart >>> >>> >>> >>>>All, >>>> >>>>Chameleon in cvs is now fixed up and reasonably stable. This means that >>>>we are now on a short path to the first beta release for Chameleon 1.99. >>>> >>>>There are a few known issues with some of the widgets, I will be >>>>starting to document them in bugzilla shortly. If you find any issues >>>>with the cvs version, please report them on this list or directly to >>>>bugzilla. >>>> >>>>Once the beta is released, we will take some time to look through the >>>>issues in bugzilla and resolve as many as practical/necessary to get a >>>>new beta or release candidate out the door, >>>> >>>>Thanks for your patience, >>>> >>>>Paul >>>>-- >>>> ----------------------------------------------------------------- >>>>|Paul Spencer pspencer@dmsolutions.ca | >>>>|-----------------------------------------------------------------| >>>>|Applications & Software Development | >>>>|DM Solutions Group Inc http://www.dmsolutions.ca/| >>>> ----------------------------------------------------------------- >>>> >>>>_______________________________________________ >>>>Chameleon mailing list >>>>Chameleon@lists.maptools.org >>>>http://lists.maptools.org/mailman/listinfo/chameleon >>>> >>> >>> >>>_______________________________________________ >>>Chameleon mailing list >>>Chameleon@lists.maptools.org >>>http://lists.maptools.org/mailman/listinfo/chameleon >>> >> >>-- >> ----------------------------------------------------------------- >>|Paul Spencer pspencer@dmsolutions.ca | >>|-----------------------------------------------------------------| >>|Applications & Software Development | >>|DM Solutions Group Inc http://www.dmsolutions.ca/| >> ----------------------------------------------------------------- >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From matt.frost@mma1.com Fri May 7 13:11:52 2004 Received: from mail.mma1.com (mail.mma1.com [65.168.117.135]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i47HBiRa002673 for ; Fri, 7 May 2004 13:11:45 -0400 Received: by mail.mma1.com (Postfix, from userid 65534) id 117ED889F3; Fri, 7 May 2004 13:11:09 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.mma1.com (Postfix) with ESMTP id 4973E88F55 for ; Fri, 7 May 2004 13:11:09 -0400 (EDT) Received: from mattf (porky.mma1.com [65.168.117.131]) by mail.mma1.com (Postfix) with ESMTP id 0FD3F87E45 for ; Fri, 7 May 2004 13:11:09 -0400 (EDT) Message-ID: <009301c43456$541d3a90$63c809c0@mattf> From: "Matt Frost" To: References: <200405071600.i47G03Rc001983@www.maptools.org> Date: Fri, 7 May 2004 13:11:24 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Virus-Scanned: by AMaViS snapshot-20020531 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on mail.mma1.com X-Spam-Level: X-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: matt.frost@mma1.com Subject: [Chameleon] Any interest in a Chameleon showcase? X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 May 2004 17:11:53 -0000 Would anyone be interested in helping me put together a gallery of Chameleon sites? If so, submit your URL via off-list email to matt.frost@mma1.com and I'll compile a list of links on my personal site. Once I've entered a critical mass of them, I'll post the address back to the listserv so we can see one another's work and swap ideas. Thanks! -Matt Frost Marshall Miller & Associates Bluefield, VA USA ----- Original Message ----- From: To: Sent: Friday, May 07, 2004 12:00 PM Subject: Chameleon Digest, Vol 2, Issue 9 > Send Chameleon mailing list submissions to > chameleon@lists.maptools.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.maptools.org/mailman/listinfo/chameleon > or, via email, send a message with subject or body 'help' to > chameleon-request@lists.maptools.org > > You can reach the person managing the list at > chameleon-owner@lists.maptools.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Chameleon digest..." > > > Today's Topics: > > 1. Re: chameleon cvs (Paul Spencer) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 07 May 2004 11:43:09 -0400 > From: Paul Spencer > Subject: Re: [Chameleon] chameleon cvs > To: bartvde@xs4all.nl > Cc: "chameleon@lists.maptools.org" , > spencer@dmsolutions.ca > Message-ID: <409BAE8D.3060508@magma.ca> > Content-Type: text/plain; charset=us-ascii; format=flowed > > Thanks Bart. > > I'll try to fix it so that it doesn't mangle URLs that start with / ... > but the idea was to try to make things really portable without requiring > changes to templates and code :) > > Cheers > > Paul > > bartvde@xs4all.nl wrote: > > > Hi Paul, > > > > it works when I use the following ($_SESSION instead of $GLOBALS): > > > > $_SESSION['gszAppPath'] = "/ms4w/apps/geoservices05/htdocs"; > > $_SESSION['gszAppWebPath'] = "http://localhost/geoservices05"; > > > > and: > > > value="C:/ms4w/apps/geoservices05/htdocs/popup.css"/> > > > > Note that I had to use C: in the beginning of my value as the string > > compare is case-sensitive in (strncmp) and as the gszAppPath is changed to > > a real drive letter. > > > > I first tried using: > > > value="/ms4w/apps/geoservices05/htdocs/popup.css"/> > > > > but this does not work because of the above-mentioned. > > > > (Personally I preferred the old way with a relative URL). > > > > Best regards, > > Bart > > > > > >>Bart, > >> > >>I see the problem but I am not sure what the correct fix is. The > >>PopupCSS is probably being interpreted as a file system path relative to > >>your application directory and then being converted into a URL. This > >>requires a couple of things to be set up correctly and this may be what > >>is causing the problem. > >> > >>First, you will need to set the PopupCSS to a file system path, > >>optionally relative to your application directory (i.e. the location of > >>index.phtml) > >> > >>You may need to explicitly set the following variables: > >> > >>$GLOBALS['gszAppPath'] = "c:/ >>$GLOBALS['gszAppWebPath'] = "http://"; > >> > >>What chameleon is trying to do is calculate a full path to popup.css and > >>comparing it to gszAppPath and if it finds a match then it converts it > >>to a url by removing the gszAppPath and adding the gszAppWebPath. > >> > >>The logic may not yet be perfect, and chameleon may not be calculating > >>the location of gszAppPath and gszAppWebPath correctly. If you make the > >>above change and it works then I will focus on the auto-configuration of > >>gszAppPath and gszAppWebPath. Otherwise I will look at the path > >>conversion logic > >> > >>You may be able to provide a fully qualified url to the css file and it > >>should work (http://), but there may be problems with that too, not sure > >>yet. > >> > >>Cheers, > >> > >>Paul > >> > >>bartvde@xs4all.nl wrote: > >> > >> > >>>Hi Paul, > >>> > >>>I guess I am the first one to try :-) > >>> > >>>One problem I face is that there must have been some kind of change in > >>>the > >>>PopupCSS sharedresource. > >>> > >>>I used to have a relative URL in it, like: > >>> >>>value="/geoservices05/popup.css"/> > >>> > >>>Now it seems to want a file system path instead, but I can't get it to > >>>work. > >>> > >>>Hopefully you can explain how to use this now Paul. > >>> > >>>Best regards, > >>>Bart > >>> > >>> > >>> > >>>>All, > >>>> > >>>>Chameleon in cvs is now fixed up and reasonably stable. This means that > >>>>we are now on a short path to the first beta release for Chameleon 1.99. > >>>> > >>>>There are a few known issues with some of the widgets, I will be > >>>>starting to document them in bugzilla shortly. If you find any issues > >>>>with the cvs version, please report them on this list or directly to > >>>>bugzilla. > >>>> > >>>>Once the beta is released, we will take some time to look through the > >>>>issues in bugzilla and resolve as many as practical/necessary to get a > >>>>new beta or release candidate out the door, > >>>> > >>>>Thanks for your patience, > >>>> > >>>>Paul > >>>>-- > >>>> ----------------------------------------------------------------- > >>>>|Paul Spencer pspencer@dmsolutions.ca | > >>>>|-----------------------------------------------------------------| > >>>>|Applications & Software Development | > >>>>|DM Solutions Group Inc http://www.dmsolutions.ca/| > >>>> ----------------------------------------------------------------- > >>>> > >>>>_______________________________________________ > >>>>Chameleon mailing list > >>>>Chameleon@lists.maptools.org > >>>>http://lists.maptools.org/mailman/listinfo/chameleon > >>>> > >>> > >>> > >>>_______________________________________________ > >>>Chameleon mailing list > >>>Chameleon@lists.maptools.org > >>>http://lists.maptools.org/mailman/listinfo/chameleon > >>> > >> > >>-- > >> ----------------------------------------------------------------- > >>|Paul Spencer pspencer@dmsolutions.ca | > >>|-----------------------------------------------------------------| > >>|Applications & Software Development | > >>|DM Solutions Group Inc http://www.dmsolutions.ca/| > >> ----------------------------------------------------------------- > >> > >>_______________________________________________ > >>Chameleon mailing list > >>Chameleon@lists.maptools.org > >>http://lists.maptools.org/mailman/listinfo/chameleon > >> > > > > > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > http://lists.maptools.org/mailman/listinfo/chameleon > > > > -- > ----------------------------------------------------------------- > |Paul Spencer pspencer@dmsolutions.ca | > |-----------------------------------------------------------------| > |Applications & Software Development | > |DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > > > > ------------------------------ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > > End of Chameleon Digest, Vol 2, Issue 9 > *************************************** > From dmorissette@dmsolutions.ca Fri May 7 14:49:33 2004 Received: from xcalibur.dmsolutions.ca (www2.dmsolutions.ca [209.217.116.146]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i47InNRa003047 for ; Fri, 7 May 2004 14:49:23 -0400 Received: from dmsolutions.ca ([192.168.4.101]) by xcalibur.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id i47InMn05444; Fri, 7 May 2004 14:49:22 -0400 Message-ID: <409BDA32.3010508@dmsolutions.ca> Date: Fri, 07 May 2004 14:49:22 -0400 From: Daniel Morissette User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matt Frost Subject: Re: [Chameleon] Any interest in a Chameleon showcase? References: <200405071600.i47G03Rc001983@www.maptools.org> <009301c43456$541d3a90$63c809c0@mattf> In-Reply-To: <009301c43456$541d3a90$63c809c0@mattf> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: dmorissette@dmsolutions.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 May 2004 18:49:34 -0000 Matt Frost wrote: > Would anyone be interested in helping me put together a gallery of Chameleon > sites? > > If so, submit your URL via off-list email to matt.frost@mma1.com and I'll > compile a list of links on my personal site. Once I've entered a critical > mass of them, I'll post the address back to the listserv so we can see one > another's work and swap ideas. > A gallery would definitely be very nice to have. A very good place for that could be the Chameleon Wiki at: http://www.maptools.org/chameleon/wiki/ Feel free to add to the wiki, it's there for the users to exchange information (as long as it's related to Chameleon). We could even consider adding a link to the gallery from a more visible page on the Chameleon site later on. Daniel -- ------------------------------------------------------------ Daniel Morissette dmorissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From jmckenna@dmsolutions.ca Fri May 7 15:08:35 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i47J8SRa003328 for ; Fri, 7 May 2004 15:08:28 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i47J8RvI018891; Fri, 7 May 2004 15:08:27 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i47J8Q0q008620; Fri, 7 May 2004 15:08:27 -0400 Message-ID: <409BDEA9.8060400@dmsolutions.ca> Date: Fri, 07 May 2004 15:08:25 -0400 From: Jeff McKenna User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matt Frost Subject: Re: [Chameleon] Any interest in a Chameleon showcase? References: <200405071600.i47G03Rc001983@www.maptools.org> <009301c43456$541d3a90$63c809c0@mattf> <409BDA32.3010508@dmsolutions.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: jmckenna@dmsolutions.ca Cc: Daniel Morissette , chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 May 2004 19:08:35 -0000 In fact we plan to use the Chameleon Wiki a lot more, as a staging area for many of our documents..including a much-needed FAQ. A gallery will be included as well. jeff Daniel Morissette wrote: > Matt Frost wrote: > >> Would anyone be interested in helping me put together a gallery of >> Chameleon >> sites? >> >> If so, submit your URL via off-list email to matt.frost@mma1.com and I'll >> compile a list of links on my personal site. Once I've entered a critical >> mass of them, I'll post the address back to the listserv so we can see >> one >> another's work and swap ideas. >> > > A gallery would definitely be very nice to have. A very good place for > that could be the Chameleon Wiki at: > > http://www.maptools.org/chameleon/wiki/ > > Feel free to add to the wiki, it's there for the users to exchange > information (as long as it's related to Chameleon). We could even > consider adding a link to the gallery from a more visible page on the > Chameleon site later on. > > Daniel -- Jeff McKenna GIS Specialist DM Solutions Group Inc. http://www.dmsolutions.ca From thowlett@whistlermuseum.org Sat May 8 18:45:16 2004 Received: from smtp1000.radiant.net (smtp.radiant.net [216.21.149.209]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i48Mj88W010764 for ; Sat, 8 May 2004 18:45:09 -0400 Message-Id: <200405082245.i48Mj88W010764@www.maptools.org> Received: (qmail 21998 invoked from network); 8 May 2004 22:28:16 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp.radiant.net with SMTP; 8 May 2004 22:28:16 -0000 From: "Tracy Howlett" To: Subject: RE: [Chameleon] Custom Query Results Date: Sat, 8 May 2004 15:45:01 -0700 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 In-Reply-To: <4085834A.1080600@magma.ca> Thread-Index: AcQnE3Eva/PfMaIDR5e01Fbl0/EhVQOOnhVQ X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: thowlett@whistlermuseum.org Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: thowlett@whistlermuseum.org List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 May 2004 22:45:17 -0000 Thanks Paul - that did just the trick. And now for more questions...is there a way to have the query result contain a URL to a document? If I include the URL in a field can I have the display results say 'Click here for more info' instead of actually listing the URL? Tracy -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Paul Spencer Sent: Tuesday, April 20, 2004 1:09 PM To: thowlett@whistlermuseum.org Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Custom Query Results Tracy, I think that the important part of QueryResults.phtml starts around line 376 (in my version which is the latest from CVS) and looks like this: // loop and use key for titles foreach ($aRows[0] as $key => $value) { $szReturnValue .= "

".$key."

\n"; } $szReturnValue .= "\n"; // loop through the results and format each row foreach ( $aRows as $aRow ) { // add a row for each $szReturnValue .= "\n"; // loop and add a cell for each result foreach ( $aRow as $xCell ) { $szReturnValue .= "

". $xCell."

\n"; } $szReturnValue .= "\n"; } I think you want to put something like this: // loop and use key for titles foreach ($aRows[0] as $key => $value) { if (strcasecmp($key, "SHAPE_INDEX") == 0 || strcasecmp($key, "TILE_INDEX") == 0 || strcasecmp($key, "LAYER_INDEX") == 0) continue; $szReturnValue .= "

".$key."

\n"; } $szReturnValue .= "\n"; // loop through the results and format each row foreach ( $aRows as $aRow ) { // add a row for each $szReturnValue .= "\n"; // loop and add a cell for each result foreach ( $aRow as $key => $xCell ) { if (strcasecmp($key, "SHAPE_INDEX") == 0 || strcasecmp($key, "TILE_INDEX") == 0 || strcasecmp($key, "LAYER_INDEX") == 0) continue; $szReturnValue .= "

". $xCell."

\n"; } $szReturnValue .= "\n"; } I just tried this and it seems to work. Alternately you could invert the logic and restrict the query results to exactly what you do want ... // loop and use key for titles foreach ($aRows[0] as $key => $value)FID; Shape; Name; Detail { if (strcasecmp($key, "FID") != 0 || strcasecmp($key, "Shape") != 0 || strcasecmp($key, "Name") != 0 || strcasecmp($key, "Detail") != 0) { $szReturnValue .= "

".$key."

\n"; } } $szReturnValue .= "\n"; // loop through the results and format each row foreach ( $aRows as $aRow ) { // add a row for each $szReturnValue .= "\n"; // loop and add a cell for each result foreach ( $aRow as $key => $xCell ) { if (strcasecmp($key, "FID") != 0 || strcasecmp($key, "Shape") != 0 || strcasecmp($key, "Name") != 0 || strcasecmp($key, "Detail") != 0) { $szReturnValue .= "

". $xCell."

\n"; } } $szReturnValue .= "\n"; } Cheers, Paul Tracy Howlett wrote: >>Pardon the duplicate post - just wanted to make sure the subject heading > > wasn't misleading! > > Hello All, > > My application is pretty much finished now but I do have a couple of tweaks > I'd like to get done. > > My query tool works well but in my query results I always get these three > additional fields: > > SHAPE_INDEX; TILE_INDEX; LAYER_INDEX > > I'd like to suppress this information as it means nothing to the user. In > order to try and streamline my query results all of my shapefiles contain > only the following fields: > > FID; Shape; Name; Detail > > I've dug around and I think that the table is being written out in the > QueryResults.phtml file. I see a number of arrays in there which I assume > are populated with my layers and the fields for each layer. Could someone > give me some hint as to how I can tell the array to ignore the above named > fields??? The part I can't figure out is how the names of the fields are > being changed from FID in my shapefile to SHAPE_INDEX in the results. Is > there a file I'm missing which includes this name switch? > > Any help would be appreciated. I'm guessing that I'm not the only person > who'd like to have these ID fields be invisible! > > Cheers! > > Tracy > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From msr@sourcepole.ch Mon May 10 04:39:41 2004 Received: from smtp.tiscali.ch (smtp.tiscali.ch [212.40.5.52]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4A8dXWB025853 for ; Mon, 10 May 2004 04:39:34 -0400 Received: from wal.sourcepole (adsl-40-71-bs4.tiscali.ch [212.254.40.71]) by smtp.tiscali.ch (8.11.7/8.11.7) with ESMTP id i4A8dUd13728 for ; Mon, 10 May 2004 10:39:31 +0200 Received: from msr.sourcepole ([192.168.1.104]) by wal.sourcepole with esmtp (Exim 3.35 #1 (Debian)) id 1BN6KW-0003W1-00 for ; Mon, 10 May 2004 10:40:08 +0200 From: Schnider Markus Organization: Sourcepole AG To: chameleon@lists.maptools.org Date: Mon, 10 May 2004 10:39:29 +0200 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200405101039.29733.msr@sourcepole.ch> X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: msr@sourcepole.ch Subject: [Chameleon] V1.1 and V1.99 No input file specified X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 May 2004 08:39:41 -0000 Hi all I would try the cvs version of chameleon, but I had no success. The target system is linux. I've downloaded the cvs version, executed 'make' and installed in /usr/local/cwc2/cwc2-dev/ changed the config file like the 1.1 version. Version 1.1 works with the demo application (with map file). If I try to run my demo application with version 1.99 the following error occures (a lot of this error messages: Notice: Undefined property: _attributes in /usr/local/cwc2/cwc2-1.99b1/htdocs/widgets/Widget.php on line 457 Warning: array_change_key_case(): The argument should be an array in /usr/local/cwc2/cwc2-dev/htdocs/widgets/Widget.php on line 457 How can I correct this? If I try the gmap_context demo http: // ... /cwc2-dev/cwc2.php?TEMPLATE=demo.html&CONTEXT=gmap_context.xml Both versions return the same page: No input file specified. How does it work? What can I change to view a correct result? Thanks Markus Schnider From bartvde@xs4all.nl Mon May 10 05:33:16 2004 Received: from smtp-out2.xs4all.nl (smtp-out2.xs4all.nl [194.109.24.12]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4A9WwWB026154 for ; Mon, 10 May 2004 05:32:58 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out2.xs4all.nl (8.12.10/8.12.10) with SMTP id i4A9Wpaw094126; Mon, 10 May 2004 11:32:51 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Mon, 10 May 2004 11:32:57 +0200 (CEST) Message-ID: <11494.212.238.227.182.1084181577.squirrel@webmail.xs4all.nl> In-Reply-To: <200405101039.29733.msr@sourcepole.ch> References: <200405101039.29733.msr@sourcepole.ch> Date: Mon, 10 May 2004 11:32:57 +0200 (CEST) Subject: Re: [Chameleon] V1.1 and V1.99 No input file specified From: bartvde@xs4all.nl To: "Schnider Markus" User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 May 2004 09:33:16 -0000 Hi Markus, did you try the sample applications provided with Chameleon 1.99? You probably need to create a .conf file for the samples, here is my example: Alias /samples "/ms4w/apps/chameleon/samples/htdocs" AllowOverride None Options Indexes FollowSymLinks Multiviews Order allow,deny Allow from all Then try: http://localhost/samples/ Best regards, Bart > Hi all > > I would try the cvs version of chameleon, but I had no success. > The target system is linux. > I've downloaded the cvs version, executed 'make' and installed in > /usr/local/cwc2/cwc2-dev/ > changed the config file like the 1.1 version. > > Version 1.1 works with the demo application (with map file). > If I try to run my demo application with version 1.99 the following error > occures (a lot of this error messages: > Notice: Undefined property: _attributes > in /usr/local/cwc2/cwc2-1.99b1/htdocs/widgets/Widget.php on line 457 > Warning: array_change_key_case(): The argument should be an array > in /usr/local/cwc2/cwc2-dev/htdocs/widgets/Widget.php on line 457 > How can I correct this? > > If I try the gmap_context demo > http: // ... > /cwc2-dev/cwc2.php?TEMPLATE=demo.html&CONTEXT=gmap_context.xml > Both versions return the same page: > No input file specified. > > How does it work? > What can I change to view a correct result? > > Thanks > > Markus Schnider > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From msr@sourcepole.ch Mon May 10 05:55:12 2004 Received: from smtp.tiscali.ch (smtp.tiscali.ch [212.40.5.52]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4A9s4RX026527 for ; Mon, 10 May 2004 05:54:04 -0400 Received: from wal.sourcepole (adsl-40-71-bs4.tiscali.ch [212.254.40.71]) by smtp.tiscali.ch (8.11.7/8.11.7) with ESMTP id i4A9rvd09215; Mon, 10 May 2004 11:53:57 +0200 Received: from msr.sourcepole ([192.168.1.104]) by wal.sourcepole with esmtp (Exim 3.35 #1 (Debian)) id 1BN7UZ-0005fl-00; Mon, 10 May 2004 11:54:35 +0200 From: Schnider Markus Organization: Sourcepole AG To: bartvde@xs4all.nl Subject: Re: [Chameleon] V1.1 and V1.99 No input file specified Date: Mon, 10 May 2004 11:53:56 +0200 User-Agent: KMail/1.6.2 References: <200405101039.29733.msr@sourcepole.ch> <11494.212.238.227.182.1084181577.squirrel@webmail.xs4all.nl> In-Reply-To: <11494.212.238.227.182.1084181577.squirrel@webmail.xs4all.nl> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200405101153.56624.msr@sourcepole.ch> X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: msr@sourcepole.ch Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 May 2004 09:55:12 -0000 Hi Bart I've forgotten to use this, but ... After using this: allways the same error! (a lot of:) ----------------------------------------------------------- Notice: Undefined property: _attributes in /usr/local/cwc2/cwc2-1.99b1/htdocs/widgets/Widget.php on line 457 Warning: array_change_key_case(): The argument should be an array in /usr/local/cwc2/cwc2-1.99b1/htdocs/widgets/Widget.php on line 457 ----------------------------------------------------------- Additional in the ogc, roi and other demo (at the top): ----------------------------------------------------------- Warning: [MapServer Error]: loadWeb(): Parsing error near (QUERYFORMAT):(line 97) in /usr/local/cwc2/cwc2-1.99b1/htdocs/common/wrapper/map_session.php on line 215 Warning: Failed to open map file /var/www/cwc2-app/samples/map/world_wms.map in /usr/local/cwc2/cwc2-1.99b1/htdocs/common/wrapper/map_session.php on line 215 ERROR: Invalid map file file (/var/www/cwc2-app/samples/map/world_wms.map). ----------------------------------------------------------- On Monday 10 May 2004 11:32, you wrote: > Hi Markus, > > did you try the sample applications provided with Chameleon 1.99? > > You probably need to create a .conf file for the samples, here is my > example: > > Alias /samples "/ms4w/apps/chameleon/samples/htdocs" > > > AllowOverride None > Options Indexes FollowSymLinks Multiviews > Order allow,deny > Allow from all > > > Then try: > http://localhost/samples/ > > Best regards, > Bart > ... From bartvde@xs4all.nl Mon May 10 06:02:35 2004 Received: from smtp-out2.xs4all.nl (smtp-out2.xs4all.nl [194.109.24.12]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4AA2LRX026650 for ; Mon, 10 May 2004 06:02:25 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out2.xs4all.nl (8.12.10/8.12.10) with SMTP id i4AA2Jju026220; Mon, 10 May 2004 12:02:19 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Mon, 10 May 2004 12:02:19 +0200 (CEST) Message-ID: <11117.212.238.227.182.1084183339.squirrel@webmail.xs4all.nl> In-Reply-To: <200405101153.56624.msr@sourcepole.ch> References: <200405101039.29733.msr@sourcepole.ch> <11494.212.238.227.182.1084181577.squirrel@webmail.xs4all.nl> <200405101153.56624.msr@sourcepole.ch> Date: Mon, 10 May 2004 12:02:19 +0200 (CEST) Subject: Re: [Chameleon] V1.1 and V1.99 No input file specified From: bartvde@xs4all.nl To: "Schnider Markus" User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Cc: chameleon@lists.maptools.org, bartvde@xs4all.nl X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 May 2004 10:02:36 -0000 Hi Markus, did you also check out the module php_utils from CVS? It seems your Chameleon common directory is out of sync with Chameleon. .. cvs checkout php_utils copy the src directory from php_utils to the chameleon\htdocs\common directory. Best regards, Bart > Hi Bart > > I've forgotten to use this, but ... > > After using this: > > allways the same error! (a lot of:) > ----------------------------------------------------------- > Notice: Undefined property: _attributes > in /usr/local/cwc2/cwc2-1.99b1/htdocs/widgets/Widget.php on line 457 > > Warning: array_change_key_case(): The argument should be an array > in /usr/local/cwc2/cwc2-1.99b1/htdocs/widgets/Widget.php on line 457 > ----------------------------------------------------------- > > > Additional in the ogc, roi and other demo (at the top): > ----------------------------------------------------------- > Warning: [MapServer Error]: loadWeb(): Parsing error near > (QUERYFORMAT):(line > 97) in /usr/local/cwc2/cwc2-1.99b1/htdocs/common/wrapper/map_session.php > on > line 215 > > Warning: Failed to open map file > /var/www/cwc2-app/samples/map/world_wms.map > in /usr/local/cwc2/cwc2-1.99b1/htdocs/common/wrapper/map_session.php on > line > 215 > ERROR: Invalid map file file > (/var/www/cwc2-app/samples/map/world_wms.map). > ----------------------------------------------------------- > > On Monday 10 May 2004 11:32, you wrote: >> Hi Markus, >> >> did you try the sample applications provided with Chameleon 1.99? >> >> You probably need to create a .conf file for the samples, here is my >> example: >> >> Alias /samples "/ms4w/apps/chameleon/samples/htdocs" >> >> >> AllowOverride None >> Options Indexes FollowSymLinks Multiviews >> Order allow,deny >> Allow from all >> >> >> Then try: >> http://localhost/samples/ >> >> Best regards, >> Bart >> > ... > From msr@sourcepole.ch Mon May 10 06:05:51 2004 Received: from smtp.tiscali.ch (smtp.tiscali.ch [212.40.5.52]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4AA5XRX026848 for ; Mon, 10 May 2004 06:05:36 -0400 Received: from wal.sourcepole (adsl-40-71-bs4.tiscali.ch [212.254.40.71]) by smtp.tiscali.ch (8.11.7/8.11.7) with ESMTP id i4AA5Ud13388; Mon, 10 May 2004 12:05:30 +0200 Received: from msr.sourcepole ([192.168.1.104]) by wal.sourcepole with esmtp (Exim 3.35 #1 (Debian)) id 1BN7fj-000644-00; Mon, 10 May 2004 12:06:07 +0200 From: Schnider Markus Organization: Sourcepole AG To: bartvde@xs4all.nl Subject: Re: [Chameleon] V1.1 and V1.99 No input file specified Date: Mon, 10 May 2004 12:05:29 +0200 User-Agent: KMail/1.6.2 References: <200405101039.29733.msr@sourcepole.ch> <11494.212.238.227.182.1084181577.squirrel@webmail.xs4all.nl> <200405101153.56624.msr@sourcepole.ch> In-Reply-To: <200405101153.56624.msr@sourcepole.ch> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200405101205.29330.msr@sourcepole.ch> X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: msr@sourcepole.ch Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 May 2004 10:05:52 -0000 Sorry see below (common directory) question: .conf means http.conf ?! ;) On Monday 10 May 2004 11:53, Schnider Markus wrote: > Hi Bart > > I've forgotten to use this, but ... > > After using this: > > allways the same error! (a lot of:) > ----------------------------------------------------------- > Notice: Undefined property: _attributes > in /usr/local/cwc2/cwc2-1.99b1/htdocs/widgets/Widget.php on line 457 > > Warning: array_change_key_case(): The argument should be an array > in /usr/local/cwc2/cwc2-1.99b1/htdocs/widgets/Widget.php on line 457 > ----------------------------------------------------------- > > common directory ----------------------------------------------- I have not received the common directory from the cvs. I've copied it from the version 1.1 > Additional in the ogc, roi and other demo (at the top): > ----------------------------------------------------------- > Warning: [MapServer Error]: loadWeb(): Parsing error near > (QUERYFORMAT):(line 97) in > /usr/local/cwc2/cwc2-1.99b1/htdocs/common/wrapper/map_session.php on line > 215 > > Warning: Failed to open map file > /var/www/cwc2-app/samples/map/world_wms.map in > /usr/local/cwc2/cwc2-1.99b1/htdocs/common/wrapper/map_session.php on line > 215 > ERROR: Invalid map file file > (/var/www/cwc2-app/samples/map/world_wms.map). > ----------------------------------------------------------- > > On Monday 10 May 2004 11:32, you wrote: > > Hi Markus, > > > > did you try the sample applications provided with Chameleon 1.99? > > > > You probably need to create a .conf file for the samples, here is my > > example: > > > > Alias /samples "/ms4w/apps/chameleon/samples/htdocs" > > > > > > AllowOverride None > > Options Indexes FollowSymLinks Multiviews > > Order allow,deny > > Allow from all > > > > > > Then try: > > http://localhost/samples/ > > > > Best regards, > > Bart > > ... > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon From bartvde@xs4all.nl Mon May 10 06:11:43 2004 Received: from smtp-out4.xs4all.nl (smtp-out4.xs4all.nl [194.109.24.5]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4AABMRX026943 for ; Mon, 10 May 2004 06:11:30 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out4.xs4all.nl (8.12.10/8.12.10) with SMTP id i4AABBYm020673; Mon, 10 May 2004 12:11:11 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Mon, 10 May 2004 12:11:18 +0200 (CEST) Message-ID: <24381.212.238.227.182.1084183878.squirrel@webmail.xs4all.nl> In-Reply-To: <200405101205.29330.msr@sourcepole.ch> References: <200405101039.29733.msr@sourcepole.ch> <11494.212.238.227.182.1084181577.squirrel@webmail.xs4all.nl> <200405101153.56624.msr@sourcepole.ch> <200405101205.29330.msr@sourcepole.ch> Date: Mon, 10 May 2004 12:11:18 +0200 (CEST) Subject: Re: [Chameleon] V1.1 and V1.99 No input file specified From: bartvde@xs4all.nl To: "Schnider Markus" User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-DMSolutions-MailScanner-SpamScore: s X-MailScanner-From: bartvde@xs4all.nl Cc: chameleon@lists.maptools.org, bartvde@xs4all.nl X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 May 2004 10:11:44 -0000 Hi Markus, the common directory from 1.1 probably won't work with Chameleon 1.99. Do you know how to check out the latest php_utils from CVS? With regard to the .conf: I am using the MS4W structure in which every application can have its own conf file (so I have created a httpd_sample.conf file). This is done by using in the main httpd.conf file from Apache: include /ms4w/httpd.d/httpd_*.conf But you can just as easily add the lines to your main httpd.conf in the conf subdirectory of Apache. But I see you already got this working because you can load the sample page. Best regards, Bart > Sorry > > see below (common directory) > > question: > .conf means http.conf ?! ;) > > On Monday 10 May 2004 11:53, Schnider Markus wrote: >> Hi Bart >> >> I've forgotten to use this, but ... >> >> After using this: >> >> allways the same error! (a lot of:) >> ----------------------------------------------------------- >> Notice: Undefined property: _attributes >> in /usr/local/cwc2/cwc2-1.99b1/htdocs/widgets/Widget.php on line 457 >> >> Warning: array_change_key_case(): The argument should be an array >> in /usr/local/cwc2/cwc2-1.99b1/htdocs/widgets/Widget.php on line 457 >> ----------------------------------------------------------- >> >> > > common directory > ----------------------------------------------- > I have not received the common directory from the cvs. > I've copied it from the version 1.1 > >> Additional in the ogc, roi and other demo (at the top): >> ----------------------------------------------------------- >> Warning: [MapServer Error]: loadWeb(): Parsing error near >> (QUERYFORMAT):(line 97) in >> /usr/local/cwc2/cwc2-1.99b1/htdocs/common/wrapper/map_session.php on >> line >> 215 >> >> Warning: Failed to open map file >> /var/www/cwc2-app/samples/map/world_wms.map in >> /usr/local/cwc2/cwc2-1.99b1/htdocs/common/wrapper/map_session.php on >> line >> 215 >> ERROR: Invalid map file file >> (/var/www/cwc2-app/samples/map/world_wms.map). >> ----------------------------------------------------------- >> >> On Monday 10 May 2004 11:32, you wrote: >> > Hi Markus, >> > >> > did you try the sample applications provided with Chameleon 1.99? >> > >> > You probably need to create a .conf file for the samples, here is my >> > example: >> > >> > Alias /samples "/ms4w/apps/chameleon/samples/htdocs" >> > >> > >> > AllowOverride None >> > Options Indexes FollowSymLinks Multiviews >> > Order allow,deny >> > Allow from all >> > >> > >> > Then try: >> > http://localhost/samples/ >> > >> > Best regards, >> > Bart >> >> ... >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon > From bartvde@xs4all.nl Mon May 10 06:35:13 2004 Received: from smtp-out5.xs4all.nl (smtp-out5.xs4all.nl [194.109.24.6]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4AAYwRX027049 for ; Mon, 10 May 2004 06:35:02 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out5.xs4all.nl (8.12.10/8.12.10) with SMTP id i4AAYm3Z060893 for ; Mon, 10 May 2004 12:34:54 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Mon, 10 May 2004 12:34:54 +0200 (CEST) Message-ID: <13360.212.238.227.182.1084185294.squirrel@webmail.xs4all.nl> Date: Mon, 10 May 2004 12:34:54 +0200 (CEST) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Subject: [Chameleon] waitimage and button width X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 May 2004 10:35:13 -0000 Hi Paul (cc list), -- 1 -- I found one difference between Chameleon 1.1 and 1.99 with regard to the WaitImage. This is what I used to use: chameleon_images was an alias to chameleon/htdocs/images Now I have to use: Probably the same kind of change as with the popup.css ... -- 2 -- I have one issue with the button width, but this is not specific for version 1.99 of Chameleon. When internationalizing a Chameleon application, some texts on the buttons become significantly larger than in the English version, which means I have to change the source code to provide a different width in the MakeButton function. It would be great if something automagically could be arranged in which buttons would estimate their width needed. But I know this will be difficult if not impossible to implement because of font differences etc. and it could mess up HTML layouts etc. But maybe something else could be invented so that this would not involve changing source code. This makes things difficult to maintain. Any thoughts? Best regards, Bart From pagameba@magma.ca Mon May 10 07:52:21 2004 Received: from s-utl01-lapop.stsn.com (s-utl01-lapop.stsn.com [12.129.240.11]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i4ABqARY027493 for ; Mon, 10 May 2004 07:52:10 -0400 Received: from magma.ca ([10.60.38.143]) by s-utl01-lapop.stsn.com (SAVSMTP 3.1.0.29) with SMTP id M2004051004514514752 ; Mon, 10 May 2004 04:51:45 -0700 Message-ID: <409F6CC9.1060206@magma.ca> Date: Mon, 10 May 2004 07:51:37 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl Subject: Re: [Chameleon] waitimage and button width References: <13360.212.238.227.182.1084185294.squirrel@webmail.xs4all.nl> In-Reply-To: <13360.212.238.227.182.1084185294.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 May 2004 11:52:21 -0000 Bart, bartvde@xs4all.nl wrote: > Hi Paul (cc list), > > -- 1 -- > I found one difference between Chameleon 1.1 and 1.99 with regard to the > WaitImage. > > This is what I used to use: > waitimagewidth="246" waitimageheight="50"/> > > chameleon_images was an alias to chameleon/htdocs/images > > Now I have to use: > waitimagewidth="246" waitimageheight="50"/> > > Probably the same kind of change as with the popup.css ... yes this is probably the same problem. > > -- 2 -- > I have one issue with the button width, but this is not specific for > version 1.99 of Chameleon. > > When internationalizing a Chameleon application, some texts on the buttons > become significantly larger than in the English version, which means I > have to change the source code to provide a different width in the > MakeButton function. > > It would be great if something automagically could be arranged in which > buttons would estimate their width needed. But I know this will be > difficult if not impossible to implement because of font differences etc. > and it could mess up HTML layouts etc. > > But maybe something else could be invented so that this would not involve > changing source code. This makes things difficult to maintain. > > Any thoughts? we talked about this already, we were thinking of having a mechanism for wildcarding the widget (and posssibly height) to allow the button to stretch. The current thoughts are: width="*" - button is drawn just wide enough to accomodate the icon and text and padding width="100*" - the button is drawn at least 100 px wide but will be stretched to allow for longer text if required width="100" - the button is exactly 100 px regardless of text Same logic could probably be used for height I haven't investigated this yet. Cheers, Paul > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Mon May 10 07:55:13 2004 Received: from s-utl01-lapop.stsn.com (s-utl01-lapop.stsn.com [12.129.240.11]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i4ABt5RY027583 for ; Mon, 10 May 2004 07:55:05 -0400 Received: from magma.ca ([10.60.38.143]) by s-utl01-lapop.stsn.com (SAVSMTP 3.1.0.29) with SMTP id M2004051004544214767 ; Mon, 10 May 2004 04:54:43 -0700 Message-ID: <409F6D74.5080503@magma.ca> Date: Mon, 10 May 2004 07:54:28 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl Subject: Re: [Chameleon] V1.1 and V1.99 No input file specified References: <200405101039.29733.msr@sourcepole.ch> <11494.212.238.227.182.1084181577.squirrel@webmail.xs4all.nl> <200405101153.56624.msr@sourcepole.ch> <200405101205.29330.msr@sourcepole.ch> <24381.212.238.227.182.1084183878.squirrel@webmail.xs4all.nl> In-Reply-To: <24381.212.238.227.182.1084183878.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-DMSolutions-MailScanner-SpamScore: s X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org, Schnider Markus X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 May 2004 11:55:13 -0000 Markus and Bart, the common directory from 1.1 may work with 1.99 but I suspect that there have been several changes since that release that would be required and this issue might have been one of them. Best to get the cvs version if you can. The beta of 1.99 will have a recommended set of alias/directory values for apache and there will be an ms4w version preconfigured that will provide appropriate aliases as well. Cheers, Paul bartvde@xs4all.nl wrote: > Hi Markus, > > the common directory from 1.1 probably won't work with Chameleon 1.99. > > Do you know how to check out the latest php_utils from CVS? > > With regard to the .conf: > > I am using the MS4W structure in which every application can have its own > conf file (so I have created a httpd_sample.conf file). This is done by > using in the main httpd.conf file from Apache: > > include /ms4w/httpd.d/httpd_*.conf > > But you can just as easily add the lines to your main httpd.conf in the > conf subdirectory of Apache. But I see you already got this working > because you can load the sample page. > > Best regards, > Bart > > >>Sorry >> >>see below (common directory) >> >>question: >>.conf means http.conf ?! ;) >> >>On Monday 10 May 2004 11:53, Schnider Markus wrote: >> >>>Hi Bart >>> >>>I've forgotten to use this, but ... >>> >>>After using this: >>> >>>allways the same error! (a lot of:) >>>----------------------------------------------------------- >>>Notice: Undefined property: _attributes >>>in /usr/local/cwc2/cwc2-1.99b1/htdocs/widgets/Widget.php on line 457 >>> >>> Warning: array_change_key_case(): The argument should be an array >>>in /usr/local/cwc2/cwc2-1.99b1/htdocs/widgets/Widget.php on line 457 >>>----------------------------------------------------------- >>> >>> >> >>common directory >>----------------------------------------------- >>I have not received the common directory from the cvs. >>I've copied it from the version 1.1 >> >> >>>Additional in the ogc, roi and other demo (at the top): >>>----------------------------------------------------------- >>>Warning: [MapServer Error]: loadWeb(): Parsing error near >>>(QUERYFORMAT):(line 97) in >>>/usr/local/cwc2/cwc2-1.99b1/htdocs/common/wrapper/map_session.php on >>>line >>>215 >>> >>> Warning: Failed to open map file >>>/var/www/cwc2-app/samples/map/world_wms.map in >>>/usr/local/cwc2/cwc2-1.99b1/htdocs/common/wrapper/map_session.php on >>>line >>>215 >>> ERROR: Invalid map file file >>>(/var/www/cwc2-app/samples/map/world_wms.map). >>>----------------------------------------------------------- >>> >>>On Monday 10 May 2004 11:32, you wrote: >>> >>>>Hi Markus, >>>> >>>>did you try the sample applications provided with Chameleon 1.99? >>>> >>>>You probably need to create a .conf file for the samples, here is my >>>>example: >>>> >>>>Alias /samples "/ms4w/apps/chameleon/samples/htdocs" >>>> >>>> >>>> AllowOverride None >>>> Options Indexes FollowSymLinks Multiviews >>>> Order allow,deny >>>> Allow from all >>>> >>>> >>>>Then try: >>>>http://localhost/samples/ >>>> >>>>Best regards, >>>>Bart >>> >>>... >>>_______________________________________________ >>>Chameleon mailing list >>>Chameleon@lists.maptools.org >>>http://lists.maptools.org/mailman/listinfo/chameleon >> > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Mon May 10 08:08:18 2004 Received: from s-utl01-lapop.stsn.com (s-utl01-lapop.stsn.com [12.129.240.11]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i4AC8ARY027915 for ; Mon, 10 May 2004 08:08:11 -0400 Received: from magma.ca ([10.60.38.143]) by s-utl01-lapop.stsn.com (SAVSMTP 3.1.0.29) with SMTP id M2004051005075316304 ; Mon, 10 May 2004 05:07:53 -0700 Message-ID: <409F708A.4040409@magma.ca> Date: Mon, 10 May 2004 08:07:38 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: thowlett@whistlermuseum.org Subject: Re: [Chameleon] Custom Query Results References: <200405082245.i48Mj88W010764@www.maptools.org> In-Reply-To: <200405082245.i48Mj88W010764@www.maptools.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org, Jason Fournier X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 May 2004 12:08:19 -0000 Tracy, I've cc'd Jason, he's customized the query widget for this kind of thing before. His approach was to write a function to test a string value and turn it from text into a hyperlink if it started with http:// This function was inserted into the query widget at the point that each attribute is written out so that every linkable field is automagically turned into a hyperlink. Cheers, Paul Tracy Howlett wrote: > Thanks Paul - that did just the trick. > > And now for more questions...is there a way to have the query result contain > a URL to a document? If I include the URL in a field can I have the display > results say 'Click here for more info' instead of actually listing the URL? > > Tracy > > -----Original Message----- > From: chameleon-bounces@lists.maptools.org > [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Paul Spencer > Sent: Tuesday, April 20, 2004 1:09 PM > To: thowlett@whistlermuseum.org > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Custom Query Results > > Tracy, > > I think that the important part of QueryResults.phtml starts around line > 376 (in my version which is the latest from CVS) and looks like this: > > // loop and use key for titles > foreach ($aRows[0] as $key => $value) > { > $szReturnValue .= "

class=\"text\">".$key."

\n"; > } > $szReturnValue .= "\n"; > > // loop through the results and format each row > foreach ( $aRows as $aRow ) > { > // add a row for each > $szReturnValue .= "\n"; > > // loop and add a cell for each result > foreach ( $aRow as $xCell ) > { > $szReturnValue .= "

class=\"text\">". $xCell."

\n"; > } > > $szReturnValue .= "\n"; > } > > I think you want to put something like this: > > // loop and use key for titles > foreach ($aRows[0] as $key => $value) > { > if (strcasecmp($key, "SHAPE_INDEX") == 0 || > strcasecmp($key, "TILE_INDEX") == 0 || > strcasecmp($key, "LAYER_INDEX") == 0) > continue; > $szReturnValue .= "

class=\"text\">".$key."

\n"; > } > $szReturnValue .= "\n"; > > // loop through the results and format each row > foreach ( $aRows as $aRow ) > { > // add a row for each > $szReturnValue .= "\n"; > > // loop and add a cell for each result > foreach ( $aRow as $key => $xCell ) > { > if (strcasecmp($key, "SHAPE_INDEX") == 0 || > strcasecmp($key, "TILE_INDEX") == 0 || > strcasecmp($key, "LAYER_INDEX") == 0) > continue; > $szReturnValue .= "

class=\"text\">". $xCell."

\n"; > } > > $szReturnValue .= "\n"; > } > > I just tried this and it seems to work. > > Alternately you could invert the logic and restrict the query results to > exactly what you do want ... > > // loop and use key for titles > foreach ($aRows[0] as $key => $value)FID; Shape; Name; Detail > { > if (strcasecmp($key, "FID") != 0 || > strcasecmp($key, "Shape") != 0 || > strcasecmp($key, "Name") != 0 || > strcasecmp($key, "Detail") != 0) > { > $szReturnValue .= "

class=\"text\">".$key."

\n"; > } > } > $szReturnValue .= "\n"; > > // loop through the results and format each row > foreach ( $aRows as $aRow ) > { > // add a row for each > $szReturnValue .= "\n"; > > // loop and add a cell for each result > foreach ( $aRow as $key => $xCell ) > { > if (strcasecmp($key, "FID") != 0 || > strcasecmp($key, "Shape") != 0 || > strcasecmp($key, "Name") != 0 || > strcasecmp($key, "Detail") != 0) > { > $szReturnValue .= " class=\"subContentArea1\">

". $xCell."

\n"; > } > } > > $szReturnValue .= "\n"; > } > > Cheers, > > Paul > > Tracy Howlett wrote: > > >>>Pardon the duplicate post - just wanted to make sure the subject heading >> >>wasn't misleading! >> >>Hello All, >> >>My application is pretty much finished now but I do have a couple of > > tweaks > >>I'd like to get done. >> >>My query tool works well but in my query results I always get these three >>additional fields: >> >>SHAPE_INDEX; TILE_INDEX; LAYER_INDEX >> >>I'd like to suppress this information as it means nothing to the user. In >>order to try and streamline my query results all of my shapefiles contain >>only the following fields: >> >>FID; Shape; Name; Detail >> >>I've dug around and I think that the table is being written out in the >>QueryResults.phtml file. I see a number of arrays in there which I assume >>are populated with my layers and the fields for each layer. Could someone >>give me some hint as to how I can tell the array to ignore the above named >>fields??? The part I can't figure out is how the names of the fields are >>being changed from FID in my shapefile to SHAPE_INDEX in the results. Is >>there a file I'm missing which includes this name switch? >> >>Any help would be appreciated. I'm guessing that I'm not the only person >>who'd like to have these ID fields be invisible! >> >>Cheers! >> >>Tracy >> >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From msr@sourcepole.ch Mon May 10 08:17:55 2004 Received: from smtp.tiscali.ch (smtp.tiscali.ch [212.40.5.52]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4ACHlRX028049 for ; Mon, 10 May 2004 08:17:48 -0400 Received: from wal.sourcepole (adsl-40-71-bs4.tiscali.ch [212.254.40.71]) by smtp.tiscali.ch (8.11.7/8.11.7) with ESMTP id i4ACHcd20715; Mon, 10 May 2004 14:17:39 +0200 Received: from msr.sourcepole ([192.168.1.104]) by wal.sourcepole with esmtp (Exim 3.35 #1 (Debian)) id 1BN9jc-0001IS-00; Mon, 10 May 2004 14:18:16 +0200 From: Schnider Markus Organization: Sourcepole AG To: spencer@dmsolutions.ca Subject: Re: [Chameleon] V1.1 and V1.99 No input file specified Date: Mon, 10 May 2004 14:17:37 +0200 User-Agent: KMail/1.6.2 References: <200405101039.29733.msr@sourcepole.ch> <24381.212.238.227.182.1084183878.squirrel@webmail.xs4all.nl> <409F6D74.5080503@magma.ca> In-Reply-To: <409F6D74.5080503@magma.ca> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200405101417.37662.msr@sourcepole.ch> X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: msr@sourcepole.ch Cc: chameleon@lists.maptools.org, bartvde@xs4all.nl X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 May 2004 12:17:56 -0000 I've changed the common directory with the src/* files of php_utils. Less errors! Yeah :) ! Last but not least: Is it possible to run the version 1.99 with mapserver/mapscript 4.0.1 ? There are some problems with the CWC tags: simple demo: CWC tags errors: no widget found, no icons found multistate demo: CWC tags found?!, no icons found multistate with buttonizer: CWC tags found?!, all icons found, but no map image enhanced and bilingual demo (only for these demos version 4.2 of mapserver required?): --------------------------------------------------------- Fatal error: Call to undefined function: ms_newsymbolobj() in /usr/local/cwc2/cwc2-1.99b1/htdocs/widgets/TrueNorth/TrueNorth.widget.php on line 213 --------------------------------------------------------- xml theme demo: CWC tags in Map errors, icons found (like simple demo) ogc, roi, other demo: --------------------------------------------------------- Warning: [MapServer Error]: loadWeb(): Parsing error near (QUERYFORMAT):(line 97) in /usr/local/cwc2/cwc2-1.99b1/htdocs/common/wrapper/map_session.php on line 215 Warning: Failed to open map file /var/www/cwc2-app/samples/map/world_wms.map in /usr/local/cwc2/cwc2-1.99b1/htdocs/common/wrapper/map_session.php on line 215 ERROR: Invalid map file file (/var/www/cwc2-app/samples/map/world_wms.map). Fatal error: Call to a member function on a non-object in /usr/local/cwc2/cwc2-1.99b1/htdocs/widgets/KeyMapDHTML2/KeyMapDHTML2.widget.php on line 100 --------------------------------------------------------- Thanks Markus On Monday 10 May 2004 13:54, Paul Spencer wrote: > Markus and Bart, > > the common directory from 1.1 may work with 1.99 but I suspect that > there have been several changes since that release that would be > required and this issue might have been one of them. > > Best to get the cvs version if you can. > > The beta of 1.99 will have a recommended set of alias/directory values > for apache and there will be an ms4w version preconfigured that will > provide appropriate aliases as well. > > Cheers, > > Paul > From bartvde@xs4all.nl Mon May 10 08:26:32 2004 Received: from smtp-out1.xs4all.nl (smtp-out1.xs4all.nl [194.109.24.11]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4ACQPRX028127 for ; Mon, 10 May 2004 08:26:25 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out1.xs4all.nl (8.12.10/8.12.10) with SMTP id i4ACQGns067809 for ; Mon, 10 May 2004 14:26:24 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Mon, 10 May 2004 14:26:24 +0200 (CEST) Message-ID: <16851.212.238.227.182.1084191984.squirrel@webmail.xs4all.nl> Date: Mon, 10 May 2004 14:26:24 +0200 (CEST) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Subject: [Chameleon] last of my button troubles? X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 May 2004 12:26:32 -0000 Hi Paul (cc list), I did get the button parameters working in Mozilla, but not in IE. Why does the makeButton function always prepend a "null" as the first parameter value? I had to adapt my function to insert a dummy first parameter in order to get it working: function openPreview(dummy, format) Also the makeButton function adds its own quotes around the string, so I had to remove those in my makeButton call (layout instead of 'layout'). get("23", "Download")), trim($oMLT->get("23", "Download")), array( 'width' => 75 )); ?> As I said in Mozilla it works, but in IE not. I have 2 buttons which call the same js function, but with a different parameter (layout and map). The second button does not hover and cannot be clicked in IE. Any thoughts, this must be something pretty deep in the button core? Thanks in advance. Best regards, Bart From bartvde@xs4all.nl Mon May 10 08:36:40 2004 Received: from smtp-out5.xs4all.nl (smtp-out5.xs4all.nl [194.109.24.6]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4ACaXRX028265 for ; Mon, 10 May 2004 08:36:33 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out5.xs4all.nl (8.12.10/8.12.10) with SMTP id i4ACaW3Z072758 for ; Mon, 10 May 2004 14:36:33 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Mon, 10 May 2004 14:36:33 +0200 (CEST) Message-ID: <5748.212.238.227.182.1084192593.squirrel@webmail.xs4all.nl> In-Reply-To: <16851.212.238.227.182.1084191984.squirrel@webmail.xs4all.nl> References: <16851.212.238.227.182.1084191984.squirrel@webmail.xs4all.nl> Date: Mon, 10 May 2004 14:36:33 +0200 (CEST) Subject: Re: [Chameleon] last of my button troubles? From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-DMSolutions-MailScanner-SpamScore: ss X-MailScanner-From: bartvde@xs4all.nl X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 May 2004 12:36:40 -0000 I just saw both buttons get the exact same id and name in HTML, maybe this is causing the problems? Any way to make sure the id's are completely unique? Bewaren The syntax for MakeButton changed. Old example:
get("13", "Locate Service")), trim($oMLT->get("14", "Locate Place")), getDefaultParams( array() ) ); ?> New example: get("13", "Locate Service")), trim($oMLT->get("14", "Locate Place")), array( 'width' => 75 )); ?> =========================================== In the HTML template: Old widget style for button type widgets: New style: ================ Widget positions ================ include_once("Widget.php"); becomes: include_once(dirname(__FILE__)."/../Widget.php"); -- $this->moPopup->mszLink = "widgets/ExtractWFSData.phtml"; becomes: $this->moPopup->mszLink = $_SESSION['gszCoreWebPath']. "/widgets/ExtractWFSData/ExtractWFSData.phtml"; ------=_20040511092902_15723-- From bartvde@xs4all.nl Tue May 11 06:24:40 2004 Received: from smtp-out1.xs4all.nl (smtp-out1.xs4all.nl [194.109.24.11]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4BAOWtX004021 for ; Tue, 11 May 2004 06:24:32 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out1.xs4all.nl (8.12.10/8.12.10) with SMTP id i4BAOVbE008965 for ; Tue, 11 May 2004 12:24:32 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Tue, 11 May 2004 12:24:32 +0200 (CEST) Message-ID: <8004.212.238.227.182.1084271072.squirrel@webmail.xs4all.nl> Date: Tue, 11 May 2004 12:24:32 +0200 (CEST) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Subject: [Chameleon] WMSBrowser widget X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 May 2004 10:24:41 -0000 Hi list, I have noticed the WMSBrowser widget is the only widget (AFAIK) which uses its own css file. This makes it difficult to have several Chameleon applications which use different colors. For this one would use the PopupCSS shared resource normally, but the WMSBrowser widget does not use this popup.css. Are there any specific reasons for this structure? Ofcourse the WMSBrowser widget is a specific widget because it is a Chameleon application by itself. Would it theoretically be possible in the current Chameleon structure to pass the value of the PopupCSS shared resource to the WMSBrowser widget? Another question, would it (theoretically) be possibly to use makeButton functions in the WMSBrowser instead of the static images? Best regards, Bart From pagameba@magma.ca Tue May 11 07:27:00 2004 Received: from s-utl01-lapop.stsn.com (s-utl01-lapop.stsn.com [12.129.240.11]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i4BBQmtY004706 for ; Tue, 11 May 2004 07:26:49 -0400 Received: from magma.ca ([10.60.38.143]) by s-utl01-lapop.stsn.com (SAVSMTP 3.1.0.29) with SMTP id M2004051104262523039 ; Tue, 11 May 2004 04:26:26 -0700 Message-ID: <40A0B858.6050909@magma.ca> Date: Tue, 11 May 2004 07:26:16 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl Subject: Re: [Chameleon] WMSBrowser widget References: <8004.212.238.227.182.1084271072.squirrel@webmail.xs4all.nl> In-Reply-To: <8004.212.238.227.182.1084271072.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 May 2004 11:27:00 -0000 Bart, the WMSBrowser is problematic because it is actually a standalone chameleon application as well as a widget. Or it was written as a standalone application, I should say, then converted to a widget. This makes it difficult to refer to the popupcss in the app template because it is a template. What needs to be done is: 1. remove static references to css and replace with [$PopupCSS$] 2. add $oApp->setVar( 'PopupCSS', $_SESSION['PopupCSS'] ); in the WMSBrowser.php just before $oApp->CWCExecute(); 3. replace static images with ... to create correct buttons The complication here is that the WMSBrowser application page would need its own sharedresource for styling the link widgets, which may or may not coincide with the app developers main page's sharedresources (documentation issue I guess). Anyway, it can be done and should be done :) I'll try to get to it. Paul bartvde@xs4all.nl wrote: > Hi list, > > I have noticed the WMSBrowser widget is the only widget (AFAIK) which uses > its own css file. This makes it difficult to have several Chameleon > applications which use different colors. For this one would use the > PopupCSS shared resource normally, but the WMSBrowser widget does not use > this popup.css. > > Are there any specific reasons for this structure? Ofcourse the WMSBrowser > widget is a specific widget because it is a Chameleon application by > itself. Would it theoretically be possible in the current Chameleon > structure to pass the value of the PopupCSS shared resource to the > WMSBrowser widget? > > Another question, would it (theoretically) be possibly to use makeButton > functions in the WMSBrowser instead of the static images? > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From msr@sourcepole.ch Tue May 11 08:53:12 2004 Received: from smtp.tiscali.ch (smtp.tiscali.ch [212.40.5.52]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4BCr3tX005109 for ; Tue, 11 May 2004 08:53:04 -0400 Received: from wal.sourcepole (adsl-40-71-bs4.tiscali.ch [212.254.40.71]) by smtp.tiscali.ch (8.11.7/8.11.7) with ESMTP id i4BCr0d31550 for ; Tue, 11 May 2004 14:53:01 +0200 Received: from msr.sourcepole ([192.168.1.104]) by wal.sourcepole with esmtp (Exim 3.35 #1 (Debian)) id 1BNWlP-0008Vy-00 for ; Tue, 11 May 2004 14:53:39 +0200 From: Schnider Markus Organization: Sourcepole AG To: chameleon@lists.maptools.org Date: Tue, 11 May 2004 14:52:59 +0200 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200405111452.59138.msr@sourcepole.ch> X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-DMSolutions-MailScanner-SpamScore: ss X-MailScanner-From: msr@sourcepole.ch Subject: [Chameleon] V1.99 image path X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 May 2004 12:53:13 -0000 Hi all (Bart and Paul?) I had some problems with the config file, but at this error it can't be: The browser can't find the images (example): Navigation Tools It should be: Navigation Tools I suppose the function that converts the image-button to the url path is not always running correctly. I know the source code not very good. I've found only the function fileSystemToURL(); What can I change? Markus Schnider From bartvde@xs4all.nl Tue May 11 09:04:52 2004 Received: from smtp-out1.xs4all.nl (smtp-out1.xs4all.nl [194.109.24.11]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4BD4itX005449 for ; Tue, 11 May 2004 09:04:45 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out1.xs4all.nl (8.12.10/8.12.10) with SMTP id i4BD4ccY093534; Tue, 11 May 2004 15:04:38 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Tue, 11 May 2004 15:04:44 +0200 (CEST) Message-ID: <9426.212.238.227.182.1084280684.squirrel@webmail.xs4all.nl> In-Reply-To: <200405111452.59138.msr@sourcepole.ch> References: <200405111452.59138.msr@sourcepole.ch> Date: Tue, 11 May 2004 15:04:44 +0200 (CEST) Subject: Re: [Chameleon] V1.99 image path From: bartvde@xs4all.nl To: "Schnider Markus" User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-DMSolutions-MailScanner-SpamScore: s X-MailScanner-From: bartvde@xs4all.nl Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 May 2004 13:04:53 -0000 Hi Markus, you need to add the following to the index.phtml file of the application that you are running. $_SESSION['gszAppPath'] = "/ms4w/apps/geoservices05/htdocs"; $_SESSION['gszAppWebPath'] = "http://localhost/geoservices05"; Ofcourse you need to tweak those values for your situation. You are right it all happens in the fileSystemToURL function. Best regards, Bart > Hi all (Bart and Paul?) > > I had some problems with the config file, but at this error it can't be: > > The browser can't find the images (example): > > SRC="/var/www/cwc2-app/samples/htdocs/skins/sample/buttons/button_tab_nav_1.png" > ALT="Navigation Tools" TITLE="Navigation Tools" BORDER="0" WIDTH="60" > HEIGHT="10"> > > It should be: > > SRC="http://cwc2-app/samples/htdocs/skins/sample/buttons/button_tab_nav_1.png" > ALT="Navigation Tools" TITLE="Navigation Tools" BORDER="0" WIDTH="60" > HEIGHT="10"> > > I suppose the function that converts the image-button to the url path is > not > always running correctly. > > I know the source code not very good. I've found only the function > fileSystemToURL(); > What can I change? > > Markus Schnider > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From msr@sourcepole.ch Tue May 11 09:45:29 2004 Received: from smtp.tiscali.ch (smtp.tiscali.ch [212.40.5.52]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4BDjLtX005913 for ; Tue, 11 May 2004 09:45:21 -0400 Received: from wal.sourcepole (adsl-40-71-bs4.tiscali.ch [212.254.40.71]) by smtp.tiscali.ch (8.11.7/8.11.7) with ESMTP id i4BDjJd21067; Tue, 11 May 2004 15:45:20 +0200 Received: from msr.sourcepole ([192.168.1.104]) by wal.sourcepole with esmtp (Exim 3.35 #1 (Debian)) id 1BNXa3-0001cd-00; Tue, 11 May 2004 15:45:59 +0200 From: Schnider Markus Organization: Sourcepole AG To: bartvde@xs4all.nl Subject: Re: [Chameleon] V1.99 image path Date: Tue, 11 May 2004 15:45:18 +0200 User-Agent: KMail/1.6.2 References: <200405111452.59138.msr@sourcepole.ch> <9426.212.238.227.182.1084280684.squirrel@webmail.xs4all.nl> In-Reply-To: <9426.212.238.227.182.1084280684.squirrel@webmail.xs4all.nl> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200405111545.18775.msr@sourcepole.ch> X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: msr@sourcepole.ch Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 May 2004 13:45:29 -0000 Thanks My questions could be stressing or good for a documentation: Some widgets are not found. In the basic sample (also xml theme, ogc, other) the widgets COMPASSPOINT and SCALEBAR looks like: ------------------------------------------------------------ <cwc2 type="SCALEBAR" units="KILOMETERS" visible="true" width="250" height="3"/> ------------------------------------------------------------ or in other demo also: CATALOGSEARCH Kind regards Markus Schnider PS: An excellent application in this state (1.99 beta 1)! On Tuesday 11 May 2004 15:04, bartvde@xs4all.nl wrote: > Hi Markus, > > you need to add the following to the index.phtml file of the application > that you are running. > > $_SESSION['gszAppPath'] = "/ms4w/apps/geoservices05/htdocs"; > $_SESSION['gszAppWebPath'] = "http://localhost/geoservices05"; > > Ofcourse you need to tweak those values for your situation. You are right > it all happens in the fileSystemToURL function. > > Best regards, > Bart > > > Hi all (Bart and Paul?) > > > > I had some problems with the config file, but at this error it can't be: > > > > The browser can't find the images (example): > > > > > SRC="/var/www/cwc2-app/samples/htdocs/skins/sample/buttons/button_tab_nav > >_1.png" ALT="Navigation Tools" TITLE="Navigation Tools" BORDER="0" > > WIDTH="60" HEIGHT="10"> > > > > It should be: > > > > > SRC="http://cwc2-app/samples/htdocs/skins/sample/buttons/button_tab_nav_1 > >.png" ALT="Navigation Tools" TITLE="Navigation Tools" BORDER="0" > > WIDTH="60" HEIGHT="10"> > > > > I suppose the function that converts the image-button to the url path is > > not > > always running correctly. > > > > I know the source code not very good. I've found only the function > > fileSystemToURL(); > > What can I change? > > > > Markus Schnider > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > http://lists.maptools.org/mailman/listinfo/chameleon > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon From bartvde@xs4all.nl Tue May 11 10:25:20 2004 Received: from smtp-out5.xs4all.nl (smtp-out5.xs4all.nl [194.109.24.6]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4BEPCtX006520 for ; Tue, 11 May 2004 10:25:13 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out5.xs4all.nl (8.12.10/8.12.10) with SMTP id i4BEP63Z006738 for ; Tue, 11 May 2004 16:25:12 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Tue, 11 May 2004 16:25:12 +0200 (CEST) Message-ID: <15913.212.238.227.182.1084285512.squirrel@webmail.xs4all.nl> Date: Tue, 11 May 2004 16:25:12 +0200 (CEST) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Subject: [Chameleon] KeyMapDHTML2 widget problem X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 May 2004 14:25:20 -0000 Hi list, I have a problem with the KeyMapDHTML2 widget. The box indicated on the key map is not correct when the pixel width/height proportions differ between KeyMap and MapDHTMLWidget. My MapDHTML widget has the following dimensions: width 800 height 560 My key map has the following dimensions: Is this to be considered a bug in the KeyMap, or is this by design? I.e. should all applications use a key map in the same proportions as the main map? Best regards, Bart From pagameba@magma.ca Tue May 11 11:37:16 2004 Received: from s-utl01-lapop.stsn.com (s-utl01-lapop.stsn.com [12.129.240.11]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i4BFavtY007227 for ; Tue, 11 May 2004 11:36:58 -0400 Received: from magma.ca ([10.60.38.143]) by s-utl01-lapop.stsn.com (SAVSMTP 3.1.0.29) with SMTP id M2004051108364704030 ; Tue, 11 May 2004 08:36:47 -0700 Message-ID: <40A0F305.9090809@magma.ca> Date: Tue, 11 May 2004 11:36:37 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl Subject: Re: [Chameleon] V1.99 image path References: <200405111452.59138.msr@sourcepole.ch> <9426.212.238.227.182.1084280684.squirrel@webmail.xs4all.nl> In-Reply-To: <9426.212.238.227.182.1084280684.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-DMSolutions-MailScanner-SpamScore: s X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org, Schnider Markus X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 May 2004 15:37:16 -0000 Guys, this seems to be a result of limitations that I didn't understand, I committed a change to chameleon.php last night that may remove the requirement for you to specify gszAppPath and gszAppWebPath in your index.phtml files. Bart, could you try the latest cvs and see if it works if you remove those lines pls? Cheers, Paul bartvde@xs4all.nl wrote: > Hi Markus, > > you need to add the following to the index.phtml file of the application > that you are running. > > $_SESSION['gszAppPath'] = "/ms4w/apps/geoservices05/htdocs"; > $_SESSION['gszAppWebPath'] = "http://localhost/geoservices05"; > > Ofcourse you need to tweak those values for your situation. You are right > it all happens in the fileSystemToURL function. > > Best regards, > Bart > > >>Hi all (Bart and Paul?) >> >>I had some problems with the config file, but at this error it can't be: >> >>The browser can't find the images (example): >> >>>SRC="/var/www/cwc2-app/samples/htdocs/skins/sample/buttons/button_tab_nav_1.png" >>ALT="Navigation Tools" TITLE="Navigation Tools" BORDER="0" WIDTH="60" >>HEIGHT="10"> >> >>It should be: >> >>>SRC="http://cwc2-app/samples/htdocs/skins/sample/buttons/button_tab_nav_1.png" >>ALT="Navigation Tools" TITLE="Navigation Tools" BORDER="0" WIDTH="60" >>HEIGHT="10"> >> >>I suppose the function that converts the image-button to the url path is >>not >>always running correctly. >> >>I know the source code not very good. I've found only the function >>fileSystemToURL(); >>What can I change? >> >>Markus Schnider >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Tue May 11 11:37:18 2004 Received: from s-utl01-lapop.stsn.com (s-utl01-lapop.stsn.com [12.129.240.11]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i4BFavtY007226 for ; Tue, 11 May 2004 11:36:57 -0400 Received: from magma.ca ([10.60.38.143]) by s-utl01-lapop.stsn.com (SAVSMTP 3.1.0.29) with SMTP id M2004051108363804027 ; Tue, 11 May 2004 08:36:39 -0700 Message-ID: <40A0F2FD.8080609@magma.ca> Date: Tue, 11 May 2004 11:36:29 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Schnider Markus Subject: Re: [Chameleon] V1.99 image path References: <200405111452.59138.msr@sourcepole.ch> <9426.212.238.227.182.1084280684.squirrel@webmail.xs4all.nl> <200405111545.18775.msr@sourcepole.ch> In-Reply-To: <200405111545.18775.msr@sourcepole.ch> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-DMSolutions-MailScanner-SpamScore: s X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org, bartvde@xs4all.nl X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 May 2004 15:37:18 -0000 Markus, sorry on Linux the type attribute has become case-sensitive in this version of chameleon for very good technical reasons. Unfortunately, the demos were developed on windows which does not have a case-sensitive file system, so these should be considered bugs in the samples (and I have started to fix them in cvs). Cheers, Paul Schnider Markus wrote: > Thanks > > My questions could be stressing or good for a documentation: > Some widgets are not found. > In the basic sample (also xml theme, ogc, other) the widgets COMPASSPOINT and > SCALEBAR looks like: > ------------------------------------------------------------ > > > <cwc2 > type="SCALEBAR" units="KILOMETERS" > visible="true" width="250" > height="3"/> > > > ------------------------------------------------------------ > or in other demo also: > CATALOGSEARCH > > Kind regards > Markus Schnider > > PS: > An excellent application in this state (1.99 beta 1)! > > On Tuesday 11 May 2004 15:04, bartvde@xs4all.nl wrote: > >>Hi Markus, >> >>you need to add the following to the index.phtml file of the application >>that you are running. >> >>$_SESSION['gszAppPath'] = "/ms4w/apps/geoservices05/htdocs"; >>$_SESSION['gszAppWebPath'] = "http://localhost/geoservices05"; >> >>Ofcourse you need to tweak those values for your situation. You are right >>it all happens in the fileSystemToURL function. >> >>Best regards, >>Bart >> >> >>>Hi all (Bart and Paul?) >>> >>>I had some problems with the config file, but at this error it can't be: >>> >>>The browser can't find the images (example): >>> >>>>>SRC="/var/www/cwc2-app/samples/htdocs/skins/sample/buttons/button_tab_nav >>>_1.png" ALT="Navigation Tools" TITLE="Navigation Tools" BORDER="0" >>>WIDTH="60" HEIGHT="10"> >>> >>>It should be: >>> >>>>>SRC="http://cwc2-app/samples/htdocs/skins/sample/buttons/button_tab_nav_1 >>>.png" ALT="Navigation Tools" TITLE="Navigation Tools" BORDER="0" >>>WIDTH="60" HEIGHT="10"> >>> >>>I suppose the function that converts the image-button to the url path is >>>not >>>always running correctly. >>> >>>I know the source code not very good. I've found only the function >>>fileSystemToURL(); >>>What can I change? >>> >>>Markus Schnider >>>_______________________________________________ >>>Chameleon mailing list >>>Chameleon@lists.maptools.org >>>http://lists.maptools.org/mailman/listinfo/chameleon >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Tue May 11 22:20:34 2004 Received: from s-utl01-lapop.stsn.com (s-utl01-lapop.stsn.com [12.129.240.11]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i4C2KLtY010479 for ; Tue, 11 May 2004 22:20:25 -0400 Received: from magma.ca ([10.60.38.143]) by s-utl01-lapop.stsn.com (SAVSMTP 3.1.0.29) with SMTP id M2004051119195514223 ; Tue, 11 May 2004 19:19:55 -0700 Message-ID: <40A189BE.3070100@magma.ca> Date: Tue, 11 May 2004 22:19:42 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 Subject: Re: [Chameleon] WMSBrowser widget References: <8004.212.238.227.182.1084271072.squirrel@webmail.xs4all.nl> <40A0B858.6050909@magma.ca> In-Reply-To: <40A0B858.6050909@magma.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org, bartvde@xs4all.nl X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2004 02:20:34 -0000 Some corrections * $_SESSION['gszCSSFile'] instead of $_SESSION['PopupCSS'] * and it won't work anyway because the styles used in here are not the ones used in popup.css (at least, there are different ones used by mapbrowser.css) So the real solution is to provide the ability to specify a css file to use in the wmsbrowser application as part of the widget tag, with the default being to use the one provided by the widget in the chameleon distribution. This probably won't be done for the beta release so I'll file a bug using the contents of this email to remind me to look at this at some point ... Cheers, Paul PS just to be clear, popups from the WMS browser window will use the PopupCSS from the main application that launched it. What doesn't happen and can't work is the use of the PopupCSS in the WMS browser window since it does not use the same class names as the PopupCSS defines. Paul Spencer wrote: > Bart, > > the WMSBrowser is problematic because it is actually a standalone > chameleon application as well as a widget. Or it was written as a > standalone application, I should say, then converted to a widget. This > makes it difficult to refer to the popupcss in the app template because > it is a template. > > What needs to be done is: > > 1. remove static references to css and replace with [$PopupCSS$] > 2. add $oApp->setVar( 'PopupCSS', $_SESSION['PopupCSS'] ); in the > WMSBrowser.php just before $oApp->CWCExecute(); > 3. replace static images with jsfunction=" ... " .... > ... to create correct buttons > > The complication here is that the WMSBrowser application page would need > its own sharedresource for styling the link widgets, which may or may > not coincide with the app developers main page's sharedresources > (documentation issue I guess). > > Anyway, it can be done and should be done :) I'll try to get to it. > > Paul > > bartvde@xs4all.nl wrote: > >> Hi list, >> >> I have noticed the WMSBrowser widget is the only widget (AFAIK) which >> uses >> its own css file. This makes it difficult to have several Chameleon >> applications which use different colors. For this one would use the >> PopupCSS shared resource normally, but the WMSBrowser widget does not use >> this popup.css. >> >> Are there any specific reasons for this structure? Ofcourse the >> WMSBrowser >> widget is a specific widget because it is a Chameleon application by >> itself. Would it theoretically be possible in the current Chameleon >> structure to pass the value of the PopupCSS shared resource to the >> WMSBrowser widget? >> >> Another question, would it (theoretically) be possibly to use makeButton >> functions in the WMSBrowser instead of the static images? >> >> Best regards, >> Bart >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From bartvde@xs4all.nl Wed May 12 02:54:46 2004 Received: from smtp-out4.xs4all.nl (smtp-out4.xs4all.nl [194.109.24.5]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4C6sdtX011594 for ; Wed, 12 May 2004 02:54:39 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out4.xs4all.nl (8.12.10/8.12.10) with SMTP id i4C6sWYm013397 for ; Wed, 12 May 2004 08:54:38 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Wed, 12 May 2004 08:54:38 +0200 (CEST) Message-ID: <24852.212.238.227.182.1084344878.squirrel@webmail.xs4all.nl> Date: Wed, 12 May 2004 08:54:38 +0200 (CEST) Subject: Re: [Chameleon] V1.99 image path From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2004 06:54:47 -0000 Hi Paul, I got the latest chameleon.php from CVS but this does not work completely yet. The functionality I lose is the css for the popups in the application and the keymap image, when taking out: $_SESSION['gszAppPath'] = "/ms4w/apps/geoservices05/htdocs"; $_SESSION['gszAppWebPath'] = "http://localhost/geoservices05"; The wait image does work without these lines. Best regards, Bart -- Guys, this seems to be a result of limitations that I didn't understand, I committed a change to chameleon.php last night that may remove the requirement for you to specify gszAppPath and gszAppWebPath in your index.phtml files. Bart, could you try the latest cvs and see if it works if you remove those lines pls? Cheers, Paul From pagameba@magma.ca Wed May 12 07:29:16 2004 Received: from s-utl01-lapop.stsn.com (s-utl01-lapop.stsn.com [12.129.240.11]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i4CBT6qp014953 for ; Wed, 12 May 2004 07:29:07 -0400 Received: from magma.ca ([10.60.38.143]) by s-utl01-lapop.stsn.com (SAVSMTP 3.1.0.29) with SMTP id M2004051204284127323 ; Wed, 12 May 2004 04:28:41 -0700 Message-ID: <40A20A5C.9080400@magma.ca> Date: Wed, 12 May 2004 07:28:28 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl Subject: Re: [Chameleon] V1.99 image path References: <24852.212.238.227.182.1084344878.squirrel@webmail.xs4all.nl> In-Reply-To: <24852.212.238.227.182.1084344878.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-DMSolutions-MailScanner-SpamScore: s X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2004 11:29:16 -0000 ok. Part way there. How was it that you wished to specify the css? It was using absolute url without the http://localhost part right? i.e. /geoservices05/popup.css Paul bartvde@xs4all.nl wrote: > Hi Paul, > > I got the latest chameleon.php from CVS but this does not work completely > yet. The functionality I lose is the css for the popups in the application > and the keymap image, when taking out: > > $_SESSION['gszAppPath'] = "/ms4w/apps/geoservices05/htdocs"; > $_SESSION['gszAppWebPath'] = "http://localhost/geoservices05"; > > The wait image does work without these lines. > > Best regards, > Bart > > -- > > Guys, > > this seems to be a result of limitations that I didn't understand, I > committed a change to > chameleon.php last night that may remove the requirement for you to > specify gszAppPath and > gszAppWebPath in your index.phtml files. > > Bart, could you try the latest cvs and see if it works if you remove those > lines pls? > > Cheers, > > Paul > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From thowlett@whistlermuseum.org Wed May 12 11:38:47 2004 Received: from smtp1000.radiant.net (smtp.radiant.net [216.21.149.209]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i4CFcYqo016623 for ; Wed, 12 May 2004 11:38:35 -0400 Message-Id: <200405121538.i4CFcYqo016623@www.maptools.org> Received: (qmail 16024 invoked from network); 12 May 2004 15:21:33 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp.radiant.net with SMTP; 12 May 2004 15:21:33 -0000 From: "Tracy Howlett" To: Date: Wed, 12 May 2004 08:38:21 -0700 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcQ3KeUYudmhTfi1SuSD1v9ai3uHJgBDPDOA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 In-Reply-To: <19859.212.238.227.182.1084260542.squirrel@webmail.xs4all.nl> X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: thowlett@whistlermuseum.org Subject: [Chameleon] RE: Upgrading X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: thowlett@whistlermuseum.org List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2004 15:38:47 -0000 Will there be a source code bundle available for the update? I started with the non source package of Chameleon and the last time I tried to update the site from CVS I had lots of trouble. -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of bartvde@xs4all.nl Sent: Tuesday, May 11, 2004 12:29 AM To: Paul Dymecki Cc: Paul Dymecki; chameleon@lists.maptools.org; spencer@dmsolutions.ca Subject: Re: [Chameleon] upgradeing Hi Paul, 1) get the CVS version of Chameleon 2) get the CVS version of php_utils and copy the src part into common If you have existing widgets created by yourself, it takes a little bit of upgrading. If you have existing templates, you will need to do some little upgrading as well. I have attached my rough notes of this process. Best regards, Bart > Sorry, > I seem to have missed the instructions for upgradeing to 1.99, is it > enough to replace the chameleon directory with the cvs release and > reconfigure? > thx, > Paul > ----- Original Message ----- > From: "Paul Dymecki" > To: > Cc: > Sent: Monday, May 10, 2004 1:38 PM > Subject: Re: [Chameleon] zoomin widget > > >> Thanks, >> Also i wanted to get my navigation buttons(zoomin,zoomout,query) to >> be >> displayed with radio buttons, and was wondering what the process for >> that >> is? >> thx again, >> Paul >> ----- Original Message ----- >> From: "Paul Spencer" >> To: "Paul Dymecki" >> Cc: >> Sent: Monday, May 10, 2004 10:58 AM >> Subject: Re: [Chameleon] zoomin widget >> >> >> > Paul, >> > >> > it should work in single click mode as is (i.e. if you click and >> release >> > it will zoom in by a zoom factor at the clicked location). Zoom >> factor >> > is normally defaulted to 2, I think you can provide a different one in >> > the widget, and you can also use a ZoomFactor widget to allow the user >> > to specify a zoom factor (affects zoom in and out) >> > >> > If you want no fancy dhtml effects on the map at all, then you could >> use >> > the MapImageStatic widget >> > >> > Cheers, >> > >> > Paul >> > >> > Paul Dymecki wrote: >> > >> > > Hello, >> > > I was wondering if there is a way to make the zoomin widget, work >> without >> > > the bounding box? ie just by clicking on a point.. >> > > thx, >> > > Paul >> > > ----- Original Message ----- >> > > From: "Paul Spencer" >> > > To: >> > > Cc: >> > > Sent: Monday, May 10, 2004 7:51 AM >> > > Subject: Re: [Chameleon] waitimage and button width >> > > >> > > >> > > >> > >>Bart, >> > >> >> > >>bartvde@xs4all.nl wrote: >> > >> >> > >> >> > >>>Hi Paul (cc list), >> > >>> >> > >>>-- 1 -- >> > >>>I found one difference between Chameleon 1.1 and 1.99 with regard >> to >> the >> > >>>WaitImage. >> > >>> >> > >>>This is what I used to use: >> > >>>> waitimage="/chameleon_images/spinner_nl.gif" >> > >>>waitimagewidth="246" waitimageheight="50"/> >> > >>> >> > >>>chameleon_images was an alias to chameleon/htdocs/images >> > >>> >> > >>>Now I have to use: >> > >>>> > >>>waitimagewidth="246" waitimageheight="50"/> >> > >>> >> > >>>Probably the same kind of change as with the popup.css ... >> > >> >> > >>yes this is probably the same problem. >> > >> >> > >> >> > >>>-- 2 -- >> > >>>I have one issue with the button width, but this is not specific >> for >> > >>>version 1.99 of Chameleon. >> > >>> >> > >>>When internationalizing a Chameleon application, some text > s on the >> > > >> > > buttons >> > > >> > >>>become significantly larger than in the English version, which >> means > I >> > >>>have to change the source code to provide a different width in the >> > >>>MakeButton function. >> > >>> >> > >>>It would be great if something automagically could be arranged in > which >> > >>>buttons would estimate their width needed. But I know this will be >> > >>>difficult if not impossible to implement because of font >> differences >> > > >> > > etc. >> > > >> > >>>and it could mess up HTML layouts etc. >> > >>> >> > >>>But maybe something else could be invented so that this would not >> > > >> > > involve >> > > >> > >>>changing source code. This makes things difficult to maintain. >> > >>> >> > >>>Any thoughts? >> > >> >> > >>we talked about this already, we were thinking of having a mechanism > for >> > >>wildcarding the widget (and posssibly height) to allow the button to >> > >>stretch. The current thoughts are: >> > >> >> > >>width="*" - button is drawn just wide enough to accomodate the icon > and >> > >>text and padding >> > >> >> > >>width="100*" - the button is drawn at least 100 px wide but will be >> > >>stretched to allow for longer text if required >> > >> >> > >>width="100" - the button is exactly 100 px regardless of text >> > >> >> > >>Same logic could probably be used for height >> > >> >> > >>I haven't investigated this yet. >> > >> >> > >>Cheers, >> > >> >> > >>Paul >> > >> >> > >> >> > >>>Best regards, >> > >>>Bart >> > >>>_______________________________________________ >> > >>>Chameleon mailing list >> > >>>Chameleon@lists.maptools.org >> > >>>http://lists.maptools.org/mailman/listinfo/chameleon >> > >>> >> > >> >> > >>-- >> > >> ----------------------------------------------------------------- >> > >>|Paul Spencer pspencer@dmsolutions.ca | >> > >>|-----------------------------------------------------------------| >> > >>|Applications & Software Development | >> > >>|DM Solutions Group Inc http://www.dmsolutions.ca/| >> > >> ----------------------------------------------------------------- >> > >> >> > >>_______________________________________________ >> > >>Chameleon mailing list >> > >>Chameleon@lists.maptools.org >> > >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > >> > > >> > > _______________________________________________ >> > > Chameleon mailing list >> > > Chameleon@lists.maptools.org >> > > http://lists.maptools.org/mailman/listinfo/chameleon >> > > >> > >> > -- >> > ----------------------------------------------------------------- >> > |Paul Spencer pspencer@dmsolutions.ca | >> > |-----------------------------------------------------------------| >> > |Applications & Software Development | >> > |DM Solutions Group Inc http://www.dmsolutions.ca/| >> > ----------------------------------------------------------------- >> > >> > _______________________________________________ >> > Chameleon mailing list >> > Chameleon@lists.maptools.org >> > http://lists.maptools.org/mailman/listinfo/chameleon >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon From msr@sourcepole.ch Thu May 13 06:02:22 2004 Received: from smtp.tiscali.ch (smtp.tiscali.ch [212.40.5.52]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4D9xlSg024339 for ; Thu, 13 May 2004 05:59:48 -0400 Received: from wal.sourcepole (adsl-40-71-bs4.tiscali.ch [212.254.40.71]) by smtp.tiscali.ch (8.11.7/8.11.7) with ESMTP id i4D9xid00321 for ; Thu, 13 May 2004 11:59:45 +0200 Received: from msr.sourcepole ([192.168.1.104]) by wal.sourcepole with esmtp (Exim 3.35 #1 (Debian)) id 1BOD0D-0008US-00 for ; Thu, 13 May 2004 11:59:45 +0200 From: Schnider Markus Organization: Sourcepole AG To: chameleon@lists.maptools.org Date: Thu, 13 May 2004 11:59:43 +0200 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200405131159.43928.msr@sourcepole.ch> X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: msr@sourcepole.ch Subject: [Chameleon] widgets mix X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 May 2004 10:02:23 -0000 Hi all, I am testing version 1.99 I tried to make my own templates and would add some different widgets on one page: I took some widgets of nav_enhanced.html tools_enhanced_themelegend.html and would include the widgets of tools_roi.html or the widget -> MapSize but I've received an error message like this: ----------------------------------------------------- Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 (tried to allocate 198779 bytes) in /usr/local/cwc2/cwc2-1.99b1/htdocs/TemplateParser.php on line 274 Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 (tried to allocate 0 bytes) in Unknown on line 0 Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 (tried to allocate 131 bytes) in Unknown on line 0 Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0 ----------------------------------------------------- Have I forgotten some configuration in my '*.html' file (like sample_basic.html)? Couldn't I mix some widgets? Which widget can I not include at the same time? Thanks Markus Schnider From msr@sourcepole.ch Thu May 13 07:45:14 2004 Received: from smtp.tiscali.ch (smtp.tiscali.ch [212.40.5.52]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4DBj1Sg025253 for ; Thu, 13 May 2004 07:45:02 -0400 Received: from wal.sourcepole (adsl-40-71-bs4.tiscali.ch [212.254.40.71]) by smtp.tiscali.ch (8.11.7/8.11.7) with ESMTP id i4DBixd14041 for ; Thu, 13 May 2004 13:45:00 +0200 Received: from msr.sourcepole ([192.168.1.104]) by wal.sourcepole with esmtp (Exim 3.35 #1 (Debian)) id 1BOEe4-0002v0-00 for ; Thu, 13 May 2004 13:45:00 +0200 From: Schnider Markus Organization: Sourcepole AG To: chameleon@lists.maptools.org Subject: Re: [Chameleon] widgets mix Date: Thu, 13 May 2004 13:44:58 +0200 User-Agent: KMail/1.6.2 References: <200405131159.43928.msr@sourcepole.ch> In-Reply-To: <200405131159.43928.msr@sourcepole.ch> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200405131344.58914.msr@sourcepole.ch> X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: msr@sourcepole.ch X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 May 2004 11:45:15 -0000 I have detected my error: It is a limitation set in php.ini memory_limit How much memory requires chameleon maximal? Thanks On Thursday 13 May 2004 11:59, Schnider Markus wrote: > Hi all, > > I am testing version 1.99 > I tried to make my own templates and would add some different widgets on > one page: > I took some widgets of > nav_enhanced.html > tools_enhanced_themelegend.html > and would include the widgets of > tools_roi.html > or > the widget -> MapSize > > but I've received an error message like this: > ----------------------------------------------------- > Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 > (tried to allocate 198779 bytes) > in /usr/local/cwc2/cwc2-1.99b1/htdocs/TemplateParser.php on line 274 > > Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 > (tried to allocate 0 bytes) in Unknown on line 0 > > Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 > (tried to allocate 131 bytes) in Unknown on line 0 > > Warning: Unknown(): A session is active. You cannot change the session > module's ini settings at this time. in Unknown on line 0 > ----------------------------------------------------- > > Have I forgotten some configuration in my '*.html' file (like > sample_basic.html)? > Couldn't I mix some widgets? > Which widget can I not include at the same time? > > Thanks > > Markus Schnider > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon From pagameba@magma.ca Thu May 13 08:21:28 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4DCLJSg025581 for ; Thu, 13 May 2004 08:21:20 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i4DCLJ2V004879; Thu, 13 May 2004 08:21:19 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i4DCLEcd013923; Thu, 13 May 2004 08:21:19 -0400 Message-ID: <40A36832.2090206@magma.ca> Date: Thu, 13 May 2004 08:21:06 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Schnider Markus Subject: Re: [Chameleon] widgets mix References: <200405131159.43928.msr@sourcepole.ch> <200405131344.58914.msr@sourcepole.ch> In-Reply-To: <200405131344.58914.msr@sourcepole.ch> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 May 2004 12:21:28 -0000 Wow, I've never seen these errors/messages before (and we've used some pretty complex templates with many of these widgets combined). I would not have thought that chameleon would require anything but the default amount of memory, but that does in part rely on the processing done by widgets (i.e. processing large amounts of GML) but it sounds like you were just trying to load a template which should not cause undue memory useage. I have no idea what the maximum memory useage for chameleon could be, you may need to experiment. Do you have any capability to debug/profile PHP code in a way that would indicate memory useage? (Not sure what is available to do this, I don't think Zend will do it, perhaps xdebug or dbg?) Cheers, Paul Schnider Markus wrote: > I have detected my error: > > It is a limitation set in php.ini > memory_limit > > How much memory requires chameleon maximal? > > Thanks > > On Thursday 13 May 2004 11:59, Schnider Markus wrote: > >>Hi all, >> >>I am testing version 1.99 >>I tried to make my own templates and would add some different widgets on >>one page: >>I took some widgets of >>nav_enhanced.html >>tools_enhanced_themelegend.html >>and would include the widgets of >>tools_roi.html >>or >>the widget -> MapSize >> >>but I've received an error message like this: >>----------------------------------------------------- >>Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 >>(tried to allocate 198779 bytes) >>in /usr/local/cwc2/cwc2-1.99b1/htdocs/TemplateParser.php on line 274 >> >>Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 >>(tried to allocate 0 bytes) in Unknown on line 0 >> >>Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 >>(tried to allocate 131 bytes) in Unknown on line 0 >> >>Warning: Unknown(): A session is active. You cannot change the session >>module's ini settings at this time. in Unknown on line 0 >>----------------------------------------------------- >> >>Have I forgotten some configuration in my '*.html' file (like >>sample_basic.html)? >>Couldn't I mix some widgets? >>Which widget can I not include at the same time? >> >>Thanks >> >>Markus Schnider >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From bartvde@xs4all.nl Thu May 13 10:38:21 2004 Received: from smtp-out6.xs4all.nl (smtp-out6.xs4all.nl [194.109.24.7]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4DEc8Sg026688 for ; Thu, 13 May 2004 10:38:09 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out6.xs4all.nl (8.12.10/8.12.10) with SMTP id i4DEc2ew032088 for ; Thu, 13 May 2004 16:38:07 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Thu, 13 May 2004 16:38:08 +0200 (CEST) Message-ID: <22477.212.238.227.182.1084459088.squirrel@webmail.xs4all.nl> Date: Thu, 13 May 2004 16:38:08 +0200 (CEST) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Subject: [Chameleon] WMSBrowser in combination with Query X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 May 2004 14:38:21 -0000 Hi Paul (cc list), WMS layers which get added through the WMSBrowser widget don't display GetFeatureInfo (through the query tool). I had to add two lines to WMSBrowser.widget.php to get this working, Paul could you incorporate this in CVS please? These are the lines I needed to add: $oNewLayer->set( "connection", $axParams["connection"] ); // Bart, 13-05-2004: $oNewLayer->set( "template", "blank.html" ); $oNewLayer->set( "dump", TRUE ); Thanks. Best regards, Bart From Godwinl@AGR.GC.CA Thu May 13 11:13:38 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4DFDSSg027120 for ; Thu, 13 May 2004 11:13:28 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i4DF6ern010878 for ; Thu, 13 May 2004 11:06:40 -0400 Received: from ncrxem6 (webshieldout.agr.gc.ca [10.117.15.110]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with SMTP id i4DFB6LH011402 for ; Thu, 13 May 2004 11:11:06 -0400 Received: From onncrxcn1.AGR.GC.CA ([10.117.15.130]) by ncrxem6 (WebShield SMTP v4.5 MR1a); id 1084461353609; Thu, 13 May 2004 11:15:53 -0400 Received: from onncrxms2.AGR.GC.CA ([10.117.15.28]) by onncrxcn1.AGR.GC.CA with Microsoft SMTPSVC(5.0.2195.6713); Thu, 13 May 2004 11:12:25 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: [Chameleon] WMSBrowser in combination with Query Date: Thu, 13 May 2004 11:12:25 -0400 Message-ID: <482A7044F4DB2740884BAF6AFD741609204249@onncrxms2.agr.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Chameleon] WMSBrowser in combination with Query Thread-Index: AcQ4+DeThVCKIqlmSMu+TTuPvn7rMgABCvLA From: "Godwin, Liz" To: , X-OriginalArrivalTime: 13 May 2004 15:12:25.0960 (UTC) FILETIME=[B3054E80:01C438FC] X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: godwinl@agr.gc.ca Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i4DFDSSg027120 Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 May 2004 15:13:39 -0000 Hey Cool! Thanks! I'd been wondering about that. How do you find these things to fix? I've added it to my own cvs copy until it's added to the real cvs version. Liz Godwin -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of bartvde@xs4all.nl Sent: Thursday, May 13, 2004 10:38 AM To: chameleon@lists.maptools.org Subject: [Chameleon] WMSBrowser in combination with Query Hi Paul (cc list), WMS layers which get added through the WMSBrowser widget don't display GetFeatureInfo (through the query tool). I had to add two lines to WMSBrowser.widget.php to get this working, Paul could you incorporate this in CVS please? These are the lines I needed to add: $oNewLayer->set( "connection", $axParams["connection"] ); // Bart, 13-05-2004: $oNewLayer->set( "template", "blank.html" ); $oNewLayer->set( "dump", TRUE ); Thanks. Best regards, Bart _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From pagameba@magma.ca Thu May 13 16:53:22 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4DKrFSg029820 for ; Thu, 13 May 2004 16:53:16 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i4DKrFWx019966; Thu, 13 May 2004 16:53:15 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i4DKrBht028558; Thu, 13 May 2004 16:53:15 -0400 Message-ID: <40A3E02E.5030109@magma.ca> Date: Thu, 13 May 2004 16:53:02 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl Subject: Re: [Chameleon] WMSBrowser in combination with Query References: <22477.212.238.227.182.1084459088.squirrel@webmail.xs4all.nl> In-Reply-To: <22477.212.238.227.182.1084459088.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 May 2004 20:53:22 -0000 Done. I have a concern about making all layers queryable though. Information about the queryability (?) of layers should come from the capabilities document, which should be preserved in one of the dbf files in the wmsparse cache, which means that we should probably be looking at one of the values in $axParams ($axParams['queriable']?) to see if the layer is queryable, and only if the layer is queryable should we add the template/dump values. And as a wms client, do we really need dump? I think that only applies to the wms server. But anyway this code is in cvs. Cheers, Paul bartvde@xs4all.nl wrote: > Hi Paul (cc list), > > WMS layers which get added through the WMSBrowser widget don't display > GetFeatureInfo (through the query tool). > > I had to add two lines to WMSBrowser.widget.php to get this working, Paul > could you incorporate this in CVS please? > > These are the lines I needed to add: > > $oNewLayer->set( "connection", $axParams["connection"] ); > // Bart, 13-05-2004: > $oNewLayer->set( "template", "blank.html" ); > $oNewLayer->set( "dump", TRUE ); > > Thanks. > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From jacob.delfos@maunsell.com Fri May 14 00:33:29 2004 Received: from auper1gw001.hgm.com.au ([202.139.2.70]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4E4XHSg032000 for ; Fri, 14 May 2004 00:33:18 -0400 Received: from auper1gw001.hgm.com.au (localhost.localdomain [127.0.0.1]) by auper1gw001.hgm.com.au (8.12.8/8.12.8) with ESMTP id i4E4c2eF028115 for ; Fri, 14 May 2004 12:38:02 +0800 Received: from ace.hgm.com.au (ace [172.21.40.11]) by auper1gw001.hgm.com.au (8.12.8/8.12.8) with ESMTP id i4E4bxDQ028110 for ; Fri, 14 May 2004 12:38:01 +0800 Received: from auper1pc364 (Jacob_Delfos [172.21.42.93]) by ace.hgm.com.au (8.9.3/8.9.3) with SMTP id MAA19309 for ; Fri, 14 May 2004 12:39:58 +0800 (WST) Message-ID: <000801c4396c$5f04d560$5d2a15ac@auper1pc364> From: "J. Delfos" To: Date: Fri, 14 May 2004 12:31:48 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C439AF.6D0460C0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: jacob.delfos@maunsell.com Subject: [Chameleon] 1.99 package on website X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 May 2004 04:33:29 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C439AF.6D0460C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi All, Is there any chance that the 1.99 version could be placed in the = download website some time? I'm having some difficulties using CVS from = windows (wincvs won't work, maybe due to our firewall). Regards, Jacob ------=_NextPart_000_0005_01C439AF.6D0460C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi All,

Is there any chance that the 1.99 version could be placed in the = download=20 website some time? I'm having some difficulties using CVS from windows = (wincvs=20 won't work, maybe due to our firewall).

Regards,

Jacob

= ------=_NextPart_000_0005_01C439AF.6D0460C0-- From bartvde@xs4all.nl Fri May 14 12:49:07 2004 Received: from smtp-out1.xs4all.nl (smtp-out1.xs4all.nl [194.109.24.11]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4EGmwSg004156 for ; Fri, 14 May 2004 12:48:58 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out1.xs4all.nl (8.12.10/8.12.10) with SMTP id i4EGmg0m016702 for ; Fri, 14 May 2004 18:48:56 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Fri, 14 May 2004 18:48:57 +0200 (CEST) Message-ID: <12372.212.238.227.182.1084553337.squirrel@webmail.xs4all.nl> Date: Fri, 14 May 2004 18:48:57 +0200 (CEST) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Subject: [Chameleon] WMSBrowser and styles=default X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 May 2004 16:49:08 -0000 Hi Paul (cc list), the preview option from the WMSBrowser widget uses &styles=default in the URL which does not work with the latest Mapserver (> 4.1) and which is not according to the OGC spec. Could this be changed in CVS (file is mapbrowser_template_en.html)? WMS 1.1.1 spec: If all layers are to be shown using the default style, either the form "STYLES=" or "STYLES=,,," is valid. Best regards, Bart From pdymecki@sympatico.ca Sat May 15 18:16:15 2004 Received: from tomts36-srv.bellnexxia.net (tomts36.bellnexxia.net [209.226.175.93]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4FMG6Cu012116 for ; Sat, 15 May 2004 18:16:06 -0400 Received: from paul ([67.71.17.216]) by tomts36-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20040515221555.LMHJ11251.tomts36-srv.bellnexxia.net@paul> for ; Sat, 15 May 2004 18:15:55 -0400 Message-ID: <003501c43aca$35dcbcc0$7b45fea9@paul> From: "Paul Dymecki" To: References: <12372.212.238.227.182.1084553337.squirrel@webmail.xs4all.nl> Date: Sat, 15 May 2004 18:16:03 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pdymecki@sympatico.ca Subject: [Chameleon] widget variable help X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 May 2004 22:16:15 -0000 Hi, I've posted a few messages asking how communication might work between widgets but have'nt had any luck with responses. I'm trying to pass a variable from the update map widget to a widget i've created. My widget just needs to check if the form has been submitted from the update map button or by one of the navigation buttons(egs.. zoom..). Any ideas would be much appreciated.. thx, Paul D ----- Original Message ----- From: To: Sent: Friday, May 14, 2004 12:48 PM Subject: [Chameleon] WMSBrowser and styles=default > Hi Paul (cc list), > > the preview option from the WMSBrowser widget uses &styles=default in the > URL which does not work with the latest Mapserver (> 4.1) and which is not > according to the OGC spec. > > Could this be changed in CVS (file is mapbrowser_template_en.html)? > > WMS 1.1.1 spec: > If all layers are to be shown using the default style, either the form > "STYLES=" or "STYLES=,,," is valid. > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon From thowlett@whistlermuseum.org Mon May 17 18:09:07 2004 Received: from smtp1000.radiant.net (smtp.radiant.net [216.21.149.209]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i4HM8uSB000578 for ; Mon, 17 May 2004 18:08:57 -0400 Message-Id: <200405172208.i4HM8uSB000578@www.maptools.org> Received: (qmail 27633 invoked from network); 17 May 2004 21:51:42 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp.radiant.net with SMTP; 17 May 2004 21:51:42 -0000 From: "Tracy Howlett" To: Subject: RE: [Chameleon] upgrading Date: Mon, 17 May 2004 15:08:40 -0700 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcQ3KeUYudmhTfi1SuSD1v9ai3uHJgFL3mKQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 In-Reply-To: <19859.212.238.227.182.1084260542.squirrel@webmail.xs4all.nl> X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-DMSolutions-MailScanner-SpamScore: s X-MailScanner-From: thowlett@whistlermuseum.org Cc: chameleon@lists.maptools.org, spencer@dmsolutions.ca X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: thowlett@whistlermuseum.org List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2004 22:09:07 -0000 Hi Paul and Bart, I've been running Chameleon without any stability issues for about 6 months. I'm now interested in upgrading to 1.99 in an effort to help out with some of my final development challenges. My original installation came from the binary and not from CVS. This method installed the chameleon files in a folder called 'cwc2' in my apps directory. Like I said, I've had the application running from there for quite some time now. Since you don't yet have a binary for 1.99 I've tried going the CVS route. I noticed that this version gets installed into a directory called 'chameleon'. For whatever reason, I cannot get the CVS version running from that directory. I've followed Paul's notes (thanks by the way) and backtracked on my old problems to try and get the fix but all I'm seeing is a blank page again. Here's what I've done: -Checked out Chameleon -Checked out php_utils and copied /src/ files into my newly created chameleon/htdocs/common directory -Copied my existing cwc2.xml from cwc2/config/ into chameleon/config - altered references to 'cwc2' to now reference 'chameleon' (your note says 'edit appropriately', I assume this type of edit is what you mean?) -Added 'chameleon' as a virtual directory using IIS -Changed my index.phtml to now include( "/apps/chameleon/htdocs/chameleon.php" ) instead of /apps/cwc2.... I can't think of anywhere else I need to change cwc2 to chameleon and yet I get a nothing on the screen. I had this same problem a few weeks ago when I tried a CVS install and then decided to just use the php_utils to update my own widget scripts but then the application had all kinds of trouble so I gave up!!! I did try just changing the newly installed 'chameleon' directory name to cwc2 but there was some conflict with that also - the screen still ends up blank. And ideas what step or file I'm missing? I'd appreciate your thoughts on this. Tracy -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of bartvde@xs4all.nl Sent: Tuesday, May 11, 2004 12:29 AM To: Paul Dymecki Cc: Paul Dymecki; chameleon@lists.maptools.org; spencer@dmsolutions.ca Subject: Re: [Chameleon] upgradeing Hi Paul, 1) get the CVS version of Chameleon 2) get the CVS version of php_utils and copy the src part into common If you have existing widgets created by yourself, it takes a little bit of upgrading. If you have existing templates, you will need to do some little upgrading as well. I have attached my rough notes of this process. Best regards, Bart > Sorry, > I seem to have missed the instructions for upgradeing to 1.99, is it > enough to replace the chameleon directory with the cvs release and > reconfigure? > thx, > Paul > ----- Original Message ----- > From: "Paul Dymecki" > To: > Cc: > Sent: Monday, May 10, 2004 1:38 PM > Subject: Re: [Chameleon] zoomin widget > > >> Thanks, >> Also i wanted to get my navigation buttons(zoomin,zoomout,query) to >> be >> displayed with radio buttons, and was wondering what the process for >> that >> is? >> thx again, >> Paul >> ----- Original Message ----- >> From: "Paul Spencer" >> To: "Paul Dymecki" >> Cc: >> Sent: Monday, May 10, 2004 10:58 AM >> Subject: Re: [Chameleon] zoomin widget >> >> >> > Paul, >> > >> > it should work in single click mode as is (i.e. if you click and >> release >> > it will zoom in by a zoom factor at the clicked location). Zoom >> factor >> > is normally defaulted to 2, I think you can provide a different one in >> > the widget, and you can also use a ZoomFactor widget to allow the user >> > to specify a zoom factor (affects zoom in and out) >> > >> > If you want no fancy dhtml effects on the map at all, then you could >> use >> > the MapImageStatic widget >> > >> > Cheers, >> > >> > Paul >> > >> > Paul Dymecki wrote: >> > >> > > Hello, >> > > I was wondering if there is a way to make the zoomin widget, work >> without >> > > the bounding box? ie just by clicking on a point.. >> > > thx, >> > > Paul >> > > ----- Original Message ----- >> > > From: "Paul Spencer" >> > > To: >> > > Cc: >> > > Sent: Monday, May 10, 2004 7:51 AM >> > > Subject: Re: [Chameleon] waitimage and button width >> > > >> > > >> > > >> > >>Bart, >> > >> >> > >>bartvde@xs4all.nl wrote: >> > >> >> > >> >> > >>>Hi Paul (cc list), >> > >>> >> > >>>-- 1 -- >> > >>>I found one difference between Chameleon 1.1 and 1.99 with regard >> to >> the >> > >>>WaitImage. >> > >>> >> > >>>This is what I used to use: >> > >>>> waitimage="/chameleon_images/spinner_nl.gif" >> > >>>waitimagewidth="246" waitimageheight="50"/> >> > >>> >> > >>>chameleon_images was an alias to chameleon/htdocs/images >> > >>> >> > >>>Now I have to use: >> > >>>> > >>>waitimagewidth="246" waitimageheight="50"/> >> > >>> >> > >>>Probably the same kind of change as with the popup.css ... >> > >> >> > >>yes this is probably the same problem. >> > >> >> > >> >> > >>>-- 2 -- >> > >>>I have one issue with the button width, but this is not specific >> for >> > >>>version 1.99 of Chameleon. >> > >>> >> > >>>When internationalizing a Chameleon application, some text > s on the >> > > >> > > buttons >> > > >> > >>>become significantly larger than in the English version, which >> means > I >> > >>>have to change the source code to provide a different width in the >> > >>>MakeButton function. >> > >>> >> > >>>It would be great if something automagically could be arranged in > which >> > >>>buttons would estimate their width needed. But I know this will be >> > >>>difficult if not impossible to implement because of font >> differences >> > > >> > > etc. >> > > >> > >>>and it could mess up HTML layouts etc. >> > >>> >> > >>>But maybe something else could be invented so that this would not >> > > >> > > involve >> > > >> > >>>changing source code. This makes things difficult to maintain. >> > >>> >> > >>>Any thoughts? >> > >> >> > >>we talked about this already, we were thinking of having a mechanism > for >> > >>wildcarding the widget (and posssibly height) to allow the button to >> > >>stretch. The current thoughts are: >> > >> >> > >>width="*" - button is drawn just wide enough to accomodate the icon > and >> > >>text and padding >> > >> >> > >>width="100*" - the button is drawn at least 100 px wide but will be >> > >>stretched to allow for longer text if required >> > >> >> > >>width="100" - the button is exactly 100 px regardless of text >> > >> >> > >>Same logic could probably be used for height >> > >> >> > >>I haven't investigated this yet. >> > >> >> > >>Cheers, >> > >> >> > >>Paul >> > >> >> > >> >> > >>>Best regards, >> > >>>Bart >> > >>>_______________________________________________ >> > >>>Chameleon mailing list >> > >>>Chameleon@lists.maptools.org >> > >>>http://lists.maptools.org/mailman/listinfo/chameleon >> > >>> >> > >> >> > >>-- >> > >> ----------------------------------------------------------------- >> > >>|Paul Spencer pspencer@dmsolutions.ca | >> > >>|-----------------------------------------------------------------| >> > >>|Applications & Software Development | >> > >>|DM Solutions Group Inc http://www.dmsolutions.ca/| >> > >> ----------------------------------------------------------------- >> > >> >> > >>_______________________________________________ >> > >>Chameleon mailing list >> > >>Chameleon@lists.maptools.org >> > >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > >> > > >> > > _______________________________________________ >> > > Chameleon mailing list >> > > Chameleon@lists.maptools.org >> > > http://lists.maptools.org/mailman/listinfo/chameleon >> > > >> > >> > -- >> > ----------------------------------------------------------------- >> > |Paul Spencer pspencer@dmsolutions.ca | >> > |-----------------------------------------------------------------| >> > |Applications & Software Development | >> > |DM Solutions Group Inc http://www.dmsolutions.ca/| >> > ----------------------------------------------------------------- >> > >> > _______________________________________________ >> > Chameleon mailing list >> > Chameleon@lists.maptools.org >> > http://lists.maptools.org/mailman/listinfo/chameleon >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon From pagameba@magma.ca Tue May 18 08:41:29 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4ICfHZf005423 for ; Tue, 18 May 2004 08:41:17 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i4ICfHg6009333; Tue, 18 May 2004 08:41:17 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i4ICfEuA011862; Tue, 18 May 2004 08:41:16 -0400 Message-ID: <40AA045E.8070805@magma.ca> Date: Tue, 18 May 2004 08:41:02 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: thowlett@whistlermuseum.org Subject: Re: [Chameleon] upgrading References: <200405172208.i4HM8rn30694@xcalibur.dmsolutions.ca> In-Reply-To: <200405172208.i4HM8rn30694@xcalibur.dmsolutions.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-DMSolutions-MailScanner-SpamScore: s X-MailScanner-From: pagameba@magma.ca Cc: spencer@dmsolutions.ca, chameleon@lists.maptools.org, bartvde@xs4all.nl X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2004 12:41:29 -0000 Tracy, copying cwc2.xml may not be sufficient. You may need to make a copy of the cwc2.xml-dist file that comes with Chameleon, name it cwc2.xml, and edit that. There have been a few changes to the configuration file, perhaps that is causing you problems? I will be releasing a "binary" package of beta 1 pretty soon (like the next day or two) Cheers, Paul Tracy Howlett wrote: > Hi Paul and Bart, > > I've been running Chameleon without any stability issues for about 6 months. > I'm now interested in upgrading to 1.99 in an effort to help out with some > of my final development challenges. > > My original installation came from the binary and not from CVS. This method > installed the chameleon files in a folder called 'cwc2' in my apps > directory. Like I said, I've had the application running from there for > quite some time now. Since you don't yet have a binary for 1.99 I've tried > going the CVS route. I noticed that this version gets installed into a > directory called 'chameleon'. For whatever reason, I cannot get the CVS > version running from that directory. I've followed Paul's notes (thanks by > the way) and backtracked on my old problems to try and get the fix but all > I'm seeing is a blank page again. > > Here's what I've done: > > -Checked out Chameleon > -Checked out php_utils and copied /src/ files into my newly created > chameleon/htdocs/common directory > -Copied my existing cwc2.xml from cwc2/config/ into chameleon/config - > altered references to 'cwc2' to now reference 'chameleon' (your note says > 'edit appropriately', I assume this type of edit is what you mean?) > -Added 'chameleon' as a virtual directory using IIS > -Changed my index.phtml to now include( > "/apps/chameleon/htdocs/chameleon.php" ) instead of /apps/cwc2.... > > I can't think of anywhere else I need to change cwc2 to chameleon and yet I > get a nothing on the screen. I had this same problem a few weeks ago when I > tried a CVS install and then decided to just use the php_utils to update my > own widget scripts but then the application had all kinds of trouble so I > gave up!!! > > I did try just changing the newly installed 'chameleon' directory name to > cwc2 but there was some conflict with that also - the screen still ends up > blank. And ideas what step or file I'm missing? > > I'd appreciate your thoughts on this. > > Tracy > > -----Original Message----- > From: chameleon-bounces@lists.maptools.org > [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of bartvde@xs4all.nl > Sent: Tuesday, May 11, 2004 12:29 AM > To: Paul Dymecki > Cc: Paul Dymecki; chameleon@lists.maptools.org; spencer@dmsolutions.ca > Subject: Re: [Chameleon] upgradeing > > Hi Paul, > > 1) get the CVS version of Chameleon > 2) get the CVS version of php_utils and copy the src part into common > > If you have existing widgets created by yourself, it takes a little bit of > upgrading. If you have existing templates, you will need to do some little > upgrading as well. > > I have attached my rough notes of this process. > > Best regards, > Bart > > >>Sorry, >> I seem to have missed the instructions for upgradeing to 1.99, is it >>enough to replace the chameleon directory with the cvs release and >>reconfigure? >>thx, >>Paul >>----- Original Message ----- >>From: "Paul Dymecki" >>To: >>Cc: >>Sent: Monday, May 10, 2004 1:38 PM >>Subject: Re: [Chameleon] zoomin widget >> >> >> >>>Thanks, >>> Also i wanted to get my navigation buttons(zoomin,zoomout,query) to >>>be >>>displayed with radio buttons, and was wondering what the process for >>>that >>>is? >>>thx again, >>>Paul >>>----- Original Message ----- >>>From: "Paul Spencer" >>>To: "Paul Dymecki" >>>Cc: >>>Sent: Monday, May 10, 2004 10:58 AM >>>Subject: Re: [Chameleon] zoomin widget >>> >>> >>> >>>>Paul, >>>> >>>>it should work in single click mode as is (i.e. if you click and >>> >>>release >>> >>>>it will zoom in by a zoom factor at the clicked location). Zoom >>> >>>factor >>> >>>>is normally defaulted to 2, I think you can provide a different one in >>>>the widget, and you can also use a ZoomFactor widget to allow the user >>>>to specify a zoom factor (affects zoom in and out) >>>> >>>>If you want no fancy dhtml effects on the map at all, then you could >>> >>>use >>> >>>>the MapImageStatic widget >>>> >>>>Cheers, >>>> >>>>Paul >>>> >>>>Paul Dymecki wrote: >>>> >>>> >>>>>Hello, >>>>> I was wondering if there is a way to make the zoomin widget, work >>> >>>without >>> >>>>>the bounding box? ie just by clicking on a point.. >>>>>thx, >>>>>Paul >>>>>----- Original Message ----- >>>>>From: "Paul Spencer" >>>>>To: >>>>>Cc: >>>>>Sent: Monday, May 10, 2004 7:51 AM >>>>>Subject: Re: [Chameleon] waitimage and button width >>>>> >>>>> >>>>> >>>>> >>>>>>Bart, >>>>>> >>>>>>bartvde@xs4all.nl wrote: >>>>>> >>>>>> >>>>>> >>>>>>>Hi Paul (cc list), >>>>>>> >>>>>>>-- 1 -- >>>>>>>I found one difference between Chameleon 1.1 and 1.99 with regard >>> >>>to >>>the >>> >>>>>>>WaitImage. >>>>>>> >>>>>>>This is what I used to use: >>>>>>>>> >>>waitimage="/chameleon_images/spinner_nl.gif" >>> >>>>>>>waitimagewidth="246" waitimageheight="50"/> >>>>>>> >>>>>>>chameleon_images was an alias to chameleon/htdocs/images >>>>>>> >>>>>>>Now I have to use: >>>>>>>>>>>>>waitimagewidth="246" waitimageheight="50"/> >>>>>>> >>>>>>>Probably the same kind of change as with the popup.css ... >>>>>> >>>>>>yes this is probably the same problem. >>>>>> >>>>>> >>>>>> >>>>>>>-- 2 -- >>>>>>>I have one issue with the button width, but this is not specific >>> >>>for >>> >>>>>>>version 1.99 of Chameleon. >>>>>>> >>>>>>>When internationalizing a Chameleon application, some text >> >>s on the >> >>>>>buttons >>>>> >>>>> >>>>>>>become significantly larger than in the English version, which >>> >>>means >> >>I >> >>>>>>>have to change the source code to provide a different width in the >>>>>>>MakeButton function. >>>>>>> >>>>>>>It would be great if something automagically could be arranged in >> >>which >> >>>>>>>buttons would estimate their width needed. But I know this will be >>>>>>>difficult if not impossible to implement because of font >>> >>>differences >>> >>>>>etc. >>>>> >>>>> >>>>>>>and it could mess up HTML layouts etc. >>>>>>> >>>>>>>But maybe something else could be invented so that this would not >>>>> >>>>>involve >>>>> >>>>> >>>>>>>changing source code. This makes things difficult to maintain. >>>>>>> >>>>>>>Any thoughts? >>>>>> >>>>>>we talked about this already, we were thinking of having a mechanism >> >>for >> >>>>>>wildcarding the widget (and posssibly height) to allow the button to >>>>>>stretch. The current thoughts are: >>>>>> >>>>>>width="*" - button is drawn just wide enough to accomodate the icon >> >>and >> >>>>>>text and padding >>>>>> >>>>>>width="100*" - the button is drawn at least 100 px wide but will be >>>>>>stretched to allow for longer text if required >>>>>> >>>>>>width="100" - the button is exactly 100 px regardless of text >>>>>> >>>>>>Same logic could probably be used for height >>>>>> >>>>>>I haven't investigated this yet. >>>>>> >>>>>>Cheers, >>>>>> >>>>>>Paul >>>>>> >>>>>> >>>>>> >>>>>>>Best regards, >>>>>>>Bart >>>>>>>_______________________________________________ >>>>>>>Chameleon mailing list >>>>>>>Chameleon@lists.maptools.org >>>>>>>http://lists.maptools.org/mailman/listinfo/chameleon >>>>>>> >>>>>> >>>>>>-- >>>>>> ----------------------------------------------------------------- >>>>>>|Paul Spencer pspencer@dmsolutions.ca | >>>>>>|-----------------------------------------------------------------| >>>>>>|Applications & Software Development | >>>>>>|DM Solutions Group Inc http://www.dmsolutions.ca/| >>>>>> ----------------------------------------------------------------- >>>>>> >>>>>>_______________________________________________ >>>>>>Chameleon mailing list >>>>>>Chameleon@lists.maptools.org >>>>>>http://lists.maptools.org/mailman/listinfo/chameleon >>>>> >>>>> >>>>>_______________________________________________ >>>>>Chameleon mailing list >>>>>Chameleon@lists.maptools.org >>>>>http://lists.maptools.org/mailman/listinfo/chameleon >>>>> >>>> >>>>-- >>>> ----------------------------------------------------------------- >>>>|Paul Spencer pspencer@dmsolutions.ca | >>>>|-----------------------------------------------------------------| >>>>|Applications & Software Development | >>>>|DM Solutions Group Inc http://www.dmsolutions.ca/| >>>> ----------------------------------------------------------------- >>>> >>>>_______________________________________________ >>>>Chameleon mailing list >>>>Chameleon@lists.maptools.org >>>>http://lists.maptools.org/mailman/listinfo/chameleon >>> >>>_______________________________________________ >>>Chameleon mailing list >>>Chameleon@lists.maptools.org >>>http://lists.maptools.org/mailman/listinfo/chameleon >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon > > > > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From jacob.delfos@maunsell.com Wed May 19 03:09:56 2004 Received: from aumel1gw001.maunsell.com (aumail1.maunsell.com.au [210.193.148.151]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i4J79bZg013760 for ; Wed, 19 May 2004 03:09:39 -0400 Received: from aumel1ex001.mel.maunsell.com.au ([172.21.0.15]) by aumel1gw001.maunsell.com (SAVSMTP 3.1.3.37) with SMTP id M2004051917125806060 for ; Wed, 19 May 2004 17:12:58 +1000 Received: by aumel1ex001.mel.maunsell.com.au with Internet Mail Service (5.5.2653.19) id ; Wed, 19 May 2004 17:09:48 +1000 Message-ID: From: "Delfos, Jacob" To: chameleon@lists.maptools.org Date: Wed, 19 May 2004 17:07:11 +1000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C43D6F.E829E360" X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-DMSolutions-MailScanner-SpamScore: s X-MailScanner-From: jacob.delfos@maunsell.com Subject: [Chameleon] Legend template using group rather than layer X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2004 07:09:57 -0000 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C43D6F.E829E360 Content-Type: text/plain Hi All, I've been tying to create a legend template which generates a legend with tickboxes to turn layers on and off, but which shows groups as well. If a layer is in a group, I don't want the invidividual layer to be shown at all. At the moment I'm using a basic template which I think I got off the mapserver website (pasted below). I tried to modify it to show groups, but it doesn't seem to work. Can anyone give me a hint? Regards, Jacob ---------------------------------------------------------------------------- ----------------------------------------------------------- [leg_layer_html order=ascending opt_flag=15] [if name=CWC_TMP_LAYER oper=isnull] [if name=wms_name oper=isnull] [leg_layer_name] [/if] [if name=wms_name oper=isset] [metadata name=WMS_TITLE] [/if] [/if] [/leg_layer_html] ------_=_NextPart_001_01C43D6F.E829E360 Content-Type: text/html Content-Transfer-Encoding: quoted-printable Legend template using group rather than layer

Hi All,

I've been tying to create a legend = template which generates a legend with tickboxes to turn layers on and = off, but which shows groups as well. If a layer is in a group, I don't = want the invidividual layer to be shown at all.

At the moment I'm using a basic = template which I think I got off the mapserver website (pasted = below).

I tried to modify it to show groups, = but it doesn't seem to work. Can anyone give me a hint?

Regards,

Jacob


---------------------------------------------------------= ------------------------------------------------------------------------= ------

[leg_layer_html = order=3Dascending opt_flag=3D15]
[if name=3DCWC_TMP_LAYER = oper=3Disnull]

  <tr = bgcolor=3D"#FFFFFF">
    <td = align=3D"center"><input type=3D"checkbox" = name=3D"legendlayername[]" = value=3D"[leg_layer_name]"
    [if = name=3Dlayer_status oper=3Deq  value=3D1]CHECKED[/if]
    [if = name=3Dlayer_status oper=3Deq = value=3D2]CHECKED[/if]></td>
    [if = name=3Dwms_name oper=3Disnull]
    = <td><a href=3D"#" = onclick=3D"javascript:LegendTemplateLayerInfo('[leg_layer_name]');&= quot;><font face=3D"Arial, Helvetica, sans-serif" = size=3D"1">[leg_layer_name]</font></a></td&g= t;

  </tr>
    [/if]
    [if = name=3Dwms_name oper=3Disset]
    = <td><a href=3D"#" = onclick=3D"javascript:LegendTemplateLayerInfo('[leg_layer_name]');&= quot;><font face=3D"Arial, Helvetica, sans-serif" = size=3D"1">[metadata = name=3DWMS_TITLE]</font></a></td>

  </tr>
    [/if]
[/if]
[/leg_layer_html]

------_=_NextPart_001_01C43D6F.E829E360-- From pagameba@magma.ca Wed May 19 06:49:58 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4JAnpPA015753 for ; Wed, 19 May 2004 06:49:51 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i4JAnoWP008169; Wed, 19 May 2004 06:49:50 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i4JAnkLr024274; Wed, 19 May 2004 06:49:50 -0400 Message-ID: <40AB3BBE.6070109@magma.ca> Date: Wed, 19 May 2004 06:49:34 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Delfos, Jacob" Subject: Re: [Chameleon] Legend template using group rather than layer References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-DMSolutions-MailScanner-SpamScore: s X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2004 10:49:58 -0000 Jacob, you have run into a limitation of the html legend template processor in mapserver, it is possible to show only groups OR layers. This was one of the reasons that we built the XMLThemeLegend, it allows you to create Themes and Groups of layers for display purposes independently of the grouping of layers in the map file. Unfortunately, the XMLThemeLegend cannot display classes. We did one project where we combined both the XMLThemeLegend and LegendTemplate. The XMLThemeLegend was used to generate layer visibility controls in a compact set of themes and groups and the LegendTemplate displayed groups and classes of visible layers (no checkboxes). Pretty cool. Sorry I couldn't help you more, Paul Delfos, Jacob wrote: > Hi All, > > I've been tying to create a legend template which generates a legend > with tickboxes to turn layers on and off, but which shows groups as > well. If a layer is in a group, I don't want the invidividual layer to > be shown at all. > > At the moment I'm using a basic template which I think I got off the > mapserver website (pasted below). > > I tried to modify it to show groups, but it doesn't seem to work. Can > anyone give me a hint? > > Regards, > > Jacob > > > --------------------------------------------------------------------------------------------------------------------------------------- > > [leg_layer_html order=ascending opt_flag=15] > [if name=CWC_TMP_LAYER oper=isnull] > > > value="[leg_layer_name]" > [if name=layer_status oper=eq value=1]CHECKED[/if] > [if name=layer_status oper=eq value=2]CHECKED[/if]> > [if name=wms_name oper=isnull] > onclick="javascript:LegendTemplateLayerInfo('[leg_layer_name]');"> face="Arial, Helvetica, sans-serif" > size="1">[leg_layer_name] > > > [/if] > [if name=wms_name oper=isset] > onclick="javascript:LegendTemplateLayerInfo('[leg_layer_name]');"> face="Arial, Helvetica, sans-serif" size="1">[metadata > name=WMS_TITLE] > > > [/if] > [/if] > [/leg_layer_html] > > > ------------------------------------------------------------------------ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Godwinl@AGR.GC.CA Wed May 19 17:24:44 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4JLOaPA021553 for ; Wed, 19 May 2004 17:24:36 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i4JLGurn015890 for ; Wed, 19 May 2004 17:16:57 -0400 Received: from ncrxem6 (webshieldout.agr.gc.ca [10.117.15.110]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with SMTP id i4JLI7D9005425 for ; Wed, 19 May 2004 17:18:07 -0400 Received: From onncrxcn1.AGR.GC.CA ([10.117.15.130]) by ncrxem6 (WebShield SMTP v4.5 MR1a); id 1085001749796; Wed, 19 May 2004 17:22:29 -0400 Received: from onncrxms2.AGR.GC.CA ([10.117.15.28]) by onncrxcn1.AGR.GC.CA with Microsoft SMTPSVC(5.0.2195.6713); Wed, 19 May 2004 16:51:39 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C43DAB.2E8C3883" Subject: RE: [Chameleon] Legend template using group rather than layer Date: Wed, 19 May 2004 10:11:30 -0400 Message-ID: <482A7044F4DB2740884BAF6AFD741609204266@onncrxms2.agr.gc.ca> X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: [Chameleon] Legend template using group rather than layer Thread-Index: AcQ9cHTGuPaKRoBjSluSQtVdzkbeLQAOlLLQ From: "Godwin, Liz" To: "Delfos, Jacob" , X-OriginalArrivalTime: 19 May 2004 20:51:39.0703 (UTC) FILETIME=[15468470:01C43DE3] X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-DMSolutions-MailScanner-SpamScore: s X-MailScanner-From: godwinl@agr.gc.ca Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2004 21:24:45 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C43DAB.2E8C3883 Content-Type: multipart/alternative; boundary="----_=_NextPart_002_01C43DAB.2E8C3883" ------_=_NextPart_002_01C43DAB.2E8C3883 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Jacob, =20 I've tested the following with Chamelon cvs (see legend3.html attached), I think it is what you want. It includes class info too. =20 =20 I found the folowing document very helpful:=20 http://mapserver.gis.umn.edu/doc40/html-legend-howto.html Note, any layers in your mapfile without group names will not have layers displayed at all. =20 Liz -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Delfos, Jacob Sent: May 19, 2004 3:07 AM To: chameleon@lists.maptools.org Subject: [Chameleon] Legend template using group rather than layer =09 =09 Hi All,=20 I've been tying to create a legend template which generates a legend with tickboxes to turn layers on and off, but which shows groups as well. If a layer is in a group, I don't want the invidividual layer to be shown at all. At the moment I'm using a basic template which I think I got off the mapserver website (pasted below).=20 I tried to modify it to show groups, but it doesn't seem to work. Can anyone give me a hint?=20 Regards,=20 Jacob=20 =09 ------------------------------------------------------------------------ --------------------------------------------------------------- [leg_layer_html order=3Dascending opt_flag=3D15]=20 [if name=3DCWC_TMP_LAYER oper=3Disnull]=20 =20 =20 [if name=3Dwms_name oper=3Disnull]=20 [leg_layer_name]
=20 [/if]=20 [if name=3Dwms_name oper=3Disset]=20 [metadata name=3DWMS_TITLE] =20 [/if]=20 [/if]=20 [/leg_layer_html]=20 ------_=_NextPart_002_01C43DAB.2E8C3883 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message
Jacob,
 
I've=20 tested the following with Chamelon cvs (see legend3.html attached), I = think it=20 is what you want.
It=20 includes class info too. 
 
I=20 found the folowing document very helpful: http:/= /mapserver.gis.umn.edu/doc40/html-legend-howto.html
Note,=20 any layers in your mapfile without group names will not have layers = displayed at=20 all.
 
Liz
-----Original Message-----
From:=20 chameleon-bounces@lists.maptools.org=20 [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of = Delfos,=20 Jacob
Sent: May 19, 2004 3:07 AM
To:=20 chameleon@lists.maptools.org
Subject: [Chameleon] Legend = template=20 using group rather than layer

Hi All,

I've been tying to create a legend = template which=20 generates a legend with tickboxes to turn layers on and off, but which = shows=20 groups as well. If a layer is in a group, I don't want the = invidividual layer=20 to be shown at all.

At the moment I'm using a basic = template which I=20 think I got off the mapserver website (pasted below).

I tried to modify it to show groups, = but it doesn't=20 seem to work. Can anyone give me a hint?

Regards,

Jacob


----------------------------------------------------------------= -----------------------------------------------------------------------

[leg_layer_html = order=3Dascending=20 opt_flag=3D15]
[if = name=3DCWC_TMP_LAYER=20 oper=3Disnull]

  <tr = bgcolor=3D"#FFFFFF">=20
    <td=20 align=3D"center"><input type=3D"checkbox" = name=3D"legendlayername[]"=20 value=3D"[leg_layer_name]"
    [if name=3Dlayer_status oper=3Deq =20 value=3D1]CHECKED[/if]
    [if name=3Dlayer_status oper=3Deq=20 value=3D2]CHECKED[/if]></td>
    [if name=3Dwms_name oper=3Disnull] =
    <td><a = href=3D"#"=20 = onclick=3D"javascript:LegendTemplateLayerInfo('[leg_layer_name]');">&l= t;font=20 face=3D"Arial, Helvetica, sans-serif"=20 = size=3D"1">[leg_layer_name]</font></a></td>

  </tr> =
    [/if] =
    [if name=3Dwms_name=20 oper=3Disset]
   =20 <td><a href=3D"#"=20 = onclick=3D"javascript:LegendTemplateLayerInfo('[leg_layer_name]');">&l= t;font=20 face=3D"Arial, Helvetica, sans-serif" size=3D"1">[metadata=20 name=3DWMS_TITLE]</font></a></td>

  </tr> =
    [/if] =
[/if]
[/leg_layer_html]

------_=_NextPart_002_01C43DAB.2E8C3883-- ------_=_NextPart_001_01C43DAB.2E8C3883 Content-Type: text/html; name="legend3.html" Content-Transfer-Encoding: base64 Content-Description: legend3.html Content-Disposition: attachment; filename="legend3.html" W2xlZ19ncm91cF9odG1sXQ0KPHRyPjx0ZCBjb2xzcGFuPTI+PGI+W2xlZ19ncm91cF9uYW1lXTwv Yj48L3RkPjwvdHI+DQpbL2xlZ19ncm91cF9odG1sXQ0KDQpbbGVnX2xheWVyX2h0bWwgb3B0X2Zs YWc9MTVdDQo8dHI+DQoJPHRkPjxpbnB1dCB0eXBlPWNoZWNrYm94IG5hbWU9bGF5ZXIgdmFsdWU9 W2xlZ19sYXllcl9uYW1lXSBbaWYgbmFtZT1sYXllcl9zdGF0dXMgdmFsdWU9MV1DSEVDS0VEWy9p Zl0+DQoNCltpZiBuYW1lPWxheWVyX3R5cGUgb3Blcj1uZXEgdmFsdWU9NF08aW1nIHNyYz1bbGVn X2ljb25dPlsvaWZdDQpbaWYgbmFtZT1sYXllcl90eXBlIHZhbHVlPTRdPGltZyBzcmM9W2xlZ19p Y29uIHdpZHRoPTIyIGhlaWdodD0xNV0+Wy9pZl0NCg0KPC90ZD4NCgk8dGQgY29sc3Bhbj0yPg0K CVtsZWdfbGF5ZXJfbmFtZV0NCgk8L3RkPg0KPC90cj4NClsvbGVnX2xheWVyX2h0bWxdDQpbbGVn X2NsYXNzX2h0bWxdDQo8dHI+DQogICA8dGQgd2lkdGg9MTA+PC90ZD4NCiAgIDx0ZD4NCiAgICAg ICA8aW1nIHNyYz0iW2xlZ19pY29uIHdpZHRoPTIwIGhlaWdodD0xMF0iIHdpZHRoPTIwIGhlaWdo dD0xMD4NCiAgIDwvdGQ+DQogICA8dGQ+DQogICAgICAgW2xlZ19jbGFzc19uYW1lXQ0KICAgPC90 ZD4NCjwvdHI+DQpbL2xlZ19jbGFzc19odG1sXQ== ------_=_NextPart_001_01C43DAB.2E8C3883-- From Godwinl@AGR.GC.CA Wed May 19 17:24:56 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4JLOkPA021570 for ; Wed, 19 May 2004 17:24:46 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i4JLH7rn016047 for ; Wed, 19 May 2004 17:17:07 -0400 Received: from ncrxem6 (webshieldout.agr.gc.ca [10.117.15.110]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with SMTP id i4JLIbD9013357 for ; Wed, 19 May 2004 17:18:37 -0400 Received: From onncrxcn1.AGR.GC.CA ([10.117.15.130]) by ncrxem6 (WebShield SMTP v4.5 MR1a); id 1085001766109; Wed, 19 May 2004 17:22:46 -0400 Received: from onncrxms2.AGR.GC.CA ([10.117.15.28]) by onncrxcn1.AGR.GC.CA with Microsoft SMTPSVC(5.0.2195.6713); Wed, 19 May 2004 16:52:03 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: [Chameleon] Legend template using group rather than layer Date: Wed, 19 May 2004 08:39:20 -0400 Message-ID: <482A7044F4DB2740884BAF6AFD741609204265@onncrxms2.agr.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Chameleon] Legend template using group rather than layer Thread-Index: AcQ9jzsklXN4ervLRvCJVUIKtumbXQADoaSQ From: "Godwin, Liz" To: X-OriginalArrivalTime: 19 May 2004 20:52:05.0265 (UTC) FILETIME=[2482F810:01C43DE3] X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-DMSolutions-MailScanner-SpamScore: s X-MailScanner-From: godwinl@agr.gc.ca Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i4JLOkPA021570 Cc: Chameleon X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2004 21:24:56 -0000 This is the second time I have heard this, but I'm not convinced. Why does this work then? Go to the Itasca demo: http://www2.dmsolutions.ca/msapps/itasca_legend/demo_init.html Legend 3 uses groups of layers. Also.. The online documentation suggests that this works. Liz -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Paul Spencer Sent: May 19, 2004 6:50 AM To: Delfos, Jacob Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Legend template using group rather than layer Jacob, you have run into a limitation of the html legend template processor in mapserver, it is possible to show only groups OR layers. This was one of the reasons that we built the XMLThemeLegend, it allows you to create Themes and Groups of layers for display purposes independently of the grouping of layers in the map file. Unfortunately, the XMLThemeLegend cannot display classes. We did one project where we combined both the XMLThemeLegend and LegendTemplate. The XMLThemeLegend was used to generate layer visibility controls in a compact set of themes and groups and the LegendTemplate displayed groups and classes of visible layers (no checkboxes). Pretty cool. Sorry I couldn't help you more, Paul Delfos, Jacob wrote: > Hi All, > > I've been tying to create a legend template which generates a legend > with tickboxes to turn layers on and off, but which shows groups as > well. If a layer is in a group, I don't want the invidividual layer to > be shown at all. > > At the moment I'm using a basic template which I think I got off the > mapserver website (pasted below). > > I tried to modify it to show groups, but it doesn't seem to work. Can > anyone give me a hint? > > Regards, > > Jacob > > > ---------------------------------------------------------------------- > ----------------------------------------------------------------- > > [leg_layer_html order=ascending opt_flag=15] > [if name=CWC_TMP_LAYER oper=isnull] > > > value="[leg_layer_name]" > [if name=layer_status oper=eq value=1]CHECKED[/if] > [if name=layer_status oper=eq value=2]CHECKED[/if]> > [if name=wms_name oper=isnull] > onclick="javascript:LegendTemplateLayerInfo('[leg_layer_name]');"> face="Arial, Helvetica, sans-serif" > size="1">[leg_layer_name] > > > [/if] > [if name=wms_name oper=isset] > onclick="javascript:LegendTemplateLayerInfo('[leg_layer_name]');"> face="Arial, Helvetica, sans-serif" size="1">[metadata > name=WMS_TITLE] > > > [/if] > [/if] > [/leg_layer_html] > > > ---------------------------------------------------------------------- > -- > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From pagameba@magma.ca Wed May 19 20:51:08 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4K0p1PA022678 for ; Wed, 19 May 2004 20:51:01 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i4K0p0Q0015893; Wed, 19 May 2004 20:51:00 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i4K0onjK027074; Wed, 19 May 2004 20:51:00 -0400 Message-ID: <40AC00DB.9080702@magma.ca> Date: Wed, 19 May 2004 20:50:35 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Godwin, Liz" Subject: Re: [Chameleon] Legend template using group rather than layer References: <482A7044F4DB2740884BAF6AFD741609204265@onncrxms2.agr.gc.ca> In-Reply-To: <482A7044F4DB2740884BAF6AFD741609204265@onncrxms2.agr.gc.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-DMSolutions-MailScanner-SpamScore: s X-MailScanner-From: pagameba@magma.ca Cc: Chameleon , spencer@dmsolutions.ca X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 May 2004 00:51:08 -0000 Liz, you may be right ... the piece of the documentation that appears to be pertinent is: "HTML block to use for layer group headers if layers should be grouped in the legend. If not set then layers are not grouped in the legend. When the [leg_group_html] tag is used, then layers that don't belong to any group (i.e. LAYER GROUP not set in the mapfile) and their classes will not show up at all in the legend. The group list is decided by the order_metadata parameter, which is explained later." What I think is most confusing here is that layers that have no group will not show up in the legend if the leg_group_html is used, regardless of whether you use a leg_layer_html or not. Certainly example 4 shows the two being used together. However, when we tried it for one of our clients, I seem to remember that we could not get it to work as we wanted, but that could have been a limitation of our requirements or the legend template processor, can't remember which. Cheers, Paul Godwin, Liz wrote: > This is the second time I have heard this, but I'm not convinced. > > Why does this work then? Go to the Itasca demo: > http://www2.dmsolutions.ca/msapps/itasca_legend/demo_init.html > > Legend 3 uses groups of layers. Also.. The online documentation > suggests that this works. > > Liz > > -----Original Message----- > From: chameleon-bounces@lists.maptools.org > [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Paul Spencer > Sent: May 19, 2004 6:50 AM > To: Delfos, Jacob > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Legend template using group rather than layer > > > Jacob, > > you have run into a limitation of the html legend template processor in > mapserver, it is possible to show only groups OR layers. This was one > of the reasons that we built the XMLThemeLegend, it allows you to create > > Themes and Groups of layers for display purposes independently of the > grouping of layers in the map file. > > Unfortunately, the XMLThemeLegend cannot display classes. > > We did one project where we combined both the XMLThemeLegend and > LegendTemplate. The XMLThemeLegend was used to generate layer > visibility controls in a compact set of themes and groups and the > LegendTemplate displayed groups and classes of visible layers (no > checkboxes). Pretty cool. > > Sorry I couldn't help you more, > > Paul > > Delfos, Jacob wrote: > > >>Hi All, >> >>I've been tying to create a legend template which generates a legend >>with tickboxes to turn layers on and off, but which shows groups as >>well. If a layer is in a group, I don't want the invidividual layer to > > >>be shown at all. >> >>At the moment I'm using a basic template which I think I got off the >>mapserver website (pasted below). >> >>I tried to modify it to show groups, but it doesn't seem to work. Can >>anyone give me a hint? >> >>Regards, >> >>Jacob >> >> >>---------------------------------------------------------------------- >>----------------------------------------------------------------- >> >>[leg_layer_html order=ascending opt_flag=15] >>[if name=CWC_TMP_LAYER oper=isnull] >> >> >> >value="[leg_layer_name]" >> [if name=layer_status oper=eq value=1]CHECKED[/if] >> [if name=layer_status oper=eq value=2]CHECKED[/if]> >> [if name=wms_name oper=isnull] >> > > > onclick="javascript:LegendTemplateLayerInfo('[leg_layer_name]');"> >>face="Arial, Helvetica, sans-serif" >>size="1">[leg_layer_name] >> >> >> [/if] >> [if name=wms_name oper=isset] >> > > > onclick="javascript:LegendTemplateLayerInfo('[leg_layer_name]');"> >>face="Arial, Helvetica, sans-serif" size="1">[metadata >>name=WMS_TITLE] >> >> >> [/if] >>[/if] >>[/leg_layer_html] >> >> >>---------------------------------------------------------------------- >>-- >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon > > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From dmorissette@dmsolutions.ca Thu May 20 10:41:30 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4KEfLQL028309 for ; Thu, 20 May 2004 10:41:21 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i4KEfK8g002760; Thu, 20 May 2004 10:41:20 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i4KEfJQY001863 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 20 May 2004 10:41:20 -0400 Message-ID: <40ACC315.1030309@dmsolutions.ca> Date: Thu, 20 May 2004 10:39:17 -0400 From: Daniel Morissette User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: spencer@dmsolutions.ca Subject: Re: [Chameleon] Legend template using group rather than layer References: <482A7044F4DB2740884BAF6AFD741609204265@onncrxms2.agr.gc.ca> <40AC00DB.9080702@magma.ca> In-Reply-To: <40AC00DB.9080702@magma.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: dmorissette@dmsolutions.ca Cc: Chameleon X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 May 2004 14:41:31 -0000 Paul Spencer wrote: > > "HTML block to use for layer group headers if layers should be grouped > in the legend. If not set then layers are not grouped in the legend. > > When the [leg_group_html] tag is used, then layers that don't belong to > any group (i.e. LAYER GROUP not set in the mapfile) and their classes > will not show up at all in the legend. The group list is decided by the > order_metadata parameter, which is explained later." > > What I think is most confusing here is that layers that have no group > will not show up in the legend if the leg_group_html is used, regardless > of whether you use a leg_layer_html or not. > If you think of a grouped legend as a hierarchy of objects then it all makes sense: A grouped legend contains [1..n] groups which contain [1..n] layers which in turn contain [1..n] classes. If you decide that your legend is going to use groups then it is not possible to display layers that don't have a group setting because they are orphan and are not attached to anything in the hierarchy described above. We could have decided to create a default (null) group I guess... I'm not sure why we didn't, but anyway if you are going to use groups in your legend then it just makes sense to use them everywhere or not at all. Daniel -- ------------------------------------------------------------ Daniel Morissette dmorissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From thowlett@whistlermuseum.org Thu May 20 15:11:09 2004 Received: from smtp1000.radiant.net (smtp.radiant.net [216.21.149.209]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i4KJAwQL030903 for ; Thu, 20 May 2004 15:10:58 -0400 Message-Id: <200405201910.i4KJAwQL030903@www.maptools.org> Received: (qmail 15637 invoked from network); 20 May 2004 18:53:38 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp.radiant.net with SMTP; 20 May 2004 18:53:38 -0000 From: "Tracy Howlett" To: Subject: RE: [Chameleon] upgrading Date: Thu, 20 May 2004 12:10:46 -0700 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcQ81WmQY0wW0W2/Rm22skCnfczfyQByKORw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 In-Reply-To: <40AA045E.8070805@magma.ca> X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-DMSolutions-MailScanner-SpamScore: s X-MailScanner-From: thowlett@whistlermuseum.org Cc: chameleon@lists.maptools.org, bartvde@xs4all.nl X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: thowlett@whistlermuseum.org List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 May 2004 19:11:09 -0000 That didn't seem to do it! Still works fine if I just switch back to my cwc2 install!! I'll wait for the binary and give it another go. Thanks! Tracy -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: Tuesday, May 18, 2004 5:41 AM To: thowlett@whistlermuseum.org Cc: bartvde@xs4all.nl; chameleon@lists.maptools.org; spencer@dmsolutions.ca Subject: Re: [Chameleon] upgrading Tracy, copying cwc2.xml may not be sufficient. You may need to make a copy of the cwc2.xml-dist file that comes with Chameleon, name it cwc2.xml, and edit that. There have been a few changes to the configuration file, perhaps that is causing you problems? I will be releasing a "binary" package of beta 1 pretty soon (like the next day or two) Cheers, Paul Tracy Howlett wrote: > Hi Paul and Bart, > > I've been running Chameleon without any stability issues for about 6 months. > I'm now interested in upgrading to 1.99 in an effort to help out with some > of my final development challenges. > > My original installation came from the binary and not from CVS. This method > installed the chameleon files in a folder called 'cwc2' in my apps > directory. Like I said, I've had the application running from there for > quite some time now. Since you don't yet have a binary for 1.99 I've tried > going the CVS route. I noticed that this version gets installed into a > directory called 'chameleon'. For whatever reason, I cannot get the CVS > version running from that directory. I've followed Paul's notes (thanks by > the way) and backtracked on my old problems to try and get the fix but all > I'm seeing is a blank page again. > > Here's what I've done: > > -Checked out Chameleon > -Checked out php_utils and copied /src/ files into my newly created > chameleon/htdocs/common directory > -Copied my existing cwc2.xml from cwc2/config/ into chameleon/config - > altered references to 'cwc2' to now reference 'chameleon' (your note says > 'edit appropriately', I assume this type of edit is what you mean?) > -Added 'chameleon' as a virtual directory using IIS > -Changed my index.phtml to now include( > "/apps/chameleon/htdocs/chameleon.php" ) instead of /apps/cwc2.... > > I can't think of anywhere else I need to change cwc2 to chameleon and yet I > get a nothing on the screen. I had this same problem a few weeks ago when I > tried a CVS install and then decided to just use the php_utils to update my > own widget scripts but then the application had all kinds of trouble so I > gave up!!! > > I did try just changing the newly installed 'chameleon' directory name to > cwc2 but there was some conflict with that also - the screen still ends up > blank. And ideas what step or file I'm missing? > > I'd appreciate your thoughts on this. > > Tracy > > -----Original Message----- > From: chameleon-bounces@lists.maptools.org > [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of bartvde@xs4all.nl > Sent: Tuesday, May 11, 2004 12:29 AM > To: Paul Dymecki > Cc: Paul Dymecki; chameleon@lists.maptools.org; spencer@dmsolutions.ca > Subject: Re: [Chameleon] upgradeing > > Hi Paul, > > 1) get the CVS version of Chameleon > 2) get the CVS version of php_utils and copy the src part into common > > If you have existing widgets created by yourself, it takes a little bit of > upgrading. If you have existing templates, you will need to do some little > upgrading as well. > > I have attached my rough notes of this process. > > Best regards, > Bart > > >>Sorry, >> I seem to have missed the instructions for upgradeing to 1.99, is it >>enough to replace the chameleon directory with the cvs release and >>reconfigure? >>thx, >>Paul >>----- Original Message ----- >>From: "Paul Dymecki" >>To: >>Cc: >>Sent: Monday, May 10, 2004 1:38 PM >>Subject: Re: [Chameleon] zoomin widget >> >> >> >>>Thanks, >>> Also i wanted to get my navigation buttons(zoomin,zoomout,query) to >>>be >>>displayed with radio buttons, and was wondering what the process for >>>that >>>is? >>>thx again, >>>Paul >>>----- Original Message ----- >>>From: "Paul Spencer" >>>To: "Paul Dymecki" >>>Cc: >>>Sent: Monday, May 10, 2004 10:58 AM >>>Subject: Re: [Chameleon] zoomin widget >>> >>> >>> >>>>Paul, >>>> >>>>it should work in single click mode as is (i.e. if you click and >>> >>>release >>> >>>>it will zoom in by a zoom factor at the clicked location). Zoom >>> >>>factor >>> >>>>is normally defaulted to 2, I think you can provide a different one in >>>>the widget, and you can also use a ZoomFactor widget to allow the user >>>>to specify a zoom factor (affects zoom in and out) >>>> >>>>If you want no fancy dhtml effects on the map at all, then you could >>> >>>use >>> >>>>the MapImageStatic widget >>>> >>>>Cheers, >>>> >>>>Paul >>>> >>>>Paul Dymecki wrote: >>>> >>>> >>>>>Hello, >>>>> I was wondering if there is a way to make the zoomin widget, work >>> >>>without >>> >>>>>the bounding box? ie just by clicking on a point.. >>>>>thx, >>>>>Paul >>>>>----- Original Message ----- >>>>>From: "Paul Spencer" >>>>>To: >>>>>Cc: >>>>>Sent: Monday, May 10, 2004 7:51 AM >>>>>Subject: Re: [Chameleon] waitimage and button width >>>>> >>>>> >>>>> >>>>> >>>>>>Bart, >>>>>> >>>>>>bartvde@xs4all.nl wrote: >>>>>> >>>>>> >>>>>> >>>>>>>Hi Paul (cc list), >>>>>>> >>>>>>>-- 1 -- >>>>>>>I found one difference between Chameleon 1.1 and 1.99 with regard >>> >>>to >>>the >>> >>>>>>>WaitImage. >>>>>>> >>>>>>>This is what I used to use: >>>>>>>>> >>>waitimage="/chameleon_images/spinner_nl.gif" >>> >>>>>>>waitimagewidth="246" waitimageheight="50"/> >>>>>>> >>>>>>>chameleon_images was an alias to chameleon/htdocs/images >>>>>>> >>>>>>>Now I have to use: >>>>>>>>>>>>>waitimagewidth="246" waitimageheight="50"/> >>>>>>> >>>>>>>Probably the same kind of change as with the popup.css ... >>>>>> >>>>>>yes this is probably the same problem. >>>>>> >>>>>> >>>>>> >>>>>>>-- 2 -- >>>>>>>I have one issue with the button width, but this is not specific >>> >>>for >>> >>>>>>>version 1.99 of Chameleon. >>>>>>> >>>>>>>When internationalizing a Chameleon application, some text >> >>s on the >> >>>>>buttons >>>>> >>>>> >>>>>>>become significantly larger than in the English version, which >>> >>>means >> >>I >> >>>>>>>have to change the source code to provide a different width in the >>>>>>>MakeButton function. >>>>>>> >>>>>>>It would be great if something automagically could be arranged in >> >>which >> >>>>>>>buttons would estimate their width needed. But I know this will be >>>>>>>difficult if not impossible to implement because of font >>> >>>differences >>> >>>>>etc. >>>>> >>>>> >>>>>>>and it could mess up HTML layouts etc. >>>>>>> >>>>>>>But maybe something else could be invented so that this would not >>>>> >>>>>involve >>>>> >>>>> >>>>>>>changing source code. This makes things difficult to maintain. >>>>>>> >>>>>>>Any thoughts? >>>>>> >>>>>>we talked about this already, we were thinking of having a mechanism >> >>for >> >>>>>>wildcarding the widget (and posssibly height) to allow the button to >>>>>>stretch. The current thoughts are: >>>>>> >>>>>>width="*" - button is drawn just wide enough to accomodate the icon >> >>and >> >>>>>>text and padding >>>>>> >>>>>>width="100*" - the button is drawn at least 100 px wide but will be >>>>>>stretched to allow for longer text if required >>>>>> >>>>>>width="100" - the button is exactly 100 px regardless of text >>>>>> >>>>>>Same logic could probably be used for height >>>>>> >>>>>>I haven't investigated this yet. >>>>>> >>>>>>Cheers, >>>>>> >>>>>>Paul >>>>>> >>>>>> >>>>>> >>>>>>>Best regards, >>>>>>>Bart >>>>>>>_______________________________________________ >>>>>>>Chameleon mailing list >>>>>>>Chameleon@lists.maptools.org >>>>>>>http://lists.maptools.org/mailman/listinfo/chameleon >>>>>>> >>>>>> >>>>>>-- >>>>>> ----------------------------------------------------------------- >>>>>>|Paul Spencer pspencer@dmsolutions.ca | >>>>>>|-----------------------------------------------------------------| >>>>>>|Applications & Software Development | >>>>>>|DM Solutions Group Inc http://www.dmsolutions.ca/| >>>>>> ----------------------------------------------------------------- >>>>>> >>>>>>_______________________________________________ >>>>>>Chameleon mailing list >>>>>>Chameleon@lists.maptools.org >>>>>>http://lists.maptools.org/mailman/listinfo/chameleon >>>>> >>>>> >>>>>_______________________________________________ >>>>>Chameleon mailing list >>>>>Chameleon@lists.maptools.org >>>>>http://lists.maptools.org/mailman/listinfo/chameleon >>>>> >>>> >>>>-- >>>> ----------------------------------------------------------------- >>>>|Paul Spencer pspencer@dmsolutions.ca | >>>>|-----------------------------------------------------------------| >>>>|Applications & Software Development | >>>>|DM Solutions Group Inc http://www.dmsolutions.ca/| >>>> ----------------------------------------------------------------- >>>> >>>>_______________________________________________ >>>>Chameleon mailing list >>>>Chameleon@lists.maptools.org >>>>http://lists.maptools.org/mailman/listinfo/chameleon >>> >>>_______________________________________________ >>>Chameleon mailing list >>>Chameleon@lists.maptools.org >>>http://lists.maptools.org/mailman/listinfo/chameleon >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon > > > > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From thowlett@whistlermuseum.org Thu May 20 16:27:14 2004 Received: from smtp1000.radiant.net (smtp.radiant.net [216.21.149.209]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i4KKR3QL031286 for ; Thu, 20 May 2004 16:27:03 -0400 Message-Id: <200405202027.i4KKR3QL031286@www.maptools.org> Received: (qmail 9974 invoked from network); 20 May 2004 20:09:44 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp.radiant.net with SMTP; 20 May 2004 20:09:44 -0000 From: "Tracy Howlett" To: "'Jason Fournier'" , Subject: RE: [Chameleon] Custom Query Results Date: Thu, 20 May 2004 13:26:48 -0700 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcQ2l5frfWxhpevoQtiiAsj5LkIbgAIEEp3A X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 In-Reply-To: <409F8B90.4020707@dmsolutions.ca> X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: thowlett@whistlermuseum.org Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: thowlett@whistlermuseum.org List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 May 2004 20:27:14 -0000 Here's my bit of code for URLs returned by a local datasource. This code also strips out unwanted fields automatically generated by Chameleon from the query results. Thanks Paul and Jason for sending me in the right direction! // loop and add a cell for each result - modified by Tracy Howlett foreach ( $aRow as $key => $xCell ) { //String comparison to search for fields that should NOT be returned in query results. if (strcasecmp($key, "SHAPE_INDEX") == 0 || strcasecmp($key, "TILE_INDEX") == 0 || strcasecmp($key, "LAYER_INDEX") == 0) continue; { //Look for strings containing an http header. If exists then format as a link, if not format as normal text. if ( stristr ($xCell, 'http://' )) $szReturnValue .= "

Click here for more information

\n"; else $szReturnValue .= "

". $xCell."

\n"; } } $szReturnValue .= "\n"; } -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Jason Fournier Sent: Monday, May 10, 2004 7:03 AM To: spencer@dmsolutions.ca Cc: thowlett@whistlermuseum.org; chameleon@lists.maptools.org Subject: Re: [Chameleon] Custom Query Results Hi Tracy, I have enabled this functionality for MapServer WMS Sources. If this is your primary datasource then the following lines of code shold suffice: LINE 958 QueryResults.phtml if( stristr( $szValue, 'http://' ) ) $szResult .= "

Click here for more information

\n"; else $szResult .= "

".$szValue."

\n"; If you are using local datasources (eg, shp, OGR-based, etc.) then some additional coding will be required. Essentially you must mimick the WMS version of the code. QueryResults.phtml handles three different datasources - local, MapServer WMS, and CubeServ WMS. Find the appropriate loop for printing out Attribute values and replacestrings as necessary. I hope to have this functionality integrated within the Query widget for various protocols in the near future. Hope this helps, Jason Paul Spencer wrote: > Tracy, > > I've cc'd Jason, he's customized the query widget for this kind of > thing before. His approach was to write a function to test a string > value and turn it from text into a hyperlink if it started with http:// > > This function was inserted into the query widget at the point that > each attribute is written out so that every linkable field is > automagically turned into a hyperlink. > > Cheers, > > Paul > > Tracy Howlett wrote: > >> Thanks Paul - that did just the trick. >> >> And now for more questions...is there a way to have the query result >> contain >> a URL to a document? If I include the URL in a field can I have the >> display >> results say 'Click here for more info' instead of actually listing >> the URL? >> >> Tracy >> >> -----Original Message----- >> From: chameleon-bounces@lists.maptools.org >> [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Paul Spencer >> Sent: Tuesday, April 20, 2004 1:09 PM >> To: thowlett@whistlermuseum.org >> Cc: chameleon@lists.maptools.org >> Subject: Re: [Chameleon] Custom Query Results >> >> Tracy, >> >> I think that the important part of QueryResults.phtml starts around >> line 376 (in my version which is the latest from CVS) and looks like >> this: >> >> // loop and use key for titles >> foreach ($aRows[0] as $key => $value) >> { >> $szReturnValue .= "

> class=\"text\">".$key."

\n"; >> } >> $szReturnValue .= "\n"; >> >> // loop through the results and format each row >> foreach ( $aRows as $aRow ) >> { >> // add a row for each >> $szReturnValue .= "\n"; >> >> // loop and add a cell for each result >> foreach ( $aRow as $xCell ) >> { >> $szReturnValue .= "> class=\"subContentArea1\">

". $xCell."

\n"; >> } >> >> $szReturnValue .= "\n"; >> } >> >> I think you want to put something like this: >> >> // loop and use key for titles >> foreach ($aRows[0] as $key => $value) >> { >> if (strcasecmp($key, "SHAPE_INDEX") == 0 || >> strcasecmp($key, "TILE_INDEX") == 0 || >> strcasecmp($key, "LAYER_INDEX") == 0) >> continue; >> $szReturnValue .= "

> class=\"text\">".$key."

\n"; >> } >> $szReturnValue .= "\n"; >> >> // loop through the results and format each row >> foreach ( $aRows as $aRow ) >> { >> // add a row for each >> $szReturnValue .= "\n"; >> >> // loop and add a cell for each result >> foreach ( $aRow as $key => $xCell ) >> { >> if (strcasecmp($key, "SHAPE_INDEX") == 0 || >> strcasecmp($key, "TILE_INDEX") == 0 || >> strcasecmp($key, "LAYER_INDEX") == 0) >> continue; >> $szReturnValue .= "> class=\"subContentArea1\">

". $xCell."

\n"; >> } >> >> $szReturnValue .= "\n"; >> } >> >> I just tried this and it seems to work. >> >> Alternately you could invert the logic and restrict the query results >> to exactly what you do want ... >> >> // loop and use key for titles >> foreach ($aRows[0] as $key => $value)FID; Shape; Name; >> Detail >> { >> if (strcasecmp($key, "FID") != 0 || >> strcasecmp($key, "Shape") != 0 || >> strcasecmp($key, "Name") != 0 || >> strcasecmp($key, "Detail") != 0) >> { >> $szReturnValue .= "> class=\"subContentArea2\">

".$key."

\n"; >> } >> } >> $szReturnValue .= "\n"; >> >> // loop through the results and format each row >> foreach ( $aRows as $aRow ) >> { >> // add a row for each >> $szReturnValue .= "\n"; >> >> // loop and add a cell for each result >> foreach ( $aRow as $key => $xCell ) >> { >> if (strcasecmp($key, "FID") != 0 || >> strcasecmp($key, "Shape") != 0 || >> strcasecmp($key, "Name") != 0 || >> strcasecmp($key, "Detail") != 0) >> { >> $szReturnValue .= "> class=\"subContentArea1\">

". $xCell."

\n"; >> } >> } >> >> $szReturnValue .= "\n"; >> } >> >> Cheers, >> >> Paul >> >> Tracy Howlett wrote: >> >> >>>> Pardon the duplicate post - just wanted to make sure the subject >>>> heading >>> >>> >>> wasn't misleading! >>> >>> Hello All, >>> My application is pretty much finished now but I do have a couple of >> >> >> tweaks >> >>> I'd like to get done. >>> >>> My query tool works well but in my query results I always get these >>> three >>> additional fields: >>> >>> SHAPE_INDEX; TILE_INDEX; LAYER_INDEX >>> >>> I'd like to suppress this information as it means nothing to the >>> user. In >>> order to try and streamline my query results all of my shapefiles >>> contain >>> only the following fields: >>> >>> FID; Shape; Name; Detail >>> >>> I've dug around and I think that the table is being written out in the >>> QueryResults.phtml file. I see a number of arrays in there which I >>> assume >>> are populated with my layers and the fields for each layer. Could >>> someone >>> give me some hint as to how I can tell the array to ignore the above >>> named >>> fields??? The part I can't figure out is how the names of the >>> fields are >>> being changed from FID in my shapefile to SHAPE_INDEX in the >>> results. Is >>> there a file I'm missing which includes this name switch? >>> >>> Any help would be appreciated. I'm guessing that I'm not the only >>> person >>> who'd like to have these ID fields be invisible! >>> >>> Cheers! >>> >>> Tracy >>> >>> >>> _______________________________________________ >>> Chameleon mailing list >>> Chameleon@lists.maptools.org >>> http://lists.maptools.org/mailman/listinfo/chameleon >>> >>> >>> _______________________________________________ >>> Chameleon mailing list >>> Chameleon@lists.maptools.org >>> http://lists.maptools.org/mailman/listinfo/chameleon >>> >> >> > -- ________________________ Jason Fournier Application Developer DM Solutions Group Inc. jfournier@dmsolutions.ca www.dmsolutions.ca 613.565.5056 x18 _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From thowlett@whistlermuseum.org Thu May 20 20:24:44 2004 Received: from smtp1000.radiant.net (smtp.radiant.net [216.21.149.209]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i4L0OaQL032727 for ; Thu, 20 May 2004 20:24:37 -0400 Message-Id: <200405210024.i4L0OaQL032727@www.maptools.org> Received: (qmail 21751 invoked from network); 21 May 2004 00:07:17 -0000 Received: from unknown (HELO Development) (64.85.33.188) by smtp.radiant.net with SMTP; 21 May 2004 00:07:17 -0000 From: "Tracy Howlett" To: "'Daniel Morissette'" , Subject: RE: [Chameleon] Legend template using group rather than layer Date: Thu, 20 May 2004 17:24:29 -0700 Organization: Whistler Museum and Archives MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcQ+eWPTjEBG3dVNTfC4FUd0BoZC5gAUEKxA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 In-Reply-To: <40ACC315.1030309@dmsolutions.ca> X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: thowlett@whistlermuseum.org Cc: 'Chameleon' X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: thowlett@whistlermuseum.org List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2004 00:24:45 -0000 Hello All, This conversation is really interesting to me. I've been using the XMLThemeLegend but now need to incorporate classes. I've read back through Rene's thread about getting the LegendTemplate.widget to work but I don't want a popup. I want the legend to display all of the time. How can I stop the legend from popping up. The Embed tag seems to make no difference. Also - the resulting popup legend says 'no icon' before each heading and then lists a 0 after. What does this mean? How can I get the check boxes and legend boxes to show up? Tracy -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Daniel Morissette Sent: Thursday, May 20, 2004 7:39 AM To: spencer@dmsolutions.ca Cc: Chameleon Subject: Re: [Chameleon] Legend template using group rather than layer Paul Spencer wrote: > > "HTML block to use for layer group headers if layers should be grouped > in the legend. If not set then layers are not grouped in the legend. > > When the [leg_group_html] tag is used, then layers that don't belong to > any group (i.e. LAYER GROUP not set in the mapfile) and their classes > will not show up at all in the legend. The group list is decided by the > order_metadata parameter, which is explained later." > > What I think is most confusing here is that layers that have no group > will not show up in the legend if the leg_group_html is used, regardless > of whether you use a leg_layer_html or not. > If you think of a grouped legend as a hierarchy of objects then it all makes sense: A grouped legend contains [1..n] groups which contain [1..n] layers which in turn contain [1..n] classes. If you decide that your legend is going to use groups then it is not possible to display layers that don't have a group setting because they are orphan and are not attached to anything in the hierarchy described above. We could have decided to create a default (null) group I guess... I'm not sure why we didn't, but anyway if you are going to use groups in your legend then it just makes sense to use them everywhere or not at all. Daniel -- ------------------------------------------------------------ Daniel Morissette dmorissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From jacob.delfos@maunsell.com Thu May 20 20:41:16 2004 Received: from auper1gw001.hgm.com.au ([202.139.2.70]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4L0f6QL000337 for ; Thu, 20 May 2004 20:41:07 -0400 Received: from auper1gw001.hgm.com.au (localhost.localdomain [127.0.0.1]) by auper1gw001.hgm.com.au (8.12.8/8.12.8) with ESMTP id i4L0jreJ021982 for ; Fri, 21 May 2004 08:45:54 +0800 Received: from ace.hgm.com.au (ace [172.21.40.11]) by auper1gw001.hgm.com.au (8.12.8/8.12.8) with ESMTP id i4L0jqDQ021977; Fri, 21 May 2004 08:45:52 +0800 Received: from auper1pc364 (Jacob_Delfos [172.21.40.93]) by ace.hgm.com.au (8.9.3/8.9.3) with SMTP id IAA03507; Fri, 21 May 2004 08:47:51 +0800 (WST) Message-ID: <001201c43ecc$122fa7a0$5d2815ac@auper1pc364> From: "J. Delfos" To: , Subject: RE: [Chameleon] Legend template using group rather than layer (resending) Date: Fri, 21 May 2004 08:39:24 +0800 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_000F_01C43F0F.1EE15640" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-DMSolutions-MailScanner-SpamScore: s X-MailScanner-From: jacob.delfos@maunsell.com Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2004 00:41:16 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_000F_01C43F0F.1EE15640 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit (resending; we got stuffed exchange server) -------------------------------------------- Thanks for you help, Liz and Paul. So basically, as soon as you use groups in your legend, you lose layers without a group. But if you don't have groups defined in your legend, you cannot access their attributes either... After a lot of messing around I found an equivalent solution, exploiting a bug (feature?) in mapserver and chameleon: Giving multiple layers the same name makes them turn on and off at the same time, emulating a group. By putting metadata in the mapfile you can give it an attribute that specified whether or not it should be shown in the legend: [if name=WMS_SHOWINLEGEND oper=isnull] Put checkboxes, titles, links, etc. [/if] So my simplified mapfile looks like this: ######################################### LAYER NAME "Precinct 2 Structure Plan" TYPE POLYGON DATA precinct2structure2d STATUS OFF CLASSITEM "Color" CLASS EXPRESSION "1" COLOR 0 0 255 END CLASS EXPRESSION "2" COLOR 0 255 0 END METADATA WMS_TITLE "Precinct 2 Structure Plan" END END LAYER NAME "Precinct 2 Structure Plan" TYPE POLYGON DATA precinct2structure2d STATUS OFF CLASS OUTLINECOLOR 0 0 0 END METADATA WMS_TITLE "Precinct 2 Structure Plan Linework" WMS_SHOWINLEGEND "no" END END ############################################# Both layers have the same name, and show up as a group. Only the first layer's name shows up in the legend, the second one disappears because I test whether WMS_SHOWINLEGEND is null. I did this with other layers too, and I can still query the vector layers, with their attributes showing up in individual tables (by making them have different WMS_TITLE). So to overcome the limitations, you can emulate a group by making layers have the same name, and have your legend template test on which ones to show. Regards, Jacob -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: Thursday, 20 May 2004 8:51 AM To: Godwin, Liz Cc: Chameleon; spencer@dmsolutions.ca Subject: Re: [Chameleon] Legend template using group rather than layer Liz, you may be right ... the piece of the documentation that appears to be pertinent is: "HTML block to use for layer group headers if layers should be grouped in the legend. If not set then layers are not grouped in the legend. When the [leg_group_html] tag is used, then layers that don't belong to any group (i.e. LAYER GROUP not set in the mapfile) and their classes will not show up at all in the legend. The group list is decided by the order_metadata parameter, which is explained later." What I think is most confusing here is that layers that have no group will not show up in the legend if the leg_group_html is used, regardless of whether you use a leg_layer_html or not. Certainly example 4 shows the two being used together. However, when we tried it for one of our clients, I seem to remember that we could not get it to work as we wanted, but that could have been a limitation of our requirements or the legend template processor, can't remember which. Cheers, Paul Godwin, Liz wrote: > This is the second time I have heard this, but I'm not convinced. > > Why does this work then? Go to the Itasca demo: > http://www2.dmsolutions.ca/msapps/itasca_legend/demo_init.html > > Legend 3 uses groups of layers. Also.. The online documentation > suggests that this works. > > Liz > > -----Original Message----- > From: chameleon-bounces@lists.maptools.org > [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Paul > Spencer > Sent: May 19, 2004 6:50 AM > To: Delfos, Jacob > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Legend template using group rather than layer > > > Jacob, > > you have run into a limitation of the html legend template processor > in > mapserver, it is possible to show only groups OR layers. This was one > of the reasons that we built the XMLThemeLegend, it allows you to create > > Themes and Groups of layers for display purposes independently of the > grouping of layers in the map file. > > Unfortunately, the XMLThemeLegend cannot display classes. > > We did one project where we combined both the XMLThemeLegend and > LegendTemplate. The XMLThemeLegend was used to generate layer > visibility controls in a compact set of themes and groups and the > LegendTemplate displayed groups and classes of visible layers (no > checkboxes). Pretty cool. > > Sorry I couldn't help you more, > > Paul > > Delfos, Jacob wrote: > > >>Hi All, >> >>I've been tying to create a legend template which generates a legend >>with tickboxes to turn layers on and off, but which shows groups as >>well. If a layer is in a group, I don't want the invidividual layer to > > >>be shown at all. >> >>At the moment I'm using a basic template which I think I got off the >>mapserver website (pasted below). >> >>I tried to modify it to show groups, but it doesn't seem to work. Can >>anyone give me a hint? >> >>Regards, >> >>Jacob >> >> >>---------------------------------------------------------------------- >>----------------------------------------------------------------- >> >>[leg_layer_html order=ascending opt_flag=15] >>[if name=CWC_TMP_LAYER oper=isnull] >> >> >> >value="[leg_layer_name]" >> [if name=layer_status oper=eq value=1]CHECKED[/if] >> [if name=layer_status oper=eq value=2]CHECKED[/if]> >> [if name=wms_name oper=isnull] >> > > > onclick="javascript:LegendTemplateLayerInfo('[leg_layer_name]');"> t > >>face="Arial, Helvetica, sans-serif" >>size="1">[leg_layer_name] >> >> >> [/if] >> [if name=wms_name oper=isset] >> > > > onclick="javascript:LegendTemplateLayerInfo('[leg_layer_name]');"> t > >>face="Arial, Helvetica, sans-serif" size="1">[metadata >>name=WMS_TITLE] >> >> >> [/if] >>[/if] >>[/leg_layer_html] >> >> >>---------------------------------------------------------------------- >>-- >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon > > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon ------=_NextPart_000_000F_01C43F0F.1EE15640 Content-Type: text/html; name="legend.html" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="legend.html" [leg_layer_html order=3Dascending opt_flag=3D15] [if name=3DCWC_TMP_LAYER oper=3Disnull] [if name=3DWMS_SHOWINLEGEND oper=3Disnull]=20 [if name=3Dlayer_group oper=3Disnull] [if name=3Dwms_name oper=3Disnull] [leg_layer_name] [/if] [if name=3Dwms_name oper=3Disset] [metadata = name=3DWMS_TITLE] [/if] [/if] [/if] [/leg_layer_html] ------=_NextPart_000_000F_01C43F0F.1EE15640-- From pagameba@magma.ca Thu May 20 21:50:36 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4L1oUQL001130 for ; Thu, 20 May 2004 21:50:30 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i4L1oTJ8028720; Thu, 20 May 2004 21:50:29 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i4L1oQat016790; Thu, 20 May 2004 21:50:29 -0400 Message-ID: <40AD6052.8050901@magma.ca> Date: Thu, 20 May 2004 21:50:10 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Paul Dymecki Subject: Re: [Chameleon] widget variable help References: <12372.212.238.227.182.1084553337.squirrel@webmail.xs4all.nl> <003501c43aca$35dcbcc0$7b45fea9@paul> In-Reply-To: <003501c43aca$35dcbcc0$7b45fea9@paul> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-DMSolutions-MailScanner-SpamScore: s X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2004 01:50:37 -0000 Paul, sorry for the delay. The update map widget uses the form variable UPDATE_MAP=1 to indicate that it was used to submit the page. You could test this using (assuming the latest cvs version of chameleon) $oApp = GetChameleonApplication(); if ($oApp->isVarSet("UPDATE_MAP") && $oApp->getVar("UPDATE_MAP") == 1) { //they clicked the update map widget } else { //some other tests? } All the navigation tools use a form variable NAV_CMD, you can test to see if it is not equal to "" if you want to see if a navigation command happened. Cheers, Paul Paul Dymecki wrote: > Hi, > I've posted a few messages asking how communication might work between > widgets but have'nt had any luck with responses. > I'm trying to pass a variable from the update map widget to a widget i've > created. My widget just needs to check if the form has been submitted from > the update map button or by one of the navigation buttons(egs.. zoom..). > Any ideas would be much appreciated.. > thx, > Paul D > > ----- Original Message ----- > From: > To: > Sent: Friday, May 14, 2004 12:48 PM > Subject: [Chameleon] WMSBrowser and styles=default > > > >>Hi Paul (cc list), >> >>the preview option from the WMSBrowser widget uses &styles=default in the >>URL which does not work with the latest Mapserver (> 4.1) and which is not >>according to the OGC spec. >> >>Could this be changed in CVS (file is mapbrowser_template_en.html)? >> >>WMS 1.1.1 spec: >>If all layers are to be shown using the default style, either the form >>"STYLES=" or "STYLES=,,," is valid. >> >>Best regards, >>Bart >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu May 20 21:56:18 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4L1uBQL001205 for ; Thu, 20 May 2004 21:56:11 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i4L1uBJ8029895; Thu, 20 May 2004 21:56:11 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i4L1u9lh029544; Thu, 20 May 2004 21:56:11 -0400 Message-ID: <40AD61A9.6000609@magma.ca> Date: Thu, 20 May 2004 21:55:53 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl, "chameleon@lists.maptools.org" Subject: Re: [Chameleon] WMSBrowser and styles=default References: <12372.212.238.227.182.1084553337.squirrel@webmail.xs4all.nl> In-Reply-To: <12372.212.238.227.182.1084553337.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2004 01:56:18 -0000 Bart, fixed in cvs. bartvde@xs4all.nl wrote: > Hi Paul (cc list), > > the preview option from the WMSBrowser widget uses &styles=default in the > URL which does not work with the latest Mapserver (> 4.1) and which is not > according to the OGC spec. > > Could this be changed in CVS (file is mapbrowser_template_en.html)? > > WMS 1.1.1 spec: > If all layers are to be shown using the default style, either the form > "STYLES=" or "STYLES=,,," is valid. > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu May 20 22:11:15 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4L2AsQL001568 for ; Thu, 20 May 2004 22:10:54 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i4L2ArJ8032660; Thu, 20 May 2004 22:10:53 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i4L2Aoat000982; Thu, 20 May 2004 22:10:53 -0400 Message-ID: <40AD651B.2050300@magma.ca> Date: Thu, 20 May 2004 22:10:35 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl Subject: Re: [Chameleon] KeyMapDHTML2 widget problem References: <15913.212.238.227.182.1084285512.squirrel@webmail.xs4all.nl> In-Reply-To: <15913.212.238.227.182.1084285512.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2004 02:11:15 -0000 Bart, did I ever respond to you on this? I kept it in my inbox, which usually means I haven't done anything with it :) I have never tested the KeyMapDHTML2 with anything other than the same aspect ratio as the map. I would expect that it could and should work, in which case this would be considered a bug. I will file it tonight. Paul bartvde@xs4all.nl wrote: > Hi list, > > I have a problem with the KeyMapDHTML2 widget. The box indicated on the > key map is not correct when the pixel width/height proportions differ > between KeyMap and MapDHTMLWidget. > > My MapDHTML widget has the following dimensions: width 800 height 560 > > My key map has the following dimensions: > > image="C:/ms4w/apps/geoservices05/htdocs/images/nederland.png" SRS="28992" > WIDTH="135" HEIGHT="157" MINX="20000" MAXX="285000" MINY="305000" > MAXY="620000" /> > > Is this to be considered a bug in the KeyMap, or is this by design? I.e. > should all applications use a key map in the same proportions as the main > map? > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From dmcilhagga@dmsolutions.ca Fri May 21 09:01:52 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4LD1gQL005986; Fri, 21 May 2004 09:01:42 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i4LD1eQ8021106; Fri, 21 May 2004 09:01:40 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i4LD1dp1009676; Fri, 21 May 2004 09:01:40 -0400 Message-ID: <40ADFE9B.7060205@dmsolutions.ca> Date: Fri, 21 May 2004 09:05:31 -0400 From: Dave McIlhagga User-Agent: Mozilla Thunderbird 0.5 (Macintosh/20040208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: mapserver , chameleon@lists.maptools.org, maplab-users@lists.maptools.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: dmcilhagga@dmsolutions.ca Cc: Subject: [Chameleon] MUM2 Workshops now available X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2004 13:01:52 -0000 Hi everyone, sorry for the X-postings but I wanted to make sure everyone got this. Just under 3 weeks to go until the next Mapserver User Meeting and Open Source GIS conference here in Ottawa, Canada - http://www.omsug.ca/osgis2004/ For those of you who are considering attending and have not yet registered - the near-complete program is now available on the conference website at: http://www.omsug.ca/osgis2004/program.html Most importantly, you can now begin selecting your preferred workshops once you have registered. Workshop registration is handled on a first-come first-serve basis, and some of our workshops are already starting to fill up from early registrants -- so if you haven't already registered for the conference - try to do as soon as possible. Once your registration has been confirmed, you'll have the opportunity to select your workshops of choice. Full list of workshops are available here: http://www.omsug.ca/osgis2004/workshop_descriptions.html Looking forward to seeing you in a few weeks! Dave From msr@sourcepole.ch Wed May 26 07:24:13 2004 Received: from smtp.tiscali.ch (smtp.tiscali.ch [212.40.5.52]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4QBO113027887 for ; Wed, 26 May 2004 07:24:02 -0400 Received: from wal.sourcepole (adsl-138-180-bs2.tiscali.ch [212.254.138.180]) by smtp.tiscali.ch (8.11.7/8.11.7) with ESMTP id i4QBO0d13688 for ; Wed, 26 May 2004 13:24:00 +0200 Received: from msr.sourcepole ([192.168.1.104]) by wal.sourcepole with esmtp (Exim 3.35 #1 (Debian)) id 1BSwWC-0008Ki-00 for ; Wed, 26 May 2004 13:24:20 +0200 From: Schnider Markus Organization: Sourcepole AG To: chameleon@lists.maptools.org Date: Wed, 26 May 2004 13:23:58 +0200 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200405261323.58414.msr@sourcepole.ch> X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: msr@sourcepole.ch Subject: [Chameleon] ruler widget X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 11:24:14 -0000 Hi all, I've a simple problem. How does the ruler widget work in the samples? I'm trying the newest cvs version of chameleon, but I can see only a square in the top, at the left side (top: ca. 10px, left ca. 10px). I use Mozilla-Firefox. The same thing with roi widgets. Thanks Markus Schnider From bartvde@xs4all.nl Wed May 26 07:40:54 2004 Received: from smtp-out4.xs4all.nl (smtp-out4.xs4all.nl [194.109.24.5]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4QBei13027996 for ; Wed, 26 May 2004 07:40:44 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out4.xs4all.nl (8.12.10/8.12.10) with SMTP id i4QBeZ5Z001802 for ; Wed, 26 May 2004 13:40:43 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Wed, 26 May 2004 13:40:43 +0200 (CEST) Message-ID: <14163.212.238.227.182.1085571643.squirrel@webmail.xs4all.nl> Date: Wed, 26 May 2004 13:40:43 +0200 (CEST) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Subject: [Chameleon] HelpWidget X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 11:40:54 -0000 Hi list, still in the process of upgrading my applications, I am trying to get my application help system back on track. In the past I used a Chameleon application for this with an empty MAP file which had only a few HelpWidgets in it, e.g.: I tried to use this in the 1.99 version, but there were a few problems with regard to the helpfile locations (the widget name was not used as a subdirectory), but now I am getting back the Widget developer documentation instead of the description which I used to get. There are also XML files as well as HTML files in CVS, should the HTML files be considered deprecated? How should I work with this in the 1.99 version? Is it still intended for end user documentation? BTW: I had to replace the following occurences of: if (file_exists(str_replace("\\","/", $szDir."/".$this->maParams["WIDGET"].".help.xml"))) by: if (file_exists(str_replace("\\","/", $szDir."/".$this->maParams["WIDGET"]."/".$this->maParams["WIDGET"].".help.xml"))) Best regards, Bart From pagameba@magma.ca Wed May 26 08:27:46 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4QCRa13028549 for ; Wed, 26 May 2004 08:27:36 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i4QCRaRv000671; Wed, 26 May 2004 08:27:36 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i4QCRQ80031582; Wed, 26 May 2004 08:27:36 -0400 Message-ID: <40B48D18.5070107@magma.ca> Date: Wed, 26 May 2004 08:27:04 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Schnider Markus Subject: Re: [Chameleon] ruler widget References: <200405261323.58414.msr@sourcepole.ch> In-Reply-To: <200405261323.58414.msr@sourcepole.ch> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 12:27:46 -0000 There is a bug in the ruler widget right now, I have yet to track it down. It was working not long ago, so hopefully I can figure out what I broke fairly easily :) I didn't notice a problem with the ROI widgets, but then I probably haven't looked at them in a couple of weeks. Perhaps the same problem? Cheers, Paul Schnider Markus wrote: > Hi all, > > I've a simple problem. > > How does the ruler widget work in the samples? > I'm trying the newest cvs version of chameleon, but I can see only a square in > the top, at the left side (top: ca. 10px, left ca. 10px). I use > Mozilla-Firefox. > > The same thing with roi widgets. > > Thanks > > Markus Schnider > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Wed May 26 08:30:20 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4QCUD13028677 for ; Wed, 26 May 2004 08:30:13 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i4QCUCRv001760; Wed, 26 May 2004 08:30:12 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i4QCUAVm017169; Wed, 26 May 2004 08:30:12 -0400 Message-ID: <40B48DBC.3070400@magma.ca> Date: Wed, 26 May 2004 08:29:48 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl Subject: Re: [Chameleon] HelpWidget References: <14163.212.238.227.182.1085571643.squirrel@webmail.xs4all.nl> In-Reply-To: <14163.212.238.227.182.1085571643.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 12:30:20 -0000 Thanks Bart, the help system and widget documentation are next on the block for fixing up. The documentation guys have been revising the format of the xml file so it will likely be completely broken for a few weeks until we get that all sorted out. The HTML files will be deprecated shortly, and removed from CVS, to be replaced by a much more flexible (and multi-lingual capable ;)) XML file. Details to follow. In the mean time, the help widget should not be considered reliable at all ... I will make the fix you suggest though, thanks, Cheers, Paul bartvde@xs4all.nl wrote: > Hi list, > > still in the process of upgrading my applications, I am trying to get my > application help system back on track. > > In the past I used a Chameleon application for this with an empty MAP file > which had only a few HelpWidgets in it, e.g.: > > > > I tried to use this in the 1.99 version, but there were a few problems > with regard to the helpfile locations (the widget name was not used as a > subdirectory), but now I am getting back the Widget developer > documentation instead of the description which I used to get. > > There are also XML files as well as HTML files in CVS, should the HTML > files be considered deprecated? > > How should I work with this in the 1.99 version? Is it still intended for > end user documentation? > > BTW: > > I had to replace the following occurences of: > > if (file_exists(str_replace("\\","/", > $szDir."/".$this->maParams["WIDGET"].".help.xml"))) > > by: > > if (file_exists(str_replace("\\","/", > $szDir."/".$this->maParams["WIDGET"]."/".$this->maParams["WIDGET"].".help.xml"))) > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From PAGUREKD@AGR.GC.CA Wed May 26 14:39:55 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4QIdk13000440 for ; Wed, 26 May 2004 14:39:46 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i4QIVAMR020070 for ; Wed, 26 May 2004 14:31:10 -0400 Received: from onncrxcn1.AGR.GC.CA ([10.117.15.130]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i4QIaPkH027450 for ; Wed, 26 May 2004 14:37:13 -0400 Received: from onncrxms2.AGR.GC.CA ([10.117.15.28]) by onncrxcn1.AGR.GC.CA with Microsoft SMTPSVC(5.0.2195.6713); Wed, 26 May 2004 14:36:46 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Wed, 26 May 2004 14:36:44 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: save context and Load context issue Thread-Index: AcRDHlGfui0A5Qe4Sxavo962ClnYTwAMRV+g From: "Pagurek, Debbie" To: X-OriginalArrivalTime: 26 May 2004 18:36:46.0689 (UTC) FILETIME=[665AD510:01C44350] X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagurekd@agr.gc.ca Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i4QIdk13000440 Subject: [Chameleon] save context and Load context issue X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 18:39:57 -0000 I am serving wms layers using mapserver 4.2 beta 3. In Chameleon (cvs version), I can load one of these layers using the WMSBrowser widget. When I use Save Context, and then look at the file, it is showing the image formats for my layer this way: image/png image/gif image/jpeg image/wbmp application/x-shockwave-flash text/html application/x-pdf image/tiff Instead of: image/png image/gif image/jpeg image/wbmp Then, when I try to use the Load Context document, I am getting an error where the image is supposed to appear that says: msWMSLoadGetMapParams(): Unsupported image format (image/png image/gif image/jpeg image/wbmp application/x-shockwave-flash text/html application/x-pdf image/tiff). Is there something special I need in my map file to get the context document written out with the tag delimitation? Debbie From pagameba@magma.ca Wed May 26 14:50:32 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4QIoE13000567 for ; Wed, 26 May 2004 14:50:15 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i4QIoEV1014751; Wed, 26 May 2004 14:50:14 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i4QIo9bI003171; Wed, 26 May 2004 14:50:14 -0400 Message-ID: <40B4E6CC.7000504@magma.ca> Date: Wed, 26 May 2004 14:49:48 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Pagurek, Debbie" Subject: Re: [Chameleon] save context and Load context issue References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 18:50:32 -0000 Debbie, this is a versioning problem. At some point before the release of the context spec, they changed from the first to the second form. At the same time, the metadata used to store the format information in the map file changed. When you use the WMSBrowser widget, I think it is setting up the metadata incorrectly. I will take a look at it this afternoon. Cheers, Paul Pagurek, Debbie wrote: > I am serving wms layers using mapserver 4.2 beta 3. > In Chameleon (cvs version), I can load one of these layers using the > WMSBrowser widget. > > When I use Save Context, and then look at the file, it is showing the > image formats for my layer this way: > > image/png image/gif image/jpeg image/wbmp > application/x-shockwave-flash text/html application/x-pdf > image/tiff > > > Instead of: > > image/png > image/gif > image/jpeg > image/wbmp > > > Then, when I try to use the Load Context document, I am getting an error > where the image is supposed to appear that says: > msWMSLoadGetMapParams(): Unsupported image format (image/png image/gif > image/jpeg image/wbmp application/x-shockwave-flash text/html > application/x-pdf image/tiff). > > Is there something special I need in my map file to get the context > document written out with the tag delimitation? > > Debbie > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Wed May 26 16:56:43 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4QKuW13001542 for ; Wed, 26 May 2004 16:56:32 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i4QKuVNr030717; Wed, 26 May 2004 16:56:31 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i4QKuTCR031609; Wed, 26 May 2004 16:56:31 -0400 Message-ID: <40B50467.5010106@magma.ca> Date: Wed, 26 May 2004 16:56:07 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 Subject: Re: [Chameleon] save context and Load context issue References: <40B4E6CC.7000504@magma.ca> In-Reply-To: <40B4E6CC.7000504@magma.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: "Pagurek, Debbie" , chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 20:56:43 -0000 Debbie, I've tracked this down to one line of code in the WMSBrowser widget that was removing commas and inserting spaces!! This was the old mapserver metadata way of representing the wms formats. When I removed this line of code, it started working properly (with contexts). Change is in cvs. Cheers, Paul Paul Spencer wrote: > Debbie, > > this is a versioning problem. At some point before the release of the > context spec, they changed from the first to the second form. At the > same time, the metadata used to store the format information in the map > file changed. When you use the WMSBrowser widget, I think it is setting > up the metadata incorrectly. I will take a look at it this afternoon. > > Cheers, > > Paul > > Pagurek, Debbie wrote: > >> I am serving wms layers using mapserver 4.2 beta 3. >> In Chameleon (cvs version), I can load one of these layers using the >> WMSBrowser widget. >> >> When I use Save Context, and then look at the file, it is showing the >> image formats for my layer this way: >> >> image/png image/gif image/jpeg image/wbmp >> application/x-shockwave-flash text/html application/x-pdf >> image/tiff >> >> >> Instead of: >> >> image/png >> image/gif >> image/jpeg >> image/wbmp >> >> >> Then, when I try to use the Load Context document, I am getting an error >> where the image is supposed to appear that says: >> msWMSLoadGetMapParams(): Unsupported image format (image/png image/gif >> image/jpeg image/wbmp application/x-shockwave-flash text/html >> application/x-pdf image/tiff). >> >> Is there something special I need in my map file to get the context >> document written out with the tag delimitation? >> >> Debbie >> >> >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From bartvde@xs4all.nl Thu May 27 06:02:16 2004 Received: from smtp-out5.xs4all.nl (smtp-out5.xs4all.nl [194.109.24.6]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4R9ivrt005807 for ; Thu, 27 May 2004 05:45:02 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out5.xs4all.nl (8.12.10/8.12.10) with ESMTP id i4R9ijUY094641 for ; Thu, 27 May 2004 11:44:53 +0200 (CEST) To: "chameleon@lists.maptools.org" From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Thu, 27 May 2004 11:43:04 +0200 Message-ID: User-Agent: Opera7.23/Win32 M2 build 3227 X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Subject: [Chameleon] WMSBrowser and selectedIndex X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: bartvde@xs4all.nl List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 10:02:17 -0000 Hi list, I am encountering a strange problem which I cannot seem to solve in a straightforward manner. The WMSBrowser widget has a list of servers in a HTML select, this list is part of an iframe. When I select a server in Mozilla, the widget comes back with the correct server in the selection list (in the example I select the "NIS Map" server). When I do this in IE, the selectedIndex always lags one item behind (it comes back with the wrong server selected in the select list). See the following screendumps: Mozilla Firefox: http://www.xs4all.nl/~bartvde/WMSBrowser_Firefox.png IE: http://www.xs4all.nl/~bartvde/WMSBrowser_IE.png Any idea what could be causing this problem? Best regards, Bart From Godwinl@AGR.GC.CA Thu May 27 10:11:20 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4REBBrt007526 for ; Thu, 27 May 2004 10:11:11 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i4RE2TMR010545; Thu, 27 May 2004 10:02:29 -0400 Received: from onncrxcn1.AGR.GC.CA ([10.117.15.130]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i4RE8cii017501; Thu, 27 May 2004 10:08:38 -0400 Received: from onncrxms2.AGR.GC.CA ([10.117.15.28]) by onncrxcn1.AGR.GC.CA with Microsoft SMTPSVC(5.0.2195.6713); Thu, 27 May 2004 10:10:27 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: [Chameleon] ruler widget Date: Thu, 27 May 2004 10:10:26 -0400 Message-ID: <482A7044F4DB2740884BAF6AFD741609204277@onncrxms2.agr.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Chameleon] ruler widget Thread-Index: AcRDHQd557vIZ50SSCuQXAOO/+BnjQA1v7wQ From: "Godwin, Liz" To: X-OriginalArrivalTime: 27 May 2004 14:10:27.0278 (UTC) FILETIME=[5C4BF6E0:01C443F4] X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: godwinl@agr.gc.ca Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i4REBBrt007526 Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 14:11:22 -0000 I was playing with this trying to figure out what date I should go back to in CVS to make things work for me, and I discovered that this problem isn't isolated to the ruler widget. In fact... The ruler widget appears to finction, just not display anything. The ROI widgets were the same. They work, but don't appear. I'm using IE. So maybe it's a DHTML thing on the display layer? Just a thought... Haven't had time to isolate it yet :-( Liz -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Paul Spencer Sent: May 26, 2004 8:27 AM To: Schnider Markus Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] ruler widget There is a bug in the ruler widget right now, I have yet to track it down. It was working not long ago, so hopefully I can figure out what I broke fairly easily :) I didn't notice a problem with the ROI widgets, but then I probably haven't looked at them in a couple of weeks. Perhaps the same problem? Cheers, Paul Schnider Markus wrote: > Hi all, > > I've a simple problem. > > How does the ruler widget work in the samples? > I'm trying the newest cvs version of chameleon, but I can see only a > square in > the top, at the left side (top: ca. 10px, left ca. 10px). I use > Mozilla-Firefox. > > The same thing with roi widgets. > > Thanks > > Markus Schnider _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From msr@sourcepole.ch Thu May 27 11:08:14 2004 Received: from smtp.tiscali.ch (smtp.tiscali.ch [212.40.5.52]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4RF81rt007864 for ; Thu, 27 May 2004 11:08:02 -0400 Received: from wal.sourcepole (adsl-138-180-bs2.tiscali.ch [212.254.138.180]) by smtp.tiscali.ch (8.11.7/8.11.7) with ESMTP id i4RF7wd02360; Thu, 27 May 2004 17:07:59 +0200 Received: from msr.sourcepole ([192.168.1.104]) by wal.sourcepole with esmtp (Exim 3.35 #1 (Debian)) id 1BTMUW-0004Hj-00; Thu, 27 May 2004 17:08:20 +0200 From: Schnider Markus Organization: Sourcepole AG To: chameleon@lists.maptools.org Subject: Re: [Chameleon] ruler widget Date: Thu, 27 May 2004 17:07:55 +0200 User-Agent: KMail/1.6.2 References: <482A7044F4DB2740884BAF6AFD741609204277@onncrxms2.agr.gc.ca> In-Reply-To: <482A7044F4DB2740884BAF6AFD741609204277@onncrxms2.agr.gc.ca> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200405271707.56736.msr@sourcepole.ch> X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: msr@sourcepole.ch Cc: "Godwin, Liz" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 15:08:14 -0000 Hi Liz Godwin I suppose it is fixed. I asked some days before, but now, the actual cvs version has widgets that works (Mozilla). Kind regards Markus Schnider Sourcepole AG On Thursday 27 May 2004 16:10, Godwin, Liz wrote: > I was playing with this trying to figure out what date I should go back > to in CVS to make things work for me, and I discovered that this problem > isn't isolated to the ruler widget. In fact... The ruler widget appears > to finction, just not display anything. The ROI widgets were the same. > They work, but don't appear. I'm using IE. > > So maybe it's a DHTML thing on the display layer? > > Just a thought... Haven't had time to isolate it yet :-( > > Liz > > -----Original Message----- > From: chameleon-bounces@lists.maptools.org > [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Paul Spencer > Sent: May 26, 2004 8:27 AM > To: Schnider Markus > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] ruler widget > > > There is a bug in the ruler widget right now, I have yet to track it > down. It was working not long ago, so hopefully I can figure out what I > > broke fairly easily :) > > I didn't notice a problem with the ROI widgets, but then I probably > haven't looked at them in a couple of weeks. Perhaps the same problem? > > Cheers, > > Paul > > Schnider Markus wrote: > > Hi all, > > > > I've a simple problem. > > > > How does the ruler widget work in the samples? > > I'm trying the newest cvs version of chameleon, but I can see only a > > square in > > the top, at the left side (top: ca. 10px, left ca. 10px). I use > > Mozilla-Firefox. > > > > The same thing with roi widgets. > > > > Thanks > > > > Markus Schnider _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > http://lists.maptools.org/mailman/listinfo/chameleon From bartvde@xs4all.nl Thu May 27 11:54:21 2004 Received: from smtp-out3.xs4all.nl (smtp-out3.xs4all.nl [194.109.24.13]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4RFsErt008132 for ; Thu, 27 May 2004 11:54:14 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out3.xs4all.nl (8.12.10/8.12.10) with ESMTP id i4RFs7m9047451 for ; Thu, 27 May 2004 17:54:13 +0200 (CEST) To: "chameleon@lists.maptools.org" From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Thu, 27 May 2004 17:52:25 +0200 Message-ID: User-Agent: Opera7.23/Win32 M2 build 3227 X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Subject: [Chameleon] EMBEDDED X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: bartvde@xs4all.nl List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 15:54:22 -0000 Hi list, some of the widgets have implemented the EMBEDDED widget parameter, so they can operate both as popup and embedded in the application template. As far as I could see, this requires some code to be added to the drawPublish method of the widget, to generate the HTML. Would it not also be a (much faster) option to use an iframe in the application template, and set the src of the iframe to the appropriate phtml file with the SID parameter included? Or am I overseeing something? Best regards, Bart From bartvde@xs4all.nl Thu May 27 14:09:41 2004 Received: from smtp-out4.xs4all.nl (smtp-out4.xs4all.nl [194.109.24.5]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4RI9Xrt009214 for ; Thu, 27 May 2004 14:09:33 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out4.xs4all.nl (8.12.10/8.12.10) with ESMTP id i4RI9P5Z019779 for ; Thu, 27 May 2004 20:09:31 +0200 (CEST) To: "chameleon@lists.maptools.org" From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Thu, 27 May 2004 20:07:45 +0200 Message-ID: User-Agent: Opera7.23/Win32 M2 build 3227 X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Subject: [Chameleon] Chameleon and Cubewerx X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: bartvde@xs4all.nl List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 18:09:41 -0000 Hi list, I was surprised to see Chameleon on the Cubewerx website and even in their Cubeserv WMS product pdf. They seem to be using the 1.0 version though. Can anybody tell some more about this, is this a partnership between DM Solutions and Cubewerx, or is Cubewerx just using the software? -- Chameleon Demo CubeWerx recent addition to its CubeSERV® WMS solution, Chameleon allows organizations to rapidly deploy Web Map client applications. -- Best regards, Bart From dmcilhagga@dmsolutions.ca Thu May 27 14:40:30 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4RIeMrt009423 for ; Thu, 27 May 2004 14:40:23 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i4RIeMqP023620; Thu, 27 May 2004 14:40:22 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i4RIeKdm022714; Thu, 27 May 2004 14:40:22 -0400 Message-ID: <40B63709.70102@dmsolutions.ca> Date: Thu, 27 May 2004 14:44:25 -0400 From: Dave McIlhagga User-Agent: Mozilla Thunderbird 0.5 (Macintosh/20040208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl Subject: Re: [Chameleon] Chameleon and Cubewerx References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: dmcilhagga@dmsolutions.ca Cc: "chameleon@lists.maptools.org" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 18:40:30 -0000 Hi Bart, We're very happy to see Cubewerx leveraging the Chameleon product and hope this continues in the future. I think the reason this is using an older version is that the current 1.99 does not operate as a service instance which is currently in migration. For anyone interested in this, we anticipate this will be available again sometime in the next couple of months as we require it for a few projects we are working on at the moment. Just to clarify ... this isn't a partnership between Cubewerx and DMSG - it's just open source being accessible to everyone. Dave Bart van den Eijnden wrote: > Hi list, > > I was surprised to see Chameleon on the Cubewerx website and even in > their Cubeserv WMS product pdf. They seem to be using the 1.0 version > though. > > Can anybody tell some more about this, is this a partnership between DM > Solutions and Cubewerx, or is Cubewerx just using the software? > > -- > Chameleon Demo > CubeWerx recent addition to its CubeSERV® WMS solution, Chameleon allows > organizations to rapidly deploy Web Map client applications. > -- > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From Godwinl@AGR.GC.CA Thu May 27 17:13:42 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4RLDZrt010372 for ; Thu, 27 May 2004 17:13:35 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i4RL4pMR009203 for ; Thu, 27 May 2004 17:04:51 -0400 Received: from onncrxcn1.AGR.GC.CA ([10.117.15.130]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i4RLBFii028012 for ; Thu, 27 May 2004 17:11:15 -0400 Received: from onncrxms2.AGR.GC.CA ([10.117.15.28]) by onncrxcn1.AGR.GC.CA with Microsoft SMTPSVC(5.0.2195.6713); Thu, 27 May 2004 17:13:05 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4442F.66AD097C" Date: Thu, 27 May 2004 17:13:04 -0400 Message-ID: <482A7044F4DB2740884BAF6AFD74160920427C@onncrxms2.agr.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: WMSBrowser Thread-Index: AcREL2aSIgo3AKEVRSGHac2O0mWp6Q== From: "Godwin, Liz" To: "Chameleon" X-OriginalArrivalTime: 27 May 2004 21:13:05.0748 (UTC) FILETIME=[671F6940:01C4442F] X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-DMSolutions-MailScanner-SpamScore: s X-MailScanner-From: godwinl@agr.gc.ca Subject: [Chameleon] WMSBrowser X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 21:13:43 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C4442F.66AD097C Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable These are some observations from working with the WMS browser lately. I = don't know if they are bugs, so I'm posting here. If there is = spomething additional I need to do to make it work better, I'm all for = hearing about it. =20 1. After adding a server, server isn't added to the list in WMSBrowser = popup until after close and re-open window, or refresh window. =20 2. when USEUSERSESSION=3Dtrue: layers from servers added by user cannot = be added to the map. There is an error saying that layer[x] does not = exist in capab.dbf file or something like that. This behaviour doesn't = happen when USEUSERSESSION isn't listed as a parameter in the widget = (=3Dfalse) =20 3. Now this is just annoying... the Manage Servers is the default = selection, so that you have to chnage the selection and then change it = back to manage the servers. Could this be made a button instead? =20 =20 =20 Liz Godwin _____ =20 Agriculture and Agri-Food Canada/Agriculture et Agroalimentaire Canada 960 Carling Ave/960 av Carling Ottawa, ON Telephone/T=E9l=E9phone: 613-759-1850 Facsimile/T=E9l=E9copieur: 613-759-1937 godwinl@agr.gc.ca =20 =20 =20 ------_=_NextPart_001_01C4442F.66AD097C Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message
These = are some=20 observations from working with the WMS browser lately.  I don't = know if=20 they are bugs, so I'm posting here.  If there is spomething = additional I=20 need to do to make it work better, I'm all for hearing about=20 it.
 
1.  After=20 adding a server, server isn't added to the list in WMSBrowser popup = until after=20 close and re-open window, or refresh window.
 
2.  when=20 USEUSERSESSION=3Dtrue: layers from servers added by user cannot be added = to the=20 map.  There is an error saying that layer[x] does not exist in = capab.dbf=20 file or something like that.  This behaviour doesn't happen when=20 USEUSERSESSION isn't listed as a parameter in the widget=20 (=3Dfalse)
 
3.  Now this is=20 just annoying...  the Manage Servers is the default selection, so = that you=20 have to chnage the selection and then change it back to manage the=20 servers.  Could this be made a button instead?
 
 
 
Liz Godwin

Agriculture and Agri-Food=20 Canada/Agriculture et Agroalimentaire Canada
960 Carling Ave/960 av Carling
Ottawa, ON
Telephone/T=E9l=E9phone:=20 613-759-1850
Facsimile/T=E9l=E9copieur: 613-759-1937
godwinl@agr.gc.ca
 
 
 
------_=_NextPart_001_01C4442F.66AD097C-- From pagameba@magma.ca Thu May 27 17:37:47 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4RLbert010654 for ; Thu, 27 May 2004 17:37:40 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i4RLbd73012079; Thu, 27 May 2004 17:37:39 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i4RLbbsK001022; Thu, 27 May 2004 17:37:39 -0400 Message-ID: <40B65F8A.3070305@magma.ca> Date: Thu, 27 May 2004 17:37:14 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Godwin, Liz" Subject: Re: [Chameleon] WMSBrowser References: <482A7044F4DB2740884BAF6AFD74160920427C@onncrxms2.agr.gc.ca> In-Reply-To: <482A7044F4DB2740884BAF6AFD74160920427C@onncrxms2.agr.gc.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-DMSolutions-MailScanner-SpamScore: s X-MailScanner-From: pagameba@magma.ca Cc: Chameleon X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 21:37:48 -0000 Liz, replies in line: Godwin, Liz wrote: > These are some observations from working with the WMS browser lately. I > don't know if they are bugs, so I'm posting here. If there is > spomething additional I need to do to make it work better, I'm all for > hearing about it. > > 1. After adding a server, server isn't added to the list in WMSBrowser > popup until after close and re-open window, or refresh window. this works in mozilla, not in IE (bug) > > 2. when USEUSERSESSION=true: layers from servers added by user cannot > be added to the map. There is an error saying that layer[x] does not > exist in capab.dbf file or something like that. This behaviour doesn't > happen when USEUSERSESSION isn't listed as a parameter in the widget > (=false) I am assuming this is a bug, I didn't test it. It should work though. > > 3. Now this is just annoying... the Manage Servers is the default > selection, so that you have to chnage the selection and then change it > back to manage the servers. Could this be made a button instead? again, this works in mozilla, not in IE (bug). In mozilla, the current server is selected. If there is no server, then the first element of the list is selected ... for just this purpose. I don't intend to change this to a button. I've filed these in bugzilla: http://www.maptools.org/bugzilla/show_bug.cgi?id=421 but you don't seem to be registered in bugzilla so I couldn't add you as a cc. General Note for Everyone On The List: Registration in bugzilla is free :) And to see all bug related traffic, you can subscribe to chameleon-dev@lists.maptools.org by visiting: http://lists.maptools.org/mailman/listinfo/chameleon-dev Cheers, Paul > > > > Liz Godwin > ------------------------------------------------------------------------ > Agriculture and Agri-Food Canada/Agriculture et Agroalimentaire Canada > 960 Carling Ave/960 av Carling > Ottawa, ON > Telephone/Téléphone: 613-759-1850 > Facsimile/Télécopieur: 613-759-1937 > godwinl@agr.gc.ca > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Godwinl@AGR.GC.CA Fri May 28 09:10:49 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4SDAcrt016291 for ; Fri, 28 May 2004 09:10:38 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i4SD1lMR004658 for ; Fri, 28 May 2004 09:01:47 -0400 Received: from onncrxcn1.AGR.GC.CA ([10.117.15.130]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i4SD7IsV027086 for ; Fri, 28 May 2004 09:07:18 -0400 Received: from onncrxms2.AGR.GC.CA ([10.117.15.28]) by onncrxcn1.AGR.GC.CA with Microsoft SMTPSVC(5.0.2195.6713); Fri, 28 May 2004 09:09:09 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C444B4.F5E70F8C" Date: Fri, 28 May 2004 09:09:08 -0400 Message-ID: <482A7044F4DB2740884BAF6AFD74160920427F@onncrxms2.agr.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: LayerManager2 Thread-Index: AcREtPWdW/uVs1y/RKOk/IQDe+EF+Q== From: "Godwin, Liz" To: "Chameleon" X-OriginalArrivalTime: 28 May 2004 13:09:09.0475 (UTC) FILETIME=[F6918330:01C444B4] X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: godwinl@agr.gc.ca Subject: [Chameleon] LayerManager2 X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 May 2004 13:10:49 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C444B4.F5E70F8C Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable The LayerManager2 (Manage Layers) widget isn't working the way it has been recently. =20 =20 I can't turn on/off layers with it. I can still move layers up/down, and delete them, but not chnage their status. =20 I looked in my own app, and the "Other Widgets" sample. in both IE and Firefox. =20 =20 Should I post a bug? =20 General Question: How do I know when to post a bug, or should I just post here first? What qualifies as a bug? =20 Liz ------_=_NextPart_001_01C444B4.F5E70F8C Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message
The = LayerManager2=20 (Manage Layers) widget isn't working the way it has been recently.  =
 
I = can't turn on/off=20 layers with it.  I can still move layers up/down, and delete them, = but not=20 chnage their status.
 
I = looked in my own=20 app, and the "Other Widgets" sample.  in both IE and Firefox.  =
 
Should = I post a=20 bug?
 
General=20 Question:  How do I know when to post a bug, or should I just post = here=20 first?  What qualifies as a bug?
 
Liz
------_=_NextPart_001_01C444B4.F5E70F8C-- From pagameba@magma.ca Fri May 28 09:46:24 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4SDkIrt017801 for ; Fri, 28 May 2004 09:46:18 -0400 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i4SDkHPY016582; Fri, 28 May 2004 09:46:17 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail1.magma.ca (8.12.10/8.12.9) with ESMTP id i4SDkFIX010848; Fri, 28 May 2004 09:46:17 -0400 Message-ID: <40B7428F.1080407@magma.ca> Date: Fri, 28 May 2004 09:45:51 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Godwin, Liz" Subject: Re: [Chameleon] LayerManager2 References: <482A7044F4DB2740884BAF6AFD74160920427F@onncrxms2.agr.gc.ca> In-Reply-To: <482A7044F4DB2740884BAF6AFD74160920427F@onncrxms2.agr.gc.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: Chameleon X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 May 2004 13:46:25 -0000 Liz, is there a legend widget with layer controls in the main application page too? I noticed this and filed a bug on it (I think it was related to having both an embedded and popup legend in the same page, but the issue is the same ... the legend widget in the main page causes the layer status to revert.) Paul Godwin, Liz wrote: > The LayerManager2 (Manage Layers) widget isn't working the way it has > been recently. > > I can't turn on/off layers with it. I can still move layers up/down, > and delete them, but not chnage their status. > > I looked in my own app, and the "Other Widgets" sample. in both IE and > Firefox. > > Should I post a bug? > > General Question: How do I know when to post a bug, or should I just > post here first? What qualifies as a bug? > > Liz > > > ------------------------------------------------------------------------ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Fri May 28 23:01:13 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4T312rt027493 for ; Fri, 28 May 2004 23:01:02 -0400 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i4T311Ao017415; Fri, 28 May 2004 23:01:01 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail1.magma.ca (8.12.10/8.12.9) with ESMTP id i4T30uIX018024; Fri, 28 May 2004 23:01:01 -0400 Message-ID: <40B7FCCF.2040003@magma.ca> Date: Fri, 28 May 2004 23:00:31 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl Subject: Re: [Chameleon] EMBEDDED References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: "chameleon@lists.maptools.org" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 May 2004 03:01:13 -0000 Yes and no. In some cases, this could be quite convenient. In others, the widget's embedded representation is (or should be) different (often more compact) than the popup version. MapSize is like this. The embedded version is a combo box. The popup version is a full out dialog, with title, body and close button ... In my opinion, I don't think most dialogs would embed very well without logic to determine if it is embedded and omit some or all of the interface. So it seems easier to put it in drawpublish. But on a related note, I was pondering a non-popup solution for Chameleon applications that would use an iframe in a DHTML layer to display all dialogs. I think this has a lot of potential since it could be implemented without change to the dialogs by modifying the Popup.php file to do the necessary changes to the javascript. At least, I think it could be that easy ;) Cheers, Paul Bart van den Eijnden wrote: > Hi list, > > some of the widgets have implemented the EMBEDDED widget parameter, so > they can operate both as popup and embedded in the application template. > As far as I could see, this requires some code to be added to the > drawPublish method of the widget, to generate the HTML. > > Would it not also be a (much faster) option to use an iframe in the > application template, and set the src of the iframe to the appropriate > phtml file with the SID parameter included? > > Or am I overseeing something? > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From jpalmer@paradise.net.nz Sun May 30 07:06:52 2004 Received: from linda-2.paradise.net.nz (bm-2a.paradise.net.nz [202.0.58.21]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4UB6gH8009523 for ; Sun, 30 May 2004 07:06:43 -0400 Received: from smtp-3.paradise.net.nz (smtp-3b.paradise.net.nz [202.0.32.212]) by linda-2.paradise.net.nz (Paradise.net.nz) with ESMTP id <0HYI00I33XJ46Z@linda-2.paradise.net.nz> for chameleon@lists.maptools.org; Sun, 30 May 2004 23:06:41 +1200 (NZST) Received: from CREEPING (202-0-43-245.adsl.paradise.net.nz [202.0.43.245]) by smtp-3.paradise.net.nz (Postfix) with ESMTP id 7A141AE595 for ; Sun, 30 May 2004 23:06:40 +1200 (NZST) Date: Sun, 30 May 2004 23:04:58 +1200 From: Jeremy Palmer To: chameleon@lists.maptools.org Message-id: <20040530110640.7A141AE595@smtp-3.paradise.net.nz> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Thread-index: AcRGNfI2VkPW2DsRRNq9ckgoHJCWKg== X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-DMSolutions-MailScanner-SpamScore: s X-MailScanner-From: jpalmer@paradise.net.nz Subject: [Chameleon] Problems with query on postgis layer X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2004 11:06:52 -0000 Hi everyone, Two questions: 1) I have a postgis polygon layer that is taking a long time query using the query widget. Layers in ESRI shape files seem very quick, however but the postgis layer takes a couple of minutes to return an answer. Here is my layer, it maps correctly: LAYER NAME "parcels" CONNECTIONTYPE postgis CONNECTION "user=postgres password=xxxx dbname=xxx host=localhost" DATA "shape from parcel" STATUS DEFAULT TYPE POLYGON DUMP true template "blank.html" MAXSCALE 20000 CLASS EXPRESSION ('[status]' eq 'CURR' and '[toc_code]' eq 'PRIM' and '[parcel_intent]' ne 'ROAD' and '[parcel_intent]' ne 'HYDR' ) NAME "CURR Parcels" OUTLINECOLOR 0 0 0 END CLASS EXPRESSION ('[status]' eq 'CURR' and '[toc_code]' eq 'PRIM' and '[parcel_intent]' eq 'ROAD') NAME "CURR Road Parcels" OUTLINECOLOR 0 0 0 COLOR 255 222 140 END CLASS EXPRESSION ('[status]' eq 'CURR' and '[toc_code]' eq 'PRIM' and '[parcel_intent]' eq 'HYDR') NAME "CURR Hydro Parcels" OUTLINECOLOR 0 0 0 COLOR 161 189 234 END END 2) When items are queried using the query widget is it possible to highlight the point/polygon on the map for the user? Thanks heaps From pagameba@magma.ca Sun May 30 10:07:52 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4UE7iH8010364 for ; Sun, 30 May 2004 10:07:44 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i4UE7gra031361; Sun, 30 May 2004 10:07:42 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i4UE7bSS029512; Sun, 30 May 2004 10:07:42 -0400 Message-ID: <40B9EA8F.9090201@magma.ca> Date: Sun, 30 May 2004 10:07:11 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jeremy Palmer Subject: Re: [Chameleon] Problems with query on postgis layer References: <20040530110640.7A141AE595@smtp-3.paradise.net.nz> In-Reply-To: <20040530110640.7A141AE595@smtp-3.paradise.net.nz> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2004 14:07:53 -0000 Interesting that you bring this up now :) We've got the same problem in one of our client's apps. We will be investigating and hopefully fixing the problem this week. The problem may be in either the chameleon code or in how mapserver passes queries to the postgis engine, not sure exactly where it is. I'll let the list know when we find the problem. Cheers, Paul Jeremy Palmer wrote: > Hi everyone, > > Two questions: > > 1) I have a postgis polygon layer that is taking a long time query using > the query widget. Layers in ESRI shape files seem very quick, however but > the postgis layer takes a couple of minutes to return an answer. > > Here is my layer, it maps correctly: > > LAYER > NAME "parcels" > CONNECTIONTYPE postgis > CONNECTION "user=postgres password=xxxx dbname=xxx host=localhost" > DATA "shape from parcel" > STATUS DEFAULT > TYPE POLYGON > DUMP true > template "blank.html" > MAXSCALE 20000 > > CLASS > EXPRESSION ('[status]' eq 'CURR' and '[toc_code]' eq 'PRIM' and > '[parcel_intent]' ne 'ROAD' and '[parcel_intent]' ne 'HYDR' ) > NAME "CURR Parcels" > OUTLINECOLOR 0 0 0 > END > > CLASS > EXPRESSION ('[status]' eq 'CURR' and '[toc_code]' eq 'PRIM' and > '[parcel_intent]' eq 'ROAD') > NAME "CURR Road Parcels" > OUTLINECOLOR 0 0 0 > COLOR 255 222 140 > END > > CLASS > EXPRESSION ('[status]' eq 'CURR' and '[toc_code]' eq 'PRIM' and > '[parcel_intent]' eq 'HYDR') > NAME "CURR Hydro Parcels" > OUTLINECOLOR 0 0 0 > COLOR 161 189 234 > END > END > > 2) When items are queried using the query widget is it possible to > highlight the point/polygon on the map for the user? > > Thanks heaps > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Godwinl@AGR.GC.CA Mon May 31 11:40:17 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4VFe6H8017985 for ; Mon, 31 May 2004 11:40:06 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i4VFUo4e018188 for ; Mon, 31 May 2004 11:30:50 -0400 Received: from onncrxcn1.AGR.GC.CA ([10.117.15.130]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i4VFbDQl015665 for ; Mon, 31 May 2004 11:37:14 -0400 Received: from onncrxms2.AGR.GC.CA ([10.117.15.28]) by onncrxcn1.AGR.GC.CA with Microsoft SMTPSVC(5.0.2195.6713); Mon, 31 May 2004 11:39:11 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C44725.6B2DA9D0" Date: Mon, 31 May 2004 11:39:11 -0400 Message-ID: <482A7044F4DB2740884BAF6AFD74160920428E@onncrxms2.agr.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Using context files on startup with chameleon Thread-Index: AcRHJWscEkg+mGE5QdCo8lARbUP7nA== From: "Godwin, Liz" To: X-OriginalArrivalTime: 31 May 2004 15:39:11.0563 (UTC) FILETIME=[6B7861B0:01C44725] X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: godwinl@agr.gc.ca Subject: [Chameleon] Using context files on startup with chameleon X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2004 15:40:17 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C44725.6B2DA9D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have a chameleon application that is running with a plain map file and = a context file, which contains the layer info for the map. =20 In my index.phtml file, the context is loaded with the = oMap->loadMapContext() command. =20 This command will ONLY accept a FULL local filesystem string. ie.. = "/ms4w/apps/appname/htdocs/contextfile.xml" =20 I'd like to write my application to allow it to accept a remote context = file (http://host/appname/contextfile.xml)? I know chameleon is capable = because it has a widget that does this. What code would I need to use = here instead. I'm poking around the ContextSelector widget, but if = someone has a quick answer it may save me some time. =20 =20 Thanks! =20 Liz Godwin _____ =20 Agriculture and Agri-Food Canada/Agriculture et Agroalimentaire Canada 960 Carling Ave/960 av Carling Ottawa, ON Telephone/T=E9l=E9phone: 613-759-1850 Facsimile/T=E9l=E9copieur: 613-759-1937 godwinl@agr.gc.ca =20 ------_=_NextPart_001_01C44725.6B2DA9D0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message
I have = a chameleon=20 application that is running with a plain map file and a context file, = which=20 contains the layer info for the map.
 
In my = index.phtml=20 file, the context is loaded with the oMap->loadMapContext()=20 command.
 
This = command will=20 ONLY accept a FULL local filesystem string.  ie..=20 "/ms4w/apps/appname/htdocs/contextfile.xml"
 
I'd = like to write my=20 application to allow it to accept a remote context file (http://host/appname/contextf= ile.xml)?  I know chameleon is capable because it = has a widget=20 that does this.  What code would I need to use here = instead.  I'm=20 poking around the ContextSelector widget, but if someone has a quick = answer it=20 may save me some time. 
 
Thanks!
 
Liz Godwin

Agriculture and Agri-Food=20 Canada/Agriculture et Agroalimentaire Canada
960 Carling Ave/960 av Carling
Ottawa, ON
Telephone/T=E9l=E9phone:=20 613-759-1850
Facsimile/T=E9l=E9copieur: 613-759-1937
godwinl@agr.gc.ca
 
------_=_NextPart_001_01C44725.6B2DA9D0-- From pagameba@magma.ca Mon May 31 12:26:46 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4VGQdH8018427 for ; Mon, 31 May 2004 12:26:39 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i4VGQcqr029745; Mon, 31 May 2004 12:26:38 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i4VGQZbZ015983; Mon, 31 May 2004 12:26:38 -0400 Message-ID: <40BB5CA0.3040303@magma.ca> Date: Mon, 31 May 2004 12:26:08 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Godwin, Liz" Subject: Re: [Chameleon] Using context files on startup with chameleon References: <482A7044F4DB2740884BAF6AFD74160920428E@onncrxms2.agr.gc.ca> In-Reply-To: <482A7044F4DB2740884BAF6AFD74160920428E@onncrxms2.agr.gc.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2004 16:26:46 -0000 Liz, the code would look something like: $aszFile = file( $szURL ); $szContext = tempnam($_SESSION['gszTmpPath'], "context").".cml"; $fh = fopen($szContext, "w"); $nLines = count($aszFile); for($i=0; $i<$nLines; $i++) { fwrite($fh, $aszFile[$i]); } fclose($fh); This will copy the remote file from $szURL to a local temporary file $szContext, which you can then use to open using the mapscript function. Note that you would have to do this after the call to initialize the application object, because you may not have $_SESSION['gszTmpPath'] before than. Also, you will need to add some logic to prevent you from loading it multiple times ... I'd suggest using a session variable: if (!$_SESSION['gbContextLoaded']) { //load context $_SESSION['gbContextLoaded'] = true; } Cheers, PAul Godwin, Liz wrote: > I have a chameleon application that is running with a plain map file and > a context file, which contains the layer info for the map. > > In my index.phtml file, the context is loaded with the > oMap->loadMapContext() command. > > This command will ONLY accept a FULL local filesystem string. ie.. > "/ms4w/apps/appname/htdocs/contextfile.xml" > > I'd like to write my application to allow it to accept a remote context > file (http://host/appname/contextfile.xml)? I know chameleon is capable > because it has a widget that does this. What code would I need to use > here instead. I'm poking around the ContextSelector widget, but if > someone has a quick answer it may save me some time. > > Thanks! > > Liz Godwin > ------------------------------------------------------------------------ > Agriculture and Agri-Food Canada/Agriculture et Agroalimentaire Canada > 960 Carling Ave/960 av Carling > Ottawa, ON > Telephone/Téléphone: 613-759-1850 > Facsimile/Télécopieur: 613-759-1937 > godwinl@agr.gc.ca > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pgs@magma.ca Mon May 31 12:30:36 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4VGUPH8018493 for ; Mon, 31 May 2004 12:30:25 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i4VGUPle028531 for ; Mon, 31 May 2004 12:30:25 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i4VGUMbZ022446 for ; Mon, 31 May 2004 12:30:24 -0400 Message-ID: <40BB5D83.2020309@magma.ca> Date: Mon, 31 May 2004 12:29:55 -0400 From: Paul Spencer User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "chameleon@lists.maptools.org" Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pgs@magma.ca X-Mailman-Approved-At: Mon, 31 May 2004 12:40:27 -0400 Subject: [Chameleon] Chameleon 1.99 Beta 1 Released X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2004 16:30:36 -0000 Chameleon 1.99 Beta 1 Release Notice ------------------------------------ This has been a long time in the coming, over a year in fact. But it is finally here. The next version of Chameleon now has an official release status of Beta 1. And the purpose of this email is to tell you a little bit about this release. Chameleon 1.99 is significantly changed from the original 1.0 release. When we first started working on this version, we had optimistically tagged it as version 1.1. The goal for version 1.1 was to work on performance enhancements for the core Chameleon engine and fix some known bugs. As we were working on this, we were also tasked with making Chameleon work directly from a MapServer map file instead of requiring the use of a Web Map Context document (WMS layers). In hindsight, we bit off a lot more than we realized, and it has taken us over a year to get everything really stable again. In the meantime, a great many changes have happened to Chameleon, most of which I won't be able to describe in this email. So I will focus on the most dramatic changes that will be visible to the users of Chameleon - the application developers. Credits ------- A lot of hard work has gone into this version of Chameleon. Almost every person on DM Solutions staff has provided valuable input, either in the form of development, testing, documentation, or just playing "devil's advocate" when discussing new features. In addition, we have had excellent support from the growing Chameleon community, with numerous contributions of new ideas, bug identification and fixes, testing in environments we can't reproduce, and documentation. Finally, we couldn't have progressed Chameleon to this point without financial support from clients who believe that this technology is worth investing in. Getting Involved ---------------- You need to get this Chameleon release and start using it. Your feedback on the good, the bad, and the ugly is critical to us. To this end, there are several mechanisms for participating in Chameleon. First, you can subscribe to one or both of the chameleon mailing lists: chameleon@lists.maptools.org (http://lists.maptools.org/mailman/listinfo/chameleon) This is a user-oriented list that is used to discuss every aspect of installing and using chameleon, including potential bugs, feature requests, and problem solving. This is a moderate traffic list averaging several emails a day. We hope to see this increase as more users get involved. chameleon-dev@lists.maptools.org (http://lists.maptools.org/mailman/listinfo/chameleon-dev) This is a developer-oriented list that primarily carries bugzilla traffic. Occasionally, it is used to discuss development topics that are not relevant to the chameleon user list. All bugzilla traffic related to chameleon is automatically posted here, so it is high traffic especially near to release times, but can go for weeks without a post at other times. Second, you can register in bugzilla on the maptools website (http://www.maptools.org/bugzilla) to view the outstanding issues with Chameleon, track specific bugs (by adding yourself as a cc on the bug), and report new bugs. Third, you can contribute useful hints and tips to the Chameleon wiki pages, again on the maptools site at http://www.maptools.org/chameleon/wiki/. Finally, there is a Chameleon community initiative currently under development. While not available yet, it will provide a central clearinghouse for community involvement in Chameleon. Look for an announcement concerning this before the final release of version 1.99! How To Get Chameleon ------------- Prerequisites for this version are: * PHP version 4.2.2 or later, preferrably 4.3.x (but not 5.x) * A web server configured with PHP as a CGI * PHP/MapScript version 4.0 or 4.2 (some widgets, especially the TrueNorth widget and some of the SLD-related widgets, require 4.2). Linux/Unix tarball: http://www.maptools.org/dl/chameleon/chameleon-1.99beta1.tar.gz Windows ZIP file: http://www.maptools.org/dl/chameleon/chameleon-1.99beta1.zip MS4W Package http://www.maptools.org/dl/ms4w/chameleon_ms4w-1.99beta1.zip Anonymous CVS Access (for those that are using it): Both chameleon and php_utils have been tagged as chameleon_1_99_beta_1. Use this tag when updating to get exactly this release. NOTE: there is a serious lack of up-to-date documentation right now. That's coming in a future beta or, at the latest, by the first Release Candidate. Until then, you will have to ask on the list or check out the sample applications. If you are already an active Chameleon user of a recent (or cvs) version, then you probably won't need too much documentation right now. If you aren't, then the beta may not be for you. But you are welcome to try it out anyway. The intention of this release is to provide a reasonably stable development environment that will not change drastically before the final release. We know there are some problems (see bugzilla for the current list), but we also want to make sure that a core set of functionality is working as well as we can test it. At this point, only a subset of widgets have undergone extensive QA. The remainder will go through the same process as we progress to the final release. The widgets that are now considered most stable are: CompassPoint CursorPos ErrorReport Extent KeyMap Language Link MapDHTMLWidget MapUnits ProjectionLabel Query Recenter Scalebar SessionExpired SharedResource Title UpdateMap ZoomAllLayers ZoomFactor ZoomIn ZoomOut NOTE: This doesn't mean that the other widgets won't or don't work, but it does mean that we haven't tested them as thoroughly and there are likely some remaining issues, perhaps even ones that we know about. Before reporting any issues with any widgets, check bugzilla first. But if in doubt, report the issue and we'll figure out if it has already be listed somewhere. We'd rather make sure we don't overlook anything. Features and Changes from 1.0 ----------------------------- The changes from 1.0 are too numerous to list in any meaningful way. Instead, I've summarized some of the more important changes. No More Service Instance ------------------------ The biggest change from version 1.0 is that Chameleon requires the use of a service instance. In fact, in this release, the service instance is not even there - it will return for the first Release Candidate, however, and thus provide two modes of operation for Chameleon. Until that time, however, you can use the non-service instance mode. In this mode, Chameleon acts as an application development kit. You have to provide the application and you 'include' the core Chameleon engine to gain access to its functionality. For most applications, however, this is simply a matter of copying one of the sample applications and replacing a couple of lines that identify the application template and the map file to use. More Flexible Skinning ---------------------- In version 1.0, many widgets represented themselves as 'buttons' in the interface. Some widgets could access the services of an automated button generator (the 'buttonizer') while others required pre-built graphics. Some buttons had fancy hover and click effects, others had nothing. This was both limiting and confusing. In version 1.99, we have addressed this by making every widget that uses a button work in exactly the same way and by increasing the flexibility of how a button can be designed and implemented. Now, widgets with buttons can use: * a single pre-generated image, no fancy hover effects (minimizes JavaScript in the page, reduced load time for images) * mulitple pre-generated images, with fancy hover effects (more JavaScript, but fast load time for individual images) * single, 'buttonized' image, no fancy hover effects, buttons generated at run time * multiple 'buttonized' images, fancy hover effects, buttons generated at run time. With some fairly decent caching built in, there doesn't seem to be a big performance hit for generating buttons on the fly. In fact, in most cases, the buttons are used directly from cached versions with identical performance to pre-generated images. In addition to synchronizing all the widgets' use of buttons, we have added the notion of 'skins' to Chameleon. Now, an entire application's images and css files can be stored in a directory structure and, if you follow the naming convention of the default skin, you can change an application's look and feel by changing one line of code in the main application file. Changing skins in this way is very flexible, but this is the first time we've tried this, so there are still some quirks in the process. For instance, some widgets such as the WMS Browser widget don't support skins very well (or at all ;)). But the most commonly used widgets work very nicely with skins now! Performance Improvements ------------------------ This was the goal we had in mind when starting version 1.1! And we have made some significant improvements in performance of the core Chameleon engine by streamlining the code and optimizing heavily used portions. With the addition of quite a few new features, however, some of these gains have been offset by additional functionality. In approaching the beta release, the focus has been on getting Chameleon as stable as possible. At this point, performance is quite good, but we will continue to tune performance as we approach the Release Candidate and final Release of 1.99. New Widgets ----------- A variety of new widgets have been added to Chameleon, including: * ClearWFSFilter * DDSGUID * DownloadSLD * ExpressionBuilder * ExtractContext * ExtractWFSData * JSList * JSTreeView * KeepSessionAlive * KeyMapDHTML2 * LayerAttributes * LayerManager2 * MapImageSharedResource * MapImageStatic * MapImageWidget * MapTips * ROICircleTool * ROIFeatureTool * ROIManager * ROIManagerMode * ROIPolygonTool * ROIRectangleTool * ROIRemoveAll * ROIRemoveLast * SECTPopup * SelectLayers * SessionExpired * SQLQuery * Table * TrueNorth * UploadSLD * VarSharedResource * VarURL * WMSBrowser * WMSCache * XMLRPC Sample Applications ------------------- There are now a series of samples included directly in the Chameleon distribution. The samples have been developed to serve three distinct purposes: * demostrate a 'typical' use of widgets in real-life situations * provide a mechanism to test widgets prior to release * provide a starting point for creating new applications The samples are grouped around the notion of widget 'Packs'. We haven't formalized this yet, but at some point widgets will be released in widget Packs. A widget Pack will be a unit of QA and the pack will be released as a single entity, separately from the Chameleon core. Other Changes ------------- There are some other changes that don't fit conveniently into the above categories, but that will have an impact on you when you go to use Chameleon. * some widgets have changed names. Try running your new application with your existing template, widgets that can't be created (because of invalid attributes or an invalid widget name) will be highlighted in red and you can then look in the chameleon/htdocs/widgets directory to find the new name. For instance, the Print widget has changed to PrintWidget because Print is a php keyword that caused problems. * some widgets have changed attributes, in particular the compass point widget is substantially different. If you are getting invalid widget attributes, this is probably the cause. Until the documentation is complete, however, you will have to post your questions on the list or look at the sample applications. * widget names are now case sensitive on non-windows platforms (i.e. Linux), so you must write Scalebar instead of scalebar or SCALEBAR. Converting to 1.99 ------------------ * install 1.99 * edit the configuration file * test the sample applications * create a php file to launch the application (index.phtml) - can copy sample_basic.phtml - edit it to point to your map file and template file Coming in the Release Candidate ------------------------------- Here are a few of the things that we hope to get done for the 1.99 Release Candidate. Service Instance ---------------- The intention is to implement a service instance a la 1.0 so that Chameleon 1.99 is able to work either as a service instance or an application development kit. Work on this has started but it is not yet stable enough to be included in this beta. It will hopefully be in the next beta. Configuration File Cleanup -------------------------- As of this moment, the Chameleon configuration file still contains a lot of junk from the 1.0 days. Some things in there are no longer necessary, and some are specific only to the service instance mode of operation. The intention is to create a second configuration file, chameleon.xml, that will contain the minimum configuration necessary for the Application Development Kit mode, and keep the existing cwc2.xml for configuring the service instance mode. This will necessitate changes to the configuration editing tool as well. Widget Packs ------------ By the time we release the final verson of 1.99, we hope to have the widgets divided up into widget Packs that can be released and QA'd separately from the core. This should mean more frequent releases with bug fixes etc., which will be good for everyone. NOTE: the names of the widget packs, as well as the widgets assigned to them, are still under review and may change before the first Release Candidate. Documentation ------------- The documentation for 1.99 is terribly out of date, most of it still refers to the original 1.0 stuff. In particular, there is no widget documentation yet, nor has the administrative or application developer's guide been updated. This will be done before we release the first Release Candidate. Performance Tuning ------------------ There are many areas in Chameleon that could benefit from performance enhancements. We will be trying to identify the worst bottlenecks and fix them before the Release Candidate, but I expect this to be an ongoing process even after the final release. Widget Name Changes ------------------- Some of the existing widget names are a little horrible (like KeyMapDHTML2 for instance). All the widgets are going to be examined for how accurately the name of the widget reflects its purpose, and a set of rules will be developed for widget naming (this has been ad-hoc up until now). From Godwinl@AGR.GC.CA Mon May 31 14:15:53 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i4VIFbH8019780 for ; Mon, 31 May 2004 14:15:38 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i4VI6I4e012575; Mon, 31 May 2004 14:06:18 -0400 Received: from onncrxcn1.AGR.GC.CA ([10.117.15.130]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i4VIClQl019954; Mon, 31 May 2004 14:12:48 -0400 Received: from onncrxms2.AGR.GC.CA ([10.117.15.28]) by onncrxcn1.AGR.GC.CA with Microsoft SMTPSVC(5.0.2195.6713); Mon, 31 May 2004 14:14:45 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: [Chameleon] Chameleon 1.99 Beta 1 Released Date: Mon, 31 May 2004 14:14:44 -0400 Message-ID: <482A7044F4DB2740884BAF6AFD741609204291@onncrxms2.agr.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Chameleon] Chameleon 1.99 Beta 1 Released Thread-Index: AcRHLmKG3wBd+QL1T6WQYHUbAjCPOAAC93aQ From: "Godwin, Liz" To: "Paul Spencer" , X-OriginalArrivalTime: 31 May 2004 18:14:45.0534 (UTC) FILETIME=[26F353E0:01C4473B] X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: godwinl@agr.gc.ca Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i4VIFbH8019780 Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2004 18:15:53 -0000 This is a question about using CVS with this new release. Will changes be made to version 1.99 through cvs that I might want to update periodically? Will these changes be considered part of version 1.99, or beyond that? I'm confused because there are changes to some of the files on cvs that are not included in the 1.99 release, like a fix to ProjectionSelector widget. Will changes as they are more stable be assigned to the 1.99 release as updates? Or will they only be applied forward? In other words, say I have two installations of chameleon installed on my machine, v1.99 and cvs. Should I be updating both through cvs (one using a v1.99 tag, the other not), or will 1.99 be forever static? Liz Godwin -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Paul Spencer Sent: May 31, 2004 12:30 PM To: chameleon@lists.maptools.org Subject: [Chameleon] Chameleon 1.99 Beta 1 Released Chameleon 1.99 Beta 1 Release Notice ------------------------------------ This has been a long time in the coming, over a year in fact. But it is finally here. The next version of Chameleon now has an official release status of Beta 1. And the purpose of this email is to tell you a little bit about this release. Chameleon 1.99 is significantly changed from the original 1.0 release. When we first started working on this version, we had optimistically tagged it as version 1.1. The goal for version 1.1 was to work on performance enhancements for the core Chameleon engine and fix some known bugs. As we were working on this, we were also tasked with making Chameleon work directly from a MapServer map file instead of requiring the use of a Web Map Context document (WMS layers). In hindsight, we bit off a lot more than we realized, and it has taken us over a year to get everything really stable again. In the meantime, a great many changes have happened to Chameleon, most of which I won't be able to describe in this email. So I will focus on the most dramatic changes that will be visible to the users of Chameleon - the application developers. Credits ------- A lot of hard work has gone into this version of Chameleon. Almost every person on DM Solutions staff has provided valuable input, either in the form of development, testing, documentation, or just playing "devil's advocate" when discussing new features. In addition, we have had excellent support from the growing Chameleon community, with numerous contributions of new ideas, bug identification and fixes, testing in environments we can't reproduce, and documentation. Finally, we couldn't have progressed Chameleon to this point without financial support from clients who believe that this technology is worth investing in. Getting Involved ---------------- You need to get this Chameleon release and start using it. Your feedback on the good, the bad, and the ugly is critical to us. To this end, there are several mechanisms for participating in Chameleon. First, you can subscribe to one or both of the chameleon mailing lists: chameleon@lists.maptools.org (http://lists.maptools.org/mailman/listinfo/chameleon) This is a user-oriented list that is used to discuss every aspect of installing and using chameleon, including potential bugs, feature requests, and problem solving. This is a moderate traffic list averaging several emails a day. We hope to see this increase as more users get involved. chameleon-dev@lists.maptools.org (http://lists.maptools.org/mailman/listinfo/chameleon-dev) This is a developer-oriented list that primarily carries bugzilla traffic. Occasionally, it is used to discuss development topics that are not relevant to the chameleon user list. All bugzilla traffic related to chameleon is automatically posted here, so it is high traffic especially near to release times, but can go for weeks without a post at other times. Second, you can register in bugzilla on the maptools website (http://www.maptools.org/bugzilla) to view the outstanding issues with Chameleon, track specific bugs (by adding yourself as a cc on the bug), and report new bugs. Third, you can contribute useful hints and tips to the Chameleon wiki pages, again on the maptools site at http://www.maptools.org/chameleon/wiki/. Finally, there is a Chameleon community initiative currently under development. While not available yet, it will provide a central clearinghouse for community involvement in Chameleon. Look for an announcement concerning this before the final release of version 1.99! How To Get Chameleon ------------- Prerequisites for this version are: * PHP version 4.2.2 or later, preferrably 4.3.x (but not 5.x) * A web server configured with PHP as a CGI * PHP/MapScript version 4.0 or 4.2 (some widgets, especially the TrueNorth widget and some of the SLD-related widgets, require 4.2). Linux/Unix tarball: http://www.maptools.org/dl/chameleon/chameleon-1.99beta1.tar.gz Windows ZIP file: http://www.maptools.org/dl/chameleon/chameleon-1.99beta1.zip MS4W Package http://www.maptools.org/dl/ms4w/chameleon_ms4w-1.99beta1.zip Anonymous CVS Access (for those that are using it): Both chameleon and php_utils have been tagged as chameleon_1_99_beta_1. Use this tag when updating to get exactly this release. NOTE: there is a serious lack of up-to-date documentation right now. That's coming in a future beta or, at the latest, by the first Release Candidate. Until then, you will have to ask on the list or check out the sample applications. If you are already an active Chameleon user of a recent (or cvs) version, then you probably won't need too much documentation right now. If you aren't, then the beta may not be for you. But you are welcome to try it out anyway. The intention of this release is to provide a reasonably stable development environment that will not change drastically before the final release. We know there are some problems (see bugzilla for the current list), but we also want to make sure that a core set of functionality is working as well as we can test it. At this point, only a subset of widgets have undergone extensive QA. The remainder will go through the same process as we progress to the final release. The widgets that are now considered most stable are: CompassPoint CursorPos ErrorReport Extent KeyMap Language Link MapDHTMLWidget MapUnits ProjectionLabel Query Recenter Scalebar SessionExpired SharedResource Title UpdateMap ZoomAllLayers ZoomFactor ZoomIn ZoomOut NOTE: This doesn't mean that the other widgets won't or don't work, but it does mean that we haven't tested them as thoroughly and there are likely some remaining issues, perhaps even ones that we know about. Before reporting any issues with any widgets, check bugzilla first. But if in doubt, report the issue and we'll figure out if it has already be listed somewhere. We'd rather make sure we don't overlook anything. Features and Changes from 1.0 ----------------------------- The changes from 1.0 are too numerous to list in any meaningful way. Instead, I've summarized some of the more important changes. No More Service Instance ------------------------ The biggest change from version 1.0 is that Chameleon requires the use of a service instance. In fact, in this release, the service instance is not even there - it will return for the first Release Candidate, however, and thus provide two modes of operation for Chameleon. Until that time, however, you can use the non-service instance mode. In this mode, Chameleon acts as an application development kit. You have to provide the application and you 'include' the core Chameleon engine to gain access to its functionality. For most applications, however, this is simply a matter of copying one of the sample applications and replacing a couple of lines that identify the application template and the map file to use. More Flexible Skinning ---------------------- In version 1.0, many widgets represented themselves as 'buttons' in the interface. Some widgets could access the services of an automated button generator (the 'buttonizer') while others required pre-built graphics. Some buttons had fancy hover and click effects, others had nothing. This was both limiting and confusing. In version 1.99, we have addressed this by making every widget that uses a button work in exactly the same way and by increasing the flexibility of how a button can be designed and implemented. Now, widgets with buttons can use: * a single pre-generated image, no fancy hover effects (minimizes JavaScript in the page, reduced load time for images) * mulitple pre-generated images, with fancy hover effects (more JavaScript, but fast load time for individual images) * single, 'buttonized' image, no fancy hover effects, buttons generated at run time * multiple 'buttonized' images, fancy hover effects, buttons generated at run time. With some fairly decent caching built in, there doesn't seem to be a big performance hit for generating buttons on the fly. In fact, in most cases, the buttons are used directly from cached versions with identical performance to pre-generated images. In addition to synchronizing all the widgets' use of buttons, we have added the notion of 'skins' to Chameleon. Now, an entire application's images and css files can be stored in a directory structure and, if you follow the naming convention of the default skin, you can change an application's look and feel by changing one line of code in the main application file. Changing skins in this way is very flexible, but this is the first time we've tried this, so there are still some quirks in the process. For instance, some widgets such as the WMS Browser widget don't support skins very well (or at all ;)). But the most commonly used widgets work very nicely with skins now! Performance Improvements ------------------------ This was the goal we had in mind when starting version 1.1! And we have made some significant improvements in performance of the core Chameleon engine by streamlining the code and optimizing heavily used portions. With the addition of quite a few new features, however, some of these gains have been offset by additional functionality. In approaching the beta release, the focus has been on getting Chameleon as stable as possible. At this point, performance is quite good, but we will continue to tune performance as we approach the Release Candidate and final Release of 1.99. New Widgets ----------- A variety of new widgets have been added to Chameleon, including: * ClearWFSFilter * DDSGUID * DownloadSLD * ExpressionBuilder * ExtractContext * ExtractWFSData * JSList * JSTreeView * KeepSessionAlive * KeyMapDHTML2 * LayerAttributes * LayerManager2 * MapImageSharedResource * MapImageStatic * MapImageWidget * MapTips * ROICircleTool * ROIFeatureTool * ROIManager * ROIManagerMode * ROIPolygonTool * ROIRectangleTool * ROIRemoveAll * ROIRemoveLast * SECTPopup * SelectLayers * SessionExpired * SQLQuery * Table * TrueNorth * UploadSLD * VarSharedResource * VarURL * WMSBrowser * WMSCache * XMLRPC Sample Applications ------------------- There are now a series of samples included directly in the Chameleon distribution. The samples have been developed to serve three distinct purposes: * demostrate a 'typical' use of widgets in real-life situations * provide a mechanism to test widgets prior to release * provide a starting point for creating new applications The samples are grouped around the notion of widget 'Packs'. We haven't formalized this yet, but at some point widgets will be released in widget Packs. A widget Pack will be a unit of QA and the pack will be released as a single entity, separately from the Chameleon core. Other Changes ------------- There are some other changes that don't fit conveniently into the above categories, but that will have an impact on you when you go to use Chameleon. * some widgets have changed names. Try running your new application with your existing template, widgets that can't be created (because of invalid attributes or an invalid widget name) will be highlighted in red and you can then look in the chameleon/htdocs/widgets directory to find the new name. For instance, the Print widget has changed to PrintWidget because Print is a php keyword that caused problems. * some widgets have changed attributes, in particular the compass point widget is substantially different. If you are getting invalid widget attributes, this is probably the cause. Until the documentation is complete, however, you will have to post your questions on the list or look at the sample applications. * widget names are now case sensitive on non-windows platforms (i.e. Linux), so you must write Scalebar instead of scalebar or SCALEBAR. Converting to 1.99 ------------------ * install 1.99 * edit the configuration file * test the sample applications * create a php file to launch the application (index.phtml) - can copy sample_basic.phtml - edit it to point to your map file and template file Coming in the Release Candidate ------------------------------- Here are a few of the things that we hope to get done for the 1.99 Release Candidate. Service Instance ---------------- The intention is to implement a service instance a la 1.0 so that Chameleon 1.99 is able to work either as a service instance or an application development kit. Work on this has started but it is not yet stable enough to be included in this beta. It will hopefully be in the next beta. Configuration File Cleanup -------------------------- As of this moment, the Chameleon configuration file still contains a lot of junk from the 1.0 days. Some things in there are no longer necessary, and some are specific only to the service instance mode of operation. The intention is to create a second configuration file, chameleon.xml, that will contain the minimum configuration necessary for the Application Development Kit mode, and keep the existing cwc2.xml for configuring the service instance mode. This will necessitate changes to the configuration editing tool as well. Widget Packs ------------ By the time we release the final verson of 1.99, we hope to have the widgets divided up into widget Packs that can be released and QA'd separately from the core. This should mean more frequent releases with bug fixes etc., which will be good for everyone. NOTE: the names of the widget packs, as well as the widgets assigned to them, are still under review and may change before the first Release Candidate. Documentation ------------- The documentation for 1.99 is terribly out of date, most of it still refers to the original 1.0 stuff. In particular, there is no widget documentation yet, nor has the administrative or application developer's guide been updated. This will be done before we release the first Release Candidate. Performance Tuning ------------------ There are many areas in Chameleon that could benefit from performance enhancements. We will be trying to identify the worst bottlenecks and fix them before the Release Candidate, but I expect this to be an ongoing process even after the final release. Widget Name Changes ------------------- Some of the existing widget names are a little horrible (like KeyMapDHTML2 for instance). All the widgets are going to be examined for how accurately the name of the widget reflects its purpose, and a set of rules will be developed for widget naming (this has been ad-hoc up until now). _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From jacob.delfos@maunsell.com Mon May 31 22:11:19 2004 Received: from aumel1gw001.maunsell.com (aumail1.maunsell.com.au [210.193.148.151]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i512B7H9023630 for ; Mon, 31 May 2004 22:11:11 -0400 Received: from aumel1ex001.mel.maunsell.com.au ([172.21.0.15]) by aumel1gw001.maunsell.com (SAVSMTP 3.1.3.37) with SMTP id M2004060112150206662 for ; Tue, 01 Jun 2004 12:15:02 +1000 Received: by aumel1ex001.mel.maunsell.com.au with Internet Mail Service (5.5.2653.19) id ; Tue, 1 Jun 2004 12:11:43 +1000 Message-ID: From: "Delfos, Jacob" To: "'chameleon@lists.maptools.org'" Date: Tue, 1 Jun 2004 12:09:31 +1000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: jacob.delfos@maunsell.com Subject: [Chameleon] Unoriginal problem (sorry) : blank page with new beta X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2004 02:11:20 -0000 Hi All, I just downloaded the windows binary and installed it. Prior to this, I used version 1.0.4 of chameleon. I have successfully added the aliases to Apache, and server-side scripting runs fine in the htdocs directory of Chameleon. But I get a blank page. As I used CWC2.php before, I am not very knowledgeable about how to launch this version of Chameleon. I used a template from the mailinglist to instantiate the chameleonclass (attached below, named index.phtml). Can anyone spot anything wrong with it? My mapfile is correct. My template is a copy of 'simplest.html'. Can someone point me to the right direction? Regards, Jacob ---------------------------------------------------------------- moMapSession = new MapSession_RW; $this->moMapSession->setTempDir( getSessionSavePath()); } function CWCInitializeMap() { parent::CWCInitializeMap(); } function CWCLoadTemplate($szTemplateName) { $this->mszTemplate = implode("\n", file($szTemplateName)); } } $oApp = new test(); $oApp->CWCInitialize( $szTemplate, $szMapFile ); $oApp->CWCExecute(); ?> ------------------------------------------------------------------- From bartvde@xs4all.nl Tue Jun 1 04:02:22 2004 Received: from smtp-out5.xs4all.nl (smtp-out5.xs4all.nl [194.109.24.6]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5181sH8025296 for ; Tue, 1 Jun 2004 04:01:55 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out5.xs4all.nl (8.12.10/8.12.10) with SMTP id i5181gUY014642; Tue, 1 Jun 2004 10:01:47 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Tue, 1 Jun 2004 10:01:53 +0200 (CEST) Message-ID: <20531.212.238.227.182.1086076913.squirrel@webmail.xs4all.nl> In-Reply-To: References: Date: Tue, 1 Jun 2004 10:01:53 +0200 (CEST) From: bartvde@xs4all.nl To: "Delfos, Jacob" User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Subject: Re: [Chameleon] Unoriginal problem (sorry) : blank page with new Cc: "'chameleon@lists.maptools.org'" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2004 08:02:23 -0000 Hi Jacob, did you check to see if the sample applications are working? /ms4w/apps/chameleon/samples/htdocs/ Depending on if you are using MS4W, you will need to create an Apache alias for this. Best regards, Bart > Hi All, > > I just downloaded the windows binary and installed it. Prior to this, I > used > version 1.0.4 of chameleon. > > I have successfully added the aliases to Apache, and server-side scripting > runs fine in the htdocs directory of Chameleon. But I get a blank page. > > As I used CWC2.php before, I am not very knowledgeable about how to launch > this version of Chameleon. I used a template from the mailinglist to > instantiate the chameleonclass (attached below, named index.phtml). Can > anyone spot anything wrong with it? > > My mapfile is correct. My template is a copy of 'simplest.html'. Can > someone > point me to the right direction? > > Regards, > > Jacob > > > ---------------------------------------------------------------- > include( "c:/chameleon/roe7/htdocs/chameleon.php" ); > > $szTemplate = "c:/web/roe7/template/template.html"; > $szMapFile = "c:/web/roe7/mapfile.map"; > > class test extends Chameleon > { > function test() > { > parent::Chameleon(); > $this->moMapSession = new MapSession_RW; > $this->moMapSession->setTempDir( getSessionSavePath()); > } > > function CWCInitializeMap() > { > parent::CWCInitializeMap(); > } > > function CWCLoadTemplate($szTemplateName) > { > $this->mszTemplate = implode("\n", file($szTemplateName)); > } > } > > $oApp = new test(); > $oApp->CWCInitialize( $szTemplate, $szMapFile ); $oApp->CWCExecute(); > ?> > ------------------------------------------------------------------- > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From bartvde@xs4all.nl Tue Jun 1 04:37:21 2004 Received: from smtp-out4.xs4all.nl (smtp-out4.xs4all.nl [194.109.24.5]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i518bDH8026370 for ; Tue, 1 Jun 2004 04:37:13 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out4.xs4all.nl (8.12.10/8.12.10) with SMTP id i518b65Z006188; Tue, 1 Jun 2004 10:37:07 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Tue, 1 Jun 2004 10:37:12 +0200 (CEST) Message-ID: <18022.212.238.227.182.1086079032.squirrel@webmail.xs4all.nl> In-Reply-To: References: Date: Tue, 1 Jun 2004 10:37:12 +0200 (CEST) From: bartvde@xs4all.nl To: "Delfos, Jacob" User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Subject: RE: [Chameleon] Unoriginal problem (sorry) : blank page with new Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2004 08:37:22 -0000 Hi Jacob, for some of the functionality you need 4.2, see Paul's release notes. If you want to try using 4.2, download the 4.2b3 binaries from: http://www.maptools.org/php_mapscript/index.phtml?page=downloads.html Can you put php logging on or is there anything reported in the Apache error log? Best regards, Bart > Tried that. Again, blank page. I set up the aliases as specified in the > httpd.d file. > > I must be missing some dependency file. Are there any dependency > differences > between chameleon 1.0.4 and 1.99? Do I need mapscript_42, and if so, where > do I find it? I got mapscript_40 at the moment. > > Regards, > > Jacob > > > -----Original Message----- > From: bartvde@xs4all.nl [mailto:bartvde@xs4all.nl] > Sent: Tuesday, 1 June 2004 4:02 PM > To: Delfos, Jacob > Cc: 'chameleon@lists.maptools.org' > Subject: Re: [Chameleon] Unoriginal problem (sorry) : blank page with new > beta > > > Hi Jacob, > > did you check to see if the sample applications are working? > > /ms4w/apps/chameleon/samples/htdocs/ > > Depending on if you are using MS4W, you will need to create an Apache > alias > for this. > > Best regards, > Bart > >> Hi All, >> >> I just downloaded the windows binary and installed it. Prior to this, >> I used version 1.0.4 of chameleon. >> >> I have successfully added the aliases to Apache, and server-side >> scripting runs fine in the htdocs directory of Chameleon. But I get a >> blank page. >> >> As I used CWC2.php before, I am not very knowledgeable about how to >> launch this version of Chameleon. I used a template from the >> mailinglist to instantiate the chameleonclass (attached below, named >> index.phtml). Can anyone spot anything wrong with it? >> >> My mapfile is correct. My template is a copy of 'simplest.html'. Can >> someone point me to the right direction? >> >> Regards, >> >> Jacob >> >> >> ---------------------------------------------------------------- >> > include( "c:/chameleon/roe7/htdocs/chameleon.php" ); >> >> $szTemplate = "c:/web/roe7/template/template.html"; >> $szMapFile = "c:/web/roe7/mapfile.map"; >> >> class test extends Chameleon >> { >> function test() >> { >> parent::Chameleon(); >> $this->moMapSession = new MapSession_RW; >> $this->moMapSession->setTempDir( getSessionSavePath()); >> } >> >> function CWCInitializeMap() >> { >> parent::CWCInitializeMap(); >> } >> >> function CWCLoadTemplate($szTemplateName) >> { >> $this->mszTemplate = implode("\n", file($szTemplateName)); >> } >> } >> >> $oApp = new test(); >> $oApp->CWCInitialize( $szTemplate, $szMapFile ); $oApp->CWCExecute(); >> ?> >> ------------------------------------------------------------------- >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > From pagameba@magma.ca Tue Jun 1 06:35:06 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i51AYvH8029579 for ; Tue, 1 Jun 2004 06:34:57 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i51AYup6018405; Tue, 1 Jun 2004 06:34:56 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i51AYqVh031218; Tue, 1 Jun 2004 06:34:56 -0400 Message-ID: <40BC5BB0.1010702@magma.ca> Date: Tue, 01 Jun 2004 06:34:24 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 Subject: Re: [Chameleon] Unoriginal problem (sorry) : blank page with new References: <18022.212.238.227.182.1086079032.squirrel@webmail.xs4all.nl> In-Reply-To: <18022.212.238.227.182.1086079032.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: "Delfos, Jacob" , chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2004 10:35:07 -0000 Jacob, you should be able to get most of the functionality working with 4.0 anyway, but using the latest is probably a good idea. You should start with the sample applications and work from there. Try to get these working ... if you are getting blank pages from them then it is most likely a configuration error being masked by the browser/web server. Cheers, Paul bartvde@xs4all.nl wrote: > Hi Jacob, > > for some of the functionality you need 4.2, see Paul's release notes. > > If you want to try using 4.2, download the 4.2b3 binaries from: > > http://www.maptools.org/php_mapscript/index.phtml?page=downloads.html > > Can you put php logging on or is there anything reported in the Apache > error log? > > Best regards, > Bart > > >>Tried that. Again, blank page. I set up the aliases as specified in the >>httpd.d file. >> >>I must be missing some dependency file. Are there any dependency >>differences >>between chameleon 1.0.4 and 1.99? Do I need mapscript_42, and if so, where >>do I find it? I got mapscript_40 at the moment. >> >>Regards, >> >>Jacob >> >> >>-----Original Message----- >>From: bartvde@xs4all.nl [mailto:bartvde@xs4all.nl] >>Sent: Tuesday, 1 June 2004 4:02 PM >>To: Delfos, Jacob >>Cc: 'chameleon@lists.maptools.org' >>Subject: Re: [Chameleon] Unoriginal problem (sorry) : blank page with new >>beta >> >> >>Hi Jacob, >> >>did you check to see if the sample applications are working? >> >>/ms4w/apps/chameleon/samples/htdocs/ >> >>Depending on if you are using MS4W, you will need to create an Apache >>alias >>for this. >> >>Best regards, >>Bart >> >> >>>Hi All, >>> >>>I just downloaded the windows binary and installed it. Prior to this, >>>I used version 1.0.4 of chameleon. >>> >>>I have successfully added the aliases to Apache, and server-side >>>scripting runs fine in the htdocs directory of Chameleon. But I get a >>>blank page. >>> >>>As I used CWC2.php before, I am not very knowledgeable about how to >>>launch this version of Chameleon. I used a template from the >>>mailinglist to instantiate the chameleonclass (attached below, named >>>index.phtml). Can anyone spot anything wrong with it? >>> >>>My mapfile is correct. My template is a copy of 'simplest.html'. Can >>>someone point me to the right direction? >>> >>>Regards, >>> >>>Jacob >>> >>> >>>---------------------------------------------------------------- >>>>>include( "c:/chameleon/roe7/htdocs/chameleon.php" ); >>> >>>$szTemplate = "c:/web/roe7/template/template.html"; >>>$szMapFile = "c:/web/roe7/mapfile.map"; >>> >>>class test extends Chameleon >>>{ >>> function test() >>> { >>> parent::Chameleon(); >>> $this->moMapSession = new MapSession_RW; >>> $this->moMapSession->setTempDir( getSessionSavePath()); >>> } >>> >>> function CWCInitializeMap() >>> { >>> parent::CWCInitializeMap(); >>> } >>> >>> function CWCLoadTemplate($szTemplateName) >>> { >>> $this->mszTemplate = implode("\n", file($szTemplateName)); >>> } >>>} >>> >>>$oApp = new test(); >>>$oApp->CWCInitialize( $szTemplate, $szMapFile ); $oApp->CWCExecute(); >>>?> >>>------------------------------------------------------------------- >>> >>>_______________________________________________ >>>Chameleon mailing list >>>Chameleon@lists.maptools.org >>>http://lists.maptools.org/mailman/listinfo/chameleon >>> >> > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Tue Jun 1 06:37:46 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i51AbdH8029661 for ; Tue, 1 Jun 2004 06:37:39 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i51Abcp6019002; Tue, 1 Jun 2004 06:37:38 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i51Aba1w024259; Tue, 1 Jun 2004 06:37:39 -0400 Message-ID: <40BC5C54.7030205@magma.ca> Date: Tue, 01 Jun 2004 06:37:08 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 Subject: Re: [Chameleon] Problems with query on postgis layer References: <20040530110640.7A141AE595@smtp-3.paradise.net.nz> <40B9EA8F.9090201@magma.ca> In-Reply-To: <40B9EA8F.9090201@magma.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2004 10:37:47 -0000 Jerry, we fixed our problem by building GIST and BTREE indexes on the database, the code in chameleon and mapserver seems to be reasonably optimal (i.e. it doesn't repeat things too many times). I still have some doubts about feature caching by postgis but that doesn't seem to have much effect in my examples ... Cheers, Paul Paul Spencer wrote: > Interesting that you bring this up now :) We've got the same problem in > one of our client's apps. We will be investigating and hopefully fixing > the problem this week. The problem may be in either the chameleon code > or in how mapserver passes queries to the postgis engine, not sure > exactly where it is. > > I'll let the list know when we find the problem. > > Cheers, > > Paul > > Jeremy Palmer wrote: > >> Hi everyone, >> >> Two questions: >> >> 1) I have a postgis polygon layer that is taking a long time query using >> the query widget. Layers in ESRI shape files seem very quick, however but >> the postgis layer takes a couple of minutes to return an answer. >> >> Here is my layer, it maps correctly: >> >> LAYER >> NAME "parcels" >> CONNECTIONTYPE postgis >> CONNECTION "user=postgres password=xxxx dbname=xxx host=localhost" >> DATA "shape from parcel" >> STATUS DEFAULT >> TYPE POLYGON >> DUMP true >> template "blank.html" >> MAXSCALE 20000 >> CLASS >> EXPRESSION ('[status]' eq 'CURR' and '[toc_code]' eq 'PRIM' and >> '[parcel_intent]' ne 'ROAD' and '[parcel_intent]' ne 'HYDR' ) >> NAME "CURR Parcels" >> OUTLINECOLOR 0 0 0 >> END >> CLASS >> EXPRESSION ('[status]' eq 'CURR' and '[toc_code]' eq 'PRIM' and >> '[parcel_intent]' eq 'ROAD') >> NAME "CURR Road Parcels" >> OUTLINECOLOR 0 0 0 >> COLOR 255 222 140 >> END >> >> CLASS >> EXPRESSION ('[status]' eq 'CURR' and '[toc_code]' eq 'PRIM' and >> '[parcel_intent]' eq 'HYDR') >> NAME "CURR Hydro Parcels" >> OUTLINECOLOR 0 0 0 >> COLOR 161 189 234 >> END >> END >> >> 2) When items are queried using the query widget is it possible to >> highlight the point/polygon on the map for the user? >> >> Thanks heaps >> >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From bartvde@xs4all.nl Tue Jun 1 07:30:20 2004 Received: from smtp-out6.xs4all.nl (smtp-out6.xs4all.nl [194.109.24.7]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i51BUBH8030187 for ; Tue, 1 Jun 2004 07:30:11 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out6.xs4all.nl (8.12.10/8.12.10) with SMTP id i51BU2ew078125 for ; Tue, 1 Jun 2004 13:30:10 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Tue, 1 Jun 2004 13:30:10 +0200 (CEST) Message-ID: <6361.212.238.227.182.1086089410.squirrel@webmail.xs4all.nl> Date: Tue, 1 Jun 2004 13:30:10 +0200 (CEST) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Subject: [Chameleon] save button in ExpressionBuilder X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2004 11:30:20 -0000 Hi list, I still don't understand the meaning of the Save button in the ExpressionBuilder. When I press it, the page is submitted but nothing happens. What is this button supposed to do, and I am missing any dependencies for this in my template? I am using the 1.99 beta 1. Best regards, Bart From msr@sourcepole.ch Tue Jun 1 08:22:51 2004 Received: from smtp.tiscali.ch (smtp.tiscali.ch [212.40.5.52]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i51CM1H8030565 for ; Tue, 1 Jun 2004 08:22:21 -0400 Received: from wal.sourcepole (adsl-138-180-bs2.tiscali.ch [212.254.138.180]) by smtp.tiscali.ch (8.11.7/8.11.7) with ESMTP id i51CL1d27217 for ; Tue, 1 Jun 2004 14:21:16 +0200 Received: from msr.sourcepole ([192.168.1.104]) by wal.sourcepole with esmtp (Exim 3.35 #1 (Debian)) id 1BV8Go-0005YX-00 for ; Tue, 01 Jun 2004 14:21:30 +0200 From: Schnider Markus Organization: Sourcepole AG To: chameleon@lists.maptools.org Date: Tue, 1 Jun 2004 14:20:59 +0200 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200406011420.59636.msr@sourcepole.ch> X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: msr@sourcepole.ch Subject: [Chameleon] Locate Widget X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2004 12:22:52 -0000 Hi all How does the Locate widget work (version 1.99)? I receive an error like this (JavaScript Console in Mozilla): Error: uncaught exception: Permission denied to get property Window.LocateCB Is the 'opener' window not initialized? Cheers Markus Schnider From msr@sourcepole.ch Tue Jun 1 08:50:37 2004 Received: from smtp.tiscali.ch (smtp.tiscali.ch [212.40.5.52]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i51CnoH8030711 for ; Tue, 1 Jun 2004 08:50:10 -0400 Received: from wal.sourcepole (adsl-138-180-bs2.tiscali.ch [212.254.138.180]) by smtp.tiscali.ch (8.11.7/8.11.7) with ESMTP id i51Cncd07135 for ; Tue, 1 Jun 2004 14:49:38 +0200 Received: from msr.sourcepole ([192.168.1.104]) by wal.sourcepole with esmtp (Exim 3.35 #1 (Debian)) id 1BV8iV-0006JW-00 for ; Tue, 01 Jun 2004 14:50:07 +0200 From: Schnider Markus Organization: Sourcepole AG To: chameleon@lists.maptools.org Subject: Re: [Chameleon] Locate Widget Date: Tue, 1 Jun 2004 14:49:37 +0200 User-Agent: KMail/1.6.2 References: <200406011420.59636.msr@sourcepole.ch> In-Reply-To: <200406011420.59636.msr@sourcepole.ch> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200406011449.37161.msr@sourcepole.ch> X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: msr@sourcepole.ch X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2004 12:50:37 -0000 Sorry I was too fast Error found: In the config I had 'anyname', in the url 'anyname.somewhere'. With javascript reports the different (logical, but not physical) URLs with an error Sorry Markus Schnider On Tuesday 01 June 2004 14:20, Schnider Markus wrote: > Hi all > > How does the Locate widget work (version 1.99)? > > I receive an error like this (JavaScript Console in Mozilla): > Error: uncaught exception: Permission denied to get property > Window.LocateCB > > Is the 'opener' window not initialized? > > Cheers > > Markus Schnider > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon From bartvde@xs4all.nl Tue Jun 1 09:07:21 2004 Received: from smtp-out6.xs4all.nl (smtp-out6.xs4all.nl [194.109.24.7]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i51D7CH8030940 for ; Tue, 1 Jun 2004 09:07:12 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out6.xs4all.nl (8.12.10/8.12.10) with SMTP id i51D7Aew080447 for ; Tue, 1 Jun 2004 15:07:11 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Tue, 1 Jun 2004 15:07:11 +0200 (CEST) Message-ID: <10115.212.238.227.182.1086095231.squirrel@webmail.xs4all.nl> Date: Tue, 1 Jun 2004 15:07:11 +0200 (CEST) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Subject: [Chameleon] performance of drawmap.php X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2004 13:07:21 -0000 Hi list, I have done a test with the Microsoft Web Stress test tool by requesting an image to drawmap.php, and requesting the same image to Mapserver CGI directly. I only have one visible layer in my application. All tests performed on the server itself (localhost), so no network traffic involved. These are the results: directly to Mapserver WMS: 136 hits in 1 minute: average is 438.86 ms. using drawmap.php: 42 hits in 1 minute: average is 1409.50 ms. Why is there such a big performance loss in this step? This seems to be the largest performance bottleneck in Chameleon. Best regards, Bart From pagameba@magma.ca Tue Jun 1 09:56:30 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i51DuMH8031579 for ; Tue, 1 Jun 2004 09:56:22 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i51DuMkB025864; Tue, 1 Jun 2004 09:56:22 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i51DuJnn023169; Tue, 1 Jun 2004 09:56:22 -0400 Message-ID: <40BC8AE7.8010704@magma.ca> Date: Tue, 01 Jun 2004 09:55:51 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl Subject: Re: [Chameleon] performance of drawmap.php References: <10115.212.238.227.182.1086095231.squirrel@webmail.xs4all.nl> In-Reply-To: <10115.212.238.227.182.1086095231.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2004 13:56:30 -0000 Bart, good question :) I still have it on my list to look at this problem. The differences boil down to: The drawmap method does the following: 1. start apache process 2. load php 3. load mapscript 4. start session 5. load map object 6. execute a bunch of php code 7. draw map The mapserv cgi method does the following 1. start apache process 2. start mapserv cgi 3. load map object 4. draw map I suspect that the load map and draw map steps are roughly the same within a couple of milliseconds. Starting apache and loading mapscript/mapserv should be roughly the same. So the difference lies in: 1. loading php 2. starting the session 3. execute a bunch of php code The code between loading the map object and actually producing a map image adds some overhead (but I would be suprised if it is more than 50 ms). Note that if the web stress tool does simulatenous requests, they will all stall because php does session locking. I had originally intended to access the session in some read-only mode that would not lock it, this is difficult to do because we actually trap drawing errors and put them into the session so that the user can see why layers failed to draw. The reason why we use drawmap is to delay drawing the map until the page has started loading. This increases apparent performance while decreasing overall performance by requiring a second process to be started to draw the map. Because of the session locking, the drawmap request cannot be performed until after the page has been sent to the browser and the main thread has exited. Drawing the map as part of the execution of the application *could* speed up the final product significantly, but in general I think it would result in a slower feeling application, especially if you are using WMS sources. At least this way, the page loads reasonably quickly and you are left waiting for the image. Alternatives ... 1. add a method of requesting the map directly by giving the mapdhtmlwidget a mapserv cgi and passing it the path to the map file - pros: this is probably the absolute fastest way to get the image without actually drawing it while the page loads - cons: this is a security risk because it exposes absolute paths. There may be some ways to limit the security risk, esp on linux systems : lose the ability to provide feedback to the user on why map draws failed. 2. add an attribute that would cause the mapdhtmlwidget to render the image during execution of the application. I think most of the code to support this is in the mapdhtmlwidget, it would just need a bit of tweaking and a new attribute. - pros: the overall page load time would probably decrease : would maintain the ability to report errors to the user - cons: the responsiveness of the application would be worse 3. write a stripped down drawmap.php, removing some of the extra code - pros: maintain existing code in mapdhtmlwidget, maintain responsiveness of application - cons: minimal speed benefit likely Any comments, discussion and more ideas welcome ... personally, I like option 1 if security is not an issue (or there are work arounds) Cheers, Paul bartvde@xs4all.nl wrote: > Hi list, > > I have done a test with the Microsoft Web Stress test tool by requesting > an image to drawmap.php, and requesting the same image to Mapserver CGI > directly. I only have one visible layer in my application. All tests > performed on the server itself (localhost), so no network traffic > involved. > > These are the results: > > directly to Mapserver WMS: > 136 hits in 1 minute: average is 438.86 ms. > > using drawmap.php: > 42 hits in 1 minute: average is 1409.50 ms. > > Why is there such a big performance loss in this step? This seems to be > the largest performance bottleneck in Chameleon. > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From bartvde@xs4all.nl Tue Jun 1 10:28:41 2004 Received: from smtp-out6.xs4all.nl (smtp-out6.xs4all.nl [194.109.24.7]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i51ESVH8032112 for ; Tue, 1 Jun 2004 10:28:32 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out6.xs4all.nl (8.12.10/8.12.10) with SMTP id i51ESTew069046; Tue, 1 Jun 2004 16:28:29 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Tue, 1 Jun 2004 16:28:29 +0200 (CEST) Message-ID: <12978.212.238.227.182.1086100109.squirrel@webmail.xs4all.nl> In-Reply-To: <40BC8AE7.8010704@magma.ca> References: <10115.212.238.227.182.1086095231.squirrel@webmail.xs4all.nl> <40BC8AE7.8010704@magma.ca> Date: Tue, 1 Jun 2004 16:28:29 +0200 (CEST) Subject: Re: [Chameleon] performance of drawmap.php From: bartvde@xs4all.nl To: spencer@dmsolutions.ca User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Cc: chameleon@lists.maptools.org, bartvde@xs4all.nl X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2004 14:28:41 -0000 Hi Paul, I had a closer look and ofcourse the biggest difference is that Mapserver WMS client is in between in the case of my drawmap.php call. At least in my situation (all data is served through WMS). I found that this is the biggest performance decline, as I did a test on requesting an image from my application MAP file directly through Mapserver CGI. This process takes 1300 ms. This means that Mapserver WMS client takes about 900 ms in the whole process. This is the case when the Mapserver WMS client has to go through a proxy (I use an external URL in my app MAP file). If I just use localhost in my application MAP file, it all boils down to 833 ms (so around 400 ms overhead for the WMS client). Will it increase my performance and keep my download context functionality alive if I use the following: CONNECTION "http://localhost/...." "wms_onlineresource" "the external URL which goes through the proxy" ???? Then this would be advisable to use or not? Concluding, the drawmap process only takes an additional overhead of around 100 ms. Your option 1 would not suffice for my applications as mostly I need to combine layers from different WMS servers. And as we can see now, the overhead is not that much in drawmap.php. Any possibility that Mapserver WMS client could get faster? Or is this maximum performance? Maybe Daniel has some thoughts about this? BTW: I don't use simultaneous requests in the web stress tool. Best regards, Bart > Bart, > > good question :) I still have it on my list to look at this problem. > The differences boil down to: > > The drawmap method does the following: > > 1. start apache process > 2. load php > 3. load mapscript > 4. start session > 5. load map object > 6. execute a bunch of php code > 7. draw map > > The mapserv cgi method does the following > > 1. start apache process > 2. start mapserv cgi > 3. load map object > 4. draw map > > I suspect that the load map and draw map steps are roughly the same > within a couple of milliseconds. Starting apache and loading > mapscript/mapserv should be roughly the same. > > So the difference lies in: > > 1. loading php > 2. starting the session > 3. execute a bunch of php code > > The code between loading the map object and actually producing a map > image adds some overhead (but I would be suprised if it is more than 50 > ms). > > Note that if the web stress tool does simulatenous requests, they will > all stall because php does session locking. I had originally intended > to access the session in some read-only mode that would not lock it, > this is difficult to do because we actually trap drawing errors and put > them into the session so that the user can see why layers failed to draw. > > The reason why we use drawmap is to delay drawing the map until the page > has started loading. This increases apparent performance while > decreasing overall performance by requiring a second process to be > started to draw the map. Because of the session locking, the drawmap > request cannot be performed until after the page has been sent to the > browser and the main thread has exited. Drawing the map as part of the > execution of the application *could* speed up the final product > significantly, but in general I think it would result in a slower > feeling application, especially if you are using WMS sources. At least > this way, the page loads reasonably quickly and you are left waiting for > the image. > > Alternatives ... > > 1. add a method of requesting the map directly by giving the > mapdhtmlwidget a mapserv cgi and passing it the path to the map file > > - pros: this is probably the absolute fastest way to get the image > without actually drawing it while the page loads > - cons: this is a security risk because it exposes absolute paths. > There may be some ways to limit the security risk, esp on linux systems > : lose the ability to provide feedback to the user on why map > draws failed. > > 2. add an attribute that would cause the mapdhtmlwidget to render the > image during execution of the application. I think most of the code to > support this is in the mapdhtmlwidget, it would just need a bit of > tweaking and a new attribute. > - pros: the overall page load time would probably decrease > : would maintain the ability to report errors to the user > - cons: the responsi > veness of the application would be worse > > 3. write a stripped down drawmap.php, removing some of the extra code > - pros: maintain existing code in mapdhtmlwidget, maintain > responsiveness of application > - cons: minimal speed benefit likely > > Any comments, discussion and more ideas welcome ... personally, I like > option 1 if security is not an issue (or there are work arounds) > > Cheers, > > Paul > > bartvde@xs4all.nl wrote: > >> Hi list, >> >> I have done a test with the Microsoft Web Stress test tool by requesting >> an image to drawmap.php, and requesting the same image to Mapserver CGI >> directly. I only have one visible layer in my application. All tests >> performed on the server itself (localhost), so no network traffic >> involved. >> >> These are the results: >> >> directly to Mapserver WMS: >> 136 hits in 1 minute: average is 438.86 ms. >> >> using drawmap.php: >> 42 hits in 1 minute: average is 1409.50 ms. >> >> Why is there such a big performance loss in this step? This seems to be >> the largest performance bottleneck in Chameleon. >> >> Best regards, >> Bart >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > > -- > ----------------------------------------------------------------- > |Paul Spencer pspencer@dmsolutions.ca | > |-----------------------------------------------------------------| > |Applications & Software Development | > |DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon From Tom.Kralidis@ec.gc.ca Tue Jun 1 10:41:09 2004 Received: from ECNWRI1.ontario.int.ec.gc.ca (ecolink.cciw.ca [192.75.68.254]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i51EexH8032254 for ; Tue, 1 Jun 2004 10:41:00 -0400 content-class: urn:content-classes:message Subject: RE: [Chameleon] performance of drawmap.php MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 1 Jun 2004 10:40:57 -0400 Message-ID: <2576812186CDD411BF1500508B6DCE9507366EB6@ecnwri1.ontario.int.ec.gc.ca> x-mimeole: Produced By Microsoft Exchange V6.0.6487.1 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Chameleon] performance of drawmap.php Thread-Index: AcRH5au1PvIn491ETlCn7ZCNW1XH8AAAJFQw From: "Kralidis,Tom [Burlington]" To: , X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: tom.kralidis@ec.gc.ca Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i51EexH8032254 Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2004 14:41:10 -0000 Hi, I've found this issue as well, and have conducted numerous experiments on server side merging /brokering of WMS layers vs. client side (DHTML). I have found a ratio of 3/4:1 for performance, and thus prefer the latter approach. I can send out the experiment document if anyone is interested. ..Tom > -----Original Message----- > From: bartvde@xs4all.nl [mailto:bartvde@xs4all.nl] > Sent: Tuesday, June 01, 2004 10:28 AM > To: spencer@dmsolutions.ca > Cc: chameleon@lists.maptools.org; bartvde@xs4all.nl > Subject: Re: [Chameleon] performance of drawmap.php > > > Hi Paul, > > I had a closer look and ofcourse the biggest difference is > that Mapserver WMS client is in between in the case of my > drawmap.php call. At least in my situation (all data is > served through WMS). I found that this is the biggest > performance decline, as I did a test on requesting an image > from my application MAP file directly through Mapserver CGI. > > This process takes 1300 ms. This means that Mapserver WMS > client takes about 900 ms in the whole process. This is the > case when the Mapserver WMS client has to go through a proxy > (I use an external URL in my app MAP file). If I just use > localhost in my application MAP file, it all boils down to > 833 ms (so around 400 ms overhead for the WMS client). > > Will it increase my performance and keep my download context > functionality alive if I use the following: > > CONNECTION "http://localhost/...." > "wms_onlineresource" "the external URL which goes through the proxy" > > ???? Then this would be advisable to use or not? > > Concluding, the drawmap process only takes an additional > overhead of around 100 ms. > > Your option 1 would not suffice for my applications as mostly > I need to combine layers from different WMS servers. And as > we can see now, the overhead is not that much in drawmap.php. > > Any possibility that Mapserver WMS client could get faster? > Or is this maximum performance? Maybe Daniel has some > thoughts about this? > > BTW: I don't use simultaneous requests in the web stress tool. > > Best regards, > Bart > > > Bart, > > > > good question :) I still have it on my list to look at > this problem. > > The differences boil down to: > > > > The drawmap method does the following: > > > > 1. start apache process > > 2. load php > > 3. load mapscript > > 4. start session > > 5. load map object > > 6. execute a bunch of php code > > 7. draw map > > > > The mapserv cgi method does the following > > > > 1. start apache process > > 2. start mapserv cgi > > 3. load map object > > 4. draw map > > > > I suspect that the load map and draw map steps are roughly the same > > within a couple of milliseconds. Starting apache and loading > > mapscript/mapserv should be roughly the same. > > > > So the difference lies in: > > > > 1. loading php > > 2. starting the session > > 3. execute a bunch of php code > > > > The code between loading the map object and actually > producing a map > > image adds some overhead (but I would be suprised if it is > more than > > 50 ms). > > > > Note that if the web stress tool does simulatenous > requests, they will > > all stall because php does session locking. I had > originally intended > > to access the session in some read-only mode that would not > lock it, > > this is difficult to do because we actually trap drawing errors and > > put them into the session so that the user can see why > layers failed > > to draw. > > > > The reason why we use drawmap is to delay drawing the map until the > > page has started loading. This increases apparent > performance while > > decreasing overall performance by requiring a second process to be > > started to draw the map. Because of the session locking, > the drawmap > > request cannot be performed until after the page has been > sent to the > > browser and the main thread has exited. Drawing the map as part of > > the execution of the application *could* speed up the final product > > significantly, but in general I think it would result in a slower > > feeling application, especially if you are using WMS sources. At > > least this way, the page loads reasonably quickly and you are left > > waiting for the image. > > > > Alternatives ... > > > > 1. add a method of requesting the map directly by giving the > > mapdhtmlwidget a mapserv cgi and passing it the path to the map file > > > > - pros: this is probably the absolute fastest way to get the image > > without actually drawing it while the page loads > > - cons: this is a security risk because it exposes absolute paths. > > There may be some ways to limit the security risk, esp on > linux systems > > : lose the ability to provide feedback to the user > on why map > > draws failed. > > > > 2. add an attribute that would cause the mapdhtmlwidget to > render the > > image during execution of the application. I think most of > the code > > to support this is in the mapdhtmlwidget, it would just > need a bit of > > tweaking and a new attribute. > > - pros: the overall page load time would probably decrease > > : would maintain the ability to report errors to the user > > - cons: the responsi > > veness of the application would be worse > > > > 3. write a stripped down drawmap.php, removing some of the > extra code > > - pros: maintain existing code in mapdhtmlwidget, maintain > > responsiveness of application > > - cons: minimal speed benefit likely > > > > Any comments, discussion and more ideas welcome ... > personally, I like > > option 1 if security is not an issue (or there are work arounds) > > > > Cheers, > > > > Paul > > > > bartvde@xs4all.nl wrote: > > > >> Hi list, > >> > >> I have done a test with the Microsoft Web Stress test tool by > >> requesting an image to drawmap.php, and requesting the > same image to > >> Mapserver CGI directly. I only have one visible layer in my > >> application. All tests performed on the server itself > (localhost), so > >> no network traffic involved. > >> > >> These are the results: > >> > >> directly to Mapserver WMS: > >> 136 hits in 1 minute: average is 438.86 ms. > >> > >> using drawmap.php: > >> 42 hits in 1 minute: average is 1409.50 ms. > >> > >> Why is there such a big performance loss in this step? > This seems to > >> be the largest performance bottleneck in Chameleon. > >> > >> Best regards, > >> Bart > >> _______________________________________________ > >> Chameleon mailing list > >> Chameleon@lists.maptools.org > >> http://lists.maptools.org/mailman/listinfo/chameleon > >> > > > > -- > > ----------------------------------------------------------------- > > |Paul Spencer pspencer@dmsolutions.ca | > > |-----------------------------------------------------------------| > > |Applications & Software Development | > > |DM Solutions Group Inc http://www.dmsolutions.ca/| > > ----------------------------------------------------------------- > > > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > http://lists.maptools.org/mailman/listinfo/chameleon > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/cha> meleon > From bartvde@xs4all.nl Tue Jun 1 11:11:21 2004 Received: from smtp-out2.xs4all.nl (smtp-out2.xs4all.nl [194.109.24.12]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i51FBAH8032576 for ; Tue, 1 Jun 2004 11:11:11 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out2.xs4all.nl (8.12.10/8.12.10) with SMTP id i51FAm5L005562; Tue, 1 Jun 2004 17:10:52 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Tue, 1 Jun 2004 17:11:01 +0200 (CEST) Message-ID: <7266.212.238.227.182.1086102661.squirrel@webmail.xs4all.nl> In-Reply-To: <2576812186CDD411BF1500508B6DCE9507366EB6@ecnwri1.ontario.int.ec.gc.ca > References: <2576812186CDD411BF1500508B6DCE9507366EB6@ecnwri1.ontario.int.ec.gc.ca> Date: Tue, 1 Jun 2004 17:11:01 +0200 (CEST) Subject: RE: [Chameleon] performance of drawmap.php From: bartvde@xs4all.nl To: "Kralidis,Tom [Burlington]" User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Cc: spencer@dmsolutions.ca, chameleon@lists.maptools.org, bartvde@xs4all.nl X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2004 15:11:22 -0000 Hi Tom, I just redid your test on my machine with the latest Mapscript/Chameleon and the difference is stunning. In the owsview client a pan at world view level takes 7-8 seconds, in Chameleon (OGC sample) it takes 15-16 seconds. This time does not involve loading the context, purely a pan action. Paul, there must be something pretty slow in Mapserver WMS client or not? Or can you think of any other cause for this? Can Daniel provide any insight into this? Best regards, Bart > > Hi, > > I've found this issue as well, and have conducted numerous experiments > on server side merging /brokering of WMS layers vs. client side (DHTML). > I have found a ratio of 3/4:1 for performance, and thus prefer the > latter approach. I can send out the experiment document if anyone is > interested. > > ..Tom > >> -----Original Message----- >> From: bartvde@xs4all.nl [mailto:bartvde@xs4all.nl] >> Sent: Tuesday, June 01, 2004 10:28 AM >> To: spencer@dmsolutions.ca >> Cc: chameleon@lists.maptools.org; bartvde@xs4all.nl >> Subject: Re: [Chameleon] performance of drawmap.php >> >> >> Hi Paul, >> >> I had a closer look and ofcourse the biggest difference is >> that Mapserver WMS client is in between in the case of my >> drawmap.php call. At least in my situation (all data is >> served through WMS). I found that this is the biggest >> performance decline, as I did a test on requesting an image >> from my application MAP file directly through Mapserver CGI. >> >> This process takes 1300 ms. This means that Mapserver WMS >> client takes about 900 ms in the whole process. This is the >> case when the Mapserver WMS client has to go through a proxy >> (I use an external URL in my app MAP file). If I just use >> localhost in my application MAP file, it all boils down to >> 833 ms (so around 400 ms overhead for the WMS client). >> >> Will it increase my performance and keep my download context >> functionality alive if I use the following: >> >> CONNECTION "http://localhost/...." >> "wms_onlineresource" "the external URL which goes through the proxy" >> >> ???? Then this would be advisable to use or not? >> >> Concluding, the drawmap process only takes an additional >> overhead of around 100 ms. >> >> Your option 1 would not suffice for my applications as mostly >> I need to combine layers from different WMS servers. And as >> we can see now, the overhead is not that much in drawmap.php. >> >> Any possibility that Mapserver WMS client could get faster? >> Or is this maximum performance? Maybe Daniel has some >> thoughts about this? >> >> BTW: I don't use simultaneous requests in the web stress tool. >> >> Best regards, >> Bart >> >> > Bart, >> > >> > good question :) I still have it on my list to look at >> this problem. >> > The differences boil down to: >> > >> > The drawmap method does the following: >> > >> > 1. start apache process >> > 2. load php >> > 3. load mapscript >> > 4. start session >> > 5. load map object >> > 6. execute a bunch of php code >> > 7. draw map >> > >> > The mapserv cgi method does the following >> > >> > 1. start apache process >> > 2. start mapserv cgi >> > 3. load map object >> > 4. draw map >> > >> > I suspect that the load map and draw map steps are roughly the same >> > within a couple of milliseconds. Starting apache and loading >> > mapsc > ript/mapserv should be roughly the same. >> > >> > So the difference lies in: >> > >> > 1. loading php >> > 2. starting the session >> > 3. execute a bunch of php code >> > >> > The code between loading the map object and actually >> producing a map >> > image adds some overhead (but I would be suprised if it is >> more than >> > 50 ms). >> > >> > Note that if the web stress tool does simulatenous >> requests, they will >> > all stall because php does session locking. I had >> originally intended >> > to access the session in some read-only mode that would not >> lock it, >> > this is difficult to do because we actually trap drawing errors and >> > put them into the session so that the user can see why >> layers failed >> > to draw. >> > >> > The reason why we use drawmap is to delay drawing the map until the >> > page has started loading. This increases apparent >> performance while >> > decreasing overall performance by requiring a second process to be >> > started to draw the map. Because of the session locking, >> the drawmap >> > request cannot be performed until after the page has been >> sent to the >> > browser and the main thread has exited. Drawing the map as part of >> > the execution of the application *could* speed up the final product >> > significantly, but in general I think it would result in a slower >> > feeling application, especially if you are using WMS sources. At >> > least this way, the page loads reasonably quickly and you are left >> > waiting for the image. >> > >> > Alternatives ... >> > >> > 1. add a method of requesting the map directly by giving the >> > mapdhtmlwidget a mapserv cgi and passing it the path to the map file >> > >> > - pros: this is probably the absolute fastest way to get the image >> > without actually drawing it while the page loads >> > - cons: this is a security risk because it exposes absolute paths. >> > There may be some ways to limit the security risk, esp on >> linux systems >> > : lose the ability to provide feedback to the user >> on why map >> > draws failed. >> > >> > 2. add an attribute that would cause the mapdhtmlwidget to >> render the >> > image during execution of the application. I think most of >> the code >> > to support this is in the mapdhtmlwidget, it would just >> need a bit of >> > tweaking and a new attribute. >> > - pros: the overall page load time would probably decrease >> > : would maintain the ability to report errors to the user >> > - cons: the responsi >> > veness of the application would be worse >> > >> > 3. write a stripped down drawmap.php, removing some of the >> extra code >> > - pros: maintain existing code in mapdhtmlwidget, maintain >> > responsiveness of application >> > - cons: minimal speed benefit likely >> > >> > Any comments, discussion and more ideas welcome ... >> personally, I like >> > option 1 if security is not an issue (or there are work arounds) >> > >> > Cheers, >> > >> > Paul >> > >> > bartvde@xs4all.nl wrote: >> > >> >> Hi list, >> >> >> >> I have done a test with the Microsoft Web Stress test tool by >> >> requesting an image to drawmap.php, and requesting the >> same image to >> >> Mapserver CGI directly. I only have one visible layer in my >> >> application. All tests performed on the server itself >> (localhost), so >> >> no network traffic involved. >> >> >> >> These are the results: >> >> >> >> directly to Mapserver WMS: >> >> 136 hits in 1 minute: average is 438.86 ms. >> >> >> >> using drawmap.php: >> >> 42 hits in 1 minute: average is 1409.50 ms. >> >> >> >> Why is there such a big performance loss in this step? >> This seems to >> >> be the largest performance bottleneck in Chameleon. >> >> >> >> Best regards, >> >> Bart >> >> _______________________________________________ >> >> Chameleon mailing list >> >> Chameleon@lists.maptools.org >> >> http://lists.maptools.org/mailman/listinfo/chameleon >> >> >> > >> > -- >> > ----------------------------------------------------------------- >> > |Paul Spencer pspencer@dmsolutions.ca | >> > |-----------------------------------------------------------------| >> > |Applications & Software Development | >> > |DM Solutions Group Inc http://www.dmsolutions.ca/| >> > ----------------------------------------------------------------- >> > >> > _______________________________________________ >> > Chameleon mailing list >> > Chameleon@lists.maptools.org >> > http://lists.maptools.org/mailman/listinfo/chameleon >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/cha> meleon >> > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon From bartvde@xs4all.nl Tue Jun 1 11:18:17 2004 Received: from smtp-out4.xs4all.nl (smtp-out4.xs4all.nl [194.109.24.5]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i51FI9H8000388 for ; Tue, 1 Jun 2004 11:18:10 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out4.xs4all.nl (8.12.10/8.12.10) with SMTP id i51FI95Z052540 for ; Tue, 1 Jun 2004 17:18:09 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Tue, 1 Jun 2004 17:18:09 +0200 (CEST) Message-ID: <11512.212.238.227.182.1086103089.squirrel@webmail.xs4all.nl> Date: Tue, 1 Jun 2004 17:18:09 +0200 (CEST) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Subject: [Chameleon] EMBEDDED (revisited) X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2004 15:18:17 -0000 Hi Paul, We started trying the iframe option today but ran into some trouble for which we cannot find the cause. This is the iframe we use in the HTML template: Everything is loaded probably (except css and buttonized buttons), but all things in the popup which use the session are empty strings (the popup includes the session.inc though), e.g.: is resolved into: I hope you have some idea on what is causing this? Thanks in advance. Best regards, Bart From pagameba@magma.ca Tue Jun 1 12:02:35 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i51G2PH8000730 for ; Tue, 1 Jun 2004 12:02:25 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i51G2NSM023305; Tue, 1 Jun 2004 12:02:23 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i51G2I8p026203; Tue, 1 Jun 2004 12:02:23 -0400 Message-ID: <40BCA86E.1090909@magma.ca> Date: Tue, 01 Jun 2004 12:01:50 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl Subject: Re: [Chameleon] performance of drawmap.php References: <2576812186CDD411BF1500508B6DCE9507366EB6@ecnwri1.ontario.int.ec.gc.ca> <7266.212.238.227.182.1086102661.squirrel@webmail.xs4all.nl> In-Reply-To: <7266.212.238.227.182.1086102661.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: "Kralidis, Tom \[Burlington\]" , chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2004 16:02:35 -0000 Bart, does the owsview client really get all the layers in 7-8 seconds, or all but 1 layer ... which takes closer to 15 seconds? Daniel did some work on the WMS client to make it request images in parallel and combine requests for layers coming from the same server if possible. This should have resulted in it working somewhat faster. Keep in mind that the start of the drawmap request comes after the chameleon application has finished executing (probably several seconds) whereas owsviewer can start requesting the images immediately. In version 1.0, there is a mode of operation for the mapdhtmlwidget in cwcjsapi mode that loads the layers into individual DHTML layers. But we have not implemented anything to output individual DHTML layers requesting the images directly from the WMSs. There are a lot of complications to doing this :( Paul bartvde@xs4all.nl wrote: > Hi Tom, > > I just redid your test on my machine with the latest Mapscript/Chameleon > and the difference is stunning. In the owsview client a pan at world view > level takes 7-8 seconds, in Chameleon (OGC sample) it takes 15-16 seconds. > This time does not involve loading the context, purely a pan action. > > Paul, there must be something pretty slow in Mapserver WMS client or not? > Or can you think of any other cause for this? Can Daniel provide any > insight into this? > > Best regards, > Bart > > >>Hi, >> >>I've found this issue as well, and have conducted numerous experiments >>on server side merging /brokering of WMS layers vs. client side (DHTML). >>I have found a ratio of 3/4:1 for performance, and thus prefer the >>latter approach. I can send out the experiment document if anyone is >>interested. >> >>..Tom >> >> >>>-----Original Message----- >>>From: bartvde@xs4all.nl [mailto:bartvde@xs4all.nl] >>>Sent: Tuesday, June 01, 2004 10:28 AM >>>To: spencer@dmsolutions.ca >>>Cc: chameleon@lists.maptools.org; bartvde@xs4all.nl >>>Subject: Re: [Chameleon] performance of drawmap.php >>> >>> >>>Hi Paul, >>> >>>I had a closer look and ofcourse the biggest difference is >>>that Mapserver WMS client is in between in the case of my >>>drawmap.php call. At least in my situation (all data is >>>served through WMS). I found that this is the biggest >>>performance decline, as I did a test on requesting an image >>>from my application MAP file directly through Mapserver CGI. >>> >>>This process takes 1300 ms. This means that Mapserver WMS >>>client takes about 900 ms in the whole process. This is the >>>case when the Mapserver WMS client has to go through a proxy >>>(I use an external URL in my app MAP file). If I just use >>>localhost in my application MAP file, it all boils down to >>>833 ms (so around 400 ms overhead for the WMS client). >>> >>>Will it increase my performance and keep my download context >>>functionality alive if I use the following: >>> >>>CONNECTION "http://localhost/...." >>>"wms_onlineresource" "the external URL which goes through the proxy" >>> >>>???? Then this would be advisable to use or not? >>> >>>Concluding, the drawmap process only takes an additional >>>overhead of around 100 ms. >>> >>>Your option 1 would not suffice for my applications as mostly >>>I need to combine layers from different WMS servers. And as >>>we can see now, the overhead is not that much in drawmap.php. >>> >>>Any possibility that Mapserver WMS client could get faster? >>>Or is this maximum performance? Maybe Daniel has some >>>thoughts about this? >>> >>>BTW: I don't use simultaneous requests in the web stress tool. >>> >>>Best regards, >>>Bart >>> >>> >>>>Bart, >>>> >>>>good question :) I still have it on my list to look at >>> >>>this problem. >>> >>>>The differences boil down to: >>>> >>>>The drawmap method does the following: >>>> >>>>1. start apache process >>>>2. load php >>>>3. load mapscript >>>>4. start session >>>>5. load map object >>>>6. execute a bunch of php code >>>>7. draw map >>>> >>>>The mapserv cgi method does the following >>>> >>>>1. start apache process >>>>2. start mapserv cgi >>>>3. load map object >>>>4. draw map >>>> >>>>I suspect that the load map and draw map steps are roughly the same >>>>within a couple of milliseconds. Starting apache and loading >>>>mapsc >> >>ript/mapserv should be roughly the same. >> >>>>So the difference lies in: >>>> >>>>1. loading php >>>>2. starting the session >>>>3. execute a bunch of php code >>>> >>>>The code between loading the map object and actually >>> >>>producing a map >>> >>>>image adds some overhead (but I would be suprised if it is >>> >>>more than >>> >>>>50 ms). >>>> >>>>Note that if the web stress tool does simulatenous >>> >>>requests, they will >>> >>>>all stall because php does session locking. I had >>> >>>originally intended >>> >>>>to access the session in some read-only mode that would not >>> >>>lock it, >>> >>>>this is difficult to do because we actually trap drawing errors and >>>>put them into the session so that the user can see why >>> >>>layers failed >>> >>>>to draw. >>>> >>>>The reason why we use drawmap is to delay drawing the map until the >>>>page has started loading. This increases apparent >>> >>>performance while >>> >>>>decreasing overall performance by requiring a second process to be >>>>started to draw the map. Because of the session locking, >>> >>>the drawmap >>> >>>>request cannot be performed until after the page has been >>> >>>sent to the >>> >>>>browser and the main thread has exited. Drawing the map as part of >>>>the execution of the application *could* speed up the final product >>>>significantly, but in general I think it would result in a slower >>>>feeling application, especially if you are using WMS sources. At >>>>least this way, the page loads reasonably quickly and you are left >>>>waiting for the image. >>>> >>>>Alternatives ... >>>> >>>>1. add a method of requesting the map directly by giving the >>>>mapdhtmlwidget a mapserv cgi and passing it the path to the map file >>>> >>>>- pros: this is probably the absolute fastest way to get the image >>>>without actually drawing it while the page loads >>>>- cons: this is a security risk because it exposes absolute paths. >>>>There may be some ways to limit the security risk, esp on >>> >>>linux systems >>> >>>> : lose the ability to provide feedback to the user >>> >>>on why map >>> >>>>draws failed. >>>> >>>>2. add an attribute that would cause the mapdhtmlwidget to >>> >>>render the >>> >>>>image during execution of the application. I think most of >>> >>>the code >>> >>>>to support this is in the mapdhtmlwidget, it would just >>> >>>need a bit of >>> >>>>tweaking and a new attribute. >>>>- pros: the overall page load time would probably decrease >>>> : would maintain the ability to report errors to the user >>>>- cons: the responsi >>>>veness of the application would be worse >>>> >>>>3. write a stripped down drawmap.php, removing some of the >>> >>>extra code >>> >>>>- pros: maintain existing code in mapdhtmlwidget, maintain >>>>responsiveness of application >>>>- cons: minimal speed benefit likely >>>> >>>>Any comments, discussion and more ideas welcome ... >>> >>>personally, I like >>> >>>>option 1 if security is not an issue (or there are work arounds) >>>> >>>>Cheers, >>>> >>>>Paul >>>> >>>>bartvde@xs4all.nl wrote: >>>> >>>> >>>>>Hi list, >>>>> >>>>>I have done a test with the Microsoft Web Stress test tool by >>>>>requesting an image to drawmap.php, and requesting the >>> >>>same image to >>> >>>>>Mapserver CGI directly. I only have one visible layer in my >>>>>application. All tests performed on the server itself >>> >>>(localhost), so >>> >>>>>no network traffic involved. >>>>> >>>>>These are the results: >>>>> >>>>>directly to Mapserver WMS: >>>>>136 hits in 1 minute: average is 438.86 ms. >>>>> >>>>>using drawmap.php: >>>>>42 hits in 1 minute: average is 1409.50 ms. >>>>> >>>>>Why is there such a big performance loss in this step? >>> >>>This seems to >>> >>>>>be the largest performance bottleneck in Chameleon. >>>>> >>>>>Best regards, >>>>>Bart >>>>>_______________________________________________ >>>>>Chameleon mailing list >>>>>Chameleon@lists.maptools.org >>>>>http://lists.maptools.org/mailman/listinfo/chameleon >>>>> >>>> >>>>-- >>>> ----------------------------------------------------------------- >>>>|Paul Spencer pspencer@dmsolutions.ca | >>>>|-----------------------------------------------------------------| >>>>|Applications & Software Development | >>>>|DM Solutions Group Inc http://www.dmsolutions.ca/| >>>> ----------------------------------------------------------------- >>>> >>>>_______________________________________________ >>>>Chameleon mailing list >>>>Chameleon@lists.maptools.org >>>>http://lists.maptools.org/mailman/listinfo/chameleon >>> >>>_______________________________________________ >>>Chameleon mailing list >>>Chameleon@lists.maptools.org >>>http://lists.maptools.org/mailman/listinfo/cha> meleon >>> >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From bartvde@xs4all.nl Tue Jun 1 13:03:19 2004 Received: from smtp-out1.xs4all.nl (smtp-out1.xs4all.nl [194.109.24.11]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i51H37H8001154 for ; Tue, 1 Jun 2004 13:03:08 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out1.xs4all.nl (8.12.10/8.12.10) with ESMTP id i51H30br064659 for ; Tue, 1 Jun 2004 19:03:06 +0200 (CEST) Date: Tue, 01 Jun 2004 19:01:15 +0200 To: chameleon@lists.maptools.org Subject: Re: [Chameleon] performance of drawmap.php References: <2576812186CDD411BF1500508B6DCE9507366EB6@ecnwri1.ontario.int.ec.gc.ca> <7266.212.238.227.182.1086102661.squirrel@webmail.xs4all.nl> <40BCA86E.1090909@magma.ca> From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <40BCA86E.1090909@magma.ca> User-Agent: Opera7.23/Win32 M2 build 3227 X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: bartvde@xs4all.nl List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2004 17:03:19 -0000 Hi Paul, yes the owsclient takes all four layers in 7-8 seconds. If I include application loading time the total is around 11 seconds. Best regards, Bart On Tue, 01 Jun 2004 12:01:50 -0400, Paul Spencer wrote: > Bart, > > does the owsview client really get all the layers in 7-8 seconds, or all > but 1 layer ... which takes closer to 15 seconds? Daniel did some work > on the WMS client to make it request images in parallel and combine > requests for layers coming from the same server if possible. This > should have resulted in it working somewhat faster. Keep in mind that > the start of the drawmap request comes after the chameleon application > has finished executing (probably several seconds) whereas owsviewer can > start requesting the images immediately. > > In version 1.0, there is a mode of operation for the mapdhtmlwidget in > cwcjsapi mode that loads the layers into individual DHTML layers. But > we have not implemented anything to output individual DHTML layers > requesting the images directly from the WMSs. > > There are a lot of complications to doing this :( > > Paul > > bartvde@xs4all.nl wrote: > >> Hi Tom, >> >> I just redid your test on my machine with the latest Mapscript/Chameleon >> and the difference is stunning. In the owsview client a pan at world >> view >> level takes 7-8 seconds, in Chameleon (OGC sample) it takes 15-16 >> seconds. >> This time does not involve loading the context, purely a pan action. >> >> Paul, there must be something pretty slow in Mapserver WMS client or >> not? >> Or can you think of any other cause for this? Can Daniel provide any >> insight into this? >> >> Best regards, >> Bart >> >> >>> Hi, >>> >>> I've found this issue as well, and have conducted numerous experiments >>> on server side merging /brokering of WMS layers vs. client side >>> (DHTML). >>> I have found a ratio of 3/4:1 for performance, and thus prefer the >>> latter approach. I can send out the experiment document if anyone is >>> interested. >>> >>> ..Tom >>> >>> >>>> -----Original Message----- >>>> From: bartvde@xs4all.nl [mailto:bartvde@xs4all.nl] >>>> Sent: Tuesday, June 01, 2004 10:28 AM >>>> To: spencer@dmsolutions.ca >>>> Cc: chameleon@lists.maptools.org; bartvde@xs4all.nl >>>> Subject: Re: [Chameleon] performance of drawmap.php >>>> >>>> >>>> Hi Paul, >>>> >>>> I had a closer look and ofcourse the biggest difference is >>>> that Mapserver WMS client is in between in the case of my >>>> drawmap.php call. At least in my situation (all data is >>>> served through WMS). I found that this is the biggest >>>> performance decline, as I did a test on requesting an image >>>> from my application MAP file directly through Mapserver CGI. >>>> >>>> This process takes 1300 ms. This means that Mapserver WMS >>>> client takes about 900 ms in the whole process. This is the >>>> case when the Mapserver WMS client has to go through a proxy >>>> (I use an external URL in my app MAP file). If I just use >>>> localhost in my application MAP file, it all boils down to >>>> 833 ms (so around 400 ms overhead for the WMS client). >>>> >>>> Will it increase my performance and keep my download context >>>> functionality alive if I use the following: >>>> >>>> CONNECTION "http://localhost/...." >>>> "wms_onlineresource" "the external URL which goes through the proxy" >>>> >>>> ???? Then this would be advisable to use or not? >>>> >>>> Concluding, the drawmap process only takes an additional >>>> overhead of around 100 ms. >>>> >>>> Your option 1 would not suffice for my applications as mostly >>>> I need to combine layers from different WMS servers. And as >>>> we can see now, the overhead is not that much in drawmap.php. >>>> >>>> Any possibility that Mapserver WMS client could get faster? >>>> Or is this maximum performance? Maybe Daniel has some >>>> thoughts about this? >>>> >>>> BTW: I don't use simultaneous requests in the web stress tool. >>>> >>>> Best regards, >>>> Bart >>>> >>>> >>>>> Bart, >>>>> >>>>> good question :) I still have it on my list to look at >>>> >>>> this problem. >>>> >>>>> The differences boil down to: >>>>> >>>>> The drawmap method does the following: >>>>> >>>>> 1. start apache process >>>>> 2. load php >>>>> 3. load mapscript >>>>> 4. start session >>>>> 5. load map object >>>>> 6. execute a bunch of php code >>>>> 7. draw map >>>>> >>>>> The mapserv cgi method does the following >>>>> >>>>> 1. start apache process >>>>> 2. start mapserv cgi >>>>> 3. load map object >>>>> 4. draw map >>>>> >>>>> I suspect that the load map and draw map steps are roughly the same >>>>> within a couple of milliseconds. Starting apache and loading >>>>> mapsc >>> >>> ript/mapserv should be roughly the same. >>> >>>>> So the difference lies in: >>>>> >>>>> 1. loading php >>>>> 2. starting the session >>>>> 3. execute a bunch of php code >>>>> >>>>> The code between loading the map object and actually >>>> >>>> producing a map >>>> >>>>> image adds some overhead (but I would be suprised if it is >>>> >>>> more than >>>> >>>>> 50 ms). >>>>> >>>>> Note that if the web stress tool does simulatenous >>>> >>>> requests, they will >>>> >>>>> all stall because php does session locking. I had >>>> >>>> originally intended >>>> >>>>> to access the session in some read-only mode that would not >>>> >>>> lock it, >>>> >>>>> this is difficult to do because we actually trap drawing errors and >>>>> put them into the session so that the user can see why >>>> >>>> layers failed >>>> >>>>> to draw. >>>>> >>>>> The reason why we use drawmap is to delay drawing the map until the >>>>> page has started loading. This increases apparent >>>> >>>> performance while >>>> >>>>> decreasing overall performance by requiring a second process to be >>>>> started to draw the map. Because of the session locking, >>>> >>>> the drawmap >>>> >>>>> request cannot be performed until after the page has been >>>> >>>> sent to the >>>> >>>>> browser and the main thread has exited. Drawing the map as part of >>>>> the execution of the application *could* speed up the final product >>>>> significantly, but in general I think it would result in a slower >>>>> feeling application, especially if you are using WMS sources. At >>>>> least this way, the page loads reasonably quickly and you are left >>>>> waiting for the image. >>>>> >>>>> Alternatives ... >>>>> >>>>> 1. add a method of requesting the map directly by giving the >>>>> mapdhtmlwidget a mapserv cgi and passing it the path to the map file >>>>> >>>>> - pros: this is probably the absolute fastest way to get the image >>>>> without actually drawing it while the page loads >>>>> - cons: this is a security risk because it exposes absolute paths. >>>>> There may be some ways to limit the security risk, esp on >>>> >>>> linux systems >>>> >>>>> : lose the ability to provide feedback to the user >>>> >>>> on why map >>>> >>>>> draws failed. >>>>> >>>>> 2. add an attribute that would cause the mapdhtmlwidget to >>>> >>>> render the >>>> >>>>> image during execution of the application. I think most of >>>> >>>> the code >>>> >>>>> to support this is in the mapdhtmlwidget, it would just >>>> >>>> need a bit of >>>> >>>>> tweaking and a new attribute. >>>>> - pros: the overall page load time would probably decrease >>>>> : would maintain the ability to report errors to the user >>>>> - cons: the responsi >>>>> veness of the application would be worse >>>>> >>>>> 3. write a stripped down drawmap.php, removing some of the >>>> >>>> extra code >>>> >>>>> - pros: maintain existing code in mapdhtmlwidget, maintain >>>>> responsiveness of application >>>>> - cons: minimal speed benefit likely >>>>> >>>>> Any comments, discussion and more ideas welcome ... >>>> >>>> personally, I like >>>> >>>>> option 1 if security is not an issue (or there are work arounds) >>>>> >>>>> Cheers, >>>>> >>>>> Paul >>>>> >>>>> bartvde@xs4all.nl wrote: >>>>> >>>>> >>>>>> Hi list, >>>>>> >>>>>> I have done a test with the Microsoft Web Stress test tool by >>>>>> requesting an image to drawmap.php, and requesting the >>>> >>>> same image to >>>> >>>>>> Mapserver CGI directly. I only have one visible layer in my >>>>>> application. All tests performed on the server itself >>>> >>>> (localhost), so >>>> >>>>>> no network traffic involved. >>>>>> >>>>>> These are the results: >>>>>> >>>>>> directly to Mapserver WMS: >>>>>> 136 hits in 1 minute: average is 438.86 ms. >>>>>> >>>>>> using drawmap.php: >>>>>> 42 hits in 1 minute: average is 1409.50 ms. >>>>>> >>>>>> Why is there such a big performance loss in this step? >>>> >>>> This seems to >>>> >>>>>> be the largest performance bottleneck in Chameleon. >>>>>> >>>>>> Best regards, >>>>>> Bart >>>>>> _______________________________________________ >>>>>> Chameleon mailing list >>>>>> Chameleon@lists.maptools.org >>>>>> http://lists.maptools.org/mailman/listinfo/chameleon >>>>>> >>>>> >>>>> -- >>>>> ----------------------------------------------------------------- >>>>> |Paul Spencer pspencer@dmsolutions.ca | >>>>> |-----------------------------------------------------------------| >>>>> |Applications & Software Development | >>>>> |DM Solutions Group Inc http://www.dmsolutions.ca/| >>>>> ----------------------------------------------------------------- >>>>> >>>>> _______________________________________________ >>>>> Chameleon mailing list >>>>> Chameleon@lists.maptools.org >>>>> http://lists.maptools.org/mailman/listinfo/chameleon >>>> >>>> _______________________________________________ >>>> Chameleon mailing list >>>> Chameleon@lists.maptools.org >>>> http://lists.maptools.org/mailman/listinfo/cha> meleon >>>> >>> >>> _______________________________________________ >>> Chameleon mailing list >>> Chameleon@lists.maptools.org >>> http://lists.maptools.org/mailman/listinfo/chameleon >> >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > -- From Tom.Kralidis@ec.gc.ca Tue Jun 1 13:35:34 2004 Received: from ECNWRI1.ontario.int.ec.gc.ca (ecolink.cciw.ca [192.75.68.254]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i51HZLH8001515 for ; Tue, 1 Jun 2004 13:35:21 -0400 content-class: urn:content-classes:message Subject: RE: [Chameleon] performance of drawmap.php MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 1 Jun 2004 13:35:14 -0400 x-mimeole: Produced By Microsoft Exchange V6.0.6487.1 Message-ID: <2576812186CDD411BF1500508B6DCE9507366EC1@ecnwri1.ontario.int.ec.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Chameleon] performance of drawmap.php Thread-Index: AcRH+sokMy7uvHcOS4i0JYTfi9M6jAAA7a3QAAAOmFA= From: "Kralidis,Tom [Burlington]" To: , X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: tom.kralidis@ec.gc.ca Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i51HZLH8001515 Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2004 17:35:34 -0000 Hi, Yes, in the client side approach, some WMS layers take longer to get back, but, while they are returning, other (faster) WMS responses are returned. That being said, even when some layers are taking longer, the *perceived* response is also beneficial. ..Tom > > > > -----Original Message----- > > From: Bart van den Eijnden [mailto:bartvde@xs4all.nl] > > Sent: Tuesday, June 01, 2004 1:01 PM > > To: chameleon@lists.maptools.org > > Subject: Re: [Chameleon] performance of drawmap.php > > > > > > Hi Paul, > > > > yes the owsclient takes all four layers in 7-8 seconds. If I include > > application loading time the total is around 11 seconds. > > > > Best regards, > > Bart > > > > On Tue, 01 Jun 2004 12:01:50 -0400, Paul Spencer > > wrote: > > > > > Bart, > > > > > > does the owsview client really get all the layers in 7-8 > > seconds, or > > > all > > > but 1 layer ... which takes closer to 15 seconds? Daniel > > did some work > > > on the WMS client to make it request images in parallel > and combine > > > requests for layers coming from the same server if > possible. This > > > should have resulted in it working somewhat faster. Keep > > in mind that > > > the start of the drawmap request comes after the chameleon > > application > > > has finished executing (probably several seconds) whereas > > owsviewer can > > > start requesting the images immediately. > > > > > > In version 1.0, there is a mode of operation for the > > mapdhtmlwidget in > > > cwcjsapi mode that loads the layers into individual DHTML > > layers. But > > > we have not implemented anything to output individual DHTML layers > > > requesting the images directly from the WMSs. > > > > > > There are a lot of complications to doing this :( > > > > > > Paul > > > > > > bartvde@xs4all.nl wrote: > > > > > >> Hi Tom, > > >> > > >> I just redid your test on my machine with the latest > > >> Mapscript/Chameleon and the difference is stunning. In > the owsview > > >> client a pan at world view level takes 7-8 seconds, in > > Chameleon (OGC > > >> sample) it takes 15-16 seconds. > > >> This time does not involve loading the context, purely a > > pan action. > > >> > > >> Paul, there must be something pretty slow in Mapserver WMS > > client or > > >> not? > > >> Or can you think of any other cause for this? Can Daniel > > provide any > > >> insight into this? > > >> > > >> Best regards, > > >> Bart > > >> > > >> > > >>> Hi, > > >>> > > >>> I've found this issue as well, and have conducted numerous > > >>> experiments on server side merging /brokering of WMS layers vs. > > >>> client side (DHTML). I have found a ratio of 3/4:1 for > > performance, > > >>> and thus prefer the latter approach. I can send out the > > experiment > > >>> document if anyone is interested. > > >>> > > >>> ..Tom > > >>> > > >>> > > >>>> -----Original Message----- > > >>>> From: bartvde@xs4all.nl [mailto:bartvde@xs4all.nl] > > >>>> Sent: Tuesday, June 01, 2004 10:28 AM > > >>>> To: spencer@dmsolutions.ca > > >>>> Cc: chameleon@lists.maptools.org; bartvde@xs4all.nl > > >>>> Subject: Re: [Chameleon] performance of drawmap.php > > >>>> > > >>>> > > >>>> Hi Paul, > > >>>> > > >>>> I had a closer look and ofcourse the biggest difference is that > > >>>> Mapserver WMS client is in between in the case of my > drawmap.php > > >>>> call. At least in my situation (all data is served > > through WMS). I > > >>>> found that this is the biggest performance decline, as I > > did a test > > >>>> on requesting an image from my application MAP file directly > > >>>> through Mapserver CGI. > > >>>> > > >>>> This process takes 1300 ms. This means that Mapserver > WMS client > > >>>> takes about 900 ms in the whole process. This is the > > case when the > > >>>> Mapserver WMS client has to go through a proxy (I use an > > external > > >>>> URL in my app MAP file). If I just use localhost in my > > application > > >>>> MAP file, it all boils down to 833 ms (so around 400 > ms overhead > > >>>> for the WMS client). > > >>>> > > >>>> Will it increase my performance and keep my download context > > >>>> functionality alive if I use the following: > > >>>> > > >>>> CONNECTION "http://localhost/...." > > >>>> "wms_onlineresource" "the external URL which goes > > through the proxy" > > >>>> > > >>>> ???? Then this would be advisable to use or not? > > >>>> > > >>>> Concluding, the drawmap process only takes an additional > > overhead > > >>>> of around 100 ms. > > >>>> > > >>>> Your option 1 would not suffice for my applications as mostly I > > >>>> need to combine layers from different WMS servers. And > as we can > > >>>> see now, the overhead is not that much in drawmap.php. > > >>>> > > >>>> Any possibility that Mapserver WMS client could get > > faster? Or is > > >>>> this maximum performance? Maybe Daniel has some thoughts about > > >>>> this? > > >>>> > > >>>> BTW: I don't use simultaneous requests in the web stress tool. > > >>>> > > >>>> Best regards, > > >>>> Bart > > >>>> > > >>>> > > >>>>> Bart, > > >>>>> > > >>>>> good question :) I still have it on my list to look at > > >>>> > > >>>> this problem. > > >>>> > > >>>>> The differences boil down to: > > >>>>> > > >>>>> The drawmap method does the following: > > >>>>> > > >>>>> 1. start apache process > > >>>>> 2. load php > > >>>>> 3. load mapscript > > >>>>> 4. start session > > >>>>> 5. load map object > > >>>>> 6. execute a bunch of php code > > >>>>> 7. draw map > > >>>>> > > >>>>> The mapserv cgi method does the following > > >>>>> > > >>>>> 1. start apache process > > >>>>> 2. start mapserv cgi > > >>>>> 3. load map object > > >>>>> 4. draw map > > >>>>> > > >>>>> I suspect that the load map and draw map steps are roughly the > > >>>>> same within a couple of milliseconds. Starting apache > > and loading > > >>>>> mapsc > > >>> > > >>> ript/mapserv should be roughly the same. > > >>> > > >>>>> So the difference lies in: > > >>>>> > > >>>>> 1. loading php > > >>>>> 2. starting the session > > >>>>> 3. execute a bunch of php code > > >>>>> > > >>>>> The code between loading the map object and actually > > >>>> > > >>>> producing a map > > >>>> > > >>>>> image adds some overhead (but I would be suprised if it is > > >>>> > > >>>> more than > > >>>> > > >>>>> 50 ms). > > >>>>> > > >>>>> Note that if the web stress tool does simulatenous > > >>>> > > >>>> requests, they will > > >>>> > > >>>>> all stall because php does session locking. I had > > >>>> > > >>>> originally intended > > >>>> > > >>>>> to access the session in some read-only mode that would not > > >>>> > > >>>> lock it, > > >>>> > > >>>>> this is difficult to do because we actually trap > drawing errors > > >>>>> and put them into the session so that the user can see why > > >>>> > > >>>> layers failed > > >>>> > > >>>>> to draw. > > >>>>> > > >>>>> The reason why we use drawmap is to delay drawing the > map until > > >>>>> the page has started loading. This increases apparent > > >>>> > > >>>> performance while > > >>>> > > >>>>> decreasing overall performance by requiring a second > > process to be > > >>>>> started to draw the map. Because of the session locking, > > >>>> > > >>>> the drawmap > > >>>> > > >>>>> request cannot be performed until after the page has been > > >>>> > > >>>> sent to the > > >>>> > > >>>>> browser and the main thread has exited. Drawing the > > map as part > > >>>>> of the execution of the application *could* speed up the final > > >>>>> product significantly, but in general I think it would > > result in a > > >>>>> slower feeling application, especially if you are using WMS > > >>>>> sources. At least this way, the page loads reasonably > > quickly and > > >>>>> you are left waiting for the image. > > >>>>> > > >>>>> Alternatives ... > > >>>>> > > >>>>> 1. add a method of requesting the map directly by giving the > > >>>>> mapdhtmlwidget a mapserv cgi and passing it the path > to the map > > >>>>> file > > >>>>> > > >>>>> - pros: this is probably the absolute fastest way to > > get the image > > >>>>> without actually drawing it while the page loads > > >>>>> - cons: this is a security risk because it exposes > > absolute paths. > > >>>>> There may be some ways to limit the security risk, esp on > > >>>> > > >>>> linux systems > > >>>> > > >>>>> : lose the ability to provide feedback to the user > > >>>> > > >>>> on why map > > >>>> > > >>>>> draws failed. > > >>>>> > > >>>>> 2. add an attribute that would cause the mapdhtmlwidget to > > >>>> > > >>>> render the > > >>>> > > >>>>> image during execution of the application. I think most of > > >>>> > > >>>> the code > > >>>> > > >>>>> to support this is in the mapdhtmlwidget, it would just > > >>>> > > >>>> need a bit of > > >>>> > > >>>>> tweaking and a new attribute. > > >>>>> - pros: the overall page load time would probably decrease > > >>>>> : would maintain the ability to report errors > to the user > > >>>>> - cons: the responsi > > >>>>> veness of the application would be worse > > >>>>> > > >>>>> 3. write a stripped down drawmap.php, removing some of the > > >>>> > > >>>> extra code > > >>>> > > >>>>> - pros: maintain existing code in mapdhtmlwidget, maintain > > >>>>> responsiveness of application > > >>>>> - cons: minimal speed benefit likely > > >>>>> > > >>>>> Any comments, discussion and more ideas welcome ... > > >>>> > > >>>> personally, I like > > >>>> > > >>>>> option 1 if security is not an issue (or there are > work arounds) > > >>>>> > > >>>>> Cheers, > > >>>>> > > >>>>> Paul > > >>>>> > > >>>>> bartvde@xs4all.nl wrote: > > >>>>> > > >>>>> > > >>>>>> Hi list, > > >>>>>> > > >>>>>> I have done a test with the Microsoft Web Stress test tool by > > >>>>>> requesting an image to drawmap.php, and requesting the > > >>>> > > >>>> same image to > > >>>> > > >>>>>> Mapserver CGI directly. I only have one visible layer in my > > >>>>>> application. All tests performed on the server itself > > >>>> > > >>>> (localhost), so > > >>>> > > >>>>>> no network traffic involved. > > >>>>>> > > >>>>>> These are the results: > > >>>>>> > > >>>>>> directly to Mapserver WMS: > > >>>>>> 136 hits in 1 minute: average is 438.86 ms. > > >>>>>> > > >>>>>> using drawmap.php: > > >>>>>> 42 hits in 1 minute: average is 1409.50 ms. > > >>>>>> > > >>>>>> Why is there such a big performance loss in this step? > > >>>> > > >>>> This seems to > > >>>> > > >>>>>> be the largest performance bottleneck in Chameleon. > > >>>>>> > > >>>>>> Best regards, > > >>>>>> Bart > > >>>>>> _______________________________________________ > > >>>>>> Chameleon mailing list > > >>>>>> Chameleon@lists.maptools.org > > >>>>>> http://lists.maptools.org/mailman/listinfo/chameleon > > >>>>>> > > >>>>> > > >>>>> -- > > >>>>> > > ----------------------------------------------------------------- > > >>>>> |Paul Spencer > > pspencer@dmsolutions.ca | > > >>>>> > > |-----------------------------------------------------------------| > > >>>>> |Applications & Software Development > > | > > >>>>> |DM Solutions Group Inc > > http://www.dmsolutions.ca/| > > >>>>> > > ----------------------------------------------------------------- > > >>>>> > > >>>>> _______________________________________________ > > >>>>> Chameleon mailing list > > >>>>> Chameleon@lists.maptools.org > > >>>>> http://lists.maptools.org/mailman/listinfo/chameleon > > >>>> > > >>>> _______________________________________________ > > >>>> Chameleon mailing list > > >>>> Chameleon@lists.maptools.org > > >>>> http://lists.maptools.org/mailman/listinfo/cha> meleon > > >>>> > > >>> > > >>> _______________________________________________ > > >>> Chameleon mailing list > > >>> Chameleon@lists.maptools.org > > >>> http://lists.maptools.org/mailman/listinfo/chameleon > > >> > > >> > > >> _______________________________________________ > > >> Chameleon mailing list > > >> Chameleon@lists.maptools.org > > >> http://lists.maptools.org/mailman/listinfo/chameleon > > >> > > > > > > > > > > > -- > > > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > http://lists.maptools.org/mailman/listinfo/cha> meleon > > > From dmorissette@dmsolutions.ca Tue Jun 1 13:57:23 2004 Received: from xcalibur.dmsolutions.ca (www2.dmsolutions.ca [209.217.116.146]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i51HvFH8001658 for ; Tue, 1 Jun 2004 13:57:15 -0400 Received: from dmsolutions.ca ([192.168.4.100]) by xcalibur.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id i51Hv3n15905; Tue, 1 Jun 2004 13:57:03 -0400 Message-ID: <40BCC26B.7020708@dmsolutions.ca> Date: Tue, 01 Jun 2004 13:52:43 -0400 From: Daniel Morissette User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl Subject: Re: [Chameleon] performance of drawmap.php References: <2576812186CDD411BF1500508B6DCE9507366EB6@ecnwri1.ontario.int.ec.gc.ca> <7266.212.238.227.182.1086102661.squirrel@webmail.xs4all.nl> In-Reply-To: <7266.212.238.227.182.1086102661.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: dmorissette@dmsolutions.ca Cc: "Kralidis, Tom \[Burlington\]" , chameleon@lists.maptools.org, spencer@dmsolutions.ca X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2004 17:57:23 -0000 bartvde@xs4all.nl wrote: > > Paul, there must be something pretty slow in Mapserver WMS client or not? > Or can you think of any other cause for this? Can Daniel provide any > insight into this? > I'm assuming that you're using MapServer 4.2, correct? You could see where the time is spent by setting DEBUG TRUE in the client mapfile at the map level and inside each layer of interest. You also need a build with --enable-debug on Linux/Unix, or with -DENABLE_STDERR_DEBUG -DNEED_NONBLOCKING_STDERR on Windows. I don't know if our windows builds on maptools include that option or not, Paul should know. The Apache error_log will contain detailed times for each layer and for the full map draw. I copied below an example where we request 7 layers from the GMap WMS. As you'll notice, a single WMS client request is issued because MapServer detects that all layers come from the same server and combines them. Daniel -- ------------------------------------------------------------ Daniel Morissette dmorissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ [Tue Jun 1 13:44:24 2004].426143 HTTP: Starting to prepare HTTP requests. [Tue Jun 1 13:44:24 2004].426337 HTTP request: id=0, http://www2.dmsolutions.ca/cgi-bin/mswms_gmap?LAYERS=bathymetry,land%5Ffn,drain%5Ffn,drainage,prov%5Fbound,fedlimit,popplace&REQUEST=GetMap&SERVICE=WMS&FORMAT=image%2Fpng&STYLES=,,,,,,&HEIGHT=300&VERSION=1.1.0&SRS=EPSG:42304&WIDTH=400&BBOX=%2D2594560%2E000000%2C%2D712631%2E000000%2C3467360%2E000000%2C3840000%2E000000&TRANSPARENT=TRUE&EXCEPTIONS=application/vnd.ogc.se_inimage [Tue Jun 1 13:44:24 2004].426500 HTTP: Before download loop [Tue Jun 1 13:44:26 2004].162388 msHTTPWriteFct(id=0, 1214 bytes) [Tue Jun 1 13:44:26 2004].170452 msHTTPWriteFct(id=0, 1440 bytes) ... ... [Tue Jun 1 13:44:26 2004].681604 msHTTPWriteFct(id=0, 1006 bytes) [Tue Jun 1 13:44:26 2004].681638 msHTTPWriteFct(id=0, 427 bytes) [Tue Jun 1 13:44:26 2004].694859 msHTTPWriteFct(id=0, 1284 bytes) [Tue Jun 1 13:44:26 2004].790004 HTTP: After download loop [Tue Jun 1 13:44:26 2004].790045 msHTTPExecuteRequests() timing summary per layer (connect_time + time_to_first_packet + download_time = total_time in seconds) [Tue Jun 1 13:44:26 2004].790178 Layer 0: 0.124 + 1.613 + 0.655 = 2.392s [Tue Jun 1 13:44:26 2004].790414 msDrawRasterLayerLow(l0:bathymetry): entering. [Tue Jun 1 13:44:26 2004].825814 msDrawMap(): Layer 0 (l0:bathymetry), 0.035s [Tue Jun 1 13:44:26 2004].825898 msDrawMap(): Layer 1 (l1:land_fn), 0.000s [Tue Jun 1 13:44:26 2004].825918 msDrawMap(): Layer 3 (l3:drain_fn), 0.000s [Tue Jun 1 13:44:26 2004].825936 msDrawMap(): Layer 4 (l4:drainage), 0.000s [Tue Jun 1 13:44:26 2004].825953 msDrawMap(): Layer 5 (l5:prov_bound), 0.000s [Tue Jun 1 13:44:26 2004].825971 msDrawMap(): Layer 6 (l6:fedlimit), 0.000s [Tue Jun 1 13:44:26 2004].825990 msDrawMap(): Layer 9 (l9:popplace), 0.000s [Tue Jun 1 13:44:26 2004].826009 msDrawMap(): Drawing Label Cache, 0.000s [Tue Jun 1 13:44:26 2004].826029 msDrawMap() total time: 3.045s From bartvde@xs4all.nl Tue Jun 1 13:58:52 2004 Received: from smtp-out5.xs4all.nl (smtp-out5.xs4all.nl [194.109.24.6]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i51HweH8001712 for ; Tue, 1 Jun 2004 13:58:41 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out5.xs4all.nl (8.12.10/8.12.10) with ESMTP id i51HwdUY026440 for ; Tue, 1 Jun 2004 19:58:39 +0200 (CEST) To: chameleon@lists.maptools.org Subject: Re: [Chameleon] performance of drawmap.php References: <2576812186CDD411BF1500508B6DCE9507366EB6@ecnwri1.ontario.int.ec.gc.ca> <7266.212.238.227.182.1086102661.squirrel@webmail.xs4all.nl> <40BCA86E.1090909@magma.ca> Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Tue, 01 Jun 2004 19:56:54 +0200 In-Reply-To: User-Agent: Opera7.23/Win32 M2 build 3227 X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: bartvde@xs4all.nl List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2004 17:58:52 -0000 Continuing the performance discussion ... HTML compression is not gonna save a lot. My application is around 90 Kb without map image, which could in the most efficient form be reduced to 78 Kb. Though I see a lot of potential for putting some of the javascript functions into js files which can be cached by the browser. The javascript is more than 70% of the whole HTML file. As a pure guess I think at least 50% of this 70% could be "static" js in libraries. Can this be done easily Paul, I see you have started this work already with the MapDHTMLWidget? Is it your intention to put as much of js code into libraries as possible? Best regards, Bart On Tue, 01 Jun 2004 19:01:15 +0200, Bart van den Eijnden wrote: > Hi Paul, > > yes the owsclient takes all four layers in 7-8 seconds. If I include > application loading time the total is around 11 seconds. > > Best regards, > Bart > > On Tue, 01 Jun 2004 12:01:50 -0400, Paul Spencer > wrote: > >> Bart, >> >> does the owsview client really get all the layers in 7-8 seconds, or >> all but 1 layer ... which takes closer to 15 seconds? Daniel did some >> work on the WMS client to make it request images in parallel and >> combine requests for layers coming from the same server if possible. >> This should have resulted in it working somewhat faster. Keep in mind >> that the start of the drawmap request comes after the chameleon >> application has finished executing (probably several seconds) whereas >> owsviewer can start requesting the images immediately. >> >> In version 1.0, there is a mode of operation for the mapdhtmlwidget in >> cwcjsapi mode that loads the layers into individual DHTML layers. But >> we have not implemented anything to output individual DHTML layers >> requesting the images directly from the WMSs. >> >> There are a lot of complications to doing this :( >> >> Paul >> >> bartvde@xs4all.nl wrote: >> >>> Hi Tom, >>> >>> I just redid your test on my machine with the latest >>> Mapscript/Chameleon >>> and the difference is stunning. In the owsview client a pan at world >>> view >>> level takes 7-8 seconds, in Chameleon (OGC sample) it takes 15-16 >>> seconds. >>> This time does not involve loading the context, purely a pan action. >>> >>> Paul, there must be something pretty slow in Mapserver WMS client or >>> not? >>> Or can you think of any other cause for this? Can Daniel provide any >>> insight into this? >>> >>> Best regards, >>> Bart >>> >>> >>>> Hi, >>>> >>>> I've found this issue as well, and have conducted numerous experiments >>>> on server side merging /brokering of WMS layers vs. client side >>>> (DHTML). >>>> I have found a ratio of 3/4:1 for performance, and thus prefer the >>>> latter approach. I can send out the experiment document if anyone is >>>> interested. >>>> >>>> ..Tom >>>> >>>> >>>>> -----Original Message----- >>>>> From: bartvde@xs4all.nl [mailto:bartvde@xs4all.nl] >>>>> Sent: Tuesday, June 01, 2004 10:28 AM >>>>> To: spencer@dmsolutions.ca >>>>> Cc: chameleon@lists.maptools.org; bartvde@xs4all.nl >>>>> Subject: Re: [Chameleon] performance of drawmap.php >>>>> >>>>> >>>>> Hi Paul, >>>>> >>>>> I had a closer look and ofcourse the biggest difference is >>>>> that Mapserver WMS client is in between in the case of my >>>>> drawmap.php call. At least in my situation (all data is >>>>> served through WMS). I found that this is the biggest >>>>> performance decline, as I did a test on requesting an image >>>>> from my application MAP file directly through Mapserver CGI. >>>>> >>>>> This process takes 1300 ms. This means that Mapserver WMS >>>>> client takes about 900 ms in the whole process. This is the >>>>> case when the Mapserver WMS client has to go through a proxy >>>>> (I use an external URL in my app MAP file). If I just use >>>>> localhost in my application MAP file, it all boils down to >>>>> 833 ms (so around 400 ms overhead for the WMS client). >>>>> >>>>> Will it increase my performance and keep my download context >>>>> functionality alive if I use the following: >>>>> >>>>> CONNECTION "http://localhost/...." >>>>> "wms_onlineresource" "the external URL which goes through the proxy" >>>>> >>>>> ???? Then this would be advisable to use or not? >>>>> >>>>> Concluding, the drawmap process only takes an additional >>>>> overhead of around 100 ms. >>>>> >>>>> Your option 1 would not suffice for my applications as mostly >>>>> I need to combine layers from different WMS servers. And as >>>>> we can see now, the overhead is not that much in drawmap.php. >>>>> >>>>> Any possibility that Mapserver WMS client could get faster? >>>>> Or is this maximum performance? Maybe Daniel has some >>>>> thoughts about this? >>>>> >>>>> BTW: I don't use simultaneous requests in the web stress tool. >>>>> >>>>> Best regards, >>>>> Bart >>>>> >>>>> >>>>>> Bart, >>>>>> >>>>>> good question :) I still have it on my list to look at >>>>> >>>>> this problem. >>>>> >>>>>> The differences boil down to: >>>>>> >>>>>> The drawmap method does the following: >>>>>> >>>>>> 1. start apache process >>>>>> 2. load php >>>>>> 3. load mapscript >>>>>> 4. start session >>>>>> 5. load map object >>>>>> 6. execute a bunch of php code >>>>>> 7. draw map >>>>>> >>>>>> The mapserv cgi method does the following >>>>>> >>>>>> 1. start apache process >>>>>> 2. start mapserv cgi >>>>>> 3. load map object >>>>>> 4. draw map >>>>>> >>>>>> I suspect that the load map and draw map steps are roughly the same >>>>>> within a couple of milliseconds. Starting apache and loading >>>>>> mapsc >>>> >>>> ript/mapserv should be roughly the same. >>>> >>>>>> So the difference lies in: >>>>>> >>>>>> 1. loading php >>>>>> 2. starting the session >>>>>> 3. execute a bunch of php code >>>>>> >>>>>> The code between loading the map object and actually >>>>> >>>>> producing a map >>>>> >>>>>> image adds some overhead (but I would be suprised if it is >>>>> >>>>> more than >>>>> >>>>>> 50 ms). >>>>>> >>>>>> Note that if the web stress tool does simulatenous >>>>> >>>>> requests, they will >>>>> >>>>>> all stall because php does session locking. I had >>>>> >>>>> originally intended >>>>> >>>>>> to access the session in some read-only mode that would not >>>>> >>>>> lock it, >>>>> >>>>>> this is difficult to do because we actually trap drawing errors and >>>>>> put them into the session so that the user can see why >>>>> >>>>> layers failed >>>>> >>>>>> to draw. >>>>>> >>>>>> The reason why we use drawmap is to delay drawing the map until the >>>>>> page has started loading. This increases apparent >>>>> >>>>> performance while >>>>> >>>>>> decreasing overall performance by requiring a second process to be >>>>>> started to draw the map. Because of the session locking, >>>>> >>>>> the drawmap >>>>> >>>>>> request cannot be performed until after the page has been >>>>> >>>>> sent to the >>>>> >>>>>> browser and the main thread has exited. Drawing the map as part of >>>>>> the execution of the application *could* speed up the final product >>>>>> significantly, but in general I think it would result in a slower >>>>>> feeling application, especially if you are using WMS sources. At >>>>>> least this way, the page loads reasonably quickly and you are left >>>>>> waiting for the image. >>>>>> >>>>>> Alternatives ... >>>>>> >>>>>> 1. add a method of requesting the map directly by giving the >>>>>> mapdhtmlwidget a mapserv cgi and passing it the path to the map file >>>>>> >>>>>> - pros: this is probably the absolute fastest way to get the image >>>>>> without actually drawing it while the page loads >>>>>> - cons: this is a security risk because it exposes absolute paths. >>>>>> There may be some ways to limit the security risk, esp on >>>>> >>>>> linux systems >>>>> >>>>>> : lose the ability to provide feedback to the user >>>>> >>>>> on why map >>>>> >>>>>> draws failed. >>>>>> >>>>>> 2. add an attribute that would cause the mapdhtmlwidget to >>>>> >>>>> render the >>>>> >>>>>> image during execution of the application. I think most of >>>>> >>>>> the code >>>>> >>>>>> to support this is in the mapdhtmlwidget, it would just >>>>> >>>>> need a bit of >>>>> >>>>>> tweaking and a new attribute. >>>>>> - pros: the overall page load time would probably decrease >>>>>> : would maintain the ability to report errors to the user >>>>>> - cons: the responsi >>>>>> veness of the application would be worse >>>>>> >>>>>> 3. write a stripped down drawmap.php, removing some of the >>>>> >>>>> extra code >>>>> >>>>>> - pros: maintain existing code in mapdhtmlwidget, maintain >>>>>> responsiveness of application >>>>>> - cons: minimal speed benefit likely >>>>>> >>>>>> Any comments, discussion and more ideas welcome ... >>>>> >>>>> personally, I like >>>>> >>>>>> option 1 if security is not an issue (or there are work arounds) >>>>>> >>>>>> Cheers, >>>>>> >>>>>> Paul >>>>>> >>>>>> bartvde@xs4all.nl wrote: >>>>>> >>>>>> >>>>>>> Hi list, >>>>>>> >>>>>>> I have done a test with the Microsoft Web Stress test tool by >>>>>>> requesting an image to drawmap.php, and requesting the >>>>> >>>>> same image to >>>>> >>>>>>> Mapserver CGI directly. I only have one visible layer in my >>>>>>> application. All tests performed on the server itself >>>>> >>>>> (localhost), so >>>>> >>>>>>> no network traffic involved. >>>>>>> >>>>>>> These are the results: >>>>>>> >>>>>>> directly to Mapserver WMS: >>>>>>> 136 hits in 1 minute: average is 438.86 ms. >>>>>>> >>>>>>> using drawmap.php: >>>>>>> 42 hits in 1 minute: average is 1409.50 ms. >>>>>>> >>>>>>> Why is there such a big performance loss in this step? >>>>> >>>>> This seems to >>>>> >>>>>>> be the largest performance bottleneck in Chameleon. >>>>>>> >>>>>>> Best regards, >>>>>>> Bart >>>>>>> _______________________________________________ >>>>>>> Chameleon mailing list >>>>>>> Chameleon@lists.maptools.org >>>>>>> http://lists.maptools.org/mailman/listinfo/chameleon >>>>>>> >>>>>> >>>>>> -- >>>>>> ----------------------------------------------------------------- >>>>>> |Paul Spencer pspencer@dmsolutions.ca | >>>>>> |-----------------------------------------------------------------| >>>>>> |Applications & Software Development | >>>>>> |DM Solutions Group Inc http://www.dmsolutions.ca/| >>>>>> ----------------------------------------------------------------- >>>>>> >>>>>> _______________________________________________ >>>>>> Chameleon mailing list >>>>>> Chameleon@lists.maptools.org >>>>>> http://lists.maptools.org/mailman/listinfo/chameleon >>>>> >>>>> _______________________________________________ >>>>> Chameleon mailing list >>>>> Chameleon@lists.maptools.org >>>>> http://lists.maptools.org/mailman/listinfo/cha> meleon >>>>> >>>> >>>> _______________________________________________ >>>> Chameleon mailing list >>>> Chameleon@lists.maptools.org >>>> http://lists.maptools.org/mailman/listinfo/chameleon >>> >>> >>> _______________________________________________ >>> Chameleon mailing list >>> Chameleon@lists.maptools.org >>> http://lists.maptools.org/mailman/listinfo/chameleon >>> >> > > > -- From bartvde@xs4all.nl Tue Jun 1 14:16:51 2004 Received: from smtp-out4.xs4all.nl (smtp-out4.xs4all.nl [194.109.24.5]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i51IGiH8002026 for ; Tue, 1 Jun 2004 14:16:44 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out4.xs4all.nl (8.12.10/8.12.10) with ESMTP id i51IGX5Z099043; Tue, 1 Jun 2004 20:16:34 +0200 (CEST) Date: Tue, 01 Jun 2004 20:14:49 +0200 To: Daniel Morissette Subject: Re: [Chameleon] performance of drawmap.php References: <2576812186CDD411BF1500508B6DCE9507366EB6@ecnwri1.ontario.int.ec.gc.ca> <7266.212.238.227.182.1086102661.squirrel@webmail.xs4all.nl> <40BCC26B.7020708@dmsolutions.ca> From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <40BCC26B.7020708@dmsolutions.ca> User-Agent: Opera7.23/Win32 M2 build 3227 X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Cc: "Kralidis, Tom \[Burlington\]" , chameleon@lists.maptools.org, spencer@dmsolutions.ca X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: bartvde@xs4all.nl List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2004 18:16:52 -0000 Hi Daniel, I am using 4.2, that's right. I tried the DEBUG in MAP and LAYER (of the Chameleon app MAP file) but am not getting anything into the Apache error log concerning times. It would be very useful to have this option built into the maptools Windows binaries. If we would use your example to determine the overhead caused by the WMS client (downloading through Mapserver WMS client, compared to downloading from the WMS server directly): (3.045-2.392)/3.045 = 20% I may be misinterpreting the data though ..... In my example I had 300 ms / 833 ms = 36% overhead (1 WMS layer, localhost) But maybe the conclusion of this all is that, the fact that the map rendering does not start immediately, is the bottle neck in this case, and that's a hard one to solve. Best regards, Bart On Tue, 01 Jun 2004 13:52:43 -0400, Daniel Morissette wrote: > bartvde@xs4all.nl wrote: >> >> Paul, there must be something pretty slow in Mapserver WMS client or >> not? >> Or can you think of any other cause for this? Can Daniel provide any >> insight into this? >> > > I'm assuming that you're using MapServer 4.2, correct? > > You could see where the time is spent by setting DEBUG TRUE in the > client mapfile at the map level and inside each layer of interest. You > also need a build with --enable-debug on Linux/Unix, or with > -DENABLE_STDERR_DEBUG -DNEED_NONBLOCKING_STDERR on Windows. I don't > know if our windows builds on maptools include that option or not, Paul > should know. > > The Apache error_log will contain detailed times for each layer and for > the full map draw. I copied below an example where we request 7 layers > from the GMap WMS. As you'll notice, a single WMS client request is > issued because MapServer detects that all layers come from the same > server and combines them. > > Daniel -- From bartvde@xs4all.nl Tue Jun 1 18:12:09 2004 Received: from smtp-out6.xs4all.nl (smtp-out6.xs4all.nl [194.109.24.7]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i51MC0H8003326 for ; Tue, 1 Jun 2004 18:12:01 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out6.xs4all.nl (8.12.10/8.12.10) with ESMTP id i51MBwew061026; Wed, 2 Jun 2004 00:11:58 +0200 (CEST) Date: Wed, 02 Jun 2004 00:10:13 +0200 To: spencer@dmsolutions.ca, Jeremy Palmer Subject: Re: [Chameleon] Problems with query on postgis layer References: <20040530110640.7A141AE595@smtp-3.paradise.net.nz> <40B9EA8F.9090201@magma.ca> From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <40B9EA8F.9090201@magma.ca> User-Agent: Opera7.23/Win32 M2 build 3227 X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: bartvde@xs4all.nl List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2004 22:12:10 -0000 Hi, Just checking, did you create an index on the oid field? That solved my problem, although I was experiencing a slow performance of 5 seconds instead of minutes :) create index top50_oid_idx on table (oid); With regard to your second question Jeremy, it is possible in theory, but not out of the box in Chameleon. This means an SLD (+ Filter) GetMap request would also have to be generated which would highlight the selected (clicked) feature. Best regards, Bart On Sun, 30 May 2004 10:07:11 -0400, Paul Spencer wrote: > Interesting that you bring this up now :) We've got the same problem in > one of our client's apps. We will be investigating and hopefully fixing > the problem this week. The problem may be in either the chameleon code > or in how mapserver passes queries to the postgis engine, not sure > exactly where it is. > > I'll let the list know when we find the problem. > > Cheers, > > Paul > > Jeremy Palmer wrote: >> Hi everyone, >> >> Two questions: >> >> 1) I have a postgis polygon layer that is taking a long time query >> using >> the query widget. Layers in ESRI shape files seem very quick, however >> but >> the postgis layer takes a couple of minutes to return an answer. >> >> Here is my layer, it maps correctly: >> >> LAYER >> NAME "parcels" >> CONNECTIONTYPE postgis >> CONNECTION "user=postgres password=xxxx dbname=xxx host=localhost" >> DATA "shape from parcel" >> STATUS DEFAULT >> TYPE POLYGON >> DUMP true >> template "blank.html" >> MAXSCALE 20000 >> CLASS >> EXPRESSION ('[status]' eq 'CURR' and '[toc_code]' eq 'PRIM' and >> '[parcel_intent]' ne 'ROAD' and '[parcel_intent]' ne 'HYDR' ) >> NAME "CURR Parcels" >> OUTLINECOLOR 0 0 0 >> END >> CLASS >> EXPRESSION ('[status]' eq 'CURR' and '[toc_code]' eq 'PRIM' and >> '[parcel_intent]' eq 'ROAD') >> NAME "CURR Road Parcels" >> OUTLINECOLOR 0 0 0 >> COLOR 255 222 140 >> END >> >> CLASS >> EXPRESSION ('[status]' eq 'CURR' and '[toc_code]' eq 'PRIM' and >> '[parcel_intent]' eq 'HYDR') >> NAME "CURR Hydro Parcels" >> OUTLINECOLOR 0 0 0 >> COLOR 161 189 234 >> END >> END >> >> 2) When items are queried using the query widget is it possible to >> highlight the point/polygon on the map for the user? >> >> Thanks heaps >> >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > -- From jacob.delfos@maunsell.com Tue Jun 1 20:29:12 2004 Received: from aumel1gw001.maunsell.com (210-193-148-151.macquarie.net.au [210.193.148.151] (may be forged)) by www.maptools.org (8.12.5/8.12.5) with SMTP id i520T2H9003964 for ; Tue, 1 Jun 2004 20:29:03 -0400 Received: from aumel1ex001.mel.maunsell.com.au ([172.21.0.15]) by aumel1gw001.maunsell.com (SAVSMTP 3.1.3.37) with SMTP id M2004060210324613807 ; Wed, 02 Jun 2004 10:32:46 +1000 Received: by aumel1ex001.mel.maunsell.com.au with Internet Mail Service (5.5.2653.19) id ; Wed, 2 Jun 2004 10:29:25 +1000 Message-ID: From: "Delfos, Jacob" To: "'spencer@dmsolutions.ca'" Subject: RE: [Chameleon] Unoriginal problem (sorry) : blank page with new Date: Wed, 2 Jun 2004 10:27:10 +1000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: jacob.delfos@maunsell.com Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2004 00:29:12 -0000 I checked my apache configuration. It seems okay (no 'page not found' error, and my old chameleon runs fine). I checked the cwc2.xml file, and as far as I can see, it's okay. The samples don't run, but I get no errors. I turned on all error logging for Apache and PHP, but nothing shows up. Are there any other paths that need configuring? I configured cwc2.xml and Apache... Installing mapscript_42 didn't help either.... Jacob -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: Tuesday, 1 June 2004 6:34 PM Cc: Delfos, Jacob; chameleon@lists.maptools.org Subject: Re: [Chameleon] Unoriginal problem (sorry) : blank page with new Jacob, you should be able to get most of the functionality working with 4.0 anyway, but using the latest is probably a good idea. You should start with the sample applications and work from there. Try to get these working ... if you are getting blank pages from them then it is most likely a configuration error being masked by the browser/web server. Cheers, Paul bartvde@xs4all.nl wrote: > Hi Jacob, > > for some of the functionality you need 4.2, see Paul's release notes. > > If you want to try using 4.2, download the 4.2b3 binaries from: > > http://www.maptools.org/php_mapscript/index.phtml?page=downloads.html > > Can you put php logging on or is there anything reported in the Apache > error log? > > Best regards, > Bart > > >>Tried that. Again, blank page. I set up the aliases as specified in >>the httpd.d file. >> >>I must be missing some dependency file. Are there any dependency >>differences between chameleon 1.0.4 and 1.99? Do I need mapscript_42, >>and if so, where do I find it? I got mapscript_40 at the moment. >> >>Regards, >> >>Jacob >> >> >>-----Original Message----- >>From: bartvde@xs4all.nl [mailto:bartvde@xs4all.nl] >>Sent: Tuesday, 1 June 2004 4:02 PM >>To: Delfos, Jacob >>Cc: 'chameleon@lists.maptools.org' >>Subject: Re: [Chameleon] Unoriginal problem (sorry) : blank page with >>new beta >> >> >>Hi Jacob, >> >>did you check to see if the sample applications are working? >> >>/ms4w/apps/chameleon/samples/htdocs/ >> >>Depending on if you are using MS4W, you will need to create an Apache >>alias for this. >> >>Best regards, >>Bart >> >> >>>Hi All, >>> >>>I just downloaded the windows binary and installed it. Prior to this, >>>I used version 1.0.4 of chameleon. >>> >>>I have successfully added the aliases to Apache, and server-side >>>scripting runs fine in the htdocs directory of Chameleon. But I get a >>>blank page. >>> >>>As I used CWC2.php before, I am not very knowledgeable about how to >>>launch this version of Chameleon. I used a template from the >>>mailinglist to instantiate the chameleonclass (attached below, named >>>index.phtml). Can anyone spot anything wrong with it? >>> >>>My mapfile is correct. My template is a copy of 'simplest.html'. Can >>>someone point me to the right direction? >>> >>>Regards, >>> >>>Jacob >>> >>> >>>---------------------------------------------------------------- >>>>>include( "c:/chameleon/roe7/htdocs/chameleon.php" ); >>> >>>$szTemplate = "c:/web/roe7/template/template.html"; >>>$szMapFile = "c:/web/roe7/mapfile.map"; >>> >>>class test extends Chameleon >>>{ >>> function test() >>> { >>> parent::Chameleon(); >>> $this->moMapSession = new MapSession_RW; >>> $this->moMapSession->setTempDir( getSessionSavePath()); >>> } >>> >>> function CWCInitializeMap() >>> { >>> parent::CWCInitializeMap(); >>> } >>> >>> function CWCLoadTemplate($szTemplateName) >>> { >>> $this->mszTemplate = implode("\n", file($szTemplateName)); >>> } >>>} >>> >>>$oApp = new test(); >>>$oApp->CWCInitialize( $szTemplate, $szMapFile ); >>>$oApp->CWCExecute(); ?> >>>------------------------------------------------------------------- >>> >>>_______________________________________________ >>>Chameleon mailing list >>>Chameleon@lists.maptools.org >>>http://lists.maptools.org/mailman/listinfo/chameleon >>> >> > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From dmorissette@dmsolutions.ca Tue Jun 1 22:48:39 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i522mVH8004713 for ; Tue, 1 Jun 2004 22:48:32 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i522mViM010967; Tue, 1 Jun 2004 22:48:31 -0400 Received: from dmsolutions.ca (gw.chic.digicom.qc.ca [207.96.191.254] (may be forged)) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i522mU3h029409 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 1 Jun 2004 22:48:31 -0400 Message-ID: <40BD3EF5.5070804@dmsolutions.ca> Date: Tue, 01 Jun 2004 22:44:05 -0400 From: Daniel Morissette User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl Subject: Re: [Chameleon] performance of drawmap.php References: <2576812186CDD411BF1500508B6DCE9507366EB6@ecnwri1.ontario.int.ec.gc.ca> <7266.212.238.227.182.1086102661.squirrel@webmail.xs4all.nl> <40BCC26B.7020708@dmsolutions.ca> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: dmorissette@dmsolutions.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2004 02:48:39 -0000 Bart van den Eijnden wrote: > > If we would use your example to determine the overhead caused by the WMS > client (downloading through Mapserver WMS client, compared to > downloading from the WMS server directly): > > (3.045-2.392)/3.045 = 20% > > I may be misinterpreting the data though ..... > > In my example I had 300 ms / 833 ms = 36% overhead (1 WMS layer, localhost) > I noticed that gap between the 2.392 and 3.045 numbers and to be honest I can't explain where it comes from. I would have to investigate further but I don't have time now. At least if you could see those logs on your own server you could get an idea of where the time is spent. -- ------------------------------------------------------------ Daniel Morissette dmorissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From bartvde@xs4all.nl Wed Jun 2 04:40:40 2004 Received: from smtp-out4.xs4all.nl (smtp-out4.xs4all.nl [194.109.24.5]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i528eRH8007272 for ; Wed, 2 Jun 2004 04:40:28 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out4.xs4all.nl (8.12.10/8.12.10) with SMTP id i528eK5Z025915; Wed, 2 Jun 2004 10:40:25 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Wed, 2 Jun 2004 10:40:26 +0200 (CEST) Message-ID: <4489.212.238.227.182.1086165626.squirrel@webmail.xs4all.nl> In-Reply-To: <11512.212.238.227.182.1086103089.squirrel@webmail.xs4all.nl> References: <11512.212.238.227.182.1086103089.squirrel@webmail.xs4all.nl> Date: Wed, 2 Jun 2004 10:40:26 +0200 (CEST) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org, marnix@geodan.nl User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Cc: Subject: [Chameleon] Re: EMBEDDED (revisited) X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2004 08:40:41 -0000 Found it, or at least think I found it :) The popup was using a lot of document.forms[0] statements, and ofcourse this is now referring to the main form in the template, i.e. to the wrong form. I will change all this to {$this->mszHTMLForm}. Do I need to set anything else Paul? Best regards, Bart > Hi Paul, > > We started trying the iframe option today but ran into some trouble for > which we cannot find the cause. > > This is the iframe we use in the HTML template: > > > Everything is loaded probably (except css and buttonized buttons), but all > things in the popup which use the session are empty strings (the popup > includes the session.inc though), e.g.: > > > > is resolved into: > > > > I hope you have some idea on what is causing this? > > Thanks in advance. > > Best regards, > Bart > From jpalmer@paradise.net.nz Wed Jun 2 04:49:38 2004 Received: from linda-1.paradise.net.nz (bm-1a.paradise.net.nz [202.0.58.20]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i528nUH8007365 for ; Wed, 2 Jun 2004 04:49:31 -0400 Received: from smtp-3.paradise.net.nz (smtp-3b.paradise.net.nz [202.0.32.212]) by linda-1.paradise.net.nz (Paradise.net.nz) with ESMTP id <0HYO00MWJB6F1K@linda-1.paradise.net.nz> for chameleon@lists.maptools.org; Wed, 02 Jun 2004 20:49:28 +1200 (NZST) Received: from CREEPING (202-0-43-245.adsl.paradise.net.nz [202.0.43.245]) by smtp-3.paradise.net.nz (Postfix) with ESMTP id 2AC4AAE2CA; Wed, 02 Jun 2004 20:49:27 +1200 (NZST) Date: Wed, 02 Jun 2004 20:51:33 +1200 From: Jeremy Palmer Subject: RE: [Chameleon] Problems with query on postgis layer In-reply-to: To: bartvde@xs4all.nl Message-id: <20040602084927.2AC4AAE2CA@smtp-3.paradise.net.nz> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Thread-index: AcRIJXb1v7wKsyXXT4qXVYI7oASLZAAWABng X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: jpalmer@paradise.net.nz Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2004 08:49:39 -0000 Thanks, The creation of the index of the oid worked! It's a bit of pity about the second question. Oh well maybe the functionality will happen in the future. Much appreciated Jeremy -----Original Message----- From: Bart van den Eijnden [mailto:bartvde@xs4all.nl] Sent: Wednesday, 2 June 2004 10:10 a.m. To: spencer@dmsolutions.ca; Jeremy Palmer Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Problems with query on postgis layer Hi, Just checking, did you create an index on the oid field? That solved my problem, although I was experiencing a slow performance of 5 seconds instead of minutes :) create index top50_oid_idx on table (oid); With regard to your second question Jeremy, it is possible in theory, but not out of the box in Chameleon. This means an SLD (+ Filter) GetMap request would also have to be generated which would highlight the selected (clicked) feature. Best regards, Bart On Sun, 30 May 2004 10:07:11 -0400, Paul Spencer wrote: > Interesting that you bring this up now :) We've got the same problem in > one of our client's apps. We will be investigating and hopefully fixing > the problem this week. The problem may be in either the chameleon code > or in how mapserver passes queries to the postgis engine, not sure > exactly where it is. > > I'll let the list know when we find the problem. > > Cheers, > > Paul > > Jeremy Palmer wrote: >> Hi everyone, >> >> Two questions: >> >> 1) I have a postgis polygon layer that is taking a long time query >> using >> the query widget. Layers in ESRI shape files seem very quick, however >> but >> the postgis layer takes a couple of minutes to return an answer. >> >> Here is my layer, it maps correctly: >> >> LAYER >> NAME "parcels" >> CONNECTIONTYPE postgis >> CONNECTION "user=postgres password=xxxx dbname=xxx host=localhost" >> DATA "shape from parcel" >> STATUS DEFAULT >> TYPE POLYGON >> DUMP true >> template "blank.html" >> MAXSCALE 20000 >> CLASS >> EXPRESSION ('[status]' eq 'CURR' and '[toc_code]' eq 'PRIM' and >> '[parcel_intent]' ne 'ROAD' and '[parcel_intent]' ne 'HYDR' ) >> NAME "CURR Parcels" >> OUTLINECOLOR 0 0 0 >> END >> CLASS >> EXPRESSION ('[status]' eq 'CURR' and '[toc_code]' eq 'PRIM' and >> '[parcel_intent]' eq 'ROAD') >> NAME "CURR Road Parcels" >> OUTLINECOLOR 0 0 0 >> COLOR 255 222 140 >> END >> >> CLASS >> EXPRESSION ('[status]' eq 'CURR' and '[toc_code]' eq 'PRIM' and >> '[parcel_intent]' eq 'HYDR') >> NAME "CURR Hydro Parcels" >> OUTLINECOLOR 0 0 0 >> COLOR 161 189 234 >> END >> END >> >> 2) When items are queried using the query widget is it possible to >> highlight the point/polygon on the map for the user? >> >> Thanks heaps >> >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > -- From matt.frost@mma1.com Wed Jun 2 11:08:22 2004 Received: from mail.mma1.com (mail.mma1.com [65.168.117.135]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i52F8C3l014302 for ; Wed, 2 Jun 2004 11:08:13 -0400 Received: by mail.mma1.com (Postfix, from userid 65534) id 51FCCC48BA; Wed, 2 Jun 2004 11:08:06 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.mma1.com (Postfix) with ESMTP id E4239C4BF9 for ; Wed, 2 Jun 2004 11:08:05 -0400 (EDT) Received: from [65.168.117.205] (unknown [65.168.117.205]) by mail.mma1.com (Postfix) with ESMTP id B0063C4843 for ; Wed, 2 Jun 2004 11:08:05 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v613) In-Reply-To: <200405311817.i4VIHJHA019842@www.maptools.org> References: <200405311817.i4VIHJHA019842@www.maptools.org> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Matt Frost Date: Wed, 2 Jun 2004 11:08:04 -0400 To: chameleon@lists.maptools.org X-Mailer: Apple Mail (2.613) X-Virus-Scanned: by AMaViS snapshot-20020531 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on mail.mma1.com X-Spam-Level: X-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: matt.frost@mma1.com Subject: [Chameleon] Same old install problem X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2004 15:08:22 -0000 Please forgive me for posting with this unoriginal problem - I held out as long as I could. I've just installed 1.99 on my laptop (Mac, Panther, Mapserver binary install from Serverlogistics.com) and I can't get any of the Chameleon demo pages to open. PHP seems to be working fine- I can drop an echo into chameleon.php, and it shows up in the browser. Trouble is, that's the only thing that shows up, even in the source code. What's the next likely troubleshooting step? Thanks, Matt Frost From bartvde@xs4all.nl Wed Jun 2 14:21:03 2004 Received: from smtp-out6.xs4all.nl (smtp-out6.xs4all.nl [194.109.24.7]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i52IKp3l016481 for ; Wed, 2 Jun 2004 14:20:52 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out6.xs4all.nl (8.12.10/8.12.10) with ESMTP id i52IKhew081080 for ; Wed, 2 Jun 2004 20:20:49 +0200 (CEST) Date: Wed, 02 Jun 2004 20:18:57 +0200 To: chameleon@lists.maptools.org Subject: Re: [Chameleon] Re: EMBEDDED (revisited) References: <11512.212.238.227.182.1086103089.squirrel@webmail.xs4all.nl> <4489.212.238.227.182.1086165626.squirrel@webmail.xs4all.nl> From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <4489.212.238.227.182.1086165626.squirrel@webmail.xs4all.nl> User-Agent: Opera7.23/Win32 M2 build 3227 X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: bartvde@xs4all.nl List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2004 18:21:04 -0000 Final update on this one, if anybody in future wants to try this approach for embedding popup widgets: 1) I named my form (
) and made all references in the popup refer to this named form (instead of document.forms[0]) 2) I added the following to my application index.phtml just before the CWCExecute call: $oApp->setVar( 'gszCoreWebPath', $_SESSION['gszCoreWebPath'] ); $oApp->setVar( 'gszSessId', $GLOBALS['gszSessId'] ); 3) I added an iframe to my HTML template: 4) I set the src of the iframe at the end of the OnLoad function (of the body in the HTML template), because otherwise the session is locked: document.getElementById("catalogframe"). src = "[$gszCoreWebPath$]/widgets/GeoservicesCatalogSearch/CatalogSearchPopup.phtml?szCallbackFunc=catalogSearchCB&szWcasURL=http://grosserver:8080/deegreewcas/wcas&iMaxRecords=10&sid=[$gszSessId$]&bEmbedded=1"; 5) I also had to add the callback function to my template. 6) finally I implemented a widget attribute called EMBEDDED which will determine the state of the widget, e.g. when it is embedded I cannot use "opener" in js, but I have to use "parent". Also the close button is not very functional in the EMBEDDED mode, so I made this depend on the state as well. Conclusion: it seemed simpler than it turned out to be :) Best regards, Bart On Wed, 2 Jun 2004 10:40:26 +0200 (CEST), wrote: > Found it, or at least think I found it :) > > The popup was using a lot of document.forms[0] statements, and ofcourse > this is now referring to the main form in the template, i.e. to the wrong > form. > > I will change all this to {$this->mszHTMLForm}. Do I need to set anything > else Paul? > > Best regards, > Bart > >> Hi Paul, >> >> We started trying the iframe option today but ran into some trouble for >> which we cannot find the cause. >> >> This is the iframe we use in the HTML template: >> >> >> Everything is loaded probably (except css and buttonized buttons), but >> all >> things in the popup which use the session are empty strings (the popup >> includes the session.inc though), e.g.: >> >> >> >> is resolved into: >> >> >> >> I hope you have some idea on what is causing this? >> >> Thanks in advance. >> >> Best regards, >> Bart >> > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- From pagameba@magma.ca Wed Jun 2 15:12:07 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i52JC03l017309 for ; Wed, 2 Jun 2004 15:12:00 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i52JC0it021108; Wed, 2 Jun 2004 15:12:00 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i52JBvmr009251; Wed, 2 Jun 2004 15:12:00 -0400 Message-ID: <40BE2661.6000900@magma.ca> Date: Wed, 02 Jun 2004 15:11:29 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matt Frost Subject: Re: [Chameleon] Same old install problem References: <200405311817.i4VIHJHA019842@www.maptools.org> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: jacob.delfos@maunsell.com, chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2004 19:12:08 -0000 Matt and Jacob ... and probably others too ... this is likely not a problem with your configuration, at least, not directly. The short answer is that we have discovered that this problem occurs on systems that do not have PEAR installed with PHP. There is a fix (besides installing PEAR, which should not be required). The latest CVS version of chameleon has been patched and I prepared beta 2 today for internal testing, hopefully we should release it by the end of the week. In the mean time, if you are adventurous, you can apply the fix yourself by opening chameleon/htdocs/WidgetManager.php in your favourite text editor and modifying lines 29-31 that read as follows: if (@require_once 'PEAR/Registry.php') $GLOBALS['gbPear']=true; else and comment these three lines out by doing the following: //if (@require_once 'PEAR/Registry.php') // $GLOBALS['gbPear']=true; //else You MUST leave the next line as is $GLOBALS['gbPear']=false; I'd appreciate if one or both of you could try this and let me know if it fixes your problem. Cheers Paul Matt Frost wrote: > Please forgive me for posting with this unoriginal problem - I held out > as long as I could. > I've just installed 1.99 on my laptop (Mac, Panther, Mapserver binary > install from Serverlogistics.com) and I can't get any of the Chameleon > demo pages to open. PHP seems to be working fine- I can drop an echo > into chameleon.php, and it shows up in the browser. Trouble is, that's > the only thing that shows up, even in the source code. > > What's the next likely troubleshooting step? > > Thanks, > Matt Frost > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From jacob.delfos@maunsell.com Wed Jun 2 21:08:14 2004 Received: from aumel1gw001.maunsell.com (210-193-148-151.macquarie.net.au [210.193.148.151] (may be forged)) by www.maptools.org (8.12.5/8.12.5) with SMTP id i5317w3m019591 for ; Wed, 2 Jun 2004 21:08:02 -0400 Received: from aumel1ex001.mel.maunsell.com.au ([172.21.0.15]) by aumel1gw001.maunsell.com (SAVSMTP 3.1.3.37) with SMTP id M2004060311110522991 ; Thu, 03 Jun 2004 11:11:05 +1000 Received: by aumel1ex001.mel.maunsell.com.au with Internet Mail Service (5.5.2653.19) id ; Thu, 3 Jun 2004 11:07:44 +1000 Message-ID: From: "Delfos, Jacob" To: "'spencer@dmsolutions.ca'" , Matt Frost Subject: RE: [Chameleon] Same old install problem Date: Thu, 3 Jun 2004 11:05:27 +1000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: jacob.delfos@maunsell.com Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2004 01:08:14 -0000 Paul, Thanks for helping us work this out. Eventually I got it to work. But there's a few other things that need adjustment: - firstly, the correction that you suggested is necessary - in MapImageStatic.widget.php, the path on line 29 seems incorrect (PHP error). Me not being too PHP-literate, I only knew how to fix it by putting in the absolute path to MapImageWidget.widget.php (which fixed it). - to get the demo to work properly, the aliases suggested for Apache are not enough. The temporary paths for images and buttons are not in there. Also, the directory for these paths need to be manually created. It would probably be good if these (empty) directories were included in the MS4W package. Regards, Jacob -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: Thursday, 3 June 2004 3:11 AM To: Matt Frost Cc: chameleon@lists.maptools.org; jacob.delfos@maunsell.com Subject: Re: [Chameleon] Same old install problem Matt and Jacob ... and probably others too ... this is likely not a problem with your configuration, at least, not directly. The short answer is that we have discovered that this problem occurs on systems that do not have PEAR installed with PHP. There is a fix (besides installing PEAR, which should not be required). The latest CVS version of chameleon has been patched and I prepared beta 2 today for internal testing, hopefully we should release it by the end of the week. In the mean time, if you are adventurous, you can apply the fix yourself by opening chameleon/htdocs/WidgetManager.php in your favourite text editor and modifying lines 29-31 that read as follows: if (@require_once 'PEAR/Registry.php') $GLOBALS['gbPear']=true; else and comment these three lines out by doing the following: //if (@require_once 'PEAR/Registry.php') // $GLOBALS['gbPear']=true; //else You MUST leave the next line as is $GLOBALS['gbPear']=false; I'd appreciate if one or both of you could try this and let me know if it fixes your problem. Cheers Paul Matt Frost wrote: > Please forgive me for posting with this unoriginal problem - I held > out > as long as I could. > I've just installed 1.99 on my laptop (Mac, Panther, Mapserver binary > install from Serverlogistics.com) and I can't get any of the Chameleon > demo pages to open. PHP seems to be working fine- I can drop an echo > into chameleon.php, and it shows up in the browser. Trouble is, that's > the only thing that shows up, even in the source code. > > What's the next likely troubleshooting step? > > Thanks, > Matt Frost > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Wed Jun 2 21:51:33 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i531pO3l019920 for ; Wed, 2 Jun 2004 21:51:24 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i531pOBe031942; Wed, 2 Jun 2004 21:51:24 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i531pHsI002797; Wed, 2 Jun 2004 21:51:23 -0400 Message-ID: <40BE83F9.2010606@magma.ca> Date: Wed, 02 Jun 2004 21:50:49 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Delfos, Jacob" Subject: Re: [Chameleon] Same old install problem References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: Matt Frost , chameleon@lists.maptools.org, "'spencer@dmsolutions.ca'" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2004 01:51:33 -0000 Jacob, which template are you using? I wasn't aware that any of the samples were using MapImageStatic or MapImageWidget ... re the temporary paths, what paths was it configured for and what did you create/change to get it to work? Thanks for the hard work! Paul Delfos, Jacob wrote: > Paul, > > Thanks for helping us work this out. Eventually I got it to work. But > there's a few other things that need adjustment: > > - firstly, the correction that you suggested is necessary > - in MapImageStatic.widget.php, the path on line 29 seems incorrect (PHP > error). Me not being too PHP-literate, I only knew how to fix it by putting > in the absolute path to MapImageWidget.widget.php (which fixed it). > - to get the demo to work properly, the aliases suggested for Apache are not > enough. The temporary paths for images and buttons are not in there. Also, > the directory for these paths need to be manually created. It would probably > be good if these (empty) directories were included in the MS4W package. > > Regards, > > Jacob > > > -----Original Message----- > From: Paul Spencer [mailto:pagameba@magma.ca] > Sent: Thursday, 3 June 2004 3:11 AM > To: Matt Frost > Cc: chameleon@lists.maptools.org; jacob.delfos@maunsell.com > Subject: Re: [Chameleon] Same old install problem > > > Matt and Jacob ... and probably others too ... > > this is likely not a problem with your configuration, at least, not > directly. The short answer is that we have discovered that this problem > occurs on systems that do not have PEAR installed with PHP. > > There is a fix (besides installing PEAR, which should not be required). > The latest CVS version of chameleon has been patched and I prepared > beta 2 today for internal testing, hopefully we should release it by the > end of the week. > > In the mean time, if you are adventurous, you can apply the fix yourself > by opening chameleon/htdocs/WidgetManager.php in your favourite text > editor and modifying lines 29-31 that read as follows: > > if (@require_once 'PEAR/Registry.php') > $GLOBALS['gbPear']=true; > else > > and comment these three lines out by doing the following: > > //if (@require_once 'PEAR/Registry.php') > // $GLOBALS['gbPear']=true; > //else > > You MUST leave the next line as is > > $GLOBALS['gbPear']=false; > > I'd appreciate if one or both of you could try this and let me know if > it fixes your problem. > > Cheers > > Paul > > Matt Frost wrote: > > >>Please forgive me for posting with this unoriginal problem - I held >>out >>as long as I could. >>I've just installed 1.99 on my laptop (Mac, Panther, Mapserver binary >>install from Serverlogistics.com) and I can't get any of the Chameleon >>demo pages to open. PHP seems to be working fine- I can drop an echo >>into chameleon.php, and it shows up in the browser. Trouble is, that's >>the only thing that shows up, even in the source code. >> >>What's the next likely troubleshooting step? >> >>Thanks, >>Matt Frost >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From jacob.delfos@maunsell.com Thu Jun 3 03:45:55 2004 Received: from aumel1gw001.maunsell.com (aumail1.maunsell.com.au [210.193.148.151]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i537jb3m021699 for ; Thu, 3 Jun 2004 03:45:39 -0400 Received: from aumel1ex001.mel.maunsell.com.au ([172.21.0.15]) by aumel1gw001.maunsell.com (SAVSMTP 3.1.3.37) with SMTP id M2004060317493926816 for ; Thu, 03 Jun 2004 17:49:39 +1000 Received: by aumel1ex001.mel.maunsell.com.au with Internet Mail Service (5.5.2653.19) id ; Thu, 3 Jun 2004 17:46:17 +1000 Message-ID: From: "Delfos, Jacob" To: chameleon@lists.maptools.org Date: Thu, 3 Jun 2004 17:43:59 +1000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4493E.87F8DC50" X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: jacob.delfos@maunsell.com Subject: [Chameleon] Empty buttons X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2004 07:45:56 -0000 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C4493E.87F8DC50 Content-Type: text/plain; charset="iso-8859-1" Hi All, I have a problem with certain buttons, in the sense that their content doesn't show up. E.g. the compasspoint buttons, and the tab-sheet buttons. It works in the sample, but not in the site I set up myself. I checked all my paths, but I can't find anything. I suspect it has to do with a warning that PHP shows. Can someone explain this to me? [03-Jun-2004 15:39:19] PHP Warning: imagecreatefrompng(C:\chameleon\roe7\htdocs/skins/default/): failed to open stream: Permission denied in C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 412 [03-Jun-2004 15:39:19] PHP Warning: imagecolortransparent(): supplied argument is not a valid Image resource in C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 413 [03-Jun-2004 15:39:19] PHP Warning: imagesx(): supplied argument is not a valid Image resource in C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 414 [03-Jun-2004 15:39:19] PHP Warning: imagesy(): supplied argument is not a valid Image resource in C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 415 [03-Jun-2004 15:39:19] PHP Warning: imagecopy(): supplied argument is not a valid Image resource in C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 442 [03-Jun-2004 15:39:19] PHP Warning: imagedestroy(): supplied argument is not a valid Image resource in C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 447 JACOB DELFOS SPATIAL INFORMATION ANALYST Maunsell Australia Pty Ltd 629 Newcastle Street PO Box 81 Leederville 6902 Western Australia ABN 20 093 846 925 Tel + 61 8 9281 6185 Fax + 61 8 9281 6297 jacob.delfos@maunsell.com ------_=_NextPart_001_01C4493E.87F8DC50 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Empty buttons

Hi All,

I have a problem with certain buttons, = in the sense that their content doesn't show up. E.g. the compasspoint = buttons, and the tab-sheet buttons. It works in the sample, but not in = the site I set up myself. I checked all my paths, but I can't find = anything. I suspect it has to do with a warning that PHP shows. Can = someone explain this to me?

[03-Jun-2004 15:39:19] PHP = Warning:  = imagecreatefrompng(C:\chameleon\roe7\htdocs/skins/default/): failed to = open stream: Permission denied in = C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line = 412

[03-Jun-2004 15:39:19] PHP = Warning:  imagecolortransparent(): supplied argument is not a = valid Image resource in = C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line = 413

[03-Jun-2004 15:39:19] PHP = Warning:  imagesx(): supplied argument is not a valid Image = resource in C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php = on line 414

[03-Jun-2004 15:39:19] PHP = Warning:  imagesy(): supplied argument is not a valid Image = resource in C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php = on line 415

[03-Jun-2004 15:39:19] PHP = Warning:  imagecopy(): supplied argument is not a valid Image = resource in C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php = on line 442

[03-Jun-2004 15:39:19] PHP = Warning:  imagedestroy(): supplied argument is not a valid Image = resource in C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php = on line 447



JACOB DELFOS
SPATIAL INFORMATION ANALYST
Maunsell Australia = Pty Ltd
629 Newcastle Street
PO Box 81
Leederville 6902
Western Australia
ABN 20 093 846 925

Tel =A0=A0=A0=A0+ 61 8 9281 6185
Fax=A0=A0=A0 + 61 8 9281 6297
jacob.delfos@maunsell.com

------_=_NextPart_001_01C4493E.87F8DC50-- From bartvde@xs4all.nl Thu Jun 3 04:05:45 2004 Received: from smtp-out6.xs4all.nl (smtp-out6.xs4all.nl [194.109.24.7]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5385L3l022427 for ; Thu, 3 Jun 2004 04:05:21 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out6.xs4all.nl (8.12.10/8.12.10) with SMTP id i5385Kew067755 for ; Thu, 3 Jun 2004 10:05:20 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Thu, 3 Jun 2004 10:05:20 +0200 (CEST) Message-ID: <8322.212.238.227.182.1086249920.squirrel@webmail.xs4all.nl> Date: Thu, 3 Jun 2004 10:05:20 +0200 (CEST) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Subject: [Chameleon] adding a layer to an empty application X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2004 08:05:46 -0000 Hi list, we are trying to mimic the functionality present in geodata.gov website with Chameleon, and one of the things that is present there, is searching a catalog and viewing a selected layer in an empty web mapping viewer. That's why we have implemented the CatalogSearch widget embedded. I was thinking how this could be done in Chameleon. The thing that came to my mind was the LayerFeatures widget, but then again this will probably also get the WFS data instead of just opening a viewer with the correct WMS Layer. So maybe the best option is to customize the LayerFeatures widget. Is there anything out of the box for this in Chameleon, and if not, does anybody have some smart ideas on how this could be established? Thanks in advance. Best regards, Bart From jacob.delfos@maunsell.com Thu Jun 3 04:09:23 2004 Received: from aumel1gw001.maunsell.com (210-193-148-151.macquarie.net.au [210.193.148.151] (may be forged)) by www.maptools.org (8.12.5/8.12.5) with SMTP id i538993m022520 for ; Thu, 3 Jun 2004 04:09:11 -0400 Received: from aumel1ex001.mel.maunsell.com.au ([172.21.0.15]) by aumel1gw001.maunsell.com (SAVSMTP 3.1.3.37) with SMTP id M2004060318131226964 for ; Thu, 03 Jun 2004 18:13:12 +1000 Received: by aumel1ex001.mel.maunsell.com.au with Internet Mail Service (5.5.2653.19) id ; Thu, 3 Jun 2004 18:09:50 +1000 Message-ID: From: "Delfos, Jacob" To: chameleon@lists.maptools.org Date: Thu, 3 Jun 2004 18:07:29 +1000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C44941.D078DC20" X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: jacob.delfos@maunsell.com Subject: [Chameleon] mapDHTMLwidget occasionally fails X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2004 08:09:25 -0000 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C44941.D078DC20 Content-Type: text/plain; charset="iso-8859-1" Hi All, Occasionally I have the problem that instead of the mapimage, I get the red cross (explorer), or the broken image (mozilla). I am not certain what the cause for this is. I have only seen this happen since I started using Apache. IIS didn't not seem to suffer from this. It happens more frequently when the JPEG quality factor is higher (especially above '80'). It appears that part of the site runs ahead of itself. Is Apache trying to serve out the image before PHP started creating it? Is there anything in the configuration of Apache or PHP that I need to tweak? One point to note is that the server needs to do quite a bit of processing (ECW's and vector data). This happens in Chameleon 1.0.4 and 1.99 beta1. Regards, Jacob JACOB DELFOS SPATIAL INFORMATION ANALYST Maunsell Australia Pty Ltd 629 Newcastle Street PO Box 81 Leederville 6902 Western Australia ABN 20 093 846 925 Tel + 61 8 9281 6185 Fax + 61 8 9281 6297 jacob.delfos@maunsell.com ------_=_NextPart_001_01C44941.D078DC20 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable mapDHTMLwidget occasionally fails

Hi All,

Occasionally I have the problem that = instead of the mapimage, I get the red cross (explorer), or the broken = image (mozilla). I am not certain what the cause for this is. I have = only seen this happen since I started using Apache. IIS didn't not seem = to suffer from this. It happens more frequently when the JPEG quality = factor is higher (especially above '80').

It appears that part of the site runs = ahead of itself. Is Apache trying to serve out the image before PHP = started creating it? Is there anything in the configuration of Apache = or PHP that I need to tweak?

One point to note is that the server = needs to do quite a bit of processing (ECW's and vector data).

This happens in Chameleon 1.0.4 and = 1.99 beta1.

Regards,

Jacob


JACOB DELFOS
SPATIAL INFORMATION ANALYST
Maunsell Australia = Pty Ltd
629 Newcastle Street
PO Box 81
Leederville 6902
Western Australia
ABN 20 093 846 925

Tel =A0=A0=A0=A0+ 61 8 9281 6185
Fax=A0=A0=A0 + 61 8 9281 6297
jacob.delfos@maunsell.com

------_=_NextPart_001_01C44941.D078DC20-- From bartvde@xs4all.nl Thu Jun 3 04:10:50 2004 Received: from smtp-out5.xs4all.nl (smtp-out5.xs4all.nl [194.109.24.6]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i538AX3l022606 for ; Thu, 3 Jun 2004 04:10:33 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out5.xs4all.nl (8.12.10/8.12.10) with SMTP id i538AJUY033341; Thu, 3 Jun 2004 10:10:27 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Thu, 3 Jun 2004 10:10:32 +0200 (CEST) Message-ID: <23070.212.238.227.182.1086250232.squirrel@webmail.xs4all.nl> In-Reply-To: References: Date: Thu, 3 Jun 2004 10:10:32 +0200 (CEST) Subject: Re: [Chameleon] Empty buttons From: bartvde@xs4all.nl To: "Delfos, Jacob" User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2004 08:10:51 -0000 Hi Jacob, did you copy the skins/default folder into the htdocs directory of your application? This is the default skin used if no skin is registered in the app. The sample apps register a different skin in their index.phtml through: $oApp->registerSkin( 'skins/sample' ); Best regards, Bart > Hi All, > > I have a problem with certain buttons, in the sense that their content > doesn't show up. E.g. the compasspoint buttons, and the tab-sheet buttons. > It works in the sample, but not in the site I set up myself. I checked all > my paths, but I can't find anything. I suspect it has to do with a warning > that PHP shows. Can someone explain this to me? > > [03-Jun-2004 15:39:19] PHP Warning: > imagecreatefrompng(C:\chameleon\roe7\htdocs/skins/default/): failed to > open > stream: Permission denied in > C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 412 > [03-Jun-2004 15:39:19] PHP Warning: imagecolortransparent(): supplied > argument is not a valid Image resource in > C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 413 > [03-Jun-2004 15:39:19] PHP Warning: imagesx(): supplied argument is not a > valid Image resource in > C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 414 > [03-Jun-2004 15:39:19] PHP Warning: imagesy(): supplied argument is not a > valid Image resource in > C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 415 > [03-Jun-2004 15:39:19] PHP Warning: imagecopy(): supplied argument is not > a > valid Image resource in > C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 442 > [03-Jun-2004 15:39:19] PHP Warning: imagedestroy(): supplied argument is > not a valid Image resource in > C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 447 > > > > JACOB DELFOS > SPATIAL INFORMATION ANALYST > Maunsell Australia Pty Ltd > 629 Newcastle Street > PO Box 81 > Leederville 6902 > Western Australia > ABN 20 093 846 925 > > Tel + 61 8 9281 6185 > Fax + 61 8 9281 6297 > jacob.delfos@maunsell.com > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From jacob.delfos@maunsell.com Thu Jun 3 04:36:57 2004 Received: from aumel1gw001.maunsell.com (aumail1.maunsell.com.au [210.193.148.151]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i538ai3m023149 for ; Thu, 3 Jun 2004 04:36:45 -0400 Received: from aumel1ex001.mel.maunsell.com.au ([172.21.0.15]) by aumel1gw001.maunsell.com (SAVSMTP 3.1.3.37) with SMTP id M2004060318404727163 for ; Thu, 03 Jun 2004 18:40:47 +1000 Received: by aumel1ex001.mel.maunsell.com.au with Internet Mail Service (5.5.2653.19) id ; Thu, 3 Jun 2004 18:37:26 +1000 Message-ID: From: "Delfos, Jacob" To: chameleon@lists.maptools.org Subject: RE: [Chameleon] Empty buttons Date: Thu, 3 Jun 2004 18:35:01 +1000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: jacob.delfos@maunsell.com X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2004 08:36:58 -0000 Although it wasn't set correctly (sample, rather than default), changing it hasn't fixed the problem. The apache error suggests it is the buttenizer that cannot read the image in C:\chameleon\roe7\htdocs/skins/default/. Is it the slash and backslash problem? Why does it mix these? Thanks, Jacob -----Original Message----- From: bartvde@xs4all.nl [mailto:bartvde@xs4all.nl] Sent: Thursday, 3 June 2004 4:11 PM To: Delfos, Jacob Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Empty buttons Hi Jacob, did you copy the skins/default folder into the htdocs directory of your application? This is the default skin used if no skin is registered in the app. The sample apps register a different skin in their index.phtml through: $oApp->registerSkin( 'skins/sample' ); Best regards, Bart > Hi All, > > I have a problem with certain buttons, in the sense that their content > doesn't show up. E.g. the compasspoint buttons, and the tab-sheet > buttons. It works in the sample, but not in the site I set up myself. > I checked all my paths, but I can't find anything. I suspect it has to > do with a warning that PHP shows. Can someone explain this to me? > > [03-Jun-2004 15:39:19] PHP Warning: > imagecreatefrompng(C:\chameleon\roe7\htdocs/skins/default/): failed to > open > stream: Permission denied in > C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 412 > [03-Jun-2004 15:39:19] PHP Warning: imagecolortransparent(): supplied > argument is not a valid Image resource in > C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 413 > [03-Jun-2004 15:39:19] PHP Warning: imagesx(): supplied argument is > not a valid Image resource in > C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 414 > [03-Jun-2004 15:39:19] PHP Warning: imagesy(): supplied argument is > not a valid Image resource in > C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 415 > [03-Jun-2004 15:39:19] PHP Warning: imagecopy(): supplied argument is > not a valid Image resource in > C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 442 > [03-Jun-2004 15:39:19] PHP Warning: imagedestroy(): supplied argument is > not a valid Image resource in > C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 447 > > > > JACOB DELFOS > SPATIAL INFORMATION ANALYST > Maunsell Australia Pty Ltd > 629 Newcastle Street > PO Box 81 > Leederville 6902 > Western Australia > ABN 20 093 846 925 > > Tel + 61 8 9281 6185 > Fax + 61 8 9281 6297 > jacob.delfos@maunsell.com > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From jacob.delfos@maunsell.com Thu Jun 3 04:55:08 2004 Received: from aumel1gw001.maunsell.com (210-193-148-151.macquarie.net.au [210.193.148.151] (may be forged)) by www.maptools.org (8.12.5/8.12.5) with SMTP id i538so3m023254 for ; Thu, 3 Jun 2004 04:54:51 -0400 Received: from aumel1ex001.mel.maunsell.com.au ([172.21.0.15]) by aumel1gw001.maunsell.com (SAVSMTP 3.1.3.37) with SMTP id M2004060318585327280 for ; Thu, 03 Jun 2004 18:58:53 +1000 Received: by aumel1ex001.mel.maunsell.com.au with Internet Mail Service (5.5.2653.19) id ; Thu, 3 Jun 2004 18:55:31 +1000 Message-ID: From: "Delfos, Jacob" To: chameleon@lists.maptools.org Subject: RE: [Chameleon] Empty buttons - fixed Date: Thu, 3 Jun 2004 18:53:03 +1000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: jacob.delfos@maunsell.com X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2004 08:55:08 -0000 Sorry, it's fixed now. I didn't realize the sample templates made use of things that are not available in the default skin. Which one is better to use? The 'sample' skin? Instead of changing sample to default, I copied the 'sample' skin to my htdocs folder. Jacob -----Original Message----- From: Delfos, Jacob [mailto:jacob.delfos@maunsell.com] Sent: Thursday, 3 June 2004 4:35 PM To: chameleon@lists.maptools.org Subject: RE: [Chameleon] Empty buttons Although it wasn't set correctly (sample, rather than default), changing it hasn't fixed the problem. The apache error suggests it is the buttenizer that cannot read the image in C:\chameleon\roe7\htdocs/skins/default/. Is it the slash and backslash problem? Why does it mix these? Thanks, Jacob -----Original Message----- From: bartvde@xs4all.nl [mailto:bartvde@xs4all.nl] Sent: Thursday, 3 June 2004 4:11 PM To: Delfos, Jacob Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Empty buttons Hi Jacob, did you copy the skins/default folder into the htdocs directory of your application? This is the default skin used if no skin is registered in the app. The sample apps register a different skin in their index.phtml through: $oApp->registerSkin( 'skins/sample' ); Best regards, Bart > Hi All, > > I have a problem with certain buttons, in the sense that their content > doesn't show up. E.g. the compasspoint buttons, and the tab-sheet > buttons. It works in the sample, but not in the site I set up myself. > I checked all my paths, but I can't find anything. I suspect it has to > do with a warning that PHP shows. Can someone explain this to me? > > [03-Jun-2004 15:39:19] PHP Warning: > imagecreatefrompng(C:\chameleon\roe7\htdocs/skins/default/): failed to > open > stream: Permission denied in > C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 412 > [03-Jun-2004 15:39:19] PHP Warning: imagecolortransparent(): supplied > argument is not a valid Image resource in > C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 413 > [03-Jun-2004 15:39:19] PHP Warning: imagesx(): supplied argument is > not a valid Image resource in > C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 414 > [03-Jun-2004 15:39:19] PHP Warning: imagesy(): supplied argument is > not a valid Image resource in > C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 415 > [03-Jun-2004 15:39:19] PHP Warning: imagecopy(): supplied argument is > not a valid Image resource in > C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 442 > [03-Jun-2004 15:39:19] PHP Warning: imagedestroy(): supplied argument is > not a valid Image resource in > C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 447 > > > > JACOB DELFOS > SPATIAL INFORMATION ANALYST > Maunsell Australia Pty Ltd > 629 Newcastle Street > PO Box 81 > Leederville 6902 > Western Australia > ABN 20 093 846 925 > > Tel + 61 8 9281 6185 > Fax + 61 8 9281 6297 > jacob.delfos@maunsell.com > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From pagameba@magma.ca Thu Jun 3 08:40:12 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i53Cdr3l024866 for ; Thu, 3 Jun 2004 08:39:53 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i53Cdq24009039; Thu, 3 Jun 2004 08:39:52 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i53CdnJ5003232; Thu, 3 Jun 2004 08:39:52 -0400 Message-ID: <40BF1BF9.20909@magma.ca> Date: Thu, 03 Jun 2004 08:39:21 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Delfos, Jacob" Subject: Re: [Chameleon] Empty buttons - fixed References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2004 12:40:14 -0000 Sorry, I missed commenting on most of this thread ... for some reason I didn't get the messages until late last night :( I'm glad you've got the problem resolved. There is a definite documentation issue here, but I also think that some useful error messages could be generated that would have pointed you in the right direction, I'll work on the error messages (bug 434). Documentation is underway but it'll be a while. Chameleon will search for images relative to the following locations: application path: the location of your index.phtml file chameleon path: the location of your chameleon.php file In addition, you can add search paths called 'skins' using the registerSkin function. So when it searches for an image, it will try to determine if the image is an absolute or relative path. If absolute, it will simply using it as-is. If relative, it will check all skin paths relative to the application path, then just relative to the application path, then all skin paths relative to the chameleon path, then the default skin distributed with chameleon, then relative to chameleon. So if you register two skins called 'skins/blue' and 'skins/red', and an image attribute refered to icons/icon_zoomin.png then the following would be searched: /skins/red/icons/icon_zoomin.png /skins/blue/icons/icon_zoomin.png /icons/icon_zoomin.png /skins/red/icons/icon_zoomin.png /skins/blue/icons/icon_zoomin.png /skins/default/icons/icon_zoomin.png /icons/icon_zoomin.png You don't need to register the default skin unless you have a copy of the default skin in your application and you want to use it before the default skin in chameleon. Once we have all this documented, the defacto standard for creating and naming images will be the conventions adopted for the default skin in chameleon. This would mean that you could re-skin your application by installing a new skin in your application (skins/myskin for instance) that had different images but all named the same as the default skin, and registering 'skins/myskin' in the application file. Oh, depending on the skin chosen, there may be some changes required to the style SharedResources (for automagically generated buttons ...) to accomodate different widths and fonts etc. I hope that every skin will be distributed with one or more example SharedResource snippets that can be dropped in with the skin. It is not necessary to maintain the same names, but it will be the way we do it for our skins to make our applications more standardized. We will be covering this in the advanced chameleon workshop at OSGIS for those attending. Cheers, Paul Delfos, Jacob wrote: > Sorry, it's fixed now. > > I didn't realize the sample templates made use of things that are not > available in the default skin. Which one is better to use? The 'sample' > skin? > Instead of changing sample to default, I copied the 'sample' skin to my > htdocs folder. > > Jacob > > -----Original Message----- > From: Delfos, Jacob [mailto:jacob.delfos@maunsell.com] > Sent: Thursday, 3 June 2004 4:35 PM > To: chameleon@lists.maptools.org > Subject: RE: [Chameleon] Empty buttons > > > Although it wasn't set correctly (sample, rather than default), changing it > hasn't fixed the problem. The apache error suggests it is the buttenizer > that cannot read the image in C:\chameleon\roe7\htdocs/skins/default/. Is it > the slash and backslash problem? Why does it mix these? > > Thanks, > > Jacob > > -----Original Message----- > From: bartvde@xs4all.nl [mailto:bartvde@xs4all.nl] > Sent: Thursday, 3 June 2004 4:11 PM > To: Delfos, Jacob > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Empty buttons > > > Hi Jacob, > > did you copy the skins/default folder into the htdocs directory of your > application? This is the default skin used if no skin is registered in the > app. > > The sample apps register a different skin in their index.phtml through: > $oApp->registerSkin( 'skins/sample' ); > > Best regards, > Bart > > >>Hi All, >> >>I have a problem with certain buttons, in the sense that their content >>doesn't show up. E.g. the compasspoint buttons, and the tab-sheet >>buttons. It works in the sample, but not in the site I set up myself. >>I checked all my paths, but I can't find anything. I suspect it has to >>do with a warning that PHP shows. Can someone explain this to me? >> >>[03-Jun-2004 15:39:19] PHP Warning: >>imagecreatefrompng(C:\chameleon\roe7\htdocs/skins/default/): failed to >>open >>stream: Permission denied in >>C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 412 >>[03-Jun-2004 15:39:19] PHP Warning: imagecolortransparent(): supplied >>argument is not a valid Image resource in >>C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 413 >>[03-Jun-2004 15:39:19] PHP Warning: imagesx(): supplied argument is >>not a valid Image resource in >>C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 414 >>[03-Jun-2004 15:39:19] PHP Warning: imagesy(): supplied argument is >>not a valid Image resource in >>C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 415 >>[03-Jun-2004 15:39:19] PHP Warning: imagecopy(): supplied argument is >>not a valid Image resource in >>C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 442 >>[03-Jun-2004 15:39:19] PHP Warning: imagedestroy(): supplied argument is >>not a valid Image resource in >>C:\chameleon\roe7\htdocs\common\buttonizer\buttonizer.php on line 447 >> >> >> >>JACOB DELFOS >>SPATIAL INFORMATION ANALYST >>Maunsell Australia Pty Ltd >>629 Newcastle Street >>PO Box 81 >>Leederville 6902 >>Western Australia >>ABN 20 093 846 925 >> >>Tel + 61 8 9281 6185 >>Fax + 61 8 9281 6297 >>jacob.delfos@maunsell.com >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Jun 3 08:48:45 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i53Cma3l025017 for ; Thu, 3 Jun 2004 08:48:36 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i53Cma5c006047; Thu, 3 Jun 2004 08:48:36 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i53CmX68004592; Thu, 3 Jun 2004 08:48:36 -0400 Message-ID: <40BF1E04.9090303@magma.ca> Date: Thu, 03 Jun 2004 08:48:04 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl Subject: Re: [Chameleon] adding a layer to an empty application References: <8322.212.238.227.182.1086249920.squirrel@webmail.xs4all.nl> In-Reply-To: <8322.212.238.227.182.1086249920.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2004 12:48:45 -0000 Bart, do you need full navigation of the selected layer or just an image? If just an image, you could use the same trick I used in the WMSBrowser, which is to request the image directly from the wms server. If you need more functionality, I would suggest building a small Chameleon app that does it, then building a widget to launch this app (as the WMSBrowser and SECTPopup widgets do). I am not sure if I understand all your requirements on this, perhaps I am leading you down the wrong path. We should chat about this at OSGIS, over a beer! Cheers, Paul bartvde@xs4all.nl wrote: > Hi list, > > we are trying to mimic the functionality present in geodata.gov website > with Chameleon, and one of the things that is present there, is searching > a catalog and viewing a selected layer in an empty web mapping viewer. > That's why we have implemented the CatalogSearch widget embedded. > > I was thinking how this could be done in Chameleon. The thing that came to > my mind was the LayerFeatures widget, but then again this will probably > also get the WFS data instead of just opening a viewer with the correct > WMS Layer. So maybe the best option is to customize the LayerFeatures > widget. > > Is there anything out of the box for this in Chameleon, and if not, does > anybody have some smart ideas on how this could be established? > > Thanks in advance. > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From bartvde@xs4all.nl Thu Jun 3 09:08:59 2004 Received: from smtp-out3.xs4all.nl (smtp-out3.xs4all.nl [194.109.24.13]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i53D8j3l025476 for ; Thu, 3 Jun 2004 09:08:45 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out3.xs4all.nl (8.12.10/8.12.10) with SMTP id i53D8cWa052066; Thu, 3 Jun 2004 15:08:39 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Thu, 3 Jun 2004 15:08:44 +0200 (CEST) Message-ID: <25412.212.238.227.182.1086268124.squirrel@webmail.xs4all.nl> In-Reply-To: <000a01c4496a$49cfe960$7c00a8c0@navgis> References: <11512.212.238.227.182.1086103089.squirrel@webmail.xs4all.nl><4489.212.238.227.182.1086165626.squirrel@webmail.xs4all.nl> <000a01c4496a$49cfe960$7c00a8c0@navgis> Date: Thu, 3 Jun 2004 15:08:44 +0200 (CEST) Subject: Re: [Chameleon] Re: EMBEDDED (revisited) From: bartvde@xs4all.nl To: "Aaron Griffin" User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: bartvde@xs4all.nl Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2004 13:08:59 -0000 Hi Aaron, I don't see any reason why this would not be possible for the Locate widget. Can you try and alert the src of the iframe with javascript at the end of the OnLoad function? Are the $gszSessId$ etc. values filled in by the application? Are you passing all the necessary parameters for the Locate widget? And are you using Chameleon 1.99? Best regards, Bart > Is it possible to do this for the locate widget? I tried to do this using > what you have provided, but all i get is a blank page? > > Aaron Griffin > > ----- Original Message ----- > From: "Bart van den Eijnden" > To: > Sent: Wednesday, June 02, 2004 2:18 PM > Subject: Re: [Chameleon] Re: EMBEDDED (revisited) > > >> Final update on this one, if anybody in future wants to try this >> approach >> for embedding popup widgets: >> >> 1) I named my form () and made all references in the >> popup refer to this named form (instead of document.forms[0]) >> >> 2) I added the following to my application index.phtml just before the >> CWCExecute call: >> >> $oApp->setVar( 'gszCoreWebPath', $_SESSION['gszCoreWebPath'] ); >> $oApp->setVar( 'gszSessId', $GLOBALS['gszSessId'] ); >> >> 3) I added an iframe to my HTML template: >> >> >> >> 4) I set the src of the iframe at the end of the OnLoad function (of the >> body in the HTML template), because otherwise the session is locked: >> >> document.getElementById("catalogframe"). src = >> > "[$gszCoreWebPath$]/widgets/GeoservicesCatalogSearch/CatalogSearchPopup.phtm > l?szCallbackFunc=catalogSearchCB&szWcasURL=http://grosserver:8080/deegreewca > s/wcas&iMaxRecords=10&sid=[$gszSessId$]&bEmbedded=1"; >> >> 5) I also had to add the callback function to my template. >> >> 6) finally I implemented a widget attribute called EMBEDDED which will >> determine the state of the widget, e.g. when it is embedded I cannot use >> "opener" in js, but I have to use "parent". Also the close button is not >> very functional in the EMBEDDED mode, so I made this depend on the state >> as well. >> >> Conclusion: it seemed simpler than it turned out to be :) >> >> Best regards, >> Bart >> >> On Wed, 2 Jun 2004 10:40:26 +0200 (CEST), wrote: >> >> > Found it, or at least think I found it :) >> > >> > The popup was using a lot of document.forms[0] statements, and >> ofcourse >> > this is now referring to the main form in the template, i.e. to the > wrong >> > form. >> > >> > I will change all this to {$this->mszHTMLForm}. Do I need to set > anything >> > else Paul? >> > >> > Best regards, >> > Bart >> > >> >> Hi Paul, >> >> >> >> We started trying the iframe option today but ran into some trouble >> for >> >> which we cannot find the cause. >> >> >> >> This is the iframe we use in the HTML template: >> >> >> >> >> >> E > verything is loaded probably (except css and buttonized buttons), but >> >> all >> >> things in the popup which use the session are empty strings (the >> popup >> >> includes the session.inc though), e.g.: >> >> >> >> >> >> >> >> is resolved into: >> >> >> >> >> >> >> >> I hope you have some idea on what is causing this? >> >> >> >> Thanks in advance. >> >> >> >> Best regards, >> >> Bart >> >> >> > >> > _______________________________________________ >> > Chameleon mailing list >> > Chameleon@lists.maptools.org >> > http://lists.maptools.org/mailman/listinfo/chameleon >> > >> >> >> >> -- >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > From Godwinl@AGR.GC.CA Thu Jun 3 09:27:15 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i53DR53l025704 for ; Thu, 3 Jun 2004 09:27:05 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i53DHR9a020381 for ; Thu, 3 Jun 2004 09:17:27 -0400 Received: from onncrxcn1.AGR.GC.CA ([10.117.15.130]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i53DOCho001700 for ; Thu, 3 Jun 2004 09:24:12 -0400 Received: from onncrxms2.AGR.GC.CA ([10.117.15.28]) by onncrxcn1.AGR.GC.CA with Microsoft SMTPSVC(5.0.2195.6713); Thu, 3 Jun 2004 09:26:16 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 3 Jun 2004 09:26:15 -0400 Message-ID: <482A7044F4DB2740884BAF6AFD7416092042AC@onncrxms2.agr.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Path to chameleon Thread-Index: AcRJaEYBXt2XvPgHRWqR0hOlLSZPhQAAqtJQ From: "Godwin, Liz" To: X-OriginalArrivalTime: 03 Jun 2004 13:26:16.0307 (UTC) FILETIME=[59162430:01C4496E] X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: godwinl@agr.gc.ca Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i53DR53l025704 Subject: [Chameleon] Path to chameleon X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2004 13:27:15 -0000 I have two installations of chameleon, in ms4w. One, the 1.99 beta release (path is /chameleon), the second a cvs version (/chameleon_cvs). I have an application that is pointing to the cvs version. However, all of the skinning is still going through /chameleon not /chameleon_cvs. Despite all this, my wait image is the only graphic element that appears not to be working. The buttonizer seems to pointing correctly as I have custom image icons in a custom skin in /chameleon_cvs. Ruler is pointing to /chameleon for ruler objects. Default stuff is also pointing to /chameleon My wait image is pointing to /chameleon, but doesn't find an image because it's looking for the aafc skins folder, which is rather in /chameleon_cvs. In my mind the paths be relative to the chameleon installation directory, not fixed as /chameleon. For now I have duplicates of everything. Liz. From pagameba@magma.ca Thu Jun 3 09:43:55 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i53Dhl3l025970 for ; Thu, 3 Jun 2004 09:43:47 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i53Dhkio004533; Thu, 3 Jun 2004 09:43:46 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i53DhgFq018589; Thu, 3 Jun 2004 09:43:46 -0400 Message-ID: <40BF2AF1.9090105@magma.ca> Date: Thu, 03 Jun 2004 09:43:13 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Godwin, Liz" Subject: Re: [Chameleon] Path to chameleon References: <482A7044F4DB2740884BAF6AFD7416092042AC@onncrxms2.agr.gc.ca> In-Reply-To: <482A7044F4DB2740884BAF6AFD7416092042AC@onncrxms2.agr.gc.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2004 13:43:55 -0000 Liz, I *think* this might be a configuration error, is it possible that your configuration file in chameleon_cvs points to /chameleon/??? Paul Godwin, Liz wrote: > I have two installations of chameleon, in ms4w. One, the 1.99 beta > release (path is /chameleon), the second a cvs version (/chameleon_cvs). > > I have an application that is pointing to the cvs version. However, all > of the skinning is still going through /chameleon not /chameleon_cvs. > Despite all this, my wait image is the only graphic element that appears > not to be working. > > The buttonizer seems to pointing correctly as I have custom image icons > in a custom skin in /chameleon_cvs. > Ruler is pointing to /chameleon for ruler objects. > Default stuff is also pointing to /chameleon > My wait image is pointing to /chameleon, but doesn't find an image > because it's looking for the aafc skins folder, which is rather in > /chameleon_cvs. > > In my mind the paths be relative to the chameleon installation > directory, not fixed as /chameleon. > > For now I have duplicates of everything. > > Liz. > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Godwinl@AGR.GC.CA Thu Jun 3 09:50:08 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i53Dnw3l026117 for ; Thu, 3 Jun 2004 09:49:58 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i53DeJ9a030595; Thu, 3 Jun 2004 09:40:19 -0400 Received: from onncrxcn1.AGR.GC.CA ([10.117.15.130]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i53Dl8ho022952; Thu, 3 Jun 2004 09:47:08 -0400 Received: from onncrxms2.AGR.GC.CA ([10.117.15.28]) by onncrxcn1.AGR.GC.CA with Microsoft SMTPSVC(5.0.2195.6713); Thu, 3 Jun 2004 09:49:11 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: [Chameleon] Path to chameleon Date: Thu, 3 Jun 2004 09:49:10 -0400 Message-ID: <482A7044F4DB2740884BAF6AFD7416092042AD@onncrxms2.agr.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Chameleon] Path to chameleon Thread-Index: AcRJcOLmkCyQXjq0QC2RuGPgSMNdngAAAfSQ From: "Godwin, Liz" To: X-OriginalArrivalTime: 03 Jun 2004 13:49:11.0985 (UTC) FILETIME=[8D0DF210:01C44971] X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: godwinl@agr.gc.ca Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i53Dnw3l026117 Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2004 13:50:08 -0000 Ooph! I didn't check that one. Don't I feel stupid. That worked. See...this is what I mean by people like me shouldn't post directly to bugzilla!! Especially before I've had my morning cup of tea! Cheers, Liz -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: June 3, 2004 9:43 AM To: Godwin, Liz Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Path to chameleon Liz, I *think* this might be a configuration error, is it possible that your configuration file in chameleon_cvs points to /chameleon/??? Paul Godwin, Liz wrote: > I have two installations of chameleon, in ms4w. One, the 1.99 beta > release (path is /chameleon), the second a cvs version > (/chameleon_cvs). > > I have an application that is pointing to the cvs version. However, > all of the skinning is still going through /chameleon not > /chameleon_cvs. Despite all this, my wait image is the only graphic > element that appears not to be working. > > The buttonizer seems to pointing correctly as I have custom image > icons in a custom skin in /chameleon_cvs. Ruler is pointing to > /chameleon for ruler objects. Default stuff is also pointing to > /chameleon My wait image is pointing to /chameleon, but doesn't find > an image because it's looking for the aafc skins folder, which is > rather in /chameleon_cvs. > > In my mind the paths be relative to the chameleon installation > directory, not fixed as /chameleon. > > For now I have duplicates of everything. > > Liz. > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Jun 3 09:51:25 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i53Dp83l026238 for ; Thu, 3 Jun 2004 09:51:08 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i53Dp8io009271; Thu, 3 Jun 2004 09:51:08 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i53Dp52S021804; Thu, 3 Jun 2004 09:51:07 -0400 Message-ID: <40BF2CAC.2070301@magma.ca> Date: Thu, 03 Jun 2004 09:50:36 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Delfos, Jacob" Subject: Re: [Chameleon] mapDHTMLwidget occasionally fails References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: pagameba@magma.ca Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2004 13:51:26 -0000 Jacob, is it possible that something is timing out? Does it take more than 30 seconds to render the image (seems unlikely). I've never seen this problem if it wasn't also associated with some other error like a layer failing to draw or something. If mapserver generates any warnings or errors, the image will typically be invalid. One way to test this is to right-click on the image and copy the image location into another browser tab/window and see if there are any mapserver error messages? If you are using Mozilla, you can also right-click on the page, view page info, click the media tab and find the image that refers to drawmap.php and use the URL from there (should be the same). Cheers, Paul Delfos, Jacob wrote: > Hi All, > > Occasionally I have the problem that instead of the mapimage, I get the > red cross (explorer), or the broken image (mozilla). I am not certain > what the cause for this is. I have only seen this happen since I started > using Apache. IIS didn't not seem to suffer from this. It happens more > frequently when the JPEG quality factor is higher (especially above '80'). > > It appears that part of the site runs ahead of itself. Is Apache trying > to serve out the image before PHP started creating it? Is there anything > in the configuration of Apache or PHP that I need to tweak? > > One point to note is that the server needs to do quite a bit of > processing (ECW's and vector data). > > This happens in Chameleon 1.0.4 and 1.99 beta1. > > Regards, > > Jacob > > > *JACOB DELFOS > SPATIAL INFORMATION ANALYST > *Maunsell Australia Pty Ltd > 629 Newcastle Street > PO Box 81 > Leederville 6902 > Western Australia > ABN 20 093 846 925 > > Tel + 61 8 9281 6185 > Fax + 61 8 9281 6297 > _jacob.delfos@maunsell.com_ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From jrivard@connect.carleton.ca Thu Jun 3 12:31:48 2004 Received: from connectmail.carleton.ca (connectmail.carleton.ca [134.117.2.12]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i53GVf3l028256 for ; Thu, 3 Jun 2004 12:31:41 -0400 Received: from connect (connect.carleton.ca [134.117.2.33]) by connectmail.carleton.ca (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with SMTP id <0HYQ000N0R8TXR@connectmail.carleton.ca> for chameleon@lists.maptools.org; Thu, 03 Jun 2004 12:31:41 -0400 (EDT) Date: Thu, 03 Jun 2004 12:31:39 -0400 (EDT) From: Joel Rivard To: chameleon@lists.maptools.org Message-id: <6939009.1086280299736.JavaMail.jrivard@connect.carleton.ca> MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT X-DMSolutions-MailScanner-Information: Please contact the ISP for more information X-DMSolutions-MailScanner: Found to be clean X-MailScanner-From: jrivard@connect.carleton.ca Subject: [Chameleon] Enhanced widget pack X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2004 16:31:48 -0000 Hi list, I'm using Chameleon 1.99 beta and running the Enhanced Widget Pack as a sample app. I've added my own map file to show some local data and was wondering how to add some info upon clicking on the themes in the legend. When I click on any given layer, it only gives me the "layer name" and "layer title". I'd like to add an abstract as well as an URL to the Metadata. I'm not sure if this feature has to be set in the mapfile or if its an XML file that is controling this. Can anybody point me in the right direction, Thanks, Joel From eric@gomoos.org Thu Jun 3 17:01:52 2004 Received: from mail.gomoos.org (www.gomoos.org [66.70.82.140]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i53L1qrc030545 for ; Thu, 3 Jun 2004 17:01:52 -0400 Received: from dot110.office.gomoos.org (rrcs-nys-24-97-59-226.biz.rr.com [24.97.59.226]) by mail.gomoos.org (8.12.8p2/8.12.8) with ESMTP id i53L1mZ8043563 for ; Thu, 3 Jun 2004 17:01:49 -0400 (EDT) (envelope-from eric@gomoos.org) From: Eric Bridger To: "chameleon@lists.maptools.org" Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 (1.0.3-4) Date: 03 Jun 2004 16:59:36 -0400 Message-Id: <1086296381.1780.72.camel@ubet.gomoos.org> Mime-Version: 1.0 X-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL,BAYES_00, TO_ADDRESS_EQ_REAL autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on peleg.gomoos.org Subject: [Chameleon] Test on Unix of 1.99 Install X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2004 21:01:53 -0000 Hi all. I'm brand new to Chameleon and it's been a couple of years since I've done any PHP programming so please bear with me. I installed the latest Chameleon 1.99 on a FreeBSD4.8 system. PHP Mapscript 4.2.0, PHP 4.3.6, Apache 1.3. I've got a couple of questions. 1. It's not clear how to test my install. Trying something from the IIS install wiki: http://localhost/cwc2/chameleon.php?TEMPLATE=demo.html&CONTEXT=gmap_context.xml gets me "No input file specified" Other urls I tried yeild blank pages. 2. The 1.99 distribution comes with a config/cwc2.xml and a cwc2-dist.xml file. I started with cwc2-dist.xml, copying it to cwc2.xml and editing it. It is filled with values like %CHAMELEON_WEB_PATH%, %TEMP_WEB_PATH%. Do these need to be replaced with the actual paths. The %..% reminds me of mapserver mapfile variables which are filled automatically base on the url. Leaving them as is and putting real paths in yeilded the same results. Thanks in advance. Eric From pagameba@magma.ca Thu Jun 3 17:45:24 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i53LjOrc030806 for ; Thu, 3 Jun 2004 17:45:24 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i53LjMUt027456; Thu, 3 Jun 2004 17:45:22 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i53LjBS4006513; Thu, 3 Jun 2004 17:45:21 -0400 Message-ID: <40BF9BCA.5050303@magma.ca> Date: Thu, 03 Jun 2004 17:44:42 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eric Bridger Subject: Re: [Chameleon] Test on Unix of 1.99 Install References: <1086296381.1780.72.camel@ubet.gomoos.org> In-Reply-To: <1086296381.1780.72.camel@ubet.gomoos.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: "chameleon@lists.maptools.org" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2004 21:45:25 -0000 Eric, this looks like a 1.0 way of doing things :) In the 1.99 way, you create a small php script (based on one of the samples perhaps?). You can set up some aliases in apache like this (the chameleon one must come last for this structure to work): Alias /chameleon/admin "/opt/chameleon/htdocs_admin" AllowOverride None Options Indexes FollowSymLinks Multiviews Order allow,deny Allow from all Alias /chameleon/docs "/opt/chameleon/docs/html" AllowOverride None Options Indexes FollowSymLinks Multiviews Order allow,deny Allow from all Alias /chameleon/samples "/opt/chameleon/samples/htdocs" AllowOverride None Options Indexes FollowSymLinks Multiviews Order allow,deny Allow from all Alias /chameleon "/opt/chameleon/htdocs" AllowOverride None Options Indexes FollowSymLinks Multiviews Order allow,deny Allow from all You will also need a tmp directory and a buttons directory. The samples are configured to expect /tmp/ms_tmp and /tmp/ms_tmp/buttons with an alias /ms_tmp/ pointing to /tmp/ms_tmp/ Then in your configuration file, you would put in the appropriate values. And finally, you could execute the sample apps by connecting to http://localhost/chameleon/samples/ And it should work! If it doesn't, I would suspect the configuration file first. Cheers, Paul Eric Bridger wrote: > Hi all. > > I'm brand new to Chameleon and it's been a couple of years since I've > done any PHP programming so please bear with me. > > I installed the latest Chameleon 1.99 on a FreeBSD4.8 system. PHP > Mapscript 4.2.0, PHP 4.3.6, Apache 1.3. I've got a couple of questions. > > 1. It's not clear how to test my install. Trying something from the IIS > install wiki: > > http://localhost/cwc2/chameleon.php?TEMPLATE=demo.html&CONTEXT=gmap_context.xml > > gets me "No input file specified" > > Other urls I tried yeild blank pages. > > 2. The 1.99 distribution comes with a config/cwc2.xml and a > cwc2-dist.xml file. I started with cwc2-dist.xml, copying it to > cwc2.xml and editing it. It is filled with values like > %CHAMELEON_WEB_PATH%, %TEMP_WEB_PATH%. Do these need to be replaced > with the actual paths. The %..% reminds me of mapserver mapfile > variables which are filled automatically base on the url. > > Leaving them as is and putting real paths in yeilded the same results. > > Thanks in advance. > > Eric > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From jacob.delfos@maunsell.com Thu Jun 3 21:42:46 2004 Received: from aumel1gw001.maunsell.com (210-193-148-151.macquarie.net.au [210.193.148.151] (may be forged)) by www.maptools.org (8.12.5/8.12.5) with SMTP id i541gird032130 for ; Thu, 3 Jun 2004 21:42:45 -0400 Received: from aumel1ex001.mel.maunsell.com.au ([172.21.0.15]) by aumel1gw001.maunsell.com (SAVSMTP 3.1.3.37) with SMTP id M2004060411463631806 ; Fri, 04 Jun 2004 11:46:36 +1000 Received: by aumel1ex001.mel.maunsell.com.au with Internet Mail Service (5.5.2653.19) id ; Fri, 4 Jun 2004 11:43:13 +1000 Message-ID: From: "Delfos, Jacob" To: "'spencer@dmsolutions.ca'" , "Delfos, Jacob" Subject: RE: [Chameleon] mapDHTMLwidget occasionally fails Date: Fri, 4 Jun 2004 11:40:55 +1000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2004 01:42:47 -0000 Actually, when it happens, it happens instantly (1 second). In other words, the failed-image occurs immediately as the image began loading. I have not seen it happen in Mapserver, only chameleon. It happens much more in explorer than Firefox/mozilla. With a JPEG quality of 100, it happens roughly about 1 in 10 times (depending on the mood of my computer). The URL is valid (if I understand correctly, the url to the image is pretty constant in each session anyway if the page is not resubmitted). If I try the URL in another browser, it usually shows up after a long time. It appears the 'session' is stuck on the server. In version 1.0.4, other images often don't show either on the first load of the page (compasspoints, etc.). Again, only with apache. I think it's just a matter of the browser requesting things from the php document that the server has not yet been able to create. Is there a way to make the server wait with serving the php page until certain elements have been created? Jacob -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: Thursday, 3 June 2004 9:51 PM To: Delfos, Jacob Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] mapDHTMLwidget occasionally fails Jacob, is it possible that something is timing out? Does it take more than 30 seconds to render the image (seems unlikely). I've never seen this problem if it wasn't also associated with some other error like a layer failing to draw or something. If mapserver generates any warnings or errors, the image will typically be invalid. One way to test this is to right-click on the image and copy the image location into another browser tab/window and see if there are any mapserver error messages? If you are using Mozilla, you can also right-click on the page, view page info, click the media tab and find the image that refers to drawmap.php and use the URL from there (should be the same). Cheers, Paul Delfos, Jacob wrote: > Hi All, > > Occasionally I have the problem that instead of the mapimage, I get > the > red cross (explorer), or the broken image (mozilla). I am not certain > what the cause for this is. I have only seen this happen since I started > using Apache. IIS didn't not seem to suffer from this. It happens more > frequently when the JPEG quality factor is higher (especially above '80'). > > It appears that part of the site runs ahead of itself. Is Apache > trying > to serve out the image before PHP started creating it? Is there anything > in the configuration of Apache or PHP that I need to tweak? > > One point to note is that the server needs to do quite a bit of > processing (ECW's and vector data). > > This happens in Chameleon 1.0.4 and 1.99 beta1. > > Regards, > > Jacob > > > *JACOB DELFOS > SPATIAL INFORMATION ANALYST > *Maunsell Australia Pty Ltd > 629 Newcastle Street > PO Box 81 > Leederville 6902 > Western Australia > ABN 20 093 846 925 > > Tel + 61 8 9281 6185 > Fax + 61 8 9281 6297 > _jacob.delfos@maunsell.com_ > > > ---------------------------------------------------------------------- > -- > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From bartvde@xs4all.nl Fri Jun 4 02:54:05 2004 Received: from smtp-out1.xs4all.nl (smtp-out1.xs4all.nl [194.109.24.11]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i546s5rc001118 for ; Fri, 4 Jun 2004 02:54:05 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out1.xs4all.nl (8.12.10/8.12.10) with ESMTP id i546rYZd036609; Fri, 4 Jun 2004 08:53:52 +0200 (CEST) To: griffin.watersheds.ca@mail2.storm.ca Subject: Re: [Chameleon] Re: EMBEDDED (revisited) References: <11512.212.238.227.182.1086103089.squirrel@webmail.xs4all.nl><4489.212.238.227.182.1086165626.squirrel@webmail.xs4all.nl> <000a01c4496a$49cfe960$7c00a8c0@navgis> <25412.212.238.227.182.1086268124.squirrel@webmail.xs4all.nl> <3032.206.172.105.28.1086315151.squirrel@206.172.105.28> Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Fri, 04 Jun 2004 08:51:47 +0200 In-Reply-To: <3032.206.172.105.28.1086315151.squirrel@206.172.105.28> User-Agent: Opera7.23/Win32 M2 build 3227 Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: bartvde@xs4all.nl List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2004 06:54:06 -0000 Hi Aaron, this is probably not the easiest thing to do as a first widget adaptation :) With the Locate widget, the popup is called Locate.phtml instead of LocatePopup.phtml. So you will probably have the following in your template (besides the actual iframe itself for which I assume an id="locateframe" in my example): This way you can see whether or not the [$ $] values are filled in by Chameleon. Best regards, Bart On Thu, 3 Jun 2004 22:12:31 -0400 (EDT), wrote: > This is my first attempt at changing a widget, i'm not really sure how to > find out about the $gszSessId$ and so on. I am using a pre-release of > the > 1.99 Beta release. Also, there is no locatePopup.phtml... does this > change the steps you would need to take to make this work? > > How do i alert the src of the iframe with javascript? > > Thanks for any help you can offer. > > Aaron. > >> Hi Aaron, >> >> I don't see any reason why this would not be possible for the Locate >> widget. >> >> Can you try and alert the src of the iframe with javascript at the end >> of >> the OnLoad function? Are the $gszSessId$ etc. values filled in by the >> application? Are you passing all the necessary parameters for the Locate >> widget? And are you using Chameleon 1.99? >> >> Best regards, >> Bart >> >>> Is it possible to do this for the locate widget? I tried to do this >>> using >>> what you have provided, but all i get is a blank page? >>> >>> Aaron Griffin >>> >>> ----- Original Message ----- >>> From: "Bart van den Eijnden" >>> To: >>> Sent: Wednesday, June 02, 2004 2:18 PM >>> Subject: Re: [Chameleon] Re: EMBEDDED (revisited) >>> >>> >>>> Final update on this one, if anybody in future wants to try this >>>> approach >>>> for embedding popup widgets: >>>> >>>> 1) I named my form () and made all references in >>>> the >>>> popup refer to this named form (instead of document.forms[0]) >>>> >>>> 2) I added the following to my application index.phtml just before the >>>> CWCExecute call: >>>> >>>> $oApp->setVar( 'gszCoreWebPath', $_SESSION['gszCoreWebPath'] ); >>>> $oApp->setVar( 'gszSessId', $GLOBALS['gszSessId'] ); >>>> >>>> 3) I added an iframe to my HTML template: >>>> >>>> >>>> >>>> 4) I set the src of the iframe at the end of the OnLoad function (of >>>> the >>>> body in the HTML template), because otherwise the session is locked: >>>> >>>> document.getElementById("catalogframe"). src = >>>> >>> "[$gszCoreWebPath$]/widgets/GeoservicesCatalogSearch/CatalogSearchPopup.phtm >>> l?szCallbackFunc=catalogSearchCB&szWcasURL=http://grosserver:8080/deegreewca >>> s/wcas&iMaxRecords=10&sid=[$gszSessId$]&bEmbedded=1"; >>>> >>>> 5) I also had to add the callback function to my template. >>>> >>>> 6) finally I implemented a widget attribute called EMBEDDED which will >>>> determine the state of the widget, e.g. when it is embedded I cannot >>>> use >>>> "opener" in js, but I have to use "parent". Also the close button is >>>> not >>>> very functional in the EMBEDDED mode, so I made this depend on the >>>> state >>>> as well. >>>> >>>> Conclusion: it seemed simpler than it turned out to be :) >>>> >>>> Best regards, >>>> Bart >>>> >>>> On Wed, 2 Jun 2004 10:40:26 +0200 (CEST), wrote: >>>> >>>> > Found it, or at least think I found it :) >>>> > >>>> > The popup was using a lot of document.forms[0] statements, and >>>> ofcourse >>>> > this is now referring to the main form in the template, i.e. to the >>> wrong >>>> > form. >>>> > >>>> > I will change all this to {$this->mszHTMLForm}. Do I need to set >>> anything >>>> > else Paul? >>>> > >>>> > Best regards, >>>> > Bart >>>> > >>>> >> Hi Paul, >>>> >> >>>> >> We started trying the iframe option today but ran into some trouble >>>> for >>>> >> which we cannot find the cause. >>>> >> >>>> >> This is the iframe we use in the HTML template: >>>> >> >>>> >> >>>> >> E >>> verything is loaded probably (except css and buttonized buttons), but >>>> >> all >>>> >> things in the popup which use the session are empty strings (the >>>> popup >>>> >> includes the session.inc though), e.g.: >>>> >> >>>> >> >>>> >> >>>> >> is resolved into: >>>> >> >>>> >> >>>> >> >>>> >> I hope you have some idea on what is causing this? >>>> >> >>>> >> Thanks in advance. >>>> >> >>>> >> Best regards, >>>> >> Bart >>>> >> >>>> > >>>> > _______________________________________________ >>>> > Chameleon mailing list >>>> > Chameleon@lists.maptools.org >>>> > http://lists.maptools.org/mailman/listinfo/chameleon >>>> > >>>> >>>> >>>> >>>> -- >>>> >>>> _______________________________________________ >>>> Chameleon mailing list >>>> Chameleon@lists.maptools.org >>>> http://lists.maptools.org/mailman/listinfo/chameleon >>>> >>> >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > > > -- From bartvde@xs4all.nl Fri Jun 4 03:59:32 2004 Received: from smtp-out1.xs4all.nl (smtp-out1.xs4all.nl [194.109.24.11]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i547xVrc001444 for ; Fri, 4 Jun 2004 03:59:32 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out1.xs4all.nl (8.12.10/8.12.10) with ESMTP id i547xUNn005410 for ; Fri, 4 Jun 2004 09:59:30 +0200 (CEST) Date: Fri, 04 Jun 2004 09:57:42 +0200 To: "chameleon@lists.maptools.org" From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera7.23/Win32 M2 build 3227 Subject: [Chameleon] GetFeature request X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: bartvde@xs4all.nl List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2004 07:59:33 -0000 Hi list, I was just logging the URL which gets sent to Mapserver WFS by the ExtractWFSData widget (in LayerAttributes.php) and there is one thing I don't understand. The functionality works and my download is correct (clipping of data which is partly inside my ROI), but when I paste the URL into a browser I get back an exception from Mapserver WFS that the filter is invalid. This is the URL that I logged: http://myserver/cgi-bin/mapserv.exe?map=/ms4w/apps/general/map/gemeentes.map&SERVICE=WFS&VERSION=1.0.0&TYPENAME=Gemeentes&request=getfeature&filter=%3CBBOX%3E%3CPropertyName%3EName%3C%2FPropertyName%3E%3Cgml%3ABox+srsName%3D%27EPSG%3A28992%27%3E%3Ccoordinates%3E129309.25000018402%2C476017.85714285716+193753.40178596403%2C524239.28571428574%3C%2Fcoordinates%3E%3C%2Fgml%3ABox%3E%3C%2FBBOX%3E When I do this in a browser, I get: msWFSGetFeature(): WFS server error. Invalid or Unsupported FILTER in GetFeature : Name129309.25000018402,476017.85714285716 193753.40178596403,524239.28571428574 Does this mean that PHP sends this request differently than a browser? Is this a problem with Mapserver WFS? Any ideas? Best regards, Bart From assefa@dmsolutions.ca Fri Jun 4 09:21:44 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i54DLhrc004428 for ; Fri, 4 Jun 2004 09:21:43 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i54DLcLt000836; Fri, 4 Jun 2004 09:21:38 -0400 Received: from dmsolutions.ca (modemcable117.163-202-24.mc.videotron.ca [24.202.163.117]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i54DLZXv006789; Fri, 4 Jun 2004 09:21:38 -0400 Message-ID: <40C07746.9070304@dmsolutions.ca> Date: Fri, 04 Jun 2004 09:21:10 -0400 From: Yewondwossen Assefa User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl Subject: Re: [Chameleon] GetFeature request References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: "chameleon@lists.maptools.org" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2004 13:21:44 -0000 You should normally add the and tags in your request. Later, Bart van den Eijnden wrote: > Hi list, > > I was just logging the URL which gets sent to Mapserver WFS by the > ExtractWFSData widget (in LayerAttributes.php) and there is one thing I > don't understand. The functionality works and my download is correct > (clipping of data which is partly inside my ROI), but when I paste the > URL into a browser I get back an exception from Mapserver WFS that the > filter is invalid. > > This is the URL that I logged: > > http://myserver/cgi-bin/mapserv.exe?map=/ms4w/apps/general/map/gemeentes.map&SERVICE=WFS&VERSION=1.0.0&TYPENAME=Gemeentes&request=getfeature&filter=%3CBBOX%3E%3CPropertyName%3EName%3C%2FPropertyName%3E%3Cgml%3ABox+srsName%3D%27EPSG%3A28992%27%3E%3Ccoordinates%3E129309.25000018402%2C476017.85714285716+193753.40178596403%2C524239.28571428574%3C%2Fcoordinates%3E%3C%2Fgml%3ABox%3E%3C%2FBBOX%3E > > > When I do this in a browser, I get: > > xmlns="http://www.opengis.net/ogc" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://www.opengis.net/ogc > http://ogc.dmsolutions.ca/wfs/1.0/OGC-exception.xsd"> > > msWFSGetFeature(): WFS server error. Invalid or Unsupported FILTER in > GetFeature : Name srsName='EPSG:28992'>129309.25000018402,476017.85714285716 > 193753.40178596403,524239.28571428574 > > > > Does this mean that PHP sends this request differently than a browser? > Is this a problem with Mapserver WFS? Any ideas? > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ---------------------------------------------------------------- Assefa Yewondwossen Software Analyst Email: assefa@dmsolutions.ca http://www.dmsolutions.ca/ Phone: (613) 565-5056 (ext 14) Fax: (613) 565-0925 ---------------------------------------------------------------- From dastolfo1@cogeco.ca Fri Jun 4 23:32:09 2004 Received: from fep1.cogeco.net (smtp.cogeco.net [216.221.81.25]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i553W9rc010371 for ; Fri, 4 Jun 2004 23:32:09 -0400 Received: from DGG (d141-153-10.home.cgocable.net [24.141.153.10]) by fep1.cogeco.net (Postfix) with ESMTP id 5C3655DAB for ; Fri, 4 Jun 2004 23:32:08 -0400 (EDT) From: "Dave Astolfo" To: Date: Fri, 4 Jun 2004 23:31:57 -0400 Message-ID: <000001c44aad$aaab09b0$3402a8c0@DGG> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal In-Reply-To: <482A7044F4DB2740884BAF6AFD7416092042AD@onncrxms2.agr.gc.ca> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Subject: [Chameleon] MapTips Widget X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2004 03:32:09 -0000 Hi All, Does anyone have sample code on how to get the MapTips Widget working? I tried it, but am not sure what the requirements are. I understand that a shared resource is needed? Are there changes required to the MAP file? If anyone has sample code, it would be appreciated. BTW - I tried adding the widget call and got the following error: Notice: Undefined index: height in c:\mapservertools\chameleon\htdocs\widgets\Button.php on line 570 The sample I used is here:
  Thanks, Dave From jfournier@dmsolutions.ca Sat Jun 5 10:25:37 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i55EPbrc014740 for ; Sat, 5 Jun 2004 10:25:37 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i55EPahg004675; Sat, 5 Jun 2004 10:25:36 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i55EPYt5013839; Sat, 5 Jun 2004 10:25:36 -0400 Message-ID: <40C1D862.3040805@dmsolutions.ca> Date: Sat, 05 Jun 2004 10:27:46 -0400 From: Jason Fournier User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dave Astolfo Subject: Re: [Chameleon] MapTips Widget References: <000001c44aad$aaab09b0$3402a8c0@DGG> In-Reply-To: <000001c44aad$aaab09b0$3402a8c0@DGG> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2004 14:25:37 -0000 Hi Dave, Which version of Chameleon are you using? I suggest downloading Chameleon 1.99 Beta (May 31, 2004) from MapTools (http://www.maptools.org/chameleon/index.phtml?page=downloads.html). The 'Enhanced' sample application gives a nice example of how MapTips works. Thanks, Jay Dave Astolfo wrote: >Hi All, > >Does anyone have sample code on how to get the MapTips Widget working? I >tried it, but am not sure what the requirements are. >I understand that a shared resource is needed? Are there changes >required to the MAP file? If anyone has sample code, it would be >appreciated. > >BTW - I tried adding the widget call and got the following error: > >Notice: Undefined index: height in >c:\mapservertools\chameleon\htdocs\widgets\Button.php on line 570 > >The sample I used is here: > >maptipsdiv="maptips_container" label="Map Tips" >styleresource="TextButton" popupstyleresource="TextButton" >popupwidth="500" popupheight="450" image="images/icon_maptips.png" >imagewidth="75"> > > > > >
style="position:relative;width:100%;height:75;background-color:#CCCCCC"> >
>   > > > >Thanks, > >Dave > > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > > -- ________________________ Jason Fournier Application Developer DM Solutions Group Inc. jfournier@dmsolutions.ca www.dmsolutions.ca 613.565.5056 x18 From dastolfo1@cogeco.ca Sat Jun 5 10:33:16 2004 Received: from fep1.cogeco.net (smtp.cogeco.net [216.221.81.25]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i55EXGrc014812 for ; Sat, 5 Jun 2004 10:33:16 -0400 Received: from DGG (d141-153-10.home.cgocable.net [24.141.153.10]) by fep1.cogeco.net (Postfix) with ESMTP id B7EAD59A2; Sat, 5 Jun 2004 10:33:15 -0400 (EDT) From: "Dave Astolfo" To: "'Jason Fournier'" Subject: RE: [Chameleon] MapTips Widget Date: Sat, 5 Jun 2004 10:32:58 -0400 Message-ID: <000001c44b0a$0673b920$3402a8c0@DGG> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <40C1D862.3040805@dmsolutions.ca> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2004 14:33:17 -0000 Hi Jason, Sorry, forgot to mention that - I have the latest - V 1.99. Where is this enhanced sample version? Thx, Dave -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Jason Fournier Sent: Saturday, June 05, 2004 10:28 AM To: Dave Astolfo Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] MapTips Widget Hi Dave, Which version of Chameleon are you using? I suggest downloading Chameleon 1.99 Beta (May 31, 2004) from MapTools (http://www.maptools.org/chameleon/index.phtml?page=downloads.html). The 'Enhanced' sample application gives a nice example of how MapTips works. Thanks, Jay Dave Astolfo wrote: >Hi All, > >Does anyone have sample code on how to get the MapTips Widget working? >I tried it, but am not sure what the requirements are. I understand >that a shared resource is needed? Are there changes required to the MAP >file? If anyone has sample code, it would be appreciated. > >BTW - I tried adding the widget call and got the following error: > >Notice: Undefined index: height in >c:\mapservertools\chameleon\htdocs\widgets\Button.php on line 570 > >The sample I used is here: > >maptipsdiv="maptips_container" label="Map Tips" >styleresource="TextButton" popupstyleresource="TextButton" >popupwidth="500" popupheight="450" image="images/icon_maptips.png" >imagewidth="75"> > > > > >
style="position:relative;width:100%;height:75;background-color:#CCCCCC" >> >
>   > > > >Thanks, > >Dave > > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > > -- ________________________ Jason Fournier Application Developer DM Solutions Group Inc. jfournier@dmsolutions.ca www.dmsolutions.ca 613.565.5056 x18 _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From jfournier@dmsolutions.ca Sat Jun 5 10:45:53 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i55Ejrrc014884 for ; Sat, 5 Jun 2004 10:45:53 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i55EjqA0031558; Sat, 5 Jun 2004 10:45:52 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i55EjpFV009970; Sat, 5 Jun 2004 10:45:52 -0400 Message-ID: <40C1DD23.9070806@dmsolutions.ca> Date: Sat, 05 Jun 2004 10:48:03 -0400 From: Jason Fournier User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dave Astolfo Subject: Re: [Chameleon] MapTips Widget References: <000001c44b0a$0673b920$3402a8c0@DGG> In-Reply-To: <000001c44b0a$0673b920$3402a8c0@DGG> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2004 14:45:53 -0000 Dave, Under your Chameleon install there is a samples directory. In that directory are several example templates which showcase various widget packs. Assuming you are using Apache you can create an alias to conveniently view the sample index in your browser. Here is my conf file for Chameleon (note that I am using ms4w): Alias /chameleon/samples "/ms4w/apps/chameleon/samples/htdocs" AllowOverride None Options Indexes FollowSymLinks Multiviews Order allow,deny Allow from all Alias /chameleon/ "/ms4w/apps/chameleon/htdocs/" AllowOverride None Options Indexes FollowSymLinks Multiviews Order allow,deny Allow from all For IIS you would create a Virtual Directory pointing to /path/to/chameleon/samples. The indexes for each sample application are preconfigured to use the directory structure of Chameleon! Hitting http://localhost/chameleon/samples in your browser should take you to the samples index page. From there you can view and experiment with a number of Chameleon template configurations - both basic and advanced. Thanks, Jay Dave Astolfo wrote: >Hi Jason, > >Sorry, forgot to mention that - I have the latest - V 1.99. Where is >this enhanced sample version? > >Thx, > > >Dave > >-----Original Message----- >From: chameleon-bounces@lists.maptools.org >[mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Jason >Fournier >Sent: Saturday, June 05, 2004 10:28 AM >To: Dave Astolfo >Cc: chameleon@lists.maptools.org >Subject: Re: [Chameleon] MapTips Widget > > >Hi Dave, > >Which version of Chameleon are you using? > >I suggest downloading Chameleon 1.99 Beta (May 31, 2004) from MapTools >(http://www.maptools.org/chameleon/index.phtml?page=downloads.html). >The 'Enhanced' sample application gives a nice example of how MapTips >works. > >Thanks, >Jay > > > >Dave Astolfo wrote: > > > >>Hi All, >> >>Does anyone have sample code on how to get the MapTips Widget working? >>I tried it, but am not sure what the requirements are. I understand >>that a shared resource is needed? Are there changes required to the MAP >> >> > > > >>file? If anyone has sample code, it would be appreciated. >> >>BTW - I tried adding the widget call and got the following error: >> >>Notice: Undefined index: height in >>c:\mapservertools\chameleon\htdocs\widgets\Button.php on line 570 >> >>The sample I used is here: >> >>>maptipsdiv="maptips_container" label="Map Tips" >>styleresource="TextButton" popupstyleresource="TextButton" >>popupwidth="500" popupheight="450" image="images/icon_maptips.png" >>imagewidth="75"> >> >> >> >> >>
>style="position:relative;width:100%;height:75;background-color:#CCCCCC" >> >> >>
>>   >> >> >> >>Thanks, >> >>Dave >> >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> >> >> >> >> > > > -- ________________________ Jason Fournier Application Developer DM Solutions Group Inc. jfournier@dmsolutions.ca www.dmsolutions.ca 613.565.5056 x18 From darren_redfern2000@hotmail.com Sat Jun 5 10:51:02 2004 Received: from hotmail.com (bay17-f7.bay17.hotmail.com [64.4.43.57]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i55Ep1rc014929 for ; Sat, 5 Jun 2004 10:51:02 -0400 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 5 Jun 2004 07:39:05 -0700 Received: from 65.93.137.137 by by17fd.bay17.hotmail.msn.com with HTTP; Sat, 05 Jun 2004 14:39:04 GMT X-Originating-IP: [65.93.137.137] X-Originating-Email: [darren_redfern2000@hotmail.com] X-Sender: darren_redfern2000@hotmail.com From: "Darren Redfern" To: dastolfo1@cogeco.ca Subject: RE: [Chameleon] MapTips Widget Date: Sat, 05 Jun 2004 10:39:04 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 05 Jun 2004 14:39:05.0031 (UTC) FILETIME=[D9E00570:01C44B0A] Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2004 14:51:02 -0000 Hi Dave: Try in: C:\ms4w\apps\chameleon\samples\htdocs\sample_enhanced.html Darren >Hi Jason, > >Sorry, forgot to mention that - I have the latest - V 1.99. Where is >this enhanced sample version? > >Thx, > > >Dave > >-----Original Message----- >From: chameleon-bounces@lists.maptools.org >[mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Jason >Fournier >Sent: Saturday, June 05, 2004 10:28 AM >To: Dave Astolfo >Cc: chameleon@lists.maptools.org >Subject: Re: [Chameleon] MapTips Widget > > >Hi Dave, > >Which version of Chameleon are you using? > >I suggest downloading Chameleon 1.99 Beta (May 31, 2004) from MapTools >(http://www.maptools.org/chameleon/index.phtml?page=downloads.html). >The 'Enhanced' sample application gives a nice example of how MapTips >works. > >Thanks, >Jay > > > >Dave Astolfo wrote: > > >Hi All, > > > >Does anyone have sample code on how to get the MapTips Widget working? > >I tried it, but am not sure what the requirements are. I understand > >that a shared resource is needed? Are there changes required to the MAP > > >file? If anyone has sample code, it would be appreciated. > > > >BTW - I tried adding the widget call and got the following error: > > > >Notice: Undefined index: height in > >c:\mapservertools\chameleon\htdocs\widgets\Button.php on line 570 > > > >The sample I used is here: > > > > >maptipsdiv="maptips_container" label="Map Tips" > >styleresource="TextButton" popupstyleresource="TextButton" > >popupwidth="500" popupheight="450" image="images/icon_maptips.png" > >imagewidth="75"> > > > > > > > > > >
>style="position:relative;width:100%;height:75;background-color:#CCCCCC" > >> > >
> >   > > > > > > > >Thanks, > > > >Dave > > > > > >_______________________________________________ > >Chameleon mailing list > >Chameleon@lists.maptools.org > >http://lists.maptools.org/mailman/listinfo/chameleon > > > > > > > >-- >________________________ >Jason Fournier >Application Developer >DM Solutions Group Inc. >jfournier@dmsolutions.ca >www.dmsolutions.ca >613.565.5056 x18 > > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon From griffin.watersheds.ca@mail2.storm.ca Thu Jun 3 22:12:32 2004 Received: from mail2.storm.ca (mail2.storm.ca [204.187.144.18]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i542CWrc032432 for ; Thu, 3 Jun 2004 22:12:32 -0400 Received: from mail2.storm.ca (localhost [127.0.0.1]) by mail2.storm.ca (8.11.7+Sun/8.11.7) with ESMTP id i542CVq03180; Thu, 3 Jun 2004 22:12:31 -0400 (EDT) Received: from 206.172.105.28 (SquirrelMail authenticated user griffin.watersheds.ca); by mail2.storm.ca with HTTP; Thu, 3 Jun 2004 22:12:31 -0400 (EDT) Message-ID: <3032.206.172.105.28.1086315151.squirrel@206.172.105.28> In-Reply-To: <25412.212.238.227.182.1086268124.squirrel@webmail.xs4all.nl> References: <11512.212.238.227.182.1086103089.squirrel@webmail.xs4all.nl><4489.212.238.227.182.1086165626.squirrel@webmail.xs4all.nl> <000a01c4496a$49cfe960$7c00a8c0@navgis> <25412.212.238.227.182.1086268124.squirrel@webmail.xs4all.nl> Date: Thu, 3 Jun 2004 22:12:31 -0400 (EDT) Subject: Re: [Chameleon] Re: EMBEDDED (revisited) From: griffin.watersheds.ca@mail2.storm.ca To: bartvde@xs4all.nl User-Agent: SquirrelMail/1.4.3-RC1 X-Mailer: SquirrelMail/1.4.3-RC1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Mailman-Approved-At: Sun, 06 Jun 2004 07:45:53 -0400 Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2004 02:12:33 -0000 This is my first attempt at changing a widget, i'm not really sure how to find out about the $gszSessId$ and so on. I am using a pre-release of the 1.99 Beta release. Also, there is no locatePopup.phtml... does this change the steps you would need to take to make this work? How do i alert the src of the iframe with javascript? Thanks for any help you can offer. Aaron. > Hi Aaron, > > I don't see any reason why this would not be possible for the Locate > widget. > > Can you try and alert the src of the iframe with javascript at the end of > the OnLoad function? Are the $gszSessId$ etc. values filled in by the > application? Are you passing all the necessary parameters for the Locate > widget? And are you using Chameleon 1.99? > > Best regards, > Bart > >> Is it possible to do this for the locate widget? I tried to do this >> using >> what you have provided, but all i get is a blank page? >> >> Aaron Griffin >> >> ----- Original Message ----- >> From: "Bart van den Eijnden" >> To: >> Sent: Wednesday, June 02, 2004 2:18 PM >> Subject: Re: [Chameleon] Re: EMBEDDED (revisited) >> >> >>> Final update on this one, if anybody in future wants to try this >>> approach >>> for embedding popup widgets: >>> >>> 1) I named my form () and made all references in >>> the >>> popup refer to this named form (instead of document.forms[0]) >>> >>> 2) I added the following to my application index.phtml just before the >>> CWCExecute call: >>> >>> $oApp->setVar( 'gszCoreWebPath', $_SESSION['gszCoreWebPath'] ); >>> $oApp->setVar( 'gszSessId', $GLOBALS['gszSessId'] ); >>> >>> 3) I added an iframe to my HTML template: >>> >>> >>> >>> 4) I set the src of the iframe at the end of the OnLoad function (of >>> the >>> body in the HTML template), because otherwise the session is locked: >>> >>> document.getElementById("catalogframe"). src = >>> >> "[$gszCoreWebPath$]/widgets/GeoservicesCatalogSearch/CatalogSearchPopup.phtm >> l?szCallbackFunc=catalogSearchCB&szWcasURL=http://grosserver:8080/deegreewca >> s/wcas&iMaxRecords=10&sid=[$gszSessId$]&bEmbedded=1"; >>> >>> 5) I also had to add the callback function to my template. >>> >>> 6) finally I implemented a widget attribute called EMBEDDED which will >>> determine the state of the widget, e.g. when it is embedded I cannot >>> use >>> "opener" in js, but I have to use "parent". Also the close button is >>> not >>> very functional in the EMBEDDED mode, so I made this depend on the >>> state >>> as well. >>> >>> Conclusion: it seemed simpler than it turned out to be :) >>> >>> Best regards, >>> Bart >>> >>> On Wed, 2 Jun 2004 10:40:26 +0200 (CEST), wrote: >>> >>> > Found it, or at least think I found it :) >>> > >>> > The popup was using a lot of document.forms[0] statements, and >>> ofcourse >>> > this is now referring to the main form in the template, i.e. to the >> wrong >>> > form. >>> > >>> > I will change all this to {$this->mszHTMLForm}. Do I need to set >> anything >>> > else Paul? >>> > >>> > Best regards, >>> > Bart >>> > >>> >> Hi Paul, >>> >> >>> >> We started trying the iframe option today but ran into some trouble >>> for >>> >> which we cannot find the cause. >>> >> >>> >> This is the iframe we use in the HTML template: >>> >> >>> >> >>> >> E >> verything is loaded probably (except css and buttonized buttons), but >>> >> all >>> >> things in the popup which use the session are empty strings (the >>> popup >>> >> includes the session.inc though), e.g.: >>> >> >>> >> >>> >> >>> >> is resolved into: >>> >> >>> >> >>> >> >>> >> I hope you have some idea on what is causing this? >>> >> >>> >> Thanks in advance. >>> >> >>> >> Best regards, >>> >> Bart >>> >> >>> > >>> > _______________________________________________ >>> > Chameleon mailing list >>> > Chameleon@lists.maptools.org >>> > http://lists.maptools.org/mailman/listinfo/chameleon >>> > >>> >>> >>> >>> -- >>> >>> _______________________________________________ >>> Chameleon mailing list >>> Chameleon@lists.maptools.org >>> http://lists.maptools.org/mailman/listinfo/chameleon >>> >> > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From dastolfo1@cogeco.ca Sun Jun 6 12:56:07 2004 Received: from fep1.cogeco.net (smtp.cogeco.net [216.221.81.25]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i56Gu4rc029980 for ; Sun, 6 Jun 2004 12:56:07 -0400 Received: from dgg (d141-153-10.home.cgocable.net [24.141.153.10]) by fep1.cogeco.net (Postfix) with ESMTP id 004A25C1E; Sun, 6 Jun 2004 12:56:03 -0400 (EDT) From: "Dave Astolfo" To: "'Jason Fournier'" Subject: RE: [Chameleon] MapTips Widget Date: Sun, 6 Jun 2004 12:55:58 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcRL5yPdexQV9zhqQ0epI/NT8/wxpQ== In-Reply-To: <40C1DD23.9070806@dmsolutions.ca> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Message-Id: <20040606165603.004A25C1E@fep1.cogeco.net> Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2004 16:56:07 -0000 Thanks Jason that did the trick... Dave -----Original Message----- From: Jason Fournier [mon, ailto:jfournier@dmsolutions.ca] Sent: Saturday, June 05, 2004 10:48 AM To: Dave AstolfoJas Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] MapTips Widget Dave, Under your Chameleon install there is a samples directory. In that directory are several example templates which showcase various widget packs. Assuming you are using Apache you can create an alias to conveniently view the sample index in your browser. Here is my conf file for Chameleon (note that I am using ms4w): Alias /chameleon/samples "/ms4w/apps/chameleon/samples/htdocs" AllowOverride None Options Indexes FollowSymLinks Multiviews Order allow,deny Allow from all Alias /chameleon/ "/ms4w/apps/chameleon/htdocs/" AllowOverride None Options Indexes FollowSymLinks Multiviews Order allow,deny Allow from all For IIS you would create a Virtual Directory pointing to /path/to/chameleon/samples. The indexes for each sample application are preconfigured to use the directory structure of Chameleon! Hitting http://localhost/chameleon/samples in your browser should take you to the samples index page. From there you can view and experiment with a number of Chameleon template configurations - both basic and advanced. Thanks, Jay Dave Astolfo wrote: >Hi Jason, > >Sorry, forgot to mention that - I have the latest - V 1.99. Where is >this enhanced sample version? > >Thx, > > >Dave > >-----Original Message----- >From: chameleon-bounces@lists.maptools.org >[mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Jason >Fournier >Sent: Saturday, June 05, 2004 10:28 AM >To: Dave Astolfo >Cc: chameleon@lists.maptools.org >Subject: Re: [Chameleon] MapTips Widget > > >Hi Dave, > >Which version of Chameleon are you using? > >I suggest downloading Chameleon 1.99 Beta (May 31, 2004) from MapTools >(http://www.maptools.org/chameleon/index.phtml?page=downloads.html). >The 'Enhanced' sample application gives a nice example of how MapTips >works. > >Thanks, >Jay > > > >Dave Astolfo wrote: > > > >>Hi All, >> >>Does anyone have sample code on how to get the MapTips Widget working? >>I tried it, but am not sure what the requirements are. I understand >>that a shared resource is needed? Are there changes required to the MAP >> >> > > > >>file? If anyone has sample code, it would be appreciated. >> >>BTW - I tried adding the widget call and got the following error: >> >>Notice: Undefined index: height in >>c:\mapservertools\chameleon\htdocs\widgets\Button.php on line 570 >> >>The sample I used is here: >> >>>maptipsdiv="maptips_container" label="Map Tips" >>styleresource="TextButton" popupstyleresource="TextButton" >>popupwidth="500" popupheight="450" image="images/icon_maptips.png" >>imagewidth="75"> >> >> >> >> >>
>style="position:relative;width:100%;height:75;background-color:#CCCCCC" >> >> >>
>>   >> >> >> >>Thanks, >> >>Dave >> >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> >> >> >> >> > > > -- ________________________ Jason Fournier Application Developer DM Solutions Group Inc. jfournier@dmsolutions.ca www.dmsolutions.ca 613.565.5056 x18 From griffin@watersheds.ca Mon Jun 7 08:59:38 2004 Received: from mail.storm.ca (mail.storm.ca [209.87.239.66]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i57Cxcrc004685 for ; Mon, 7 Jun 2004 08:59:38 -0400 Received: from navgis ([205.210.53.238]) by mail.storm.ca (8.11.7p1+Sun/8.11.7) with SMTP id i57CxP909424 for ; Mon, 7 Jun 2004 08:59:35 -0400 (EDT) Message-ID: <001101c44c8f$be93ad40$7c00a8c0@navgis> From: "Aaron Griffin" To: Date: Mon, 7 Jun 2004 09:02:40 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000E_01C44C6E.2FB4FB40" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Subject: [Chameleon] Attaching files to a map X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2004 12:59:39 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_000E_01C44C6E.2FB4FB40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Is it possible to attache files to map which the user can then click a = spot on the map and download/open the file? Aaron ------=_NextPart_000_000E_01C44C6E.2FB4FB40 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Is it possible to attache files = to map which=20 the user can then click a spot on the map and download/open the=20 file?
 
Aaron
------=_NextPart_000_000E_01C44C6E.2FB4FB40-- From pagameba@magma.ca Mon Jun 7 09:33:51 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i57DXprc004976 for ; Mon, 7 Jun 2004 09:33:51 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i57DXp84017944; Mon, 7 Jun 2004 09:33:51 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i57DXYqd019802; Mon, 7 Jun 2004 09:33:50 -0400 Message-ID: <40C46E8B.6010408@magma.ca> Date: Mon, 07 Jun 2004 09:32:59 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Aaron Griffin Subject: Re: [Chameleon] Attaching files to a map References: <001101c44c8f$be93ad40$7c00a8c0@navgis> In-Reply-To: <001101c44c8f$be93ad40$7c00a8c0@navgis> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2004 13:33:52 -0000 Aaron, you would start with the query widget and customize the interface ... Paul Aaron Griffin wrote: > Is it possible to attache files to map which the user can then click a > spot on the map and download/open the file? > > Aaron > > > ------------------------------------------------------------------------ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From jacob.delfos@maunsell.com Fri Jun 11 01:44:26 2004 Received: from aumel1gw001.maunsell.com (aumail1.maunsell.com.au [210.193.148.151]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i5B5iNrd003760 for ; Fri, 11 Jun 2004 01:44:25 -0400 Received: from aumel1ex001.mel.maunsell.com.au ([172.21.0.15]) by aumel1gw001.maunsell.com (SAVSMTP 3.1.3.37) with SMTP id M2004061115484118035 for ; Fri, 11 Jun 2004 15:48:41 +1000 Received: by aumel1ex001.mel.maunsell.com.au with Internet Mail Service (5.5.2653.19) id ; Fri, 11 Jun 2004 15:45:13 +1000 Message-ID: From: "Delfos, Jacob" To: chameleon@lists.maptools.org Date: Fri, 11 Jun 2004 15:42:44 +1000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C44F76.EB6904C0" Subject: [Chameleon] ECW not showing below certain scale X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jun 2004 05:44:26 -0000 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C44F76.EB6904C0 Content-Type: text/plain; charset="iso-8859-1" Hi All, I've been trying to set up my new 1.99 beta site, and ran into a little problem; when I zoom in quite far on the map (holding an ecw image), the map doesn't show up. It keeps trying to load, but nothing comes, suggesting it got stuck somewhere. CPU activity is initially at maximum for a few seconds (as normal when loading the map) but then drops while the map doesn't show (I'm loading the map in the browser on the server itself). I'm running the exact same mapfile in version 1.0.4 on the same server, without this problem. Of course the map takes quite a few seconds to show, which is normal when zooming close on an ECW, but it does show. I've tried this quite a few times in different browsers, but the map never shows at that scale when the ECW is in there. Has the mechanism to display the ECW changed? Regards, Jacob JACOB DELFOS SPATIAL INFORMATION ANALYST Maunsell Australia Pty Ltd 629 Newcastle Street PO Box 81 Leederville 6902 Western Australia ABN 20 093 846 925 Tel + 61 8 9281 6185 Fax + 61 8 9281 6297 jacob.delfos@maunsell.com ------_=_NextPart_001_01C44F76.EB6904C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable ECW not showing below certain scale

Hi All,

I've been trying to set up my new 1.99 = beta site, and ran into a little problem; when I zoom in quite far on = the map (holding an ecw image), the map doesn't show up. It keeps = trying to load, but nothing comes, suggesting it got stuck somewhere. = CPU activity is initially at maximum for a few seconds (as normal when = loading the map) but then drops while the map doesn't show (I'm loading = the map in the browser on the server itself).

I'm running the exact same mapfile in = version 1.0.4 on the same server, without this problem. Of course the = map takes quite a few seconds to show, which is normal when zooming = close on an ECW, but it does show.

I've tried this quite a few times in = different browsers, but the map never shows at that scale when the ECW = is in there. Has the mechanism to display the ECW changed?

Regards,

Jacob


JACOB DELFOS
SPATIAL INFORMATION ANALYST
Maunsell Australia = Pty Ltd
629 Newcastle Street
PO Box 81
Leederville 6902
Western Australia
ABN 20 093 846 925

Tel =A0=A0=A0=A0+ 61 8 9281 6185
Fax=A0=A0=A0 + 61 8 9281 6297
jacob.delfos@maunsell.com

------_=_NextPart_001_01C44F76.EB6904C0-- From pagameba@magma.ca Mon Jun 14 14:15:23 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5EIFMrc006334 for ; Mon, 14 Jun 2004 14:15:22 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i5EIFMo9029040; Mon, 14 Jun 2004 14:15:22 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i5EIFIsn017256; Mon, 14 Jun 2004 14:15:22 -0400 Message-ID: <40CDEB2A.1070603@magma.ca> Date: Mon, 14 Jun 2004 14:15:06 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Delfos, Jacob" Subject: Re: [Chameleon] ECW not showing below certain scale References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jun 2004 18:15:24 -0000 Jacob, AFAIK, nothing has changed regarding ECW support, at least not in Chameleon. This would really be something in MapServer I think, although it is possible that Chameleon is obscuring the error messages that you might otherwise see. Cheers, Paul Delfos, Jacob wrote: > Hi All, > > I've been trying to set up my new 1.99 beta site, and ran into a little > problem; when I zoom in quite far on the map (holding an ecw image), the > map doesn't show up. It keeps trying to load, but nothing comes, > suggesting it got stuck somewhere. CPU activity is initially at maximum > for a few seconds (as normal when loading the map) but then drops while > the map doesn't show (I'm loading the map in the browser on the server > itself). > > I'm running the exact same mapfile in version 1.0.4 on the same server, > without this problem. Of course the map takes quite a few seconds to > show, which is normal when zooming close on an ECW, but it does show. > > I've tried this quite a few times in different browsers, but the map > never shows at that scale when the ECW is in there. Has the mechanism to > display the ECW changed? > > Regards, > > Jacob > > > *JACOB DELFOS > SPATIAL INFORMATION ANALYST > *Maunsell Australia Pty Ltd > 629 Newcastle Street > PO Box 81 > Leederville 6902 > Western Australia > ABN 20 093 846 925 > > Tel + 61 8 9281 6185 > Fax + 61 8 9281 6297 > _jacob.delfos@maunsell.com_ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Mon Jun 14 14:24:40 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5EIOerc006380 for ; Mon, 14 Jun 2004 14:24:40 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i5EIOeo9008051; Mon, 14 Jun 2004 14:24:40 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i5EIOasn001050; Mon, 14 Jun 2004 14:24:40 -0400 Message-ID: <40CDED5E.3010500@magma.ca> Date: Mon, 14 Jun 2004 14:24:30 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Delfos, Jacob" Subject: Re: [Chameleon] mapDHTMLwidget occasionally fails References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jun 2004 18:24:41 -0000 The way things are structured right now, it would not be possible to delay the map draw without changing some code around. If you are brave, you can edit the MapDHTMLWidget.js file and modify the MapLayerDivOnLoad function ... this is called during the onload event of the page, but you could modify it to draw after some delay ... Paul Delfos, Jacob wrote: > Actually, when it happens, it happens instantly (1 second). In other words, > the failed-image occurs immediately as the image began loading. I have not > seen it happen in Mapserver, only chameleon. It happens much more in > explorer than Firefox/mozilla. With a JPEG quality of 100, it happens > roughly about 1 in 10 times (depending on the mood of my computer). > The URL is valid (if I understand correctly, the url to the image is pretty > constant in each session anyway if the page is not resubmitted). > If I try the URL in another browser, it usually shows up after a long time. > It appears the 'session' is stuck on the server. In version 1.0.4, other > images often don't show either on the first load of the page (compasspoints, > etc.). Again, only with apache. > I think it's just a matter of the browser requesting things from the php > document that the server has not yet been able to create. Is there a way to > make the server wait with serving the php page until certain elements have > been created? > > Jacob > > > > -----Original Message----- > From: Paul Spencer [mailto:pagameba@magma.ca] > Sent: Thursday, 3 June 2004 9:51 PM > To: Delfos, Jacob > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] mapDHTMLwidget occasionally fails > > > Jacob, > > is it possible that something is timing out? Does it take more than 30 > seconds to render the image (seems unlikely). > > I've never seen this problem if it wasn't also associated with some > other error like a layer failing to draw or something. If mapserver > generates any warnings or errors, the image will typically be invalid. > One way to test this is to right-click on the image and copy the image > location into another browser tab/window and see if there are any > mapserver error messages? If you are using Mozilla, you can also > right-click on the page, view page info, click the media tab and find > the image that refers to drawmap.php and use the URL from there (should > be the same). > > Cheers, > > Paul > > Delfos, Jacob wrote: > > >>Hi All, >> >>Occasionally I have the problem that instead of the mapimage, I get >>the >>red cross (explorer), or the broken image (mozilla). I am not certain >>what the cause for this is. I have only seen this happen since I started >>using Apache. IIS didn't not seem to suffer from this. It happens more >>frequently when the JPEG quality factor is higher (especially above '80'). >> >>It appears that part of the site runs ahead of itself. Is Apache >>trying >>to serve out the image before PHP started creating it? Is there anything >>in the configuration of Apache or PHP that I need to tweak? >> >>One point to note is that the server needs to do quite a bit of >>processing (ECW's and vector data). >> >>This happens in Chameleon 1.0.4 and 1.99 beta1. >> >>Regards, >> >>Jacob >> >> >>*JACOB DELFOS >>SPATIAL INFORMATION ANALYST >>*Maunsell Australia Pty Ltd >>629 Newcastle Street >>PO Box 81 >>Leederville 6902 >>Western Australia >>ABN 20 093 846 925 >> >>Tel + 61 8 9281 6185 >>Fax + 61 8 9281 6297 >>_jacob.delfos@maunsell.com_ >> >> >>---------------------------------------------------------------------- >>-- >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon > > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Mon Jun 14 16:34:55 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5EKYs3i007559 for ; Mon, 14 Jun 2004 16:34:55 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i5EKYrOP008911; Mon, 14 Jun 2004 16:34:53 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i5EKYoEE030748; Mon, 14 Jun 2004 16:34:52 -0400 Message-ID: <40CE0BE3.9060404@magma.ca> Date: Mon, 14 Jun 2004 16:34:43 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joel Rivard Subject: Re: [Chameleon] Enhanced widget pack References: <6939009.1086280299736.JavaMail.jrivard@connect.carleton.ca> In-Reply-To: <6939009.1086280299736.JavaMail.jrivard@connect.carleton.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jun 2004 20:34:55 -0000 Joel, The popup is provided by the LegendTemplate widget, the code for the popup is in chameleon/htdocs/widgets/LegendTemplate/LegendTemplate.phtml The popup was designed to show information about WMS layers. In particular, the abstract and metadata urls from WMS layers are normally recorded as metadata on the layer. I don't think the widget cares if the layer is WMS or not, but it will look specifically for: METADATA "wms_abstract" "the abstract for this layer" "wms_metadataurl" "not sure if this is right, check the WMS howto :)" END So the quick fix would be to modify your map file to add this information. If you are not happy with the layout, you could also edit this file to get exactly what you want. Cheers, Paul Joel Rivard wrote: > Hi list, > > I'm using Chameleon 1.99 beta and running the Enhanced Widget Pack as a > sample app. I've added my own map file to show some local data and was > wondering how to add some info upon clicking on the themes in the > legend. When I click on any given layer, it only gives me the "layer > name" and "layer title". I'd like to add an abstract as well as an URL > to the Metadata. I'm not sure if this feature has to be set in the > mapfile or if its an XML file that is controling this. > > Can anybody point me in the right direction, > > Thanks, > > Joel > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Mon Jun 14 16:36:29 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5EKaS3i007577 for ; Mon, 14 Jun 2004 16:36:29 -0400 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i5EKaSOP011019; Mon, 14 Jun 2004 16:36:28 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail1.magma.ca (8.12.10/8.12.9) with ESMTP id i5EKaPGd014196; Mon, 14 Jun 2004 16:36:28 -0400 Message-ID: <40CE0C43.9040307@magma.ca> Date: Mon, 14 Jun 2004 16:36:19 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matt Frost Subject: Re: [Chameleon] Same old install problem References: <200405311817.i4VIHJHA019842@www.maptools.org> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Zak James , chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jun 2004 20:36:29 -0000 Matt, if you till haven't figured this out, please ask Zak, our resident Mac guy :> Cheers, Paul Matt Frost wrote: > Please forgive me for posting with this unoriginal problem - I held out > as long as I could. > I've just installed 1.99 on my laptop (Mac, Panther, Mapserver binary > install from Serverlogistics.com) and I can't get any of the Chameleon > demo pages to open. PHP seems to be working fine- I can drop an echo > into chameleon.php, and it shows up in the browser. Trouble is, that's > the only thing that shows up, even in the source code. > > What's the next likely troubleshooting step? > > Thanks, > Matt Frost > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From wbronsema@dmsolutions.ca Tue Jun 15 07:59:28 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5FBxS3i013363 for ; Tue, 15 Jun 2004 07:59:28 -0400 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i5FBxR5P023452 for ; Tue, 15 Jun 2004 07:59:27 -0400 Received: from [127.0.0.1] (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail1.magma.ca (8.12.10/8.12.9) with ESMTP id i5FBxFGe026529 for ; Tue, 15 Jun 2004 07:59:27 -0400 Message-ID: <40CEE492.7090901@dmsolutions.ca> Date: Tue, 15 Jun 2004 07:59:14 -0400 From: "William A. Bronsema" Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: chameleon@lists.maptools.org Subject: Re: [Chameleon] save button in ExpressionBuilder References: <40C7C4A1.9000206@magma.ca> In-Reply-To: <40C7C4A1.9000206@magma.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: wbronsema@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jun 2004 11:59:28 -0000 I discussed this with Bart at the MUM2/OSGIS meeting, but for everyone's benefit: The save button was added to allow the current list of expressions to be saved as metadata to the "active layer" without having to apply a filter/expression. What I mean be this is that suppose the user has just created an extensive list of expressions for a particular layer and then needed to close the expression builder WITHOUT having to apply the filter/expression. The only options would have been to apply the filter/expression (which would save the expression list) or cancel (which would lose the list). By adding a save button, the user can create expressions without having to change the current filter or apply a new one. Make sense? Regards, Bill > Subject: > [Chameleon] save button in ExpressionBuilder > From: > bartvde@xs4all.nl > Date: > Tue, 1 Jun 2004 13:30:10 +0200 (CEST) > To: > chameleon@lists.maptools.org > > To: > chameleon@lists.maptools.org > > > Hi list, > > I still don't understand the meaning of the Save button in the > ExpressionBuilder. > > When I press it, the page is submitted but nothing happens. > > What is this button supposed to do, and I am missing any dependencies for > this in my template? > > I am using the 1.99 beta 1. > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- William A. Bronsema, C.E.T. Applications Developer, DM Solutions Group Inc. e-mail: wbronsema@dmsolutions.ca Web : http://www.dmsolutions.ca Phone : (613) 565-5056 ext.25 Fax : (613) 565-0925 ________________________________________________ From Godwinl@AGR.GC.CA Tue Jun 15 13:57:07 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5FHv63i016879 for ; Tue, 15 Jun 2004 13:57:06 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i5FHjlBB019105; Tue, 15 Jun 2004 13:45:47 -0400 Received: from onncrxcn1.AGR.GC.CA ([10.117.15.130]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i5FHqBDR023635; Tue, 15 Jun 2004 13:52:11 -0400 Received: from onncrxms2.AGR.GC.CA ([10.117.15.28]) by onncrxcn1.AGR.GC.CA with Microsoft SMTPSVC(5.0.2195.6713); Tue, 15 Jun 2004 13:54:40 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: [Chameleon] waitimage and button width Date: Tue, 15 Jun 2004 13:54:40 -0400 Message-ID: <482A7044F4DB2740884BAF6AFD7416092042CB@onncrxms2.agr.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Chameleon] waitimage and button width Thread-Index: AcRTAdS9ofC++36hTemTxFc+28WNqQ== From: "Godwin, Liz" To: , X-OriginalArrivalTime: 15 Jun 2004 17:54:40.0855 (UTC) FILETIME=[D51A2670:01C45301] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i5FHv63i016879 Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jun 2004 17:57:07 -0000 I'd like to revisit this... I have two templates English and French in my case. In the french one I have included a shared resource for a separate french text button styling, to account for longer button labels (I'm using skinned buttons). However, these shared resources are not used when the page is drawn, only the original shared resource is. What is going on here? What else is being cached? Liz Godwin -----Original Message----- From: pagameba@magma.ca [mailto:pagameba@magma.ca] Sent: May 10, 2004 7:52 AM To: pagameba@magma.ca; bartvde@xs4all.nl Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] waitimage and button width Bart, bartvde@xs4all.nl wrote: > Hi Paul (cc list), > > -- 1 -- > I found one difference between Chameleon 1.1 and 1.99 with regard to > the WaitImage. > > This is what I used to use: > waitimage="/chameleon_images/spinner_nl.gif" > waitimagewidth="246" waitimageheight="50"/> > > chameleon_images was an alias to chameleon/htdocs/images > > Now I have to use: > waitimagewidth="246" waitimageheight="50"/> > > Probably the same kind of change as with the popup.css ... yes this is probably the same problem. > > -- 2 -- > I have one issue with the button width, but this is not specific for > version 1.99 of Chameleon. > > When internationalizing a Chameleon application, some texts on the > buttons become significantly larger than in the English version, which > means I have to change the source code to provide a different width in > the MakeButton function. > > It would be great if something automagically could be arranged in > which buttons would estimate their width needed. But I know this will > be difficult if not impossible to implement because of font > differences etc. and it could mess up HTML layouts etc. > > But maybe something else could be invented so that this would not > involve changing source code. This makes things difficult to maintain. > > Any thoughts? we talked about this already, we were thinking of having a mechanism for wildcarding the widget (and posssibly height) to allow the button to stretch. The current thoughts are: width="*" - button is drawn just wide enough to accomodate the icon and text and padding width="100*" - the button is drawn at least 100 px wide but will be stretched to allow for longer text if required width="100" - the button is exactly 100 px regardless of text Same logic could probably be used for height I haven't investigated this yet. Cheers, Paul > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From Godwinl@AGR.GC.CA Tue Jun 15 14:49:39 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5FInc3i017352 for ; Tue, 15 Jun 2004 14:49:38 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i5FIcKBB005205; Tue, 15 Jun 2004 14:38:20 -0400 Received: from onncrxcn1.AGR.GC.CA ([10.117.15.130]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i5FIjmDR011572; Tue, 15 Jun 2004 14:45:48 -0400 Received: from onncrxms2.AGR.GC.CA ([10.117.15.28]) by onncrxcn1.AGR.GC.CA with Microsoft SMTPSVC(5.0.2195.6713); Tue, 15 Jun 2004 14:48:18 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: [Chameleon] waitimage and button width - SOLVED Date: Tue, 15 Jun 2004 14:48:17 -0400 Message-ID: <482A7044F4DB2740884BAF6AFD7416092042CC@onncrxms2.agr.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Chameleon] waitimage and button width - SOLVED Thread-Index: AcRTAdS9ofC++36hTemTxFc+28WNqQAB03zQ From: "Godwin, Liz" To: "Godwin, Liz" , , X-OriginalArrivalTime: 15 Jun 2004 18:48:18.0246 (UTC) FILETIME=[52D10E60:01C45309] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i5FInc3i017352 Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jun 2004 18:49:39 -0000 Ok. I found the imagewidth parameter. I solved my own problem. I had tried adding a "width" parameter" and it hadn't worked, so I posted. I think we should all start posting docs to the wiki :-) Liz -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Godwin, Liz Sent: June 15, 2004 1:55 PM To: pagameba@magma.ca; bartvde@xs4all.nl Cc: chameleon@lists.maptools.org Subject: RE: [Chameleon] waitimage and button width I'd like to revisit this... I have two templates English and French in my case. In the french one I have included a shared resource for a separate french text button styling, to account for longer button labels (I'm using skinned buttons). However, these shared resources are not used when the page is drawn, only the original shared resource is. What is going on here? What else is being cached? Liz Godwin -----Original Message----- From: pagameba@magma.ca [mailto:pagameba@magma.ca] Sent: May 10, 2004 7:52 AM To: pagameba@magma.ca; bartvde@xs4all.nl Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] waitimage and button width Bart, bartvde@xs4all.nl wrote: > Hi Paul (cc list), > > -- 1 -- > I found one difference between Chameleon 1.1 and 1.99 with regard to > the WaitImage. > > This is what I used to use: > waitimage="/chameleon_images/spinner_nl.gif" > waitimagewidth="246" waitimageheight="50"/> > > chameleon_images was an alias to chameleon/htdocs/images > > Now I have to use: > waitimagewidth="246" waitimageheight="50"/> > > Probably the same kind of change as with the popup.css ... yes this is probably the same problem. > > -- 2 -- > I have one issue with the button width, but this is not specific for > version 1.99 of Chameleon. > > When internationalizing a Chameleon application, some texts on the > buttons become significantly larger than in the English version, which > means I have to change the source code to provide a different width in > the MakeButton function. > > It would be great if something automagically could be arranged in > which buttons would estimate their width needed. But I know this will > be difficult if not impossible to implement because of font > differences etc. and it could mess up HTML layouts etc. > > But maybe something else could be invented so that this would not > involve changing source code. This makes things difficult to maintain. > > Any thoughts? we talked about this already, we were thinking of having a mechanism for wildcarding the widget (and posssibly height) to allow the button to stretch. The current thoughts are: width="*" - button is drawn just wide enough to accomodate the icon and text and padding width="100*" - the button is drawn at least 100 px wide but will be stretched to allow for longer text if required width="100" - the button is exactly 100 px regardless of text Same logic could probably be used for height I haven't investigated this yet. Cheers, Paul > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From ken@rockies.ca Wed Jun 16 12:34:54 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5GGYr3i025366 for ; Wed, 16 Jun 2004 12:34:54 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id wuqqeaaa for chameleon@lists.maptools.org; Wed, 16 Jun 2004 10:26:16 -0600 From: "Ken Sanderson" To: Date: Wed, 16 Jun 2004 10:41:52 -0600 Message-ID: <003c01c453c0$d67b7d60$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Importance: Normal Subject: [Chameleon] 1.99 Installation X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jun 2004 16:34:54 -0000 This is my first install of Chameleon and I have a few questions as I go through the process: 1) I am following the instructions in: CWC2_Installation.txt is this the right way to go? 2) It talks about installing geobase and the included files, which are not included in the 1.99 package. For 1.99 do I just direct things like default_template to a file in the samples folder? If so which file? 3) How many folders do we need to store data and whats the difference between them? Going through the config file to setup the parameters I was getting confused. My problem is as a new user I am not sure what certain 'terms' mean. For example given the list below, whats is cached capabilities? What are the context files and template files? server_data_path - This is where cached capabilities and other information, common to each session, should be. log_path - Directory in which to write log files. button_cache_path - Directory in which to write image files generated for buttons. tmp_img_path - Directory where temporary image files are put. context_root - Absolute root path to context files. All context should be in that folder (or sub folder). template_root - Absolute root path to template files. All template should be in that folder (or sub folder). Here is what I am thinking so far. Data is where I would put my GIS data and similar, using the data folder. Log path, just created a folder under cwc2 called 'logs'. Button and img path, I was just going to create one folder for both of these that's web accessable. No idea what to say for context and template roots? Thanks for the help, Ken From jrivard@connect.carleton.ca Wed Jun 16 13:36:43 2004 Received: from connectmail.carleton.ca (connectmail.carleton.ca [134.117.2.12]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5GHah3i025691 for ; Wed, 16 Jun 2004 13:36:43 -0400 Received: from connect (connect.carleton.ca [134.117.2.33]) by connectmail.carleton.ca (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with SMTP id <0HZE00FMCWX66W@connectmail.carleton.ca> for chameleon@lists.maptools.org; Wed, 16 Jun 2004 13:36:42 -0400 (EDT) Date: Wed, 16 Jun 2004 13:36:41 -0400 (EDT) From: Joel Rivard Subject: Re: [Chameleon] Enhanced widget pack To: chameleon@lists.maptools.org Message-id: <1783885.1087407401469.JavaMail.jrivard@connect.carleton.ca> MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jun 2004 17:36:43 -0000 Paul, I checked in the WMS HOW TO? documentation and found no WMS tags that displays the Metadata URL (the one you specified wasn't correct as you mentionned). I have found others that are proving to be useful for my application, but none that allowed me to show the Metadata URL. Does anybody know this WMS tag? Joel Paul Spencer wrote: >Joel, > >The popup is provided by the LegendTemplate widget, the code for the >popup is in chameleon/htdocs/widgets/LegendTemplate/LegendTemplate.phtml > >The popup was designed to show information about WMS layers. In >particular, the abstract and metadata urls from WMS layers are normally >recorded as metadata on the layer. I don't think the widget cares if >the layer is WMS or not, but it will look specifically for: > >METADATA > "wms_abstract" "the abstract for this layer" > "wms_metadataurl" "not sure if this is right, check the WMS howto :)" >END > >So the quick fix would be to modify your map file to add this >information. If you are not happy with the layout, you could also edit >this file to get exactly what you want. > >Cheers, > >Paul > >Joel Rivard wrote: > >> Hi list, >> >> I'm using Chameleon 1.99 beta and running the Enhanced Widget Pack as a >> sample app. I've added my own map file to show some local data and was >> wondering how to add some info upon clicking on the themes in the >> legend. When I click on any given layer, it only gives me the "layer >> name" and "layer title". I'd like to add an abstract as well as an URL >> to the Metadata. I'm not sure if this feature has to be set in the >> mapfile or if its an XML file that is controling this. >> >> Can anybody point me in the right direction, >> >> Thanks, >> >> Joel >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > >-- > ----------------------------------------------------------------- >|Paul Spencer pspencer@dmsolutions.ca | >|-----------------------------------------------------------------| >|Applications & Software Development | >|DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > From nicolas.fortin@ec.gc.ca Wed Jun 16 13:42:45 2004 Received: from ecstfexch00.quebec.int.ec.gc.ca (fwstl1-1.wul.qc.ec.gc.ca [205.211.132.24]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5GHgi3i025729 for ; Wed, 16 Jun 2004 13:42:45 -0400 Received: from ECQCSTFMAIL1.quebec.int.ec.gc.ca ([131.235.232.23]) by ecstfexch00.quebec.int.ec.gc.ca with Microsoft SMTPSVC(5.0.2195.6713); Wed, 16 Jun 2004 13:42:42 -0400 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: RE : [Chameleon] Enhanced widget pack X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Date: Wed, 16 Jun 2004 13:42:41 -0400 Message-ID: <118A9CF846431048B65C4AFB0E57C0ED037346@ECQCSTFMAIL1.quebec.int.ec.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Chameleon] Enhanced widget pack Thread-Index: AcRTyKNtQIc9HTAPT5q9kOsM0nzfJgAAGtyA From: "Fortin,Nicolas [SteFoy]" To: "Joel Rivard" , X-OriginalArrivalTime: 16 Jun 2004 17:42:42.0067 (UTC) FILETIME=[53158E30:01C453C9] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i5GHgi3i025729 Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jun 2004 17:42:45 -0000 Hi, I think those two should work: "wms_metadataurl_href" "the url here" "wms_metadataurl_format" "the metadata format" Regards, Nicolas -----Message d'origine----- De : chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] De la part de Joel Rivard Envoyé : Wednesday, June 16, 2004 1:37 PM À : chameleon@lists.maptools.org Objet : Re: [Chameleon] Enhanced widget pack Paul, I checked in the WMS HOW TO? documentation and found no WMS tags that displays the Metadata URL (the one you specified wasn't correct as you mentionned). I have found others that are proving to be useful for my application, but none that allowed me to show the Metadata URL. Does anybody know this WMS tag? Joel Paul Spencer wrote: >Joel, > >The popup is provided by the LegendTemplate widget, the code for the >popup is in chameleon/htdocs/widgets/LegendTemplate/LegendTemplate.phtml > >The popup was designed to show information about WMS layers. In >particular, the abstract and metadata urls from WMS layers are normally >recorded as metadata on the layer. I don't think the widget cares if >the layer is WMS or not, but it will look specifically for: > >METADATA > "wms_abstract" "the abstract for this layer" > "wms_metadataurl" "not sure if this is right, check the WMS howto >:)" END > >So the quick fix would be to modify your map file to add this >information. If you are not happy with the layout, you could also edit >this file to get exactly what you want. > >Cheers, > >Paul > >Joel Rivard wrote: > >> Hi list, >> >> I'm using Chameleon 1.99 beta and running the Enhanced Widget Pack as a >> sample app. I've added my own map file to show some local data and was >> wondering how to add some info upon clicking on the themes in the >> legend. When I click on any given layer, it only gives me the "layer >> name" and "layer title". I'd like to add an abstract as well as an URL >> to the Metadata. I'm not sure if this feature has to be set in the >> mapfile or if its an XML file that is controling this. >> >> Can anybody point me in the right direction, >> >> Thanks, >> >> Joel >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > >-- > ----------------------------------------------------------------- >|Paul Spencer pspencer@dmsolutions.ca | >|-----------------------------------------------------------------| >|Applications & Software Development | >|DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From Godwinl@AGR.GC.CA Wed Jun 16 14:30:52 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5GIUq3i026170 for ; Wed, 16 Jun 2004 14:30:52 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i5GIJPBB005802 for ; Wed, 16 Jun 2004 14:19:25 -0400 Received: from onncrxcn1.AGR.GC.CA ([10.117.15.130]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i5GIRRSM005356 for ; Wed, 16 Jun 2004 14:27:27 -0400 Received: from onncrxms2.AGR.GC.CA ([10.117.15.28]) by onncrxcn1.AGR.GC.CA with Microsoft SMTPSVC(5.0.2195.6713); Wed, 16 Jun 2004 14:29:58 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C453CF.EDAE2C4D" Date: Wed, 16 Jun 2004 14:29:58 -0400 Message-ID: <482A7044F4DB2740884BAF6AFD7416092042D9@onncrxms2.agr.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Language Thread-Index: AcRTz+2ciIkc667lTNGw/hLQ5oyIXg== From: "Godwin, Liz" To: X-OriginalArrivalTime: 16 Jun 2004 18:29:58.0660 (UTC) FILETIME=[EDD34C40:01C453CF] Subject: [Chameleon] Language X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jun 2004 18:30:53 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C453CF.EDAE2C4D Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable An observation has led me to approach dual language pages differently. Perhaps someone can point me in the right direction If there's a better way. =20 Original problem: When changing the language of a page, the legend stays in the original language, English in my case, because the map file/context doc is not changed, only the template. So I have an incomplete French page. I understand this, because right now... when the language is changed the map content stays the same, and all session info stored. =20 But I don't want to use bilingual layer titles/metadata/queries. =20 Plan A: bring up the page manually so I can call the french template/context file myself. =20 Problem: there seems to be no way to identify the language of a page. The "Language" widget...well..I don't know what this DOES other to state what other languages are available. For my purposes I don't see the point of this seeing as I have to load the language templates manually in the index.phtml file anyway. Anyway, if I can identify a template as english or french, (en-ca/fr-ca) then i was hoping chameleon would notice and apply the right language to my pop-up widgets. =20 =20 Thoughts...please help! =20 Liz Godwin ------_=_NextPart_001_01C453CF.EDAE2C4D Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message
An = observation has=20 led me to approach dual language pages differently.  Perhaps = someone can=20 point me in the right direction If there's a better = way.
 
Original=20 problem:  When changing the language of a page, the legend stays in = the=20 original language, English in my case, because the map file/context = doc is=20 not changed, only the template.  So I have an incomplete French = page. =20 I understand this, because right now... when the language is changed the = map=20 content stays the same, and all session info stored.
 
But I = don't=20 want to use bilingual layer = titles/metadata/queries.
 
Plan = A:  bring=20 up the page manually so I can call the french template/context file=20 myself.
 
Problem:  there=20 seems to be no way to identify the language of a page.  The = "Language"=20 widget...well..I don't know what this DOES other to state what other = languages=20 are available.  For my purposes I don't see the point of = this=20 seeing as I have to load the language templates manually in the = index.phtml file=20 anyway.  Anyway, if I can identify a template as english or french, = (en-ca/fr-ca) then i was hoping chameleon would notice and apply the = right=20 language to my pop-up widgets. 
 
Thoughts...please=20 help!
 
Liz=20 Godwin
------_=_NextPart_001_01C453CF.EDAE2C4D-- From pagameba@magma.ca Thu Jun 17 08:37:43 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5HCbg3i000493 for ; Thu, 17 Jun 2004 08:37:43 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i5HCbglt025012; Thu, 17 Jun 2004 08:37:42 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i5HCbb9q028512; Thu, 17 Jun 2004 08:37:42 -0400 Message-ID: <40D1908F.5070408@magma.ca> Date: Thu, 17 Jun 2004 08:37:35 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ken Sanderson Subject: Re: [Chameleon] 1.99 Installation References: <003c01c453c0$d67b7d60$31289f88@GLADSTONE> In-Reply-To: <003c01c453c0$d67b7d60$31289f88@GLADSTONE> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2004 12:37:43 -0000 Ken, sorry, the documentation is sorely out of date and is being actively worked on (well, maybe not this minute, but Real Soon Now ;)) answers inline ... Cheers, Paul Ken Sanderson wrote: > This is my first install of Chameleon and I have a few questions as I go > through the process: > > 1) I am following the instructions in: CWC2_Installation.txt is this the > right way to go? this is probably out of date. I'll try to take a look at it today and post an updated version on the list ... > 2) It talks about installing geobase and the included files, which are > not included in the 1.99 package. For 1.99 do I just direct things like > default_template to a file in the samples folder? If so which file? a lot of the configuration parameters actually have no meaning to the chameleon 1.99 package as it exists in the first beta. Things like default_template are specific to the operation of the Service Instance which is not in 1.99. In the cvs version (hopefully a 1.99 beta 2 will be released shortly), the configuration file has been split into two separate files, one for configuring chameleon and one for configuring the service instance (which will be in beta 2). The settings that are important to you are: web_server_path - the URL to chameleon, this can be http:///chameleon or just /chameleon/ mapscript_module - the mapscript module you are using, typically something like php_mapscript_42.dll or .so tmp_img_path - directory to store temp files in, like /tmp/ms_tmp/ tmp_web_path -URL to the above, typically /ms_tmp/ button_cache_path - a directory to store cached buttons, its temporary but should not be cleaned out regularly on a production server, typically /tmp/ms_tmp/buttons/ button_cache_web_path - URL to the above, typically /ms_tmp/buttons/ > > 3) How many folders do we need to store data and whats the difference > between them? Going through the config file to setup the parameters I > was getting confused. My problem is as a new user I am not sure what > certain 'terms' mean. For example given the list below, whats is cached > capabilities? What are the context files and template files? > > server_data_path - This is where cached capabilities and other > information, common to each session, should be. not required right now > log_path - Directory in which to write log files. no longer used, ignore > button_cache_path - Directory in which to write image files generated > for buttons. > tmp_img_path - Directory where temporary image files are put. both explained above > context_root - Absolute root path to context files. All context should > be in that folder (or sub folder). > template_root - Absolute root path to template files. All template > should be in that folder (or sub folder). these are specific to the service instance mode and can be ignored in your installation > > Here is what I am thinking so far. Data is where I would put my GIS data > and similar, using the data folder. Log path, just created a folder > under cwc2 called 'logs'. Button and img path, I was just going to > create one folder for both of these that's web accessable. No idea what > to say for context and template roots? > Anything that is in chameleon is for chameleon's use, not yours :) You can put your GIS data anywhere you like, you configure that on a per-application basis in the MAP file used for that application (shapepath). > Thanks for the help, > > Ken > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Jun 17 10:43:26 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5HEhN3i001462 for ; Thu, 17 Jun 2004 10:43:25 -0400 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i5HEhLfV029474; Thu, 17 Jun 2004 10:43:22 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail1.magma.ca (8.12.10/8.12.9) with ESMTP id i5HEhJGd025398; Thu, 17 Jun 2004 10:43:21 -0400 Message-ID: <40D1AE04.6090904@magma.ca> Date: Thu, 17 Jun 2004 10:43:16 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Godwin, Liz" Subject: Re: [Chameleon] Language References: <482A7044F4DB2740884BAF6AFD7416092042D9@onncrxms2.agr.gc.ca> In-Reply-To: <482A7044F4DB2740884BAF6AFD7416092042D9@onncrxms2.agr.gc.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2004 14:43:26 -0000 Liz, the correct(?) way, or at least the way I intended it to work, is to register templates for specific languages. Chameleon will then choose the correct template for the current language regardless of which template you call the CWCExecute function with ... The Language widget has no interface, it just provides a JavaScript function that you can call on your own to set the language. This function sets the current language and submits the page. The javascript function is setLanguage( szLanguageCode ) The form variable that tracks the current language is LANGUAGE This means that you can initialize your application in either English or French by: http:////index.phtml?LANGUAGE=en-CA http:////index.phtml?LANGUAGE=fr-CA regardless of what you put in the CWCExecute call ... Re: the legend template problem, I would suggest that you use two different legend templates in the two different application templates. They can be identical except for the metadata that they choose to display, and then you can place translations directly in the MAP file on a layer-by-layer basis in the metadata, for instance: "wms_title_en" "English Title" "wms_title_fr" "French Title" Godwin, Liz wrote: > An observation has led me to approach dual language pages differently. > Perhaps someone can point me in the right direction If there's a better way. > > Original problem: When changing the language of a page, the legend > stays in the original language, English in my case, because the map > file/context doc is not changed, only the template. So I have an > incomplete French page. I understand this, because right now... when > the language is changed the map content stays the same, and all session > info stored. > > But I don't want to use bilingual layer titles/metadata/queries. > > Plan A: bring up the page manually so I can call the french > template/context file myself. > > Problem: there seems to be no way to identify the language of a page. > The "Language" widget...well..I don't know what this DOES other to state > what other languages are available. For my purposes I don't see the > point of this seeing as I have to load the language templates manually > in the index.phtml file anyway. Anyway, if I can identify a template as > english or french, (en-ca/fr-ca) then i was hoping chameleon would > notice and apply the right language to my pop-up widgets. > > Thoughts...please help! > > Liz Godwin > > > ------------------------------------------------------------------------ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From jrivard@connect.carleton.ca Thu Jun 17 11:34:46 2004 Received: from connectmail.carleton.ca (connectmail.carleton.ca [134.117.2.12]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5HFYk3i001820 for ; Thu, 17 Jun 2004 11:34:46 -0400 Received: from connect (connect.carleton.ca [134.117.2.33]) by connectmail.carleton.ca (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with SMTP id <0HZG000K7LXYH3@connectmail.carleton.ca> for chameleon@lists.maptools.org; Thu, 17 Jun 2004 11:34:46 -0400 (EDT) Date: Thu, 17 Jun 2004 11:34:46 -0400 (EDT) From: Joel Rivard Subject: Re: RE : [Chameleon] Enhanced widget pack To: chameleon@lists.maptools.org Message-id: <4665571.1087486486130.JavaMail.jrivard@connect.carleton.ca> MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2004 15:34:47 -0000 Hi, Thanks Nicolas for the tag, it displays the url. Howerver, It displays the link as text and not an acutal link that you can simply click on. Is this because I am using local data instead of WMS? My second problem is changing the LegendTemplatePopup.phtml. When I click on a layer in the legend to access more info, I want to display only 4 criterias. Title Name: Abstract: Connection: Metadata URL: I am still getting used to some of the coding and can't seem to isolate the section that identifies what criteria to add to this popup. Can anybody point me in the right direction, Joel Fortin,Nicolas [SteFoy] wrote: > >Hi, I think those two should work: > > "wms_metadataurl_href" "the url here" > "wms_metadataurl_format" "the metadata format" > >Regards, > >Nicolas > >-----Message d'origine----- >De : chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] De la part de Joel Rivard >Envoy? : Wednesday, June 16, 2004 1:37 PM >? : chameleon@lists.maptools.org >Objet : Re: [Chameleon] Enhanced widget pack > > >Paul, > >I checked in the WMS HOW TO? documentation and found no WMS tags that >displays the Metadata URL (the one you specified wasn't correct as you >mentionned). I have found others that are proving to be useful for my >application, but none that allowed me to show the Metadata URL. > >Does anybody know this WMS tag? > >Joel > > >Paul Spencer wrote: > > >>Joel, >> >>The popup is provided by the LegendTemplate widget, the code for the >>popup is in chameleon/htdocs/widgets/LegendTemplate/LegendTemplate.phtml >> >>The popup was designed to show information about WMS layers. In >>particular, the abstract and metadata urls from WMS layers are normally >>recorded as metadata on the layer. I don't think the widget cares if >>the layer is WMS or not, but it will look specifically for: >> >>METADATA >> "wms_abstract" "the abstract for this layer" >> "wms_metadataurl" "not sure if this is right, check the WMS howto >>:)" END >> >>So the quick fix would be to modify your map file to add this >>information. If you are not happy with the layout, you could also edit >>this file to get exactly what you want. >> >>Cheers, >> >>Paul >> >>Joel Rivard wrote: >> >>> Hi list, >>> >>> I'm using Chameleon 1.99 beta and running the Enhanced Widget Pack as >a >>> sample app. I've added my own map file to show some local data and >was >>> wondering how to add some info upon clicking on the themes in the >>> legend. When I click on any given layer, it only gives me the "layer >>> name" and "layer title". I'd like to add an abstract as well as an >URL >>> to the Metadata. I'm not sure if this feature has to be set in the >>> mapfile or if its an XML file that is controling this. >>> >>> Can anybody point me in the right direction, >>> >>> Thanks, >>> >>> Joel >>> _______________________________________________ >>> Chameleon mailing list >>> Chameleon@lists.maptools.org >>> http://lists.maptools.org/mailman/listinfo/chameleon >>> >> >>-- >> ----------------------------------------------------------------- >>|Paul Spencer pspencer@dmsolutions.ca | >>|-----------------------------------------------------------------| >>|Applications & Software Development | >>|DM Solutions Group Inc http://www.dmsolutions.ca/| >> ----------------------------------------------------------------- >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon > From pagameba@magma.ca Thu Jun 17 11:43:26 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5HFhQ3i001927 for ; Thu, 17 Jun 2004 11:43:26 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i5HFhPKx003716; Thu, 17 Jun 2004 11:43:25 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i5HFhKQd018278; Thu, 17 Jun 2004 11:43:25 -0400 Message-ID: <40D1BC15.20201@magma.ca> Date: Thu, 17 Jun 2004 11:43:17 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joel Rivard Subject: Re: RE : [Chameleon] Enhanced widget pack References: <4665571.1087486486130.JavaMail.jrivard@connect.carleton.ca> In-Reply-To: <4665571.1087486486130.JavaMail.jrivard@connect.carleton.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2004 15:43:27 -0000 Joel, The file LegendTemplatePopup.phtml file is probably not the one you want, that file displays the legend template in a popup dialog. The file you want is the one that displays information about a layer when you click the layer name. This file is LegendInfo.phtml. Unfortunately, this starts to get a bit complicated. For historical reasons, this page doesn't actually display the information. It really comes from chameleon/htdocs/common/phpwms/layerinfo_body.phtml So you really need to modify this file instead. I just took a quick look in the file, it is kinda scary! There is a bunch of code at the top of the page to get the information about a layer, it does some scary stuff relating to cached inforamation coming from DBF files which has nothing to do with your situation. The real changes you will need to make start around line 312 with the opening tag. You'll need to scan this section looking for the s that display the information you don't want and removing those blocks. Next I would suggest that you could add a hyperlink to the metadata section right in here :> Cheers, Paul Joel Rivard wrote: > Hi, > > Thanks Nicolas for the tag, it displays the url. Howerver, It displays > the link as text and not an acutal link that you can simply click on. > Is this because I am using local data instead of WMS? > > My second problem is changing the LegendTemplatePopup.phtml. When I > click on a layer in the legend to access more info, I want to display > only 4 criterias. > > Title Name: > Abstract: > Connection: > Metadata URL: > > I am still getting used to some of the coding and can't seem to isolate > the section that identifies what criteria to add to this popup. > > Can anybody point me in the right direction, > > Joel > > > > > Fortin,Nicolas [SteFoy] wrote: > > > >>Hi, I think those two should work: >> >> "wms_metadataurl_href" "the url here" >> "wms_metadataurl_format" "the metadata format" >> >>Regards, >> >>Nicolas >> >>-----Message d'origine----- >>De : chameleon-bounces@lists.maptools.org > > [mailto:chameleon-bounces@lists.maptools.org] De la part de Joel Rivard > >>Envoy? : Wednesday, June 16, 2004 1:37 PM >>? : chameleon@lists.maptools.org >>Objet : Re: [Chameleon] Enhanced widget pack >> >> >>Paul, >> >>I checked in the WMS HOW TO? documentation and found no WMS tags that >>displays the Metadata URL (the one you specified wasn't correct as you >>mentionned). I have found others that are proving to be useful for my >>application, but none that allowed me to show the Metadata URL. >> >>Does anybody know this WMS tag? >> >>Joel >> >> >>Paul Spencer wrote: >> >> >> >>>Joel, >>> >>>The popup is provided by the LegendTemplate widget, the code for the >>>popup is in chameleon/htdocs/widgets/LegendTemplate/LegendTemplate.phtml >>> >>>The popup was designed to show information about WMS layers. In >>>particular, the abstract and metadata urls from WMS layers are normally >>>recorded as metadata on the layer. I don't think the widget cares if >>>the layer is WMS or not, but it will look specifically for: >>> >>>METADATA >>> "wms_abstract" "the abstract for this layer" >>> "wms_metadataurl" "not sure if this is right, check the WMS howto >>>:)" END >>> >>>So the quick fix would be to modify your map file to add this >>>information. If you are not happy with the layout, you could also edit >>>this file to get exactly what you want. >>> >>>Cheers, >>> >>>Paul >>> >>>Joel Rivard wrote: >>> >>> >>>>Hi list, >>>> >>>>I'm using Chameleon 1.99 beta and running the Enhanced Widget Pack as >> >>a >> >>>>sample app. I've added my own map file to show some local data and >> >>was >> >>>>wondering how to add some info upon clicking on the themes in the >>>>legend. When I click on any given layer, it only gives me the "layer >>>>name" and "layer title". I'd like to add an abstract as well as an >> >>URL >> >>>>to the Metadata. I'm not sure if this feature has to be set in the >>>>mapfile or if its an XML file that is controling this. >>>> >>>>Can anybody point me in the right direction, >>>> >>>>Thanks, >>>> >>>>Joel >>>>_______________________________________________ >>>>Chameleon mailing list >>>>Chameleon@lists.maptools.org >>>>http://lists.maptools.org/mailman/listinfo/chameleon >>>> >>> >>>-- >>> ----------------------------------------------------------------- >>>|Paul Spencer pspencer@dmsolutions.ca | >>>|-----------------------------------------------------------------| >>>|Applications & Software Development | >>>|DM Solutions Group Inc http://www.dmsolutions.ca/| >>> ----------------------------------------------------------------- >>> >>>_______________________________________________ >>>Chameleon mailing list >>>Chameleon@lists.maptools.org >>>http://lists.maptools.org/mailman/listinfo/chameleon >>> >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org > > http://lists.maptools.org/mailman/listinfo/chameleon > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From jrivard@connect.carleton.ca Thu Jun 17 14:18:50 2004 Received: from connectmail.carleton.ca (connectmail.carleton.ca [134.117.2.12]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5HIIo3i003053 for ; Thu, 17 Jun 2004 14:18:50 -0400 Received: from connect (connect.carleton.ca [134.117.2.33]) by connectmail.carleton.ca (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with SMTP id <0HZG000T8TJCH3@connectmail.carleton.ca> for chameleon@lists.maptools.org; Thu, 17 Jun 2004 14:18:48 -0400 (EDT) Date: Thu, 17 Jun 2004 14:18:48 -0400 (EDT) From: Joel Rivard Subject: Re: RE : [Chameleon] Enhanced widget pack To: chameleon@lists.maptools.org Message-id: <603920.1087496328665.JavaMail.jrivard@connect.carleton.ca> MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2004 18:18:50 -0000 Thanks Paul, It Worked like a charm. I now display the information that I want. I'm still not sure exactly where I am suppose to insert the hyperlink. I've played with it, but no luck. Below is the code of the section from the layerinfo_body.phtml. If you can better indicate the location, that would be great. Joel Paul Spencer wrote: >Joel, > >The file LegendTemplatePopup.phtml file is probably not the one you >want, that file displays the legend template in a popup dialog. The >file you want is the one that displays information about a layer when >you click the layer name. This file is LegendInfo.phtml. >Unfortunately, this starts to get a bit complicated. For historical >reasons, this page doesn't actually display the information. It really >comes from > >chameleon/htdocs/common/phpwms/layerinfo_body.phtml > >So you really need to modify this file instead. I just took a quick >look in the file, it is kinda scary! There is a bunch of code at the >top of the page to get the information about a layer, it does some scary >stuff relating to cached inforamation coming from DBF files which has >nothing to do with your situation. The real changes you will need to >make start around line 312 with the opening
get("45","METADATA URL")); ?>: '; } if ($szMetadataURL != "") { echo $szMetadataURL; } else { echo trim($oTmpMLT->get("46", "No MetadataURL available")); } if ($bLayerIsEditable) { echo '">'; } else { echo ""; } ?>
tag. You'll need to >scan this section looking for the s that display the information you >don't want and removing those blocks. Next I would suggest that you >could add a hyperlink to the metadata section right in here :> > >Cheers, > >Paul > >Joel Rivard wrote: > >> Hi, >> >> Thanks Nicolas for the tag, it displays the url. Howerver, It displays >> the link as text and not an acutal link that you can simply click on. >> Is this because I am using local data instead of WMS? >> >> My second problem is changing the LegendTemplatePopup.phtml. When I >> click on a layer in the legend to access more info, I want to display >> only 4 criterias. >> >> Title Name: >> Abstract: >> Connection: >> Metadata URL: >> >> I am still getting used to some of the coding and can't seem to isolate >> the section that identifies what criteria to add to this popup. >> >> Can anybody point me in the right direction, >> >> Joel >> >> >> >> >> Fortin,Nicolas [SteFoy] wrote: >> >> >> >>>Hi, I think those two should work: >>> >>> "wms_metadataurl_href" "the url here" >>> "wms_metadataurl_format" "the metadata format" >>> >>>Regards, >>> >>>Nicolas >>> >>>-----Message d'origine----- >>>De : chameleon-bounces@lists.maptools.org >> >> [mailto:chameleon-bounces@lists.maptools.org] De la part de Joel Rivard >> >>>Envoy? : Wednesday, June 16, 2004 1:37 PM >>>? : chameleon@lists.maptools.org >>>Objet : Re: [Chameleon] Enhanced widget pack >>> >>> >>>Paul, >>> >>>I checked in the WMS HOW TO? documentation and found no WMS tags that >>>displays the Metadata URL (the one you specified wasn't correct as you >>>mentionned). I have found others that are proving to be useful for my >>>application, but none that allowed me to show the Metadata URL. >>> >>>Does anybody know this WMS tag? >>> >>>Joel >>> >>> >>>Paul Spencer wrote: >>> >>> >>> >>>>Joel, >>>> >>>>The popup is provided by the LegendTemplate widget, the code for the >>>>popup is in chameleon/htdocs/widgets/LegendTemplate/LegendTemplate.phtml >>>> >>>>The popup was designed to show information about WMS layers. In >>>>particular, the abstract and metadata urls from WMS layers are normally >>>>recorded as metadata on the layer. I don't think the widget cares if >>>>the layer is WMS or not, but it will look specifically for: >>>> >>>>METADATA >>>> "wms_abstract" "the abstract for this layer" >>>> "wms_metadataurl" "not sure if this is right, check the WMS howto >>>>:)" END >>>> >>>>So the quick fix would be to modify your map file to add this >>>>information. If you are not happy with the layout, you could also edit >>>>this file to get exactly what you want. >>>> >>>>Cheers, >>>> >>>>Paul >>>> >>>>Joel Rivard wrote: >>>> >>>> >>>>>Hi list, >>>>> >>>>>I'm using Chameleon 1.99 beta and running the Enhanced Widget Pack as >>> >>>a >>> >>>>>sample app. I've added my own map file to show some local data and >>> >>>was >>> >>>>>wondering how to add some info upon clicking on the themes in the >>>>>legend. When I click on any given layer, it only gives me the "layer >>>>>name" and "layer title". I'd like to add an abstract as well as an >>> >>>URL >>> >>>>>to the Metadata. I'm not sure if this feature has to be set in the >>>>>mapfile or if its an XML file that is controling this. >>>>> >>>>>Can anybody point me in the right direction, >>>>> >>>>>Thanks, >>>>> >>>>>Joel >>>>>_______________________________________________ >>>>>Chameleon mailing list >>>>>Chameleon@lists.maptools.org >>>>>http://lists.maptools.org/mailman/listinfo/chameleon >>>>> >>>> >>>>-- >>>> ----------------------------------------------------------------- >>>>|Paul Spencer pspencer@dmsolutions.ca | >>>>|-----------------------------------------------------------------| >>>>|Applications & Software Development | >>>>|DM Solutions Group Inc http://www.dmsolutions.ca/| >>>> ----------------------------------------------------------------- >>>> >>>>_______________________________________________ >>>>Chameleon mailing list >>>>Chameleon@lists.maptools.org >>>>http://lists.maptools.org/mailman/listinfo/chameleon >>>> >>> >>>_______________________________________________ >>>Chameleon mailing list >>>Chameleon@lists.maptools.org >> >> http://lists.maptools.org/mailman/listinfo/chameleon >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > >-- > ----------------------------------------------------------------- >|Paul Spencer pspencer@dmsolutions.ca | >|-----------------------------------------------------------------| >|Applications & Software Development | >|DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > > From pagameba@magma.ca Thu Jun 17 14:44:05 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5HIi5dx003371 for ; Thu, 17 Jun 2004 14:44:05 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i5HIi4LJ029961; Thu, 17 Jun 2004 14:44:04 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i5HIi1jj029653; Thu, 17 Jun 2004 14:44:04 -0400 Message-ID: <40D1E66E.1070301@magma.ca> Date: Thu, 17 Jun 2004 14:43:58 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joel Rivard Subject: Re: RE : [Chameleon] Enhanced widget pack References: <603920.1087496328665.JavaMail.jrivard@connect.carleton.ca> In-Reply-To: <603920.1087496328665.JavaMail.jrivard@connect.carleton.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2004 18:44:06 -0000 Joel, code inline ... Joel Rivard wrote: > Thanks Paul, > > It Worked like a charm. I now display the information that I want. > I'm still not sure exactly where I am suppose to insert the hyperlink. > I've played with it, but no luck. Below is the code of the section > from the layerinfo_body.phtml. If you can better indicate the > location, that would be great. > > Joel > > > > > > > > > Paul Spencer wrote: > > > >>Joel, >> >>The file LegendTemplatePopup.phtml file is probably not the one you >>want, that file displays the legend template in a popup dialog. The >>file you want is the one that displays information about a layer when >>you click the layer name. This file is LegendInfo.phtml. >>Unfortunately, this starts to get a bit complicated. For historical >>reasons, this page doesn't actually display the information. It really >>comes from >> >>chameleon/htdocs/common/phpwms/layerinfo_body.phtml >> >>So you really need to modify this file instead. I just took a quick >>look in the file, it is kinda scary! There is a bunch of code at the >>top of the page to get the information about a layer, it does some > > scary > >>stuff relating to cached inforamation coming from DBF files which has >>nothing to do with your situation. The real changes you will need to >>make start around line 312 with the opening
trim($oTmpMLT->get("45","METADATA URL")); ?>: > if ($bLayerIsEditable) > { > echo ' class="label" value="'; > } > else > { > echo ''; > } > if ($szMetadataURL != "") > { echo ""; > echo $szMetadataURL; echo ""; > } > else > { > echo trim($oTmpMLT->get("46", "No MetadataURL available")); > } > if ($bLayerIsEditable) > { > echo '">'; > } > else > { > echo ""; > } > ?> >
tag. You'll need > > to > >>scan this section looking for the s that display the information > > you > >>don't want and removing those blocks. Next I would suggest that you >>could add a hyperlink to the metadata section right in here :> >> >>Cheers, >> >>Paul >> >>Joel Rivard wrote: >> >> >>>Hi, >>> >>>Thanks Nicolas for the tag, it displays the url. Howerver, It > > displays > >>>the link as text and not an acutal link that you can simply click on. >>>Is this because I am using local data instead of WMS? >>> >>>My second problem is changing the LegendTemplatePopup.phtml. When I >>>click on a layer in the legend to access more info, I want to display >>>only 4 criterias. >>> >>>Title Name: >>>Abstract: >>>Connection: >>>Metadata URL: >>> >>>I am still getting used to some of the coding and can't seem to > > isolate > >>>the section that identifies what criteria to add to this popup. >>> >>>Can anybody point me in the right direction, >>> >>>Joel >>> >>> >>> >>> >>>Fortin,Nicolas [SteFoy] wrote: >>> >>> >>> >>> >>>>Hi, I think those two should work: >>>> >>>> "wms_metadataurl_href" "the url here" >>>> "wms_metadataurl_format" "the metadata format" >>>> >>>>Regards, >>>> >>>>Nicolas >>>> >>>>-----Message d'origine----- >>>>De : chameleon-bounces@lists.maptools.org >>> >>>[mailto:chameleon-bounces@lists.maptools.org] De la part de Joel Rivard >>> >>> >>>>Envoy? : Wednesday, June 16, 2004 1:37 PM >>>>? : chameleon@lists.maptools.org >>>>Objet : Re: [Chameleon] Enhanced widget pack >>>> >>>> >>>>Paul, >>>> >>>>I checked in the WMS HOW TO? documentation and found no WMS tags that >>>>displays the Metadata URL (the one you specified wasn't correct as you >>>>mentionned). I have found others that are proving to be useful for my >>>>application, but none that allowed me to show the Metadata URL. >>>> >>>>Does anybody know this WMS tag? >>>> >>>>Joel >>>> >>>> >>>>Paul Spencer wrote: >>>> >>>> >>>> >>>> >>>>>Joel, >>>>> >>>>>The popup is provided by the LegendTemplate widget, the code for the >>>>>popup is in chameleon/htdocs/widgets/LegendTemplate/LegendTemplate.phtml >>>>> >>>>>The popup was designed to show information about WMS layers. In >>>>>particular, the abstract and metadata urls from WMS layers are normally >>>>>recorded as metadata on the layer. I don't think the widget cares if >>>>>the layer is WMS or not, but it will look specifically for: >>>>> >>>>>METADATA >>>>> "wms_abstract" "the abstract for this layer" >>>>> "wms_metadataurl" "not sure if this is right, check the WMS howto >>>>>:)" END >>>>> >>>>>So the quick fix would be to modify your map file to add this >>>>>information. If you are not happy with the layout, you could also edit >>>>>this file to get exactly what you want. >>>>> >>>>>Cheers, >>>>> >>>>>Paul >>>>> >>>>>Joel Rivard wrote: >>>>> >>>>> >>>>> >>>>>>Hi list, >>>>>> >>>>>>I'm using Chameleon 1.99 beta and running the Enhanced Widget Pack as >>>> >>>>a >>>> >>>> >>>>>>sample app. I've added my own map file to show some local data and >>>> >>>>was >>>> >>>> >>>>>>wondering how to add some info upon clicking on the themes in the >>>>>>legend. When I click on any given layer, it only gives me the "layer >>>>>>name" and "layer title". I'd like to add an abstract as well as an >>>> >>>>URL >>>> >>>> >>>>>>to the Metadata. I'm not sure if this feature has to be set in the >>>>>>mapfile or if its an XML file that is controling this. >>>>>> >>>>>>Can anybody point me in the right direction, >>>>>> >>>>>>Thanks, >>>>>> >>>>>>Joel >>>>>>_______________________________________________ >>>>>>Chameleon mailing list >>>>>>Chameleon@lists.maptools.org >>>>>>http://lists.maptools.org/mailman/listinfo/chameleon >>>>>> >>>>> >>>>>-- >>>>>----------------------------------------------------------------- >>>>>|Paul Spencer pspencer@dmsolutions.ca | >>>>>|-----------------------------------------------------------------| >>>>>|Applications & Software Development | >>>>>|DM Solutions Group Inc http://www.dmsolutions.ca/| >>>>>----------------------------------------------------------------- >>>>> >>>>>_______________________________________________ >>>>>Chameleon mailing list >>>>>Chameleon@lists.maptools.org >>>>>http://lists.maptools.org/mailman/listinfo/chameleon >>>>> >>>> >>>>_______________________________________________ >>>>Chameleon mailing list >>>>Chameleon@lists.maptools.org >>> >>>http://lists.maptools.org/mailman/listinfo/chameleon >>> >>>_______________________________________________ >>>Chameleon mailing list >>>Chameleon@lists.maptools.org >>>http://lists.maptools.org/mailman/listinfo/chameleon >>> >> >>-- >> ----------------------------------------------------------------- >>|Paul Spencer pspencer@dmsolutions.ca | >>|-----------------------------------------------------------------| >>|Applications & Software Development | >>|DM Solutions Group Inc http://www.dmsolutions.ca/| >> ----------------------------------------------------------------- >> >> > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Jun 17 14:56:08 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5HIu8dx003461 for ; Thu, 17 Jun 2004 14:56:08 -0400 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i5HIu7LJ012567; Thu, 17 Jun 2004 14:56:07 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail1.magma.ca (8.12.10/8.12.9) with ESMTP id i5HIu4Gd001005; Thu, 17 Jun 2004 14:56:07 -0400 Message-ID: <40D1E941.6010405@magma.ca> Date: Thu, 17 Jun 2004 14:56:01 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 Subject: Re: [Chameleon] 1.99 Installation References: <003c01c453c0$d67b7d60$31289f88@GLADSTONE> <40D1908F.5070408@magma.ca> In-Reply-To: <40D1908F.5070408@magma.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org, Ken Sanderson X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2004 18:56:08 -0000 Ken (and everyone else) I've updated the installation instructions and posted them on the chameleon wiki. My hope is that everyone will take the time to review them and contribute back more information about installation on various platforms etc. This document isn't final and will, no doubt, be reviewed and expanded on by our documentation team as we approach the final release. Cheers, Paul Paul Spencer wrote: > Ken, > > sorry, the documentation is sorely out of date and is being actively > worked on (well, maybe not this minute, but Real Soon Now ;)) > > answers inline ... > > Cheers, > > Paul > > Ken Sanderson wrote: > >> This is my first install of Chameleon and I have a few questions as I go >> through the process: >> >> 1) I am following the instructions in: CWC2_Installation.txt is this the >> right way to go? > > > this is probably out of date. I'll try to take a look at it today and > post an updated version on the list ... > >> 2) It talks about installing geobase and the included files, which are >> not included in the 1.99 package. For 1.99 do I just direct things like >> default_template to a file in the samples folder? If so which file? > > > a lot of the configuration parameters actually have no meaning to the > chameleon 1.99 package as it exists in the first beta. Things like > default_template are specific to the operation of the Service Instance > which is not in 1.99. > > In the cvs version (hopefully a 1.99 beta 2 will be released shortly), > the configuration file has been split into two separate files, one for > configuring chameleon and one for configuring the service instance > (which will be in beta 2). > > The settings that are important to you are: > > web_server_path - the URL to chameleon, this can be > http:///chameleon or just /chameleon/ > > mapscript_module - the mapscript module you are using, typically > something like php_mapscript_42.dll or .so > > tmp_img_path - directory to store temp files in, like /tmp/ms_tmp/ > tmp_web_path -URL to the above, typically /ms_tmp/ > button_cache_path - a directory to store cached buttons, its temporary > but should not be cleaned out regularly on a production server, > typically /tmp/ms_tmp/buttons/ > button_cache_web_path - URL to the above, typically /ms_tmp/buttons/ > >> >> 3) How many folders do we need to store data and whats the difference >> between them? Going through the config file to setup the parameters I >> was getting confused. My problem is as a new user I am not sure what >> certain 'terms' mean. For example given the list below, whats is cached >> capabilities? What are the context files and template files? >> >> server_data_path - This is where cached capabilities and other >> information, common to each session, should be. > > > not required right now > >> log_path - Directory in which to write log files. > > > no longer used, ignore > >> button_cache_path - Directory in which to write image files generated >> for buttons. >> tmp_img_path - Directory where temporary image files are put. > > > both explained above > >> context_root - Absolute root path to context files. All context should >> be in that folder (or sub folder). >> template_root - Absolute root path to template files. All template >> should be in that folder (or sub folder). > > > these are specific to the service instance mode and can be ignored in > your installation > >> >> Here is what I am thinking so far. Data is where I would put my GIS data >> and similar, using the data folder. Log path, just created a folder >> under cwc2 called 'logs'. Button and img path, I was just going to >> create one folder for both of these that's web accessable. No idea what >> to say for context and template roots? >> > > Anything that is in chameleon is for chameleon's use, not yours :) You > can put your GIS data anywhere you like, you configure that on a > per-application basis in the MAP file used for that application > (shapepath). > > >> Thanks for the help, >> >> Ken >> >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From jrivard@connect.carleton.ca Thu Jun 17 14:57:53 2004 Received: from connectmail.carleton.ca (connectmail.carleton.ca [134.117.2.12]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5HIvrdx003483 for ; Thu, 17 Jun 2004 14:57:53 -0400 Received: from connect (connect.carleton.ca [134.117.2.33]) by connectmail.carleton.ca (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with SMTP id <0HZG0009NVCHH3@connectmail.carleton.ca> for chameleon@lists.maptools.org; Thu, 17 Jun 2004 14:57:53 -0400 (EDT) Date: Thu, 17 Jun 2004 14:57:52 -0400 (EDT) From: Joel Rivard Subject: Re: RE : [Chameleon] Enhanced widget pack To: spencer@dmsolutions.ca Message-id: <6887136.1087498672930.JavaMail.jrivard@connect.carleton.ca> MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2004 18:57:54 -0000 Alas, it works!!! Thanks!!! Joel Paul Spencer wrote: >Joel, > >code inline ... > >Joel Rivard wrote: > >> Thanks Paul, >> >> It Worked like a charm. I now display the information that I want. >> I'm still not sure exactly where I am suppose to insert the hyperlink. >> I've played with it, but no luck. Below is the code of the section >> from the layerinfo_body.phtml. If you can better indicate the >> location, that would be great. >> >> Joel >> >> >> >> >> >> >> >> >> Paul Spencer wrote: >> >> >> >>>Joel, >>> >>>The file LegendTemplatePopup.phtml file is probably not the one you >>>want, that file displays the legend template in a popup dialog. The >>>file you want is the one that displays information about a layer when >>>you click the layer name. This file is LegendInfo.phtml. >>>Unfortunately, this starts to get a bit complicated. For historical >>>reasons, this page doesn't actually display the information. It really >>>comes from >>> >>>chameleon/htdocs/common/phpwms/layerinfo_body.phtml >>> >>>So you really need to modify this file instead. I just took a quick >>>look in the file, it is kinda scary! There is a bunch of code at the >>>top of the page to get the information about a layer, it does some >> >> scary >> >>>stuff relating to cached inforamation coming from DBF files which has >>>nothing to do with your situation. The real changes you will need to >>>make start around line 312 with the opening
> trim($oTmpMLT->get("45","METADATA URL")); ?>: >> > if ($bLayerIsEditable) >> { >> echo '> class="label" value="'; >> } >> else >> { >> echo ''; >> } >> if ($szMetadataURL != "") >> { > > echo ""; > >> echo $szMetadataURL; > > echo ""; > >> } >> else >> { >> echo trim($oTmpMLT->get("46", "No MetadataURL available")); >> } >> if ($bLayerIsEditable) >> { >> echo '">'; >> } >> else >> { >> echo ""; >> } >> ?> >>
tag. You'll need >> >> to >> >>>scan this section looking for the s that display the information >> >> you >> >>>don't want and removing those blocks. Next I would suggest that you >>>could add a hyperlink to the metadata section right in here :> >>> >>>Cheers, >>> >>>Paul >>> >>>Joel Rivard wrote: >>> >>> >>>>Hi, >>>> >>>>Thanks Nicolas for the tag, it displays the url. Howerver, It >> >> displays >> >>>>the link as text and not an acutal link that you can simply click on. >>>>Is this because I am using local data instead of WMS? >>>> >>>>My second problem is changing the LegendTemplatePopup.phtml. When I >>>>click on a layer in the legend to access more info, I want to display >>>>only 4 criterias. >>>> >>>>Title Name: >>>>Abstract: >>>>Connection: >>>>Metadata URL: >>>> >>>>I am still getting used to some of the coding and can't seem to >> >> isolate >> >>>>the section that identifies what criteria to add to this popup. >>>> >>>>Can anybody point me in the right direction, >>>> >>>>Joel >>>> >>>> >>>> >>>> >>>>Fortin,Nicolas [SteFoy] wrote: >>>> >>>> >>>> >>>> >>>>>Hi, I think those two should work: >>>>> >>>>> "wms_metadataurl_href" "the url here" >>>>> "wms_metadataurl_format" "the metadata format" >>>>> >>>>>Regards, >>>>> >>>>>Nicolas >>>>> >>>>>-----Message d'origine----- >>>>>De : chameleon-bounces@lists.maptools.org >>>> >>>>[mailto:chameleon-bounces@lists.maptools.org] De la part de Joel Rivard >>>> >>>> >>>>>Envoy? : Wednesday, June 16, 2004 1:37 PM >>>>>? : chameleon@lists.maptools.org >>>>>Objet : Re: [Chameleon] Enhanced widget pack >>>>> >>>>> >>>>>Paul, >>>>> >>>>>I checked in the WMS HOW TO? documentation and found no WMS tags that >>>>>displays the Metadata URL (the one you specified wasn't correct as you >>>>>mentionned). I have found others that are proving to be useful for my >>>>>application, but none that allowed me to show the Metadata URL. >>>>> >>>>>Does anybody know this WMS tag? >>>>> >>>>>Joel >>>>> >>>>> >>>>>Paul Spencer wrote: >>>>> >>>>> >>>>> >>>>> >>>>>>Joel, >>>>>> >>>>>>The popup is provided by the LegendTemplate widget, the code for the >>>>>>popup is in chameleon/htdocs/widgets/LegendTemplate/LegendTemplate.phtml >>>>>> >>>>>>The popup was designed to show information about WMS layers. In >>>>>>particular, the abstract and metadata urls from WMS layers are normally >>>>>>recorded as metadata on the layer. I don't think the widget cares if >>>>>>the layer is WMS or not, but it will look specifically for: >>>>>> >>>>>>METADATA >>>>>> "wms_abstract" "the abstract for this layer" >>>>>> "wms_metadataurl" "not sure if this is right, check the WMS howto >>>>>>:)" END >>>>>> >>>>>>So the quick fix would be to modify your map file to add this >>>>>>information. If you are not happy with the layout, you could also edit >>>>>>this file to get exactly what you want. >>>>>> >>>>>>Cheers, >>>>>> >>>>>>Paul >>>>>> >>>>>>Joel Rivard wrote: >>>>>> >>>>>> >>>>>> >>>>>>>Hi list, >>>>>>> >>>>>>>I'm using Chameleon 1.99 beta and running the Enhanced Widget Pack as >>>>> >>>>>a >>>>> >>>>> >>>>>>>sample app. I've added my own map file to show some local data and >>>>> >>>>>was >>>>> >>>>> >>>>>>>wondering how to add some info upon clicking on the themes in the >>>>>>>legend. When I click on any given layer, it only gives me the "layer >>>>>>>name" and "layer title". I'd like to add an abstract as well as an >>>>> >>>>>URL >>>>> >>>>> >>>>>>>to the Metadata. I'm not sure if this feature has to be set in the >>>>>>>mapfile or if its an XML file that is controling this. >>>>>>> >>>>>>>Can anybody point me in the right direction, >>>>>>> >>>>>>>Thanks, >>>>>>> >>>>>>>Joel >>>>>>>_______________________________________________ >>>>>>>Chameleon mailing list >>>>>>>Chameleon@lists.maptools.org >>>>>>>http://lists.maptools.org/mailman/listinfo/chameleon >>>>>>> >>>>>> >>>>>>-- >>>>>>----------------------------------------------------------------- >>>>>>|Paul Spencer pspencer@dmsolutions.ca | >>>>>>|-----------------------------------------------------------------| >>>>>>|Applications & Software Development | >>>>>>|DM Solutions Group Inc http://www.dmsolutions.ca/| >>>>>>----------------------------------------------------------------- >>>>>> >>>>>>_______________________________________________ >>>>>>Chameleon mailing list >>>>>>Chameleon@lists.maptools.org >>>>>>http://lists.maptools.org/mailman/listinfo/chameleon >>>>>> >>>>> >>>>>_______________________________________________ >>>>>Chameleon mailing list >>>>>Chameleon@lists.maptools.org >>>> >>>>http://lists.maptools.org/mailman/listinfo/chameleon >>>> >>>>_______________________________________________ >>>>Chameleon mailing list >>>>Chameleon@lists.maptools.org >>>>http://lists.maptools.org/mailman/listinfo/chameleon >>>> >>> >>>-- >>> ----------------------------------------------------------------- >>>|Paul Spencer pspencer@dmsolutions.ca | >>>|-----------------------------------------------------------------| >>>|Applications & Software Development | >>>|DM Solutions Group Inc http://www.dmsolutions.ca/| >>> ----------------------------------------------------------------- >>> >>> >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > >-- > ----------------------------------------------------------------- >|Paul Spencer pspencer@dmsolutions.ca | >|-----------------------------------------------------------------| >|Applications & Software Development | >|DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > From pagameba@magma.ca Thu Jun 17 15:05:18 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5HJ5Hdx003557 for ; Thu, 17 Jun 2004 15:05:17 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i5HJ5G7r031721 for ; Thu, 17 Jun 2004 15:05:16 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i5HJ5FJt005498 for ; Thu, 17 Jun 2004 15:05:16 -0400 Message-ID: <40D1EB63.9040305@magma.ca> Date: Thu, 17 Jun 2004 15:05:07 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "chameleon@lists.maptools.org" Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Chameleon] Using the Chameleon Wiki X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2004 19:05:18 -0000 All, you can access the Chameleon wiki at: http://www.maptools.org/chameleon/wiki/FrontPage The installation instructions are linked from that page, the direct link is: http://www.maptools.org/chameleon/wiki/ChameleonInstallationInstructions?action=show Regarding use of the wiki, right now the structure of the wiki is poor and it is not being maintained at all. However, all is not lost. Darren Redfern is currently in the process of designing a new, community oriented site using the wiki but with a lot of thought put into the structure. In the mean time, we are going to use the current wiki to dump in existing information to give him some place to start from in terms of content. If anyone is interested in contributing, log into the wiki and start adding stuff. If you are really intimidated by it, send the notes to me in PLAIN TEXT format and I will insert it into the wiki. If you don't know where to put it, edit the main page and put a WikiWord there to link to your subject, save the page, then click your new link to generate a new page to put your stuff into. I'd really recommend that we keep the structure flat right now, all pages linked from the main page if possible, and let Darren decide how it can all be arranged as part of his work. Cheers, Paul -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Godwinl@AGR.GC.CA Thu Jun 17 15:07:05 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5HJ75dx003575 for ; Thu, 17 Jun 2004 15:07:05 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i5HItSBB028188; Thu, 17 Jun 2004 14:55:29 -0400 Received: from onncrxcn1.AGR.GC.CA ([10.117.15.130]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i5HJ3bIB007191; Thu, 17 Jun 2004 15:03:40 -0400 Received: from onncrxms2.AGR.GC.CA ([10.117.15.28]) by onncrxcn1.AGR.GC.CA with Microsoft SMTPSVC(5.0.2195.6713); Thu, 17 Jun 2004 15:06:13 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: [Chameleon] Language Date: Thu, 17 Jun 2004 15:06:12 -0400 Message-ID: <482A7044F4DB2740884BAF6AFD7416092042DD@onncrxms2.agr.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Chameleon] Language Thread-Index: AcRUeYn3VEyJ8dd3S82a+Rz5GAYGmQAACGzQ From: "Godwin, Liz" To: X-OriginalArrivalTime: 17 Jun 2004 19:06:13.0577 (UTC) FILETIME=[28970B90:01C4549E] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i5HJ75dx003575 Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2004 19:07:05 -0000 I've been muddling around with this since I posted. See inline. >This means that you can initialize your application in either English or >French by: >http:////index.phtml?LANGUAGE=en-CA >http:////index.phtml?LANGUAGE=fr-CA Can this be made case-insensitive? I tried this on my own before your response, but used lowercase "language" and it didn't work. I just assumed I couldn't do this. Maybe this is a bug? >Re: the legend template problem, I would suggest that you use two >different legend templates in the two different application templates. >They can be identical except for the metadata that they choose to >display, and then you can place translations directly in the MAP file on >a layer-by-layer basis in the metadata, for instance: >"wms_title_en" "English Title" >"wms_title_fr" "French Title" I'm not using a mapfile in this case, but a context document, that points to a wms, which is in french or english. Many (although not all) map services are either english OR french like the National Atlas for example. While the above will work with custom mapfile only apps (we have those too), it won't work for our more generic ogc apps. I'm thinking of adding code to my index.phtml to evaluate language and then use a different context document if applicable. Although I haven't really made up my mind on this one. I may just call each template using a full string (specifying language) instead of changing the language because my index.phtml is set up to accept different templates and context documents. I have another question about language template handling, and shared resources. The wait image is declared as many times as there are languages in all templates. If you change something in one template, it affects that template. But when it comes to styling (text buttons, nav buttons) only those resources defined in the initial template are loaded. So...if you start the session in English, the style shared resoures defined in english apply. Styling defined differently in other language templates has no effect. BUT it is possible to change a stylesheet between languages. I guess I'm saying that this is inconsistent and hard to follow. It would be my preference to have chameleon accept all shared resources as they are in a template, regardless of when they are loaded. Is something that can be changed easily, say by me? Is it interesting enough to others to hope for a change in a future release? Cheers, Liz -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: June 17, 2004 10:43 AM To: Godwin, Liz Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Language Liz, the correct(?) way, or at least the way I intended it to work, is to register templates for specific languages. Chameleon will then choose the correct template for the current language regardless of which template you call the CWCExecute function with ... The Language widget has no interface, it just provides a JavaScript function that you can call on your own to set the language. This function sets the current language and submits the page. The javascript function is setLanguage( szLanguageCode ) The form variable that tracks the current language is LANGUAGE This means that you can initialize your application in either English or French by: http:////index.phtml?LANGUAGE=en-CA http:////index.phtml?LANGUAGE=fr-CA regardless of what you put in the CWCExecute call ... Re: the legend template problem, I would suggest that you use two different legend templates in the two different application templates. They can be identical except for the metadata that they choose to display, and then you can place translations directly in the MAP file on a layer-by-layer basis in the metadata, for instance: "wms_title_en" "English Title" "wms_title_fr" "French Title" Godwin, Liz wrote: > An observation has led me to approach dual language pages differently. > Perhaps someone can point me in the right direction If there's a better way. > > Original problem: When changing the language of a page, the legend > stays in the original language, English in my case, because the map > file/context doc is not changed, only the template. So I have an > incomplete French page. I understand this, because right now... when > the language is changed the map content stays the same, and all session > info stored. > > But I don't want to use bilingual layer titles/metadata/queries. > > Plan A: bring up the page manually so I can call the french > template/context file myself. > > Problem: there seems to be no way to identify the language of a page. > The "Language" widget...well..I don't know what this DOES other to state > what other languages are available. For my purposes I don't see the > point of this seeing as I have to load the language templates manually > in the index.phtml file anyway. Anyway, if I can identify a template as > english or french, (en-ca/fr-ca) then i was hoping chameleon would > notice and apply the right language to my pop-up widgets. > > Thoughts...please help! > > Liz Godwin > > > ---------------------------------------------------------------------- > -- > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Jun 17 15:23:47 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5HJNkdx003804 for ; Thu, 17 Jun 2004 15:23:47 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i5HJNk7r016819; Thu, 17 Jun 2004 15:23:46 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i5HJNhZv019205; Thu, 17 Jun 2004 15:23:46 -0400 Message-ID: <40D1EFBC.9060706@magma.ca> Date: Thu, 17 Jun 2004 15:23:40 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Godwin, Liz" Subject: Re: [Chameleon] Language References: <482A7044F4DB2740884BAF6AFD7416092042DD@onncrxms2.agr.gc.ca> In-Reply-To: <482A7044F4DB2740884BAF6AFD7416092042DD@onncrxms2.agr.gc.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org, spencer@dmsolutions.ca X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2004 19:23:47 -0000 Liz ... Godwin, Liz wrote: > I've been muddling around with this since I posted. See inline. > > >>This means that you can initialize your application in either English > > or > >>French by: > > >>http:////index.phtml?LANGUAGE=en-CA >>http:////index.phtml?LANGUAGE=fr-CA > > > Can this be made case-insensitive? I tried this on my own before your > response, but used lowercase "language" and it didn't work. I just > assumed I couldn't do this. Maybe this is a bug? I would say it is a bug, all URL parameters are supposed to be handled in a case-insensitive manner. Can you create the bug please? Pretty Please???? > > >>Re: the legend template problem, I would suggest that you use two >>different legend templates in the two different application templates. >>They can be identical except for the metadata that they choose to >>display, and then you can place translations directly in the MAP file > > on > >>a layer-by-layer basis in the metadata, for instance: > > >>"wms_title_en" "English Title" >>"wms_title_fr" "French Title" > > > I'm not using a mapfile in this case, but a context document, that > points to a wms, which is in french or english. Many (although not all) > map services are either english OR french like the National Atlas for > example. While the above will work with custom mapfile only apps (we > have those too), it won't work for our more generic ogc apps. I'm > thinking of adding code to my index.phtml to evaluate language and then > use a different context document if applicable. Although I haven't > really made up my mind on this one. I may just call each template using > a full string (specifying language) instead of changing the language > because my index.phtml is set up to accept different templates and > context documents. um that's more complicated but still doable, I suspect you are probably doing it the way I would suggest. > > I have another question about language template handling, and shared > resources. The wait image is declared as many times as there are > languages in all templates. If you change something in one template, it > affects that template. But when it comes to styling (text buttons, nav > buttons) only those resources defined in the initial template are > loaded. So...if you start the session in English, the style shared > resoures defined in english apply. Styling defined differently in other > language templates has no effect. BUT it is possible to change a > stylesheet between languages. Um .... I see the problem. I think the caching mechanism is perhaps a little too aggressive. Right now, it caches the actual generated images on a per-template basis, but it will actually only load a shared resource once per session if caching is used. I think it can be made to work on a per-template basis, but this will cause the session to grow a little bigger and reduce performance (perhaps). > > I guess I'm saying that this is inconsistent and hard to follow. It > would be my preference to have chameleon accept all shared resources as > they are in a template, regardless of when they are loaded. Is > something that can be changed easily, say by me? Is it interesting > enough to others to hope for a change in a future release? I would actually classify this as a bug. I'll try to address it in one of the beta releases. Can you please file this as a bug (well, you're already logging the other one, so it's not much more effort, right ;)) Cheers, Paul > > Cheers, > > Liz > > > > -----Original Message----- > From: Paul Spencer [mailto:pagameba@magma.ca] > Sent: June 17, 2004 10:43 AM > To: Godwin, Liz > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Language > > > Liz, > > the correct(?) way, or at least the way I intended it to work, is to > register templates for specific languages. Chameleon will then choose > the correct template for the current language regardless of which > template you call the CWCExecute function with ... > > The Language widget has no interface, it just provides a JavaScript > function that you can call on your own to set the language. This > function sets the current language and submits the page. > > The javascript function is setLanguage( szLanguageCode ) > > The form variable that tracks the current language is LANGUAGE > > This means that you can initialize your application in either English or > French by: > > http:////index.phtml?LANGUAGE=en-CA > http:////index.phtml?LANGUAGE=fr-CA > > regardless of what you put in the CWCExecute call ... > > Re: the legend template problem, I would suggest that you use two > different legend templates in the two different application templates. > They can be identical except for the metadata that they choose to > display, and then you can place translations directly in the MAP file on > a layer-by-layer basis in the metadata, for instance: > > "wms_title_en" "English Title" > "wms_title_fr" "French Title" > > > > Godwin, Liz wrote: > > >>An observation has led me to approach dual language pages differently. >>Perhaps someone can point me in the right direction If there's a > > better way. > >>Original problem: When changing the language of a page, the legend >>stays in the original language, English in my case, because the map >>file/context doc is not changed, only the template. So I have an >>incomplete French page. I understand this, because right now... when >>the language is changed the map content stays the same, and all > > session > >>info stored. >> >>But I don't want to use bilingual layer titles/metadata/queries. >> >>Plan A: bring up the page manually so I can call the french >>template/context file myself. >> >>Problem: there seems to be no way to identify the language of a page. >>The "Language" widget...well..I don't know what this DOES other to > > state > >>what other languages are available. For my purposes I don't see the >>point of this seeing as I have to load the language templates manually >>in the index.phtml file anyway. Anyway, if I can identify a template > > as > >>english or french, (en-ca/fr-ca) then i was hoping chameleon would >>notice and apply the right language to my pop-up widgets. >> >>Thoughts...please help! >> >>Liz Godwin >> >> >>---------------------------------------------------------------------- >>-- >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon > > > -- > ----------------------------------------------------------------- > |Paul Spencer pspencer@dmsolutions.ca | > |-----------------------------------------------------------------| > |Applications & Software Development | > |DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Godwinl@AGR.GC.CA Thu Jun 17 16:30:15 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5HKUFdx004431 for ; Thu, 17 Jun 2004 16:30:15 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i5HKIeBB021099; Thu, 17 Jun 2004 16:18:40 -0400 Received: from onncrxcn1.AGR.GC.CA ([10.117.15.130]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i5HKR1I7027229; Thu, 17 Jun 2004 16:27:01 -0400 Received: from onncrxms2.AGR.GC.CA ([10.117.15.28]) by onncrxcn1.AGR.GC.CA with Microsoft SMTPSVC(5.0.2195.6713); Thu, 17 Jun 2004 16:29:34 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message Subject: RE: [Chameleon] Language MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 17 Jun 2004 16:29:32 -0400 Message-ID: <482A7044F4DB2740884BAF6AFD7416092042DF@onncrxms2.agr.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Chameleon] Language Thread-Index: AcRUofd7QfI0bYSDQwyt6gN6r49QRQAB7s7w From: "Godwin, Liz" To: X-OriginalArrivalTime: 17 Jun 2004 20:29:34.0795 (UTC) FILETIME=[CD8C59B0:01C454A9] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i5HKUFdx004431 Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2004 20:30:15 -0000 Bugs 450 ("language" parameter), and 451(shared resources) both filed. Thanks Paul! :-) -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: June 17, 2004 3:24 PM To: Godwin, Liz Cc: spencer@dmsolutions.ca; chameleon@lists.maptools.org Subject: Re: [Chameleon] Language Liz ... Godwin, Liz wrote: > I've been muddling around with this since I posted. See inline. > > >>This means that you can initialize your application in either English > > or > >>French by: > > >>http:////index.phtml?LANGUAGE=en-CA >>http:////index.phtml?LANGUAGE=fr-CA > > > Can this be made case-insensitive? I tried this on my own before your > response, but used lowercase "language" and it didn't work. I just > assumed I couldn't do this. Maybe this is a bug? I would say it is a bug, all URL parameters are supposed to be handled in a case-insensitive manner. Can you create the bug please? Pretty Please???? > > >>Re: the legend template problem, I would suggest that you use two >>different legend templates in the two different application templates. >>They can be identical except for the metadata that they choose to >>display, and then you can place translations directly in the MAP file > > on > >>a layer-by-layer basis in the metadata, for instance: > > >>"wms_title_en" "English Title" >>"wms_title_fr" "French Title" > > > I'm not using a mapfile in this case, but a context document, that > points to a wms, which is in french or english. Many (although not > all) map services are either english OR french like the National Atlas > for example. While the above will work with custom mapfile only apps > (we have those too), it won't work for our more generic ogc apps. I'm > thinking of adding code to my index.phtml to evaluate language and > then use a different context document if applicable. Although I > haven't really made up my mind on this one. I may just call each > template using a full string (specifying language) instead of changing > the language because my index.phtml is set up to accept different > templates and context documents. um that's more complicated but still doable, I suspect you are probably doing it the way I would suggest. > > I have another question about language template handling, and shared > resources. The wait image is declared as many times as there are > languages in all templates. If you change something in one template, > it affects that template. But when it comes to styling (text buttons, > nav > buttons) only those resources defined in the initial template are > loaded. So...if you start the session in English, the style shared > resoures defined in english apply. Styling defined differently in other > language templates has no effect. BUT it is possible to change a > stylesheet between languages. Um .... I see the problem. I think the caching mechanism is perhaps a little too aggressive. Right now, it caches the actual generated images on a per-template basis, but it will actually only load a shared resource once per session if caching is used. I think it can be made to work on a per-template basis, but this will cause the session to grow a little bigger and reduce performance (perhaps). > > I guess I'm saying that this is inconsistent and hard to follow. It > would be my preference to have chameleon accept all shared resources > as they are in a template, regardless of when they are loaded. Is > something that can be changed easily, say by me? Is it interesting > enough to others to hope for a change in a future release? I would actually classify this as a bug. I'll try to address it in one of the beta releases. Can you please file this as a bug (well, you're already logging the other one, so it's not much more effort, right ;)) Cheers, Paul > > Cheers, > > Liz > > > > -----Original Message----- > From: Paul Spencer [mailto:pagameba@magma.ca] > Sent: June 17, 2004 10:43 AM > To: Godwin, Liz > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Language > > > Liz, > > the correct(?) way, or at least the way I intended it to work, is to > register templates for specific languages. Chameleon will then choose > the correct template for the current language regardless of which > template you call the CWCExecute function with ... > > The Language widget has no interface, it just provides a JavaScript > function that you can call on your own to set the language. This > function sets the current language and submits the page. > > The javascript function is setLanguage( szLanguageCode ) > > The form variable that tracks the current language is LANGUAGE > > This means that you can initialize your application in either English > or French by: > > http:////index.phtml?LANGUAGE=en-CA > http:////index.phtml?LANGUAGE=fr-CA > > regardless of what you put in the CWCExecute call ... > > Re: the legend template problem, I would suggest that you use two > different legend templates in the two different application templates. > They can be identical except for the metadata that they choose to > display, and then you can place translations directly in the MAP file > on a layer-by-layer basis in the metadata, for instance: > > "wms_title_en" "English Title" > "wms_title_fr" "French Title" > > > > Godwin, Liz wrote: > > >>An observation has led me to approach dual language pages differently. >>Perhaps someone can point me in the right direction If there's a > > better way. > >>Original problem: When changing the language of a page, the legend >>stays in the original language, English in my case, because the map >>file/context doc is not changed, only the template. So I have an >>incomplete French page. I understand this, because right now... when >>the language is changed the map content stays the same, and all > > session > >>info stored. >> >>But I don't want to use bilingual layer titles/metadata/queries. >> >>Plan A: bring up the page manually so I can call the french >>template/context file myself. >> >>Problem: there seems to be no way to identify the language of a page. >>The "Language" widget...well..I don't know what this DOES other to > > state > >>what other languages are available. For my purposes I don't see the >>point of this seeing as I have to load the language templates manually >>in the index.phtml file anyway. Anyway, if I can identify a template > > as > >>english or french, (en-ca/fr-ca) then i was hoping chameleon would >>notice and apply the right language to my pop-up widgets. >> >>Thoughts...please help! >> >>Liz Godwin >> >> >>---------------------------------------------------------------------- >>-- >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon > > > -- > ----------------------------------------------------------------- > |Paul Spencer pspencer@dmsolutions.ca | > |-----------------------------------------------------------------| > |Applications & Software Development | > |DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Godwinl@AGR.GC.CA Thu Jun 17 16:33:34 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5HKXYdx004458 for ; Thu, 17 Jun 2004 16:33:34 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i5HKLwBB022168 for ; Thu, 17 Jun 2004 16:21:58 -0400 Received: from onncrxcn1.AGR.GC.CA ([10.117.15.130]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i5HKTxI7029265 for ; Thu, 17 Jun 2004 16:29:59 -0400 Received: from onncrxms2.AGR.GC.CA ([10.117.15.28]) by onncrxcn1.AGR.GC.CA with Microsoft SMTPSVC(5.0.2195.6713); Thu, 17 Jun 2004 16:32:33 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message Subject: RE: [Chameleon] Using the Chameleon Wiki MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 17 Jun 2004 16:32:33 -0400 Message-ID: <482A7044F4DB2740884BAF6AFD7416092042E0@onncrxms2.agr.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Chameleon] Using the Chameleon Wiki Thread-Index: AcRUnjP+CLV8fwUpTMe8ARqBF8YiaQAC6U5g From: "Godwin, Liz" To: X-OriginalArrivalTime: 17 Jun 2004 20:32:33.0654 (UTC) FILETIME=[38281160:01C454AA] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i5HKXYdx004458 X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2004 20:33:34 -0000 I've added a heading, and started a list of users on the front page. I think it would be great if we added our names there so we can see who the active users are. I've also linked my name to a wikipage so that I can keep some notes. Names would be a start, and maybe location to get a feel for world-wide useage? Cheers, Liz -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Paul Spencer Sent: June 17, 2004 3:05 PM To: chameleon@lists.maptools.org Subject: [Chameleon] Using the Chameleon Wiki All, you can access the Chameleon wiki at: http://www.maptools.org/chameleon/wiki/FrontPage The installation instructions are linked from that page, the direct link is: http://www.maptools.org/chameleon/wiki/ChameleonInstallationInstructions ?action=show Regarding use of the wiki, right now the structure of the wiki is poor and it is not being maintained at all. However, all is not lost. Darren Redfern is currently in the process of designing a new, community oriented site using the wiki but with a lot of thought put into the structure. In the mean time, we are going to use the current wiki to dump in existing information to give him some place to start from in terms of content. If anyone is interested in contributing, log into the wiki and start adding stuff. If you are really intimidated by it, send the notes to me in PLAIN TEXT format and I will insert it into the wiki. If you don't know where to put it, edit the main page and put a WikiWord there to link to your subject, save the page, then click your new link to generate a new page to put your stuff into. I'd really recommend that we keep the structure flat right now, all pages linked from the main page if possible, and let Darren decide how it can all be arranged as part of his work. Cheers, Paul -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From ken@rockies.ca Thu Jun 17 20:10:35 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5I0AZdx005800 for ; Thu, 17 Jun 2004 20:10:35 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id ojxqeaaa for chameleon@lists.maptools.org; Thu, 17 Jun 2004 18:02:02 -0600 From: "Ken Sanderson" To: Date: Thu, 17 Jun 2004 18:12:38 -0600 Message-ID: <006401c454c8$f9f0b270$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Importance: Normal Subject: [Chameleon] Problems with Font and Images X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jun 2004 00:10:36 -0000 Having gone through the new installation instructions, which were very helpful, I am to a new stage of bugs to iron out. When I start up by going to the sample link to 'Sample using simple images for buttons' it loads the page, I get the basic template but I get a javascript object expected error at the $oApp->CWCExecute(); line. Further, though maybe related, the map image and the keymap image don't load on the page. I am assuming the missing images are bad pointer somewhere to my temp folder, any way I can tell the path of the images its trying to load? Wont let me bring up the source. Lastely for this page there is no legend at all, not sure if there is supposed to be one? The other main bug I am trying to resolve is when I click on any of the other samples I get the following repeating error: Warning: imagettfbbox(): Could not find/open font in G:\ArcIMS Data\chameleon\htdocs\common\buttonizer\buttonizer.php on line 530 Warning: imagettfbbox(): Could not find/open font in G:\ArcIMS Data\chameleon\htdocs\common\buttonizer\buttonizer.php on line 534 Warning: imagettftext(): Could not find/open font in G:\ArcIMS Data\chameleon\htdocs\common\buttonizer\buttonizer.php on line 600 The template loads over top of all those error messages. I have looked for the font file, its where it should be, I even edited the config file to add the path for the font file parameter, no luck. Any suggestions are appreciated. Ken Sanderson Miistakis From Godwinl@AGR.GC.CA Fri Jun 18 09:53:53 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5IDrrdx011210 for ; Fri, 18 Jun 2004 09:53:53 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i5IDgBBB001434 for ; Fri, 18 Jun 2004 09:42:11 -0400 Received: from onncrxcn1.AGR.GC.CA ([10.117.15.130]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i5IDo6FE023895 for ; Fri, 18 Jun 2004 09:50:06 -0400 Received: from onncrxms2.AGR.GC.CA ([10.117.15.28]) by onncrxcn1.AGR.GC.CA with Microsoft SMTPSVC(5.0.2195.6713); Fri, 18 Jun 2004 09:52:41 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4553B.8602078D" Date: Fri, 18 Jun 2004 09:52:41 -0400 Message-ID: <482A7044F4DB2740884BAF6AFD7416092042E3@onncrxms2.agr.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: logos Thread-Index: AcRVO4X1cKWAti/4Sz+BDTV6H4+Ucg== From: "Godwin, Liz" To: X-OriginalArrivalTime: 18 Jun 2004 13:52:41.0770 (UTC) FILETIME=[864AD8A0:01C4553B] Subject: [Chameleon] logos X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jun 2004 13:53:53 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C4553B.8602078D Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi! =20 Has anyone come up with a "Built using Chameleon" type logo for their websites yet? =20 =20 Liz Godwin =20 ------_=_NextPart_001_01C4553B.8602078D Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message
Hi!
 
Has = anyone come up=20 with a "Built using Chameleon" type logo for their websites=20 yet?
 
 
Liz=20 Godwin
 
------_=_NextPart_001_01C4553B.8602078D-- From pagameba@magma.ca Fri Jun 18 10:53:11 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5IErBdx011772 for ; Fri, 18 Jun 2004 10:53:11 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i5IErAOS027110; Fri, 18 Jun 2004 10:53:10 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i5IEr7Pc003500; Fri, 18 Jun 2004 10:53:10 -0400 Message-ID: <40D301CF.6060904@magma.ca> Date: Fri, 18 Jun 2004 10:53:03 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Godwin, Liz" Subject: Re: [Chameleon] logos References: <482A7044F4DB2740884BAF6AFD7416092042E3@onncrxms2.agr.gc.ca> In-Reply-To: <482A7044F4DB2740884BAF6AFD7416092042E3@onncrxms2.agr.gc.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jun 2004 14:53:12 -0000 Liz, we have not put any thought into this yet other than a few random discussions over beer ;) I've started a logo page on the wiki: http://www.maptools.org/chameleon/wiki/ChameleonLogoDiscussion Please update it with suggestions, requirements, and possible designs ... Cheers, Paul Godwin, Liz wrote: > Hi! > > Has anyone come up with a "Built using Chameleon" type logo for their > websites yet? > > > Liz Godwin > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Godwinl@AGR.GC.CA Fri Jun 18 11:56:47 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5IFuldx012376 for ; Fri, 18 Jun 2004 11:56:47 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i5IFj5BB013044 for ; Fri, 18 Jun 2004 11:45:05 -0400 Received: from onncrxcn1.AGR.GC.CA ([10.117.15.130]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i5IFr8FA028499 for ; Fri, 18 Jun 2004 11:53:08 -0400 Received: from onncrxms2.AGR.GC.CA ([10.117.15.28]) by onncrxcn1.AGR.GC.CA with Microsoft SMTPSVC(5.0.2195.6713); Fri, 18 Jun 2004 11:55:44 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4554C.B62E4175" Date: Fri, 18 Jun 2004 11:55:43 -0400 Message-ID: <482A7044F4DB2740884BAF6AFD7416092042E6@onncrxms2.agr.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: save SLD/open SLD widgets Thread-Index: AcRVTLYbWHCn3JZUTJGyct9ntXtwZQ== From: "Godwin, Liz" To: X-OriginalArrivalTime: 18 Jun 2004 15:55:44.0035 (UTC) FILETIME=[B6771730:01C4554C] Subject: [Chameleon] save SLD/open SLD widgets X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jun 2004 15:56:48 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C4554C.B62E4175 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Could someone (Paul ? ) please explain how the Open/Save SLD widgets are supposed to work? When I try to use them (in ogc sample) it says that there are no layers or classes to export. Should I be doing something first? Is there a setting somewhere? =20 Thanks! =20 Liz Godwin ------_=_NextPart_001_01C4554C.B62E4175 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message
Could = someone (Paul=20 ? ) please explain how the Open/Save SLD widgets are supposed to = work? =20 When I try to use them (in ogc sample) it says that there are no layers = or=20 classes to export.  Should I be doing something first?  Is = there a=20 setting somewhere?
 
Thanks!
 
Liz=20 Godwin
------_=_NextPart_001_01C4554C.B62E4175-- From pagameba@magma.ca Fri Jun 18 17:20:46 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5ILKjdx014604 for ; Fri, 18 Jun 2004 17:20:45 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i5ILKjqK024503; Fri, 18 Jun 2004 17:20:45 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i5ILKZFT001897; Fri, 18 Jun 2004 17:20:45 -0400 Message-ID: <40D35C9F.1080803@magma.ca> Date: Fri, 18 Jun 2004 17:20:31 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Godwin, Liz" Subject: Re: [Chameleon] save SLD/open SLD widgets References: <482A7044F4DB2740884BAF6AFD7416092042E6@onncrxms2.agr.gc.ca> In-Reply-To: <482A7044F4DB2740884BAF6AFD7416092042E6@onncrxms2.agr.gc.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: spencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jun 2004 21:20:46 -0000 Liz, I just tried this (as per comments in bug: http://www.maptools.org/bugzilla/show_bug.cgi?id=456 and it works fine for me ... what exactly are you trying to do? A layer must have classes and styles associated with it to be available for extracting an SLD document for it. So I should explain ... In the client map file (either loaded by Context or MAP file) you will have WMS layers. When you Upload an SLD, the SLD is applied to the layers in the map file by finding a layer of the appropriate name for each NamedLayer element in the SLD, and then classes and styles are created for each rule/symbolizer. When you download the SLD document, it does the reverse ... so for each WMS layer, it will create a NamedLayer in the generated SLD and create rules and symbolizers for each of the class/styles on each layer. Right now, the only way to create these classes/styles is to upload an SLD first or use the sample_other with the SECTPopup widget (which does have some problems still), or create a MAP file with WMS client layers and create classes/styles on them (if you do this, you need to add a metadata item to your layer "wms_sld_body" "auto" (I think this is right) Cheers, Paul Godwin, Liz wrote: > Could someone (Paul ? ) please explain how the Open/Save SLD widgets are > supposed to work? When I try to use them (in ogc sample) it says that > there are no layers or classes to export. Should I be doing something > first? Is there a setting somewhere? > > Thanks! > > Liz Godwin > > > ------------------------------------------------------------------------ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From ken@rockies.ca Fri Jun 18 17:44:23 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5ILiMdx014729 for ; Fri, 18 Jun 2004 17:44:22 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id opareaaa for chameleon@lists.maptools.org; Fri, 18 Jun 2004 15:35:54 -0600 From: "Ken Sanderson" To: Subject: RE: [Chameleon] Problems with Font and Images Date: Fri, 18 Jun 2004 15:46:34 -0600 Message-ID: <008201c4557d$bc46dc50$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Importance: Normal In-Reply-To: <006401c454c8$f9f0b270$31289f88@GLADSTONE> X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jun 2004 21:44:23 -0000 Well I have fixed the problem with the image, error in my aliases so that the folder it was looking for didn't exist. However I am still having the font problems of the following errors if, and only if, the map being drawn has text on it. The image will load fine if I zoom in to a section of ocean. The error message that repeats is: Warning: imagettfbbox(): Could not find/open font in G:\ArcIMS Data\chameleon\htdocs\common\buttonizer\buttonizer.php on line 530 Warning: imagettfbbox(): Could not find/open font in G:\ArcIMS Data\chameleon\htdocs\common\buttonizer\buttonizer.php on line 534 Warning: imagettftext(): Could not find/open font in G:\ArcIMS Data\chameleon\htdocs\common\buttonizer\buttonizer.php on line 600 Searching through the list archives the only other time that error message is found was some missing fonts, but the ones they said were missing I have. Here is what I have, am I missing any? fritqat fritqat.ttf fritqat-bold fritqtb0.ttf fritqat-italic fritqti0.ttf fritqat-bold-italic fritqtb2.ttf sans Vera.ttf sans-bold VeraBd.ttf sans-italic VeraIt.ttf sans-bold-italic VeraBI.ttf serif VeraSe.ttf serif-bold VeraSeBd.ttf mono VeraMono.ttf mono-bold VeraMoBd.ttf mono-italic VeraMoIt.ttf mono-bold-italic VeraMoBI.ttf Any other thoughts? Ken -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Ken Sanderson Sent: June 17, 2004 6:13 PM To: chameleon@lists.maptools.org Subject: [Chameleon] Problems with Font and Images Having gone through the new installation instructions, which were very helpful, I am to a new stage of bugs to iron out. When I start up by going to the sample link to 'Sample using simple images for buttons' it loads the page, I get the basic template but I get a javascript object expected error at the $oApp->CWCExecute(); line. Further, though maybe related, the map image and the keymap image don't load on the page. I am assuming the missing images are bad pointer somewhere to my temp folder, any way I can tell the path of the images its trying to load? Wont let me bring up the source. Lastely for this page there is no legend at all, not sure if there is supposed to be one? The other main bug I am trying to resolve is when I click on any of the other samples I get the following repeating error: Warning: imagettfbbox(): Could not find/open font in G:\ArcIMS Data\chameleon\htdocs\common\buttonizer\buttonizer.php on line 530 Warning: imagettfbbox(): Could not find/open font in G:\ArcIMS Data\chameleon\htdocs\common\buttonizer\buttonizer.php on line 534 Warning: imagettftext(): Could not find/open font in G:\ArcIMS Data\chameleon\htdocs\common\buttonizer\buttonizer.php on line 600 The template loads over top of all those error messages. I have looked for the font file, its where it should be, I even edited the config file to add the path for the font file parameter, no luck. Any suggestions are appreciated. Ken Sanderson Miistakis _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From Godwinl@AGR.GC.CA Mon Jun 21 10:36:25 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5LEaOdx011236 for ; Mon, 21 Jun 2004 10:36:25 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i5LEOGBB003189; Mon, 21 Jun 2004 10:24:16 -0400 Received: from onncrxcn1.AGR.GC.CA ([10.117.15.130]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i5LEVcL2029418; Mon, 21 Jun 2004 10:31:38 -0400 Received: from onncrxms2.AGR.GC.CA ([10.117.15.28]) by onncrxcn1.AGR.GC.CA with Microsoft SMTPSVC(5.0.2195.6713); Mon, 21 Jun 2004 10:34:20 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: [Chameleon] save SLD/open SLD widgets Date: Mon, 21 Jun 2004 10:34:18 -0400 Message-ID: <482A7044F4DB2740884BAF6AFD7416092042EB@onncrxms2.agr.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Chameleon] save SLD/open SLD widgets Thread-Index: AcRVekOTrsuFkBS+RUq36R1JE8I8uQCILcQw From: "Godwin, Liz" To: X-OriginalArrivalTime: 21 Jun 2004 14:34:20.0173 (UTC) FILETIME=[D6B223D0:01C4579C] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i5LEaOdx011236 Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2004 14:36:25 -0000 In my mind, I would want to do the reverse. Download/Save an SLD first, and then make chnages to it, and apply it to the map. I just assumed that download(save) SLD would extract (WMS request - GetStyles) on the active layer. This doesn't happen because I can do it manually using the same service being accessed by the context file. Ok.. So I made my own SLD using a manual request on Mapserver (version=1.1.1&request=getStyles&layer=park - using gmap demo wms service) and then tried to open this using the open widget, and it failed. Nothing happened. What now? Liz -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: June 18, 2004 5:21 PM To: Godwin, Liz Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] save SLD/open SLD widgets Liz, I just tried this (as per comments in bug: http://www.maptools.org/bugzilla/show_bug.cgi?id=456 and it works fine for me ... what exactly are you trying to do? A layer must have classes and styles associated with it to be available for extracting an SLD document for it. So I should explain ... In the client map file (either loaded by Context or MAP file) you will have WMS layers. When you Upload an SLD, the SLD is applied to the layers in the map file by finding a layer of the appropriate name for each NamedLayer element in the SLD, and then classes and styles are created for each rule/symbolizer. When you download the SLD document, it does the reverse ... so for each WMS layer, it will create a NamedLayer in the generated SLD and create rules and symbolizers for each of the class/styles on each layer. Right now, the only way to create these classes/styles is to upload an SLD first or use the sample_other with the SECTPopup widget (which does have some problems still), or create a MAP file with WMS client layers and create classes/styles on them (if you do this, you need to add a metadata item to your layer "wms_sld_body" "auto" (I think this is right) Cheers, Paul Godwin, Liz wrote: > Could someone (Paul ? ) please explain how the Open/Save SLD widgets > are > supposed to work? When I try to use them (in ogc sample) it says that > there are no layers or classes to export. Should I be doing something > first? Is there a setting somewhere? > > Thanks! > > Liz Godwin > > > ---------------------------------------------------------------------- > -- > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Tom.Kralidis@ec.gc.ca Mon Jun 21 10:54:11 2004 Received: from ECNWRI1.ontario.int.ec.gc.ca (ecolink.cciw.ca [192.75.68.254]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5LEsBdx011362 for ; Mon, 21 Jun 2004 10:54:11 -0400 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Subject: RE: [Chameleon] performance of drawmap.php Date: Mon, 21 Jun 2004 10:54:08 -0400 Message-ID: <2576812186CDD411BF1500508B6DCE9507367047@ecnwri1.ontario.int.ec.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Chameleon] performance of drawmap.php Thread-Index: AcRH5au1PvIn491ETlCn7ZCNW1XH8APuNUDQ From: "Kralidis,Tom [Burlington]" To: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i5LEsBdx011362 X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2004 14:54:12 -0000 Hi, For those who are using the Environment Canada Waterhsed Lookup Service widget, the service has been relocated: from: http://devgeo.eman-rese.ca:8686/WatershedLookup/WatershedLookupServlet to: http://devgeo.cciw.ca:8080/WatershedLookupServlet/WatershedLookupServlet Paul Spencer has already committed this change in cvs. Here is the bugzilla URL: http://www.maptools.org/bugzilla/show_bug.cgi?id=454 ...so this is up to date for cvs downloaders as well as future versions. For those who are using the service currently, you can change the string from/to (as per above). Cheers ..Tom ========================= Tom Kralidis Systems Scientist Environment Canada Tel: +01-905-336-4409 http://www.ec.gc.ca/ From Tom.Kralidis@ec.gc.ca Mon Jun 21 11:08:37 2004 Received: from ECNWRI1.ontario.int.ec.gc.ca (ecolink.cciw.ca [192.75.68.254]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5LF8bdx011461 for ; Mon, 21 Jun 2004 11:08:37 -0400 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Date: Mon, 21 Jun 2004 11:08:34 -0400 Message-ID: <2576812186CDD411BF1500508B6DCE9507367049@ecnwri1.ontario.int.ec.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Locate widget update for new URL to Watershed Lookup service Thread-Index: AcRH5au1PvIn491ETlCn7ZCNW1XH8APuNUDQAAC7KBA= From: "Kralidis,Tom [Burlington]" To: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i5LF8bdx011461 Subject: [Chameleon] Locate widget update for new URL to Watershed Lookup service X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2004 15:08:38 -0000 (PS sorry for the double post, the first one had the wrong subject line) Hi, For those who are using the Environment Canada Waterhsed Lookup Service widget, the service has been relocated: from: http://devgeo.eman-rese.ca:8686/WatershedLookup/WatershedLookupServlet to: http://devgeo.cciw.ca:8080/WatershedLookupServlet/WatershedLookupServlet Paul Spencer has already committed this change in cvs. Here is the bugzilla URL: http://www.maptools.org/bugzilla/show_bug.cgi?id=454 ...so this is up to date for cvs downloaders as well as future versions. For those who are using the service currently, you can change the string from/to (as per above). Cheers ..Tom ========================= Tom Kralidis Systems Scientist Environment Canada Tel: +01-905-336-4409 http://www.ec.gc.ca/ From Godwinl@AGR.GC.CA Mon Jun 21 11:14:57 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5LFEvdx011660 for ; Mon, 21 Jun 2004 11:14:57 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i5LF2oBB017298; Mon, 21 Jun 2004 11:02:50 -0400 Received: from onncrxcn1.AGR.GC.CA ([10.117.15.130]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i5LFAhL2019150; Mon, 21 Jun 2004 11:10:43 -0400 Received: from onncrxms2.AGR.GC.CA ([10.117.15.28]) by onncrxcn1.AGR.GC.CA with Microsoft SMTPSVC(5.0.2195.6713); Mon, 21 Jun 2004 11:13:24 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: [Chameleon] save SLD/open SLD widgets Date: Mon, 21 Jun 2004 11:13:23 -0400 Message-ID: <482A7044F4DB2740884BAF6AFD7416092042EC@onncrxms2.agr.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Chameleon] save SLD/open SLD widgets Thread-Index: AcRVekOTrsuFkBS+RUq36R1JE8I8uQCILcQwAACoakA= From: "Godwin, Liz" To: X-OriginalArrivalTime: 21 Jun 2004 15:13:24.0908 (UTC) FILETIME=[4C444EC0:01C457A2] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i5LFEvdx011660 Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2004 15:14:58 -0000 Ok now I am thoroughly confused. I did some more debugging, and it seems that it is the service I'm using. Why I cannot tell just yet. I manually triied to apply the new sld to the same service I grabbed it from, and it didn't work. I will poke some more at this, but it seems not to be Chameleon's fault. Cheers, Liz -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Godwin, Liz Sent: June 21, 2004 10:34 AM To: spencer@dmsolutions.ca Cc: chameleon@lists.maptools.org Subject: RE: [Chameleon] save SLD/open SLD widgets In my mind, I would want to do the reverse. Download/Save an SLD first, and then make chnages to it, and apply it to the map. I just assumed that download(save) SLD would extract (WMS request - GetStyles) on the active layer. This doesn't happen because I can do it manually using the same service being accessed by the context file. Ok.. So I made my own SLD using a manual request on Mapserver (version=1.1.1&request=getStyles&layer=park - using gmap demo wms service) and then tried to open this using the open widget, and it failed. Nothing happened. What now? Liz -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: June 18, 2004 5:21 PM To: Godwin, Liz Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] save SLD/open SLD widgets Liz, I just tried this (as per comments in bug: http://www.maptools.org/bugzilla/show_bug.cgi?id=456 and it works fine for me ... what exactly are you trying to do? A layer must have classes and styles associated with it to be available for extracting an SLD document for it. So I should explain ... In the client map file (either loaded by Context or MAP file) you will have WMS layers. When you Upload an SLD, the SLD is applied to the layers in the map file by finding a layer of the appropriate name for each NamedLayer element in the SLD, and then classes and styles are created for each rule/symbolizer. When you download the SLD document, it does the reverse ... so for each WMS layer, it will create a NamedLayer in the generated SLD and create rules and symbolizers for each of the class/styles on each layer. Right now, the only way to create these classes/styles is to upload an SLD first or use the sample_other with the SECTPopup widget (which does have some problems still), or create a MAP file with WMS client layers and create classes/styles on them (if you do this, you need to add a metadata item to your layer "wms_sld_body" "auto" (I think this is right) Cheers, Paul Godwin, Liz wrote: > Could someone (Paul ? ) please explain how the Open/Save SLD widgets > are > supposed to work? When I try to use them (in ogc sample) it says that > there are no layers or classes to export. Should I be doing something > first? Is there a setting somewhere? > > Thanks! > > Liz Godwin > > > ---------------------------------------------------------------------- > -- > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From ken@rockies.ca Mon Jun 21 13:02:24 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5LH2Odx012335 for ; Mon, 21 Jun 2004 13:02:24 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id ffgreaaa for chameleon@lists.maptools.org; Mon, 21 Jun 2004 10:52:16 -0600 From: "Ken Sanderson" To: Date: Mon, 21 Jun 2004 11:03:08 -0600 Message-ID: <004201c457b1$a366aea0$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 In-reply-to: <008201c4557d$bc46dc50$31289f88@GLADSTONE> Importance: Normal Subject: [Chameleon] Could not find/open font... X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2004 17:02:24 -0000 I am still having problems with the fonts if, and only if, the map being drawn has text on it. The image will load fine if I zoom in to a section of ocean. So the map file is working fine, just something not right with the fonts. I looked at the paths for the font file as specified in the map file and it should be fine, so not sure what is wrong :/ The error message that repeats is: Warning: imagettfbbox(): Could not find/open font in G:\ArcIMS Data\chameleon\htdocs\common\buttonizer\buttonizer.php on line 530 Warning: imagettfbbox(): Could not find/open font in G:\ArcIMS Data\chameleon\htdocs\common\buttonizer\buttonizer.php on line 534 Warning: imagettftext(): Could not find/open font in G:\ArcIMS Data\chameleon\htdocs\common\buttonizer\buttonizer.php on line 600 Searching through the list archives the only other time that error message is found was some missing fonts, but the ones they said were missing I have. Here is what I have, am I missing any? fritqat fritqat.ttf fritqat-bold fritqtb0.ttf fritqat-italic fritqti0.ttf fritqat-bold-italic fritqtb2.ttf sans Vera.ttf sans-bold VeraBd.ttf sans-italic VeraIt.ttf sans-bold-italic VeraBI.ttf serif VeraSe.ttf serif-bold VeraSeBd.ttf mono VeraMono.ttf mono-bold VeraMoBd.ttf mono-italic VeraMoIt.ttf mono-bold-italic VeraMoBI.ttf Any other thoughts? I have copied all the same fonts and files from etc from samples folder and chameleon folder just in case, still no luck. Ken From darren_redfern2000@hotmail.com Mon Jun 21 13:43:31 2004 Received: from hotmail.com (bay17-f31.bay17.hotmail.com [64.4.43.81]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5LHhUdx012570 for ; Mon, 21 Jun 2004 13:43:31 -0400 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 21 Jun 2004 10:31:52 -0700 Received: from 65.93.33.46 by by17fd.bay17.hotmail.msn.com with HTTP; Mon, 21 Jun 2004 17:31:52 GMT X-Originating-IP: [65.93.33.46] X-Originating-Email: [darren_redfern2000@hotmail.com] X-Sender: darren_redfern2000@hotmail.com From: "Darren Redfern" To: chameleon@lists.maptools.org Subject: RE: [Chameleon] Using the Chameleon Wiki Date: Mon, 21 Jun 2004 13:31:52 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 21 Jun 2004 17:31:52.0301 (UTC) FILETIME=[A3DBE1D0:01C457B5] X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2004 17:43:31 -0000 Thanks for sending this message around Paul. And thanks, Liz, for starting the ball rolling. :-) As Paul mentioned, we are indeed working on improvements to the Chameleon Wiki and the Chameleon Community in general. I gave a presentation at the recent OSGIS/MUM2 conference where I discussed ideas with some Chameleon community members. I am going to be talking to my "team" at DMS about the observations we all gathered at the conference, then run some ideas by the people here to get an idea on how *we'd* like to proceed. But rest assured that one of the things that I learned at the recent conference is that the Chameleon Community (that's you) want to help build and structure the Community tools that are created for it. I think that's ideal and I'll be posting messages to this list in the coming weeks asking for contributions and collaboration - and sharing of information in every possible direction. In the meantime, I highly endorse Liz's idea of people who want to be active in the community dropping their names and information at the current Wiki: http://www.maptools.org/chameleon/wiki/ Rest assured that whatever information you put there will be used to further our new Community design or will end up in the "right" place in the new structure we all create. I am really looking forward to the evolution of our Community and think we'll all see great strides forward during the coming months. :-) Thanks. Darren Darren Redfern Product Manager DM Solutions Group >From: "Godwin, Liz" >To: >Subject: RE: [Chameleon] Using the Chameleon Wiki >Date: Thu, 17 Jun 2004 16:32:33 -0400 > >I've added a heading, and started a list of users on the front page. I >think it would be great if we added our names there so we can see who >the active users are. I've also linked my name to a wikipage so that I >can keep some notes. Names would be a start, and maybe location to get >a feel for world-wide useage? > >Cheers, > >Liz > > > >-----Original Message----- >From: chameleon-bounces@lists.maptools.org >[mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Paul Spencer >Sent: June 17, 2004 3:05 PM >To: chameleon@lists.maptools.org >Subject: [Chameleon] Using the Chameleon Wiki > > >All, > >you can access the Chameleon wiki at: > >http://www.maptools.org/chameleon/wiki/FrontPage > >The installation instructions are linked from that page, the direct link >is: > >http://www.maptools.org/chameleon/wiki/ChameleonInstallationInstructions >?action=show > >Regarding use of the wiki, right now the structure of the wiki is poor >and it is not being maintained at all. However, all is not lost. >Darren Redfern is currently in the process of designing a new, community > >oriented site using the wiki but with a lot of thought put into the >structure. > >In the mean time, we are going to use the current wiki to dump in >existing information to give him some place to start from in terms of >content. > >If anyone is interested in contributing, log into the wiki and start >adding stuff. If you are really intimidated by it, send the notes to me > >in PLAIN TEXT format and I will insert it into the wiki. If you don't >know where to put it, edit the main page and put a WikiWord there to >link to your subject, save the page, then click your new link to >generate a new page to put your stuff into. > >I'd really recommend that we keep the structure flat right now, all >pages linked from the main page if possible, and let Darren decide how >it can all be arranged as part of his work. > >Cheers, > >Paul >-- > ----------------------------------------------------------------- >|Paul Spencer pspencer@dmsolutions.ca | >|-----------------------------------------------------------------| >|Applications & Software Development | >|DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon From jlacroix@dmsolutions.ca Mon Jun 21 13:45:41 2004 Received: from angrenost.dmsolutions.ca (chic.dmsolutions.ca [207.96.191.142]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5LHjedx012597 for ; Mon, 21 Jun 2004 13:45:40 -0400 Received: from dmsolutions.ca (orthanc [192.168.4.8]) by angrenost.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id i5LHivY03405; Mon, 21 Jun 2004 13:44:57 -0400 Message-ID: <40D71E8E.2040202@dmsolutions.ca> Date: Mon, 21 Jun 2004 13:44:46 -0400 From: Julien-Samuel Lacroix Organization: DM Solutions User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "D'cruz,Steven [Ontario]" References: <9B09D75DF5B3494BA06E6FE478CE9CC10101A3A1@mgtserver3.ontario.int.ec.gc.ca> In-Reply-To: <9B09D75DF5B3494BA06E6FE478CE9CC10101A3A1@mgtserver3.ontario.int.ec.gc.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org Subject: [Chameleon] Re: SQL: Error registering widget X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2004 17:45:41 -0000 Hi Steven, First, please use the mailing list for chameleon specific questions. You will have more chances to get help. For your specific question, I think you are right, the widget is not correctly registered in your CWC2 instance. You use CWC2 right, not chameleon? I will suggest you to upgrade to the latest version of chameleon if it's possible. If you can't upgrade, then you will need to register the widget. I think the only thing you have to do is to add this at the bottom of your widget file: //register widget if (function_exists( "RegisterWidget" )) RegisterWidget( "QuickZoom", "QuickZoomWidget" ); just before the "?>". It's possible that I forgot a step to register widget, so if it does not work, let us know via the mailing-list. Also, you may encounter some problem because the SQLQuery widget have been design on chameleon 1.1, so it may have so problem to work directly out of the box with CWC2. Let us know. Cheers, Julien D'cruz,Steven [Ontario] wrote: > Greetings, > > In regards to the Chameleon application, I've recently attempted > to configure Chameleon for use with the SQLQuery widget. I've added > SQLQuery.widget.php, MapImageSharedResource.widget.php, expression.php, > and geomath.php. I've inserted the following line of code into the > template right before the image projection (MapDHTMLImage) for testing > purposes; > > USERNAME="username" PASSWORD="password"/> > > Where STATIONINFO is a table in the database, and I've used the proper > username/password/server/database selections. > > Whenever the CWC2 instance is run, the following error results in a > popup box; > ERROR: Widget Definition for SQLQuery not found. > > In addition, the following code appears immediately before the projected > map image; > USERNAME="username" PASSWORD="password"/> > > I'm of a mind that the problem has to do with the SQLQuery widget not > being properly added to our CWC2 instance, as it was copied from a -dev > instance widget folder to our production widget folder. Any > suggestions/help would be graciously appreciated > > > -Steven D'Cruz > > Steven.Dcruz@ec.gc.ca > > GIS/Web Developer > > Environment Canada > -- ------------------------------------------------------------ Julien-Samuel Lacroix jlacroix@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From dbradshaw@olver.com Mon Jun 21 15:36:10 2004 Received: from poser.olver.com (66-207-66-32.black.dmt.ntelos.net [66.207.66.32]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5LJa7dx013817 for ; Mon, 21 Jun 2004 15:36:09 -0400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C457C6.FED86883" Date: Mon, 21 Jun 2004 15:36:06 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: New User, Needs Help! thread-index: AcRXxv7UtL1tamRYQY+etnguhKpfew== From: "David Bradshaw" To: Subject: [Chameleon] New User, Needs Help! X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2004 19:36:11 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C457C6.FED86883 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Dear Users, I am VERY new to Chameleon and have a few questions. First of all, I am using this on a Windows XP and Apache platform. I am looking to install MS4W and Chameleon 1.99beta. I've downloaded from DM Solutions the following zip files: (1) http://www.maptools.org/dl/ms4w/ms4w_0.8.zip (2) http://www.maptools.org/dl/ms4w/chameleon_ms4w-1.99beta1.zip I have unzipped them to my hard drive. I have been following the chameleon installation instructions on the Wiki site but seem to have trouble with tmp folders and location/permissions: http://www.maptools.org/chameleon/wiki/ChameleonInstallationInstructions Question number 1. Where should these be "installed?" Is there a good example of the file structure hierarchy? I've unzipped them to c:\ms4w (I placed chameleon under the folder called apps) and was able to get the localhost to open the demos but I get several broken links. For example, in the http://localhost/chameleon/samples/ when I click on ROI Widget Pack Sample using widgets from the ROI widget pack I get the following error: Fatal error: Call to undefined function: ms_newsymbolobj() in C:\ms4w\apps\chameleon\htdocs\widgets\TrueNorth\TrueNorth.widget.php on line 213 Again, for example, in the http://localhost/chameleon/samples/ when I click on Enhanced Widget Pack's Sample using XML Theme Legend I get the following message returned:=20 Warning: [MapServer Error]: msSaveImage(): (../tmp/ms_tmp/108784539119681.png) in C:\ms4w\apps\chameleon\htdocs\widgets\Scalebar\Scalebar.widget.php on line 385 Fatal error: Failed writing image to ../tmp/ms_tmp/108784539119681.png in C:\ms4w\apps\chameleon\htdocs\widgets\Scalebar\Scalebar.widget.php on line 385=20 I get a lot more error messages if I do not have the folder "c:\tmp\ms_tmp." I do have this same-named folder under c:\ms4w\ and c:\ms4w\chameleon. Would the failed to write to /tmp/ms_tmp be a apache permissions problem? It seems to access the tmp folders ok but fails to write to them. Is there anything special that needs to be done in apache other then to create an alias in httpd.conf? Below is my httpd_chameleon.conf Alias /ms_tmp/ "../ms4w/tmp/ms_tmp/"=20 =20 Options Indexes MultiViews=20 AllowOverride None Order allow,deny Allow from all=20 =20 Alias /chameleon/admin "/ms4w/apps/chameleon/htdocs_admin"=20 =20 AllowOverride None=20 Options Indexes FollowSymLinks Multiviews =20 Order allow,deny=20 Allow from all=20 =20 =20 Alias /chameleon/docs "/ms4w/apps/chameleon/docs/html"=20 =20 AllowOverride None=20 Options Indexes FollowSymLinks Multiviews =20 Order allow,deny=20 Allow from all=20 =20 =20 Alias /chameleon/samples "/ms4w/apps/chameleon/samples/htdocs"=20 =20 AllowOverride None=20 Options Indexes FollowSymLinks Multiviews =20 Order allow,deny=20 Allow from all=20 =20 =20 Alias /chameleon "/ms4w/apps/chameleon/htdocs"=20 =20 AllowOverride None=20 Options Indexes FollowSymLinks Multiviews =20 Order allow,deny=20 Allow from all=20 =20 =20 I think this a great program with a lot of potential and I just need a little help getting out of the starting blocks! Thanks in advance, David This document, including attachments, is confidential and may be = privileged. If you are not an intended recipient, please notify the = sender, then delete and destroy the original message and all copies. You = should not copy, forward and/or disclose this message, in whole or in = part, without permission of the sender. If you receive this e-mail = message in error, please notify us immediately. Thank you. ------_=_NextPart_001_01C457C6.FED86883 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable New User, Needs Help!

Dear Users,

I am VERY new to Chameleon and have a = few questions.  First of all, I am using this on a  Windows XP = and Apache platform.  I am looking to install MS4W and Chameleon = 1.99beta.  I've downloaded from DM Solutions the following zip = files:

(1) http://www.maptools.org/dl/ms4w/ms4w_0.8.zip
(2) = http://www.maptools.org/dl/ms4w/chameleon_ms4w-1.99beta1.zip<= /U>

I have unzipped them to my hard = drive. I have been following the chameleon installation instructions on = the Wiki site but seem to have trouble with tmp folders and = location/permissions:  http://www.maptools.org/chameleon/wiki/ChameleonInstallationInstruct= ions


Question number 1.  Where = should these be "installed?"  Is there a good example of = the file structure hierarchy? I've unzipped them to c:\ms4w (I placed = chameleon under the folder called apps) and was able to get the = localhost to open the demos but I get several broken links. For example, = in the http://localhost/chameleon/samples/ when I click on ROI Widget Pack Sample using = widgets from the ROI widget pack I get the following error:

Fatal error: Call to undefined = function: ms_newsymbolobj() in = C:\ms4w\apps\chameleon\htdocs\widgets\TrueNorth\TrueNorth.widget.php on = line 213

Again, for example, in the = http://localhost/chameleon/samples/ when I click on Enhanced Widget Pack’s = Sample using XML Theme Legend I get the following message returned: =

Warning: [MapServer Error]: = msSaveImage(): (../tmp/ms_tmp/108784539119681.png) in = C:\ms4w\apps\chameleon\htdocs\widgets\Scalebar\Scalebar.widget.php on = line 385

Fatal error: Failed writing image = to ../tmp/ms_tmp/108784539119681.png in = C:\ms4w\apps\chameleon\htdocs\widgets\Scalebar\Scalebar.widget.php on = line 385

I get a lot more error messages if I do = not have the folder "c:\tmp\ms_tmp."  I do have this = same-named folder under c:\ms4w\ and c:\ms4w\chameleon.

Would the failed to write to = /tmp/ms_tmp be a apache permissions problem?  It seems to access = the tmp folders ok but fails to write to them.  Is there anything = special that needs to be done in apache other then to create an alias in = httpd.conf?

Below is my httpd_chameleon.conf

Alias /ms_tmp/ = "../ms4w/tmp/ms_tmp/"
<Directory = "/tmp/ms_tmp">
   Options Indexes = MultiViews
   AllowOverride None
   Order allow,deny
   Allow from all
</Directory> 

Alias /chameleon/admin = "/ms4w/apps/chameleon/htdocs_admin"
<Directory = "/ms4w/apps/chameleon/htdocs_admin">
  AllowOverride None
  Options Indexes FollowSymLinks = Multiviews 
  Order allow,deny
  Allow from all
</Directory>
 
Alias /chameleon/docs = "/ms4w/apps/chameleon/docs/html"
<Directory = "/ms4w/apps/chameleon/docs/html">
  AllowOverride None
  Options Indexes FollowSymLinks = Multiviews 
  Order allow,deny
  Allow from all
</Directory>
 
Alias /chameleon/samples = "/ms4w/apps/chameleon/samples/htdocs"
<Directory = "/ms4w/apps/chameleon/samples/htdocs">
  AllowOverride None
  Options Indexes FollowSymLinks = Multiviews 
  Order allow,deny
  Allow from all
</Directory>
 
Alias /chameleon = "/ms4w/apps/chameleon/htdocs"
<Directory = "/ms4w/apps/chameleon/htdocs">
  AllowOverride None
  Options Indexes FollowSymLinks = Multiviews 
  Order allow,deny
  Allow from all
</Directory>
 

I think this a great program with a lot = of potential and I just need a little help getting out of the starting = blocks!


Thanks in advance,

David

This document, including attachments, is = confidential and may be privileged. If you are not an intended = recipient, please notify the sender, then delete and destroy the = original message and all copies. You should not copy, forward and/or = disclose this message, in whole or in part, without permission of the = sender. If you receive this e-mail message in error, please notify us = immediately. Thank you.

------_=_NextPart_001_01C457C6.FED86883-- From bartvde@xs4all.nl Mon Jun 21 15:49:00 2004 Received: from smtp-out5.xs4all.nl (smtp-out5.xs4all.nl [194.109.24.6]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5LJmxdx013873 for ; Mon, 21 Jun 2004 15:49:00 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out5.xs4all.nl (8.12.10/8.12.10) with ESMTP id i5LJmmUY047828; Mon, 21 Jun 2004 21:48:53 +0200 (CEST) Date: Mon, 21 Jun 2004 21:48:45 +0200 To: David Bradshaw , chameleon@lists.maptools.org Subject: Re: [Chameleon] New User, Needs Help! References: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: User-Agent: Opera7.23/Win32 M2 build 3227 Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: bartvde@xs4all.nl List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2004 19:49:00 -0000 Hi David, some of the 1.99 widgets require you updating to Mapserver/Mapscript 4.2. So install: http://www.maptools.org/dl/ms4w/mapserver_ms4w-4.2.0-20040607.zip MS4W is intended for root use, so you can use it at c: or d: etc. no problem. Only do not place it in a subdirectory as then you need to do quite some configuring. My ms_tmp is at: c:\ms4w\tmp\ms_tmp which is the default I believe. Also create: c:\ms4w\tmp\ms_tmp\buttons Normally you do not need a ms_tmp alias in httpd_chameleon.conf. I suggest removing it and trying with the above mentioned locations. Hope this helps. Let us know. Best regards, Bart On Mon, 21 Jun 2004 15:36:06 -0400, David Bradshaw wrote: > Dear Users, > > I am VERY new to Chameleon and have a few questions. First of all, I am > using this on a Windows XP and Apache platform. I am looking to > install MS4W and Chameleon 1.99beta. I've downloaded from DM Solutions > the following zip files: > (1) http://www.maptools.org/dl/ms4w/ms4w_0.8.zip > (2) http://www.maptools.org/dl/ms4w/chameleon_ms4w-1.99beta1.zip > > I have unzipped them to my hard drive. I have been following the > chameleon installation instructions on the Wiki site but seem to have > trouble with tmp folders and location/permissions: > http://www.maptools.org/chameleon/wiki/ChameleonInstallationInstructions > > > Question number 1. Where should these be "installed?" Is there a good > example of the file structure hierarchy? I've unzipped them to c:\ms4w > (I placed chameleon under the folder called apps) and was able to get > the localhost to open the demos but I get several broken links. For > example, in the http://localhost/chameleon/samples/ when I click on ROI > Widget Pack Sample using widgets from the ROI widget pack I get the > following error: > > Fatal error: Call to undefined function: ms_newsymbolobj() in > C:\ms4w\apps\chameleon\htdocs\widgets\TrueNorth\TrueNorth.widget.php on > line 213 > > Again, for example, in the http://localhost/chameleon/samples/ when I > click on Enhanced Widget Pack's Sample using XML Theme Legend I get the > following message returned: > > Warning: [MapServer Error]: msSaveImage(): > (../tmp/ms_tmp/108784539119681.png) in > C:\ms4w\apps\chameleon\htdocs\widgets\Scalebar\Scalebar.widget.php on > line 385 > > Fatal error: Failed writing image to ../tmp/ms_tmp/108784539119681.png > in C:\ms4w\apps\chameleon\htdocs\widgets\Scalebar\Scalebar.widget.php on > line 385 > > I get a lot more error messages if I do not have the folder > "c:\tmp\ms_tmp." I do have this same-named folder under c:\ms4w\ and > c:\ms4w\chameleon. > > Would the failed to write to /tmp/ms_tmp be a apache permissions > problem? It seems to access the tmp folders ok but fails to write to > them. Is there anything special that needs to be done in apache other > then to create an alias in httpd.conf? > > Below is my httpd_chameleon.conf > > Alias /ms_tmp/ "../ms4w/tmp/ms_tmp/" > > Options Indexes MultiViews > AllowOverride None > Order allow,deny > Allow from all > > > Alias /chameleon/admin "/ms4w/apps/chameleon/htdocs_admin" > > AllowOverride None > Options Indexes FollowSymLinks Multiviews > Order allow,deny > Allow from all > > > Alias /chameleon/docs "/ms4w/apps/chameleon/docs/html" > > AllowOverride None > Options Indexes FollowSymLinks Multiviews > Order allow,deny > Allow from all > > > Alias /chameleon/samples "/ms4w/apps/chameleon/samples/htdocs" > > AllowOverride None > Options Indexes FollowSymLinks Multiviews > Order allow,deny > Allow from all > > > Alias /chameleon "/ms4w/apps/chameleon/htdocs" > > AllowOverride None > Options Indexes FollowSymLinks Multiviews > Order allow,deny > Allow from all > > > > I think this a great program with a lot of potential and I just need a > little help getting out of the starting blocks! > > > Thanks in advance, > > David > > This document, including attachments, is confidential and may be > privileged. If you are not an intended recipient, please notify the > sender, then delete and destroy the original message and all copies. You > should not copy, forward and/or disclose this message, in whole or in > part, without permission of the sender. If you receive this e-mail > message in error, please notify us immediately. Thank you. > > > -- From dbradshaw@olver.com Mon Jun 21 16:11:20 2004 Received: from poser.olver.com (66-207-66-32.black.dmt.ntelos.net [66.207.66.32]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5LKBHdx014092 for ; Mon, 21 Jun 2004 16:11:19 -0400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 21 Jun 2004 16:11:16 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Chameleon Digest, Vol 3, Issue 24 thread-index: AcRXyNrYp/iLYBUkTWym8Z2RKAHd9wAAlKIg From: "David Bradshaw" To: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i5LKBHdx014092 Subject: [Chameleon] RE: Chameleon Digest, Vol 3, Issue 24 X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2004 20:11:20 -0000 Dear Bart, That helped a lot but led to the following... If the tmp folder is not directly on the c:\ then I get this: Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/25ced96a80c81d1ad10a498c9f5d74df.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/55e61a3934ab002a85e3012638844428.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/36f421b9d4f61ae1a79fdd73dbae09c3.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/3ecdeb8c5fd918821f2322f993967dbd.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/081e2b9dbb41acf75a594111e8047ff0.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/9d19529dfea7f81f28e029270d9ff511.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/c4e54a7dc998c2f6f25898130c82455a.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/cc88750213fc09ecb1b63a8a94b76365.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/25c5c490496f39c233ada99f13997e1f.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/383ae9e487ec0215973fdc327566c133.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/c44c283962c2578d5cbc434297e3fad6.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/123f7b779d70a129012a3479d20b6478.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/e6356c643031bf7b9206ffd82e0f9398.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/5ba239e70424a38c6b53d37d8e5c1d58.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/e93dd992b213f7a115da8c47fcff2167.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/395942948e47786f00dfe08801bea8a1.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/fc2e229b087c6263023c42a71266dabb.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/f08e4b853f14f0c96163f18a2ca8cf85.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/8cceb898855fafc6fb3a6786fa79cfc8.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/3f6c83597bc90345778da86511a79eb1.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/de0345be41d44295d05c1cc12124fd6b.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/aca5e1d084c14be54b512c074e2ab556.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/75071d6ce8dfc77a28bef3dd649c8943.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/fd51c9b10b5315ff96ad9a2f3aaa090b.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/1ca1f9f6fb931e3abdb7785764b1f768.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/ad0d185be7ca19787f799b4fc39f30ae.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/aa8a1b5e1232897c02f9fc40aa1158e7.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/0028477bc9222dac9aff63a6df59356f.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/e76af0f8574362e4e631495adb44034c.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/d2572f7d979fef8f3654e0cd1dd82189.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/2449fe7730d3d04499b38722558b7c3a.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/879c5e04f317964f5b6e4d146c6a3766.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/c0270d567aadaa4e5aaaab7e6c523ed8.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/58adab8f1d76a5a1f02ee0c024355ee0.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/1e7c78add84a9d3afb1aae4705e5d8c7.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/1240e6b8d4887f4ba1a45090d01c059b.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/b2c932d2f9ebc87f861b5d0da91f780e.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/f705dea7b246ae233941ef9b1fc31791.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/3592ce46fb9cbb14479438edec2869dc.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/e33180fec4f6a6171d13ab20407e243a.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/1e7cf7a21a0566e333a1b2b60ffe4eda.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/00c11690a40f6abfa7f92bfb876ba8d9.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/c04d92e8cf8e00e7c3c4653626520db7.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/db0ee62181ea8cc77ab6a1c608be5c54.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/006c137c8f85c71e5fd464c45072034a.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/3583a0b3fc558a22da912288204e74f5.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/fae1747b28a0320236958eb1ad365aa8.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/a863b6dae8615142cd7f0c4033caaaeb.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/ff97cbf0e9f9a93961c44e7288ea9994.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/9f9e48b702219551bedadfd026b8c62a.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/f87536029dea409937bd37a76ed18a45.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/91fded462b51a31c82efb0225c68ef08.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/d9174478726548fee993730a8d8736b2.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/6b6619a93b4d9396acbacbd4c9bfd3a2.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/d285669d5eb6e630d6bc40bf9e1a40dd.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/dc62df9e7f2561f89d65a030644f7d2a.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/5839cad3fd5598d4a19d0e5b57bbace1.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/f54862ca9357a8b01990b14d3fb4e6d8.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/ff4ac706ad26411a5aa6b222463cfbdb.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: imagepng(): Unable to open '/tmp/ms_tmp/buttons/9dabc607a610124c3ed8903e6fad9fc4.png' for writing in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on line 634 Warning: [MapServer Error]: msSaveImage(): (/tmp/ms_tmp/108784839332441.png) in C:\ms4w\apps\chameleon\htdocs\widgets\Scalebar\Scalebar.widget.php on line 385 Fatal error: Failed writing image to /tmp/ms_tmp/108784839332441.png in C:\ms4w\apps\chameleon\htdocs\widgets\Scalebar\Scalebar.widget.php on line 385 If it is on the c:\ then I get broken image links to some buttons. What do you think? David This document, including attachments, is confidential and may be privileged. If you are not an intended recipient, please notify the sender, then delete and destroy the original message and all copies. You should not copy, forward and/or disclose this message, in whole or in part, without permission of the sender. If you receive this e-mail message in error, please notify us immediately. Thank you. From bartvde@xs4all.nl Mon Jun 21 16:21:59 2004 Received: from smtp-out6.xs4all.nl (smtp-out6.xs4all.nl [194.109.24.7]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5LKLwdx014136 for ; Mon, 21 Jun 2004 16:21:59 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out6.xs4all.nl (8.12.10/8.12.10) with ESMTP id i5LKLmew004953; Mon, 21 Jun 2004 22:21:52 +0200 (CEST) To: David Bradshaw , chameleon@lists.maptools.org Subject: Re: [Chameleon] RE: Chameleon Digest, Vol 3, Issue 24 References: Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Mon, 21 Jun 2004 22:21:44 +0200 In-Reply-To: User-Agent: Opera7.23/Win32 M2 build 3227 Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: bartvde@xs4all.nl List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2004 20:22:00 -0000 Hi David, what does it say in your cwc2.xml config file with the following entries: button_cache_path /ms4w/tmp/ms_tmp/buttons/ Directory in which to write image files generated for buttons. This directory must be writable by the web server user and web accessible. For performance reasons, this directory should not be cleaned out automatically. button_cache_web_path /ms_tmp/buttons/ The URL where a browser can find cached button images. tmp_web_path /ms_tmp/ URL where browser can find temporary files as context or images tmp_img_path /ms4w/tmp/ms_tmp/ Directory where temporary image files are put. Best regards, Bart On Mon, 21 Jun 2004 16:11:16 -0400, David Bradshaw wrote: > Dear Bart, > > That helped a lot but led to the following... > > If the tmp folder is not directly on the c:\ then I get this: > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/25ced96a80c81d1ad10a498c9f5d74df.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/55e61a3934ab002a85e3012638844428.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/36f421b9d4f61ae1a79fdd73dbae09c3.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/3ecdeb8c5fd918821f2322f993967dbd.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/081e2b9dbb41acf75a594111e8047ff0.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/9d19529dfea7f81f28e029270d9ff511.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/c4e54a7dc998c2f6f25898130c82455a.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/cc88750213fc09ecb1b63a8a94b76365.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/25c5c490496f39c233ada99f13997e1f.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/383ae9e487ec0215973fdc327566c133.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/c44c283962c2578d5cbc434297e3fad6.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/123f7b779d70a129012a3479d20b6478.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/e6356c643031bf7b9206ffd82e0f9398.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/5ba239e70424a38c6b53d37d8e5c1d58.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/e93dd992b213f7a115da8c47fcff2167.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/395942948e47786f00dfe08801bea8a1.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/fc2e229b087c6263023c42a71266dabb.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/f08e4b853f14f0c96163f18a2ca8cf85.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/8cceb898855fafc6fb3a6786fa79cfc8.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/3f6c83597bc90345778da86511a79eb1.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/de0345be41d44295d05c1cc12124fd6b.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/aca5e1d084c14be54b512c074e2ab556.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/75071d6ce8dfc77a28bef3dd649c8943.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/fd51c9b10b5315ff96ad9a2f3aaa090b.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/1ca1f9f6fb931e3abdb7785764b1f768.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/ad0d185be7ca19787f799b4fc39f30ae.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/aa8a1b5e1232897c02f9fc40aa1158e7.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/0028477bc9222dac9aff63a6df59356f.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/e76af0f8574362e4e631495adb44034c.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/d2572f7d979fef8f3654e0cd1dd82189.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/2449fe7730d3d04499b38722558b7c3a.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/879c5e04f317964f5b6e4d146c6a3766.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/c0270d567aadaa4e5aaaab7e6c523ed8.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/58adab8f1d76a5a1f02ee0c024355ee0.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/1e7c78add84a9d3afb1aae4705e5d8c7.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/1240e6b8d4887f4ba1a45090d01c059b.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/b2c932d2f9ebc87f861b5d0da91f780e.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/f705dea7b246ae233941ef9b1fc31791.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/3592ce46fb9cbb14479438edec2869dc.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/e33180fec4f6a6171d13ab20407e243a.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/1e7cf7a21a0566e333a1b2b60ffe4eda.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/00c11690a40f6abfa7f92bfb876ba8d9.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/c04d92e8cf8e00e7c3c4653626520db7.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/db0ee62181ea8cc77ab6a1c608be5c54.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/006c137c8f85c71e5fd464c45072034a.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/3583a0b3fc558a22da912288204e74f5.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/fae1747b28a0320236958eb1ad365aa8.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/a863b6dae8615142cd7f0c4033caaaeb.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/ff97cbf0e9f9a93961c44e7288ea9994.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/9f9e48b702219551bedadfd026b8c62a.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/f87536029dea409937bd37a76ed18a45.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/91fded462b51a31c82efb0225c68ef08.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/d9174478726548fee993730a8d8736b2.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/6b6619a93b4d9396acbacbd4c9bfd3a2.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/d285669d5eb6e630d6bc40bf9e1a40dd.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/dc62df9e7f2561f89d65a030644f7d2a.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/5839cad3fd5598d4a19d0e5b57bbace1.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/f54862ca9357a8b01990b14d3fb4e6d8.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/ff4ac706ad26411a5aa6b222463cfbdb.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: imagepng(): Unable to open > '/tmp/ms_tmp/buttons/9dabc607a610124c3ed8903e6fad9fc4.png' for writing > in C:\ms4w\apps\chameleon\htdocs\common\buttonizer\buttonizer.php on > line 634 > > Warning: [MapServer Error]: msSaveImage(): > (/tmp/ms_tmp/108784839332441.png) in > C:\ms4w\apps\chameleon\htdocs\widgets\Scalebar\Scalebar.widget.php on > line 385 > > Fatal error: Failed writing image to /tmp/ms_tmp/108784839332441.png in > C:\ms4w\apps\chameleon\htdocs\widgets\Scalebar\Scalebar.widget.php on > line 385 > > If it is on the c:\ then I get broken image links to some buttons. > > What do you think? > > David > > > This document, including attachments, is confidential and may be > privileged. If you are not an intended recipient, please notify the > sender, then delete and destroy the original message and all copies. You > should not copy, forward and/or disclose this message, in whole or in > part, without permission of the sender. If you receive this e-mail > message in error, please notify us immediately. Thank you. > > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- From ken@rockies.ca Mon Jun 21 19:51:21 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5LNpLdx015502 for ; Mon, 21 Jun 2004 19:51:21 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id rghreaaa for chameleon@lists.maptools.org; Mon, 21 Jun 2004 17:42:44 -0600 From: "Ken Sanderson" To: Subject: RE: [Chameleon] Could not find/open font... Date: Mon, 21 Jun 2004 17:53:38 -0600 Message-ID: <000a01c457ea$fbe52a00$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 In-Reply-To: <004201c457b1$a366aea0$31289f88@GLADSTONE> X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2004 23:51:22 -0000 Well I have found the problem and fixed it. Posting again just in case anyone else has the problem sometime in the future and are searching the archives. The problem is completely unrelated to Chameleon, instead the problem is that with PHP version 4.3.5 (likely other versions as well) in that the functions imagettfbbox() and imagettftext() do not work if the path string provided has a space. Ken -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Ken Sanderson Sent: June 21, 2004 11:03 AM To: chameleon@lists.maptools.org Subject: [Chameleon] Could not find/open font... I am still having problems with the fonts if, and only if, the map being drawn has text on it. The image will load fine if I zoom in to a section of ocean. So the map file is working fine, just something not right with the fonts. I looked at the paths for the font file as specified in the map file and it should be fine, so not sure what is wrong :/ The error message that repeats is: Warning: imagettfbbox(): Could not find/open font in G:\ArcIMS Data\chameleon\htdocs\common\buttonizer\buttonizer.php on line 530 Warning: imagettfbbox(): Could not find/open font in G:\ArcIMS Data\chameleon\htdocs\common\buttonizer\buttonizer.php on line 534 Warning: imagettftext(): Could not find/open font in G:\ArcIMS Data\chameleon\htdocs\common\buttonizer\buttonizer.php on line 600 Searching through the list archives the only other time that error message is found was some missing fonts, but the ones they said were missing I have. Here is what I have, am I missing any? fritqat fritqat.ttf fritqat-bold fritqtb0.ttf fritqat-italic fritqti0.ttf fritqat-bold-italic fritqtb2.ttf sans Vera.ttf sans-bold VeraBd.ttf sans-italic VeraIt.ttf sans-bold-italic VeraBI.ttf serif VeraSe.ttf serif-bold VeraSeBd.ttf mono VeraMono.ttf mono-bold VeraMoBd.ttf mono-italic VeraMoIt.ttf mono-bold-italic VeraMoBI.ttf Any other thoughts? I have copied all the same fonts and files from etc from samples folder and chameleon folder just in case, still no luck. Ken _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From jlacroix@dmsolutions.ca Tue Jun 22 11:51:25 2004 Received: from angrenost.dmsolutions.ca (chic.dmsolutions.ca [207.96.191.142]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5MFpOdx022600 for ; Tue, 22 Jun 2004 11:51:24 -0400 Received: from dmsolutions.ca (orthanc [192.168.4.8]) by angrenost.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id i5MFpBY05539; Tue, 22 Jun 2004 11:51:11 -0400 Message-ID: <40D85561.8090000@dmsolutions.ca> Date: Tue, 22 Jun 2004 11:50:57 -0400 From: Julien-Samuel Lacroix Organization: DM Solutions User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "D'cruz,Steven [Ontario]" References: <9B09D75DF5B3494BA06E6FE478CE9CC10101A3A3@mgtserver3.ontario.int.ec.gc.ca> In-Reply-To: <9B09D75DF5B3494BA06E6FE478CE9CC10101A3A3@mgtserver3.ontario.int.ec.gc.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org Subject: [Chameleon] Re: SQL: Error registering widget X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2004 15:51:25 -0000 Hi, See comment inline. D'cruz,Steven [Ontario] wrote: > Thanks a lot for the help. As it turns out, we can't really use > SQLQuery, as it seems to work only for MySQL databases, whereas we wish > to use an SQL Server 2000 (MS) via the freetds drivers. You are right, currently the SQLQuery widget support only MySQL connection. However, it as been designed to support multiple servers as long as you can access them via php. So may be possible for a developper to add this support. > Also, do you happen to know where the event for the mouseclick > event can be found in the CWC2 demo? We're trying to make it such that > when the user clicks on one particular layer (out of about 30), they are > redirected to a different page entirely, with data from the point > clicked sent to the new URL as a parameter... I'm unsure how to capture > the point when the user clicks on the map. Any help would be greatly > appreciated. I will let Chameleon expert reply to this, but my guess will be to check in the Query widget. > Finally, I'm sorry about not posting these messages on the mail > lists ... The main problem I ran into was that I couldn't figure out how > to post in general ... Check here: http://lists.maptools.org/mailman/listinfo/chameleon > > Steven D'Cruz > > Web Developer > > Environment Canada > Julien -- ------------------------------------------------------------ Julien-Samuel Lacroix jlacroix@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From dbradshaw@olver.com Tue Jun 22 16:55:23 2004 Received: from poser.olver.com (66-207-66-32.black.dmt.ntelos.net [66.207.66.32]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5MKtJdx025340 for ; Tue, 22 Jun 2004 16:55:23 -0400 Content-Class: urn:content-classes:message Date: Tue, 22 Jun 2004 16:55:18 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-ID: X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Chameleon Digest, Vol 3, Issue 26 thread-index: AcRYcggrgeWSKDHPRwu0kVFw0FY6+AAJ84zg From: "David Bradshaw" To: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i5MKtJdx025340 Subject: [Chameleon] RE: Chameleon Digest, Vol 3, Issue 26 X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2004 20:55:23 -0000 Dear Group: Okay, now that I have MapServer's demos up and running and I can see all the widgets from the samples folder, I am a veteran of MapServer with one day under my belt (I have Bart from the Netherlands and Jeff from DL Solutions to thank for the progress thus far. I am ready to conquer the bounds and push the system to its limits. One small question though. Where do I go from here. Let's say I have a three Shapefiles names 1.shp, 2.shp, and 3.shp. Where do I begin to make edits to set up my own application. I like all the bells and whistles of the sample: Chameleon Sample - Enhanced Widgets, with Buttonizer and Template Includes as found in the \samples folder. Let's say Shapefiles 1&2 are polygons and 3 is a line and the extents of the map are: 8557578 -1529902 18314465 5951663. I will want to be able to click on the features of each layer to get information about each but I can save that question for later, right now I just want to begin setting up my own custom application to see my Shapefiles. Any thoughts? David This document, including attachments, is confidential and may be privileged. If you are not an intended recipient, please notify the sender, then delete and destroy the original message and all copies. You should not copy, forward and/or disclose this message, in whole or in part, without permission of the sender. If you receive this e-mail message in error, please notify us immediately. Thank you. From bartvde@xs4all.nl Tue Jun 22 17:24:46 2004 Received: from smtp-out1.xs4all.nl (smtp-out1.xs4all.nl [194.109.24.11]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5MLOkdx025839 for ; Tue, 22 Jun 2004 17:24:46 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-out1.xs4all.nl (8.12.10/8.12.10) with ESMTP id i5MLOTeK060099; Tue, 22 Jun 2004 23:24:39 +0200 (CEST) Date: Tue, 22 Jun 2004 23:24:25 +0200 To: David Bradshaw , chameleon@lists.maptools.org Subject: Re: [Chameleon] using my own data with Chameleon References: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: User-Agent: Opera7.23/Win32 M2 build 3227 Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: bartvde@xs4all.nl List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2004 21:24:47 -0000 Hi David, firstly, maybe changing the subject line of the e-mail once in a while may help :) Serving your own data with the sample application (I would suggest using sample_basic to start with) would involve editing the MAP file that these "non-OGC" samples use: c:\ms4w\apps\chameleon\samples\map\chameleon.map Place your own shapefiles in: c:\ms4w\apps\chameleon\samples\data and start editing the chameleon.map file to add them (add LAYERs). I don't know if your shapefiles are in the same projection as the samples are (=epsg:42304). Try studying the Mapserver MAP file documentation if you get stuck: http://mapserver.gis.umn.edu/doc42/mapfile-reference.html If you get this far, the next step would be building your own Chameleon application and pointing to an application MAP file with only your own data. Then deciding on whether you want local data in Chameleon or data served through OGC:WMS/OGC:WFS. Best regards, Bart On Tue, 22 Jun 2004 16:55:18 -0400, David Bradshaw wrote: > Dear Group: > > Okay, now that I have MapServer's demos up and running and I can see all > the widgets from the samples folder, I am a veteran of MapServer with > one day under my belt (I have Bart from the Netherlands and Jeff from DL > Solutions to thank for the progress thus far. I am ready to conquer the > bounds and push the system to its limits. One small question though. > Where do I go from here. Let's say I have a three Shapefiles names > 1.shp, 2.shp, and 3.shp. Where do I begin to make edits to set up my > own application. I like all the bells and whistles of the sample: > Chameleon Sample - Enhanced Widgets, with Buttonizer and Template > Includes as found in the \samples folder. Let's say Shapefiles 1&2 are > polygons and 3 is a line and the extents of the map are: 8557578 > -1529902 18314465 5951663. > > I will want to be able to click on the features of each layer to get > information about each but I can save that question for later, right now > I just want to begin setting up my own custom application to see my > Shapefiles. > > Any thoughts? > > David > > > This document, including attachments, is confidential and may be > privileged. If you are not an intended recipient, please notify the > sender, then delete and destroy the original message and all copies. You > should not copy, forward and/or disclose this message, in whole or in > part, without permission of the sender. If you receive this e-mail > message in error, please notify us immediately. Thank you. > > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- From pagameba@magma.ca Wed Jun 23 07:08:27 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5NB8Rdx031578 for ; Wed, 23 Jun 2004 07:08:27 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i5NB8QvK014113; Wed, 23 Jun 2004 07:08:26 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i5NB8Oxe001546; Wed, 23 Jun 2004 07:08:26 -0400 Message-ID: <40D9649D.70904@magma.ca> Date: Wed, 23 Jun 2004 07:08:13 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Godwin, Liz" Subject: Re: [Chameleon] save SLD/open SLD widgets References: <482A7044F4DB2740884BAF6AFD7416092042EB@onncrxms2.agr.gc.ca> In-Reply-To: <482A7044F4DB2740884BAF6AFD7416092042EB@onncrxms2.agr.gc.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org, spencer@dmsolutions.ca X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2004 11:08:27 -0000 Liz, please file a bug with exact steps to reproduce and attach the generated SLD. I won't get to this for a couple of weeks as I am on vacation :) Cheers, Paul Godwin, Liz wrote: > In my mind, I would want to do the reverse. Download/Save an SLD first, > and then make chnages to it, and apply it to the map. > > I just assumed that download(save) SLD would extract (WMS request - > GetStyles) on the active layer. This doesn't happen because I can do it > manually using the same service being accessed by the context file. > > Ok.. So I made my own SLD using a manual request on Mapserver > (version=1.1.1&request=getStyles&layer=park - using gmap demo wms > service) and then tried to open this using the open widget, and it > failed. Nothing happened. > > What now? > > Liz > > -----Original Message----- > From: Paul Spencer [mailto:pagameba@magma.ca] > Sent: June 18, 2004 5:21 PM > To: Godwin, Liz > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] save SLD/open SLD widgets > > > Liz, > > I just tried this (as per comments in bug: > > http://www.maptools.org/bugzilla/show_bug.cgi?id=456 > > and it works fine for me ... what exactly are you trying to do? A layer > > must have classes and styles associated with it to be available for > extracting an SLD document for it. > > So I should explain ... > > In the client map file (either loaded by Context or MAP file) you will > have WMS layers. When you Upload an SLD, the SLD is applied to the > layers in the map file by finding a layer of the appropriate name for > each NamedLayer element in the SLD, and then classes and styles are > created for each rule/symbolizer. When you download the SLD document, > it does the reverse ... so for each WMS layer, it will create a > NamedLayer in the generated SLD and create rules and symbolizers for > each of the class/styles on each layer. Right now, the only way to > create these classes/styles is to upload an SLD first or use the > sample_other with the SECTPopup widget (which does have some problems > still), or create a MAP file with WMS client layers and create > classes/styles on them (if you do this, you need to add a metadata item > to your layer "wms_sld_body" "auto" (I think this is right) > > Cheers, > > Paul > > Godwin, Liz wrote: > > >>Could someone (Paul ? ) please explain how the Open/Save SLD widgets >>are >>supposed to work? When I try to use them (in ogc sample) it says that > > >>there are no layers or classes to export. Should I be doing something > > >>first? Is there a setting somewhere? >> >>Thanks! >> >>Liz Godwin >> >> >>---------------------------------------------------------------------- >>-- >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon > > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From dbradshaw@olver.com Thu Jun 24 09:03:26 2004 Received: from poser.olver.com (66-207-66-32.black.dmt.ntelos.net [66.207.66.32]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5OD2xdx016929 for ; Thu, 24 Jun 2004 09:03:25 -0400 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 Date: Thu, 24 Jun 2004 09:02:48 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: MapServer Sites thread-index: AcRZOzReL2aMM3CHTFq6Du/80lP3NQAsBl1Q From: "David Bradshaw" To: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i5OD2xdx016929 Subject: [Chameleon] MapServer Sites X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2004 13:03:26 -0000 Dear Group: Are there some examples of MapServer sites that you folks have designed that I could view. Regards, David L. Bradshaw This document, including attachments, is confidential and may be privileged. If you are not an intended recipient, please notify the sender, then delete and destroy the original message and all copies. You should not copy, forward and/or disclose this message, in whole or in part, without permission of the sender. If you receive this e-mail message in error, please notify us immediately. Thank you. From dmcilhagga@dmsolutions.ca Thu Jun 24 09:36:49 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5ODaldx017176 for ; Thu, 24 Jun 2004 09:36:49 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i5ODalp0009275; Thu, 24 Jun 2004 09:36:47 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail4.magma.ca (8.12.10/8.12.9) with ESMTP id i5ODal58024750; Thu, 24 Jun 2004 09:36:47 -0400 Message-ID: <40DADA2C.6020807@dmsolutions.ca> Date: Thu, 24 Jun 2004 09:42:04 -0400 From: Dave McIlhagga User-Agent: Mozilla Thunderbird 0.5 (Macintosh/20040208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: David Bradshaw Subject: Re: [Chameleon] MapServer Sites References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2004 13:36:49 -0000 Hi David, a number of applications developed by DM Solutions (with both MapServer and Chameleon) are available here: http://www.dmsolutions.ca/solutions/liveapps.html One of the nicer Chameleon applications I've seen that has been developed by the community is the CHiRP project in Whistler: http://www.chirpwhistler.info/Mapping/CHiRP.phtml If you want to see a very full list of applications with mapServer technology -- there is a gallery of applications on the main mapserver website at: http://mapserver.gis.umn.edu/gallery.html Hope that helps, Dave -- Dave McIlhagga President, DM Solutions Group http://www.dmsolutions.ca EMail : dmcilhagga@dmsolutions.ca Phone : 613-565-5056 x15 Fax : 613-565-0925 David Bradshaw wrote: > Dear Group: > > Are there some examples of MapServer sites that you folks have designed > that I could view. > > Regards, > > David L. Bradshaw > > > This document, including attachments, is confidential and may be privileged. If you are not an intended recipient, please notify the sender, then delete and destroy the original message and all copies. You should not copy, forward and/or disclose this message, in whole or in part, without permission of the sender. If you receive this e-mail message in error, please notify us immediately. Thank you. > > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From dbradshaw@olver.com Thu Jun 24 13:47:57 2004 Received: from poser.olver.com (66-207-66-32.black.dmt.ntelos.net [66.207.66.32]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5OHlsdx020405 for ; Thu, 24 Jun 2004 13:47:57 -0400 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 Date: Thu, 24 Jun 2004 13:47:53 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Projection Question thread-index: AcRaBF6iHQ65feH3TDmglGlRbZ5GlwADsrag From: "David Bradshaw" To: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i5OHlsdx020405 Subject: [Chameleon] Projection Question X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2004 17:47:58 -0000 This may sound simple but what would the projection be for Virginia, USA PROJECTION "init=epsg:42304" END Is there a listing for areas of the world? David This document, including attachments, is confidential and may be privileged. If you are not an intended recipient, please notify the sender, then delete and destroy the original message and all copies. You should not copy, forward and/or disclose this message, in whole or in part, without permission of the sender. If you receive this e-mail message in error, please notify us immediately. Thank you. From dbradshaw@olver.com Thu Jun 24 13:59:09 2004 Received: from poser.olver.com (66-207-66-32.black.dmt.ntelos.net [66.207.66.32]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5OHx6dx020447 for ; Thu, 24 Jun 2004 13:59:09 -0400 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 Date: Thu, 24 Jun 2004 13:59:05 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Layer Question thread-index: AcRaBF6iHQ65feH3TDmglGlRbZ5GlwAEDt2Q From: "David Bradshaw" To: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i5OHx6dx020447 Subject: [Chameleon] Layer Question X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2004 17:59:09 -0000 Dear group: The only layer that shows up is the "virginia_nad83_va_south_feet" layer. What am I doing wrong? # # Start of map file # # Sample map file for a chameleon app. # NAME DEMO STATUS ON SIZE 400 300 SYMBOLSET ../etc/symbols.sym EXTENT 9900000 3214000 12500000 4600000 UNITS METERS SHAPEPATH "../data" IMAGECOLOR 255 255 255 FONTSET ../etc/fonts.txt # # Start of web interface definition # WEB MINSCALE 2000000 MAXSCALE 50000000 # # On Windows systems, /tmp and /tmp/ms_tmp/ should be created at the root # of the drive where the .MAP file resides. # IMAGEPATH "/ms4w/tmp/ms_tmp/" IMAGEURL "/ms_tmp/" # LOG "/tmp/gmap.log" METADATA END END # # Start of scalebar # SCALEBAR IMAGECOLOR 255 255 255 LABEL COLOR 0 0 0 SIZE SMALL END SIZE 150 5 COLOR 255 255 255 BACKGROUNDCOLOR 0 0 0 OUTLINECOLOR 0 0 0 UNITS kilometers INTERVALS 5 STATUS ON END QUERYMAP STYLE HILITE COLOR 255 0 0 END PROJECTION "init=epsg:42304" END # # Start of layer definitions # LAYER NAME roads METADATA "DESCRIPTION" "Roads" END TYPE LINE STATUS ON DATA roads CLASS NAME "Roads" COLOR 120 120 120 END END # layer LAYER NAME CITIES METADATA "DESCRIPTION" "Cities" "RESULT_FIELDS" "city_name" END TYPE POINT STATUS ON DATA CITIES LabelItem "city_name" CLASSITEM "city_name" CLASS EXPRESSION "1" TEMPLATE "ttt_query.html" SYMBOL 2 SIZE 18 NAME "Cities" LABEL COLOR 255 0 0 FONT fritqat-italic TYPE truetype SIZE 200 POSITION AUTO PARTIALS FALSE OUTLINECOLOR 255 255 255 END COLOR 255 255 255 END CLASS EXPRESSION /2|3/ TEMPLATE "ttt_query.html" SYMBOL 7 SIZE 6 NAME "Cities" LABEL COLOR 0 0 0 FONT fritqat TYPE truetype SIZE 8 POSITION AUTO PARTIALS FALSE OUTLINECOLOR 255 255 255 END COLOR 0 0 0 END TOLERANCE 5 END # Layer LAYER NAME virginia_nad83_va_south_feet METADATA "DESCRIPTION" "States" END TYPE POLYGON STATUS ON DATA virginia_nad83_va_south_feet CLASS NAME "Virignia" COLOR 240 240 240 OUTLINECOLOR 199 199 199 END END # layer END # Map File Any help would be appreciated - you all can tell that I am new at this!! Regards, David This document, including attachments, is confidential and may be privileged. If you are not an intended recipient, please notify the sender, then delete and destroy the original message and all copies. You should not copy, forward and/or disclose this message, in whole or in part, without permission of the sender. If you receive this e-mail message in error, please notify us immediately. Thank you. From eric@gomoos.org Thu Jun 24 14:11:38 2004 Received: from mail.gomoos.org (www.gomoos.org [66.70.82.140]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5OIBcdx020639 for ; Thu, 24 Jun 2004 14:11:38 -0400 Received: from gweric.gomoos.org (ptd-68-175-247-165.maine.rr.com [68.175.247.165]) by mail.gomoos.org (8.12.8p2/8.12.8) with ESMTP id i5OIBQZ9099491; Thu, 24 Jun 2004 14:11:27 -0400 (EDT) (envelope-from eric@gomoos.org) Message-Id: <4.3.2.7.2.20040624141754.00ad77c0@mail.gomoos.org> X-Sender: eric@mail.gomoos.org X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Thu, 24 Jun 2004 14:20:29 -0400 To: "David Bradshaw" , From: Eric Bridger Subject: Re: [Chameleon] Projection Question In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on peleg.gomoos.org Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2004 18:11:38 -0000 At 01:47 PM 06/24/2004 -0400, David Bradshaw wrote: >This may sound simple but what would the projection be for Virginia, USA > >PROJECTION > "init=epsg:42304" >END > >Is there a listing for areas of the world? In your PROJ4 install directory you'll find a text file called epsg. You can read that for a list of epsg codes and what their projection parameters are. A search for Virginia reveals a couple. On my system its at: /usr/local/share/proj I think on Windows it might be C:\proj Eric From dbradshaw@olver.com Thu Jun 24 14:44:47 2004 Received: from poser.olver.com (66-207-66-32.black.dmt.ntelos.net [66.207.66.32]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5OIiddx021014 for ; Thu, 24 Jun 2004 14:44:47 -0400 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 Date: Thu, 24 Jun 2004 14:44:10 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Chameleon Digest, Vol 3, Issue 28 thread-index: AcRaBF6iHQ65feH3TDmglGlRbZ5GlwAFsHOw From: "David Bradshaw" To: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i5OIiddx021014 Subject: [Chameleon] RE: Chameleon Digest, Vol 3, Issue 28 X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2004 18:44:48 -0000 Eric, Thanks. I'll try that. David (Am I posting these things correctly? At 01:47 PM 06/24/2004 -0400, David Bradshaw wrote: >This may sound simple but what would the projection be for Virginia, >USA > >PROJECTION > "init=epsg:42304" >END > >Is there a listing for areas of the world? In your PROJ4 install directory you'll find a text file called epsg. You can read that for a list of epsg codes and what their projection parameters are. A search for Virginia reveals a couple. On my system its at: /usr/local/share/proj I think on Windows it might be C:\proj Eric This document, including attachments, is confidential and may be privileged. If you are not an intended recipient, please notify the sender, then delete and destroy the original message and all copies. You should not copy, forward and/or disclose this message, in whole or in part, without permission of the sender. If you receive this e-mail message in error, please notify us immediately. Thank you. From eric@gomoos.org Thu Jun 24 15:56:58 2004 Received: from mail.gomoos.org (www.gomoos.org [66.70.82.140]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5OJuwdx021746 for ; Thu, 24 Jun 2004 15:56:58 -0400 Received: from gweric.gomoos.org (ptd-68-175-247-165.maine.rr.com [68.175.247.165]) by mail.gomoos.org (8.12.8p2/8.12.8) with ESMTP id i5OJukZ9008222 for ; Thu, 24 Jun 2004 15:56:46 -0400 (EDT) (envelope-from eric@gomoos.org) Message-Id: <4.3.2.7.2.20040624145033.00ae6100@mail.gomoos.org> X-Sender: eric@mail.gomoos.org X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Thu, 24 Jun 2004 16:05:48 -0400 To: From: Eric Bridger In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on peleg.gomoos.org Subject: [Chameleon] Layer Selection X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2004 19:56:58 -0000 Back with some newbie questions. 1) Using Chameleon 1.99 under Apache on freeBSD. The install is done and everything is working well. (After a few gotchas). All the samples work fine. 2) I started with samples/sample_enhanced.phtml example and quite easily got it to display an existing map file of mine, successfully changed the scale-bar, got my own reference map to work, added our own projection. All of this very quickly. Congratulations to the Chameleon developers. 3) So my question: I cannot seem to get my head around how to control my layers (all local, no WMS). To me it seems the most basic issue but ... How to turn on or off layers. In the sample_enhanced.html I see: Removing this widget seems to have no affect on the app. I also see: This widget is working to turn on/off my layers. But it displays ALL my layers (some of which I do not wish the user to control). I.e. the equivilent of mapserver DEFAULT status. This is working because of the HTML Legends template. Are HTML legends the only path to controlling the display of layers? What about the LAYER GROUP property? I would like to display on Layer name and actually turn on a group of layers. Anyway the short question is: What widgets to use to control the displaying of layers? Thanks. Eric From wbronsema@dmsolutions.ca Thu Jun 24 22:22:20 2004 Received: from tomts13-srv.bellnexxia.net (tomts13.bellnexxia.net [209.226.175.34]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5P2MKdx024005 for ; Thu, 24 Jun 2004 22:22:20 -0400 Received: from [127.0.0.1] ([209.226.118.110]) by tomts13-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20040625022204.CSCO21087.tomts13-srv.bellnexxia.net@[127.0.0.1]> for ; Thu, 24 Jun 2004 22:22:04 -0400 Message-ID: <40DB8C49.902@dmsolutions.ca> Date: Thu, 24 Jun 2004 22:22:01 -0400 From: "William A. Bronsema" Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: chameleon@lists.maptools.org Subject: Re: [Chameleon] Layer Selection References: <4.3.2.7.2.20040624145033.00ae6100@mail.gomoos.org> In-Reply-To: <4.3.2.7.2.20040624145033.00ae6100@mail.gomoos.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: wbronsema@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2004 02:22:20 -0000 Hi Eric, The legend template is the simplest way to go IMHO, but it sounds like you need the XMLThemeLegend widget. It allows you to control groups of layers. Let me know if you need an example to follow. Regards, Bill Eric Bridger wrote: > Back with some newbie questions. > > 1) Using Chameleon 1.99 under Apache on freeBSD. The install is done and everything is working well. (After a few gotchas). All the samples work fine. > 2) I started with samples/sample_enhanced.phtml example and quite easily got it to display an existing map file of mine, successfully changed the scale-bar, got my own reference map to work, added our own projection. All of this very quickly. Congratulations to the Chameleon developers. > 3) So my question: I cannot seem to get my head around how to control my layers (all local, no WMS). To me it seems the most basic issue but ... How to turn on or off layers. > > In the sample_enhanced.html I see: > > Removing this widget seems to have no affect on the app. > > I also see: > > > > This widget is working to turn on/off my layers. But it displays ALL my layers (some of which I do not wish the user to control). I.e. the equivilent of mapserver DEFAULT status. This is working because of the HTML Legends template. Are HTML legends the only path to controlling the display of layers? What about the LAYER GROUP property? I would like to display on Layer name and actually turn on a group of layers. > > Anyway the short question is: What widgets to use to control the displaying of layers? > > Thanks. > > Eric > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ________________________________________________ William A. Bronsema, C.E.T. Applications Developer, DM Solutions Group Inc. e-mail: wbronsema@dmsolutions.ca Web : http://www.dmsolutions.ca Phone : (613) 565-5056 ext.25 Fax : (613) 565-0925 ________________________________________________ From msr@sourcepole.ch Fri Jun 25 08:45:23 2004 Received: from mx1.tiscali.ch (mx1.tiscali.ch [212.40.5.185]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5PCjMdx028462 for ; Fri, 25 Jun 2004 08:45:23 -0400 Received: from msr.sourcepole (212.254.248.198) by mx1.tiscali.ch (6.7.021.1) id 409B8E1B00F9903A for chameleon@lists.maptools.org; Fri, 25 Jun 2004 14:45:21 +0200 From: Schnider Markus Organization: Sourcepole AG To: chameleon@lists.maptools.org Date: Fri, 25 Jun 2004 14:45:23 +0200 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200406251445.23277.msr@sourcepole.ch> Subject: [Chameleon] layermanager ie javascript and other X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2004 12:45:23 -0000 Hi all I have some problems. I use the cvs version from 22 june 2004. php-4.3.4 mapserver 4.2.0 solaris --------------------------------------- in LayerManager2 the following code does not work in IE function clickLayerManagerAction(obj, szAction) { document.forms[0]['LAYERMANAGER_ACTION'].value = szAction; document.forms[0].submit(); return; } The problem is in the line with the submit. --------------------------------------- An other problem: apache error.log: [Fri Jun 25 13:30:26 2004] [error] [client .......] PHP Notice: Undefined index: gnLogLevel in /...../cwc2/htdocs/widgets/session.inc.php on line 46, referer: http://...../...../demo.phtml what could I do? --------------------------------------- other error log: [Fri Jun 25 13:30:30 2004] [error] [client ......] PHP Notice: Undefined index: gszLogPath in /...../cwc2/htdocs/widgets/session.inc.php on line 43, referer: http://...../cwc2//widgets/PrintWidget/production.phtml?sid=40dc0c097f8b3&MapWidth=400&MapHeight=300 or [Fri Jun 25 13:30:32 2004] [error] [client ......] PHP Notice: Undefined index: gszLogPath in /opt/apache2/cwc2/htdocs/widgets/session.inc.php on line 43, referer: http://...../cwc2//widgets/PrintWidget/production.phtml?chkTitleElem=1&txtTitleDesc2=New+Map&titleFont=helvetica&chkNeatElem=1&chkScalebarElem=1&selScalebarPos=BR&chkLegendElem=1&selLegendPos=TR&legendFont=helvetica&txtWidthPix=400&txtHeightPix=300&selFontSize=12&selImageFormat=PNG&bShowPreview=1&bShowDownload=&sid=40dc0c097f8b3&txtTitleDesc=New+Map&txtFootDesc= --------------------------------------- line 43 to 46 of session.inc.log: $gLogFile = new LogFile( $_SESSION["gszLogPath"]. $aszLog[0]."_session.inc.log", LOG_TO_FILE, true ); // set the max log level $gLogFile->setMaxLogLevel( $_SESSION["gnLogLevel"] ); Markus Schnider From msr@sourcepole.ch Fri Jun 25 11:05:14 2004 Received: from mx1.tiscali.ch (mx1.tiscali.ch [212.40.5.185]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5PF5Edx029420 for ; Fri, 25 Jun 2004 11:05:14 -0400 Received: from msr.sourcepole (212.254.248.198) by mx1.tiscali.ch (6.7.021.1) id 409B8E1B00FA6B42 for chameleon@lists.maptools.org; Fri, 25 Jun 2004 17:05:13 +0200 From: Schnider Markus Organization: Sourcepole AG To: chameleon@lists.maptools.org Date: Fri, 25 Jun 2004 17:05:14 +0200 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200406251705.14851.msr@sourcepole.ch> Subject: [Chameleon] WMS projection with alpha=90 X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2004 15:05:15 -0000 Hi all I am not sure if it's the right place or will it be 'mapserver' I have a umn mapserver wms server. I would include a layer of this wms server. The projection of the layer has an alpha value of 90 (init=epsg:21781) <21781> +proj=omerc +lat_0=46.95240555555556 +lonc=7.439583333333333 +alpha=90 +k=1 +x_0=600000 +y_0=200000 +ellps=bessel +units=m +no_defs no_defs <> so I receive always an error message and the map cannot be shown. I tried to change the projection in the mapfile (alpha=89 in the projection, nothing in the web part). The same behavior. Markus Schnider From Steven.D'Cruz@ec.gc.ca Mon Jun 28 14:56:24 2004 Received: from mgtserver3.tor.ec.gc.ca (ecdow130.tor.ec.gc.ca [199.212.19.130]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5SIuOdx032355 for ; Mon, 28 Jun 2004 14:56:24 -0400 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C45D41.98C68B24" X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Date: Mon, 28 Jun 2004 14:56:19 -0400 Message-ID: <9B09D75DF5B3494BA06E6FE478CE9CC10101A3A6@mgtserver3.ontario.int.ec.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Chameleon Point-URL link in QueryResults Thread-Index: AcRdQZjCVWyafuRBTMOt4YbrFvF2yw== From: "D'cruz,Steven [Ontario]" To: X-Mailman-Approved-At: Mon, 28 Jun 2004 15:24:04 -0400 Subject: [Chameleon] Chameleon Point-URL link in QueryResults X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jun 2004 18:56:25 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C45D41.98C68B24 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi there, I'm attempting to configure Chameleon 1.0.5 for forwarding based on query results... basically, if the user clicks on the 'queryable' tab, and then on a point on the map, the resulting QueryResults contain all of the valid query results. However, for a specific layer (say layer x), with a specific table (say table y), if a point in that layer is clicked, I want to add a link to QueryResults which passes the corresponding value from table y in layer x as a parameter to an external website... For example, if the user clicks on a point containing a value in layer x->table y, then that value, say z should be passed on in the following format: http://www.yoursite.com/forward.php?id=3D***z*** . From what I've seen = so far, I'll apparently be required to modify the file /cwc2path/htdocs/widgets/QueryResults.phtml . My question is this; where exactly in the file would I be able to do a string comparison such that I can determine whether the layer name is equal to "x" for layer x? I've tried the following(with added code inside if statements); ~Line 800 --- if (strcmp ($szTypeName, "tablename")=3D=3D0) { $szValue=3D"".$szValue= . ""; } ... this should replace the plain text VALUE for tablename with a hypertext link pointing to the desired site with the associated table value as a parameter. I've been unable to get this working ... any suggestions/comments would be greatly appreciated. =09 Steven D'Cruz =09 Steven.Dcruz@ec.gc.ca =09 webaxis@yahoo.com =09 Environment Canada ------_=_NextPart_001_01C45D41.98C68B24 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Chameleon Point-URL link in QueryResults

Hi there,

        I'm attempting to configure Chameleon 1.0.5 for = forwarding based on query results… basically, if the user clicks = on the 'queryable' tab, and then on a point on the map, the resulting = QueryResults contain all of the valid query results.  However, for = a specific layer (say layer x), with a specific table (say table y), if = a point in that layer is clicked, I want to add a link to QueryResults = which passes the corresponding value from table y in layer x as a = parameter to an external website… For example, if the user clicks = on a point containing a value in layer x->table y, then that value, = say z should be passed on in the following format: http://www.yoursite.com/forward.php?id=3D***z*** .  From what I've seen so far, = I'll apparently be required to modify the file = /cwc2path/htdocs/widgets/QueryResults.phtml .  My question is this; = where exactly in the file would I be able to do a string comparison such = that I can determine whether the layer name is equal to "x" = for layer x?  I've tried the following(with added code inside if = statements);

~Line 800 ---
        =         if (strcmp ($szTypeName, = "tablename")=3D=3D0)
        =         {
        =         =         $szValue=3D"<a href =3D \"http://www.yoursi= te.ca/script.php?parameter=3D".$szValue."\">".= $szValue."</a>";

        =         }

… this should replace the plain = text VALUE for tablename with a hypertext link pointing to the desired = site with the associated table value as a parameter.  I've been = unable to get this working … any suggestions/comments would be = greatly appreciated.

        =         =         =         =         =         =         =         =         =         Steven D'Cruz
        =         =         =         =         =         =         =         =         =         Steven.Dcruz@ec.gc.ca
        =         =         =         =         =         =         =         =         =         webaxis@yahoo.com
        =         =         =         =         =         =         =         =         =         Environment Canada

------_=_NextPart_001_01C45D41.98C68B24-- From ken@rockies.ca Mon Jun 28 16:41:42 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5SKffdx001123 for ; Mon, 28 Jun 2004 16:41:42 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id rqvreaaa for chameleon@lists.maptools.org; Mon, 28 Jun 2004 14:31:49 -0600 From: "Ken Sanderson" To: Date: Mon, 28 Jun 2004 14:42:28 -0600 Message-ID: <00ce01c45d50$70c91650$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Importance: Normal Subject: [Chameleon] Legend template/xml structure X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jun 2004 20:41:42 -0000 Hello all. Now that I have chameleon up and functioning, as well as created a map file using Maplab I wanted to jump into doing some modifications to my legend. I have a layer with multiple class objects that I also want to show up in the legend. Basically it's a polygon layer that is displayed by an attribute value. Displays well, but the legend just displays the top color rather then each of the potential attribute colors. So I have been looking at the legendtemplate widget, along with the legend_template.html file, and further the sample_themes.xml file, trying to decide whats the best way to go about this and I have a few questions. Is there any documentation on the scripting in the legend_template.html file, such as variables, what opt_flag is for and what other options you have there, what is the isset operator, etc? Same for the xml page, is there a schema for it? If I wanted to include classes is there a object? Can you put a within a ? Thanks, Ken From Godwinl@AGR.GC.CA Tue Jun 29 08:39:59 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5TCdxdx007703 for ; Tue, 29 Jun 2004 08:39:59 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i5TCQjBB024397; Tue, 29 Jun 2004 08:26:46 -0400 Received: from onncrxcn1.AGR.GC.CA ([10.117.15.130]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i5TCa5MP002960; Tue, 29 Jun 2004 08:36:05 -0400 Received: from onncrxms2.AGR.GC.CA ([10.117.15.28]) by onncrxcn1.AGR.GC.CA with Microsoft SMTPSVC(5.0.2195.6713); Tue, 29 Jun 2004 08:39:03 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: [Chameleon] Legend template/xml structure Date: Tue, 29 Jun 2004 08:39:03 -0400 Message-ID: <482A7044F4DB2740884BAF6AFD74160920430E@onncrxms2.agr.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Chameleon] Legend template/xml structure Thread-Index: AcRdUHSf4QH7f18HR1a29Ea0RbZMXQAhDiTQ From: "Godwin, Liz" To: "Ken Sanderson" , X-OriginalArrivalTime: 29 Jun 2004 12:39:03.0919 (UTC) FILETIME=[0F9787F0:01C45DD6] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i5TCdxdx007703 Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jun 2004 12:39:59 -0000 Hi Ken, I personally prefer the HTML legend templates to the XML templates. They work well for me. At the MapServer site there is a good document with examples. This with some trial and error, taught me what I need to know. http://mapserver.gis.umn.edu/doc40/html-legend-howto.html I have made some complicated HTML legend files that support groups, layers and classes, and I have weak support for WMS layers as a workaround for Mapserver not yet doing this automatically. If you are interested I can post these. Liz Godwin -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Ken Sanderson Sent: June 28, 2004 4:42 PM To: chameleon@lists.maptools.org Subject: [Chameleon] Legend template/xml structure Hello all. Now that I have chameleon up and functioning, as well as created a map file using Maplab I wanted to jump into doing some modifications to my legend. I have a layer with multiple class objects that I also want to show up in the legend. Basically it's a polygon layer that is displayed by an attribute value. Displays well, but the legend just displays the top color rather then each of the potential attribute colors. So I have been looking at the legendtemplate widget, along with the legend_template.html file, and further the sample_themes.xml file, trying to decide whats the best way to go about this and I have a few questions. Is there any documentation on the scripting in the legend_template.html file, such as variables, what opt_flag is for and what other options you have there, what is the isset operator, etc? Same for the xml page, is there a schema for it? If I wanted to include classes is there a object? Can you put a within a ? Thanks, Ken _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From Steven.D'Cruz@ec.gc.ca Tue Jun 29 09:17:17 2004 Received: from mgtserver3.tor.ec.gc.ca (ecdow130.tor.ec.gc.ca [199.212.19.130]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5TDHGdx007977 for ; Tue, 29 Jun 2004 09:17:17 -0400 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C45DDB.632008A2" X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Date: Tue, 29 Jun 2004 09:17:11 -0400 Message-ID: <9B09D75DF5B3494BA06E6FE478CE9CC10104823D@mgtserver3.ontario.int.ec.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: QueryResults Thread-Index: AcRd22OBoyv7wwAqTpyOgYXMdUxYIw== From: "D'cruz,Steven [Ontario]" To: X-Mailman-Approved-At: Tue, 29 Jun 2004 09:20:54 -0400 Subject: [Chameleon] QueryResults X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jun 2004 13:17:17 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C45DDB.632008A2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi there, I've been attempting to get a CWC2/Mapserver installation working with added functionality. I'd like to address the following question to the mailing list; whenever I modify the php file QueryResults.phtml in the /cwc2/htdocs/widgets folder, no change appears on the CWC2 instance. Does anyone happen to know why this mysterious behaviour occurs? Even changing the title to be printed in QueryResults or commenting out blocks of code does not seem to stop the instance form working correctly (QueryResults is responsible for 'driving' the page returned when the information button is clicked followed by a queryable point). =20 =09 Cheers, =09 Steven D'Cruz =09 Steven.Dcruz@ec.gc.ca =09 Environment Canada ------_=_NextPart_001_01C45DDB.632008A2 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable QueryResults

Hi there,

        I've been attempting to get a CWC2/Mapserver installation = working with added functionality.  I'd like to address the = following question to the mailing list; whenever I modify the php file = QueryResults.phtml in the /cwc2/htdocs/widgets folder, no change appears = on the CWC2 instance.  Does anyone happen to know why this = mysterious behaviour occurs?  Even changing the title to be printed = in QueryResults or commenting out blocks of code does not seem to stop = the instance form working correctly (QueryResults is responsible for = 'driving' the page returned when the information button is clicked = followed by a queryable point). 

        =         =         =         =         =         =         =         =         Cheers,
        =         =         =         =         =         =         =         =         Steven D'Cruz
        =         =         =         =         =         =         =         =         Steven.Dcruz@ec.gc.ca
        =         =         =         =         =         =         =         =         Environment Canada

------_=_NextPart_001_01C45DDB.632008A2-- From mickeldelay@yahoo.com Tue Jun 29 09:50:47 2004 Received: from web51906.mail.yahoo.com (web51906.mail.yahoo.com [206.190.39.49]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i5TDokdx008156 for ; Tue, 29 Jun 2004 09:50:47 -0400 Message-ID: <20040629135046.12002.qmail@web51906.mail.yahoo.com> Received: from [82.205.162.4] by web51906.mail.yahoo.com via HTTP; Tue, 29 Jun 2004 06:50:46 PDT Date: Tue, 29 Jun 2004 06:50:46 -0700 (PDT) From: mickel delay To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Chameleon] create multi point on map X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jun 2004 13:50:47 -0000 Dear list i want to fech multi location from database and then show these location in my maps with symbols. i see an example in chameleon user list that describe creating CWC syntax:(http://lists.maptools.org/pipermail/chameleon/2004-January/000285.html) but for using this cwc ,i need to create a php file that the name of this file is xxx.widget.php and i shuld be write a class in php language format. can any person of chameleon list help me for creating this xxx.widget.php file or direct me for this action? regards mickel __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From jcradock@redington.me3.com Tue Jun 29 12:03:29 2004 Received: from redington.me3.com ([65.198.76.159]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i5TG3Qdx009175 for ; Tue, 29 Jun 2004 12:03:28 -0400 Received: (qmail 7640 invoked by uid 99); 29 Jun 2004 15:43:50 -0000 Received: from 24.97.59.226 (SquirrelMail authenticated user creadoc) by redington.me3.com with HTTP; Tue, 29 Jun 2004 11:43:49 -0400 (EDT) Message-ID: <51783.24.97.59.226.1088523829.squirrel@redington.me3.com> Date: Tue, 29 Jun 2004 11:43:49 -0400 (EDT) From: "james cradock" To: Chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal Cc: Subject: [Chameleon] Alternate cwc2.xml X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: jcradock@redington.me3.com List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jun 2004 16:03:29 -0000 How do I specify an alternate path to a cwc2.xml file? Can this be done in the phtml init script? We have multiple developers working on different Chameleon applications in different instances of Apache. Host names and paths on the file system do vary from developer to developer. I'd rather not install Chameleon each time for each developer. Thanks. JC ----- james cradock jcradock@redington.me3.com From Godwinl@AGR.GC.CA Tue Jun 29 14:37:28 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5TIbRdx010794 for ; Tue, 29 Jun 2004 14:37:27 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i5TIOCUT016040; Tue, 29 Jun 2004 14:24:12 -0400 Received: from onncrxcn1.AGR.GC.CA ([10.117.15.130]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i5TIXZMP022886; Tue, 29 Jun 2004 14:33:35 -0400 Received: from onncrxms2.AGR.GC.CA ([10.117.15.28]) by onncrxcn1.AGR.GC.CA with Microsoft SMTPSVC(5.0.2195.6713); Tue, 29 Jun 2004 14:36:33 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: [Chameleon] Legend template/xml structure Date: Tue, 29 Jun 2004 14:36:33 -0400 Message-ID: <482A7044F4DB2740884BAF6AFD741609204312@onncrxms2.agr.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Chameleon] Legend template/xml structure Thread-Index: AcRd9s7IRoAAFfvIQjer4v5CLQ/XNwAEDpJQ From: "Godwin, Liz" To: "Ken Sanderson" X-OriginalArrivalTime: 29 Jun 2004 18:36:33.0969 (UTC) FILETIME=[00D16A10:01C45E08] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i5TIbRdx010794 Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jun 2004 18:37:28 -0000 Ken, I've started a Wiki page for HTML legend examples that work in Chameleon. I've only added one for now, that doesn't use Classes or Groups. I will try to add more soon when I've cleaned them up a bit. Most of mine I haven't used in Chameleon. One legend I think might help point you in the right driection is legend 2 at the bottom of this page: http://mapserver.gis.umn.edu/doc40/html-legend-howto.html#live In the meantime, if you have something started that isn't quite working right (after reading the docs...they are quite helpful) then please feel free to post back to me or the list. Liz Godwin -----Original Message----- From: Ken Sanderson [mailto:ken@rockies.ca] Sent: June 29, 2004 12:35 PM To: Godwin, Liz Subject: RE: [Chameleon] Legend template/xml structure Thanks, Liz. Your examples would be greatly appreciated, really helps to learn when you can refer to what other folks have done. In the mean time I will read over that link, thanks again. Ken -----Original Message----- From: Godwin, Liz [mailto:Godwinl@AGR.GC.CA] Sent: June 29, 2004 6:39 AM To: Ken Sanderson; chameleon@lists.maptools.org Subject: RE: [Chameleon] Legend template/xml structure Hi Ken, I personally prefer the HTML legend templates to the XML templates. They work well for me. At the MapServer site there is a good document with examples. This with some trial and error, taught me what I need to know. http://mapserver.gis.umn.edu/doc40/html-legend-howto.html I have made some complicated HTML legend files that support groups, layers and classes, and I have weak support for WMS layers as a workaround for Mapserver not yet doing this automatically. If you are interested I can post these. Liz Godwin -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Ken Sanderson Sent: June 28, 2004 4:42 PM To: chameleon@lists.maptools.org Subject: [Chameleon] Legend template/xml structure Hello all. Now that I have chameleon up and functioning, as well as created a map file using Maplab I wanted to jump into doing some modifications to my legend. I have a layer with multiple class objects that I also want to show up in the legend. Basically it's a polygon layer that is displayed by an attribute value. Displays well, but the legend just displays the top color rather then each of the potential attribute colors. So I have been looking at the legendtemplate widget, along with the legend_template.html file, and further the sample_themes.xml file, trying to decide whats the best way to go about this and I have a few questions. Is there any documentation on the scripting in the legend_template.html file, such as variables, what opt_flag is for and what other options you have there, what is the isset operator, etc? Same for the xml page, is there a schema for it? If I wanted to include classes is there a object? Can you put a within a ? Thanks, Ken _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From mickeldelay@yahoo.com Tue Jun 29 09:40:48 2004 Received: from web51902.mail.yahoo.com (web51902.mail.yahoo.com [206.190.39.45]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i5TDemdx008126 for ; Tue, 29 Jun 2004 09:40:48 -0400 Message-ID: <20040629134027.37060.qmail@web51902.mail.yahoo.com> Received: from [82.205.162.4] by web51902.mail.yahoo.com via HTTP; Tue, 29 Jun 2004 06:40:27 PDT Date: Tue, 29 Jun 2004 06:40:27 -0700 (PDT) From: mickel delay To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailman-Approved-At: Tue, 29 Jun 2004 19:45:53 -0400 Subject: [Chameleon] create multi point on map X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jun 2004 13:40:48 -0000 Dear list i want to fech multi location from database and then show these location in my maps with symbols. i see an example in chameleon user list that describe creating CWC syntax:(http://lists.maptools.org/pipermail/chameleon/2004-January/000285.html) but for using this cwc ,i need to create a php file that the name of this file is xxx.widget.php and i shuld be write a class in php language format. can any person of chameleon list help me for creating this xxx.widget.php file or direct me for this action? regards mickel __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail From dmsg16@webmail1.magma.ca Tue Jun 29 20:14:13 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5U0EDdx018666 for ; Tue, 29 Jun 2004 20:14:13 -0400 Received: from webmail1.magma.ca (webmail1.magma.ca [206.191.0.241]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i5U0EDtB009577; Tue, 29 Jun 2004 20:14:13 -0400 Received: (from dmsg16@localhost) by webmail1.magma.ca (Magma's Logging Server) id i5U0EDAh011717; Tue, 29 Jun 2004 20:14:13 -0400 (EDT) Date: Tue, 29 Jun 2004 20:14:13 -0400 (EDT) Message-Id: <200406300014.i5U0EDAh011717@webmail1.magma.ca> To: mickel delay , chameleon@lists.maptools.org From: "Jason Fournier" Subject: Re: [Chameleon] create multi point on map X-Account: dmsg16 X-Sender-IP: 24.157.244.62 X-INFO: Folder - 0, Message - 0, MimeBody - 0 Mime-Version: 1.0 Content-Type: text/plain Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2004 00:14:14 -0000 Mickel, It sounds as though what you are looking for is not Chameleon-based req but rather a data access issue. Using OGR (built into PHP/MapScript for instance) it is possible to specify a layer in your mapfile that connects to an ODBC datasource (ie, you database). MapServer and OGR do the work of getting the points out of the database and plotting them on the map. Does this sound similar to what you'd like to achieve? If so then there are several examples of how to go about it ... I'd be more than happy to help out along with the rest of the list. Thanks, Jason On Jun 29, mickel delay wrote: > > Dear list > > i want to fech multi location from database and then > show these location in my maps with symbols. > i see an example in chameleon user list that describe > creating CWC > syntax:(http://lists.maptools.org/pipermail/chameleon/2004- January/000285.html) > > but for using this cwc ,i need to create a php file > that the name of this file is xxx.widget.php and i > shuld be write a class in php language format. > > can any person of chameleon list help me for creating > this xxx.widget.php file or direct me for this > action? > > > regards > mickel > > > > > __________________________________ > Do you Yahoo!? > New and Improved Yahoo! Mail - 100MB free storage! > http://promotions.yahoo.com/new_mail > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mail man/listinfo/chameleon > From mickeldelay@yahoo.com Wed Jun 30 07:39:54 2004 Received: from web51910.mail.yahoo.com (web51910.mail.yahoo.com [206.190.39.53]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i5UBdrdx023430 for ; Wed, 30 Jun 2004 07:39:53 -0400 Message-ID: <20040630113952.90481.qmail@web51910.mail.yahoo.com> Received: from [82.205.162.4] by web51910.mail.yahoo.com via HTTP; Wed, 30 Jun 2004 04:39:52 PDT Date: Wed, 30 Jun 2004 04:39:52 -0700 (PDT) From: mickel delay To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Chameleon] implement query result with chameleon X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2004 11:39:54 -0000 Dear list i want to implement query result for my GIS application with chameleon. for example i have a raster map from a city and a database that contain location of all Parka from this city ,i create a query string that determine the park location from limitation area and then i want to display these parks location with a symbol i my raster map. what i can do it with chameleon? do i can this application with chameleon or i should be use another solution for this problem? please direct me ASAP. regards mickel __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail From jcradock@redington.me3.com Wed Jun 30 09:23:13 2004 Received: from redington.me3.com ([65.198.76.159]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i5UDNCdx024074 for ; Wed, 30 Jun 2004 09:23:13 -0400 Received: (qmail 21204 invoked by uid 99); 30 Jun 2004 13:03:27 -0000 Received: from 192.168.0.182 (SquirrelMail authenticated user creadoc) by redington.me3.com with HTTP; Wed, 30 Jun 2004 09:03:27 -0400 (EDT) Message-ID: <52262.192.168.0.182.1088600607.squirrel@redington.me3.com> In-Reply-To: <51783.24.97.59.226.1088523830.squirrel@redington.me3.com> References: <51783.24.97.59.226.1088523830.squirrel@redington.me3.com> Date: Wed, 30 Jun 2004 09:03:27 -0400 (EDT) From: "james cradock" To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal Subject: [Chameleon] Re: Alternate cwc2.xml X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: jcradock@redington.me3.com List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2004 13:23:13 -0000 Alirght. I *think* I want to change the app-context so that different developers using the same installation of Chameleon in /opt can use their own configuration files. Two questions: 1. Is this correct? 2. Are there examples or (better!) is there documentation for how to do this starting with the barebones phtml initialization script everyone's sharing? If what I'm describing is NOT doable, do I simply need to install a copy of Chameleon for every developer working on a Chameleon application? (I know I said 2 questions, but...) Thanks! Jim > How do I specify an alternate path to a cwc2.xml file? Can this be done in > the phtml init script? We have multiple developers working on different > Chameleon applications in different instances of Apache. Host names and > paths on the file system do vary from developer to developer. I'd rather > not install Chameleon each time for each developer. > > Thanks. > > JC > > ----- > james cradock > jcradock@redington.me3.com > ----- james cradock jcradock@redington.me3.com From Godwinl@AGR.GC.CA Wed Jun 30 14:21:26 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i5UILQdx026207 for ; Wed, 30 Jun 2004 14:21:26 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i5UI83UT001138; Wed, 30 Jun 2004 14:08:03 -0400 Received: from onncrxcn1.AGR.GC.CA ([10.117.15.130]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i5UIHhGV008308; Wed, 30 Jun 2004 14:17:44 -0400 Received: from onncrxms2.AGR.GC.CA ([10.117.15.28]) by onncrxcn1.AGR.GC.CA with Microsoft SMTPSVC(5.0.2195.6713); Wed, 30 Jun 2004 14:20:44 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: [Chameleon] Legend template/xml structure Date: Wed, 30 Jun 2004 14:20:43 -0400 Message-ID: <482A7044F4DB2740884BAF6AFD741609204317@onncrxms2.agr.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Chameleon] Legend template/xml structure Thread-Index: AcReGJA2Gf+dveWNQU6sBXjaw6r1gQAs8Niw From: "Godwin, Liz" To: "Ken Sanderson" X-OriginalArrivalTime: 30 Jun 2004 18:20:44.0617 (UTC) FILETIME=[F55F8B90:01C45ECE] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i5UILQdx026207 Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2004 18:21:26 -0000 Ken, What I do in cases where I want more control with the legend is to use conditional blocks and metadata tags. I would assign in this case for example, a layer metadata tag in the map file called "display_class" and for each layer, set it to 1 or 0. In the legend temeplate, I'd have a conditional block set within the [leg_class_html] block that tests for this. ie.. [leg_class_html] [if name=display_class value=1] [leg_class_name]
[/if] [/leg_class_html] In this case, the class html would only display if you set the layer's metadata to do so. Also... - Classes without the NAME tag set in the map file, do not display in legends. - Using [leg_icon] in the layer block will produce an icon representing the first class. If in the class block, will produce one for each class. - you could use the IF statements in the layer block too to decide if you want the layer to have an icon where there classes are not displayed in the legend. To answer your question though...no... it's not automatic. Liz -----Original Message----- From: Ken Sanderson [mailto:ken@rockies.ca] Sent: June 29, 2004 4:37 PM To: Godwin, Liz Subject: RE: [Chameleon] Legend template/xml structure Hello, I have a few attempts under my belt, some working better then others, and just had a question. Is there a way to test how many class objects a layer object might have? Overall I wanted to treat a layer as a layer, unless it has more then 1 class object at which point I treat it completely differently, thus allowing me greater control of the appearance. I cant see a way of doing it however. I could use the name of layer, but then I would need a different template for every map, which I also would rather not do. Thoughts? Ken -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Godwin, Liz Sent: June 29, 2004 12:37 PM To: Ken Sanderson Cc: chameleon@lists.maptools.org Subject: RE: [Chameleon] Legend template/xml structure Ken, I've started a Wiki page for HTML legend examples that work in Chameleon. I've only added one for now, that doesn't use Classes or Groups. I will try to add more soon when I've cleaned them up a bit. Most of mine I haven't used in Chameleon. One legend I think might help point you in the right driection is legend 2 at the bottom of this page: http://mapserver.gis.umn.edu/doc40/html-legend-howto.html#live In the meantime, if you have something started that isn't quite working right (after reading the docs...they are quite helpful) then please feel free to post back to me or the list. Liz Godwin -----Original Message----- From: Ken Sanderson [mailto:ken@rockies.ca] Sent: June 29, 2004 12:35 PM To: Godwin, Liz Subject: RE: [Chameleon] Legend template/xml structure Thanks, Liz. Your examples would be greatly appreciated, really helps to learn when you can refer to what other folks have done. In the mean time I will read over that link, thanks again. Ken -----Original Message----- From: Godwin, Liz [mailto:Godwinl@AGR.GC.CA] Sent: June 29, 2004 6:39 AM To: Ken Sanderson; chameleon@lists.maptools.org Subject: RE: [Chameleon] Legend template/xml structure Hi Ken, I personally prefer the HTML legend templates to the XML templates. They work well for me. At the MapServer site there is a good document with examples. This with some trial and error, taught me what I need to know. http://mapserver.gis.umn.edu/doc40/html-legend-howto.html I have made some complicated HTML legend files that support groups, layers and classes, and I have weak support for WMS layers as a workaround for Mapserver not yet doing this automatically. If you are interested I can post these. Liz Godwin -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Ken Sanderson Sent: June 28, 2004 4:42 PM To: chameleon@lists.maptools.org Subject: [Chameleon] Legend template/xml structure Hello all. Now that I have chameleon up and functioning, as well as created a map file using Maplab I wanted to jump into doing some modifications to my legend. I have a layer with multiple class objects that I also want to show up in the legend. Basically it's a polygon layer that is displayed by an attribute value. Displays well, but the legend just displays the top color rather then each of the potential attribute colors. So I have been looking at the legendtemplate widget, along with the legend_template.html file, and further the sample_themes.xml file, trying to decide whats the best way to go about this and I have a few questions. Is there any documentation on the scripting in the legend_template.html file, such as variables, what opt_flag is for and what other options you have there, what is the isset operator, etc? Same for the xml page, is there a schema for it? If I wanted to include classes is there a object? Can you put a within a ? Thanks, Ken _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From pxniw69@yahoo.com Thu Jul 1 11:50:24 2004 Received: from web41905.mail.yahoo.com (web41905.mail.yahoo.com [66.218.93.156]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i61FoNdx006065 for ; Thu, 1 Jul 2004 11:50:23 -0400 Message-ID: <20040701154951.10941.qmail@web41905.mail.yahoo.com> Received: from [69.160.76.247] by web41905.mail.yahoo.com via HTTP; Thu, 01 Jul 2004 08:49:51 PDT Date: Thu, 1 Jul 2004 08:49:51 -0700 (PDT) From: pxniw pxniw To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Chameleon] Server side include? X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2004 15:50:24 -0000 Is there a way to add 'server side' include on chameleon .html page. Or is there a widget that could do this.. How would one construct a simple widget to include other page (Ie header, which is located on different server) Or can I include php script anywhere inside of I tried changing .html extension to parse as php, but it does not work with chameleon?? Any suggestions? Thanks __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail From dmsg16@webmail1.magma.ca Thu Jul 1 12:28:13 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i61GSCdx006340 for ; Thu, 1 Jul 2004 12:28:13 -0400 Received: from webmail1.magma.ca (webmail1.magma.ca [206.191.0.241]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i61GSCUA016812; Thu, 1 Jul 2004 12:28:12 -0400 Received: (from dmsg16@localhost) by webmail1.magma.ca (Magma's Logging Server) id i61GSCe5022761; Thu, 1 Jul 2004 12:28:12 -0400 (EDT) Date: Thu, 1 Jul 2004 12:28:12 -0400 (EDT) Message-Id: <200407011628.i61GSCe5022761@webmail1.magma.ca> To: pxniw pxniw , chameleon@lists.maptools.org From: "Jason Fournier" Subject: Re: [Chameleon] Server side include? X-Account: dmsg16 X-Sender-IP: 24.157.244.62 X-INFO: Folder - 0, Message - 0, MimeBody - 0 Mime-Version: 1.0 Content-Type: text/plain Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2004 16:28:13 -0000 You can use the following syntax in your template: For Files: [#INCLUDEFILENAME#] For PHP Variables: [$VARIABLENAME$] For files the include *may* have to be located in the same directory as your template ... I'm not sure if you can use paths in the include. Jason On Jul 1 , pxniw pxniw wrote: > > > Is there a way to add 'server side' include on > chameleon .html page. > > Or is there a widget that could do this.. > > How would one construct a simple widget to include > other page (Ie header, which is located on different > server) > > Or can I include php script anywhere inside of > > I tried changing .html extension to parse as php, but > it does not work with chameleon?? > > Any suggestions? > > Thanks > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - 50x more storage than other providers! > http://promotions.yahoo.com/new_mail > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mail man/listinfo/chameleon > From jlacroix@dmsolutions.ca Thu Jul 1 12:47:33 2004 Received: from angrenost.dmsolutions.ca ([207.134.52.226]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i61GlXdx006393 for ; Thu, 1 Jul 2004 12:47:33 -0400 Received: from dmsolutions.ca (orthanc [192.168.4.8]) by angrenost.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id i61GjTY27749; Thu, 1 Jul 2004 12:45:29 -0400 Message-ID: <40E43F97.1040805@dmsolutions.ca> Date: Thu, 01 Jul 2004 12:45:11 -0400 From: Julien-Samuel Lacroix Organization: DM Solutions User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pxniw pxniw Subject: Re: [Chameleon] Server side include? References: <200407011628.i61GSCe5022761@webmail1.magma.ca> In-Reply-To: <200407011628.i61GSCe5022761@webmail1.magma.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2004 16:47:33 -0000 I would add that the [#INCLUDEFILENAME#] syntax is parsed during the preprocessing, so you can include anything with it, widgets or html (not php since php is not parsed in chameleon). Also it use the file() functionality of php, so if your php support it, you will be able to include URL or file on another server. Julien Jason Fournier wrote: > You can use the following syntax in your template: > > For Files: > > [#INCLUDEFILENAME#] > > For PHP Variables: > > [$VARIABLENAME$] > > For files the include *may* have to be located in the same directory as your template ... > I'm not sure if you can use paths in the include. > > Jason > > > > -- ------------------------------------------------------------ Julien-Samuel Lacroix jlacroix@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From pxniw69@yahoo.com Thu Jul 1 18:19:14 2004 Received: from web41908.mail.yahoo.com (web41908.mail.yahoo.com [66.218.93.159]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i61MJDdx008326 for ; Thu, 1 Jul 2004 18:19:13 -0400 Message-ID: <20040701221912.83228.qmail@web41908.mail.yahoo.com> Received: from [69.160.76.247] by web41908.mail.yahoo.com via HTTP; Thu, 01 Jul 2004 15:19:12 PDT Date: Thu, 1 Jul 2004 15:19:12 -0700 (PDT) From: pxniw pxniw Subject: Re: [Chameleon] Server side include? To: Julien-Samuel Lacroix In-Reply-To: <40E43F97.1040805@dmsolutions.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2004 22:19:14 -0000 Thanks --- Julien-Samuel Lacroix wrote: > I would add that the [#INCLUDEFILENAME#] syntax is > parsed during the > preprocessing, so you can include anything with it, > widgets or html (not > php since php is not parsed in chameleon). Also it > use the file() > functionality of php, so if your php support it, you > will be able to > include URL or file on another server. > > Julien > > Jason Fournier wrote: > > You can use the following syntax in your template: > > > > For Files: > > > > [#INCLUDEFILENAME#] > > > > For PHP Variables: > > > > [$VARIABLENAME$] > > > > For files the include *may* have to be located in > the same directory as your template ... > > I'm not sure if you can use paths in the include. > > > > Jason > > > > > > > > > > > -- > ------------------------------------------------------------ > Julien-Samuel Lacroix > jlacroix@dmsolutions.ca > DM Solutions Group > http://www.dmsolutions.ca/ > ------------------------------------------------------------ > __________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail From pxniw69@yahoo.com Fri Jul 2 00:04:24 2004 Received: from web41901.mail.yahoo.com (web41901.mail.yahoo.com [66.218.93.152]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i6244Ndx009973 for ; Fri, 2 Jul 2004 00:04:23 -0400 Message-ID: <20040702040422.40673.qmail@web41901.mail.yahoo.com> Received: from [69.160.76.247] by web41901.mail.yahoo.com via HTTP; Thu, 01 Jul 2004 21:04:22 PDT Date: Thu, 1 Jul 2004 21:04:22 -0700 (PDT) From: pxniw pxniw Subject: Re: [Chameleon] Server side include? To: chameleon@lists.maptools.org In-Reply-To: <20040701221912.83228.qmail@web41908.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jul 2004 04:04:24 -0000 Ok little tougher this time. How do I include this in 'include' ie my url is this http://www.test.com/cgi-bin/test.cgi?fruit=apple and this is what I do: [#http://www.test.com/cgi-bin/test.cgi?fruit=apple#] So far so good. But now if I have a form on previous page with value [$NAME_OF_FRUIT$] it shows fine, by itself ie [$NAME_OF_FRUIT$] will actually show apple bold (Or whatever fruitname was entered on form, before submitting it to chameleon created page) So how do I include my include with my include (That sounds kinda cool ;) ) I tried this: [#http://www.test.com/cgi-bin/test.cgi?fruit=[$NAME_OF_FRUIT$]#] It won't parse [$NAME_OF_FRUIT$] inside "##" I tried several different ways, but could not get it to work. Any ideas? Thanks --- pxniw pxniw wrote: > Thanks > > > --- Julien-Samuel Lacroix > wrote: > > I would add that the [#INCLUDEFILENAME#] syntax is > > parsed during the > > preprocessing, so you can include anything with > it, > > widgets or html (not > > php since php is not parsed in chameleon). Also it > > use the file() > > functionality of php, so if your php support it, > you > > will be able to > > include URL or file on another server. > > > > Julien > > > > Jason Fournier wrote: > > > You can use the following syntax in your > template: > > > > > > For Files: > > > > > > [#INCLUDEFILENAME#] > > > > > > For PHP Variables: > > > > > > [$VARIABLENAME$] > > > > > > For files the include *may* have to be located > in > > the same directory as your template ... > > > I'm not sure if you can use paths in the > include. > > > > > > Jason > > > > > > > > > > > > > > > > > > -- > > > ------------------------------------------------------------ > > Julien-Samuel Lacroix > > jlacroix@dmsolutions.ca > > DM Solutions Group > > http://www.dmsolutions.ca/ > > > ------------------------------------------------------------ > > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail is new and improved - Check it out! > http://promotions.yahoo.com/new_mail > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail From pxniw69@yahoo.com Fri Jul 2 00:37:42 2004 Received: from web41902.mail.yahoo.com (web41902.mail.yahoo.com [66.218.93.153]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i624bgdx010174 for ; Fri, 2 Jul 2004 00:37:42 -0400 Message-ID: <20040702043741.18621.qmail@web41902.mail.yahoo.com> Received: from [69.160.76.247] by web41902.mail.yahoo.com via HTTP; Thu, 01 Jul 2004 21:37:41 PDT Date: Thu, 1 Jul 2004 21:37:41 -0700 (PDT) From: pxniw pxniw To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Chameleon] geomath widget X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jul 2004 04:37:43 -0000 I just noticed geomath widget. What is this widget used for? I need a widget or script that calculates a distance from 3 sets of lats and lons. (Point a, point b and point c) Does above scrit do that? How? If not is there a widget that does? If not where should I go and find one? sample anyone? Thanks a bunch 8) __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo From pxniw69@yahoo.com Fri Jul 2 20:18:53 2004 Received: from web41908.mail.yahoo.com (web41908.mail.yahoo.com [66.218.93.159]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i630Iqdx017593 for ; Fri, 2 Jul 2004 20:18:53 -0400 Message-ID: <20040703001821.8181.qmail@web41908.mail.yahoo.com> Received: from [69.160.76.247] by web41908.mail.yahoo.com via HTTP; Fri, 02 Jul 2004 17:18:21 PDT Date: Fri, 2 Jul 2004 17:18:21 -0700 (PDT) From: pxniw pxniw Subject: Re: [Chameleon] Server side include? To: chameleon@lists.maptools.org In-Reply-To: <20040702040422.40673.qmail@web41901.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jul 2004 00:18:53 -0000 Do I need to go to source code with this? If so how? Where do I start? my version I use is from January 2004... (I cant find version# anywhere) Thanks > Ok little tougher this time. > > How do I include this in 'include' > > ie my url is this > http://www.test.com/cgi-bin/test.cgi?fruit=apple > > and this is what I do: > > [#http://www.test.com/cgi-bin/test.cgi?fruit=apple#] > > So far so good. > > But now if I have a form on previous page with value > [$NAME_OF_FRUIT$] it shows fine, by itself ie > [$NAME_OF_FRUIT$] > will actually show apple bold (Or whatever fruitname > was entered on form, before submitting it to > chameleon > created page) > > So how do I include my include with my include (That > sounds kinda cool ;) ) > > I tried this: > [#http://www.test.com/cgi-bin/test.cgi?fruit=[$NAME_OF_FRUIT$]#] > > It won't parse [$NAME_OF_FRUIT$] inside "##" > I tried several different ways, but could not get it > to work. > > Any ideas? > > Thanks > > > --- pxniw pxniw wrote: > > Thanks > > > > > > --- Julien-Samuel Lacroix > > > wrote: > > > I would add that the [#INCLUDEFILENAME#] syntax > is > > > parsed during the > > > preprocessing, so you can include anything with > > it, > > > widgets or html (not > > > php since php is not parsed in chameleon). Also > it > > > use the file() > > > functionality of php, so if your php support it, > > you > > > will be able to > > > include URL or file on another server. > > > > > > Julien > > > > > > Jason Fournier wrote: > > > > You can use the following syntax in your > > template: > > > > > > > > For Files: > > > > > > > > [#INCLUDEFILENAME#] > > > > > > > > For PHP Variables: > > > > > > > > [$VARIABLENAME$] > > > > > > > > For files the include *may* have to be located > > in > > > the same directory as your template ... > > > > I'm not sure if you can use paths in the > > include. > > > > > > > > Jason > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > ------------------------------------------------------------ > > > Julien-Samuel Lacroix > > > jlacroix@dmsolutions.ca > > > DM Solutions Group > > > http://www.dmsolutions.ca/ > > > > > > ------------------------------------------------------------ > > > > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Mail is new and improved - Check it out! > > http://promotions.yahoo.com/new_mail > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > > http://lists.maptools.org/mailman/listinfo/chameleon > > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - 50x more storage than other providers! > http://promotions.yahoo.com/new_mail > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail From jcradock@me3.com Wed Jun 30 09:04:31 2004 Received: from redington.me3.com ([65.198.76.159]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i5UD4Pdx023823 for ; Wed, 30 Jun 2004 09:04:31 -0400 Received: (qmail 20993 invoked by uid 99); 30 Jun 2004 12:44:39 -0000 Received: from 192.168.0.182 (SquirrelMail authenticated user creadoc) by redington.me3.com with HTTP; Wed, 30 Jun 2004 08:44:39 -0400 (EDT) Message-ID: <52190.192.168.0.182.1088599479.squirrel@redington.me3.com> In-Reply-To: <51783.24.97.59.226.1088523830.squirrel@redington.me3.com> References: <51783.24.97.59.226.1088523830.squirrel@redington.me3.com> Date: Wed, 30 Jun 2004 08:44:39 -0400 (EDT) From: "James Cradock" To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-Mailman-Approved-At: Mon, 05 Jul 2004 09:05:23 -0400 Subject: [Chameleon] Re: Alternate cwc2.xml X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: jcradock@me3.com List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2004 13:04:32 -0000 Alirght. I *think* I want to change the app-context so that different developers using the same installation of Chameleon in /opt can use their own configuration files. Two questions: 1. Is this correct? 2. Are there examples or (better!) is there documentation for how to do this starting with the barebones phtml initialization script everyone's sharing? If what I'm describing is NOT doable, do I simply need to install a copy of Chameleon for every developer working on a Chameleon application? (I know I said 2 questions, but...) Thanks! Jim > How do I specify an alternate path to a cwc2.xml file? Can this be done in > the phtml init script? We have multiple developers working on different > Chameleon applications in different instances of Apache. Host names and > paths on the file system do vary from developer to developer. I'd rather > not install Chameleon each time for each developer. > > Thanks. > > JC > > ----- > james cradock > jcradock@redington.me3.com > ----- James Cradock, jcradock@me3.com me3 Technology Consultants, LLC 24 Preble Street Portland, Maine, USA 04101 http://www.me3.com/ From shon@pangaeatech.com Thu Jul 1 11:39:24 2004 Received: from secext.pangaeatech.com (sechost.pangaeatech.com [38.112.2.30]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i61FdNdx005996 for ; Thu, 1 Jul 2004 11:39:24 -0400 Received: from logan.pangaeatech.com by secext.pangaeatech.com via smtpd (for [209.217.116.153]) with ESMTP; Thu, 1 Jul 2004 11:11:54 -0700 Received: from pangaea_prod01.pangaeatech.com ([10.0.0.3]) by logan.pangaeatech.com with Microsoft SMTPSVC(5.0.2195.6713); Thu, 1 Jul 2004 10:26:39 -0500 Received: by PANGAEA_PROD01 with Internet Mail Service (5.5.2653.19) id ; Thu, 1 Jul 2004 10:35:53 -0500 Message-ID: <913134132F1BD21180240008C7F428E04F73D5@PANGAEA_PROD01> From: Shon Doseck To: "'chameleon@lists.maptools.org'" Date: Thu, 1 Jul 2004 10:35:47 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C45F81.14B34790" X-OriginalArrivalTime: 01 Jul 2004 15:26:39.0578 (UTC) FILETIME=[CE0ED3A0:01C45F7F] X-Mailman-Approved-At: Mon, 05 Jul 2004 09:05:23 -0400 Subject: [Chameleon] Accessing Map Resources with PHP/MapScript in Chameleon X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2004 15:39:24 -0000 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C45F81.14B34790 Content-Type: text/plain; charset="iso-8859-1" List, I'm pretty new to Chameleon and am not sure where the best place is to apply PHP/MapScript logic within the Chameleon framework. Armed with the information gained from the MapServer User's Meeting last month, I was able to get my interface up and styled with relative ease. Now I have to change the data content (i.e. name and data source of a layer) based on user interaction with a pull-down form field. I'm pretty comfortable with how to do this in PHP/MapScript (see my basic approach below), but not knowing much about how map session and state information is maintained with Chameleon, I'm not sure where I should go with this. $nLayers=$oApp->moMapSession->oMap->numlayers; for($i=0; $i<$nLayers; $i++) { $oLayer=$oApp->moMapSession->oMap->getlayer($i); if ($oLayer->name == 'Original_Layer_Name') { $oLayer->set("name","User_Defined_Layer_Name"); $oLayer->set("data","/data1/rest_of_path_to_data"); } } If there doesn't already exist a widget to help me perform this task, perhaps a custom widget is the answer, but again without more knowledge of the anatomy of widgets and how to develop them, I wouldn't know where to start. A push in the right direction would be very much appreciated. I'm excited to get past the initial learning curve for utilizing all the potential of Chameleon and hope this exercise will bring me closer. Thanks, Shon ________________________________________ Shon M. Doseck GIS Analyst Pangaea Information Technologies, Ltd. Tel. 312.986.9471 Cell. 312.804.9650 Fax. 312.986.9477 http://www.pangaeatech.com ________________________________________ ------_=_NextPart_001_01C45F81.14B34790 Content-Type: text/html; charset="iso-8859-1"
List,
 
I'm pretty new to Chameleon and am not sure where the best place is to apply PHP/MapScript logic within the Chameleon framework.  Armed with the information gained from the MapServer User's Meeting last month, I was able to get my interface up and styled with relative ease.  Now I have to change the data content (i.e. name and data source of a layer) based on user interaction with a pull-down form field.  I'm pretty comfortable with how to do this in PHP/MapScript (see my basic approach below), but not knowing much about how map session and state information is maintained with Chameleon, I'm not sure where I should go with this.
 

$nLayers=$oApp->moMapSession->oMap->numlayers;
 
for($i=0; $i<$nLayers; $i++)
{
    $oLayer=$oApp->moMapSession->oMap->getlayer($i);
    if ($oLayer->name == 'Original_Layer_Name') {
        $oLayer->set("name","User_Defined_Layer_Name");
        $oLayer->set("data","/data1/rest_of_path_to_data");
    }
}
 

If there doesn't already exist a widget to help me perform this task, perhaps a custom widget is the answer, but again without more knowledge of the anatomy of widgets and how to develop them, I wouldn't know where to start.  A push in the right direction would be very much appreciated.  I'm excited to get past the initial learning curve for utilizing all the potential of Chameleon and hope this exercise will bring me closer.
 
Thanks,
Shon
________________________________________
Shon M. Doseck
GIS Analyst
Pangaea Information Technologies, Ltd.
Tel. 312.986.9471
Cell. 312.804.9650
Fax. 312.986.9477
http://www.pangaeatech.com
________________________________________
 
------_=_NextPart_001_01C45F81.14B34790-- From jlacroix@dmsolutions.ca Tue Jul 6 14:20:13 2004 Received: from angrenost.dmsolutions.ca (adsl-53-226.cybernaute.com [207.134.52.226] (may be forged)) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i66IKCdx025953 for ; Tue, 6 Jul 2004 14:20:12 -0400 Received: from dmsolutions.ca (orthanc [192.168.4.8]) by angrenost.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id i66IIlY08620; Tue, 6 Jul 2004 14:18:47 -0400 Message-ID: <40EAECF1.8020600@dmsolutions.ca> Date: Tue, 06 Jul 2004 14:18:25 -0400 From: Julien-Samuel Lacroix Organization: DM Solutions User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pxniw pxniw Subject: Re: [Chameleon] Server side include? References: <20040702040422.40673.qmail@web41901.mail.yahoo.com> In-Reply-To: <20040702040422.40673.qmail@web41901.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2004 18:20:13 -0000 > So how do I include my include with my include (That > sounds kinda cool ;) ) > > I tried this: > [#http://www.test.com/cgi-bin/test.cgi?fruit=[$NAME_OF_FRUIT$]#] > > It won't parse [$NAME_OF_FRUIT$] inside "##" > I tried several different ways, but could not get it > to work. This can't work right now because the chameleon preprocessor parse [##] tags before [$$] tags. The reason is simple. This way you can include [$$] in components added by [##] tags. If you want to change this behavior, look in the TemplateParser.php file (chameleon/htdocs/TemplateParser.php) for the Parser() function. You will see that the first thing that is done in this function is the replacement of [##] tags and then the [$$] tags. Maybe you can invert them. Or parse for [$$], then for [##] and again for [$$] to replace the newly added tags. But this can have a little impact on performance. Let us know what you have done and the impact on performance. :) Thanks Julien -- ------------------------------------------------------------ Julien-Samuel Lacroix jlacroix@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From pxniw69@yahoo.com Tue Jul 6 17:50:06 2004 Received: from web41908.mail.yahoo.com (web41908.mail.yahoo.com [66.218.93.159]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i66Lo5dx027669 for ; Tue, 6 Jul 2004 17:50:05 -0400 Message-ID: <20040706214934.71751.qmail@web41908.mail.yahoo.com> Received: from [69.160.76.247] by web41908.mail.yahoo.com via HTTP; Tue, 06 Jul 2004 14:49:34 PDT Date: Tue, 6 Jul 2004 14:49:34 -0700 (PDT) From: pxniw pxniw Subject: Re: [Chameleon] Server side include? To: chameleon@lists.maptools.org In-Reply-To: <40EAECF1.8020600@dmsolutions.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2004 21:50:06 -0000 Ok here is the code: (No performance hit noted btw) and works great. ;) Start Code // Start ADDED by PXNIW (Wanted to parse $$ tags before ## tags // replace all [$something$] to the correct url var value // This is duplicate code from below so $$ parses before ## $nPos = strpos($this->mszTemplate, "[$"); while($nPos !== false) { $nEndPos = strpos($this->mszTemplate, "$]", $nPos); $szTag = substr($this->mszTemplate, $nPos, $nEndPos-$nPos+2); if (isset($oApp->moHttpFormVars->maszVars[strtoupper(substr($szTag, 2, -2))])) $this->mszTemplate =& str_replace($szTag, $oApp->moHttpFormVars->maszVars[strtoupper(substr($szTag, 2, -2))], $this->mszTemplate); $nPos = strpos($this->mszTemplate, "[$", $nPos+2); } // END ADDED by PXNIW // First, include all files to include. $nPos = strpos($this->mszTemplate, "[#"); while ($nPos !== false) { $nEndPos = strpos($this->mszTemplate, "#]"); if ($nEndPos === false) break; $szTemplateName = substr($this->mszTemplate, $nPos+2, $nEndPos-$nPos-2); // Make a copy of the current teplate $szTemplate = $this->mszTemplate; $oApp->CWCLoadTemplate($szTemplateName); $this->mszTemplate =& str_replace("[#$szTemplateName#]", $oApp->mszTemplate, $szTemplate); $nPos = strpos($this->mszTemplate, "[#"); } // Then, replace all [$something$] to the correct url var value $nPos = strpos($this->mszTemplate, "[$"); while($nPos !== false) { $nEndPos = strpos($this->mszTemplate, "$]", $nPos); $szTag = substr($this->mszTemplate, $nPos, $nEndPos-$nPos+2); if (isset($oApp->moHttpFormVars->maszVars[strtoupper(substr($szTag, 2, -2))])) $this->mszTemplate =& str_replace($szTag, $oApp->moHttpFormVars->maszVars[strtoupper(substr($szTag, 2, -2))], $this->mszTemplate); $nPos = strpos($this->mszTemplate, "[$", $nPos+2); } if (strlen($this->mszTemplate) == 0) return 0; $this->maszElements = array(); $this->maszPlaceholders = array(); $this->mszTemplate = preg_replace_callback( $this->mszPattern, array( &$this, "ParseCallback" ), $this->mszTemplate ); return $this->NumElements(); } End Code --- Julien-Samuel Lacroix wrote: > > > So how do I include my include with my include > (That > > sounds kinda cool ;) ) > > > > I tried this: > > > [#http://www.test.com/cgi-bin/test.cgi?fruit=[$NAME_OF_FRUIT$]#] > > > > It won't parse [$NAME_OF_FRUIT$] inside "##" > > I tried several different ways, but could not get > it > > to work. > > This can't work right now because the chameleon > preprocessor parse [##] > tags before [$$] tags. The reason is simple. This > way you can include > [$$] in components added by [##] tags. If you want > to change this > behavior, look in the TemplateParser.php file > (chameleon/htdocs/TemplateParser.php) for the > Parser() function. You > will see that the first thing that is done in this > function is the > replacement of [##] tags and then the [$$] tags. > Maybe you can invert > them. Or parse for [$$], then for [##] and again for > [$$] to replace the > newly added tags. But this can have a little impact > on performance. > > Let us know what you have done and the impact on > performance. :) > > Thanks > Julien > > > > -- > ------------------------------------------------------------ > Julien-Samuel Lacroix > jlacroix@dmsolutions.ca > DM Solutions Group > http://www.dmsolutions.ca/ > ------------------------------------------------------------ > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail From jlacroix@dmsolutions.ca Wed Jul 7 14:33:14 2004 Received: from angrenost.dmsolutions.ca ([207.134.52.226]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i67IXDdx004060 for ; Wed, 7 Jul 2004 14:33:13 -0400 Received: from dmsolutions.ca (orthanc [192.168.4.8]) by angrenost.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id i67IW9Y10707; Wed, 7 Jul 2004 14:32:09 -0400 Message-ID: <40EC4193.9050401@dmsolutions.ca> Date: Wed, 07 Jul 2004 14:31:47 -0400 From: Julien-Samuel Lacroix Organization: DM Solutions User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pxniw pxniw Subject: Re: [Chameleon] Server side include? References: <20040706214934.71751.qmail@web41908.mail.yahoo.com> In-Reply-To: <20040706214934.71751.qmail@web41908.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2004 18:33:14 -0000 Thanks pxniw, :) I open a enhancement bug about this in the Chameleon bugzilla. http://www.maptools.org/bugzilla/show_bug.cgi?id=502 You can add yourself in CC if you wan to see the evolution of the bug. Julien pxniw pxniw wrote: > Ok here is the code: > (No performance hit noted btw) > and works great. ;) > > Start Code > > // Start ADDED by PXNIW (Wanted to parse $$ tags > before ## tags > // replace all [$something$] to the correct url var > value > // This is duplicate code from below so $$ parses > before ## > $nPos = strpos($this->mszTemplate, "[$"); > while($nPos !== false) > { > $nEndPos = strpos($this->mszTemplate, > "$]", $nPos); > $szTag = substr($this->mszTemplate, $nPos, > $nEndPos-$nPos+2); > > if > (isset($oApp->moHttpFormVars->maszVars[strtoupper(substr($szTag, > 2, -2))])) > $this->mszTemplate =& > str_replace($szTag, > > $oApp->moHttpFormVars->maszVars[strtoupper(substr($szTag, > 2, -2))], > $this->mszTemplate); > $nPos = strpos($this->mszTemplate, "[$", > $nPos+2); > } > // END ADDED by PXNIW > > // First, include all files to include. > $nPos = strpos($this->mszTemplate, "[#"); > while ($nPos !== false) > { > $nEndPos = strpos($this->mszTemplate, > "#]"); > > if ($nEndPos === false) > break; > > $szTemplateName = > substr($this->mszTemplate, $nPos+2, $nEndPos-$nPos-2); > > // Make a copy of the current teplate > $szTemplate = $this->mszTemplate; > > $oApp->CWCLoadTemplate($szTemplateName); > > $this->mszTemplate =& > str_replace("[#$szTemplateName#]", $oApp->mszTemplate, > $szTemplate); > > $nPos = strpos($this->mszTemplate, "[#"); > } > > // Then, replace all [$something$] to the > correct url var value > $nPos = strpos($this->mszTemplate, "[$"); > while($nPos !== false) > { > $nEndPos = strpos($this->mszTemplate, > "$]", $nPos); > $szTag = substr($this->mszTemplate, $nPos, > $nEndPos-$nPos+2); > > if > (isset($oApp->moHttpFormVars->maszVars[strtoupper(substr($szTag, > 2, -2))])) > $this->mszTemplate =& > str_replace($szTag, > > $oApp->moHttpFormVars->maszVars[strtoupper(substr($szTag, > 2, -2))], > $this->mszTemplate); > $nPos = strpos($this->mszTemplate, "[$", > $nPos+2); > } > > if (strlen($this->mszTemplate) == 0) > return 0; > > $this->maszElements = array(); > $this->maszPlaceholders = array(); > > $this->mszTemplate = preg_replace_callback( > $this->mszPattern, > array( &$this, "ParseCallback" ), > $this->mszTemplate ); > > return $this->NumElements(); > } > > End Code > > > > -- ------------------------------------------------------------ Julien-Samuel Lacroix jlacroix@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From pagameba@magma.ca Thu Jul 8 10:45:21 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i68EjLdx012718 for ; Thu, 8 Jul 2004 10:45:21 -0400 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i68EjKh8027404; Thu, 8 Jul 2004 10:45:20 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail1.magma.ca (8.12.10/8.12.9) with ESMTP id i68EjImo021813; Thu, 8 Jul 2004 10:45:20 -0400 Message-ID: <40ED5DFB.7060500@magma.ca> Date: Thu, 08 Jul 2004 10:45:15 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Shon Doseck Subject: Re: [Chameleon] Accessing Map Resources with PHP/MapScript in Chameleon References: <913134132F1BD21180240008C7F428E04F73D5@PANGAEA_PROD01> In-Reply-To: <913134132F1BD21180240008C7F428E04F73D5@PANGAEA_PROD01> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: "'chameleon@lists.maptools.org'" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2004 14:45:22 -0000 Shon, this sounds like a new widget for sure. Unfortunately there isn't any real documentation on creating new widgets yet (it's still in the planning stages right now). Your best bet is to look at existing widgets and model your code on that. As a quick overview, I would suggest taking something like the mapsize widget and using it as your starting point. Your code below will go into the ParseURL function. The user interface is generated in the DrawPublish function. The definition of the attributes that your widget supports ... and initialization of default values ... goes in the widget constructor and the InitDefaults method. Cheers, Paul Shon Doseck wrote: > List, > > I'm pretty new to Chameleon and am not sure where the best place is to > apply PHP/MapScript logic within the Chameleon framework. Armed with > the information gained from the MapServer User's Meeting last month, I > was able to get my interface up and styled with relative ease. Now I > have to change the data content (i.e. name and data source of a layer) > based on user interaction with a pull-down form field. I'm pretty > comfortable with how to do this in PHP/MapScript (see my basic approach > below), but not knowing much about how map session and state information > is maintained with Chameleon, I'm not sure where I should go with this. > > > $nLayers=$oApp->moMapSession->oMap->numlayers; > > for($i=0; $i<$nLayers; $i++) > { > $oLayer=$oApp->moMapSession->oMap->getlayer($i); > if ($oLayer->name == 'Original_Layer_Name') { > $oLayer->set("name","User_Defined_Layer_Name"); > $oLayer->set("data","/data1/rest_of_path_to_data"); > } > } > > > If there doesn't already exist a widget to help me perform this task, > perhaps a custom widget is the answer, but again without more knowledge > of the anatomy of widgets and how to develop them, I wouldn't know where > to start. A push in the right direction would be very much > appreciated. I'm excited to get past the initial learning curve for > utilizing all the potential of Chameleon and hope this exercise will > bring me closer. > > Thanks, > Shon > ________________________________________ > Shon M. Doseck > GIS Analyst > Pangaea Information Technologies, Ltd. > Tel. 312.986.9471 > Cell. 312.804.9650 > Fax. 312.986.9477 > ___http://www.pangaeatech.com _ > ________________________________________ > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From dbradshaw@olver.com Thu Jul 8 16:00:23 2004 Received: from poser.olver.com (66-207-66-32.black.dmt.ntelos.net [66.207.66.32]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i68K0Kdx017142 for ; Thu, 8 Jul 2004 16:00:22 -0400 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 Date: Thu, 8 Jul 2004 16:00:17 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Symbol Question thread-index: AcRlBLITQOPCOwUwT2mZ7Xc8BUAWMgAIPqHw From: "David Bradshaw" To: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i68K0Kdx017142 Subject: [Chameleon] Symbol Question X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2004 20:00:23 -0000 To all: I am wondering about all the different symbols for MapServer. Is there a library of all the different symbols. For example water wells (dry, abandoned, etc) or gas well (producing, plugged, abandoned, etc) symbols? I am new, I hope this is not too simple of a question. Thanks, David L. Bradshaw This document, including attachments, is confidential and may be privileged. If you are not an intended recipient, please notify the sender, then delete and destroy the original message and all copies. You should not copy, forward and/or disclose this message, in whole or in part, without permission of the sender. If you receive this e-mail message in error, please notify us immediately. Thank you. From mickeldelay@yahoo.com Sun Jul 11 09:36:38 2004 Received: from web51903.mail.yahoo.com (web51903.mail.yahoo.com [206.190.39.46]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i6BDacdx018088 for ; Sun, 11 Jul 2004 09:36:38 -0400 Message-ID: <20040711133617.75870.qmail@web51903.mail.yahoo.com> Received: from [82.205.162.4] by web51903.mail.yahoo.com via HTTP; Sun, 11 Jul 2004 06:36:17 PDT Date: Sun, 11 Jul 2004 06:36:17 -0700 (PDT) From: mickel delay To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Chameleon] display coordinate in lat/long X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jul 2004 13:36:39 -0000 Dear list i want to display coordinate of map file in lat/long format from wgs84 DATUME ,in chameleon. but i want to do not use from chameleon tools for converting coordinate from metric to geographic WSG84. i need a map file that selected correct datume and projection for this problem. please direct me with a map file example regards mickel __________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail From ken@rockies.ca Sun Jul 11 21:00:19 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6C10Idx021384 for ; Sun, 11 Jul 2004 21:00:18 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id afpseaaa for chameleon@lists.maptools.org; Sun, 11 Jul 2004 18:50:42 -0600 From: "Ken Sanderson" To: Date: Sun, 11 Jul 2004 19:03:04 -0600 Message-ID: <004601c467ab$ffc9f2b0$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Importance: Normal Subject: [Chameleon] JSAPI newbie questions X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 01:00:19 -0000 Hello all. Now that I have chameleon up and running I thought the best way to get things rolling on the learning curve was to dive in and use it for an upcoming project. The project has the requirement of a tool where the user clicks on the map, I get the coordinates for that click, and then I go and do something with those coords. Fairly straight forward. After reading the docs on widgets and JSAPI I decided likely the JSAPI was a good way to go and further decided to start off by implimenting the example in the JSAPI docs. So first I added the two lines up below the rest of the shared resources: This I gather should tell things that I am using JSAPI. I then added the event register to the myOnLoad() function like: function myOnLoad() { CWC2OnLoadFunction(); goCWCApp.RegisterEvent( MOUSE_CLICKED, "myMouseClicked"); } Then I pasted in the myMouseClicked function from the JSAPI docs, like: function myMouseClicked() { oMap = goCWCApp.oMap; mousePos = "(" + oMap.mouseclick[0] + "," + oMap.mouseclick[1] + ")"; alert("mouse clicked at " + mousePos); } So now my question. What have I done wrong or missed doing? By added the above it more or less breaks the page. Is it because I have not set it to tell the other widgets to not operate, ie if the tool selected is zoomin, then its going to zoomin as well as my little function? Obviously I am going to want to change it so it only does my function, but can you have both if you wanted too? Any suggestions appreciated, as well as tips, tales and stories from those more experienced with the JSAPI. Thanks, Ken Sanderson Miistakis From pagameba@magma.ca Sun Jul 11 23:02:18 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6C32Idx022099 for ; Sun, 11 Jul 2004 23:02:18 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i6C32EiK005916; Sun, 11 Jul 2004 23:02:14 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i6C32Chi031276; Sun, 11 Jul 2004 23:02:14 -0400 Message-ID: <40F1FF2E.6020401@magma.ca> Date: Sun, 11 Jul 2004 23:02:06 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: mickel delay Subject: Re: [Chameleon] display coordinate in lat/long References: <20040711133617.75870.qmail@web51903.mail.yahoo.com> In-Reply-To: <20040711133617.75870.qmail@web51903.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org, "mapserver-users@lists.gis.umn.edu" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 03:02:19 -0000 Mickel, for map-file-related questions please use the mapserver-users mailing list. Paul mickel delay wrote: > Dear list > i want to display coordinate of map file in lat/long > format from wgs84 DATUME ,in chameleon. > but i want to do not use from chameleon tools for > converting coordinate from metric to geographic WSG84. > i need a map file that selected correct datume and > projection for this problem. > please direct me with a map file example > > regards > mickel > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail is new and improved - Check it out! > http://promotions.yahoo.com/new_mail > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Sun Jul 11 23:06:36 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6C36adx022229 for ; Sun, 11 Jul 2004 23:06:36 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id i6C36ZJf006986; Sun, 11 Jul 2004 23:06:35 -0400 Received: from magma.ca (ottawa-hs-64-26-169-56.s-ip.magma.ca [64.26.169.56]) by mail3.magma.ca (8.12.10/8.12.9) with ESMTP id i6C36Wsa022886; Sun, 11 Jul 2004 23:06:35 -0400 Message-ID: <40F20033.1000504@magma.ca> Date: Sun, 11 Jul 2004 23:06:27 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ken Sanderson Subject: Re: [Chameleon] JSAPI newbie questions References: <004601c467ab$ffc9f2b0$31289f88@GLADSTONE> In-Reply-To: <004601c467ab$ffc9f2b0$31289f88@GLADSTONE> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 03:06:36 -0000 Ken, the CWCJSAPI widget is more or less broken for any version after 1.0.6 (i.e. any of the 1.1 or 1.99 versions) up to and including the 1.99 beta 1 version. It should work for the beta 2 version which is to be released this week (pending internal qa review) for most widgets, but it likely still has problems that won't be fully resolved until beta 3 or 4. I would appreciate it if you do try to use it for your project once beta 2 is released as this will give me some real feedback :) Cheers, Paul Ken Sanderson wrote: > Hello all. > > Now that I have chameleon up and running I thought the best way to get > things rolling on the learning curve was to dive in and use it for an > upcoming project. The project has the requirement of a tool where the > user clicks on the map, I get the coordinates for that click, and then I > go and do something with those coords. Fairly straight forward. > > After reading the docs on widgets and JSAPI I decided likely the JSAPI > was a good way to go and further decided to start off by implimenting > the example in the JSAPI docs. > > So first I added the two lines up below the rest of the shared > resources: > > > > > This I gather should tell things that I am using JSAPI. > > I then added the event register to the myOnLoad() function like: > > function myOnLoad() > { > CWC2OnLoadFunction(); > goCWCApp.RegisterEvent( MOUSE_CLICKED, > "myMouseClicked"); > } > > Then I pasted in the myMouseClicked function from the JSAPI docs, like: > > function myMouseClicked() > { > oMap = goCWCApp.oMap; > mousePos = "(" + oMap.mouseclick[0] + "," > + oMap.mouseclick[1] + ")"; > alert("mouse clicked at " + mousePos); > } > > So now my question. What have I done wrong or missed doing? By added the > above it more or less breaks the page. Is it because I have not set it > to tell the other widgets to not operate, ie if the tool selected is > zoomin, then its going to zoomin as well as my little function? > Obviously I am going to want to change it so it only does my function, > but can you have both if you wanted too? > > Any suggestions appreciated, as well as tips, tales and stories from > those more experienced with the JSAPI. > > Thanks, > > Ken Sanderson > Miistakis > > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From dbradshaw@politicalmapping.com Sat Jul 10 21:44:40 2004 Received: from out010.verizon.net (out010pub.verizon.net [206.46.170.133]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6B1iddx006067 for ; Sat, 10 Jul 2004 21:44:40 -0400 Received: from swordtail ([151.199.117.151]) by out010.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040711014438.XYXH15848.out010.verizon.net@swordtail> for ; Sat, 10 Jul 2004 20:44:38 -0500 Message-ID: <002f01c466e8$9d500750$1b02a8c0@swordtail> From: "David L. Bradshaw" To: References: <200407081600.i68G03e1014617@www.maptools.org> Date: Sat, 10 Jul 2004 21:44:32 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_002C_01C466C7.15ACFCC0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Authentication-Info: Submitted using SMTP AUTH at out010.verizon.net from [151.199.117.151] at Sat, 10 Jul 2004 20:44:35 -0500 X-Mailman-Approved-At: Mon, 12 Jul 2004 09:37:14 -0400 Subject: [Chameleon] ESRI TTF Oil & Gas Symbology X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jul 2004 01:44:40 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_002C_01C466C7.15ACFCC0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear List: I am stuck. I've copied the ESRI Oil, Gas, & Water TTF from my = Windows\font directory into the \etc folder. I added the following to = my font.txt file: esri_4 esri_4.ttf and I have added the following to my symbol.sym file: SYMBOL NAME 'gaswell' TYPE TRUETYPE FONT esri_4 FILLED true ANTIALIAS true CHARACTER '3' END In my map file I have the following: LAYER NAME gas_wells_120603 METADATA "DESCRIPTION" "Wells" "RESULT_FIELDS" "Layer" END MAXSCALE 30000 =20 TYPE POINT STATUS ON DATA gas_wells_120603 LabelItem "Layer" =20 CLASSITEM "Type"=20 =20 CLASS EXPRESSION "1" =20 TEMPLATE "ttt_query.html" SYMBOL 'cbm' SIZE 4 NAME cbm =20 COLOR 50 249 242 END =20 TOLERANCE 5 END # Layer And now the question... Why cannot I not get esri little symbol for a gas well? It is the 3 = character of the first line of characters. I am running the latest mapserver download from DM Solution. I did not = compile anything I am using it as is for Windows. I am playing with this at home this weekend if anyone happens to see = this. Thanks so much, David ------=_NextPart_000_002C_01C466C7.15ACFCC0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Dear List:
 
I am stuck.  I've copied the ESRI = Oil, Gas,=20 & Water TTF from my Windows\font directory into the \etc = folder.  I=20 added the following to my font.txt file:
esri_4    esri_4.ttf
 
and I have added the following to my = symbol.sym=20 file:
SYMBOL
NAME 'gaswell'
TYPE = TRUETYPE
FONT=20 esri_4
FILLED true
ANTIALIAS true
CHARACTER = '3'
END
 
In my map file I have the = following:
LAYER
  NAME = gas_wells_120603
 =20 METADATA
    "DESCRIPTION"  =20 "Wells"
    "RESULT_FIELDS" "Layer"
  = END
MAXSCALE=20 30000 
TYPE POINT
  STATUS ON
  DATA=20 gas_wells_120603
  LabelItem "Layer" 
  CLASSITEM=20 "Type" 
 
CLASS
    EXPRESSION = "1" =20
    TEMPLATE "ttt_query.html"
    = SYMBOL=20 'cbm'
    SIZE 4
    NAME=20 cbm
   
    COLOR 50 249 = 242
 =20 END
 
  TOLERANCE 5
END # Layer
 
And now the question...
 
Why cannot I not get esri little symbol = for a gas=20 well?  It is the 3 character of the first line of = characters.
 
I am running the latest mapserver = download from DM=20 Solution.  I did not compile anything I am using it as is for=20 Windows.
 
I am playing with this at = home  this=20 weekend if anyone happens to see this.
 
Thanks so much,
 
David
------=_NextPart_000_002C_01C466C7.15ACFCC0-- From ikeivy2000@hotmail.com Sun Jul 11 22:55:06 2004 Received: from hotmail.com (bay17-f26.bay17.hotmail.com [64.4.43.76]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6C2t6dx022041; Sun, 11 Jul 2004 22:55:06 -0400 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 11 Jul 2004 19:44:03 -0700 Received: from 193.196.125.4 by by17fd.bay17.hotmail.msn.com with HTTP; Mon, 12 Jul 2004 02:44:03 GMT X-Originating-IP: [193.196.125.4] X-Originating-Email: [ikeivy2000@hotmail.com] X-Sender: ikeivy2000@hotmail.com From: "ISAAC KWADWO NTI" To: ms4w-users-@lists.maptools.org, chameleon@lists.maptools.org Date: Mon, 12 Jul 2004 04:44:03 +0200 Mime-Version: 1.0 Content-Type: text/html Message-ID: X-OriginalArrivalTime: 12 Jul 2004 02:44:03.0586 (UTC) FILETIME=[17E7C620:01C467BA] X-Mailman-Approved-At: Mon, 12 Jul 2004 09:37:14 -0400 Cc: Subject: [Chameleon] Usage of Chameleon,Maplab in other Web based GIS X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 02:55:07 -0000

I would like to know if Chameleon and Maplab Applications can be intergrated into other OpenSource Web GIS softwares-ALOV(www.alov.org),JShape(www.jshape.com) and others.

If it is possible could you let me know the "how".



 

Isaac Kwadwo Nti
Kaiser Str.19,
76131 Karlsruhe
Germany.
Home Tel: +497213529267
Mobile    : +491798846336


Add photos to your e-mail with MSN 8. Get 2 months FREE*. From eric@gomoos.org Mon Jul 12 09:57:36 2004 Received: from mail.gomoos.org (www.gomoos.org [66.70.82.140]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6CDvadx013828 for ; Mon, 12 Jul 2004 09:57:36 -0400 Received: from dot170.office.gomoos.org (rrcs-nys-24-97-59-226.biz.rr.com [24.97.59.226]) by mail.gomoos.org (8.12.8p2/8.12.8) with ESMTP id i6CDvXZ8060003; Mon, 12 Jul 2004 09:57:34 -0400 (EDT) (envelope-from eric@gomoos.org) Subject: Re: [Chameleon] ESRI TTF Oil & Gas Symbology From: Eric Bridger To: "David L. Bradshaw" In-Reply-To: <002f01c466e8$9d500750$1b02a8c0@swordtail> References: <200407081600.i68G03e1014617@www.maptools.org> <002f01c466e8$9d500750$1b02a8c0@swordtail> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 (1.0.3-4) Date: 12 Jul 2004 09:54:06 -0400 Message-Id: <1089640452.1521.10.camel@ubet.gomoos.org> Mime-Version: 1.0 X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL, BAYES_00, UPPERCASE_25_50 autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on peleg.gomoos.org Cc: "chameleon@lists.maptools.org" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 13:57:36 -0000 On Sat, 2004-07-10 at 21:44, David L. Bradshaw wrote: > Dear List: > > I am stuck. I've copied the ESRI Oil, Gas, & Water TTF from my Windows\font directory into the \etc folder. I added the following to my font.txt file: > esri_4 esri_4.ttf > > and I have added the following to my symbol.sym file: > SYMBOL > NAME 'gaswell' > TYPE TRUETYPE > FONT esri_4 > FILLED true > ANTIALIAS true > CHARACTER '3' > END > David, The syntax for this would be: CHARACTER "" or perhaps "" From eric@gomoos.org Mon Jul 12 10:03:36 2004 Received: from mail.gomoos.org (www.gomoos.org [66.70.82.140]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6CE3Zdx013904 for ; Mon, 12 Jul 2004 10:03:35 -0400 Received: from dot170.office.gomoos.org (rrcs-nys-24-97-59-226.biz.rr.com [24.97.59.226]) by mail.gomoos.org (8.12.8p2/8.12.8) with ESMTP id i6CE3RZ8060355; Mon, 12 Jul 2004 10:03:27 -0400 (EDT) (envelope-from eric@gomoos.org) Subject: Re: [Chameleon] display coordinate in lat/long From: Eric Bridger To: Paul Spencer In-Reply-To: <40F1FF2E.6020401@magma.ca> References: <20040711133617.75870.qmail@web51903.mail.yahoo.com> <40F1FF2E.6020401@magma.ca> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 (1.0.3-4) Date: 12 Jul 2004 10:00:00 -0400 Message-Id: <1089640806.1521.17.camel@ubet.gomoos.org> Mime-Version: 1.0 X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on peleg.gomoos.org Cc: "chameleon@lists.maptools.org" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 14:03:36 -0000 On Sun, 2004-07-11 at 23:02, Paul Spencer wrote: > Mickel, > > for map-file-related questions please use the mapserver-users mailing list. > > Paul > > mickel delay wrote: > > > Dear list > > i want to display coordinate of map file in lat/long > > format from wgs84 DATUME ,in chameleon. > > but i want to do not use from chameleon tools for > > converting coordinate from metric to geographic WSG84. > > i need a map file that selected correct datume and > > projection for this problem. > > please direct me with a map file example I want to do something similar but I DO want to use Chameleon. I'm using the CursorPos widget. My map is in a UTM projection, zone 19. What should be my approach to getting CursorPos to display lat/long vs. meters. Eric From pagameba@magma.ca Mon Jul 12 10:22:47 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6CEMldx014245 for ; Mon, 12 Jul 2004 10:22:47 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma's Mail Server) with ESMTP id i6CEMiBO024349; Mon, 12 Jul 2004 10:22:44 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i6CEMf3f028940; Mon, 12 Jul 2004 10:22:44 -0400 Message-ID: <40F29EAC.2050908@magma.ca> Date: Mon, 12 Jul 2004 10:22:36 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eric Bridger Subject: Re: [Chameleon] display coordinate in lat/long References: <20040711133617.75870.qmail@web51903.mail.yahoo.com> <40F1FF2E.6020401@magma.ca> <1089640806.1521.17.camel@ubet.gomoos.org> In-Reply-To: <1089640806.1521.17.camel@ubet.gomoos.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: "chameleon@lists.maptools.org" , Paul Spencer X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 14:22:48 -0000 Currently it is not possible to display the cursor position in anything other than the projection defined in the map file. The reason is that Chameleon produces a client-side web application, but the projection software that would be used to convert the cursor position into lat/lon runs on the server. It is not practical to call this library for every cursor movement. We have discussed possible solutions to this, the most viable seems to be production of a javascript array containing pre-projected points, say every ten pixels, and using this grid to map the current cursor position into the re-projected coordinate system. I don't think there are any plans to implement this right now. Cheers, Paul Eric Bridger wrote: > On Sun, 2004-07-11 at 23:02, Paul Spencer wrote: > >>Mickel, >> >>for map-file-related questions please use the mapserver-users mailing list. >> >>Paul >> >>mickel delay wrote: >> >> >>>Dear list >>>i want to display coordinate of map file in lat/long >>>format from wgs84 DATUME ,in chameleon. >>>but i want to do not use from chameleon tools for >>>converting coordinate from metric to geographic WSG84. >>>i need a map file that selected correct datume and >>>projection for this problem. >>>please direct me with a map file example > > > I want to do something similar but I DO want to use Chameleon. I'm using > the CursorPos widget. My map is in a UTM projection, zone 19. What > should be my approach to getting CursorPos to display lat/long vs. > meters. > > Eric > > > > > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From ikeivy2000@hotmail.com Mon Jul 12 21:26:17 2004 Received: from hotmail.com (bay17-f18.bay17.hotmail.com [64.4.43.68]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6D1QGdx019104 for ; Mon, 12 Jul 2004 21:26:16 -0400 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 12 Jul 2004 18:26:15 -0700 Received: from 129.13.186.4 by by17fd.bay17.hotmail.msn.com with HTTP; Tue, 13 Jul 2004 01:26:15 GMT X-Originating-IP: [129.13.186.4] X-Originating-Email: [ikeivy2000@hotmail.com] X-Sender: ikeivy2000@hotmail.com From: "ISAAC KWADWO NTI" To: chameleon@lists.maptools.org Date: Tue, 13 Jul 2004 03:26:15 +0200 Mime-Version: 1.0 Content-Type: text/html Message-ID: X-OriginalArrivalTime: 13 Jul 2004 01:26:15.0960 (UTC) FILETIME=[64325180:01C46878] Subject: [Chameleon] error messages in links X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 01:26:17 -0000

I downloaded and installed chameleon_ms4w-1.0.6 as an application within ms4w software.When i browsed my localhost the index page showed with CWC2 1.0 (Chameleon 1.0) as an application but two of the links are not working.

The "CWC2 Service Instance url (click for default demo app defined in configuration)" displays a page with the information "FATAL ERROR:Invalid or no access to template(cwc2/htdocs/test.html)"
The CWC2 Documentation results in an error page "page cant be found".

Please how could I solve these problems

Isaac Kwadwo Nti
Kaiser Str.19,
76131 Karlsruhe
Germany.
Home Tel: +497213529267
Mobile    : +491798846336


Add photos to your e-mail with MSN 8. Get 2 months FREE*. From jfournier@dmsolutions.ca Tue Jul 13 11:26:09 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6DFQ9dx025624 for ; Tue, 13 Jul 2004 11:26:09 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i6DFP4Sc001491; Tue, 13 Jul 2004 11:25:05 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail2.magma.ca (8.12.10/8.12.9) with ESMTP id i6DFP2tb006744; Tue, 13 Jul 2004 11:25:04 -0400 Message-ID: <40F3FF69.3030700@dmsolutions.ca> Date: Tue, 13 Jul 2004 11:27:37 -0400 From: Jason Fournier User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: ISAAC KWADWO NTI Subject: Re: [Chameleon] error messages in links References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 15:26:10 -0000 Isaac, Couple of things... If your intention is to use Chameleon I would encourage you to download Chameleon 1.99 Beta. You have downloaded CWC2 1.0.6 - the precursor to Chameleon. Having said that, in order to get your CWC2 installation up and running we'll need to check a couple of things. Firstly, do you have a file called httpd_cwc2.conf in your /ms4w/httpd.d/ directory? If not then please create one with name httpd_cwc2.conf (actually, it can be any name you wish) and place the following text in it: Alias /chameleon/ "/ms4w/apps/cwc2/htdocs/" AllowOverride None Options Indexes FollowSymLinks Multiviews Order allow,deny Allow from all Restart Apache. Type the following in your browser: http://localhost/chameleon/cwc2.php This should get you an application. Note that you can pass a couple of parameters in the url to get different applications - ie, the service instance in action. For instance, you could type: http://localhost/chameleon/cwc2.php?template=demo.html and receive a different application altogether. A few templates have been provided in the htdocs directory by the developers and designers of cwc2. Hope this helps, Jason ISAAC KWADWO NTI wrote: > I downloaded and installed chameleon_ms4w-1.0.6 as an application within > ms4w software.When i browsed my localhost the index page showed with > CWC2 1.0 (Chameleon 1.0) as an application but two of the links are not > working. > > The "CWC2 Service Instance url (click for default demo app defined in > configuration)" displays a page with the information "FATAL > ERROR:Invalid or no access to template(cwc2/htdocs/test.html)" > The CWC2 Documentation results in an error page "page cant be found". > > Please how could I solve these problems > > Isaac Kwadwo Nti > Kaiser Str.19, > 76131 Karlsruhe > Germany. > Home Tel: +497213529267 > Mobile : +491798846336 > > ------------------------------------------------------------------------ > Add photos to your e-mail with MSN 8. > Get 2 months FREE*. > > > ------------------------------------------------------------------------ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ________________________ Jason Fournier Applications Development DM Solutions Group Inc. jfournier@dmsolutions.ca www.dmsolutions.ca 613.565.5056 x18 From ikeivy2000@hotmail.com Wed Jul 14 09:57:57 2004 Received: from hotmail.com (bay17-f29.bay17.hotmail.com [64.4.43.79]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6EDvvdx017721 for ; Wed, 14 Jul 2004 09:57:57 -0400 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 14 Jul 2004 06:57:56 -0700 Received: from 129.13.68.217 by by17fd.bay17.hotmail.msn.com with HTTP; Wed, 14 Jul 2004 13:57:56 GMT X-Originating-IP: [129.13.68.217] X-Originating-Email: [ikeivy2000@hotmail.com] X-Sender: ikeivy2000@hotmail.com From: "ISAAC KWADWO NTI" To: chameleon@lists.maptools.org Date: Wed, 14 Jul 2004 15:57:56 +0200 Mime-Version: 1.0 Content-Type: text/html Message-ID: X-OriginalArrivalTime: 14 Jul 2004 13:57:56.0466 (UTC) FILETIME=[909B2520:01C469AA] Subject: [Chameleon] NO DOCUMENTATION FILES FOUND X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2004 13:57:58 -0000
My link "Chameleon Documentation" display "page not found".the other links "Chameleon Administration" and "Chameleon Samples" are working.I have tried rectifying this problem but I cant even find where the docs folder is.Could any one give me a helping hand?I am using Chameleon_ms4w-1.99 beta


Isaac Kwadwo Nti
Kaiser Str.19,
76131 Karlsruhe
Germany.
Home Tel: +497213529267
Mobile    : +491798846336


Protect your PC - Click here for McAfee.com VirusScan Online From mickeldelay@yahoo.com Thu Jul 15 02:47:04 2004 Received: from web51903.mail.yahoo.com (web51903.mail.yahoo.com [206.190.39.46]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i6F6l3dx024725 for ; Thu, 15 Jul 2004 02:47:03 -0400 Message-ID: <20040715064642.84403.qmail@web51903.mail.yahoo.com> Received: from [82.205.162.4] by web51903.mail.yahoo.com via HTTP; Wed, 14 Jul 2004 23:46:42 PDT Date: Wed, 14 Jul 2004 23:46:42 -0700 (PDT) From: mickel delay To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Chameleon] click object in chameleon X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jul 2004 06:47:05 -0000 Dear list Hi i show my query result by a symbol in my map in chameleon with direction of Mr.Paul Spencer for using ovf file format. but i have new problem,i describe my problem : i show my query result in chameleon map application with a symbol,also i have more information about each object that i show with a symbol in chameleon and tend if i click each symbol in chameleon then i show the information of it in HTML page. please direct me for this application. regards mickel __________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail From bartvde@xs4all.nl Thu Jul 15 10:18:05 2004 Received: from smtp-out2.xs4all.nl (smtp-out2.xs4all.nl [194.109.24.12]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6FEI4dx002827 for ; Thu, 15 Jul 2004 10:18:05 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-out2.xs4all.nl (8.12.10/8.12.10) with SMTP id i6FEHwVr083215 for ; Thu, 15 Jul 2004 16:18:04 +0200 (CEST) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Thu, 15 Jul 2004 16:18:04 +0200 (CEST) Message-ID: <21727.212.238.227.182.1089901084.squirrel@webmail.xs4all.nl> Date: Thu, 15 Jul 2004 16:18:04 +0200 (CEST) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [Chameleon] Chameleon as a WMS client X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jul 2004 14:18:05 -0000 Hi list, I have a Chameleon application with 5 WMS layers which come from the same machine, all served by mapserv.exe, but with different MAP files. So Chameleon acts a WMS client (through Mapserver's WMS client). If I get an error on one of the layers, the spinner just keep on turning and no image is returned. I would expect an image to return 4 of the 5 layers which are working. So this is not a timeout, but a mapserver error which is not handled in the best possible way. Is this a Chameleon "bug" or a Mapserver WMS client "bug"? This is what Mapserver gives back: loadOutputFormat(): General error message. OUTPUTFORMAT clause references driver swf, but this driver isn't configured. On the following request: http://myserver/cgi-bin/mapserv_42.exe?map=/ms4w_20/apps/general/map/gemeentes.map&request=GetMap&bbox=100000,400000,200000,500000&width=500&height=500&format=image/png&version=1.1.1&srs=EPSG:28992&layers=Gemeentes BTW: should not always a WMS Exception be returned by Mapserver? Best regards, Bart From eric@gomoos.org Thu Jul 15 11:10:44 2004 Received: from mail.gomoos.org (www.gomoos.org [66.70.82.140]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6FFAidx003428 for ; Thu, 15 Jul 2004 11:10:44 -0400 Received: from dot170.office.gomoos.org (rrcs-nys-24-97-59-226.biz.rr.com [24.97.59.226]) by mail.gomoos.org (8.12.8p2/8.12.8) with ESMTP id i6FFAfZ8044023; Thu, 15 Jul 2004 11:10:41 -0400 (EDT) (envelope-from eric@gomoos.org) Subject: Re: [Chameleon] click object in chameleon From: Eric Bridger To: mickel delay In-Reply-To: <20040715064642.84403.qmail@web51903.mail.yahoo.com> References: <20040715064642.84403.qmail@web51903.mail.yahoo.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 (1.0.3-4) Date: 15 Jul 2004 11:07:00 -0400 Message-Id: <1089904025.1897.70.camel@ubet.gomoos.org> Mime-Version: 1.0 X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on peleg.gomoos.org Cc: "chameleon@lists.maptools.org" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jul 2004 15:10:45 -0000 On Thu, 2004-07-15 at 02:46, mickel delay wrote: > Dear list > Hi > i show my query result by a symbol in my map in > chameleon with direction of Mr.Paul Spencer for using > ovf file format. > but i have new problem,i describe my problem : > > i show my query result in chameleon map application > with a symbol,also i have more information about each > object that i show with a symbol in chameleon and tend > if i click each symbol in chameleon then i show the > information of it in HTML page. > please direct me for this application. I think you would want to use the Query widget . In your LAYER make sure you have a TEMPLATE "anything.html" and perhaps DUMP TRUE. From pxniw69@yahoo.com Thu Jul 15 12:58:06 2004 Received: from web41907.mail.yahoo.com (web41907.mail.yahoo.com [66.218.93.158]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i6FGw6dx004608 for ; Thu, 15 Jul 2004 12:58:06 -0400 Message-ID: <20040715165734.13115.qmail@web41907.mail.yahoo.com> Received: from [69.160.76.247] by web41907.mail.yahoo.com via HTTP; Thu, 15 Jul 2004 09:57:34 PDT Date: Thu, 15 Jul 2004 09:57:34 -0700 (PDT) From: pxniw pxniw To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Chameleon] wld file X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jul 2004 16:58:07 -0000 This is what I have: West_Bounding_Coordinate: -89.239159 East_Bounding_Coordinate: -80.743049 North_Bounding_Coordinate: 36.599251 South_Bounding_Coordinate: 34.160938 This in test.wld file 63.757342000000001 0.0 0.0 -63.757342000000001 -423911.11505433073 276070.15467074828 And image size is: 11919 * 4082 (test.tif) 46.4mb And on .map file I have: LAYER NAME "test" DATA "C:/test/test.tif" TYPE RASTER STATUS ON #PROJECTION #"proj=latlong" END Image does not show ;( Any idea if I have .wld file correct? Thanks __________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail From mickeldelay@yahoo.com Sun Jul 18 09:04:25 2004 Received: from web51903.mail.yahoo.com (web51903.mail.yahoo.com [206.190.39.46]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i6ID4Pdx006384 for ; Sun, 18 Jul 2004 09:04:25 -0400 Message-ID: <20040718130404.61643.qmail@web51903.mail.yahoo.com> Received: from [82.205.162.4] by web51903.mail.yahoo.com via HTTP; Sun, 18 Jul 2004 06:04:04 PDT Date: Sun, 18 Jul 2004 06:04:04 -0700 (PDT) From: mickel delay To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Chameleon] query problem in chameleon X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jul 2004 13:04:26 -0000 Dear list Hi i have a map file that contain an ecw raster and a ovf layer(OGR connection) that display location of park city with a star symbol in raster layer in chameleon. i want to use query tools in chameleon and when i click in each star then show result of query in html form. i change my map file for this goal and use from query tools in chameleon but this message appear in query form. "no queryable layers found" i enclose map file layers and ovf file .please direct me ASAP. regards . mickel ovf file /// ODBC:ovf queryresult wkbPoint WGS84 /// LAYER NAME "ortofoto" STATUS ON DATA "c:/ms4w/apps/gmap/htdocs/map/ecw/city.ecw" TYPE RASTER END LAYER NAME "MyVirtualLayer" STATUS ON DATA "capitalNames" TYPE POINT CONNECTIONTYPE OGR CONNECTION "c:/ms4w/apps/gmap/htdocs/virtual.ovf" TOLERANCE 5 METADATA "DESCRIPTION" "MyVirtualLayer" "RESULT_FIELDS" "longitude" END PROJECTION "init=epsg:4326" END CLASS NAME "longitude" symbol 2 size 20 color 255 6 76 TEMPLATE "ttt_query.html" END END END __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From jfournier@dmsolutions.ca Sun Jul 18 09:59:10 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6IDxAdx006615 for ; Sun, 18 Jul 2004 09:59:10 -0400 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i6IDx93j005810; Sun, 18 Jul 2004 09:59:09 -0400 Received: from dmsolutions.ca (CPE000d8897c8fb-CM.cpe.net.cable.rogers.com [24.157.244.62]) (authenticated bits=0) by mail1.magma.ca (8.13.0/8.13.0) with ESMTP id i6IDx4fU014786; Sun, 18 Jul 2004 09:59:09 -0400 Message-ID: <40FA82C6.7040100@dmsolutions.ca> Date: Sun, 18 Jul 2004 10:01:42 -0400 From: Jason Fournier User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: mickel delay Subject: Re: [Chameleon] query problem in chameleon References: <20040718130404.61643.qmail@web51903.mail.yahoo.com> In-Reply-To: <20040718130404.61643.qmail@web51903.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jul 2004 13:59:10 -0000 Having just looked quickly you might want to try putting the TEMPLATE on the LAYER object rather than the CLASS object. mickel delay wrote: > Dear list > > Hi > i have a map file that contain an ecw raster and a > ovf layer(OGR connection) that display location of > park city with a star symbol in raster layer in > chameleon. > i want to use query tools in chameleon and when i > click in each star then show result of query in html > form. > i change my map file for this goal and use from query > tools in chameleon but this message appear in query > form. > "no queryable layers found" > i enclose map file layers and ovf file .please direct > me ASAP. > regards . > mickel > ovf file > /// > > > > ODBC:ovf > queryresult > wkbPoint > WGS84 > x="longitude" y="latitude"/> > > > > /// > LAYER > NAME "ortofoto" > STATUS ON > DATA "c:/ms4w/apps/gmap/htdocs/map/ecw/city.ecw" > TYPE RASTER > END > LAYER > NAME "MyVirtualLayer" > STATUS ON > DATA "capitalNames" > TYPE POINT > CONNECTIONTYPE OGR > CONNECTION "c:/ms4w/apps/gmap/htdocs/virtual.ovf" > TOLERANCE 5 > METADATA > "DESCRIPTION" "MyVirtualLayer" > "RESULT_FIELDS" "longitude" > END > > PROJECTION > "init=epsg:4326" > END > CLASS > NAME "longitude" > symbol 2 > size 20 > color 255 6 76 > TEMPLATE "ttt_query.html" > END > END > > END > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ________________________ Jason Fournier Applications Development DM Solutions Group Inc. jfournier@dmsolutions.ca www.dmsolutions.ca 613.565.5056 x18 From pdymecki@sympatico.ca Sun Jul 18 11:21:18 2004 Received: from tomts16-srv.bellnexxia.net (tomts16.bellnexxia.net [209.226.175.4]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6IFLIdx007205 for ; Sun, 18 Jul 2004 11:21:18 -0400 Received: from paul ([69.158.153.171]) by tomts16-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with SMTP id <20040718152107.HAE9492.tomts16-srv.bellnexxia.net@paul> for ; Sun, 18 Jul 2004 11:21:07 -0400 Message-ID: <000b01c46cda$db770fe0$7b45fea9@paul> From: "Paul Dymecki" To: References: <20040718130404.61643.qmail@web51903.mail.yahoo.com> <40FA82C6.7040100@dmsolutions.ca> Date: Sun, 18 Jul 2004 11:21:11 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Subject: [Chameleon] SESSIONID?? X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jul 2004 15:21:18 -0000 Hello, I have recently written an application that links to another website after having done a local search and display of points on a map. My question is, is there a way of passing the outside website an address of my current map state, so they can link back to it? thanks for any info on this, Paul Dymecki ----- Original Message ----- From: "Jason Fournier" To: "mickel delay" Cc: Sent: Sunday, July 18, 2004 10:01 AM Subject: Re: [Chameleon] query problem in chameleon > Having just looked quickly you might want to try putting the TEMPLATE on > the LAYER object rather than the CLASS object. > > > > mickel delay wrote: > > Dear list > > > > Hi > > i have a map file that contain an ecw raster and a > > ovf layer(OGR connection) that display location of > > park city with a star symbol in raster layer in > > chameleon. > > i want to use query tools in chameleon and when i > > click in each star then show result of query in html > > form. > > i change my map file for this goal and use from query > > tools in chameleon but this message appear in query > > form. > > "no queryable layers found" > > i enclose map file layers and ovf file .please direct > > me ASAP. > > regards . > > mickel > > ovf file > > /// > > > > > > > > ODBC:ovf > > queryresult > > wkbPoint > > WGS84 > > > x="longitude" y="latitude"/> > > > > > > > > /// > > LAYER > > NAME "ortofoto" > > STATUS ON > > DATA "c:/ms4w/apps/gmap/htdocs/map/ecw/city.ecw" > > TYPE RASTER > > END > > LAYER > > NAME "MyVirtualLayer" > > STATUS ON > > DATA "capitalNames" > > TYPE POINT > > CONNECTIONTYPE OGR > > CONNECTION "c:/ms4w/apps/gmap/htdocs/virtual.ovf" > > TOLERANCE 5 > > METADATA > > "DESCRIPTION" "MyVirtualLayer" > > "RESULT_FIELDS" "longitude" > > END > > > > PROJECTION > > "init=epsg:4326" > > END > > CLASS > > NAME "longitude" > > symbol 2 > > size 20 > > color 255 6 76 > > TEMPLATE "ttt_query.html" > > END > > END > > > > END > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > http://lists.maptools.org/mailman/listinfo/chameleon > > > > -- > ________________________ > Jason Fournier > Applications Development > DM Solutions Group Inc. > jfournier@dmsolutions.ca > www.dmsolutions.ca > 613.565.5056 x18 > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon From jacob.delfos@maunsell.com Sun Jul 18 20:43:45 2004 Received: from aumel1gw002.maunsell.com (210-193-148-152.macquarie.net.au [210.193.148.152] (may be forged)) by www.maptools.org (8.12.5/8.12.5) with SMTP id i6J0hee0009942 for ; Sun, 18 Jul 2004 20:43:43 -0400 Received: from aumel1ex001.mel.maunsell.com.au ([172.21.0.15]) by aumel1gw002.maunsell.com (SAVSMTP 3.1.0.29) with SMTP id M2004071910491927873 ; Mon, 19 Jul 2004 10:49:19 +1000 Received: by aumel1ex001.mel.maunsell.com.au with Internet Mail Service (5.5.2653.19) id ; Mon, 19 Jul 2004 10:45:04 +1000 Message-ID: From: "Delfos, Jacob" To: "'Paul Dymecki'" , chameleon@lists.maptools.org Subject: RE: [Chameleon] SESSIONID?? Date: Mon, 19 Jul 2004 10:40:39 +1000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jul 2004 00:43:45 -0000 I would recommend you open your link in a new window using javascript: your clickable link This way, your user will not have to wait for the page to load again. Alternatively, load a HTML file from your server that has two frames; set the bottom (main) frame to your link, and put a 'back' option in the top one. Jacob -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Paul Dymecki Sent: Sunday, 18 July 2004 11:21 PM To: chameleon@lists.maptools.org Subject: [Chameleon] SESSIONID?? Hello, I have recently written an application that links to another website after having done a local search and display of points on a map. My question is, is there a way of passing the outside website an address of my current map state, so they can link back to it? thanks for any info on this, Paul Dymecki ----- Original Message ----- From: "Jason Fournier" To: "mickel delay" Cc: Sent: Sunday, July 18, 2004 10:01 AM Subject: Re: [Chameleon] query problem in chameleon > Having just looked quickly you might want to try putting the TEMPLATE on > the LAYER object rather than the CLASS object. > > > > mickel delay wrote: > > Dear list > > > > Hi > > i have a map file that contain an ecw raster and a > > ovf layer(OGR connection) that display location of > > park city with a star symbol in raster layer in > > chameleon. > > i want to use query tools in chameleon and when i > > click in each star then show result of query in html > > form. > > i change my map file for this goal and use from query > > tools in chameleon but this message appear in query > > form. > > "no queryable layers found" > > i enclose map file layers and ovf file .please direct > > me ASAP. > > regards . > > mickel > > ovf file > > /// > > > > > > > > ODBC:ovf > > queryresult > > wkbPoint > > WGS84 > > > x="longitude" y="latitude"/> > > > > > > > > /// > > LAYER > > NAME "ortofoto" > > STATUS ON > > DATA "c:/ms4w/apps/gmap/htdocs/map/ecw/city.ecw" > > TYPE RASTER > > END > > LAYER > > NAME "MyVirtualLayer" > > STATUS ON > > DATA "capitalNames" > > TYPE POINT > > CONNECTIONTYPE OGR > > CONNECTION "c:/ms4w/apps/gmap/htdocs/virtual.ovf" > > TOLERANCE 5 > > METADATA > > "DESCRIPTION" "MyVirtualLayer" > > "RESULT_FIELDS" "longitude" > > END > > > > PROJECTION > > "init=epsg:4326" > > END > > CLASS > > NAME "longitude" > > symbol 2 > > size 20 > > color 255 6 76 > > TEMPLATE "ttt_query.html" > > END > > END > > > > END > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > http://lists.maptools.org/mailman/listinfo/chameleon > > > > -- > ________________________ > Jason Fournier > Applications Development > DM Solutions Group Inc. > jfournier@dmsolutions.ca > www.dmsolutions.ca > 613.565.5056 x18 > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From Steven.D'Cruz@ec.gc.ca Mon Jul 19 14:55:38 2004 Received: from mgtserver3.tor.ec.gc.ca (ecdow130.tor.ec.gc.ca [199.212.19.130]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6JItcdx018404 for ; Mon, 19 Jul 2004 14:55:38 -0400 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C46DC1.F89BB2B9" X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Date: Mon, 19 Jul 2004 14:55:34 -0400 Message-ID: <9B09D75DF5B3494BA06E6FE478CE9CC10101A3C4@mgtserver3.ontario.int.ec.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Multiple DSN Problem Thread-Index: AcRtwfgqDGIpGPQsQ++q3HH+TB5epw== From: "D'cruz,Steven [Ontario]" To: , Cc: Subject: [Chameleon] Multiple DSN Problem X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jul 2004 18:55:38 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C46DC1.F89BB2B9 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi there, I was wondering if anyone has any experience with executing select statements using two different DSNs simultaneously. For my work, I require functionality similar to the following: "select a.* from tablename1 a, tablename2 b where a.id=3Db.id and b.filter=3D't'" , where tablename1 and tablename2 are from 2 DIFFERENT DSNs. Both DSNs are to be accessed via a realtime connection to a MS Access 2000 database from a linux host via the FREETDS drivers. I currently have both DSNs working independently in 2 test layers (with no errors) using the required fields. Here's the .ovf file used for the selection queue from the MS Access 2000 databases. Database1: ----------------- =20 ODBC:UserName/Password@DSN1Name select statement here wkbPoint Database2: ---------------- =20 ODBC:UserName/Password@DSN2Name select statement here wkbPoint What I require is a .ovf file which allows for 2 SrcDataSource(s). I've attempted to add an additional tag followed by the connection information to the second database to the first .ovf file, however I consistently get no points found... even if I don't use the data. Are there any known ways of accomplishing this task? If not, I'll probably have to extract the necessary fields from Layer2 in a file on the local machine, and then use either javascript or php to filter the results from Layer1. Any comments, suggestions, and related questions would be greatly appreciated. Also, as I'm unsure whether this would be considered more of a Chameleon or Mapserver problem, I've posted it to both mailing lists. Steven D'Cruz Steven.D'Cruz@ec.gc.ca (GIS) Web Developer Environment Canada ------_=_NextPart_001_01C46DC1.F89BB2B9 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Multiple DSN Problem

Hi there,

        I was wondering if anyone has any experience with = executing select statements using two different DSNs = simultaneously.  For my work, I require functionality similar to = the following: "select a.* from tablename1 a, tablename2 b where = a.id=3Db.id and b.filter=3D't'" , where tablename1 and tablename2 = are from 2 DIFFERENT DSNs.  Both DSNs are to be accessed via a = realtime connection to a MS Access 2000 database from a linux host via = the FREETDS drivers.  I currently have both DSNs working = independently in 2 test layers (with no errors) using the required = fields.  Here's the .ovf file used for the selection queue from the = MS Access 2000 databases.

Database1:
-----------------
<OGRVRTDataSource>
        = <OGRVRTLayer name=3D"Layer1Name">
         &nbs= p;      = <SrcDataSource>ODBC:UserName/Password@DSN1Name</SrcDataSource>= ;
         &nbs= p;      <SrcSQL>select statement = here</SrcSQL>
         &nbs= p;      = <GeometryType>wkbPoint</GeometryType>
         &nbs= p;      <GeometryField = encoding=3D"PointFromColumns" x=3D"longitude" = y=3D"lati
tude"/>
        = </OGRVRTLayer>
</OGRVRTDataSource>

Database2:
----------------
<OGRVRTDataSource>
        = <OGRVRTLayer name=3D"Layer2Name">
         &nbs= p;      = <SrcDataSource>ODBC:UserName/Password@DSN2Name</SrcDataSource>= ;
         &nbs= p;      <SrcSQL>select statement = here</SrcSQL>
         &nbs= p;      = <GeometryType>wkbPoint</GeometryType>
         &nbs= p;      <GeometryField = encoding=3D"PointFromColumns" x=3D"longitude" = y=3D"lati
tude"/>
        = </OGRVRTLayer>
</OGRVRTDataSource>


What I require is a .ovf file which = allows for 2 SrcDataSource(s).  I've attempted to add an additional = <SrcDataSource> tag followed by the connection information to the = second database to the first .ovf file, however I consistently get no = points found… even if I don't use the data.  Are there any = known ways of accomplishing this task?  If not, I'll probably have = to extract the necessary fields from Layer2 in a file on the local = machine, and then use either javascript or php to filter the results = from Layer1.  Any comments, suggestions, and related questions = would be greatly appreciated.  Also, as I'm unsure whether this = would be considered more of a Chameleon or Mapserver problem, I've = posted it to both mailing lists.

Steven = D'Cruz

Steven.D'Cruz@ec.gc.ca

(GIS) Web = Developer

Environment = Canada

------_=_NextPart_001_01C46DC1.F89BB2B9-- From ken@rockies.ca Mon Jul 19 16:53:46 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6JKrjdx019439 for ; Mon, 19 Jul 2004 16:53:45 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id kmwseaaa for chameleon@lists.maptools.org; Mon, 19 Jul 2004 14:43:15 -0600 From: "Ken Sanderson" To: Date: Mon, 19 Jul 2004 14:56:18 -0600 Message-ID: <00b501c46dd2$d69f2450$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal Subject: [Chameleon] Locate Widget X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jul 2004 20:53:46 -0000 Hello all, I have a couple questions in regards to the locate widget, specifically about what is happening at the service end. I have a need to setup something similar as the NTS Mapsheet tool, only using a different grid. How does the NTS lookup service work? Is it just a database where each mapsheet has a listed extent that you grab from the query response? I assume its not a WMS or WFS layer? Is it just a math formula given that the NTS grid follows Lat/Longs? Any general/specific information on this would be appreciated. Thanks, Ken Sanderson Miistakis From pagameba@magma.ca Tue Jul 20 07:52:28 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6KBqSdx024965 for ; Tue, 20 Jul 2004 07:52:28 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma's Mail Server) with ESMTP id i6KBqSZP024391; Tue, 20 Jul 2004 07:52:28 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail3.magma.ca (8.13.0/8.13.0) with ESMTP id i6KBqO3r009898; Tue, 20 Jul 2004 07:52:28 -0400 Message-ID: <40FD0774.2070104@magma.ca> Date: Tue, 20 Jul 2004 07:52:20 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ken Sanderson Subject: Re: [Chameleon] Locate Widget References: <00b501c46dd2$d69f2450$31289f88@GLADSTONE> In-Reply-To: <00b501c46dd2$d69f2450$31289f88@GLADSTONE> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2004 11:52:29 -0000 Ken, I don't know how the NTS MapSheet lookup service is implemented. We just connect to the service, provide input in a certain format and expect results back in another format. I would expect that the naming convention of mapsheets is sufficient for them to locate the mapsheet geographically. To Chameleon, it is immaterial how you implement the service but very important that you clearly define how data is passed to and from your service. Hope that helps, Paul Ken Sanderson wrote: > Hello all, > > I have a couple questions in regards to the locate widget, specifically > about what is happening at the service end. > > I have a need to setup something similar as the NTS Mapsheet tool, only > using a different grid. How does the NTS lookup service work? Is it just > a database where each mapsheet has a listed extent that you grab from > the query response? I assume its not a WMS or WFS layer? Is it just a > math formula given that the NTS grid follows Lat/Longs? > > Any general/specific information on this would be appreciated. > > Thanks, > > Ken Sanderson > Miistakis > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From dgadoury@dmsolutions.ca Tue Jul 20 08:08:51 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6KC8pdx025139 for ; Tue, 20 Jul 2004 08:08:51 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i6KC8oY0018521; Tue, 20 Jul 2004 08:08:50 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail4.magma.ca (8.13.0/8.13.0) with ESMTP id i6KC8mQd024698; Tue, 20 Jul 2004 08:08:50 -0400 Message-ID: <40FD0B41.2090202@dmsolutions.ca> Date: Tue, 20 Jul 2004 08:08:33 -0400 From: Dean Gadoury Organization: DM Solutions Group User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pspencer@dmsolutions.ca Subject: Re: [Chameleon] Locate Widget References: <00b501c46dd2$d69f2450$31289f88@GLADSTONE> <40FD0774.2070104@magma.ca> In-Reply-To: <40FD0774.2070104@magma.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org, Ken Sanderson X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: dgadoury@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2004 12:08:51 -0000 You might be able to find out more about how it works and get contact info here: http://www.geoconnections.org/CGDI.cfm/fuseaction/developersCorner.details/id/1566/gcs.cfm Paul Spencer wrote: > Ken, I don't know how the NTS MapSheet lookup service is implemented. > We just connect to the service, provide input in a certain format and > expect results back in another format. I would expect that the naming > convention of mapsheets is sufficient for them to locate the mapsheet > geographically. To Chameleon, it is immaterial how you implement the > service but very important that you clearly define how data is passed > to and from your service. Hope that helps, > > Paul > > Ken Sanderson wrote: > >> Hello all, >> >> I have a couple questions in regards to the locate widget, specifically >> about what is happening at the service end. >> >> I have a need to setup something similar as the NTS Mapsheet tool, only >> using a different grid. How does the NTS lookup service work? Is it just >> a database where each mapsheet has a listed extent that you grab from >> the query response? I assume its not a WMS or WFS layer? Is it just a >> math formula given that the NTS grid follows Lat/Longs? >> >> Any general/specific information on this would be appreciated. >> >> Thanks, >> >> Ken Sanderson >> Miistakis >> >> >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > -- ___________________________ Dean Gadoury DM Solutions Group 30 Rosemount Ave. Suite 200 Ottawa, Ontario. K1Y 1P4 613.565.5056 ext. 24 dgadoury@dmsolutions.ca www.dmsolutions.ca From il_vikingo@yahoo.com Tue Jul 20 08:31:23 2004 Received: from web12304.mail.yahoo.com (web12304.mail.yahoo.com [216.136.173.102]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i6KCVNdx025249 for ; Tue, 20 Jul 2004 08:31:23 -0400 Message-ID: <20040720123117.26610.qmail@web12304.mail.yahoo.com> Received: from [80.183.195.6] by web12304.mail.yahoo.com via HTTP; Tue, 20 Jul 2004 05:31:17 PDT Date: Tue, 20 Jul 2004 05:31:17 -0700 (PDT) From: Andrea Rossi To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Chameleon] Installation X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2004 12:31:24 -0000 Hello wher can I find the istructions to install chamaleon? Thank You! __________________________________ Do you Yahoo!? Vote for the stars of Yahoo!'s next ad campaign! http://advision.webevents.yahoo.com/yahoo/votelifeengine/ From il_vikingo@yahoo.com Tue Jul 20 08:31:25 2004 Received: from web12308.mail.yahoo.com (web12308.mail.yahoo.com [216.136.173.106]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i6KCVPdx025252 for ; Tue, 20 Jul 2004 08:31:25 -0400 Message-ID: <20040720123114.67620.qmail@web12308.mail.yahoo.com> Received: from [80.183.195.6] by web12308.mail.yahoo.com via HTTP; Tue, 20 Jul 2004 05:31:14 PDT Date: Tue, 20 Jul 2004 05:31:14 -0700 (PDT) From: Andrea Rossi To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Chameleon] Installation X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2004 12:31:26 -0000 Hello wher can I find the istructions to installa chamaleon? Thank You! __________________________________ Do you Yahoo!? Vote for the stars of Yahoo!'s next ad campaign! http://advision.webevents.yahoo.com/yahoo/votelifeengine/ From pagameba@magma.ca Tue Jul 20 08:37:57 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6KCbvdx025287 for ; Tue, 20 Jul 2004 08:37:57 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i6KCbvY0001060; Tue, 20 Jul 2004 08:37:57 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail3.magma.ca (8.13.0/8.13.0) with ESMTP id i6KCbpb7014131; Tue, 20 Jul 2004 08:37:57 -0400 Message-ID: <40FD121A.3000602@magma.ca> Date: Tue, 20 Jul 2004 08:37:46 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrea Rossi Subject: Re: [Chameleon] Installation References: <20040720123117.26610.qmail@web12304.mail.yahoo.com> In-Reply-To: <20040720123117.26610.qmail@web12304.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2004 12:37:57 -0000 hi, if you download the latest released version of chameleon (beta1 at this time) it includes a file called CWC2_INSTALLATION.txt that is a little out of date but should get you started. If you are a windows user, you can try the MS4W package (www.maptools.org/ms4w) and download a pre-configured chameleon package that works with the MS4W package directly. Cheers, Paul Andrea Rossi wrote: > Hello > wher can I find the istructions to install chamaleon? > Thank You! > > > > > __________________________________ > Do you Yahoo!? > Vote for the stars of Yahoo!'s next ad campaign! > http://advision.webevents.yahoo.com/yahoo/votelifeengine/ > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From mickeldelay@yahoo.com Tue Jul 20 09:08:24 2004 Received: from web51908.mail.yahoo.com (web51908.mail.yahoo.com [206.190.39.51]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i6KD8Ndx025541 for ; Tue, 20 Jul 2004 09:08:23 -0400 Message-ID: <20040720130732.84055.qmail@web51908.mail.yahoo.com> Received: from [82.205.162.4] by web51908.mail.yahoo.com via HTTP; Tue, 20 Jul 2004 06:07:32 PDT Date: Tue, 20 Jul 2004 06:07:32 -0700 (PDT) From: mickel delay To: chameleon@lists.maptools.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Chameleon] chameleon 1.99beta1 problem X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2004 13:08:24 -0000 dear list i download and install chameleon 1.99 beta and set the configuration file for working correct. the sample file that indicate in chameleon-1.99.pkg.html file work properly but the chameleon( in new version the cwc2.php file rename to chameleon.php file) application dont work properly ,and after run this program the blank page appear. also i have same problem for using query tools in my ovf layer that i send an E-mail about this problem two day ago. regards. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From il_vikingo@yahoo.com Wed Jul 21 03:19:58 2004 Received: from web12307.mail.yahoo.com (web12307.mail.yahoo.com [216.136.173.105]) by www.maptools.org (8.12.5/8.12.5) with SMTP id i6L7Judx000991 for ; Wed, 21 Jul 2004 03:19:57 -0400 Message-ID: <20040721071955.99354.qmail@web12307.mail.yahoo.com> Received: from [80.183.195.6] by web12307.mail.yahoo.com via HTTP; Wed, 21 Jul 2004 00:19:55 PDT Date: Wed, 21 Jul 2004 00:19:55 -0700 (PDT) From: Andrea Rossi To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Chameleon] Chameleon 1.99 X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jul 2004 07:19:59 -0000 Hello I have installed chameleon 1.99 on windows from ms4w. I cas acess to the administration page whit configuration option but the example doesn't work and I als can't go to the documentatio. I can't nothing more than this. Any idea? Thank You. Here is my configuration file: - - server_data_path /ms4w/apps/chameleon/data/ This is where cached capabilities and other information, common to each session, should be. When a user start a new session, all files from that directory are copied to user_session_tmp_path - web_server_path /chameleon/htdocs This is where chameleon.php script is located. - ows_schemas_location http://ogc.dmsolutions.ca URL pointing to the root of a repository of OGC schemas. See http://ogc.dmsolutions.ca for an example. - wms_parse_file /ms4w/apps/chameleon/htdocs/common/wmsparse/wmsparse Full file path to the binary wms parser executable ('/path/to/wmsparse' on Unix, '/path/to/wmsparse.exe' on Windows). Leave empty to use the built in PHP parser (slower). - wms_connectiontimeout 30 Maximum time in seconds that MapServer will wait for an answer from a WMS server. - allow_upload_context true Enable the "Upload map context" feature? (true or false). - allow_upload_template true Allow use of the 'TEMPLATE=' parameter when calling the CWC2 instance to specify any CWC2 HTML template url? (true or false) If set to false then the value of 'default_template' config parameter is always used. - cache_template true If template come from a remote server (http://....), the template is download from that remote server and saved on local server for further loading. For performace, it is prefered to set this value to "true". If the remote server template is dynamic, this value should be set to "false" so the template will be loaded remotely every page load. - validate_template true Validate the attributes of each tag in the input template. This should be set to true for debugging but may be set to false in a production environment to enhance performance. - default_language en-CA Default language specifier. (en-CA or fr-CA) - default_template Default HTML template to use with this CWC2 instance. Used when TEMPLATE= parameter not set, or when allow_upload_template config parameter is set to false. - invalid_session_template Template to display if session is invalid. - default_context Default map context to load when starting this application - map_template /ms4w/apps/chameleon/htdocs/template.map Default MapServer mapfile template to use when uploading a context file. - mapscript_module php_mapscript_42.dll Mapscript module name (i.e. php_mapscript_40.dll for Windows installations or php_mapscript_40.so for Unix installations). - log_path /ms4w/tmp/ Directory in which to write log files. - log_error true This define if chameleon should log errors in session. If set to false, no errors will be logged at all. - log_level LOG_NONE Control the application runtime logging level. Must be one of LOG_OFF, LOG_QUIET, LOG_VERBOSE or LOG_ALL. - image_type PNG24 Output image type (eg: PNG, GIF). Must be uppercase. This image format MUST be supported by your browser and GD (on the server). Please don't change that value unless you know what you'r doing. - button_cache_path /ms4w/tmp/ms_tmp/buttons/ Directory in which to write image files generated for buttons. This directory must be writable by the web server user and web accessible. For performance reasons, this directory should not be cleaned out automatically. - button_cache_web_path /ms_tmp/buttons/ The URL where a browser can find cached button images. - tmp_web_path /ms_tmp/ URL where browser can find temporary files as context or images - tmp_img_path /ms4w/tmp/ms_tmp/ Directory where temporary image files are put. - context_root / Absolute root path to context files. All context should be in that folder (or sub folder). - template_root / Absolute root path to template files. All template should be in that folder (or sub folder). - fontlist_file /ms4w/apps/chameleon/etc/fonts.txt Path and filename of the font list file used by MapServer (i.e. /path/to/file/fonts.txt ). - symbol_file /ms4w/apps/chameleon/etc/symbols.sym Path and filename of the symbol file used by MapServer (i.e. /path/to/file/symbols.sym ). - textbutton_default_font_size 11 Buttons font size in points - textbutton_default_font_antialiasing true Text Button font antialiasing (true or false) - gd_version gd2 Version of GD graphic library (gd, gd2) - freetype_version freetype Version of Freetype library used (use "ttf" for Freetype 1.3 or "freetype" for Freetype 2.x) - execution_timeout 120 The amount of time in seconds to allow PHP to process a PHP page. This includes (for now) the time required to draw remote WMS layers which can be lengthy. __________________________________ Do you Yahoo!? Vote for the stars of Yahoo!'s next ad campaign! http://advision.webevents.yahoo.com/yahoo/votelifeengine/ From jacob.delfos@maunsell.com Wed Jul 21 05:21:50 2004 Received: from aumel1gw002.maunsell.com (210-193-148-152.macquarie.net.au [210.193.148.152] (may be forged)) by www.maptools.org (8.12.5/8.12.5) with SMTP id i6L9Lme0002419 for ; Wed, 21 Jul 2004 05:21:49 -0400 Received: from aumel1ex001.mel.maunsell.com.au ([172.21.0.15]) by aumel1gw002.maunsell.com (SAVSMTP 3.1.0.29) with SMTP id M2004072119275815790 for ; Wed, 21 Jul 2004 19:27:58 +1000 Received: by aumel1ex001.mel.maunsell.com.au with Internet Mail Service (5.5.2653.19) id ; Wed, 21 Jul 2004 19:23:42 +1000 Message-ID: From: "Delfos, Jacob" To: chameleon@lists.maptools.org Date: Wed, 21 Jul 2004 19:19:00 +1000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C46F03.C22AE996" Subject: [Chameleon] CWCJSAPI widget X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jul 2004 09:21:51 -0000 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C46F03.C22AE996 Content-Type: text/plain; charset="iso-8859-1" Hi All, Can anyone tell me whether the procedure for using the javascript API is still the same? Adding the two CWCJSAPI tags in the template? I have done this, but my application seems to hang on navigating straight away. It only loads correctly the first time. Also, inserting the first tag ( ) seems to mess up the layout; even in the debug=false mode, the widget takes up a lot of space. Can anyone shed some light on what is happening? I'm using 1.99 beta1 Regards, Jacob JACOB DELFOS SPATIAL INFORMATION ANALYST Maunsell Australia Pty Ltd 629 Newcastle Street PO Box 81 Leederville 6902 Western Australia ABN 20 093 846 925 Tel + 61 8 9281 6185 Fax + 61 8 9281 6297 jacob.delfos@maunsell.com ------_=_NextPart_001_01C46F03.C22AE996 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable CWCJSAPI widget

Hi All,

Can anyone tell me whether the = procedure for using the javascript API is still the same? Adding the = two CWCJSAPI tags in the template?

I have done this, but my application = seems to hang on navigating straight away. It only loads correctly the = first time. Also, inserting the first tag ( <CWC2 TYPE=3D"SharedResource" = NAME=3D"CWCJSAPI"/> ) seems to mess up the layout; even in = the debug=3Dfalse mode, the widget takes up a lot of space.

Can anyone shed some light on what is = happening? I'm using 1.99 beta1

Regards,

Jacob



JACOB DELFOS
SPATIAL INFORMATION ANALYST
Maunsell Australia = Pty Ltd
629 Newcastle Street
PO Box 81
Leederville 6902
Western Australia
ABN 20 093 846 925

Tel =A0=A0=A0=A0+ 61 8 9281 6185
Fax=A0=A0=A0 + 61 8 9281 6297
jacob.delfos@maunsell.com

------_=_NextPart_001_01C46F03.C22AE996-- From pagameba@magma.ca Wed Jul 21 08:19:16 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6LCJFdx003764 for ; Wed, 21 Jul 2004 08:19:16 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i6LCJD1b023982; Wed, 21 Jul 2004 08:19:13 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail4.magma.ca (8.13.0/8.13.0) with ESMTP id i6LCJ5el012469; Wed, 21 Jul 2004 08:19:12 -0400 Message-ID: <40FE5F32.1080503@magma.ca> Date: Wed, 21 Jul 2004 08:18:58 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrea Rossi Subject: Re: [Chameleon] Chameleon 1.99 References: <20040721071955.99354.qmail@web12307.mail.yahoo.com> In-Reply-To: <20040721071955.99354.qmail@web12307.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jul 2004 12:19:17 -0000 Andrea, the administration page is not functional in this beta version. The documentation is also not accessible. Both are targetted for beta 3. Cheers, Paul Andrea Rossi wrote: > Hello > I have installed chameleon 1.99 on windows from ms4w. > I cas acess to the administration page whit > configuration option but the example doesn't work and > I als can't go to the documentatio. > I can't nothing more than this. > Any idea? > Thank You. > > Here is my configuration file: > > - > - > server_data_path > > /ms4w/apps/chameleon/data/ > This is where cached capabilities and > other information, common to each session, should be. > When a user start a new session, all files from that > directory are copied to > user_session_tmp_path > > - > web_server_path > /chameleon/htdocs > This is where chameleon.php script is > located. > > - > ows_schemas_location > http://ogc.dmsolutions.ca > > URL pointing to the root of a > repository of OGC schemas. See > http://ogc.dmsolutions.ca for an > example. > > - > wms_parse_file > > /ms4w/apps/chameleon/htdocs/common/wmsparse/wmsparse > > Full file path to the binary wms parser > executable ('/path/to/wmsparse' on Unix, > '/path/to/wmsparse.exe' on Windows). Leave empty to > use the built in PHP parser (slower). > > - > wms_connectiontimeout > 30 > Maximum time in seconds that MapServer > will wait for an answer from a WMS > server. > > - > allow_upload_context > true > Enable the "Upload map context" > feature? (true or false). > > - > allow_upload_template > true > Allow use of the 'TEMPLATE=' parameter > when calling the CWC2 instance to specify any CWC2 > HTML template url? (true or false) If set to false > then the value of 'default_template' config parameter > is always used. > > - > cache_template > true > If template come from a remote server > (http://....), the template is download from that > remote server and saved on local server for further > loading. For performace, it is prefered to set this > value to "true". If the remote server template is > dynamic, this value should be set to "false" so the > template will be loaded remotely every page > load. > > - > validate_template > true > Validate the attributes of each tag in > the input template. This should be set to true for > debugging but may be set to false in a production > environment to enhance performance. > > - > default_language > en-CA > Default language specifier. (en-CA or > fr-CA) > > - > default_template > > Default HTML template to use with this > CWC2 instance. Used when TEMPLATE= parameter not set, > or when allow_upload_template config parameter is set > to false. > > - > invalid_session_template > > Template to display if session is > invalid. > > - > default_context > > Default map context to load when > starting this application > > - > map_template > > /ms4w/apps/chameleon/htdocs/template.map > > Default MapServer mapfile template to > use when uploading a context file. > > - > mapscript_module > php_mapscript_42.dll > Mapscript module name (i.e. > php_mapscript_40.dll for Windows installations or > php_mapscript_40.so for Unix > installations). > > - > log_path > /ms4w/tmp/ > Directory in which to write log > files. > > - > log_error > true > This define if chameleon should log > errors in session. If set to false, no errors will be > logged at all. > > - > log_level > LOG_NONE > Control the application runtime logging > level. Must be one of LOG_OFF, LOG_QUIET, LOG_VERBOSE > or LOG_ALL. > > - > image_type > PNG24 > Output image type (eg: PNG, GIF). Must > be uppercase. This image format MUST be supported by > your browser and GD (on the server). Please don't > change that value unless you know what you'r > doing. > > - > button_cache_path > /ms4w/tmp/ms_tmp/buttons/ > > Directory in which to write image files > generated for buttons. This directory must be writable > by the web server user and web accessible. For > performance reasons, this directory should not be > cleaned out automatically. > > - > button_cache_web_path > /ms_tmp/buttons/ > The URL where a browser can find cached > button images. > > - > tmp_web_path > /ms_tmp/ > URL where browser can find temporary > files as context or images > > - > tmp_img_path > /ms4w/tmp/ms_tmp/ > Directory where temporary image files > are put. > > - > context_root > / > Absolute root path to context files. > All context should be in that folder (or sub > folder). > > - > template_root > / > Absolute root path to template files. > All template should be in that folder (or sub > folder). > > - > fontlist_file > > /ms4w/apps/chameleon/etc/fonts.txt > > Path and filename of the font list file > used by MapServer (i.e. /path/to/file/fonts.txt > ). > > - > symbol_file > > /ms4w/apps/chameleon/etc/symbols.sym > > Path and filename of the symbol file > used by MapServer (i.e. /path/to/file/symbols.sym > ). > > - > > textbutton_default_font_size > 11 > Buttons font size in > points > > - > > textbutton_default_font_antialiasing > > true > Text Button font antialiasing (true or > false) > > - > gd_version > gd2 > Version of GD graphic library (gd, > gd2) > > - > freetype_version > freetype > Version of Freetype library used (use > "ttf" for Freetype 1.3 or "freetype" for Freetype > 2.x) > > - > execution_timeout > 120 > The amount of time in seconds to allow > PHP to process a PHP page. This includes (for now) the > time required to draw remote WMS layers which can be > lengthy. > > > > > > > __________________________________ > Do you Yahoo!? > Vote for the stars of Yahoo!'s next ad campaign! > http://advision.webevents.yahoo.com/yahoo/votelifeengine/ > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Wed Jul 21 08:21:35 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6LCLZdx003800 for ; Wed, 21 Jul 2004 08:21:35 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma's Mail Server) with ESMTP id i6LCLYBa003375; Wed, 21 Jul 2004 08:21:34 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail2.magma.ca (8.13.0/8.13.0) with ESMTP id i6LCLVC3008323; Wed, 21 Jul 2004 08:21:34 -0400 Message-ID: <40FE5FC5.8020403@magma.ca> Date: Wed, 21 Jul 2004 08:21:25 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Delfos, Jacob" Subject: Re: [Chameleon] CWCJSAPI widget References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jul 2004 12:21:35 -0000 Jacob, the procedure is the same, but the widget does not work at all except in the latest cvs version, and it is still mostly untested and is only known to work with some widgets at this time. The debug="true" parameter will cause an iframe to be visible. debug="false" should cause it to be invisible and have no impact on the layout. Cheers, Paul Delfos, Jacob wrote: > Hi All, > > Can anyone tell me whether the procedure for using the javascript API is > still the same? Adding the two CWCJSAPI tags in the template? > > I have done this, but my application seems to hang on navigating > straight away. It only loads correctly the first time. Also, inserting > the first tag ( ) seems to > mess up the layout; even in the debug=false mode, the widget takes up a > lot of space. > > Can anyone shed some light on what is happening? I'm using 1.99 beta1 > > Regards, > > Jacob > > > > *JACOB DELFOS > SPATIAL INFORMATION ANALYST > *Maunsell Australia Pty Ltd > 629 Newcastle Street > PO Box 81 > Leederville 6902 > Western Australia > ABN 20 093 846 925 > > Tel + 61 8 9281 6185 > Fax + 61 8 9281 6297 > _jacob.delfos@maunsell.com_ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From jacob.delfos@maunsell.com Wed Jul 21 22:57:57 2004 Received: from aumel1gw002.maunsell.com (mail.maunsell.com [210.193.148.152] (may be forged)) by www.maptools.org (8.12.5/8.12.5) with SMTP id i6M2vre0010461 for ; Wed, 21 Jul 2004 22:57:55 -0400 Received: from aumel1ex001.mel.maunsell.com.au ([172.21.0.15]) by aumel1gw002.maunsell.com (SAVSMTP 3.1.0.29) with SMTP id M2004072213040320633 for ; Thu, 22 Jul 2004 13:04:03 +1000 Received: by aumel1ex001.mel.maunsell.com.au with Internet Mail Service (5.5.2653.19) id ; Thu, 22 Jul 2004 12:59:48 +1000 Message-ID: From: "Delfos, Jacob" To: chameleon@lists.maptools.org Subject: RE: [Chameleon] CWCJSAPI widget Date: Thu, 22 Jul 2004 12:55:01 +1000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jul 2004 02:57:57 -0000 Paul, I managed to convince our network administrator to change the firewall so I could finally get to the CSV to download the newer files. Even with the debug off (the iframe not visible), it does seem to change the layout. The size it appears to take up is equal to the size of the iframe when debug is on. What is the best place to put the tag in the template? Normally the location of javascript declarations can be quite relevant. I did not actually manage to get a lot of functionality out of the widget. The scale seems to be working, but not the navigation. Regards, Jacob -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: Wednesday, 21 July 2004 8:21 PM To: Delfos, Jacob Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] CWCJSAPI widget Jacob, the procedure is the same, but the widget does not work at all except in the latest cvs version, and it is still mostly untested and is only known to work with some widgets at this time. The debug="true" parameter will cause an iframe to be visible. debug="false" should cause it to be invisible and have no impact on the layout. Cheers, Paul Delfos, Jacob wrote: > Hi All, > > Can anyone tell me whether the procedure for using the javascript API is > still the same? Adding the two CWCJSAPI tags in the template? > > I have done this, but my application seems to hang on navigating > straight away. It only loads correctly the first time. Also, inserting > the first tag ( ) seems to > mess up the layout; even in the debug=false mode, the widget takes up a > lot of space. > > Can anyone shed some light on what is happening? I'm using 1.99 beta1 > > Regards, > > Jacob > > > > *JACOB DELFOS > SPATIAL INFORMATION ANALYST > *Maunsell Australia Pty Ltd > 629 Newcastle Street > PO Box 81 > Leederville 6902 > Western Australia > ABN 20 093 846 925 > > Tel + 61 8 9281 6185 > Fax + 61 8 9281 6297 > _jacob.delfos@maunsell.com_ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Steven.D'Cruz@ec.gc.ca Fri Jul 23 11:47:04 2004 Received: from mgtserver3.tor.ec.gc.ca (ecdow130.tor.ec.gc.ca [199.212.19.130]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6NFl4dx030160 for ; Fri, 23 Jul 2004 11:47:04 -0400 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C470CC.4AD4E6C4" X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Date: Fri, 23 Jul 2004 11:47:00 -0400 Message-ID: <9B09D75DF5B3494BA06E6FE478CE9CC10101A3C5@mgtserver3.ontario.int.ec.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Chameleon - WMS Browser Thread-Index: AcRwzEpkj9f61rnVTdeHCCRTewcMjA== From: "D'cruz,Steven [Ontario]" To: Cc: "D'cruz,Steven \[Ontario\]" Subject: [Chameleon] Chameleon - WMS Browser X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jul 2004 15:47:05 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C470CC.4AD4E6C4 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi all, I'm posting this message due to a problem I've encountered with the WMS Browser application. I'm currently using Chameleon 1.0.5, and have encountered the following error; whenever a user attempts to add/remove any server datasource via the WMS Browser gui (under layer selection), the configuration changes last only as long as the user's session... essentially the changes are not permanent. I'd like to add a permanent datasource from which the users can both browse and select remote layers to display on our map. Is there any way to do this? The CubeWerx WMS mapserver has already been added, although not by me, and as of yet, I've been unable to establish how that was accomplished. Please note that version 1.0.5 does not contain the WMSBrowser folder in the widgets directory, as that was apparently implemented in later versions to which we would rather not upgrade to. Steven D'Cruz (GIS) Web Developer Environment Canada Steven.D'Cruz@ec.gc.ca ------_=_NextPart_001_01C470CC.4AD4E6C4 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Chameleon - WMS Browser

Hi all,

        I'm posting this message due to a problem I've = encountered with the WMS Browser application.  I'm currently using = Chameleon 1.0.5, and have encountered the following error; whenever a = user attempts to add/remove any server datasource via the WMS Browser = gui (under layer selection), the configuration changes last only as long = as the user's session… essentially the changes are not = permanent.  I'd like to add a permanent datasource from which the = users can both browse and select remote layers to display on our = map.  Is there any way to do this?  The CubeWerx WMS mapserver = has already been added, although not by me, and as of yet, I've been = unable to establish how that was accomplished.  Please note that = version 1.0.5 does not contain the WMSBrowser folder in the widgets = directory, as that was apparently implemented in later versions to which = we would rather not upgrade to.

Steven = D'Cruz

(GIS) Web = Developer

Environment = Canada

Steven.D'Cruz@ec.gc.ca

------_=_NextPart_001_01C470CC.4AD4E6C4-- From pagameba@magma.ca Fri Jul 23 11:57:13 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6NFvDdx030198 for ; Fri, 23 Jul 2004 11:57:13 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma's Mail Server) with ESMTP id i6NFv9C1007164; Fri, 23 Jul 2004 11:57:09 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail3.magma.ca (8.13.0/8.13.0) with ESMTP id i6NFv6xc002989; Fri, 23 Jul 2004 11:57:09 -0400 Message-ID: <41013551.10802@magma.ca> Date: Fri, 23 Jul 2004 11:57:05 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "D'cruz,Steven [Ontario]" Subject: Re: [Chameleon] Chameleon - WMS Browser References: <9B09D75DF5B3494BA06E6FE478CE9CC10101A3C5@mgtserver3.ontario.int.ec.gc.ca> In-Reply-To: <9B09D75DF5B3494BA06E6FE478CE9CC10101A3C5@mgtserver3.ontario.int.ec.gc.ca> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jul 2004 15:57:16 -0000 Steven there is supposed to be a tab in the admin interface (third tab over) that allows you to manage the persistent list of wms servers. It is possible that it does not work correctly, but try this first. If this doesn't work, you can accomplish this in a different way (it's a little more manual labour) * find the location that php is storing sessions. Normally this is found in the php.ini file. * remove old sessions and then connect to the service instance, this will create a new directory called sess_******* where ******* is some random number * in the session directory, a bunch of files are created AND a directory called data or userdata I think. The wms cache is copied here so that any changes that are made are made to this copy instead of the persistent copy. * in the application, add your server, update stuff, remove them ... * copy the contents of the user data directory from the session into the cwc2 data directory, replacing existing files. Cheers, Paul D'cruz,Steven [Ontario] wrote: > Hi all, > > I'm posting this message due to a problem I've encountered with > the WMS Browser application. I'm currently using Chameleon 1.0.5, and > have encountered the following error; whenever a user attempts to > add/remove any server datasource via the WMS Browser gui (under layer > selection), the configuration changes last only as long as the user's > session… essentially the changes are not permanent. I'd like to add a > permanent datasource from which the users can both browse and select > remote layers to display on our map. Is there any way to do this? The > CubeWerx WMS mapserver has already been added, although not by me, and > as of yet, I've been unable to establish how that was accomplished. > Please note that version 1.0.5 does not contain the WMSBrowser folder in > the widgets directory, as that was apparently implemented in later > versions to which we would rather not upgrade to. > > */Steven D'Cruz/* > > */(GIS) Web Developer/* > > */Environment Canada/* > > */Steven.D'Cruz@ec.gc.ca/*// > > > ------------------------------------------------------------------------ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Steven.D'Cruz@ec.gc.ca Fri Jul 23 13:25:42 2004 Received: from mgtserver3.tor.ec.gc.ca (ecdow130.tor.ec.gc.ca [199.212.19.130]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6NHPfdx030707 for ; Fri, 23 Jul 2004 13:25:42 -0400 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Subject: RE: [Chameleon] Chameleon - WMS Browser Date: Fri, 23 Jul 2004 13:25:37 -0400 Message-ID: <9B09D75DF5B3494BA06E6FE478CE9CC1010482A9@mgtserver3.ontario.int.ec.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Chameleon] Chameleon - WMS Browser Thread-Index: AcRwzbeo99hApiaHQlSrX3XAulLI2QAC8Vvg From: "D'cruz,Steven [Ontario]" To: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i6NHPfdx030707 Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jul 2004 17:25:42 -0000 Hi Paul, I really appreciate the quick response. The admin interface appears to be functioning correctly, and in the third tab there exist the various add/update options for WMS sources. I'll try adding the new WMS server connection later, as the data to add is currently unavailable. Thanks a lot for the assistance. Steven D'Cruz (GIS) Web Developer Environment Canada Steven.D'Cruz@ec.gc.ca -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: Friday, July 23, 2004 11:57 AM To: D'cruz,Steven [Ontario] Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Chameleon - WMS Browser Steven there is supposed to be a tab in the admin interface (third tab over) that allows you to manage the persistent list of wms servers. It is possible that it does not work correctly, but try this first. If this doesn't work, you can accomplish this in a different way (it's a little more manual labour) * find the location that php is storing sessions. Normally this is found in the php.ini file. * remove old sessions and then connect to the service instance, this will create a new directory called sess_******* where ******* is some random number * in the session directory, a bunch of files are created AND a directory called data or userdata I think. The wms cache is copied here so that any changes that are made are made to this copy instead of the persistent copy. * in the application, add your server, update stuff, remove them ... * copy the contents of the user data directory from the session into the cwc2 data directory, replacing existing files. Cheers, Paul D'cruz,Steven [Ontario] wrote: > Hi all, > > I'm posting this message due to a problem I've encountered > with > the WMS Browser application. I'm currently using Chameleon 1.0.5, and > have encountered the following error; whenever a user attempts to > add/remove any server datasource via the WMS Browser gui (under layer > selection), the configuration changes last only as long as the user's > session... essentially the changes are not permanent. I'd like to add a > permanent datasource from which the users can both browse and select > remote layers to display on our map. Is there any way to do this? The > CubeWerx WMS mapserver has already been added, although not by me, and > as of yet, I've been unable to establish how that was accomplished. > Please note that version 1.0.5 does not contain the WMSBrowser folder in > the widgets directory, as that was apparently implemented in later > versions to which we would rather not upgrade to. > > */Steven D'Cruz/* > > */(GIS) Web Developer/* > > */Environment Canada/* > > */Steven.D'Cruz@ec.gc.ca/*// > > > ---------------------------------------------------------------------- > -- > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From griffin@watersheds.ca Tue Jul 27 10:13:53 2004 Received: from mail.storm.ca (mail.storm.ca [209.87.239.66]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6REDrdx006543 for ; Tue, 27 Jul 2004 10:13:53 -0400 Received: from 192.168.0.141 (static130.rbsinternet.com [66.102.69.130] (may be forged)) by mail.storm.ca (8.11.7p1+Sun/8.11.7) with ESMTP id i6REDgq02942 for ; Tue, 27 Jul 2004 10:13:47 -0400 (EDT) From: aaron griffin To: chameleon@lists.maptools.org Content-Type: text/plain Organization: Centre for Sustainable Watersheds Message-Id: <1090919620.2532.1.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4-8mdk Date: Tue, 27 Jul 2004 10:13:40 +0100 Content-Transfer-Encoding: 7bit Subject: [Chameleon] embedding widgets X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: griffin@watersheds.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jul 2004 14:13:53 -0000 I'm working on creating a mapping page that includes the locate services as an embedded element to the page. Has anyone done this before or have any suggestions for trying to do this? Aaron Griffin From bartvde@xs4all.nl Tue Jul 27 10:32:39 2004 Received: from smtp-vbr13.xs4all.nl (smtp-vbr13.xs4all.nl [194.109.24.33]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6REWcdx006791 for ; Tue, 27 Jul 2004 10:32:39 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-vbr13.xs4all.nl (8.12.11/8.12.11) with ESMTP id i6REWWvD088424; Tue, 27 Jul 2004 16:32:32 +0200 (CEST) (envelope-from bartvde@xs4all.nl) Date: Tue, 27 Jul 2004 16:31:56 +0200 To: griffin@watersheds.ca, chameleon@lists.maptools.org Subject: Re: [Chameleon] embedding widgets References: <1090919620.2532.1.camel@localhost> From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <1090919620.2532.1.camel@localhost> User-Agent: Opera7.23/Win32 M2 build 3227 X-Virus-Scanned: by XS4ALL Virus Scanner Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: bartvde@xs4all.nl List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jul 2004 14:32:39 -0000 Hi Aaron, I have done this successfully for two widgets, but it needs a lot of tweaking. Sorry that I did not get back to you after the user conference. Did you try to follow up on my approach? What you need to do is also take the Locate widget into your template using the CWC2 tag, but commenting it out with HTML comments so that it doesn't show. This is needed to get the buttons working in the embedded iframe. Hope this helps. Best regards, Bart On Tue, 27 Jul 2004 10:13:40 +0100, aaron griffin wrote: > I'm working on creating a mapping page that includes the locate services > as an embedded element to the page. Has anyone done this before or have > any suggestions for trying to do this? > > Aaron Griffin > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- From eric@gomoos.org Tue Jul 27 10:35:53 2004 Received: from mail.gomoos.org (www.gomoos.org [66.70.82.140]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6REZrdx006822 for ; Tue, 27 Jul 2004 10:35:53 -0400 Received: from dot170.office.gomoos.org (rrcs-nys-24-97-59-226.biz.rr.com [24.97.59.226]) by mail.gomoos.org (8.12.8p2/8.12.8) with ESMTP id i6REZoZ8091985; Tue, 27 Jul 2004 10:35:50 -0400 (EDT) (envelope-from eric@gomoos.org) Subject: Re: [Chameleon] embedding widgets From: Eric Bridger To: griffin@watersheds.ca In-Reply-To: <1090919620.2532.1.camel@localhost> References: <1090919620.2532.1.camel@localhost> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 (1.0.3-4) Date: 27 Jul 2004 10:31:48 -0400 Message-Id: <1090938714.1435.12.camel@ubet.gomoos.org> Mime-Version: 1.0 X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on peleg.gomoos.org Cc: "chameleon@lists.maptools.org" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jul 2004 14:35:53 -0000 On Tue, 2004-07-27 at 05:13, aaron griffin wrote: > I'm working on creating a mapping page that includes the locate services > as an embedded element to the page. Has anyone done this before or have > any suggestions for trying to do this? > > Aaron Griffin I am also very interested in this, not for the Locate widget, but for several other Popup based widgets: Query, LayerManager2. I was thinking of turning these into iframes vs. Popup window widgets since both have a SRC=URL type tag approach. The widgets would output iframe html with the src pointing to the poup url instead of opening a new window first. Anyone have any experience with this approach? Eric From pagameba@magma.ca Tue Jul 27 11:11:21 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6RFBKdx007431 for ; Tue, 27 Jul 2004 11:11:21 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (Magma's Mail Server) with ESMTP id i6RFBJwP028470; Tue, 27 Jul 2004 11:11:19 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail2.magma.ca (8.13.0/8.13.0) with ESMTP id i6RFBFkJ019495; Tue, 27 Jul 2004 11:11:19 -0400 Message-ID: <4106708F.90805@magma.ca> Date: Tue, 27 Jul 2004 11:11:11 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eric Bridger Subject: Re: [Chameleon] embedding widgets References: <1090919620.2532.1.camel@localhost> <1090938714.1435.12.camel@ubet.gomoos.org> In-Reply-To: <1090938714.1435.12.camel@ubet.gomoos.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: griffin@watersheds.ca, "chameleon@lists.maptools.org" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jul 2004 15:11:21 -0000 Eric, this is something that I have scheduled to look at after the final 1.99 release (i.e. something in the 2.1 development). The approach that I am planning to take is to modify Popup.php to target an iframe in a
that is displayed over the current page rather than use window.open. If things go well, the Chameleon core can be modified quite easily (as long as all widgets are using Popup.php for these services). More work will likely be needed to make each dialog box play nicely in an iframe, particularly javascript references to parent.opener, embedded forms, js code loaded multiple times etc. Bart has some experience with this already, I think it can be time-consuming to track down all the errors for each dialog, but I would hope that once a couple were done, it would be a matter of repeating the fixes. Paul Eric Bridger wrote: > On Tue, 2004-07-27 at 05:13, aaron griffin wrote: > >>I'm working on creating a mapping page that includes the locate services >>as an embedded element to the page. Has anyone done this before or have >>any suggestions for trying to do this? >> >>Aaron Griffin > > > I am also very interested in this, not for the Locate widget, but for > several other Popup based widgets: Query, LayerManager2. I was thinking > of turning these into iframes vs. Popup window widgets since both have a > SRC=URL type tag approach. The widgets would output iframe html with the > src pointing to the poup url instead of opening a new window first. > > Anyone have any experience with this approach? > > Eric > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From griffin.watersheds.ca@mail2.storm.ca Tue Jul 27 11:18:12 2004 Received: from mail2.storm.ca (mail2.storm.ca [204.187.144.18]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6RFICdx007646 for ; Tue, 27 Jul 2004 11:18:12 -0400 Received: from mail2.storm.ca (localhost [127.0.0.1]) by mail2.storm.ca (8.11.7+Sun/8.11.7) with ESMTP id i6RFIBk22892 for ; Tue, 27 Jul 2004 11:18:11 -0400 (EDT) Received: from 66.102.69.130 (SquirrelMail authenticated user griffin.watersheds.ca); by mail2.storm.ca with HTTP; Tue, 27 Jul 2004 11:18:11 -0400 (EDT) Message-ID: <5796.66.102.69.130.1090941491.squirrel@66.102.69.130> Date: Tue, 27 Jul 2004 11:18:11 -0400 (EDT) From: griffin.watersheds.ca@mail2.storm.ca To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.3-RC1 X-Mailer: SquirrelMail/1.4.3-RC1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Mailman-Approved-At: Tue, 27 Jul 2004 17:05:06 -0400 Subject: [Chameleon] Embedding Widgets X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jul 2004 15:18:12 -0000 How do i add a call back function to my template? From bartvde@xs4all.nl Wed Jul 28 03:10:05 2004 Received: from smtp-vbr11.xs4all.nl (smtp-vbr11.xs4all.nl [194.109.24.31]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6S7A3dx013214 for ; Wed, 28 Jul 2004 03:10:04 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-vbr11.xs4all.nl (8.12.11/8.12.11) with ESMTP id i6S79uWV002765; Wed, 28 Jul 2004 09:09:56 +0200 (CEST) (envelope-from bartvde@xs4all.nl) To: griffin.watersheds.ca@mail2.storm.ca, chameleon@lists.maptools.org Subject: Re: [Chameleon] Embedding Widgets References: <5796.66.102.69.130.1090941491.squirrel@66.102.69.130> Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Wed, 28 Jul 2004 09:09:19 +0200 In-Reply-To: <5796.66.102.69.130.1090941491.squirrel@66.102.69.130> User-Agent: Opera7.23/Win32 M2 build 3227 X-Virus-Scanned: by XS4ALL Virus Scanner Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: bartvde@xs4all.nl List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jul 2004 07:10:06 -0000 Hi Aaron, you could do this by copy paste from the Locate widget php code (the javascript callback function is in there). Easier option is to use the widget also in a normal way in your template, and comment it with HTML comments. The javascript interface of the widget will come into the template, but you won't see the widget in there. If I have the time I will set up a demo to download for people in the next few days. Best regards, Bart On Tue, 27 Jul 2004 11:18:11 -0400 (EDT), wrote: > How do i add a call back function to my template? > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- From pagameba@magma.ca Wed Jul 28 07:57:17 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6SBvHdx015926 for ; Wed, 28 Jul 2004 07:57:17 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i6SBvHAQ017863 for ; Wed, 28 Jul 2004 07:57:17 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail3.magma.ca (8.13.0/8.13.0) with ESMTP id i6SBvDMo021443 for ; Wed, 28 Jul 2004 07:57:16 -0400 Message-ID: <41079493.1010600@magma.ca> Date: Wed, 28 Jul 2004 07:57:07 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "chameleon@lists.maptools.org" Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Wed, 28 Jul 2004 10:05:28 -0400 Subject: [Chameleon] Chameleon 1.99 Beta 2 X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jul 2004 11:57:18 -0000 All, *********************************************************************** * * * NOTE: if you are an existing user of Chameleon 1.99 beta1 or some * * CVS version, it is very important to read the note on configuration * * changes in the New Features section. * * * *********************************************************************** Chameleon 1.99 Beta 2 is now available, it is based on the CVS version as of 9 July 2004. It can be downloaded from the following locations: Linux (tar.gz): --------------- http://www.maptools.org/dl/chameleon-1.99beta2.tar.gz Windows (zip): -------------- http://www.maptools.org/dl/chameleon-1.99beta2.zip Windows MS4W (zip): ------------------- http://www.maptools.org/dl/chameleon_ms4w-1.99beta2.zip New Features: ------------- * bug 343: added a new Service Instance mode for Chameleon, called cwc2. cwc2 is a subdirectory of the chameleon installation and is an application built upon chameleon that allows remote users to create applications without a local installation of chameleon. Documentation is still coming for this, this should be considered an ALPHA feature for this release. There is more information on the service instance at the end of this email (see CWC2 Service Instance Notes below) *********************************************** * * * CONFIGURATION FILE CHANGES - VERY IMPORTANT * * * *********************************************** With the addition of the service instance (called cwc2), I have finally fixed up the configuration files. The configuration file in beta1 was called cwc2.xml for historical reasons (since chameleon was originally called CWC2). It contained several parameters that were only really needed by the service instance but I left them in because I knew that this service instance was coming back at some point. So now that it is back, I have split the configuration file into two separate files, chameleon.xml and cwc2.xml. It is NOT sufficient to rename your cwc2.xml to chameleon.xml. The splitting process resulted in the removal of some completely unnecessary elements, the adding of new parameters, and changing the names of some elements. You MUST start from the xml-dist versions of these files. You will find that you can copy some settings from the existing cwc2.xml into the appropriate place in either chameleon.xml or the new cwc2.xml. For ms4w users, the package comes pre-configured so you don't have to worry about this at all. For non-ms4w users, you may want to check out the ms4w version's configuration files if you are having difficulty. *** back to the release notes *** * added sample xml and xsd documents for upcoming widget documentation system. * bug 478: updated the cwc2.xml file for ms4w installations * bug 101: added a link to the service instance in the ms4w package * added the picker common utilities to the chameleon build process * added ms4w directory to cvs to house the ms4w configuration files, updated the Makefile to allow creation of the ms4w distribution files directly. Changes: -------- * KeyMapDHTML2 renamed to KeyMapDHTML * updated CWC2_INSTALLATION.txt for version 1.99, still needs works and should be renamed * bug 367: added optional compression formats as widget attributes to the ExtractWFSData widget, and added ZIP to the available formats. Bug Fixes: ---------- * bug 440: removed session variables relating to the GD module and FreeType version as part of cleaning up the configuration files. * removed extraneous error messages * added colorpicker to the build process for SECTPopup * bug 443: fixed a problem with figuring out the application web path under some circumstances * bug 444: fixed a problem in popup dialogs if the requested popupstyleresource was not also referenced as a styleresource somewhere in the template * bug 445: fixed a problem in popup dialogs if no styleresource or popupstyle resource is used, buttons are now represented as HTML buttons in this case. * bug 446: fixed naming issue in many of the sample templates (ReferenceLayer was incorrectly named InfoLayer) * fixed include path problem in KeepSessionAlive widget * bug 398: fixed problem with KeyMapDHTML widget when the aspect ratio of the keymap was not the same as the main map * bug 453: modifications to enable JSAPI mode again * fixed bug 392 * bug 422: added widgetclass attribute to Scale widget * bug 320: fixed a problem with getWFSConnection if the connection is invalid * Added GetAvailableWidgets function to list all available widgets * bug 480: capture missing default context or template errors and present as a service exception * bug 501: fix a problem with Button.php, button names were being used as the name/id of html elements but the button names were randomly generated and could start with a number, which is invalid for use as a name in HTML. * bug 93: widgets can now exist on different forms by setting the formindex attribute. This also fixed a problem with widgets not respecting the visible and enabled attributes. * bug 486: fixed syntax error in HelpWidget * bug 104: fixed a bug related to widgets that should never be part of toolsets, but were able to be. * bug 190: fixed a bug in the ROIRenderer when drawing ROIs and the session is expired, the ROI image became broken. Now it displays "session expired". * fixed a problem in the LegendTemplate widget where deleted layers would be 'undeleted' if they were previously visible before deleting them. CWC2 Service Instance Notes --------------------------- In lieu of real documentation, I'm providing some working notes at this time. This will eventually show up in one of the chameleon documents :) **** CWC2 Users Guide **** Installing the CWC2 Service Instance ==================================== The CWC2 Service Instance is installed with the Chameleon package by default. To access the Service Instance, you will need to adjust your system configuration and edit the Service Instance configuration file to reflect your system's configuration. Note that the Service Instance requires a properly installed and configured Chameleon package, please follow the Chameleon installation instructions and ensure that Chameleon is fully functional before attempting to configure the Service Instance. System Configuration ==================== You will need to configure your Web Server to grant access to at least one directory in the service instance. Two other directories are optional. The following table is a suggested configuration: URL Required? Path --------------------------- --------- ------------------------------- http:///cwc2 YES /chameleon/cwc2/htdocs/ http:///templates NO /chameleon/cwc2/templates/ http:///contexts NO /chameleon/cwc2/contexts/ Service Instance Configuration ============================== You will need to make a copy of the cwc2.xml-dist file found in the /chameleon/config folder and name it cwc2.xml. You will need to edit at least some of the settings found in this file. Each configuration item is described in the xml document, but as a minimum you should review the following items: Config Item Set to ... --------------------- ----------------------------------------------- service_instance_path URL to service instance htdocs folder (from above) server_data_path /chameleon/cwc2/data default_context /chameleon/cwc2/contexts/world_context.xml default_template /chameleon/cwc2/templates/sample_cwc2.html context_root /chameleon/cwc2/contexts/ template_root /chameleon/cwc2/templates fontlist_file /chameleon/cwc2/etc/fonts.txt symbol_file /chameleon/cwc2/etc/symbols.sym Testing the Service Instance ============================ Assuming that the above configuration is implemented correctly, the Service Instance should now be fully functional. You can test your Service Instance by connecting to the following URL: http:///cwc2/cwc2.php You should receive the following message: request URI was http:///cwc2/cwc2.php query string was Missing mandatory SERVICE parameter This error message means that the Web Server is correctly providing access to the Service Instance. Normally, the Service Instance is configured to provide a default application and context. If you followed the instructions above, you can access the default application and context by connecting to the following URL: http:///cwc2/cwc2.php?service=VCG&request=GetApplication&version=0.1.0 Please read the CWC2 Service Instance Users Guide to find out more about communicating with and using the features of the Service Instance Getting Help ============ The CWC2 Service Instance is part of the Chameleon package available from http://www.maptools.org. Please visit the Chameleon web site at http://www.maptools.org/chameleon to access information about using Bugzilla and the Chameleon users mailing list. **** CWC2 USERS GUIDE **** CWC2 Service Instance Users Guide ================================= Getting Started =============== Please refer to the CWC2 Service Instance Installation Guide for instructions on getting your Service Instance installed and tested. This document assumes that you have a fully functional and correctly configured Service Instance. Terms and Definitions ===================== CWC2 - TBD Service Instance - TBD Chameleon - TBD CWC2 Service Instance Server - TBD Application - TBD ... Basic Concepts ============== The CWC2 Service Instance is an application built on top of the Chameleon engine that allows application developers to create web mapping applications by creating an Application Template and a Web Map Context document. It will only work with WMS layers. The CWC2 Service Instance is a web service that can be invoked by clients using only a web browser. Service Exceptions ================== A Service Exception is the term used to describe the result of an error that happens in the CWC2 Service Instance. The CWC2 Service Instance is designed to capture internal errors and report them in a standard, machine-parsable way using structured XML documents. Whenever an error is trapped internally, CWC2 will generate and return a Service Exception instead of the application. The intention is to provide sufficient information to the user to allow for troubleshooting of the problem that caused the Service Exception to be triggered. Service Exceptions can happen at any time and for a wide variety of reasons. Common Request Parameters ========================= This section describes parameters that are common to every invocation of the Service Instance. REQUEST ------- The REQUEST parameter indicates which operation is being invoked and its value is one of the names of the operations supported by the service instance. The REQUEST parameter is mandatory in every invocation of the service instance. VERSION ------- The VERSION parameter indicates the protocol version number and is mandatory in every invocation of the service instance. SERVICE ------- The SERVICE parameter indicates the service that is being requested. Some web services can be configured to provide multiple services through the same base URL. In the case of CWC2, this is not yet possible, however, this parameter is provided for compatibility with existing services and for possible future requirements. The SERVICE parameter is mandatory in every invocation of the service instance. Supported REQUESTs ================== The CWC2 Service Instance supports two REQUESTs, described below. GetCapabilities =============== The purpose of the GetCapabilities operation is to describe the operating parameters of a particular Service Instance to enable clients to use the service in an effective manner. GetCapabilites Request Parameters --------------------------------- The GetCapabilities operation has three mandatory paramters, SERVICE, REQUEST and VERSION, described in the following table: Parameter Required/ Description Optional SERVICE=VCG R Service name, must be VCG. REQUEST=GetCapabilities R request name, must be GetCapabilities VERSION= R supported protocol version number GetCapabilities Reponse ----------------------- The response to the GetCapabilities request is an XML document. This feature is not yet implemented. GetApplication ============== The purpose of the GetApplication operation is to generate a client application based on the parameters provided when invoking the service. GetCapabilites Request Parameters --------------------------------- The GetApplication operation has three mandatory paramters and six optional parameters described in the following table: Parameter Required/ Description Optional SERVICE=VCG R Service name, must be VCG. REQUEST=GetApplication R request name, must be GetApplication VERSION= R supported protocol version number LANGUAGES= O a list of languages TEMPLATES= O a list of application template paths or URLs CONTEXTS= O a list of context paths or URLs LANGUAGE= O the language to display BBOX= O a comma separated list of coordinates that describe the initial spatial extents to be displayed to the user SRS= O a spatial reference system, must be a valid EPSG code, to be used for the initial map view. LANGUAGES --------- A list of language specifiers separated by commas. Languages are specified in the form of a two-character language code followed by a dash and a two character country code. Service instances will list supported languages in the capabilities document. Unsupported languages may be requested, but the service instance will use the default language for unsupported languages. This parameter is optional unless TEMPLATES is set, in which case it is mandatory. TEMPLATES --------- A list of application template paths or URLs separated by commas. A template is identified by either a relative path on the server (relative to the template root directory specified in the service instance configuration) or a URL to a web-accessible template. The templates are listed in the same order as the LANGUAGES, with one template required for each supported language (even if the same template supports every language). URLs must be in the standard http:///path/template.html format and must be URL-encoded. This parameter is optional unless LANGUAGES is set, in which case it is mandatory. The service instance defines a default template in its configuration file. CONTEXTS -------- A list of web map context paths or URLs separated by commas. A context is identified by either a relative path on the server (relative to a directory specified in the service instance configuration) or a URL to a web-accessible context. The contexts are loaded in the order in which they appear in this value, and the projection and spatial extents are taken from the last context loaded (see Common Problems below). The order of the contexts determines the order in which the layers of each context are drawn. Layers from the first context in the list are drawn first, layers from later contexts are drawn 'on top' of earlier ones. URLs must be in the standard http:///path/template.html format and must be URL-encoded. This parameter is optional. The service instance defines a default value in its configuration file. LANGUAGE -------- The lanuage to use to display the application. This will cause one of the templates to be selected from the available TEMPLATES. This parameter is optional. The service instance defines a default value in its configuration file. BBOX ---- The BBOX provides a mechanism to define a different set of initial spatial extents that the default. By default, the Service Instance will use the extents defined in the last context opened. This may not be appropriate in all cases, especially when providing multiple contexts. The format for this parameter is to provide a comma-separated list of values in the following order: BBOX=,,, The values are specified in georeferenced coordinates and depend on the spatial reference system of the initial view. SRS --- The SRS provides a mechanism to define a different spatial reference system that the default. By default, the Service Instance will use the SRS defined in the last context opened. This may not be appropriate in all cases, especially when providing multiple contexts. This parameter must use EPSG codes in the following format: SRS=EPSG:XXXXX Common Problems =============== Paths to TEMPLATES and CONTEXTS ------------------------------- When specifying a template or a context, you must do so in relation to the Service Instance server. This means that if the context or template that you wish to access is on the Service Instance server, then it must reside in the Service Instances defined template directory or context directory (or a subdirectory of these). If the context or template is not on the Service Instance server, then you must refer to it using a valid URL. It is very important to note that the URL will be opened from the Service Instance server, so a URL that refers to localhost: http://localhost/mytemplates/app1.html will most likely NOT work. This is because the Service Instance, when it tries to open this URL, will be pointing to itself, most likely not the situation you intended. Multiple CONTEXTS appear wrong ------------------------------ When specifying multiple CONTEXTS, the Service Instance will load them sequentially and use the BBOX and SRS defined in the last context it loads. It is quite possible that the BBOX and SRS in the last context you want to load are not valid for all the contexts that you are trying to load. For instance, if you try to load the world_context.xml and the gmap_context.xml (in that order) that come with the service instance, the world data will be displayed in LCC projection and will not appear to 'line up' with the gmap data. The problem is that the projection is invalid for extents beyond Canada. To fix this problem, you can manually provide a BBOX and SRS as part of the request. In this case, changing the SRS to EPSG:4326 displays everything correctly. Limitations =========== The CWC2 Service Instance will only work with data that is accessible via WMS The CWC2 Service Instance does not allow applications to define and access custom widgets unless they are installed in the Chameleon instance that the CWC2 Service Instance is configured to use. *** end CWC2 USERS GUIDE *** Some example invocations: The base URL to the service instance is (note this is an invalid request): http://localhost/chameleon/cwc2/cwc2.php The URL to get the Service Instance capabilities is (note this doesn't do anything yet): http://localhost/chameleon/cwc2/cwc2.php?service=VCG&request=GetCapabilities&version=0.1.0 The URL to get the default template, context and language is (note this is the most basic valid request): http://localhost/chameleon/cwc2/cwc2.php?service=VCG&request=GetApplication&version=0.1.0 The URL to get a single local template for a given language is: http://localhost/chameleon/cwc2/cwc2.php?request=GetApplication&version=0.1.0&LANGUAGES=en-CA&TEMPLATES=sample_cwc2.html The URL to get a single remote template for a given language is: http://localhost/chameleon/cwc2/cwc2.php?request=GetApplication&version=0.1.0&LANGUAGES=en-CA&TEMPLATES=http://localhost/chameleon/cwc2/templates/sample_cwc2.html The URL to get a bilingual application using local templates is: http://localhost/chameleon/cwc2/cwc2.php?request=GetApplication&version=0.1.0&LANGUAGES=en-CA,fr-CA&TEMPLATES=sample_cwc2_en.html,sample_cwc2_fr.html The URL to get a bilingual application using remote templates is: http://localhost/chameleon/cwc2/cwc2.php?request=GetApplication&version=0.1.0&LANGUAGES=en-CA,fr-CA&TEMPLATES=http://localhost/chameleon/cwc2/templates/sample_cwc2_en.html,http://localhost/chameleon/cwc2/templates/sample_cwc2_fr.html The URL to get a single local context using default template and language is: http://localhost/chameleon/cwc2/cwc2.php?service=VCG&request=GetApplication&version=0.1.0&CONTEXTS=gmap_context.xml The URL to get a single remote context using default template and language is: http://localhost/chameleon/cwc2/cwc2.php?service=VCG&request=GetApplication&version=0.1.0&CONTEXTS=http://localhost/chameleon/cwc2/contexts/gmap_context.xml The URL to get multiple local contexts using default template and language is: http://localhost/chameleon/cwc2/cwc2.php?service=VCG&request=GetApplication&version=0.1.0&CONTEXTS=world_context.xml,gmap_context.xml The URL to get multiple remote context using default template and language is: http://localhost/chameleon/cwc2/cwc2.php?service=VCG&request=GetApplication&version=0.1.0&CONTEXTS=http://localhost/chameleon/cwc2/contexts/world_context.xml,http://localhost/chameleon/cwc2/contexts/gmap_context.xml The URL to get a fully remote, bilingual application using multiple contexts is: http://localhost/chameleon/cwc2/cwc2.php?service=VCG&request=GetApplication&version=0.1.0&LANGUAGES=en-CA,fr-CA&TEMPLATES=http://localhost/chameleon/cwc2/templates/sample_cwc2_en.html,http://localhost/chameleon/cwc2/templates/sample_cwc2_fr.html&CONTEXTS=http://localhost/chameleon/cwc2/contexts/world_context.xml,http://localhost/chameleon/cwc2/contexts/gmap_context.xml The URL to get a fully remote, bilingual application using multiple contexts, and defining an SRS and BBOX: http://localhost/chameleon/cwc2/cwc2.php?service=VCG&request=GetApplication&version=0.1.0&LANGUAGES=en-CA,fr-CA&TEMPLATES=http://localhost/chameleon/cwc2/templates/sample_cwc2_en.html,http://localhost/chameleon/cwc2/templates/sample_cwc2_fr.html&CONTEXTS=http://localhost/chameleon/cwc2/contexts/world_context.xml,http://localhost/chameleon/cwc2/contexts/gmap_context.xml&srs=epsg:4326&BBOX=-180,-90,180,90 Cheers Paul -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Wed Jul 28 11:11:06 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6SFB6dx017511 for ; Wed, 28 Jul 2004 11:11:06 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id i6SFB6RW006025 for ; Wed, 28 Jul 2004 11:11:06 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail2.magma.ca (8.13.0/8.13.0) with ESMTP id i6SFB2dV029426 for ; Wed, 28 Jul 2004 11:11:06 -0400 Message-ID: <4107C201.1000702@magma.ca> Date: Wed, 28 Jul 2004 11:10:57 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "chameleon >> \"chameleon@lists.maptools.org\"" Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Chameleon] Chameleon 1.99beta 2 update X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jul 2004 15:11:06 -0000 Thanks to Huub Fleuren for pointing out that I mistyped the paths Linux (tar.gz): --------------- http://www.maptools.org/dl/chameleon/chameleon-1.99beta2.tar.gz Windows (zip): -------------- http://www.maptools.org/dl/chameleon/chameleon-1.99beta2.zip Windows MS4W (zip): ------------------- http://www.maptools.org/dl/ms4w/chameleon_ms4w-1.99beta2.zip -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Steven.D'Cruz@ec.gc.ca Wed Jul 28 11:28:20 2004 Received: from mgtserver3.tor.ec.gc.ca (ecdow130.tor.ec.gc.ca [199.212.19.130]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id i6SFSKdx017581 for ; Wed, 28 Jul 2004 11:28:20 -0400 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C474B7.80C9440C" X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Date: Wed, 28 Jul 2004 11:28:16 -0400 Message-ID: <9B09D75DF5B3494BA06E6FE478CE9CC10101A3C6@mgtserver3.ontario.int.ec.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Widget help Thread-Index: AcR0t4DDMtxVAx9GQpiVVsjJ74kFsw== From: "D'cruz,Steven [Ontario]" To: Cc: "D'cruz,Steven \[Ontario\]" Subject: [Chameleon] Widget help X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jul 2004 15:28:20 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C474B7.80C9440C Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi there, I'm currently using chameleon 1.0.5, and am attempting to modify the default template file (test.html) such that it has build in wfs extraction functionality (as opposed to creating a widget for the same purpose). The code I'm attempting to add is this:
Because the layers are dynamically generated, the layername must be specified directly in the template file (even if I were to implement the rest in a widget). The goal is for the option value (i) to be used as a method of referencing the particular layer. The problem I'm encountering is the inability to access the goCWCJSAPI variable and it's contents. I've tried numerous ways (document.goCWCJSAPI, window.goCWCJSAPI)... does anyone know the proper method of accessing the goCWCJSAPI variable from within the template file? Also of note is that in the final output (Chameleon Demo), the source for the demo looks similar to the following: TemplateFileDump Essentially, my script is within a different If you need to go to different templates, I would modify this so that the URL of the template is passed to this function :) Cheers, Paul D'cruz,Steven [Ontario] wrote: > Greetings, > > I'm currently using Chameleon v.1.0.5, and would like to enquire > as to whether it is possible to create a button, which, if clicked, > would send the user to a different template while preserving the current > Javascript CWC object and it's associated variables (goCWCJSAPI). The > reason for this requirement is that I've created two distinct templates; > simple and advanced. The simple template has considerably less > functionality than the advanced, although it is much more intuitave. I > would like to create a button on the simple template that reloads the > current map with a new template ( the advanced template ) while > preserving the state of the map (layer status, zoom depth, etc). Is > this possible in version 1.0.5 of Chameleon/CWC2? If not, I'd greatly > appreciate suggestions for adding this functionality. If this > functionality exists in later versions, would it be plausible to port > the changes from the newer chameleon version to version 1.0.5? Although > upgrading our version of Chameleon is a possibility, I've been asked to > avoid doing so unless absolutely necessary, as many customizations have > been made to it. > > Note: I currently have the Chameleon 1.99 b2 samples running, however > our application is primarily for the CWC component, which does not seem > to be fully implemented in the beta release. Upgrading may be > considered once version 2.0 of Chameleon/CWC2 is released > > Steven D'Cruz > > (Open)GIS Developer > > Environment Canada > > Steven.D'Cruz@ec.gc.ca > > > ------------------------------------------------------------------------ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Mon Aug 23 08:31:26 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7NCVQ9r025131 for ; Mon, 23 Aug 2004 08:31:26 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (8.13.0/8.13.0) with ESMTP id i7NCVPYA017957; Mon, 23 Aug 2004 08:31:26 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail2.magma.ca (8.13.0/8.13.0) with ESMTP id i7NCVJjc022004; Mon, 23 Aug 2004 08:31:25 -0400 Message-ID: <4129E391.80300@magma.ca> Date: Mon, 23 Aug 2004 08:31:13 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jacob Delfos Subject: Re: [Chameleon] change imagetype on the fly References: <000801c485b5$3fdefe50$5d2815ac@auper1pc364> In-Reply-To: <000801c485b5$3fdefe50$5d2815ac@auper1pc364> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Aug 2004 12:31:26 -0000 $http_form_vars is either POST or GET, not both. You could try: $http_form_vars = array_merge( $_POST, $_GET ); You can also: print_r($http_form_vars); and then view the source of your image to see the contents of the array? Cheers, Paul Jacob Delfos wrote: > Paul, > > You are right, if I hardcode the szImgType variable, it changes the > imagetype. But it doesn't seem to want to change any other way. There is > this piece of code in there which doesn't seem to have any effect: > > if (isset($http_form_vars["gszImgType"]) && > $http_form_vars["gszImgType"] != "") > $szImgType = $http_form_vars["gszImgType"]; > > The way I see this, it should allow a parameter in the form called > gszImgType to override the imagetype. Why doesn't it work? Even if I > just try > > isset($http_form_vars["gszImgType"]) > > and place the gszImgType in the url as a parameter, or in the form as an > input type, it acts as if this variable isn't set. I'm not much of a php > expert, but I thought the isset function checks whether a parameter has > a value..... > > Is it because I use a mapfile? > > regards, > > Jacob > > > > > -----Original Message----- > From: Paul Spencer [mailto:pagameba@magma.ca] > Sent: 19 August 2004 10:09 > To: Jacob Delfos; chameleon@lists.maptools.org > > Subject: Re: [Chameleon] change imagetype on the fly > > > Jacob, you should be able to modify the image type in drawmap.php since > this is the only > place that it actually draws the map. Note that drawmap does not save > the map state, so > you would have to change it on every map draw. The code would look > something like: > > $oMap->selectOutputFormat( 'GIF' ); > > I think. And you could insert this just before the $oMap->draw(); > call. You could also > (at the risk of adding a little overhead) loop through all the layers in > the map and test > for the layer types and only switch to jpeg when a raster layer is > visible ... > > Cheers, > > Paul > > > > On Aug 18, "Jacob Delfos" > wrote: > > Hi List, > > > > > > > > I am attempting to modify chameleon to allow the imagetype to change > on the fly. > Ideally, I want to reach a situation where chameleon is smart enough to > know it should use > gif, except when an aerial photograph is in the background. This will > greatly increase the > speed of the page, because my jpeg maps are typically around 88kb, > whereas a gif would be > ten times smaller for linework and areas. > > > > > > > > I tried to override the nImageType in drawmap.php by making it pick > it up from the http > parameters. But even if I hardcode the nImageType variable, I keep > getting a jpeg. Also > (which may be the cause), the temporary map files that are created > specify jpeg as imagetype. > > > > > > > > If I want to override the imagetype, where do I change that? > > > > > > > > regards, > > > > > > > > Jacob > > > > > > > > > > > > > > > > JACOB DELFOS > > > > SPATIAL INFORMATION ANALYST > > > > Maunsell Australia Pty Ltd > > > > 629 Newcastle Street > > > > PO Box 81 > > > > Leederville 6902 > > > > Western Australia > > > > ABN 20 093 846 925 > > > > > > > > Tel + 61 8 9281 6185 > > > > Fax + 61 8 9281 6297 > > > > jacob.delfos@maunsell.com > > > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > href='http://lists.maptools.org/mailman/listinfo/chameleon'>http://lists.maptools.org/mailman/listinfo/chameleon > > > > > > if (isset($http_form_vars["gszImgType"]) && > $http_form_vars["gszImgType"] != "") > $szImgType = $http_form_vars["gszImgType"]; > > > ------------------------------------------------------------------------ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From kueda@wso.williams.edu Mon Aug 23 17:56:51 2004 Received: from nature.Berkeley.EDU (nature.Berkeley.EDU [128.32.253.219]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7NLuf9r029872 for ; Mon, 23 Aug 2004 17:56:51 -0400 Received: from localhost (localhost [127.0.0.1]) by nature.Berkeley.EDU (Postfix) with ESMTP id BC611C1E51 for ; Mon, 23 Aug 2004 14:56:39 -0700 (PDT) Received: from nature.Berkeley.EDU ([127.0.0.1]) by localhost (nature [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21800-10 for ; Mon, 23 Aug 2004 14:56:39 -0700 (PDT) Received: from [128.32.179.58] (mul111-3.CNR.Berkeley.EDU [128.32.179.58]) by nature.Berkeley.EDU (Postfix) with ESMTP id 70F50C1E43 for ; Mon, 23 Aug 2004 14:56:39 -0700 (PDT) Message-ID: <412A6817.4010002@wso.williams.edu> Date: Mon, 23 Aug 2004 14:56:39 -0700 From: Ken-ichi User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Chameleon@lists.maptools.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at nature.berkeley.edu Cc: Subject: [Chameleon] raster hang X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Aug 2004 21:56:51 -0000 Hi folks. I've started trying to add a GeoTIFF to my Chameleon app, and it really bogs it down, sometimes to a stand still. The image I'm experimenting with is a 29mb unsigned 8bit GeoTIFF created in Erdas. The hangs are most frequent when the tiff occupies the whole map, and when I say hang, I mean that the map just doesn't render. The hangs also seem to generate an httpd process that takes up a lot (>20%) of my CPU activity. The relevant portion of my map file is pretty simple: LAYER NAME "Test Raster" TYPE RASTER DATA "/path/to/data.tif" STATUS DEFAULT END I haven't specified an outputformat, except in the MAP section, where I've set it to PNG (but I've switched around and that doesn't seem to make much difference). This problem does not seem to occur outside of Chameleon (everything works fine in MapLab's ROSA applet), and it doesn't happen every time the map is loaded (although it inevitably happens if you refresh the map enough). Has anyone experienced this kind of behavior before? Even better, anyone have any recommendations? -Ken-ichi From jacob.delfos@maunsell.com Mon Aug 23 23:44:23 2004 Received: from auper1gw001.hgm.com.au ([202.139.2.70]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7O3iK9r032103 for ; Mon, 23 Aug 2004 23:44:21 -0400 Received: from auper1gw001.hgm.com.au (localhost.localdomain [127.0.0.1]) by auper1gw001.hgm.com.au (8.12.8/8.12.8) with ESMTP id i7O3neUr005611 for ; Tue, 24 Aug 2004 11:49:40 +0800 Received: from ace.hgm.com.au (ace [172.21.40.11]) by auper1gw001.hgm.com.au (8.12.8/8.12.8) with ESMTP id i7O3ncRG005606 for ; Tue, 24 Aug 2004 11:49:40 +0800 Received: from auper1pc364 (Jacob_Delfos [172.21.40.93]) by ace.hgm.com.au (8.9.3/8.9.3) with SMTP id LAA06255 for ; Tue, 24 Aug 2004 11:51:56 +0800 (WST) Message-ID: <000801c4898c$91325c40$5d2815ac@auper1pc364> From: "Jacob Delfos" To: Subject: Re: [Chameleon] change imagetype on the fly Date: Tue, 24 Aug 2004 11:43:48 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C489CF.9ED98E70" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2004 03:44:23 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C489CF.9ED98E70 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thanks Paul, I sort of got it working now. My problem was that I didn't realize I was = passing parameters into the main php page, which of course wouldn't = propagate to drawmap.php (dumb...). I'm automatically generating a hidden input field in the form when my = aerial photo becomes visible (using the legend template). Unfortunately = it doesn't get picked up until the next time I submit the form. I may = try to resort to iterating through the layers after all. I think it = could be a real advantage to switch to indexed colour (GIF) = automatically when there is only vector data visible. Thanks, Jacob -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca]=20 Sent: 23 August 2004 20:31 To: Jacob Delfos Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] change imagetype on the fly $http_form_vars is either POST or GET, not both. You could try: $http_form_vars =3D array_merge( $_POST, $_GET ); You can also: print_r($http_form_vars); and then view the source of your image to see the contents of the array? Cheers, Paul Jacob Delfos wrote: > Paul, > =20 > You are right, if I hardcode the szImgType variable, it changes the=20 > imagetype. But it doesn't seem to want to change any other way. There = is=20 > this piece of code in there which doesn't seem to have any effect: > =20 > if (isset($http_form_vars["gszImgType"]) &&=20 > $http_form_vars["gszImgType"] !=3D "") > $szImgType =3D $http_form_vars["gszImgType"]; > =20 > The way I see this, it should allow a parameter in the form called=20 > gszImgType to override the imagetype. Why doesn't it work? Even if I=20 > just try > =20 > isset($http_form_vars["gszImgType"]) > =20 > and place the gszImgType in the url as a parameter, or in the form as = an=20 > input type, it acts as if this variable isn't set. I'm not much of a = php=20 > expert, but I thought the isset function checks whether a parameter = has=20 > a value..... > =20 > Is it because I use a mapfile? > =20 > regards, > =20 > Jacob > =20 > =20 > =20 > =20 > -----Original Message----- > From: Paul Spencer [mailto:pagameba@magma.ca] > Sent: 19 August 2004 10:09 > To: Jacob Delfos; chameleon@lists.maptools.org=20 > > Subject: Re: [Chameleon] change imagetype on the fly > =20 >=20 > Jacob, you should be able to modify the image type in drawmap.php = since=20 > this is the only > place that it actually draws the map. Note that drawmap does not save = > the map state, so > you would have to change it on every map draw. The code would look=20 > something like: > =20 > $oMap->selectOutputFormat( 'GIF' ); > =20 > I think. And you could insert this just before the $oMap->draw();=20 > call. You could also > (at the risk of adding a little overhead) loop through all the layers = in=20 > the map and test > for the layer types and only switch to jpeg when a raster layer is=20 > visible ... > =20 > Cheers, > =20 > Paul > =20 > =20 > =20 > On Aug 18, "Jacob Delfos" > wrote: > > Hi List, > > > > > > > > I am attempting to modify chameleon to allow the imagetype to = change=20 > on the fly. > Ideally, I want to reach a situation where chameleon is smart enough = to=20 > know it should use > gif, except when an aerial photograph is in the background. This will=20 > greatly increase the > speed of the page, because my jpeg maps are typically around 88kb,=20 > whereas a gif would be > ten times smaller for linework and areas. > > > > > > > > I tried to override the nImageType in drawmap.php by making it pick = > it up from the http > parameters. But even if I hardcode the nImageType variable, I keep=20 > getting a jpeg. Also > (which may be the cause), the temporary map files that are created=20 > specify jpeg as imagetype. > > > > > > > > If I want to override the imagetype, where do I change that? > > > > > > > > regards, > > > > > > > > Jacob > > > > > > > > > > > > > > > > JACOB DELFOS > > > > SPATIAL INFORMATION ANALYST > > > > Maunsell Australia Pty Ltd > > > > 629 Newcastle Street > > > > PO Box 81 > > > > Leederville 6902 > > > > Western Australia > > > > ABN 20 093 846 925 > > > > > > > > Tel + 61 8 9281 6185 > > > > Fax + 61 8 9281 6297 > > > > jacob.delfos@maunsell.com > > > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > = href=3D'http://lists.maptools.org/mailman/listinfo/chameleon'>http://list= s.maptools.org/mailman/listinfo/chameleon > > > > > =20 > if (isset($http_form_vars["gszImgType"]) &&=20 > $http_form_vars["gszImgType"] !=3D "") > $szImgType =3D $http_form_vars["gszImgType"]; >=20 >=20 > = ------------------------------------------------------------------------ >=20 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon --=20 ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- ------=_NextPart_000_0005_01C489CF.9ED98E70 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Thanks Paul,
 
I sort of got it working now. My = problem was that I=20 didn't realize I was passing parameters into the main php page, which of = course=20 wouldn't propagate to drawmap.php (dumb...).
 
I'm automatically generating a hidden = input field=20 in the form when my aerial photo becomes visible (using the legend = template).=20 Unfortunately it doesn't get picked up until the next time I submit the = form. I=20 may try to resort to iterating through the layers after all. I think it = could be=20 a real advantage to switch to indexed colour (GIF) automatically when = there is=20 only vector data visible.
 
Thanks,
 
Jacob
 

-----Original Message-----
From: Paul Spencer=20 [mailto:pagameba@magma.ca]
Sent: 23 August 2004 20:31
To: Jacob=20 Delfos
Cc: chameleon@lists.maptools.org=
Subject:=20 Re: [Chameleon] change imagetype on the fly
 

$http_form_vars is either POST or GET, not both.  You = could=20 try:
 
$http_form_vars =3D array_merge( $_POST, $_GET );
 
You can also:
 
print_r($http_form_vars);
 
and then view the source of your image to see the contents of the=20 array?
 
Cheers,
 
Paul
 
Jacob Delfos wrote:
 
> Paul,

> You are right, if I hardcode the=20 szImgType variable, it changes the
> imagetype. But it doesn't = seem to=20 want to change any other way. There is
> this piece of code in = there=20 which doesn't seem to have any effect:

> if=20 (isset($http_form_vars["gszImgType"]) &&
>=20 $http_form_vars["gszImgType"] !=3D "")
>     = $szImgType=20 =3D $http_form_vars["gszImgType"];

> The way I see = this, it=20 should allow a parameter in the form called
> gszImgType to = override the=20 imagetype. Why doesn't it work? Even if I
> just = try
> =20
> isset($http_form_vars["gszImgType"])

> and = place=20 the gszImgType in the url as a parameter, or in the form as an
> = input=20 type, it acts as if this variable isn't set. I'm not much of a php =
>=20 expert, but I thought the isset function checks whether a parameter has =
>=20 a value.....

> Is it because I use a = mapfile?
> =20
> regards,

> Jacob
>  =
> =20


> -----Original = Message-----
> From:=20 Paul Spencer [mailto:pagameba@magma.ca]
> Sent: 19 August 2004=20 10:09
> To: Jacob Delfos; chameleon@lists.maptools.org= =20
> <mailto:chameleon@lists.mapto= ols.org>
>=20 Subject: Re: [Chameleon] change imagetype on the fly
>  =
>=20
> Jacob, you should be able to modify the image type in = drawmap.php since=20
> this is the only
> place that it actually draws the = map. =20 Note that drawmap does not save
> the map state, so
> you = would=20 have to change it on every map draw.  The code would look
>=20 something like:

> $oMap->selectOutputFormat( = 'GIF'=20 );

> I think.  And you could insert this just = before=20 the $oMap->draw();
> call.  You could also
> (at = the risk=20 of adding a little overhead) loop through all the layers in
> the = map and=20 test
> for the layer types and only switch to jpeg when a raster = layer is=20
> visible ...

> Cheers,
>  =
>=20 Paul



> On Aug 18, = "Jacob=20 Delfos" <jacob.delfos@maunsell.com =
>=20 <mailto:jacob.delfos@maunsell.co= m>>=20 wrote:
>  > Hi List,
>  >
> =20 >
>  >
>  > I am attempting to modify = chameleon=20 to allow the imagetype to change
> on the fly.
> Ideally, I = want to=20 reach a situation where chameleon is smart enough to
> know it = should=20 use
> gif, except when an aerial photograph is in the background. = This=20 will
> greatly increase the
> speed of the page, because my = jpeg=20 maps are typically around 88kb,
> whereas a gif would be
> = ten=20 times smaller for linework and areas.
>  >
> =20 >
>  >
>  > I tried to override the = nImageType in=20 drawmap.php by making it pick
> it up from the http
> = parameters.=20 But even if I hardcode the nImageType variable, I keep
> getting = a jpeg.=20 Also
> (which may be the cause), the temporary map files that are = created=20
> specify jpeg as imagetype.
>  >
> =20 >
>  >
>  > If I want to override the = imagetype,=20 where do I change that?
>  >
>  = >
> =20 >
>  > regards,
>  >
> =20 >
>  >
>  > Jacob
> =20 >
>  >
>  >
>  = >
> =20 >
>  >
>  >
>  > JACOB=20 DELFOS
>  >
>  > SPATIAL INFORMATION=20 ANALYST
>  >
>  > Maunsell Australia Pty=20 Ltd
>  >
>  > 629 Newcastle = Street
> =20 >
>  > PO Box 81
>  >
>  >=20 Leederville 6902
>  >
>  > Western=20 Australia
>  >
>  > ABN 20 093 846 = 925
> =20 >
>  >
>  >
>  >=20 Tel     + 61 8 9281 6185
>  = >
> =20 > Fax    + 61 8 9281 6297
>  = >
> =20 > jacob.delfos@maunsell.com=20 <mailto:jacob.delfos@maunsell.co= m>
> =20 >
>  >=20 _______________________________________________
>  > = Chameleon=20 mailing list
>  > Chameleon@lists.maptools.org= =20 <mailto:Chameleon@lists.mapto= ols.org>
> =20 > <a
>=20 href=3D'http://lists.maptools.org/mailman/listinfo/chameleon'>http://l= ists.maptools.org/mailman/listinfo/chameleon</a>
> =20 >
>  >

> if=20 (isset($http_form_vars["gszImgType"]) &&
>=20 $http_form_vars["gszImgType"] !=3D "")
>     = $szImgType=20 =3D $http_form_vars["gszImgType"];
>
>
>=20 ------------------------------------------------------------------------<= BR>>=20
> _______________________________________________
> = Chameleon=20 mailing list
> Chameleon@lists.maptools.org=
>=20 http://list= s.maptools.org/mailman/listinfo/chameleon
 
--
 =20 -----------------------------------------------------------------
|Pau= l=20 Spencer           =             &= nbsp;  =20 pspencer@dmsolutions.ca =  =20 |
|-----------------------------------------------------------------|<= BR>|Applications=20 & Software=20 Development          &n= bsp;           &nb= sp;      =20 |
|DM Solutions Group=20 Inc           &nbs= p;    =20 http://www.dmsolutions.ca/|
&n= bsp;=20 -----------------------------------------------------------------
------=_NextPart_000_0005_01C489CF.9ED98E70-- From ken@rockies.ca Tue Aug 24 02:07:11 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7O67A9r000382 for ; Tue, 24 Aug 2004 02:07:11 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id bccveaaa for chameleon@lists.maptools.org; Mon, 23 Aug 2004 23:54:38 -0600 From: "Ken Sanderson" To: Date: Tue, 24 Aug 2004 00:10:03 -0600 Message-ID: <000401c489a1$019c0a80$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal Subject: [Chameleon] How to pass forward user specific extents? X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2004 06:07:12 -0000 Here is what I have setup. I have a phtml file similar to the ones found in the samples (using beta 1.99b), only I have added code to handle a username and password first and I have put the related HTML tempalate file in a non-accesible directory. In short it only runs the core of the original PHTML file if they have the right username and password. I also want to have them select the extent they wish start off the map with. Full extent will be an option which would be the extents set in the MAP file, but there will be a few choices that I want to over-ride the MAP file extents when it loads, instead using the choosen extents. Is there a way I can send new extents before the map loads? Thanks, Ken Sanderson From wbronsema@dmsolutions.ca Tue Aug 24 07:36:30 2004 Received: from tomts13-srv.bellnexxia.net (tomts13-srv.bellnexxia.net [209.226.175.34]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7OBaU9r003818 for ; Tue, 24 Aug 2004 07:36:30 -0400 Received: from [127.0.0.1] ([209.217.116.146]) by tomts13-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20040824113617.IOJZ4758.tomts13-srv.bellnexxia.net@[127.0.0.1]>; Tue, 24 Aug 2004 07:36:17 -0400 Message-ID: <412B282D.8010601@dmsolutions.ca> Date: Tue, 24 Aug 2004 07:36:13 -0400 From: "William A. Bronsema" Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ken Sanderson Subject: Re: [Chameleon] How to pass forward user specific extents? References: <000401c489a1$019c0a80$31289f88@GLADSTONE> In-Reply-To: <000401c489a1$019c0a80$31289f88@GLADSTONE> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: wbronsema@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2004 11:36:31 -0000 Hi Ken, All you need to do is determine the extent you wish to use and set it between the CWCInitialize call and the CWCExecute call. Your code would look something like this: // init app $oApp->CWCInitialize( $szTemplateName, $szMapFile ); // determine if is first load or not ...... // get user extents ...... // override extent if necessary if ( $bIsFirstLoad ) { // set extent $oApp->moMapSession->oMap->setextent( $dUserMinX, $dUserMinY, $dUserMaxX, $dUserMaxY ); } // execute app $oApp->CWCExecute(); Hope this helps. Regards, Bill Ken Sanderson wrote: > Here is what I have setup. I have a phtml file similar to the ones found > in the samples (using beta 1.99b), only I have added code to handle a > username and password first and I have put the related HTML tempalate > file in a non-accesible directory. In short it only runs the core of the > original PHTML file if they have the right username and password. > > I also want to have them select the extent they wish start off the map > with. Full extent will be an option which would be the extents set in > the MAP file, but there will be a few choices that I want to over-ride > the MAP file extents when it loads, instead using the choosen extents. > Is there a way I can send new extents before the map loads? > > Thanks, > > Ken Sanderson > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- William A. Bronsema, C.E.T. Applications Developer, DM Solutions Group Inc. e-mail: wbronsema@dmsolutions.ca Web : http://www.dmsolutions.ca Phone : (613) 565-5056 ext.25 Fax : (613) 565-0925 ________________________________________________ From pagameba@magma.ca Tue Aug 24 08:46:15 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7OCkF9r004369 for ; Tue, 24 Aug 2004 08:46:15 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (8.13.0/8.13.0) with ESMTP id i7OCkDYj019724; Tue, 24 Aug 2004 08:46:14 -0400 Received: from magma.ca (ottawa-dial-64-26-139-198.d-ip.magma.ca [64.26.139.198]) by mail4.magma.ca (8.13.0/8.13.0) with ESMTP id i7OCk9b4004829; Tue, 24 Aug 2004 08:46:12 -0400 Message-ID: <412B3889.7070005@magma.ca> Date: Tue, 24 Aug 2004 08:46:01 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ken Sanderson Subject: Re: [Chameleon] How to pass forward user specific extents? References: <000401c489a1$019c0a80$31289f88@GLADSTONE> In-Reply-To: <000401c489a1$019c0a80$31289f88@GLADSTONE> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2004 12:46:15 -0000 Ken, assuming you can tell in your code when the user is first entering the application as opposed to just using it (i.e. submits coming from tools in the template), you can do something like this ; $miny = ; $maxx = ; $maxy = ; class SampleApp extends Chameleon { ... your existing code here ... function CWCInitializeMap() { parent::CWCInitializeMap(); if ( ) { $this->moMapObject->oMap->extent->setextent( $GLOBALS['minx'], $GLOBALS['miny'], $GLOBALS['maxx'], $GLOBALS['maxy'] ); } } } ... the rest of your chameleon code ... ?> The 'trick' in this case is in understanding the application object that the Chameleon core provides for you and to override the appropriate methods of the Chameleon class to provide your custom behaviour using standard Object Oriented design. In this case, it is relatively simple because you only need to modify the map extents for the initial load. An alternative approach may be appropriate if you have fixed sets of extents to choose from, then you may just want to have several map files with different initial extents and have the necessary code to choose between them. Cheers, Paul Ken Sanderson wrote: > Here is what I have setup. I have a phtml file similar to the ones found > in the samples (using beta 1.99b), only I have added code to handle a > username and password first and I have put the related HTML tempalate > file in a non-accesible directory. In short it only runs the core of the > original PHTML file if they have the right username and password. > > I also want to have them select the extent they wish start off the map > with. Full extent will be an option which would be the extents set in > the MAP file, but there will be a few choices that I want to over-ride > the MAP file extents when it loads, instead using the choosen extents. > Is there a way I can send new extents before the map loads? > > Thanks, > > Ken Sanderson > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Tue Aug 24 09:00:51 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7OD0p9r004532 for ; Tue, 24 Aug 2004 09:00:51 -0400 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx2.magma.ca (8.13.0/8.13.0) with ESMTP id i7OD0nT1024325; Tue, 24 Aug 2004 09:00:50 -0400 Received: from magma.ca (ottawa-dial-64-26-139-198.d-ip.magma.ca [64.26.139.198]) by mail1.magma.ca (8.13.0/8.13.0) with ESMTP id i7OD0kME015274; Tue, 24 Aug 2004 09:00:49 -0400 Message-ID: <412B3BF6.3010503@magma.ca> Date: Tue, 24 Aug 2004 09:00:38 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ken-ichi Subject: Re: [Chameleon] raster hang References: <412A6817.4010002@wso.williams.edu> In-Reply-To: <412A6817.4010002@wso.williams.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2004 13:01:01 -0000 Ken-ichi, this is a curious problem. I am at a loss to understand why this might be a problem. I have only one thought that came to mind, PHP can be configured to allow a maximum amount of memory per running process and I think the default is 8mb (the setting is in php.ini). I don't know the internals of MapServer/GDAL memory management, but it may be possible that the PHP process is limiting memory and causing inefficient access to larger rasters. There is probably another problem, but it would be interesting if you could modify your php.ini to increase the amount of memory available to php processes and report any differences in performance. Cheers, Paul Ken-ichi wrote: > Hi folks. I've started trying to add a GeoTIFF to my Chameleon app, and > it really bogs it down, sometimes to a stand still. The image I'm > experimenting with is a 29mb unsigned 8bit GeoTIFF created in Erdas. > The hangs are most frequent when the tiff occupies the whole map, and > when I say hang, I mean that the map just doesn't render. The hangs > also seem to generate an httpd process that takes up a lot (>20%) of my > CPU activity. The relevant portion of my map file is pretty simple: > > LAYER > NAME "Test Raster" > TYPE RASTER > DATA "/path/to/data.tif" > STATUS DEFAULT > END > > I haven't specified an outputformat, except in the MAP section, where > I've set it to PNG (but I've switched around and that doesn't seem to > make much difference). This problem does not seem to occur outside of > Chameleon (everything works fine in MapLab's ROSA applet), and it > doesn't happen every time the map is loaded (although it inevitably > happens if you refresh the map enough). > > Has anyone experienced this kind of behavior before? Even better, > anyone have any recommendations? > > -Ken-ichi > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Steven.D'Cruz@ec.gc.ca Tue Aug 24 11:18:48 2004 Received: from mgtserver3.tor.ec.gc.ca (ecdow130.tor.ec.gc.ca [199.212.19.130]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7OFIm9r005904 for ; Tue, 24 Aug 2004 11:18:48 -0400 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C489ED.A37D737E" X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Date: Tue, 24 Aug 2004 11:18:41 -0400 Message-ID: <9B09D75DF5B3494BA06E6FE478CE9CC10101A3D1@mgtserver3.ontario.int.ec.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Layer Status Problem Thread-Index: AcSJ7aOS4Q9DSjuRSuKFr4svoMJREQ== From: "D'cruz,Steven [Ontario]" To: Subject: [Chameleon] Layer Status Problem X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2004 15:18:48 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C489ED.A37D737E Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi there, I'm currently attempting to create a really simple function as part of a widget with the following javascript code: For any given layer x, the function is called as enableLayer(x), where 0 Layer Status Problem

Hi there,

        I'm currently attempting to create a really simple = function as part of a widget with the following javascript = code:

<script = language=3D"javascript">
<!--
        function enableLayer(i)
        {
        =         goCWCJSAPI.oMap.GetLayer(i).SetStatus("ON");
        =         goCWCJSAPI.oMap.Refresh();
        }
//-->
</script>

For any given layer x, the function is = called as enableLayer(x), where 0<x<max number of layers.  = The problem I'm running into is that this code does not work correctly = in the CWC2 application I'm using (Chameleon v1.0.5).  Instead of = enabling the layer and then refreshing the map, I get the 'loading = … please wait' message, which lasts forever.  I've checked = for javascript errors and I get a message to the extent of = 'document.body is empty'.  Any suggestions would be greatly = appreciated. 

Steven D'Cruz

(Open)GIS = Developer

Environment = Canada

Steven.D'Cruz@ec.gc.ca

------_=_NextPart_001_01C489ED.A37D737E-- From ken@rockies.ca Tue Aug 24 11:53:18 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7OFrH9r006292 for ; Tue, 24 Aug 2004 11:53:18 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id tjcveaaa for chameleon@lists.maptools.org; Tue, 24 Aug 2004 09:41:31 -0600 From: "Ken Sanderson" To: Subject: RE: [Chameleon] How to pass forward user specific extents? Date: Tue, 24 Aug 2004 09:56:56 -0600 Message-ID: <004101c489f2$ff05aef0$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal In-Reply-To: <412B3889.7070005@magma.ca> X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2004 15:53:18 -0000 Thanks Paul and Bill. I used Bill's method of: $oApp->moMapSession->oMap->setextent As this was creating an unknown object error: $this->moMapObject->oMap->extent->setextent How do you suggest checking for first load? I had assumed that the script in PHTML only was read on the original load. Ken -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: August 24, 2004 6:46 AM To: Ken Sanderson Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] How to pass forward user specific extents? Ken, assuming you can tell in your code when the user is first entering the application as opposed to just using it (i.e. submits coming from tools in the template), you can do something like this ; $miny = ; $maxx = ; $maxy = ; class SampleApp extends Chameleon { ... your existing code here ... function CWCInitializeMap() { parent::CWCInitializeMap(); if ( ) { $this->moMapObject->oMap->extent->setextent( $GLOBALS['minx'], $GLOBALS['miny'], $GLOBALS['maxx'], $GLOBALS['maxy'] ); } } } ... the rest of your chameleon code ... ?> The 'trick' in this case is in understanding the application object that the Chameleon core provides for you and to override the appropriate methods of the Chameleon class to provide your custom behaviour using standard Object Oriented design. In this case, it is relatively simple because you only need to modify the map extents for the initial load. An alternative approach may be appropriate if you have fixed sets of extents to choose from, then you may just want to have several map files with different initial extents and have the necessary code to choose between them. Cheers, Paul Ken Sanderson wrote: > Here is what I have setup. I have a phtml file similar to the ones > found in the samples (using beta 1.99b), only I have added code to > handle a username and password first and I have put the related HTML > tempalate file in a non-accesible directory. In short it only runs the > core of the original PHTML file if they have the right username and > password. > > I also want to have them select the extent they wish start off the map > with. Full extent will be an option which would be the extents set in > the MAP file, but there will be a few choices that I want to over-ride > the MAP file extents when it loads, instead using the choosen extents. > Is there a way I can send new extents before the map loads? > > Thanks, > > Ken Sanderson > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From wbronsema@dmsolutions.ca Tue Aug 24 12:26:52 2004 Received: from tomts5-srv.bellnexxia.net (tomts5.bellnexxia.net [209.226.175.25]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7OGQq9r006754 for ; Tue, 24 Aug 2004 12:26:52 -0400 Received: from [127.0.0.1] ([209.217.116.146]) by tomts5-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20040824162641.NOZT18869.tomts5-srv.bellnexxia.net@[127.0.0.1]>; Tue, 24 Aug 2004 12:26:41 -0400 Message-ID: <412B6C40.9090705@dmsolutions.ca> Date: Tue, 24 Aug 2004 12:26:40 -0400 From: "William A. Bronsema" Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ken Sanderson Subject: Re: [Chameleon] How to pass forward user specific extents? References: <004101c489f2$ff05aef0$31289f88@GLADSTONE> In-Reply-To: <004101c489f2$ff05aef0$31289f88@GLADSTONE> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: wbronsema@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2004 16:26:52 -0000 Ken, Add a hidden input tag like: Use php to check the form variables that are passed over the URL. On the initial load the form variable "myLoadCheck" will not be set so you know it is the first load. Subsequent page load will have the variable set. something like: $bNotFirstLoad = ( isset( $_GET['myLoadCheck'] ) || isset( $_POST['myLoadCheck'] ) ); I haven't tried it, but something like this should work. Regards, Bill Ken Sanderson wrote: > Thanks Paul and Bill. > > I used Bill's method of: > $oApp->moMapSession->oMap->setextent > > As this was creating an unknown object error: > $this->moMapObject->oMap->extent->setextent > > How do you suggest checking for first load? I had assumed that the > script in PHTML only was read on the original load. > > Ken > -- William A. Bronsema, C.E.T. Applications Developer, DM Solutions Group Inc. e-mail: wbronsema@dmsolutions.ca Web : http://www.dmsolutions.ca Phone : (613) 565-5056 ext.25 Fax : (613) 565-0925 ________________________________________________ From ken@rockies.ca Tue Aug 24 13:42:53 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7OHgr9r007431 for ; Tue, 24 Aug 2004 13:42:53 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id hocveaaa for chameleon@lists.maptools.org; Tue, 24 Aug 2004 11:31:11 -0600 From: "Ken Sanderson" To: Subject: RE: [Chameleon] How to pass forward user specific extents? Date: Tue, 24 Aug 2004 11:46:37 -0600 Message-ID: <000801c48a02$50f3a910$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal In-Reply-To: <412B6C40.9090705@dmsolutions.ca> X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2004 17:42:53 -0000 That worked perfect Bill, thanks!! One last question, well atleast in regards to this topic. Is there a way to set the current view extents vs the overall extents? Basically I need the user to go to their prefered starting extent, but if they hit the 'zoom to full extents' button it should take them to the overall extents of the MAP file, not the ones I have just set via the setextent() function. Right now, if you use the 'zoom to full extent' tool it takes them to the values I set with setextent() at instead of the full map extents. Hope that makes sense. I am thinking I need to save the original extents to variables and then reset it after the original load? Ken -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of William A. Bronsema Sent: August 24, 2004 10:27 AM To: Ken Sanderson Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] How to pass forward user specific extents? Ken, Add a hidden input tag like: Use php to check the form variables that are passed over the URL. On the initial load the form variable "myLoadCheck" will not be set so you know it is the first load. Subsequent page load will have the variable set. something like: $bNotFirstLoad = ( isset( $_GET['myLoadCheck'] ) || isset( $_POST['myLoadCheck'] ) ); I haven't tried it, but something like this should work. Regards, Bill Ken Sanderson wrote: > Thanks Paul and Bill. > > I used Bill's method of: > $oApp->moMapSession->oMap->setextent > > As this was creating an unknown object error: > $this->moMapObject->oMap->extent->setextent > > How do you suggest checking for first load? I had assumed that the > script in PHTML only was read on the original load. > > Ken > -- William A. Bronsema, C.E.T. Applications Developer, DM Solutions Group Inc. e-mail: wbronsema@dmsolutions.ca Web : http://www.dmsolutions.ca Phone : (613) 565-5056 ext.25 Fax : (613) 565-0925 ________________________________________________ _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From pagameba@magma.ca Tue Aug 24 14:00:20 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7OI0K9r007580 for ; Tue, 24 Aug 2004 14:00:20 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (8.13.0/8.13.0) with ESMTP id i7OI0IVo001546; Tue, 24 Aug 2004 14:00:19 -0400 Received: from magma.ca (ottawa-dial-64-26-165-50.d-ip.magma.ca [64.26.165.50]) by mail3.magma.ca (8.13.0/8.13.0) with ESMTP id i7OI0DQ0008077; Tue, 24 Aug 2004 14:00:17 -0400 Message-ID: <412B8225.901@magma.ca> Date: Tue, 24 Aug 2004 14:00:05 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ken Sanderson Subject: Re: [Chameleon] How to pass forward user specific extents? References: <000801c48a02$50f3a910$31289f88@GLADSTONE> In-Reply-To: <000801c48a02$50f3a910$31289f88@GLADSTONE> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2004 18:00:20 -0000 Ken, there is a mechanism for that too! Chameleon uses metadata at the map object level to maintain the full extents when you first loaded the map ... you can override this behaviour by supplying your own full extents ... "original_extents" " " if your users can change projection, then you will also need an "original_projection" entry ... when you run a chameleon app, it stores temporary files in the place indicated in your php.ini ... if you are using ms4w it is in c:/ms4w/tmp ... you will see a bunch of directories called sess_xxxxxxxxx and inside these directories are a bunch of files, including map files. You can open one of these map files to see the metadata that chameleon creates on first load ... Cheers, Paul Ken Sanderson wrote: > That worked perfect Bill, thanks!! > > One last question, well atleast in regards to this topic. Is there a way > to set the current view extents vs the overall extents? Basically I need > the user to go to their prefered starting extent, but if they hit the > 'zoom to full extents' button it should take them to the overall extents > of the MAP file, not the ones I have just set via the setextent() > function. Right now, if you use the 'zoom to full extent' tool it takes > them to the values I set with setextent() at instead of the full map > extents. > > Hope that makes sense. I am thinking I need to save the original extents > to variables and then reset it after the original load? > > Ken > > -----Original Message----- > From: chameleon-bounces@lists.maptools.org > [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of William A. > Bronsema > Sent: August 24, 2004 10:27 AM > To: Ken Sanderson > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] How to pass forward user specific extents? > > > Ken, > > Add a hidden input tag like: > > > Use php to check the form variables that are passed over the URL. On > the initial load the form variable "myLoadCheck" will not be set so you > know it is the first load. Subsequent page load will have the variable > set. > > something like: > > $bNotFirstLoad = ( isset( $_GET['myLoadCheck'] ) || > isset( $_POST['myLoadCheck'] ) ); > > I haven't tried it, but something like this should work. > > Regards, > Bill > > Ken Sanderson wrote: > > >>Thanks Paul and Bill. >> >>I used Bill's method of: >>$oApp->moMapSession->oMap->setextent >> >>As this was creating an unknown object error: >>$this->moMapObject->oMap->extent->setextent >> >>How do you suggest checking for first load? I had assumed that the >>script in PHTML only was read on the original load. >> >>Ken >> > > > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From kueda@wso.williams.edu Tue Aug 24 14:02:28 2004 Received: from nature.Berkeley.EDU (nature.Berkeley.EDU [128.32.253.219]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7OI2I9r007609 for ; Tue, 24 Aug 2004 14:02:28 -0400 Received: from localhost (localhost [127.0.0.1]) by nature.Berkeley.EDU (Postfix) with ESMTP id EDF45C1E4A; Tue, 24 Aug 2004 11:02:14 -0700 (PDT) Received: from nature.Berkeley.EDU ([127.0.0.1]) by localhost (nature [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26453-07; Tue, 24 Aug 2004 11:02:14 -0700 (PDT) Received: from [128.32.179.58] (mul111-3.CNR.Berkeley.EDU [128.32.179.58]) by nature.Berkeley.EDU (Postfix) with ESMTP id 98C45C1E35; Tue, 24 Aug 2004 11:02:09 -0700 (PDT) Message-ID: <412B82A0.2080206@wso.williams.edu> Date: Tue, 24 Aug 2004 11:02:08 -0700 From: Ken-ichi User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ken-ichi Subject: Re: [Chameleon] raster hang References: <412A6817.4010002@wso.williams.edu> In-Reply-To: <412A6817.4010002@wso.williams.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at nature.berkeley.edu Cc: Chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2004 18:02:28 -0000 Thanks for responding, Paul. I've actually set my php.ini file to be very lenient on resource use for other purposes, so I doubt it's that: max_execution_time = 60 max_input_time = 120 memory_limit = 510M I did a little more testing and found that this also happens with non-Chameleon phpMapScript (the MapLab non-ROSA preview app), and with other GeoTIFFs, but not with the mapserv CGI or the ROSA applet. So I'm guessing you were right to suspect the PHP side of things. Any more ideas, or should I take this to a more MapScript specific list? -Ken-ichi Ken-ichi wrote: > Hi folks. I've started trying to add a GeoTIFF to my Chameleon app, > and it really bogs it down, sometimes to a stand still. The image I'm > experimenting with is a 29mb unsigned 8bit GeoTIFF created in Erdas. > The hangs are most frequent when the tiff occupies the whole map, and > when I say hang, I mean that the map just doesn't render. The hangs > also seem to generate an httpd process that takes up a lot (>20%) of > my CPU activity. The relevant portion of my map file is pretty simple: > > LAYER > NAME "Test Raster" > TYPE RASTER > DATA "/path/to/data.tif" > STATUS DEFAULT > END > > I haven't specified an outputformat, except in the MAP section, where > I've set it to PNG (but I've switched around and that doesn't seem to > make much difference). This problem does not seem to occur outside of > Chameleon (everything works fine in MapLab's ROSA applet), and it > doesn't happen every time the map is loaded (although it inevitably > happens if you refresh the map enough). > > Has anyone experienced this kind of behavior before? Even better, > anyone have any recommendations? > > -Ken-ichi > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon From ken@rockies.ca Tue Aug 24 14:33:46 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7OIXj9r008024 for ; Tue, 24 Aug 2004 14:33:46 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id zscveaaa for chameleon@lists.maptools.org; Tue, 24 Aug 2004 12:22:02 -0600 From: "Ken Sanderson" To: Subject: RE: [Chameleon] How to pass forward user specific extents? Date: Tue, 24 Aug 2004 12:37:29 -0600 Message-ID: <001201c48a09$6bcc0cd0$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal In-Reply-To: <412B8225.901@magma.ca> X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2004 18:33:46 -0000 Thanks Paul, that did the trick! Just for anyone else interested or might find this in a future search, I added a metadata object to the Web object of the MAP file called original_extents with the value in the format of: ,,,. Ken -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: August 24, 2004 12:00 PM To: Ken Sanderson Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] How to pass forward user specific extents? Ken, there is a mechanism for that too! Chameleon uses metadata at the map object level to maintain the full extents when you first loaded the map ... you can override this behaviour by supplying your own full extents ... "original_extents" " " if your users can change projection, then you will also need an "original_projection" entry ... when you run a chameleon app, it stores temporary files in the place indicated in your php.ini ... if you are using ms4w it is in c:/ms4w/tmp ... you will see a bunch of directories called sess_xxxxxxxxx and inside these directories are a bunch of files, including map files. You can open one of these map files to see the metadata that chameleon creates on first load ... Cheers, Paul Ken Sanderson wrote: > That worked perfect Bill, thanks!! > > One last question, well atleast in regards to this topic. Is there a > way to set the current view extents vs the overall extents? Basically > I need the user to go to their prefered starting extent, but if they > hit the 'zoom to full extents' button it should take them to the > overall extents of the MAP file, not the ones I have just set via the > setextent() function. Right now, if you use the 'zoom to full extent' > tool it takes them to the values I set with setextent() at instead of > the full map extents. > > Hope that makes sense. I am thinking I need to save the original > extents to variables and then reset it after the original load? > > Ken > > -----Original Message----- > From: chameleon-bounces@lists.maptools.org > [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of William A. > Bronsema > Sent: August 24, 2004 10:27 AM > To: Ken Sanderson > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] How to pass forward user specific extents? > > > Ken, > > Add a hidden input tag like: > > > Use php to check the form variables that are passed over the URL. On > the initial load the form variable "myLoadCheck" will not be set so you > know it is the first load. Subsequent page load will have the variable > set. > > something like: > > $bNotFirstLoad = ( isset( $_GET['myLoadCheck'] ) || > isset( $_POST['myLoadCheck'] ) ); > > I haven't tried it, but something like this should work. > > Regards, > Bill > > Ken Sanderson wrote: > > >>Thanks Paul and Bill. >> >>I used Bill's method of: >>$oApp->moMapSession->oMap->setextent >> >>As this was creating an unknown object error: >>$this->moMapObject->oMap->extent->setextent >> >>How do you suggest checking for first load? I had assumed that the >>script in PHTML only was read on the original load. >> >>Ken >> > > > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From kueda@wso.williams.edu Tue Aug 24 16:07:34 2004 Received: from nature.Berkeley.EDU (nature.Berkeley.EDU [128.32.253.219]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7OK7M9r008741 for ; Tue, 24 Aug 2004 16:07:34 -0400 Received: from localhost (localhost [127.0.0.1]) by nature.Berkeley.EDU (Postfix) with ESMTP id 764B0C1E44 for ; Tue, 24 Aug 2004 13:07:20 -0700 (PDT) Received: from nature.Berkeley.EDU ([127.0.0.1]) by localhost (nature [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03255-05 for ; Tue, 24 Aug 2004 13:07:20 -0700 (PDT) Received: from [128.32.179.58] (mul111-3.CNR.Berkeley.EDU [128.32.179.58]) by nature.Berkeley.EDU (Postfix) with ESMTP id 2A6D5C1E35 for ; Tue, 24 Aug 2004 13:07:20 -0700 (PDT) Message-ID: <412B9FF6.4090804@wso.williams.edu> Date: Tue, 24 Aug 2004 13:07:18 -0700 From: Ken-ichi User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Chameleon@lists.maptools.org Subject: Re: [Chameleon] raster hang References: <412A6817.4010002@wso.williams.edu> <412B82A0.2080206@wso.williams.edu> In-Reply-To: <412B82A0.2080206@wso.williams.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at nature.berkeley.edu Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2004 20:07:34 -0000 I should also mention that this problem is probably TIFF specific. It does not occur when I use an Erdas Imagine (.img) format image of the same area, which is also about the same file size. -Ken-ichi Ken-ichi wrote: > Thanks for responding, Paul. I've actually set my php.ini file to be > very lenient on resource use for other purposes, so I doubt it's that: > > max_execution_time = 60 > max_input_time = 120 > memory_limit = 510M > > I did a little more testing and found that this also happens with > non-Chameleon phpMapScript (the MapLab non-ROSA preview app), and with > other GeoTIFFs, but not with the mapserv CGI or the ROSA applet. So > I'm guessing you were right to suspect the PHP side of things. Any > more ideas, or should I take this to a more MapScript specific list? > > -Ken-ichi > > Ken-ichi wrote: > >> Hi folks. I've started trying to add a GeoTIFF to my Chameleon app, >> and it really bogs it down, sometimes to a stand still. The image >> I'm experimenting with is a 29mb unsigned 8bit GeoTIFF created in >> Erdas. The hangs are most frequent when the tiff occupies the whole >> map, and when I say hang, I mean that the map just doesn't render. >> The hangs also seem to generate an httpd process that takes up a lot >> (>20%) of my CPU activity. The relevant portion of my map file is >> pretty simple: >> >> LAYER >> NAME "Test Raster" >> TYPE RASTER >> DATA "/path/to/data.tif" >> STATUS DEFAULT >> END >> >> I haven't specified an outputformat, except in the MAP section, where >> I've set it to PNG (but I've switched around and that doesn't seem to >> make much difference). This problem does not seem to occur outside >> of Chameleon (everything works fine in MapLab's ROSA applet), and it >> doesn't happen every time the map is loaded (although it inevitably >> happens if you refresh the map enough). >> >> Has anyone experienced this kind of behavior before? Even better, >> anyone have any recommendations? >> >> -Ken-ichi >> >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon > > From jacob.delfos@maunsell.com Tue Aug 24 20:27:05 2004 Received: from auper1gw001.hgm.com.au ([202.139.2.70]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7P0R39r010747 for ; Tue, 24 Aug 2004 20:27:04 -0400 Received: from auper1gw001.hgm.com.au (localhost.localdomain [127.0.0.1]) by auper1gw001.hgm.com.au (8.12.8/8.12.8) with ESMTP id i7P0WNUr010371 for ; Wed, 25 Aug 2004 08:32:24 +0800 Received: from ace.hgm.com.au (ace [172.21.40.11]) by auper1gw001.hgm.com.au (8.12.8/8.12.8) with ESMTP id i7P0WMRG010366 for ; Wed, 25 Aug 2004 08:32:23 +0800 Received: from auper1pc364 (Jacob_Delfos [172.21.40.93]) by ace.hgm.com.au (8.9.3/8.9.3) with SMTP id IAA12815 for ; Wed, 25 Aug 2004 08:34:37 +0800 (WST) Message-ID: <000801c48a3a$2b89bd80$5d2815ac@auper1pc364> From: "Jacob Delfos" To: Subject: RE: [Chameleon] raster hang Date: Wed, 25 Aug 2004 08:26:28 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C48A7D.37C41940" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 00:27:05 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C48A7D.37C41940 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Ken-Ichi, It sounds a little bit like the problem I seem to have with rasters; = only happening every so many times, especially when there is more image = in view. I have it with ECW's and TIFF (45MB RGB). My map image fails, = and the session seems to hang, because I can't submit the page, but I = seem to be able to open a new session in another window without much = delay. I tried changing my settings in php.ini, but it had no effect. I = have 'patched' my problem by placing the OnError tag in the = mapDHTMLwidget image, invoking a function when it fails, which re-loads = the map image after a small delay. My diagnosis so far is that something = gets ahead of itself, serving the source to the client browser, and the = client browser requesting the image, before the image has begun being = rendered. You will find that the URL of your mapimage is valid. I think it happens with PHP because it's slower than, for example, = mapserver. What is the size of your map image. Is it larger than = average, by any chance? Jacob -----Original Message----- From: chameleon-bounces@lists.maptools.org = [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Ken-ichi Sent: 25 August 2004 04:07 To: Chameleon@lists.maptools.org Subject: Re: [Chameleon] raster hang I should also mention that this problem is probably TIFF specific. It=20 does not occur when I use an Erdas Imagine (.img) format image of the=20 same area, which is also about the same file size. -Ken-ichi Ken-ichi wrote: > Thanks for responding, Paul. I've actually set my php.ini file to be=20 > very lenient on resource use for other purposes, so I doubt it's that: > > max_execution_time =3D 60 > max_input_time =3D 120 > memory_limit =3D 510M > > I did a little more testing and found that this also happens with=20 > non-Chameleon phpMapScript (the MapLab non-ROSA preview app), and with = > other GeoTIFFs, but not with the mapserv CGI or the ROSA applet. So=20 > I'm guessing you were right to suspect the PHP side of things. Any=20 > more ideas, or should I take this to a more MapScript specific list? > > -Ken-ichi > > Ken-ichi wrote: > >> Hi folks. I've started trying to add a GeoTIFF to my Chameleon app,=20 >> and it really bogs it down, sometimes to a stand still. The image=20 >> I'm experimenting with is a 29mb unsigned 8bit GeoTIFF created in=20 >> Erdas. The hangs are most frequent when the tiff occupies the whole=20 >> map, and when I say hang, I mean that the map just doesn't render. =20 >> The hangs also seem to generate an httpd process that takes up a lot=20 >> (>20%) of my CPU activity. The relevant portion of my map file is=20 >> pretty simple: >> >> LAYER >> NAME "Test Raster" >> TYPE RASTER >> DATA "/path/to/data.tif" >> STATUS DEFAULT >> END >> >> I haven't specified an outputformat, except in the MAP section, where = >> I've set it to PNG (but I've switched around and that doesn't seem to = >> make much difference). This problem does not seem to occur outside=20 >> of Chameleon (everything works fine in MapLab's ROSA applet), and it=20 >> doesn't happen every time the map is loaded (although it inevitably=20 >> happens if you refresh the map enough). >> >> Has anyone experienced this kind of behavior before? Even better,=20 >> anyone have any recommendations? >> >> -Ken-ichi >> >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon > > _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon ------=_NextPart_000_0005_01C48A7D.37C41940 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Ken-Ichi,
 
It sounds a little bit like the problem = I seem to=20 have with rasters; only happening every so many times, especially when = there is=20 more image in view. I have it with ECW's and TIFF (45MB RGB). My map = image=20 fails, and the session seems to hang, because I can't submit the page, = but I=20 seem to be able to open a new session in another window without much = delay. I=20 tried changing my settings in php.ini, but it had no effect. I have = 'patched' my=20 problem by placing the OnError tag in the mapDHTMLwidget image, invoking = a=20 function when it fails, which re-loads the map image after a small = delay. My=20 diagnosis so far is that something gets ahead of itself, serving the = source to=20 the client browser, and the client browser requesting the image, before = the=20 image has begun being rendered. You will find that the URL of your = mapimage is=20 valid.
 
I think it happens with PHP because = it's slower=20 than, for example, mapserver. What is the size of your map image. Is it = larger=20 than average, by any chance?
 
Jacob
 
 
 
-----Original Message-----
From: chameleon-bounces@li= sts.maptools.org=20 [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of = Ken-ichi
Sent: 25=20 August 2004 04:07
To: Chameleon@lists.maptools.org=
Subject:=20 Re: [Chameleon] raster hang
 

I should also mention that this problem is probably TIFF=20 specific.  It
does not occur when I use an Erdas Imagine (.img) = format=20 image of the
same area, which is also about the same file = size.
 
-Ken-ichi
 
Ken-ichi wrote:
 
> Thanks for responding, Paul.  I've actually set my = php.ini file=20 to be
> very lenient on resource use for other purposes, so I = doubt it's=20 that:
>
> max_execution_time =3D 60
> max_input_time = =3D=20 120
> memory_limit =3D 510M
>
> I did a little more = testing and=20 found that this also happens with
> non-Chameleon phpMapScript = (the=20 MapLab non-ROSA preview app), and with
> other GeoTIFFs, but not = with the=20 mapserv CGI or the ROSA applet.  So
> I'm guessing you were = right to=20 suspect the PHP side of things.  Any
> more ideas, or should = I take=20 this to a more MapScript specific list?
>
>=20 -Ken-ichi
>
> Ken-ichi wrote:
>
>> Hi = folks. =20 I've started trying to add a GeoTIFF to my Chameleon app,
>> = and it=20 really bogs it down, sometimes to a stand still.  The image =
>>=20 I'm experimenting with is a 29mb unsigned 8bit GeoTIFF created in =
>>=20 Erdas.  The hangs are most frequent when the tiff occupies the = whole=20
>> map, and when I say hang, I mean that the map just doesn't=20 render. 
>> The hangs also seem to generate an httpd = process that=20 takes up a lot
>> (>20%) of my CPU activity.  The = relevant=20 portion of my map file is
>> pretty = simple:
>>
>>=20 LAYER
>>    NAME "Test=20 Raster"
>>    TYPE = RASTER
>>   =20 DATA "/path/to/data.tif"
>>    STATUS=20 DEFAULT
>> END
>>
>> I haven't specified an=20 outputformat, except in the MAP section, where
>> I've set it = to PNG=20 (but I've switched around and that doesn't seem to
>> make = much=20 difference).  This problem does not seem to occur outside =
>> of=20 Chameleon (everything works fine in MapLab's ROSA applet), and it =
>>=20 doesn't happen every time the map is loaded  (although it = inevitably=20
>> happens if you refresh the map = enough).
>>
>> Has=20 anyone experienced this kind of behavior before?  Even better, =
>>=20 anyone have any recommendations?
>>
>>=20 -Ken-ichi
>>
>>
>>=20 _______________________________________________
>> Chameleon = mailing=20 list
>> Chameleon@lists.maptools.org=
>>=20 http://list= s.maptools.org/mailman/listinfo/chameleon
>
>
 
_______________________________________________
Chameleon = mailing=20 list
Chameleon@lists.maptools.org=
http://list= s.maptools.org/mailman/listinfo/chameleon
 
------=_NextPart_000_0005_01C48A7D.37C41940-- From ken@rockies.ca Wed Aug 25 11:14:27 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7PFER9r017935 for ; Wed, 25 Aug 2004 11:14:27 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id wpdveaaa for Chameleon@lists.maptools.org; Wed, 25 Aug 2004 09:02:38 -0600 From: "Ken Sanderson" To: Subject: RE: [Chameleon] raster hang Date: Wed, 25 Aug 2004 09:18:09 -0600 Message-ID: <002701c48ab6$baa9d5f0$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0028_01C48A84.700F65F0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal In-Reply-To: <000801c48a3a$2b89bd80$5d2815ac@auper1pc364> Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 15:14:27 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0028_01C48A84.700F65F0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Just wanted to add a tidbit of info in case its useful. I am running 1.99b on IIS. I have several large images. The largest I am using is 128 megs. I also have an image catalog that can load 16 60-70 meg image tiles for over a gig of imagery. I use RGB image mode and PC256 on another, with a PNG output. Images are all tiffs. I havent had the problems you are having, it all seems to work well. My PHP limits are: max_execution_time = 300 max_input_time = 300 memory_limit = 8M Hopefully thats helpful in narrowing down the problem. Ken -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Jacob Delfos Sent: August 24, 2004 6:26 PM To: Chameleon@lists.maptools.org Subject: RE: [Chameleon] raster hang Ken-Ichi, It sounds a little bit like the problem I seem to have with rasters; only happening every so many times, especially when there is more image in view. I have it with ECW's and TIFF (45MB RGB). My map image fails, and the session seems to hang, because I can't submit the page, but I seem to be able to open a new session in another window without much delay. I tried changing my settings in php.ini, but it had no effect. I have 'patched' my problem by placing the OnError tag in the mapDHTMLwidget image, invoking a function when it fails, which re-loads the map image after a small delay. My diagnosis so far is that something gets ahead of itself, serving the source to the client browser, and the client browser requesting the image, before the image has begun being rendered. You will find that the URL of your mapimage is valid. I think it happens with PHP because it's slower than, for example, mapserver. What is the size of your map image. Is it larger than average, by any chance? Jacob -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Ken-ichi Sent: 25 August 2004 04:07 To: Chameleon@lists.maptools.org Subject: Re: [Chameleon] raster hang I should also mention that this problem is probably TIFF specific. It does not occur when I use an Erdas Imagine (.img) format image of the same area, which is also about the same file size. -Ken-ichi Ken-ichi wrote: > Thanks for responding, Paul. I've actually set my php.ini file to be > very lenient on resource use for other purposes, so I doubt it's that: > > max_execution_time = 60 > max_input_time = 120 > memory_limit = 510M > > I did a little more testing and found that this also happens with > non-Chameleon phpMapScript (the MapLab non-ROSA preview app), and with > other GeoTIFFs, but not with the mapserv CGI or the ROSA applet. So > I'm guessing you were right to suspect the PHP side of things. Any > more ideas, or should I take this to a more MapScript specific list? > > -Ken-ichi > > Ken-ichi wrote: > >> Hi folks. I've started trying to add a GeoTIFF to my Chameleon app, >> and it really bogs it down, sometimes to a stand still. The image >> I'm experimenting with is a 29mb unsigned 8bit GeoTIFF created in >> Erdas. The hangs are most frequent when the tiff occupies the whole >> map, and when I say hang, I mean that the map just doesn't render. >> The hangs also seem to generate an httpd process that takes up a lot >> (>20%) of my CPU activity. The relevant portion of my map file is >> pretty simple: >> >> LAYER >> NAME "Test Raster" >> TYPE RASTER >> DATA "/path/to/data.tif" >> STATUS DEFAULT >> END >> >> I haven't specified an outputformat, except in the MAP section, where >> I've set it to PNG (but I've switched around and that doesn't seem to >> make much difference). This problem does not seem to occur outside >> of Chameleon (everything works fine in MapLab's ROSA applet), and it >> doesn't happen every time the map is loaded (although it inevitably >> happens if you refresh the map enough). >> >> Has anyone experienced this kind of behavior before? Even better, >> anyone have any recommendations? >> >> -Ken-ichi >> >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon > > _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon ------=_NextPart_000_0028_01C48A84.700F65F0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message
Just=20 wanted to add a tidbit of info in case its = useful.
 
I am=20 running 1.99b on IIS. I have several large images. The largest I am = using is 128=20 megs. I also have an image catalog that can load 16 60-70 meg image = tiles=20 for over a gig of imagery. I use RGB image mode and PC256 on another, = with a PNG=20 output. Images are all tiffs. I havent had the problems you are having, = it all=20 seems to work well.
 
My PHP=20 limits are:
 
max_execution_time =3D 300
max_input_time = =3D=20 300
memory_limit =3D 8M
 
Hopefully thats helpful in narrowing down the = problem.
 
Ken
-----Original Message-----
From:=20 chameleon-bounces@lists.maptools.org=20 [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of = Jacob=20 Delfos
Sent: August 24, 2004 6:26 PM
To:=20 Chameleon@lists.maptools.org
Subject: RE: [Chameleon] raster = hang

Ken-Ichi,
 
It sounds a little bit like the = problem I seem to=20 have with rasters; only happening every so many times, especially when = there=20 is more image in view. I have it with ECW's and TIFF (45MB RGB). My = map image=20 fails, and the session seems to hang, because I can't submit the page, = but I=20 seem to be able to open a new session in another window without much = delay. I=20 tried changing my settings in php.ini, but it had no effect. I have = 'patched'=20 my problem by placing the OnError tag in the mapDHTMLwidget image, = invoking a=20 function when it fails, which re-loads the map image after a small = delay. My=20 diagnosis so far is that something gets ahead of itself, serving the = source to=20 the client browser, and the client browser requesting the image, = before the=20 image has begun being rendered. You will find that the URL of your = mapimage is=20 valid.
 
I think it happens with PHP because = it's slower=20 than, for example, mapserver. What is the size of your map image. Is = it larger=20 than average, by any chance?
 
Jacob
 
 
 
-----Original Message-----
From: = chameleon-bounces@li= sts.maptools.org=20 [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of = Ken-ichi
Sent:=20 25 August 2004 04:07
To: Chameleon@lists.maptools.org=
Subject:=20 Re: [Chameleon] raster hang
 

I should also mention that this problem is probably TIFF=20 specific.  It
does not occur when I use an Erdas Imagine = (.img)=20 format image of the
same area, which is also about the same file=20 size.
 
-Ken-ichi
 
Ken-ichi wrote:
 
> Thanks for responding, Paul.  I've actually set my = php.ini file=20 to be
> very lenient on resource use for other purposes, so I = doubt=20 it's that:
>
> max_execution_time =3D 60
> = max_input_time =3D=20 120
> memory_limit =3D 510M
>
> I did a little more = testing=20 and found that this also happens with
> non-Chameleon = phpMapScript (the=20 MapLab non-ROSA preview app), and with
> other GeoTIFFs, but = not with=20 the mapserv CGI or the ROSA applet.  So
> I'm guessing you = were=20 right to suspect the PHP side of things.  Any
> more = ideas, or=20 should I take this to a more MapScript specific list?
>
>=20 -Ken-ichi
>
> Ken-ichi wrote:
>
>> Hi = folks. =20 I've started trying to add a GeoTIFF to my Chameleon app,
>> = and it=20 really bogs it down, sometimes to a stand still.  The image =
>>=20 I'm experimenting with is a 29mb unsigned 8bit GeoTIFF created in =
>>=20 Erdas.  The hangs are most frequent when the tiff occupies the = whole=20
>> map, and when I say hang, I mean that the map just = doesn't=20 render. 
>> The hangs also seem to generate an httpd = process=20 that takes up a lot
>> (>20%) of my CPU activity.  = The=20 relevant portion of my map file is
>> pretty=20 simple:
>>
>> LAYER
>>    = NAME "Test=20 Raster"
>>    TYPE=20 RASTER
>>    DATA=20 "/path/to/data.tif"
>>    STATUS = DEFAULT
>>=20 END
>>
>> I haven't specified an outputformat, = except in the=20 MAP section, where
>> I've set it to PNG (but I've switched = around=20 and that doesn't seem to
>> make much difference).  = This=20 problem does not seem to occur outside
>> of Chameleon = (everything=20 works fine in MapLab's ROSA applet), and it
>> doesn't = happen every=20 time the map is loaded  (although it inevitably
>> = happens if=20 you refresh the map enough).
>>
>> Has anyone = experienced=20 this kind of behavior before?  Even better,
>> anyone = have any=20 recommendations?
>>
>>=20 -Ken-ichi
>>
>>
>>=20 _______________________________________________
>> Chameleon = mailing=20 list
>> Chameleon@lists.maptools.org=
>>=20 http://list= s.maptools.org/mailman/listinfo/chameleon
>
>
 
_______________________________________________
Chameleon = mailing=20 list
Chameleon@lists.maptools.org=
http://list= s.maptools.org/mailman/listinfo/chameleon
 
------=_NextPart_000_0028_01C48A84.700F65F0-- From kueda@wso.williams.edu Wed Aug 25 13:42:33 2004 Received: from nature.Berkeley.EDU (nature.Berkeley.EDU [128.32.253.219]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7PHgM9r018953 for ; Wed, 25 Aug 2004 13:42:33 -0400 Received: from localhost (localhost [127.0.0.1]) by nature.Berkeley.EDU (Postfix) with ESMTP id CEF9DC1E44 for ; Wed, 25 Aug 2004 10:42:21 -0700 (PDT) Received: from nature.Berkeley.EDU ([127.0.0.1]) by localhost (nature [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09565-08 for ; Wed, 25 Aug 2004 10:42:21 -0700 (PDT) Received: from [128.32.179.58] (mul111-3.CNR.Berkeley.EDU [128.32.179.58]) by nature.Berkeley.EDU (Postfix) with ESMTP id 5C528C1E50 for ; Wed, 25 Aug 2004 10:42:21 -0700 (PDT) Message-ID: <412CCF7B.4020904@wso.williams.edu> Date: Wed, 25 Aug 2004 10:42:19 -0700 From: Ken-ichi User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Chameleon@lists.maptools.org Subject: Re: [Chameleon] raster hang References: <000801c48a3a$2b89bd80$5d2815ac@auper1pc364> In-Reply-To: <000801c48a3a$2b89bd80$5d2815ac@auper1pc364> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at nature.berkeley.edu Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 17:42:33 -0000 Interesting workaround, Jacob. My map image is 400x450, which doesn't seem exorbitantly large to me. While it does seem like this is a PHP-related problem, I have my doubts about blaming PHP's performance if the problem doesn't occur with a file of the same size but in a different format (i.e. the .img that seems to work ok for me). This might make sense if I was using the built-in TIFF functionality as opposed to GDAL but I compiled MapServer without the --with-tiff, so in theory it should be relying on GDAL for TIFFs. Is there any way to confirm this? I was also unable to find the URL for my map image to test if it's getting rendered. All I see is skins/default/images/a_pixel.gif. How exactly does Chameleon render and store the map image? Do you experience this problem in a non-Chameleon phpMapScript environment? -Ken-ichi Jacob Delfos wrote: > Ken-Ichi, > > It sounds a little bit like the problem I seem to have with rasters; > only happening every so many times, especially when there is more > image in view. I have it with ECW's and TIFF (45MB RGB). My map image > fails, and the session seems to hang, because I can't submit the page, > but I seem to be able to open a new session in another window without > much delay. I tried changing my settings in php.ini, but it had no > effect. I have 'patched' my problem by placing the OnError tag in the > mapDHTMLwidget image, invoking a function when it fails, which > re-loads the map image after a small delay. My diagnosis so far is > that something gets ahead of itself, serving the source to the client > browser, and the client browser requesting the image, before the image > has begun being rendered. You will find that the URL of your mapimage > is valid. > > I think it happens with PHP because it's slower than, for example, > mapserver. What is the size of your map image. Is it larger than > average, by any chance? > > Jacob > > > > -----Original Message----- > From: chameleon-bounces@lists.maptools.org > > [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Ken-ichi > Sent: 25 August 2004 04:07 > To: Chameleon@lists.maptools.org > Subject: Re: [Chameleon] raster hang > > > I should also mention that this problem is probably TIFF specific. It > does not occur when I use an Erdas Imagine (.img) format image of the > same area, which is also about the same file size. > > -Ken-ichi > > Ken-ichi wrote: > > > Thanks for responding, Paul. I've actually set my php.ini file to be > > very lenient on resource use for other purposes, so I doubt it's that: > > > > max_execution_time = 60 > > max_input_time = 120 > > memory_limit = 510M > > > > I did a little more testing and found that this also happens with > > non-Chameleon phpMapScript (the MapLab non-ROSA preview app), and with > > other GeoTIFFs, but not with the mapserv CGI or the ROSA applet. So > > I'm guessing you were right to suspect the PHP side of things. Any > > more ideas, or should I take this to a more MapScript specific list? > > > > -Ken-ichi > > > > Ken-ichi wrote: > > > >> Hi folks. I've started trying to add a GeoTIFF to my Chameleon app, > >> and it really bogs it down, sometimes to a stand still. The image > >> I'm experimenting with is a 29mb unsigned 8bit GeoTIFF created in > >> Erdas. The hangs are most frequent when the tiff occupies the whole > >> map, and when I say hang, I mean that the map just doesn't render. > >> The hangs also seem to generate an httpd process that takes up a lot > >> (>20%) of my CPU activity. The relevant portion of my map file is > >> pretty simple: > >> > >> LAYER > >> NAME "Test Raster" > >> TYPE RASTER > >> DATA "/path/to/data.tif" > >> STATUS DEFAULT > >> END > >> > >> I haven't specified an outputformat, except in the MAP section, where > >> I've set it to PNG (but I've switched around and that doesn't seem to > >> make much difference). This problem does not seem to occur outside > >> of Chameleon (everything works fine in MapLab's ROSA applet), and it > >> doesn't happen every time the map is loaded (although it inevitably > >> happens if you refresh the map enough). > >> > >> Has anyone experienced this kind of behavior before? Even better, > >> anyone have any recommendations? > >> > >> -Ken-ichi > >> > >> > >> _______________________________________________ > >> Chameleon mailing list > >> Chameleon@lists.maptools.org > >> http://lists.maptools.org/mailman/listinfo/chameleon > > > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > >------------------------------------------------------------------------ > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > From kueda@wso.williams.edu Wed Aug 25 13:46:49 2004 Received: from nature.Berkeley.EDU (nature.Berkeley.EDU [128.32.253.219]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7PHkc9r018998 for ; Wed, 25 Aug 2004 13:46:49 -0400 Received: from localhost (localhost [127.0.0.1]) by nature.Berkeley.EDU (Postfix) with ESMTP id 29593C1E61; Wed, 25 Aug 2004 10:46:38 -0700 (PDT) Received: from nature.Berkeley.EDU ([127.0.0.1]) by localhost (nature [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12310-03; Wed, 25 Aug 2004 10:46:37 -0700 (PDT) Received: from [128.32.179.58] (mul111-3.CNR.Berkeley.EDU [128.32.179.58]) by nature.Berkeley.EDU (Postfix) with ESMTP id 8CBC6C1E8A; Wed, 25 Aug 2004 10:44:48 -0700 (PDT) Message-ID: <412CD00E.3060607@wso.williams.edu> Date: Wed, 25 Aug 2004 10:44:46 -0700 From: Ken-ichi User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ken Sanderson Subject: Re: [Chameleon] raster hang References: <002701c48ab6$baa9d5f0$31289f88@GLADSTONE> In-Reply-To: <002701c48ab6$baa9d5f0$31289f88@GLADSTONE> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at nature.berkeley.edu Cc: Chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 17:46:49 -0000 I'm running 1.99b2 on Gentoo Linux, using PHP 4.3.7, MS 4.2.2, and GDAL 1.2.1. I tried upping my PHP limits to what you've got, but to no avail. -Ken-ichi Ken Sanderson wrote: > Just wanted to add a tidbit of info in case its useful. > > I am running 1.99b on IIS. I have several large images. The largest I > am using is 128 megs. I also have an image catalog that can load 16 > 60-70 meg image tiles for over a gig of imagery. I use RGB image mode > and PC256 on another, with a PNG output. Images are all tiffs. I > havent had the problems you are having, it all seems to work well. > > My PHP limits are: > > max_execution_time = 300 > max_input_time = 300 > memory_limit = 8M > > Hopefully thats helpful in narrowing down the problem. > > Ken > > -----Original Message----- > *From:* chameleon-bounces@lists.maptools.org > [mailto:chameleon-bounces@lists.maptools.org] *On Behalf Of *Jacob > Delfos > *Sent:* August 24, 2004 6:26 PM > *To:* Chameleon@lists.maptools.org > *Subject:* RE: [Chameleon] raster hang > > Ken-Ichi, > > It sounds a little bit like the problem I seem to have with > rasters; only happening every so many times, especially when there > is more image in view. I have it with ECW's and TIFF (45MB RGB). > My map image fails, and the session seems to hang, because I can't > submit the page, but I seem to be able to open a new session in > another window without much delay. I tried changing my settings in > php.ini, but it had no effect. I have 'patched' my problem by > placing the OnError tag in the mapDHTMLwidget image, invoking a > function when it fails, which re-loads the map image after a small > delay. My diagnosis so far is that something gets ahead of itself, > serving the source to the client browser, and the client browser > requesting the image, before the image has begun being rendered. > You will find that the URL of your mapimage is valid. > > I think it happens with PHP because it's slower than, for example, > mapserver. What is the size of your map image. Is it larger than > average, by any chance? > > Jacob > > > > -----Original Message----- > From: chameleon-bounces@lists.maptools.org > > [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Ken-ichi > Sent: 25 August 2004 04:07 > To: Chameleon@lists.maptools.org > Subject: Re: [Chameleon] raster hang > > > I should also mention that this problem is probably TIFF > specific. It > does not occur when I use an Erdas Imagine (.img) format image of the > same area, which is also about the same file size. > > -Ken-ichi > > Ken-ichi wrote: > > > Thanks for responding, Paul. I've actually set my php.ini file > to be > > very lenient on resource use for other purposes, so I doubt it's > that: > > > > max_execution_time = 60 > > max_input_time = 120 > > memory_limit = 510M > > > > I did a little more testing and found that this also happens with > > non-Chameleon phpMapScript (the MapLab non-ROSA preview app), > and with > > other GeoTIFFs, but not with the mapserv CGI or the ROSA > applet. So > > I'm guessing you were right to suspect the PHP side of things. Any > > more ideas, or should I take this to a more MapScript specific list? > > > > -Ken-ichi > > > > Ken-ichi wrote: > > > >> Hi folks. I've started trying to add a GeoTIFF to my Chameleon > app, > >> and it really bogs it down, sometimes to a stand still. The image > >> I'm experimenting with is a 29mb unsigned 8bit GeoTIFF created in > >> Erdas. The hangs are most frequent when the tiff occupies the > whole > >> map, and when I say hang, I mean that the map just doesn't > render. > >> The hangs also seem to generate an httpd process that takes up > a lot > >> (>20%) of my CPU activity. The relevant portion of my map file is > >> pretty simple: > >> > >> LAYER > >> NAME "Test Raster" > >> TYPE RASTER > >> DATA "/path/to/data.tif" > >> STATUS DEFAULT > >> END > >> > >> I haven't specified an outputformat, except in the MAP section, > where > >> I've set it to PNG (but I've switched around and that doesn't > seem to > >> make much difference). This problem does not seem to occur > outside > >> of Chameleon (everything works fine in MapLab's ROSA applet), > and it > >> doesn't happen every time the map is loaded (although it > inevitably > >> happens if you refresh the map enough). > >> > >> Has anyone experienced this kind of behavior before? Even better, > >> anyone have any recommendations? > >> > >> -Ken-ichi > >> > >> > >> _______________________________________________ > >> Chameleon mailing list > >> Chameleon@lists.maptools.org > >> http://lists.maptools.org/mailman/listinfo/chameleon > > > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > >------------------------------------------------------------------------ > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > From ken@rockies.ca Wed Aug 25 13:53:50 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7PHrn9r019108 for ; Wed, 25 Aug 2004 13:53:50 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id oteveaaa for Chameleon@lists.maptools.org; Wed, 25 Aug 2004 11:42:03 -0600 From: "Ken Sanderson" To: "'Ken-ichi'" , Subject: RE: [Chameleon] raster hang Date: Wed, 25 Aug 2004 11:57:31 -0600 Message-ID: <004801c48acd$026af7f0$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal In-Reply-To: <412CCF7B.4020904@wso.williams.edu> Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 17:54:00 -0000 Chameleon/Mapserver puts the image rendered in your mapserver temp folder. Ken -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Ken-ichi Sent: August 25, 2004 11:42 AM To: Chameleon@lists.maptools.org Subject: Re: [Chameleon] raster hang Interesting workaround, Jacob. My map image is 400x450, which doesn't seem exorbitantly large to me. While it does seem like this is a PHP-related problem, I have my doubts about blaming PHP's performance if the problem doesn't occur with a file of the same size but in a different format (i.e. the .img that seems to work ok for me). This might make sense if I was using the built-in TIFF functionality as opposed to GDAL but I compiled MapServer without the --with-tiff, so in theory it should be relying on GDAL for TIFFs. Is there any way to confirm this? I was also unable to find the URL for my map image to test if it's getting rendered. All I see is skins/default/images/a_pixel.gif. How exactly does Chameleon render and store the map image? Do you experience this problem in a non-Chameleon phpMapScript environment? -Ken-ichi Jacob Delfos wrote: > Ken-Ichi, > > It sounds a little bit like the problem I seem to have with rasters; > only happening every so many times, especially when there is more > image in view. I have it with ECW's and TIFF (45MB RGB). My map image > fails, and the session seems to hang, because I can't submit the page, > but I seem to be able to open a new session in another window without > much delay. I tried changing my settings in php.ini, but it had no > effect. I have 'patched' my problem by placing the OnError tag in the > mapDHTMLwidget image, invoking a function when it fails, which > re-loads the map image after a small delay. My diagnosis so far is > that something gets ahead of itself, serving the source to the client > browser, and the client browser requesting the image, before the image > has begun being rendered. You will find that the URL of your mapimage > is valid. > > I think it happens with PHP because it's slower than, for example, > mapserver. What is the size of your map image. Is it larger than > average, by any chance? > > Jacob > > > > -----Original Message----- > From: chameleon-bounces@lists.maptools.org > > [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Ken-ichi > Sent: 25 August 2004 04:07 > To: Chameleon@lists.maptools.org > Subject: Re: [Chameleon] raster hang > > > I should also mention that this problem is probably TIFF specific. It > does not occur when I use an Erdas Imagine (.img) format image of the > same area, which is also about the same file size. > > -Ken-ichi > > Ken-ichi wrote: > > > Thanks for responding, Paul. I've actually set my php.ini file to > > be very lenient on resource use for other purposes, so I doubt it's > > that: > > > > max_execution_time = 60 > > max_input_time = 120 > > memory_limit = 510M > > > > I did a little more testing and found that this also happens with > > non-Chameleon phpMapScript (the MapLab non-ROSA preview app), and > > with other GeoTIFFs, but not with the mapserv CGI or the ROSA > > applet. So I'm guessing you were right to suspect the PHP side of > > things. Any more ideas, or should I take this to a more MapScript > > specific list? > > > > -Ken-ichi > > > > Ken-ichi wrote: > > > >> Hi folks. I've started trying to add a GeoTIFF to my Chameleon > >> app, and it really bogs it down, sometimes to a stand still. The > >> image I'm experimenting with is a 29mb unsigned 8bit GeoTIFF > >> created in Erdas. The hangs are most frequent when the tiff > >> occupies the whole map, and when I say hang, I mean that the map > >> just doesn't render. The hangs also seem to generate an httpd > >> process that takes up a lot > >> (>20%) of my CPU activity. The relevant portion of my map file is > >> pretty simple: > >> > >> LAYER > >> NAME "Test Raster" > >> TYPE RASTER > >> DATA "/path/to/data.tif" > >> STATUS DEFAULT > >> END > >> > >> I haven't specified an outputformat, except in the MAP section, > >> where I've set it to PNG (but I've switched around and that doesn't > >> seem to make much difference). This problem does not seem to occur > >> outside of Chameleon (everything works fine in MapLab's ROSA > >> applet), and it doesn't happen every time the map is loaded > >> (although it inevitably happens if you refresh the map enough). > >> > >> Has anyone experienced this kind of behavior before? Even better, > >> anyone have any recommendations? > >> > >> -Ken-ichi > >> > >> > >> _______________________________________________ > >> Chameleon mailing list > >> Chameleon@lists.maptools.org > >> http://lists.maptools.org/mailman/listinfo/chameleon > > > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > >----------------------------------------------------------------------- >- > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From pagameba@magma.ca Wed Aug 25 14:17:14 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7PIHD9r019301 for ; Wed, 25 Aug 2004 14:17:14 -0400 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx1.magmacom.com (8.13.0/8.13.0) with ESMTP id i7PIHCoi002371; Wed, 25 Aug 2004 14:17:13 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail1.magma.ca (8.13.0/8.13.0) with ESMTP id i7PIHAaP008008; Wed, 25 Aug 2004 14:17:12 -0400 Message-ID: <412CD79E.8080906@magma.ca> Date: Wed, 25 Aug 2004 14:17:02 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ken Sanderson Subject: Re: [Chameleon] raster hang References: <004801c48acd$026af7f0$31289f88@GLADSTONE> In-Reply-To: <004801c48acd$026af7f0$31289f88@GLADSTONE> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 18:17:24 -0000 Actually, for the map image, it never gets saved to disk. It is drawn directly from a php script called drawmap.php. You can view source on the page and search for drawmap.php to find the URL that is actually called, and then paste it into the address bar to see the results directly. Cheers, Paul Ken Sanderson wrote: > Chameleon/Mapserver puts the image rendered in your mapserver temp > folder. > > Ken > > -----Original Message----- > From: chameleon-bounces@lists.maptools.org > [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Ken-ichi > Sent: August 25, 2004 11:42 AM > To: Chameleon@lists.maptools.org > Subject: Re: [Chameleon] raster hang > > > Interesting workaround, Jacob. My map image is 400x450, which doesn't > seem exorbitantly large to me. While it does seem like this is a > PHP-related problem, I have my doubts about blaming PHP's performance if > > the problem doesn't occur with a file of the same size but in a > different format (i.e. the .img that seems to work ok for me). This > might make sense if I was using the built-in TIFF functionality as > opposed to GDAL but I compiled MapServer without the --with-tiff, so in > theory it should be relying on GDAL for TIFFs. Is there any way to > confirm this? > > I was also unable to find the URL for my map image to test if it's > getting rendered. All I see is skins/default/images/a_pixel.gif. How > exactly does Chameleon render and store the map image? > > Do you experience this problem in a non-Chameleon phpMapScript > environment? > > -Ken-ichi > > Jacob Delfos wrote: > > >>Ken-Ichi, >> >>It sounds a little bit like the problem I seem to have with rasters; >>only happening every so many times, especially when there is more >>image in view. I have it with ECW's and TIFF (45MB RGB). My map image >>fails, and the session seems to hang, because I can't submit the page, > > >>but I seem to be able to open a new session in another window without >>much delay. I tried changing my settings in php.ini, but it had no >>effect. I have 'patched' my problem by placing the OnError tag in the >>mapDHTMLwidget image, invoking a function when it fails, which >>re-loads the map image after a small delay. My diagnosis so far is >>that something gets ahead of itself, serving the source to the client >>browser, and the client browser requesting the image, before the image > > >>has begun being rendered. You will find that the URL of your mapimage >>is valid. >> >>I think it happens with PHP because it's slower than, for example, >>mapserver. What is the size of your map image. Is it larger than >>average, by any chance? >> >>Jacob >> >> >> >>-----Original Message----- >>From: chameleon-bounces@lists.maptools.org >> >>[mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Ken-ichi >>Sent: 25 August 2004 04:07 >>To: Chameleon@lists.maptools.org >>Subject: Re: [Chameleon] raster hang >> >> >>I should also mention that this problem is probably TIFF specific. It > > >>does not occur when I use an Erdas Imagine (.img) format image of the >>same area, which is also about the same file size. >> >>-Ken-ichi >> >>Ken-ichi wrote: >> >> >>>Thanks for responding, Paul. I've actually set my php.ini file to >>>be very lenient on resource use for other purposes, so I doubt it's >>>that: >>> >>>max_execution_time = 60 >>>max_input_time = 120 >>>memory_limit = 510M >>> >>>I did a little more testing and found that this also happens with >>>non-Chameleon phpMapScript (the MapLab non-ROSA preview app), and >>>with other GeoTIFFs, but not with the mapserv CGI or the ROSA >>>applet. So I'm guessing you were right to suspect the PHP side of >>>things. Any more ideas, or should I take this to a more MapScript >>>specific list? >>> >>>-Ken-ichi >>> >>>Ken-ichi wrote: >>> >>> >>>>Hi folks. I've started trying to add a GeoTIFF to my Chameleon >>>>app, and it really bogs it down, sometimes to a stand still. The >>>>image I'm experimenting with is a 29mb unsigned 8bit GeoTIFF >>>>created in Erdas. The hangs are most frequent when the tiff >>>>occupies the whole map, and when I say hang, I mean that the map >>>>just doesn't render. The hangs also seem to generate an httpd >>>>process that takes up a lot >>>>(>20%) of my CPU activity. The relevant portion of my map file is >>>>pretty simple: >>>> >>>>LAYER >>>> NAME "Test Raster" >>>> TYPE RASTER >>>> DATA "/path/to/data.tif" >>>> STATUS DEFAULT >>>>END >>>> >>>>I haven't specified an outputformat, except in the MAP section, >>>>where I've set it to PNG (but I've switched around and that doesn't > > >>>>seem to make much difference). This problem does not seem to occur > > >>>>outside of Chameleon (everything works fine in MapLab's ROSA >>>>applet), and it doesn't happen every time the map is loaded >>>>(although it inevitably happens if you refresh the map enough). >>>> >>>>Has anyone experienced this kind of behavior before? Even better, >>>>anyone have any recommendations? >>>> >>>>-Ken-ichi >>>> >>>> >>>>_______________________________________________ >>>>Chameleon mailing list >>>>Chameleon@lists.maptools.org >>>>http://lists.maptools.org/mailman/listinfo/chameleon >>> >>> >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> >> >>----------------------------------------------------------------------- >>- >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> >> > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From kueda@wso.williams.edu Wed Aug 25 14:24:47 2004 Received: from nature.Berkeley.EDU (nature.Berkeley.EDU [128.32.253.219]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7PIOa9r019527 for ; Wed, 25 Aug 2004 14:24:46 -0400 Received: from localhost (localhost [127.0.0.1]) by nature.Berkeley.EDU (Postfix) with ESMTP id 09EB2C1E52 for ; Wed, 25 Aug 2004 11:24:36 -0700 (PDT) Received: from nature.Berkeley.EDU ([127.0.0.1]) by localhost (nature [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20922-07 for ; Wed, 25 Aug 2004 11:24:35 -0700 (PDT) Received: from [128.32.179.58] (mul111-3.CNR.Berkeley.EDU [128.32.179.58]) by nature.Berkeley.EDU (Postfix) with ESMTP id A7AC9C1E44 for ; Wed, 25 Aug 2004 11:24:35 -0700 (PDT) Message-ID: <412CD961.7020600@wso.williams.edu> Date: Wed, 25 Aug 2004 11:24:33 -0700 From: Ken-ichi User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Chameleon@lists.maptools.org Subject: Re: [Chameleon] raster hang References: <000801c48a3a$2b89bd80$5d2815ac@auper1pc364> In-Reply-To: <000801c48a3a$2b89bd80$5d2815ac@auper1pc364> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at nature.berkeley.edu Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 18:24:47 -0000 Actually, I just tried this with the demo app from the PHPMapScript By Example tutorial on the MapServer site (very, very simple), and it works fine, so maybe it's not PHPMapScript. Since I'm only experiencing the problem with Chameleon and MapLab, could this be a problem with common/wrapper/drawmap.php? Anyone at DM Solutions care to comment? Not that I'm ruling out some amazing screw up of my own or anything... -Ken-ichi Jacob Delfos wrote: > Ken-Ichi, > > It sounds a little bit like the problem I seem to have with rasters; > only happening every so many times, especially when there is more > image in view. I have it with ECW's and TIFF (45MB RGB). My map image > fails, and the session seems to hang, because I can't submit the page, > but I seem to be able to open a new session in another window without > much delay. I tried changing my settings in php.ini, but it had no > effect. I have 'patched' my problem by placing the OnError tag in the > mapDHTMLwidget image, invoking a function when it fails, which > re-loads the map image after a small delay. My diagnosis so far is > that something gets ahead of itself, serving the source to the client > browser, and the client browser requesting the image, before the image > has begun being rendered. You will find that the URL of your mapimage > is valid. > > I think it happens with PHP because it's slower than, for example, > mapserver. What is the size of your map image. Is it larger than > average, by any chance? > > Jacob > > > > -----Original Message----- > From: chameleon-bounces@lists.maptools.org > > [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Ken-ichi > Sent: 25 August 2004 04:07 > To: Chameleon@lists.maptools.org > Subject: Re: [Chameleon] raster hang > > > I should also mention that this problem is probably TIFF specific. It > does not occur when I use an Erdas Imagine (.img) format image of the > same area, which is also about the same file size. > > -Ken-ichi > > Ken-ichi wrote: > > > Thanks for responding, Paul. I've actually set my php.ini file to be > > very lenient on resource use for other purposes, so I doubt it's that: > > > > max_execution_time = 60 > > max_input_time = 120 > > memory_limit = 510M > > > > I did a little more testing and found that this also happens with > > non-Chameleon phpMapScript (the MapLab non-ROSA preview app), and with > > other GeoTIFFs, but not with the mapserv CGI or the ROSA applet. So > > I'm guessing you were right to suspect the PHP side of things. Any > > more ideas, or should I take this to a more MapScript specific list? > > > > -Ken-ichi > > > > Ken-ichi wrote: > > > >> Hi folks. I've started trying to add a GeoTIFF to my Chameleon app, > >> and it really bogs it down, sometimes to a stand still. The image > >> I'm experimenting with is a 29mb unsigned 8bit GeoTIFF created in > >> Erdas. The hangs are most frequent when the tiff occupies the whole > >> map, and when I say hang, I mean that the map just doesn't render. > >> The hangs also seem to generate an httpd process that takes up a lot > >> (>20%) of my CPU activity. The relevant portion of my map file is > >> pretty simple: > >> > >> LAYER > >> NAME "Test Raster" > >> TYPE RASTER > >> DATA "/path/to/data.tif" > >> STATUS DEFAULT > >> END > >> > >> I haven't specified an outputformat, except in the MAP section, where > >> I've set it to PNG (but I've switched around and that doesn't seem to > >> make much difference). This problem does not seem to occur outside > >> of Chameleon (everything works fine in MapLab's ROSA applet), and it > >> doesn't happen every time the map is loaded (although it inevitably > >> happens if you refresh the map enough). > >> > >> Has anyone experienced this kind of behavior before? Even better, > >> anyone have any recommendations? > >> > >> -Ken-ichi > >> > >> > >> _______________________________________________ > >> Chameleon mailing list > >> Chameleon@lists.maptools.org > >> http://lists.maptools.org/mailman/listinfo/chameleon > > > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > >------------------------------------------------------------------------ > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > From ken@rockies.ca Wed Aug 25 14:25:59 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7PIPw9r019577 for ; Wed, 25 Aug 2004 14:25:59 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id mueveaaa for Chameleon@lists.maptools.org; Wed, 25 Aug 2004 12:14:08 -0600 From: "Ken Sanderson" To: Subject: RE: [Chameleon] raster hang Date: Wed, 25 Aug 2004 12:29:38 -0600 Message-ID: <004b01c48ad1$7d825d30$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal In-Reply-To: <412CD79E.8080906@magma.ca> Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 18:25:59 -0000 Really? My temp folder has images in there, perhaps its from Maplab preview, would it be creating the images differently? Ken -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: August 25, 2004 12:17 PM To: Ken Sanderson Cc: 'Ken-ichi'; Chameleon@lists.maptools.org Subject: Re: [Chameleon] raster hang Actually, for the map image, it never gets saved to disk. It is drawn directly from a php script called drawmap.php. You can view source on the page and search for drawmap.php to find the URL that is actually called, and then paste it into the address bar to see the results directly. Cheers, Paul Ken Sanderson wrote: > Chameleon/Mapserver puts the image rendered in your mapserver temp > folder. > > Ken > > -----Original Message----- > From: chameleon-bounces@lists.maptools.org > [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Ken-ichi > Sent: August 25, 2004 11:42 AM > To: Chameleon@lists.maptools.org > Subject: Re: [Chameleon] raster hang > > > Interesting workaround, Jacob. My map image is 400x450, which doesn't > seem exorbitantly large to me. While it does seem like this is a > PHP-related problem, I have my doubts about blaming PHP's performance if > > the problem doesn't occur with a file of the same size but in a > different format (i.e. the .img that seems to work ok for me). This > might make sense if I was using the built-in TIFF functionality as > opposed to GDAL but I compiled MapServer without the --with-tiff, so in > theory it should be relying on GDAL for TIFFs. Is there any way to > confirm this? > > I was also unable to find the URL for my map image to test if it's > getting rendered. All I see is skins/default/images/a_pixel.gif. How > exactly does Chameleon render and store the map image? > > Do you experience this problem in a non-Chameleon phpMapScript > environment? > > -Ken-ichi > > Jacob Delfos wrote: > > >>Ken-Ichi, >> >>It sounds a little bit like the problem I seem to have with rasters; >>only happening every so many times, especially when there is more >>image in view. I have it with ECW's and TIFF (45MB RGB). My map image >>fails, and the session seems to hang, because I can't submit the page, > > >>but I seem to be able to open a new session in another window without >>much delay. I tried changing my settings in php.ini, but it had no >>effect. I have 'patched' my problem by placing the OnError tag in the >>mapDHTMLwidget image, invoking a function when it fails, which >>re-loads the map image after a small delay. My diagnosis so far is >>that something gets ahead of itself, serving the source to the client >>browser, and the client browser requesting the image, before the image > > >>has begun being rendered. You will find that the URL of your mapimage >>is valid. >> >>I think it happens with PHP because it's slower than, for example, >>mapserver. What is the size of your map image. Is it larger than >>average, by any chance? >> >>Jacob >> >> >> >>-----Original Message----- >>From: chameleon-bounces@lists.maptools.org >> >>[mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Ken-ichi >>Sent: 25 August 2004 04:07 >>To: Chameleon@lists.maptools.org >>Subject: Re: [Chameleon] raster hang >> >> >>I should also mention that this problem is probably TIFF specific. It > > >>does not occur when I use an Erdas Imagine (.img) format image of the >>same area, which is also about the same file size. >> >>-Ken-ichi >> >>Ken-ichi wrote: >> >> >>>Thanks for responding, Paul. I've actually set my php.ini file to >>>be very lenient on resource use for other purposes, so I doubt it's >>>that: >>> >>>max_execution_time = 60 >>>max_input_time = 120 >>>memory_limit = 510M >>> >>>I did a little more testing and found that this also happens with >>>non-Chameleon phpMapScript (the MapLab non-ROSA preview app), and >>>with other GeoTIFFs, but not with the mapserv CGI or the ROSA >>>applet. So I'm guessing you were right to suspect the PHP side of >>>things. Any more ideas, or should I take this to a more MapScript >>>specific list? >>> >>>-Ken-ichi >>> >>>Ken-ichi wrote: >>> >>> >>>>Hi folks. I've started trying to add a GeoTIFF to my Chameleon >>>>app, and it really bogs it down, sometimes to a stand still. The >>>>image I'm experimenting with is a 29mb unsigned 8bit GeoTIFF >>>>created in Erdas. The hangs are most frequent when the tiff >>>>occupies the whole map, and when I say hang, I mean that the map >>>>just doesn't render. The hangs also seem to generate an httpd >>>>process that takes up a lot >>>>(>20%) of my CPU activity. The relevant portion of my map file is >>>>pretty simple: >>>> >>>>LAYER >>>> NAME "Test Raster" >>>> TYPE RASTER >>>> DATA "/path/to/data.tif" >>>> STATUS DEFAULT >>>>END >>>> >>>>I haven't specified an outputformat, except in the MAP section, >>>>where I've set it to PNG (but I've switched around and that doesn't > > >>>>seem to make much difference). This problem does not seem to occur > > >>>>outside of Chameleon (everything works fine in MapLab's ROSA >>>>applet), and it doesn't happen every time the map is loaded >>>>(although it inevitably happens if you refresh the map enough). >>>> >>>>Has anyone experienced this kind of behavior before? Even better, >>>>anyone have any recommendations? >>>> >>>>-Ken-ichi >>>> >>>> >>>>_______________________________________________ >>>>Chameleon mailing list >>>>Chameleon@lists.maptools.org >>>>http://lists.maptools.org/mailman/listinfo/chameleon >>> >>> >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> >> >>---------------------------------------------------------------------- >>- >>- >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> >> > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From jacob.delfos@maunsell.com Thu Aug 26 03:37:55 2004 Received: from auper1gw001.hgm.com.au ([202.139.2.70]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7Q7bo9r024691 for ; Thu, 26 Aug 2004 03:37:52 -0400 Received: from auper1gw001.hgm.com.au (localhost.localdomain [127.0.0.1]) by auper1gw001.hgm.com.au (8.12.8/8.12.8) with ESMTP id i7Q7hAUr023121 for ; Thu, 26 Aug 2004 15:43:10 +0800 Received: from ace.hgm.com.au (ace [172.21.40.11]) by auper1gw001.hgm.com.au (8.12.8/8.12.8) with ESMTP id i7Q7h9RG023116 for ; Thu, 26 Aug 2004 15:43:09 +0800 Received: from auper1pc364 (Jacob_Delfos [172.21.40.93]) by ace.hgm.com.au (8.9.3/8.9.3) with SMTP id PAA12027 for ; Thu, 26 Aug 2004 15:45:26 +0800 (WST) Message-ID: <000801c48b3f$838ef080$5d2815ac@auper1pc364> From: "Jacob Delfos" To: Subject: Re: [Chameleon] change imagetype on the fly - solved Date: Thu, 26 Aug 2004 15:37:16 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C48B82.9120C5F0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2004 07:37:56 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C48B82.9120C5F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi All, I managed to solve my problem of getting chameleon to serve a GIF for = vector data, and a JPEG for full-colour imagery. If anyone is interested = in doing a similar thing, insert the code below in the drawmap.php file, = before the line that says = "$oMapSession->oMap->selectOutputFormat($szImgType);" The difference in filesize and quality make it well worth for users on a = dial-up connection. In the mapfile, you'd have to specify a parameter in the metadata called = FORCEJPG, if you want that layer to turn the mapimage to a JPEG. -------------------------------------------------------------------------= ------------------------ for ($i=3D0; $i<$oMapSession->oMap->numlayers; $i++) { $oLayer =3D $oMapSession->oMap->getlayer($i); if ( ( $oLayer->getMetadata("FORCEJPG") ) && ($oLayer->status = =3D=3D true) ) { $forceJPG =3D true; } } if ($forceJPG =3D=3D true) { $szImgType =3D "JPEG"; } else { $szImgType =3D "GIF"; } -------------------------------------------------------------------------= -------------- -----Original Message----- From: chameleon-bounces@lists.maptools.org = [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Jacob Delfos Sent: 24 August 2004 11:44 To: chameleon@lists.maptools.org Subject: Re: [Chameleon] change imagetype on the fly Thanks Paul, I sort of got it working now. My problem was that I didn't realize I = was passing parameters into the main php page, which of course wouldn't = propagate to drawmap.php (dumb...). I'm automatically generating a hidden input field in the form when my = aerial photo becomes visible (using the legend template). Unfortunately = it doesn't get picked up until the next time I submit the form. I may = try to resort to iterating through the layers after all. I think it = could be a real advantage to switch to indexed colour (GIF) = automatically when there is only vector data visible. Thanks, Jacob -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca]=20 Sent: 23 August 2004 20:31 To: Jacob Delfos Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] change imagetype on the fly $http_form_vars is either POST or GET, not both. You could try: $http_form_vars =3D array_merge( $_POST, $_GET ); You can also: print_r($http_form_vars); and then view the source of your image to see the contents of the = array? Cheers, Paul Jacob Delfos wrote: > Paul, > =20 > You are right, if I hardcode the szImgType variable, it changes the=20 > imagetype. But it doesn't seem to want to change any other way. = There is=20 > this piece of code in there which doesn't seem to have any effect: > =20 > if (isset($http_form_vars["gszImgType"]) &&=20 > $http_form_vars["gszImgType"] !=3D "") > $szImgType =3D $http_form_vars["gszImgType"]; > =20 > The way I see this, it should allow a parameter in the form called=20 > gszImgType to override the imagetype. Why doesn't it work? Even if I = > just try > =20 > isset($http_form_vars["gszImgType"]) > =20 > and place the gszImgType in the url as a parameter, or in the form = as an=20 > input type, it acts as if this variable isn't set. I'm not much of a = php=20 > expert, but I thought the isset function checks whether a parameter = has=20 > a value..... > =20 > Is it because I use a mapfile? > =20 > regards, > =20 > Jacob > =20 > =20 > =20 > =20 > -----Original Message----- > From: Paul Spencer [mailto:pagameba@magma.ca] > Sent: 19 August 2004 10:09 > To: Jacob Delfos; chameleon@lists.maptools.org=20 > > Subject: Re: [Chameleon] change imagetype on the fly > =20 >=20 > Jacob, you should be able to modify the image type in drawmap.php = since=20 > this is the only > place that it actually draws the map. Note that drawmap does not = save=20 > the map state, so > you would have to change it on every map draw. The code would look=20 > something like: > =20 > $oMap->selectOutputFormat( 'GIF' ); > =20 > I think. And you could insert this just before the $oMap->draw();=20 > call. You could also > (at the risk of adding a little overhead) loop through all the = layers in=20 > the map and test > for the layer types and only switch to jpeg when a raster layer is=20 > visible ... > =20 > Cheers, > =20 > Paul > =20 > =20 > =20 > On Aug 18, "Jacob Delfos" > wrote: > > Hi List, > > > > > > > > I am attempting to modify chameleon to allow the imagetype to = change=20 > on the fly. > Ideally, I want to reach a situation where chameleon is smart enough = to=20 > know it should use > gif, except when an aerial photograph is in the background. This = will=20 > greatly increase the > speed of the page, because my jpeg maps are typically around 88kb,=20 > whereas a gif would be > ten times smaller for linework and areas. > > > > > > > > I tried to override the nImageType in drawmap.php by making it = pick=20 > it up from the http > parameters. But even if I hardcode the nImageType variable, I keep=20 > getting a jpeg. Also > (which may be the cause), the temporary map files that are created=20 > specify jpeg as imagetype. > > > > > > > > If I want to override the imagetype, where do I change that? > > > > > > > > regards, > > > > > > > > Jacob > > > > > > > > > > > > > > > > JACOB DELFOS > > > > SPATIAL INFORMATION ANALYST > > > > Maunsell Australia Pty Ltd > > > > 629 Newcastle Street > > > > PO Box 81 > > > > Leederville 6902 > > > > Western Australia > > > > ABN 20 093 846 925 > > > > > > > > Tel + 61 8 9281 6185 > > > > Fax + 61 8 9281 6297 > > > > jacob.delfos@maunsell.com > > > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org = > > = href=3D'http://lists.maptools.org/mailman/listinfo/chameleon'>http://list= s.maptools.org/mailman/listinfo/chameleon > > > > > =20 > if (isset($http_form_vars["gszImgType"]) &&=20 > $http_form_vars["gszImgType"] !=3D "") > $szImgType =3D $http_form_vars["gszImgType"]; >=20 >=20 > = ------------------------------------------------------------------------ >=20 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon --=20 ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- ------=_NextPart_000_0005_01C48B82.9120C5F0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi All,
 
I managed to solve my problem of = getting chameleon=20 to serve a GIF for vector data, and a JPEG for full-colour imagery. If = anyone is=20 interested in doing a similar thing, insert the code below in the = drawmap.php=20 file, before the line that says=20 "$oMapSession->oMap->selectOutputFormat($szImgType);"
The difference in filesize and quality = make it well=20 worth for users on a dial-up connection.
 
 
In the mapfile, you'd have to specify a = parameter=20 in the metadata called FORCEJPG, if you want that layer to turn the = mapimage to=20 a JPEG.
----------------------------------------------------------------= ---------------------------------
    for ($i=3D0;=20 $i<$oMapSession->oMap->numlayers; $i++)
   =20 {
        $oLayer =3D=20 $oMapSession->oMap->getlayer($i);
     =   =20 if ( ( $oLayer->getMetadata("FORCEJPG") ) && = ($oLayer->status =3D=3D=20 true)  )
       =20 {
        $forceJPG =3D=20 true;
        = }
   =20 }
 
    if ($forceJPG =3D=3D = true)
    {
    $szImgType =3D=20 "JPEG";
    }
    = else
   =20 {
    $szImgType =3D "GIF";
    = }
----------------------------------------------------------------= -----------------------
 
 
-----Original Message-----
From:=20 chameleon-bounces@lists.maptools.org=20 [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of = Jacob=20 Delfos
Sent: 24 August 2004 11:44
To:=20 chameleon@lists.maptools.org
Subject: Re: [Chameleon] change = imagetype on the fly

Thanks Paul,
 
I sort of got it working now. My = problem was that=20 I didn't realize I was passing parameters into the main php page, = which of=20 course wouldn't propagate to drawmap.php (dumb...).
 
I'm automatically generating a hidden = input field=20 in the form when my aerial photo becomes visible (using the legend = template).=20 Unfortunately it doesn't get picked up until the next time I submit = the form.=20 I may try to resort to iterating through the layers after all. I think = it=20 could be a real advantage to switch to indexed colour (GIF) = automatically when=20 there is only vector data visible.
 
Thanks,
 
Jacob
 

-----Original Message-----
From: Paul Spencer=20 [mailto:pagameba@magma.ca]
Sent: 23 August 2004 20:31
To: Jacob = Delfos
Cc: chameleon@lists.maptools.org=
Subject:=20 Re: [Chameleon] change imagetype on the fly
 

$http_form_vars is either POST or GET, not both.  You = could=20 try:
 
$http_form_vars =3D array_merge( $_POST, $_GET );
 
You can also:
 
print_r($http_form_vars);
 
and then view the source of your image to see the contents of the = array?
 
Cheers,
 
Paul
 
Jacob Delfos wrote:
 
> Paul,

> You are right, if I hardcode = the=20 szImgType variable, it changes the
> imagetype. But it doesn't = seem to=20 want to change any other way. There is
> this piece of code in = there=20 which doesn't seem to have any effect:

> if=20 (isset($http_form_vars["gszImgType"]) &&
>=20 $http_form_vars["gszImgType"] !=3D "")
>     = $szImgType =3D $http_form_vars["gszImgType"];

> = The way I=20 see this, it should allow a parameter in the form called
> = gszImgType=20 to override the imagetype. Why doesn't it work? Even if I
> = just=20 try

> = isset($http_form_vars["gszImgType"])
> =20
> and place the gszImgType in the url as a parameter, or in the = form as=20 an
> input type, it acts as if this variable isn't set. I'm not = much of=20 a php
> expert, but I thought the isset function checks whether = a=20 parameter has
> a value.....

> Is it = because I use=20 a mapfile?

> regards,

>=20 Jacob



>  =
>=20 -----Original Message-----
> From: Paul Spencer=20 [mailto:pagameba@magma.ca]
> Sent: 19 August 2004 10:09
> = To:=20 Jacob Delfos; chameleon@lists.maptools.org= =20
> <mailto:chameleon@lists.mapto= ols.org>
>=20 Subject: Re: [Chameleon] change imagetype on the fly
>  =
>=20
> Jacob, you should be able to modify the image type in = drawmap.php=20 since
> this is the only
> place that it actually draws = the=20 map.  Note that drawmap does not save
> the map state, = so
>=20 you would have to change it on every map draw.  The code would = look=20
> something like:

> = $oMap->selectOutputFormat(=20 'GIF' );

> I think.  And you could insert = this just=20 before the $oMap->draw();
> call.  You could = also
> (at=20 the risk of adding a little overhead) loop through all the layers in =
>=20 the map and test
> for the layer types and only switch to jpeg = when a=20 raster layer is
> visible ...

>=20 Cheers,

> Paul

> =20

> On Aug 18, "Jacob Delfos" <jacob.delfos@maunsell.com =
>=20 <mailto:jacob.delfos@maunsell.co= m>>=20 wrote:
>  > Hi List,
>  >
> =20 >
>  >
>  > I am attempting to modify = chameleon=20 to allow the imagetype to change
> on the fly.
> Ideally, = I want=20 to reach a situation where chameleon is smart enough to
> know = it=20 should use
> gif, except when an aerial photograph is in the = background.=20 This will
> greatly increase the
> speed of the page, = because my=20 jpeg maps are typically around 88kb,
> whereas a gif would = be
>=20 ten times smaller for linework and areas.
>  = >
> =20 >
>  >
>  > I tried to override the = nImageType=20 in drawmap.php by making it pick
> it up from the http
>=20 parameters. But even if I hardcode the nImageType variable, I keep =
>=20 getting a jpeg. Also
> (which may be the cause), the temporary = map files=20 that are created
> specify jpeg as imagetype.
> =20 >
>  >
>  >
>  > If I = want to=20 override the imagetype, where do I change that?
> =20 >
>  >
>  >
>  >=20 regards,
>  >
>  >
> =20 >
>  > Jacob
>  >
> =20 >
>  >
>  >
>  = >
> =20 >
>  >
>  > JACOB DELFOS
> =20 >
>  > SPATIAL INFORMATION ANALYST
> =20 >
>  > Maunsell Australia Pty Ltd
> =20 >
>  > 629 Newcastle Street
>  = >
> =20 > PO Box 81
>  >
>  > Leederville=20 6902
>  >
>  > Western = Australia
> =20 >
>  > ABN 20 093 846 925
>  = >
> =20 >
>  >
>  > Tel     = + 61 8=20 9281 6185
>  >
>  > Fax    = + 61 8=20 9281 6297
>  >
>  > jacob.delfos@maunsell.com = <mailto:jacob.delfos@maunsell.co= m>
> =20 >
>  >=20 _______________________________________________
>  > = Chameleon=20 mailing list
>  > Chameleon@lists.maptools.org= =20 <mailto:Chameleon@lists.mapto= ols.org>
> =20 > <a
>=20 = href=3D'http://lists.maptools.org/mailman/listinfo/chameleon'>http://l= ists.maptools.org/mailman/listinfo/chameleon</a>
> =20 >
>  >

> if=20 (isset($http_form_vars["gszImgType"]) &&
>=20 $http_form_vars["gszImgType"] !=3D "")
>     = $szImgType =3D $http_form_vars["gszImgType"];
>
> =
>=20 = ------------------------------------------------------------------------<= BR>>=20
> _______________________________________________
> = Chameleon=20 mailing list
> Chameleon@lists.maptools.org=
>=20 http://list= s.maptools.org/mailman/listinfo/chameleon
 
--
 =20 = -----------------------------------------------------------------
|Pau= l=20 = Spencer           =             &= nbsp;  =20 pspencer@dmsolutions.ca =  =20 = |
|-----------------------------------------------------------------|<= BR>|Applications=20 & Software=20 = Development          &n= bsp;           &nb= sp;      =20 |
|DM Solutions Group=20 = Inc           &nbs= p;    =20 http://www.dmsolutions.ca/|
&n= bsp;=20 = -----------------------------------------------------------------
------=_NextPart_000_0005_01C48B82.9120C5F0-- From bartvde@xs4all.nl Thu Aug 26 08:19:16 2004 Received: from smtp-vbr7.xs4all.nl (smtp-vbr7.xs4all.nl [194.109.24.27]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7QCJF9r027817 for ; Thu, 26 Aug 2004 08:19:16 -0400 Received: from webmail.xs4all.nl (webmail8.xs4all.nl [194.109.22.168]) by smtp-vbr7.xs4all.nl (8.12.11/8.12.11) with SMTP id i7QCJ9vJ019523 for ; Thu, 26 Aug 2004 14:19:14 +0200 (CEST) (envelope-from bartvde@xs4all.nl) Received: from 213.197.234.125 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Thu, 26 Aug 2004 14:19:14 +0200 (CEST) Message-ID: <24737.213.197.234.125.1093522754.squirrel@webmail.xs4all.nl> Date: Thu, 26 Aug 2004 14:19:14 +0200 (CEST) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by XS4ALL Virus Scanner Subject: [Chameleon] drawmap and red cross X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2004 12:19:16 -0000 Hi list, lately I have been experiencing a lot of red crosses in my Chameleon applications. I first thought it was Mapscript but now I have gone back to PHP/Mapscript 4.2 release version I still have it. Sometimes the map loads progressively, and then it stops and the red cross appears. Sometimes even the red cross appears before the map image shows. I upgraded to the latest drawmap.php as I assumed this caused the problem (my assessment of this can be wrong however), but no changes. There does not seem to be any regularity in the red cross appearing. PHP/Mapscript only serves CONNECTIONTYPE WMS layers in my apps. Any ideas on how to solve or debug this? Thanks in advance. Best regards, Bart From pagameba@magma.ca Thu Aug 26 09:44:57 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7QDiv9r028549 for ; Thu, 26 Aug 2004 09:44:57 -0400 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx1.magmacom.com (8.13.0/8.13.0) with ESMTP id i7QDiusb022726; Thu, 26 Aug 2004 09:44:57 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail1.magma.ca (8.13.0/8.13.0) with ESMTP id i7QDiFrq009449; Thu, 26 Aug 2004 09:44:56 -0400 Message-ID: <412DE926.8030102@magma.ca> Date: Thu, 26 Aug 2004 09:44:06 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ken Sanderson Subject: Re: [Chameleon] raster hang References: <004b01c48ad1$7d825d30$31289f88@GLADSTONE> In-Reply-To: <004b01c48ad1$7d825d30$31289f88@GLADSTONE> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2004 13:44:57 -0000 perhaps. You could try deleting all those temp images and using a chameleon app to convince yourself :) Note chameleon will create some images in this folder, specifically legend icons, Ken Sanderson wrote: > Really? My temp folder has images in there, perhaps its from Maplab > preview, would it be creating the images differently? > > Ken > > -----Original Message----- > From: Paul Spencer [mailto:pagameba@magma.ca] > Sent: August 25, 2004 12:17 PM > To: Ken Sanderson > Cc: 'Ken-ichi'; Chameleon@lists.maptools.org > Subject: Re: [Chameleon] raster hang > > > Actually, for the map image, it never gets saved to disk. It is drawn > directly from a php script called drawmap.php. You can view source on > the page and search for drawmap.php to find the URL that is actually > called, and then paste it into the address bar to see the results > directly. > > Cheers, > > Paul > > Ken Sanderson wrote: > > >>Chameleon/Mapserver puts the image rendered in your mapserver temp >>folder. >> >>Ken >> >>-----Original Message----- >>From: chameleon-bounces@lists.maptools.org >>[mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Ken-ichi >>Sent: August 25, 2004 11:42 AM >>To: Chameleon@lists.maptools.org >>Subject: Re: [Chameleon] raster hang >> >> >>Interesting workaround, Jacob. My map image is 400x450, which doesn't >>seem exorbitantly large to me. While it does seem like this is a >>PHP-related problem, I have my doubts about blaming PHP's performance > > if > >>the problem doesn't occur with a file of the same size but in a >>different format (i.e. the .img that seems to work ok for me). This >>might make sense if I was using the built-in TIFF functionality as >>opposed to GDAL but I compiled MapServer without the --with-tiff, so > > in > >>theory it should be relying on GDAL for TIFFs. Is there any way to >>confirm this? >> >>I was also unable to find the URL for my map image to test if it's >>getting rendered. All I see is skins/default/images/a_pixel.gif. How > > >>exactly does Chameleon render and store the map image? >> >>Do you experience this problem in a non-Chameleon phpMapScript >>environment? >> >>-Ken-ichi >> >>Jacob Delfos wrote: >> >> >> >>>Ken-Ichi, >>> >>>It sounds a little bit like the problem I seem to have with rasters; >>>only happening every so many times, especially when there is more >>>image in view. I have it with ECW's and TIFF (45MB RGB). My map image >>>fails, and the session seems to hang, because I can't submit the page, >> >> >>>but I seem to be able to open a new session in another window without >>>much delay. I tried changing my settings in php.ini, but it had no >>>effect. I have 'patched' my problem by placing the OnError tag in the >>>mapDHTMLwidget image, invoking a function when it fails, which >>>re-loads the map image after a small delay. My diagnosis so far is >>>that something gets ahead of itself, serving the source to the client >>>browser, and the client browser requesting the image, before the image >> >> >>>has begun being rendered. You will find that the URL of your mapimage >>>is valid. >>> >>>I think it happens with PHP because it's slower than, for example, >>>mapserver. What is the size of your map image. Is it larger than >>>average, by any chance? >>> >>>Jacob >>> >>> >>> >>>-----Original Message----- >>>From: chameleon-bounces@lists.maptools.org >>> >>>[mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Ken-ichi >>>Sent: 25 August 2004 04:07 >>>To: Chameleon@lists.maptools.org >>>Subject: Re: [Chameleon] raster hang >>> >>> >>>I should also mention that this problem is probably TIFF specific. It >> >> >>>does not occur when I use an Erdas Imagine (.img) format image of the >>>same area, which is also about the same file size. >>> >>>-Ken-ichi >>> >>>Ken-ichi wrote: >>> >>> >>> >>>>Thanks for responding, Paul. I've actually set my php.ini file to >>>>be very lenient on resource use for other purposes, so I doubt it's >>>>that: >>>> >>>>max_execution_time = 60 >>>>max_input_time = 120 >>>>memory_limit = 510M >>>> >>>>I did a little more testing and found that this also happens with >>>>non-Chameleon phpMapScript (the MapLab non-ROSA preview app), and >>>>with other GeoTIFFs, but not with the mapserv CGI or the ROSA >>>>applet. So I'm guessing you were right to suspect the PHP side of >>>>things. Any more ideas, or should I take this to a more MapScript >>>>specific list? >>>> >>>>-Ken-ichi >>>> >>>>Ken-ichi wrote: >>>> >>>> >>>> >>>>>Hi folks. I've started trying to add a GeoTIFF to my Chameleon >>>>>app, and it really bogs it down, sometimes to a stand still. The >>>>>image I'm experimenting with is a 29mb unsigned 8bit GeoTIFF >>>>>created in Erdas. The hangs are most frequent when the tiff >>>>>occupies the whole map, and when I say hang, I mean that the map >>>>>just doesn't render. The hangs also seem to generate an httpd >>>>>process that takes up a lot >>>>>(>20%) of my CPU activity. The relevant portion of my map file is >>>>>pretty simple: >>>>> >>>>>LAYER >>>>> NAME "Test Raster" >>>>> TYPE RASTER >>>>> DATA "/path/to/data.tif" >>>>> STATUS DEFAULT >>>>>END >>>>> >>>>>I haven't specified an outputformat, except in the MAP section, >>>>>where I've set it to PNG (but I've switched around and that doesn't >> >> >>>>>seem to make much difference). This problem does not seem to occur >> >> >>>>>outside of Chameleon (everything works fine in MapLab's ROSA >>>>>applet), and it doesn't happen every time the map is loaded >>>>>(although it inevitably happens if you refresh the map enough). >>>>> >>>>>Has anyone experienced this kind of behavior before? Even better, >>>>>anyone have any recommendations? >>>>> >>>>>-Ken-ichi >>>>> >>>>> >>>>>_______________________________________________ >>>>>Chameleon mailing list >>>>>Chameleon@lists.maptools.org >>>>>http://lists.maptools.org/mailman/listinfo/chameleon >>>> >>>> >>>_______________________________________________ >>>Chameleon mailing list >>>Chameleon@lists.maptools.org >>>http://lists.maptools.org/mailman/listinfo/chameleon >>> >>> >>>---------------------------------------------------------------------- >>>- >>>- >>> >>>_______________________________________________ >>>Chameleon mailing list >>>Chameleon@lists.maptools.org >>>http://lists.maptools.org/mailman/listinfo/chameleon >>> >>> >> >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From eric@gomoos.org Thu Aug 26 16:09:00 2004 Received: from mail.gomoos.org (www.gomoos.org [66.70.82.140]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7QK909r031964 for ; Thu, 26 Aug 2004 16:09:00 -0400 Received: from dot170.office.gomoos.org (rrcs-nys-24-97-59-226.biz.rr.com [24.97.59.226]) by mail.gomoos.org (8.12.8p2/8.12.8) with ESMTP id i7QK8lZ8021667 for ; Thu, 26 Aug 2004 16:08:58 -0400 (EDT) (envelope-from eric@gomoos.org) From: Eric Bridger To: "chameleon@lists.maptools.org" In-Reply-To: <412B3889.7070005@magma.ca> References: <000401c489a1$019c0a80$31289f88@GLADSTONE> <412B3889.7070005@magma.ca> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 (1.0.3-4) Date: 26 Aug 2004 16:03:35 -0400 Message-Id: <1093550631.10084.51.camel@ubet.gomoos.org> Mime-Version: 1.0 X-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL,BAYES_00, TO_ADDRESS_EQ_REAL autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on peleg.gomoos.org Subject: [Chameleon] Testing Beta2 Service Instance X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2004 20:09:01 -0000 I'm having trouble attempting to test the 1.99 Beta2 CWC2 Service Instance using the supplied default application. I'm following the instructions in cwc2/CWC2_INSTALLATION.txt file. I think I have the service instance installed correctly, following the steps in that document. An existing Beta 1 Chameleon 1.99 only application works fine with the Beta2 installation. The first service instance test: http:///cwc2/cwc2.php returns the correct error message. But the second service intance test of the default application is failing: http:///cwc2/cwc2.php?service=VCG&request=GetApplication&version=0.1.0 The browser displays: ... query string was service=VCG&request=GetApplication&version=0.1.0 Invalid request. No CONTEXTS parameter was provided and the Service Instance has no default context I used the supplied default_context: cwc2/contexts/world_context.xml and template: cwc2/templates/sample_cwc2.html, etc. My Apache error log is showing: PHP Notice: Undefined offset: 1 in /usr/opt/chameleon/chameleon-1.99beta-20040709/htdocs/common/appcontext/appcontext.php on line 213 PHP Notice: Undefined index: param-value in /usr/opt/chameleon/chameleon-1.99beta-20040709/htdocs/common/appcontext/appcontext.php on line 276 Debugs added by me confirm that appcontext.php is attempting to parse the correct cwc2.xml file but is failing on the first token in the parseContextFile() routine. Eric From pagameba@magma.ca Thu Aug 26 16:17:19 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7QKHJ9r032086 for ; Thu, 26 Aug 2004 16:17:19 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (8.13.0/8.13.0) with ESMTP id i7QKHGiV017659; Thu, 26 Aug 2004 16:17:17 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail2.magma.ca (8.13.0/8.13.0) with ESMTP id i7QKHCQR008348; Thu, 26 Aug 2004 16:17:16 -0400 Message-ID: <412E453F.1040607@magma.ca> Date: Thu, 26 Aug 2004 16:17:03 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eric Bridger Subject: Re: [Chameleon] Testing Beta2 Service Instance References: <000401c489a1$019c0a80$31289f88@GLADSTONE> <412B3889.7070005@magma.ca> <1093550631.10084.51.camel@ubet.gomoos.org> In-Reply-To: <1093550631.10084.51.camel@ubet.gomoos.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: "chameleon@lists.maptools.org" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2004 20:17:19 -0000 Eric, check for invalid structure in the chameleon.xml file, there was a bug in the description element of the web_server_path ... look for < or > without a trailing ; and add the trailing ; Cheers, Paul Eric Bridger wrote: > I'm having trouble attempting to test the 1.99 Beta2 CWC2 Service > Instance using the supplied default application. I'm following the > instructions in cwc2/CWC2_INSTALLATION.txt file. > > I think I have the service instance installed correctly, following the > steps in that document. > > An existing Beta 1 Chameleon 1.99 only application works fine with the > Beta2 installation. > The first service instance test: > http:///cwc2/cwc2.php > > returns the correct error message. > > But the second service intance test of the default application is > failing: > http:///cwc2/cwc2.php?service=VCG&request=GetApplication&version=0.1.0 > The browser displays: > ... > query string was service=VCG&request=GetApplication&version=0.1.0 > Invalid request. No CONTEXTS parameter was provided and the Service > Instance has no default context > > > I used the supplied default_context: cwc2/contexts/world_context.xml and > template: cwc2/templates/sample_cwc2.html, etc. > > My Apache error log is showing: > > PHP Notice: Undefined offset: 1 in > /usr/opt/chameleon/chameleon-1.99beta-20040709/htdocs/common/appcontext/appcontext.php on line 213 > PHP Notice: Undefined index: param-value in > /usr/opt/chameleon/chameleon-1.99beta-20040709/htdocs/common/appcontext/appcontext.php on line 276 > > > Debugs added by me confirm that appcontext.php is attempting to parse > the correct cwc2.xml file but is failing on the first token in the > parseContextFile() routine. > > > Eric > > > > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From fils@iastate.edu Thu Aug 26 16:49:36 2004 Received: from mailhub-3.iastate.edu (mailhub-3.iastate.edu [129.186.140.13]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7QKnZ9r032376 for ; Thu, 26 Aug 2004 16:49:36 -0400 Received: from mailout-1.iastate.edu (mailout-1.iastate.edu [129.186.140.1]) by mailhub-3.iastate.edu (8.12.10/8.12.10) with SMTP id i7QKnXls025795 for ; Thu, 26 Aug 2004 15:49:33 -0500 Received: from cws0.geol.iastate.edu(129.186.121.181) by mailout-1.iastate.edu via csmap id b83ee5a6_f7a0_11d8_8e15_00304811d932_1754; Thu, 26 Aug 2004 20:44:26 +0000 (UTC) Message-ID: <412E4CDE.5020109@iastate.edu> Date: Thu, 26 Aug 2004 15:49:34 -0500 From: Douglas Fils User-Agent: Mozilla Thunderbird 0.7 (X11/20040615) X-Accept-Language: en-us, en MIME-Version: 1.0 To: chameleon@lists.maptools.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Chameleon] passing parameters via method get X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2004 20:49:36 -0000 All, I looked around on the FAQ file and wiki and didn't see anything related to this. Was curious if anyone has done this before. I would like to be able to pass parameters via method GET into chameleon such that people could arrive at the interface with certain layers and parameters already active/set. Is it possible to simple grab these values off the URL and set them for the app to use? For example in the samples I was able to append: ?ZoomFactor=34.2 to the URL and get a newly (and not very good) zoom factor set. However, a little playing and I was not able to turn form values (for example layers) on. thanks doug From jacob.delfos@maunsell.com Thu Aug 26 21:04:55 2004 Received: from auper1gw001.hgm.com.au ([202.139.2.70]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7R14q9r001768 for ; Thu, 26 Aug 2004 21:04:53 -0400 Received: from auper1gw001.hgm.com.au (localhost.localdomain [127.0.0.1]) by auper1gw001.hgm.com.au (8.12.8/8.12.8) with ESMTP id i7R1ADUr029160 for ; Fri, 27 Aug 2004 09:10:13 +0800 Received: from ace.hgm.com.au (ace [172.21.40.11]) by auper1gw001.hgm.com.au (8.12.8/8.12.8) with ESMTP id i7R1ABRG029155 for ; Fri, 27 Aug 2004 09:10:12 +0800 Received: from auper1pc364 (Jacob_Delfos [172.21.40.93]) by ace.hgm.com.au (8.9.3/8.9.3) with SMTP id JAA16340 for ; Fri, 27 Aug 2004 09:12:29 +0800 (WST) Message-ID: <000d01c48bd1$c7d33570$5d2815ac@auper1pc364> From: "Jacob Delfos" To: Subject: RE: [Chameleon] Testing Beta2 Service Instance Date: Fri, 27 Aug 2004 09:04:18 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000A_01C48C14.D57F2290" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Aug 2004 01:04:55 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_000A_01C48C14.D57F2290 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Paul, This fix worked well for me too. But it seems that when using the CWC = instance, the paths to the javascript files are incorrect. It looks for = a path like http://localhost/widgets/js/cwc_dhtml.js or equivalent for = the other javascript files. It doesn't seem to pick up the = service_instance_path correctly, or this parameter doesn't find its way = through to the gszCoreWebPath variable. Probably because this variable = is set to the web_server_path in chameleon.php, but even if I place = web_server_path in cwc2.xml and set it to contain my = server_instance_path, it doesn't work. regards, Jacob -----Original Message----- From: chameleon-bounces@lists.maptools.org = [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Paul Spencer Sent: 27 August 2004 04:17 To: Eric Bridger Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Testing Beta2 Service Instance Eric, check for invalid structure in the chameleon.xml file, there was a = bug in the description element of the web_server_path ... look for <=20 or > without a trailing ; and add the trailing ; Cheers, Paul Eric Bridger wrote: > I'm having trouble attempting to test the 1.99 Beta2 CWC2 Service > Instance using the supplied default application. I'm following the > instructions in cwc2/CWC2_INSTALLATION.txt file. >=20 > I think I have the service instance installed correctly, following the > steps in that document. >=20 > An existing Beta 1 Chameleon 1.99 only application works fine with the > Beta2 installation. > The first service instance test: > http:///cwc2/cwc2.php >=20 > returns the correct error message. >=20 > But the second service intance test of the default application is > failing: > = http:///cwc2/cwc2.php?service=3DVCG&request=3DGetApplication&ve= rsion=3D0.1.0 > The browser displays: > ... > query string was = service=3DVCG&request=3DGetApplication&version=3D0.1.0 > Invalid request. No CONTEXTS parameter was provided and the Service > Instance has no default context >=20 >=20 > I used the supplied default_context: cwc2/contexts/world_context.xml = and > template: cwc2/templates/sample_cwc2.html, etc. >=20 > My Apache error log is showing: >=20 > PHP Notice: Undefined offset: 1 in > = /usr/opt/chameleon/chameleon-1.99beta-20040709/htdocs/common/appcontext/a= ppcontext.php on line 213 > PHP Notice: Undefined index: param-value in > = /usr/opt/chameleon/chameleon-1.99beta-20040709/htdocs/common/appcontext/a= ppcontext.php on line 276 >=20 >=20 > Debugs added by me confirm that appcontext.php is attempting to parse > the correct cwc2.xml file but is failing on the first token in the > parseContextFile() routine. >=20 >=20 > Eric >=20 >=20 >=20 >=20 >=20 >=20 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon >=20 --=20 ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon ------=_NextPart_000_000A_01C48C14.D57F2290 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Paul,
 
This fix worked well for me too. But it = seems that=20 when using the CWC instance, the paths to the javascript files are = incorrect. It=20 looks for a path like http://localhost/widgets/js/cwc_dhtml.js or equivalent for the other = javascript=20 files. It doesn't seem to pick up the service_instance_path correctly, = or this=20 parameter doesn't find its way through to the gszCoreWebPath variable. = Probably=20 because this variable is set to the web_server_path in chameleon.php, = but even=20 if I place web_server_path in cwc2.xml and set it to contain my=20 server_instance_path, it doesn't work.
 
regards,
 
Jacob
 
 
-----Original Message-----
From: chameleon-bounces@li= sts.maptools.org=20 [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Paul = Spencer
Sent:=20 27 August 2004 04:17
To: Eric Bridger
Cc: chameleon@lists.maptools.org=
Subject:=20 Re: [Chameleon] Testing Beta2 Service Instance
 

Eric, check for invalid structure in the chameleon.xml file, = there was=20 a
bug in the description element of the web_server_path ... look for = &lt=20
or &gt without a trailing ; and add the trailing ;
 
Cheers,
 
Paul
 
Eric Bridger wrote:
 
> I'm having trouble attempting to test the 1.99 Beta2 CWC2=20 Service
> Instance using the supplied default application. I'm = following=20 the
> instructions in cwc2/CWC2_INSTALLATION.txt file.
> =
> I=20 think I have the service instance installed correctly, following = the
>=20 steps in that document.
>
> An existing Beta 1 Chameleon = 1.99 only=20 application works fine with the
> Beta2 installation.
> The = first=20 service instance test:
> /cwc2/cwc2.php">http://<myserver>/cwc2/cwc= 2.php
>=20
> returns the correct error message.
>
> But the = second=20 service intance test of the default application is
> = failing:
> /cwc2/cwc2.php?service=3DVCG&request=3DGetAp= plication&version=3D0.1.0">http://<myserver>/cwc2/cwc2.php?serv= ice=3DVCG&request=3DGetApplication&version=3D0.1.0
>=20 The browser displays:
> ...
> query string was=20 service=3DVCG&request=3DGetApplication&version=3D0.1.0
> = Invalid=20 request. No CONTEXTS parameter was provided and the Service
> = Instance has=20 no default context
>
>
> I used the supplied=20 default_context: cwc2/contexts/world_context.xml and
> template:=20 cwc2/templates/sample_cwc2.html, etc.
>
> My Apache error = log is=20 showing:
>
> PHP Notice:  Undefined offset:  1 = in
>=20 /usr/opt/chameleon/chameleon-1.99beta-20040709/htdocs/common/appcontext/a= ppcontext.php=20 on line 213
> PHP Notice:  Undefined index:  param-value = in
>=20 /usr/opt/chameleon/chameleon-1.99beta-20040709/htdocs/common/appcontext/a= ppcontext.php=20 on line 276
>
>
> Debugs added by me confirm that=20 appcontext.php is attempting to parse
> the correct cwc2.xml file = but is=20 failing on the first token in the
> parseContextFile() = routine.
>=20
>
> Eric
>
>
>
>
> =
>=20
> _______________________________________________
> = Chameleon=20 mailing list
> Chameleon@lists.maptools.org=
>=20 http://list= s.maptools.org/mailman/listinfo/chameleon
>=20
 
--
 =20 -----------------------------------------------------------------
|Pau= l=20 Spencer           =             &= nbsp;  =20 pspencer@dmsolutions.ca =  =20 |
|-----------------------------------------------------------------|<= BR>|Applications=20 & Software=20 Development          &n= bsp;           &nb= sp;      =20 |
|DM Solutions Group=20 Inc           &nbs= p;    =20 http://www.dmsolutions.ca/|
&n= bsp;=20 -----------------------------------------------------------------
 
_______________________________________________
Chameleon = mailing=20 list
Chameleon@lists.maptools.org=
http://list= s.maptools.org/mailman/listinfo/chameleon
------=_NextPart_000_000A_01C48C14.D57F2290-- From bartvde@xs4all.nl Fri Aug 27 02:08:52 2004 Received: from smtp-vbr11.xs4all.nl (smtp-vbr11.xs4all.nl [194.109.24.31]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7R68p9r003625 for ; Fri, 27 Aug 2004 02:08:51 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-vbr11.xs4all.nl (8.12.11/8.12.11) with SMTP id i7R68i5x006385 for ; Fri, 27 Aug 2004 08:08:49 +0200 (CEST) (envelope-from bartvde@xs4all.nl) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Fri, 27 Aug 2004 08:08:50 +0200 (CEST) Message-ID: <18314.212.238.227.182.1093586930.squirrel@webmail.xs4all.nl> Date: Fri, 27 Aug 2004 08:08:50 +0200 (CEST) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by XS4ALL Virus Scanner Subject: [Chameleon] mapDHTMLwidget occassionally fails X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Aug 2004 06:08:53 -0000 Hi list (and especially Paul and Jacob), what has been the outcome of the following problem (mapDHTMLwidget occasionally fails): http://lists.maptools.org/pipermail/chameleon/2004-August/001197.html Paul is talking about a change you can make to the MapDHTMLWidget source. Did this work, and what was this change? I am facing the exact same problems. Thanks in advance. Best regards, Bart From jacob.delfos@maunsell.com Fri Aug 27 02:26:47 2004 Received: from auper1gw001.hgm.com.au ([202.139.2.70]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7R6Qi9r003788 for ; Fri, 27 Aug 2004 02:26:46 -0400 Received: from auper1gw001.hgm.com.au (localhost.localdomain [127.0.0.1]) by auper1gw001.hgm.com.au (8.12.8/8.12.8) with ESMTP id i7R6W5Ur031519 for ; Fri, 27 Aug 2004 14:32:05 +0800 Received: from ace.hgm.com.au (ace [172.21.40.11]) by auper1gw001.hgm.com.au (8.12.8/8.12.8) with ESMTP id i7R6W4RG031514 for ; Fri, 27 Aug 2004 14:32:05 +0800 Received: from auper1pc364 (Jacob_Delfos [172.21.40.93]) by ace.hgm.com.au (8.9.3/8.9.3) with SMTP id OAA18276 for ; Fri, 27 Aug 2004 14:34:22 +0800 (WST) Message-ID: <000801c48bfe$bf74bf70$5d2815ac@auper1pc364> From: "Jacob Delfos" To: Subject: RE: [Chameleon] Testing Beta2 Service Instance - ignore my previous dumb message Date: Fri, 27 Aug 2004 14:26:11 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C48C41.CD1E62A0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Aug 2004 06:26:48 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C48C41.CD1E62A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable never mind. Is working now. No idea why..... Would the mapfile and template have to be specified in the url? The = default mapfile and template are no longer in the config..... ------=_NextPart_000_0005_01C48C41.CD1E62A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
never mind. Is working now. No idea=20 why.....
 
Would the mapfile and template have to = be specified=20 in the url? The default mapfile and template are no longer in the=20 config.....
------=_NextPart_000_0005_01C48C41.CD1E62A0-- From bartvde@xs4all.nl Fri Aug 27 04:37:51 2004 Received: from smtp-vbr3.xs4all.nl (smtp-vbr3.xs4all.nl [194.109.24.23]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7R8bo9r005464 for ; Fri, 27 Aug 2004 04:37:51 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-vbr3.xs4all.nl (8.12.11/8.12.11) with SMTP id i7R8biR8043577 for ; Fri, 27 Aug 2004 10:37:49 +0200 (CEST) (envelope-from bartvde@xs4all.nl) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Fri, 27 Aug 2004 10:37:49 +0200 (CEST) Message-ID: <10709.212.238.227.182.1093595869.squirrel@webmail.xs4all.nl> In-Reply-To: References: Date: Fri, 27 Aug 2004 10:37:49 +0200 (CEST) Subject: RE: [Chameleon] mapDHTMLwidget occassionally fails From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by XS4ALL Virus Scanner X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Aug 2004 08:37:51 -0000 Hi Jacob, thanks. I'll give your fix a try. Paul, since more people are experiencing these problems, has the cause of this problem been identified and will it be fixed in the next Chameleon? Will this change the way the Chameleon map load now works? BTW Jacob: did you write the Dutch with an automatic translator, or you actually speak it? Best regards, Bart > > Hi Bart, > > It's not really a fix, more like a cover-up. I did it for the 1.0.4 > version, > but just now I managed to get a similar solution working for 1.99. > > For 1.99, in mapDHTMLwidget.js, add the following code at the end: > > -------------------------------------- > var backupURL = ""; > function imageErrorOccurred (mapurl) > { > //alert (mapurl); > document.images["MapLayerDivImg"].src = > document.images["mapimage"].src; > backupURL = mapurl; > setTimeout("reloadImage()",500); > } > > function reloadImage() > { > document.images['MapLayerDivImg'].src = backupURL; > } > ------------------------------------------ > > Then place the following attribute in your MapLayerDivImg definition: > > onError=\"imageErrorOccurred(gMapDHTMLURL)\" > > > What it does: when the image breaks, it immediately replaces the image > source with that of the empty white pixel (to prevent the user from seeing > a > broken image), and after a small delay it loads the correct url into the > image. It works for me. > > It's a slightly different implementation in version 1.0.4 (you'd have to > modify mapDHTMLimage.widget.php). I'm not sure which one you're after, so > I'll attach both files. Use the JS for 1.99, the php for 1.0.4. > > regards, > > Jacob > > > P.S. Sorry voor de onmeundig lelijke PHP code. Geen idee wa'k doe in die > taal. (Forgive me my ugly PHP coding. Have been too lazy to look for good > tutorial.) > > > > > > > > > > > > > From pagameba@magma.ca Fri Aug 27 08:21:42 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7RCLf9r007381 for ; Fri, 27 Aug 2004 08:21:41 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (8.13.0/8.13.0) with ESMTP id i7RCLe46026071; Fri, 27 Aug 2004 08:21:41 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail2.magma.ca (8.13.0/8.13.0) with ESMTP id i7RCLWoJ005361; Fri, 27 Aug 2004 08:21:40 -0400 Message-ID: <412F2743.6010409@magma.ca> Date: Fri, 27 Aug 2004 08:21:23 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl Subject: Re: [Chameleon] mapDHTMLwidget occassionally fails References: <10709.212.238.227.182.1093595869.squirrel@webmail.xs4all.nl> In-Reply-To: <10709.212.238.227.182.1093595869.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Aug 2004 12:21:42 -0000 Bart, I have yet to reproduce this problem so I have no timeline yet on fixing it, there is nothing that jumps out at me as being obviously wrong. I don't think there will be any changes in the way chameleon loads maps for the next version, although I would like to add more robust error handling ... Paul bartvde@xs4all.nl wrote: > Hi Jacob, > > thanks. I'll give your fix a try. > > Paul, since more people are experiencing these problems, has the cause of > this problem been identified and will it be fixed in the next Chameleon? > Will this change the way the Chameleon map load now works? > > BTW Jacob: did you write the Dutch with an automatic translator, or you > actually speak it? > > Best regards, > Bart > > >>Hi Bart, >> >>It's not really a fix, more like a cover-up. I did it for the 1.0.4 >>version, >>but just now I managed to get a similar solution working for 1.99. >> >>For 1.99, in mapDHTMLwidget.js, add the following code at the end: >> >>-------------------------------------- >>var backupURL = ""; >>function imageErrorOccurred (mapurl) >> { >> //alert (mapurl); >> document.images["MapLayerDivImg"].src = >>document.images["mapimage"].src; >> backupURL = mapurl; >> setTimeout("reloadImage()",500); >> } >> >>function reloadImage() >> { >> document.images['MapLayerDivImg'].src = backupURL; >> } >>------------------------------------------ >> >>Then place the following attribute in your MapLayerDivImg definition: >> >>onError=\"imageErrorOccurred(gMapDHTMLURL)\" >> >> >>What it does: when the image breaks, it immediately replaces the image >>source with that of the empty white pixel (to prevent the user from seeing >>a >>broken image), and after a small delay it loads the correct url into the >>image. It works for me. >> >>It's a slightly different implementation in version 1.0.4 (you'd have to >>modify mapDHTMLimage.widget.php). I'm not sure which one you're after, so >>I'll attach both files. Use the JS for 1.99, the php for 1.0.4. >> >>regards, >> >>Jacob >> >> >>P.S. Sorry voor de onmeundig lelijke PHP code. Geen idee wa'k doe in die >>taal. (Forgive me my ugly PHP coding. Have been too lazy to look for good >>tutorial.) >> >> >> >> >> >> >> >> >> >> >> >> >> > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Fri Aug 27 08:43:40 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7RChe9r007594 for ; Fri, 27 Aug 2004 08:43:40 -0400 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx1.magmacom.com (8.13.0/8.13.0) with ESMTP id i7RChcwA005612; Fri, 27 Aug 2004 08:43:39 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail1.magma.ca (8.13.0/8.13.0) with ESMTP id i7RChaC7020308; Fri, 27 Aug 2004 08:43:39 -0400 Message-ID: <412F2C6E.9060101@magma.ca> Date: Fri, 27 Aug 2004 08:43:26 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jacob Delfos Subject: Re: [Chameleon] Testing Beta2 Service Instance - ignore my previous dumb message References: <000801c48bfe$bf74bf70$5d2815ac@auper1pc364> In-Reply-To: <000801c48bfe$bf74bf70$5d2815ac@auper1pc364> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Aug 2004 12:43:40 -0000 Jacob, with the service instance, there is no map file, just contexts ... see the rudimentary documentation at: http://www.maptools.org/chameleon/index.phtml?page=chameleon-1.99_CWC2Service_Instance.txt The service instance no longer uses a MAP file even as a default, it uses an empty mapobj that is created on the fly. This means that you cannot add local layers to the service instance apps in the way you could with 1.0.x Paul Jacob Delfos wrote: > never mind. Is working now. No idea why..... > > Would the mapfile and template have to be specified in the url? The > default mapfile and template are no longer in the config..... > > > ------------------------------------------------------------------------ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From eric@gomoos.org Fri Aug 27 10:05:01 2004 Received: from mail.gomoos.org (www.gomoos.org [66.70.82.140]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7RE519r008347 for ; Fri, 27 Aug 2004 10:05:01 -0400 Received: from dot170.office.gomoos.org (rrcs-nys-24-97-59-226.biz.rr.com [24.97.59.226]) by mail.gomoos.org (8.12.8p2/8.12.8) with ESMTP id i7RE4iZ8007068; Fri, 27 Aug 2004 10:04:45 -0400 (EDT) (envelope-from eric@gomoos.org) Subject: Re: [Chameleon] Testing Beta2 Service Instance From: Eric Bridger To: Paul Spencer In-Reply-To: <412E453F.1040607@magma.ca> References: <000401c489a1$019c0a80$31289f88@GLADSTONE> <412B3889.7070005@magma.ca> <1093550631.10084.51.camel@ubet.gomoos.org> <412E453F.1040607@magma.ca> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 (1.0.3-4) Date: 27 Aug 2004 09:59:31 -0400 Message-Id: <1093615180.1809.7.camel@ubet.gomoos.org> Mime-Version: 1.0 X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on peleg.gomoos.org Cc: "chameleon@lists.maptools.org" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Aug 2004 14:05:02 -0000 On Thu, 2004-08-26 at 16:17, Paul Spencer wrote: > Eric, check for invalid structure in the chameleon.xml file, there was a > bug in the description element of the web_server_path ... look for < > or > without a trailing ; and add the trailing ; > > Cheers, > > Paul > Thanks Paul. That did the trick and allowed my next problem to emerge. The default sample application template is loading, controls are displaying e.g. Zoom buttons, pan arrows, scale bar, etc, but no map or key map are displaying. Javascripts are loading fine. Apache log: PHP Warning: [MapServer Error]: msLoadMapContext(): Unable to read /opt/chamelon/chameleon/cwc2/contexts/world_context.xml in /usr/opt/chameleon/chameleon-1.99beta-20040709/cwc2/htdocs/cwc2.php on line 639 PHP Warning: [MapServer Error]: msGetMapContextFileText(): (/opt/chamelon/chameleon/cwc2/contexts/world_context.xml) in /usr/opt/chameleon/chameleon-1.99beta-20040709/cwc2/htdocs/cwc2.php on line 639 PHP Warning: Failed loading map context from /opt/chamelon/chameleon/cwc2/contexts/world_context.xml in /usr/opt/chameleon/chameleon-1.99beta-20040709/cwc2/htdocs/cwc2.php on line 639 PHP Fatal error: [MapServer Error]: msProcessProjection(): projection not named in /usr/opt/chameleon/chameleon-1.99beta-20040709/htdocs/common/wrapper/drawmap.php on line 1097 Any hints about this? Eric From jacob.delfos@maunsell.com Sun Aug 29 21:28:05 2004 Received: from auper1gw001.hgm.com.au ([202.139.2.70]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7U1S29r010645 for ; Sun, 29 Aug 2004 21:28:04 -0400 Received: from auper1gw001.hgm.com.au (localhost.localdomain [127.0.0.1]) by auper1gw001.hgm.com.au (8.12.8/8.12.8) with ESMTP id i7U1XOM8011405 for ; Mon, 30 Aug 2004 09:33:24 +0800 Received: from auper1pc364 (Jacob_Delfos [172.21.40.93]) by auper1gw001.hgm.com.au (8.12.8/8.12.8) with SMTP id i7U1XMMW011400 for ; Mon, 30 Aug 2004 09:33:24 +0800 Message-ID: <003601c48e30$82646b10$5d2815ac@auper1pc364> From: "Jacob Delfos" To: Subject: RE: [Chameleon] mapDHTMLwidget occassionally fails Date: Mon, 30 Aug 2004 09:27:25 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0033_01C48E73.8F9E0E60" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2004 01:28:05 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0033_01C48E73.8F9E0E60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Bart, I actually noticed this problem happening with other images as well = (e.g. buttons, legend images, etc, after a submit). They just show up as = broken images. And that was on a dial-up connection. I don't think it's = anything wrong with the chameleon code, but rather something with how = apache interacts with PHP. Chameleon probably pushes that to its limits. = The fact that it is so hard to reproduce when you want it to happen = makes it annoying to debug. What hardware do you run? I have it = happening on a P4 2.8GHz, win2k, Apache 2.0.48. By the way, the file I sent you (MapDHTMLWidget.widget.php.forCWC1.0.4) = has an extra << > Hi Bart, > > It's not really a fix, more like a cover-up. I did it for the 1.0.4 > version, > but just now I managed to get a similar solution working for 1.99. > > For 1.99, in mapDHTMLwidget.js, add the following code at the end: > > -------------------------------------- > var backupURL =3D ""; > function imageErrorOccurred (mapurl) > { > //alert (mapurl); > document.images["MapLayerDivImg"].src =3D > document.images["mapimage"].src; > backupURL =3D mapurl; > setTimeout("reloadImage()",500); > } > > function reloadImage() > { > document.images['MapLayerDivImg'].src =3D backupURL; > } > ------------------------------------------ > > Then place the following attribute in your MapLayerDivImg definition: > > onError=3D\"imageErrorOccurred(gMapDHTMLURL)\" > > > What it does: when the image breaks, it immediately replaces the image > source with that of the empty white pixel (to prevent the user from = seeing > a > broken image), and after a small delay it loads the correct url into = the > image. It works for me. > > It's a slightly different implementation in version 1.0.4 (you'd have = to > modify mapDHTMLimage.widget.php). I'm not sure which one you're after, = so > I'll attach both files. Use the JS for 1.99, the php for 1.0.4. > > regards, > > Jacob > > > P.S. Sorry voor de onmeundig lelijke PHP code. Geen idee wa'k doe in = die > taal. (Forgive me my ugly PHP coding. Have been too lazy to look for = good > tutorial.) > > > > > > > > > > > > > _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon ------=_NextPart_000_0033_01C48E73.8F9E0E60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Bart,
 
I actually noticed this problem = happening with=20 other images as well (e.g. buttons, legend images, etc, after a submit). = They=20 just show up as broken images. And that was on a dial-up connection. I = don't=20 think it's anything wrong with the chameleon code, but rather something = with how=20 apache interacts with PHP. Chameleon probably pushes that to its limits. = The=20 fact that it is so hard to reproduce when you want it to happen makes it = annoying to debug. What hardware do you run? I have it happening on a P4 = 2.8GHz,=20 win2k, Apache 2.0.48.
By the way, the file I sent you=20 (MapDHTMLWidget.widget.php.forCWC1.0.4) has an extra = <<<EOT on=20 line 998, which must be removed.
 
I think the best fix would be if every = image in=20 chameleon (legend, button, mapimage, etc.) had an 'onError' attribute, = which=20 would invoke a function that reloads that image after a delay. I have = tried to=20 find out whether there is a function to check whether an image loaded=20 successfully (e.g. by checking filesize), but I couldn't find = one.
 
BTW Bart, I am Dutch. Moved = to Australia 4.5=20 years ago.
 
regards,
 
Jacob
 
 
 
 
-----Original Message-----
From: chameleon-bounces@li= sts.maptools.org=20 [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of bartvde@xs4all.nl
Sent: 27 = August 2004=20 16:38
To: chameleon@lists.maptools.org=
Subject:=20 RE: [Chameleon] mapDHTMLwidget occassionally fails
 

Hi Jacob,
 
thanks. I'll give your fix a try.
 
Paul, since more people are experiencing these problems, has the = cause=20 of
this problem been identified and will it be fixed in the next=20 Chameleon?
Will this change the way the Chameleon map load now = works?
 
BTW Jacob: did you write the Dutch with an automatic translator, or = you
actually speak it?
 
Best regards,
Bart
 
>
> Hi Bart,
>
> It's not really a fix, more = like a=20 cover-up. I did it for the 1.0.4
> version,
> but just now I = managed=20 to get a similar solution working for 1.99.
>
> For 1.99, in = mapDHTMLwidget.js, add the following code at the end:
>
>=20 --------------------------------------
> var backupURL =3D = "";
>=20 function imageErrorOccurred (mapurl)
>   =20 {
>    //alert (mapurl);
>   =20 document.images["MapLayerDivImg"].src =3D
>=20 document.images["mapimage"].src;
>    backupURL =3D = mapurl;
>   =20 setTimeout("reloadImage()",500);
>    = }
>
>=20 function reloadImage()
>    = {
>   =20 document.images['MapLayerDivImg'].src =3D = backupURL;
>   =20 }
> ------------------------------------------
>
> = Then place=20 the following attribute in your MapLayerDivImg = definition:
>
>=20 onError=3D\"imageErrorOccurred(gMapDHTMLURL)\"
>
>
> = What it=20 does: when the image breaks, it immediately replaces the image
> = source=20 with that of the empty white pixel (to prevent the user from = seeing
>=20 a
> broken image), and after a small delay it loads the correct = url into=20 the
> image. It works for me.
>
> It's a slightly = different=20 implementation in version 1.0.4 (you'd have to
> modify=20 mapDHTMLimage.widget.php). I'm not sure which one you're after, = so
> I'll=20 attach both files. Use the JS for 1.99, the php for = 1.0.4.
>
>=20 regards,
>
> Jacob
>
>
> P.S. Sorry voor = de=20 onmeundig lelijke PHP code. Geen idee wa'k doe in die
> taal. = (Forgive me=20 my ugly PHP coding. Have been too lazy to look for good
>=20 tutorial.)
>
>
>
>
>
>
>
>= ;
>
>
>
>
>
 
_______________________________________________
Chameleon = mailing=20 list
Chameleon@lists.maptools.org=
http://list= s.maptools.org/mailman/listinfo/chameleon
------=_NextPart_000_0033_01C48E73.8F9E0E60-- From bartvde@xs4all.nl Mon Aug 30 03:03:47 2004 Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7U73k9r013626 for ; Mon, 30 Aug 2004 03:03:47 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-vbr5.xs4all.nl (8.12.11/8.12.11) with SMTP id i7U73erI006701; Mon, 30 Aug 2004 09:03:40 +0200 (CEST) (envelope-from bartvde@xs4all.nl) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Mon, 30 Aug 2004 09:03:45 +0200 (CEST) Message-ID: <7151.212.238.227.182.1093849425.squirrel@webmail.xs4all.nl> In-Reply-To: <003601c48e30$82646b10$5d2815ac@auper1pc364> References: <003601c48e30$82646b10$5d2815ac@auper1pc364> Date: Mon, 30 Aug 2004 09:03:45 +0200 (CEST) Subject: RE: [Chameleon] mapDHTMLwidget occassionally fails From: bartvde@xs4all.nl To: "Jacob Delfos" User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by XS4ALL Virus Scanner Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2004 07:03:48 -0000 Hi Jacob, I have also seen it with the scalebar, but very rarely. I have tried this with a very simple HTML page with only an img tag in it, and at the onload event the src is set to the drawmap.php URL. Even this script fails occassionally and for me it is reproducable within 10 page loads. I have opened up bug 654 for further discussion: http://www.maptools.org/bugzilla/show_bug.cgi?id=654 Best regards, Bart > Bart, > > I actually noticed this problem happening with other images as well (e.g. > buttons, legend images, etc, after a submit). They just show up as broken > images. And that was on a dial-up connection. I don't think it's anything > wrong with the chameleon code, but rather something with how apache > interacts with PHP. Chameleon probably pushes that to its limits. The fact > that it is so hard to reproduce when you want it to happen makes it > annoying to debug. What hardware do you run? I have it happening on a P4 > 2.8GHz, win2k, Apache 2.0.48. > By the way, the file I sent you (MapDHTMLWidget.widget.php.forCWC1.0.4) > has an extra << > I think the best fix would be if every image in chameleon (legend, button, > mapimage, etc.) had an 'onError' attribute, which would invoke a function > that reloads that image after a delay. I have tried to find out whether > there is a function to check whether an image loaded successfully (e.g. by > checking filesize), but I couldn't find one. > > BTW Bart, I am Dutch. Moved to Australia 4.5 years ago. > > regards, > > Jacob > > > > > -----Original Message----- > From: chameleon-bounces@lists.maptools.org > [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of > bartvde@xs4all.nl > Sent: 27 August 2004 16:38 > To: chameleon@lists.maptools.org > Subject: RE: [Chameleon] mapDHTMLwidget occassionally fails > > > Hi Jacob, > > thanks. I'll give your fix a try. > > Paul, since more people are experiencing these problems, has the cause of > this problem been identified and will it be fixed in the next Chameleon? > Will this change the way the Chameleon map load now works? > > BTW Jacob: did you write the Dutch with an automatic translator, or you > actually speak it? > > Best regards, > Bart > >> >> Hi Bart, >> >> It's not really a fix, more like a cover-up. I did it for the 1.0.4 >> version, >> but just now I managed to get a similar solution working for 1.99. >> >> For 1.99, in mapDHTMLwidget.js, add the following code at the end: >> >> -------------------------------------- >> var backupURL = ""; >> function imageErrorOccurred (mapurl) >> { >> //alert (mapurl); >> document.images["MapLayerDivImg"].src > >> document.images["mapimage"].src; >> backupURL = mapurl; >> setTimeout("reloadImage()",500); >> } >> >> function reloadImage() >> { >> document.images['MapLayerDivImg'].src = backupURL; >> } >> ------------------------------------------ >> >> Then place the following attribute in your MapLayerDivImg definition: >> >> onError=\"imageErrorOccurred(gMapDHTMLURL)\" >> >> >> What it does: when the image breaks, it immediately replaces the image >> source with that of the empty white pixel (to prevent the user from >> seeing >> a >> broken image), and after a small delay it loads the > correct url into the >> image. It works for me. >> >> It's a slightly different implementation in version 1.0.4 (you'd have to >> modify mapDHTMLimage.widget.php). I'm not sure which one you're after, >> so >> I'll attach both files. Use the JS for 1.99, the php for 1.0.4. >> >> regards, >> >> Jacob >> >> >> P.S. Sorry voor de onmeundig lelijke PHP code. Geen idee wa'k doe in die >> taal. (Forgive me my ugly PHP coding. Have been too lazy to look for >> good >> tutorial.) >> >> >> >> >> >> >> >> >> >> >> >> >> > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From pagameba@magma.ca Mon Aug 30 08:11:59 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7UCBx9r017771 for ; Mon, 30 Aug 2004 08:11:59 -0400 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx2.magma.ca (8.13.0/8.13.0) with ESMTP id i7UCBveR011920; Mon, 30 Aug 2004 08:11:58 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail1.magma.ca (8.13.0/8.13.0) with ESMTP id i7UCBosA014346; Mon, 30 Aug 2004 08:11:57 -0400 Message-ID: <41331979.3060507@magma.ca> Date: Mon, 30 Aug 2004 08:11:37 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jacob Delfos Subject: Re: [Chameleon] mapDHTMLwidget occassionally fails References: <003601c48e30$82646b10$5d2815ac@auper1pc364> In-Reply-To: <003601c48e30$82646b10$5d2815ac@auper1pc364> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2004 12:11:59 -0000 I like the onerror idea ... I've toyed with it in some custom apps here and it will be one of the things I will incorporate into the architecture for a future release (perhaps not 1.99 though) Cheers, Paul Jacob Delfos wrote: > Bart, > > I actually noticed this problem happening with other images as well > (e.g. buttons, legend images, etc, after a submit). They just show up as > broken images. And that was on a dial-up connection. I don't think it's > anything wrong with the chameleon code, but rather something with how > apache interacts with PHP. Chameleon probably pushes that to its limits. > The fact that it is so hard to reproduce when you want it to happen > makes it annoying to debug. What hardware do you run? I have it > happening on a P4 2.8GHz, win2k, Apache 2.0.48. > By the way, the file I sent you > (MapDHTMLWidget.widget.php.forCWC1.0.4) has an extra << which must be removed. > > I think the best fix would be if every image in chameleon (legend, > button, mapimage, etc.) had an 'onError' attribute, which would invoke a > function that reloads that image after a delay. I have tried to find out > whether there is a function to check whether an image loaded > successfully (e.g. by checking filesize), but I couldn't find one. > > BTW Bart, I am Dutch. Moved to Australia 4.5 years ago. > > regards, > > Jacob > > > > > -----Original Message----- > From: chameleon-bounces@lists.maptools.org > > [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of > bartvde@xs4all.nl > Sent: 27 August 2004 16:38 > To: chameleon@lists.maptools.org > Subject: RE: [Chameleon] mapDHTMLwidget occassionally fails > > > Hi Jacob, > > thanks. I'll give your fix a try. > > Paul, since more people are experiencing these problems, has the cause of > this problem been identified and will it be fixed in the next Chameleon? > Will this change the way the Chameleon map load now works? > > BTW Jacob: did you write the Dutch with an automatic translator, or you > actually speak it? > > Best regards, > Bart > > > > > Hi Bart, > > > > It's not really a fix, more like a cover-up. I did it for the 1.0.4 > > version, > > but just now I managed to get a similar solution working for 1.99. > > > > For 1.99, in mapDHTMLwidget.js, add the following code at the end: > > > > -------------------------------------- > > var backupURL = ""; > > function imageErrorOccurred (mapurl) > > { > > //alert (mapurl); > > document.images["MapLayerDivImg"].src = > > document.images["mapimage"].src; > > backupURL = mapurl; > > setTimeout("reloadImage()",500); > > } > > > > function reloadImage() > > { > > document.images['MapLayerDivImg'].src = backupURL; > > } > > ------------------------------------------ > > > > Then place the following attribute in your MapLayerDivImg definition: > > > > onError=\"imageErrorOccurred(gMapDHTMLURL)\" > > > > > > What it does: when the image breaks, it immediately replaces the image > > source with that of the empty white pixel (to prevent the user from > seeing > > a > > broken image), and after a small delay it loads the correct url into the > > image. It works for me. > > > > It's a slightly different implementation in version 1.0.4 (you'd have to > > modify mapDHTMLimage.widget.php). I'm not sure which one you're after, so > > I'll attach both files. Use the JS for 1.99, the php for 1.0.4. > > > > regards, > > > > Jacob > > > > > > P.S. Sorry voor de onmeundig lelijke PHP code. Geen idee wa'k doe in die > > taal. (Forgive me my ugly PHP coding. Have been too lazy to look for good > > tutorial.) > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > > ------------------------------------------------------------------------ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From delfos18@yahoo.com Fri Aug 27 04:11:50 2004 Received: from web12106.mail.yahoo.com (web12106.mail.yahoo.com [216.136.172.26]) by www.maptools.org (8.12.8/8.12.8) with SMTP id i7R8Bn9r005292 for ; Fri, 27 Aug 2004 04:11:49 -0400 Message-ID: <20040827081133.52947.qmail@web12106.mail.yahoo.com> Received: from [202.139.2.70] by web12106.mail.yahoo.com via HTTP; Fri, 27 Aug 2004 01:11:33 PDT Date: Fri, 27 Aug 2004 01:11:33 -0700 (PDT) From: "J. Delfos" Subject: re: [Chameleon] mapDHTMLwidget occassionally fails To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-601866049-1093594293=:13370" X-Mailman-Approved-At: Mon, 30 Aug 2004 08:41:24 -0400 X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: jacob.delfos@maunsell.com List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Aug 2004 08:11:50 -0000 --0-601866049-1093594293=:13370 Content-Type: text/plain; charset=us-ascii Content-Id: Content-Disposition: inline Hi Bart, It's not really a fix, more like a cover-up. I did it for the 1.0.4 version, but just now I managed to get a similar solution working for 1.99. For 1.99, in mapDHTMLwidget.js, add the following code at the end: -------------------------------------- var backupURL = ""; function imageErrorOccurred (mapurl) { //alert (mapurl); document.images["MapLayerDivImg"].src = document.images["mapimage"].src; backupURL = mapurl; setTimeout("reloadImage()",500); } function reloadImage() { document.images['MapLayerDivImg'].src = backupURL; } ------------------------------------------ Then place the following attribute in your MapLayerDivImg definition: onError=\"imageErrorOccurred(gMapDHTMLURL)\" What it does: when the image breaks, it immediately replaces the image source with that of the empty white pixel (to prevent the user from seeing a broken image), and after a small delay it loads the correct url into the image. It works for me. It's a slightly different implementation in version 1.0.4 (you'd have to modify mapDHTMLimage.widget.php). I'm not sure which one you're after, so I'll attach both files. Use the JS for 1.99, the php for 1.0.4. regards, Jacob P.S. Sorry voor de onmeundig lelijke PHP code. Geen idee wat of ik doe in die taal. (Forgive me my ugly PHP coding. Have been too lazy to look for good tutorial.) __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail --0-601866049-1093594293=:13370 Content-Type: application/x-zip-compressed; name="patchedForBrokenImage.zip" Content-Transfer-Encoding: base64 Content-Description: patchedForBrokenImage.zip Content-Disposition: attachment; filename="patchedForBrokenImage.zip" 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 B2VYLYNnM+clEF28exF+FDTPYic9W/kZzOSQPJsVcXLzM3nRsTybGXY+9TNZ UXE8mxF5QvUzecmg2brwkgMfX37xv1BLAwQUAAAACAATfxsx13nFJN8oAADh CAEAJQAAAE1hcERIVE1MV2lkZ2V0LndpZGdldC5waHAuZm9yQ1dDMS4wLjTs PWtz2ki231OV/9ChUmOYYLA9la0tv2YwyLHmmscCju3JnXIJqQFNhForCds4 m/9+z2m9pRYIbMfJ3umkynqcZ/fp82i1xOGv1tR6/ar+88+vX5GfyYniUHKp axPqEtVQHAev8ju/WTb7i6ouwda8bO55V216qzs6M/HqW1nbJ23Fap0N2+ce kdqd9weYVG/Jbu39P2t7tV2yt7PzS313t777C9nZ23+/s7+7RyzHoqZKbSLd W+Stz3NuWwwkwiYUjfymzN0pszkEabXJgBlzF+RxyAebzS1SBkA6Vn7TZk5w p6YqFQ9XZdbC1idTl58ejo6bwQVSViso5V5VRFQ21dphfXTM0XrUnukO7wPd IVNq09GCTGzFdKlWJWObUsLGRJ0q9oRWicuIYi6IRW0HENjIVXRTNydE4bRQ IIR2p0DKYWP3TrEpIGgE1GCqrgBNojF1PqOmq6BIZKwb1CFld0pJaeBjlCpV Tg6YaVQxiG4SvB/cJnc69NncJTZ1XFtXkU4VgFRjrqEswW1Dn+keF48akOCd 4yDhuQPaoLxVMmOaPsa/lKtozUeG7kyrRNOR/GjuwkUHL6rUBCxODHSqw7A5 1DCQig46cL0jKatcb+BkYQe7fpdx3ndTNkNYTinUCrpsPLdNYE05nsagCzln brdwBcmPmWGwO1RTZaam82HdD618CBDKiN1SEtoGMZkLknvS4LhY0YD7t5yp AmqMqN+HVOO0oNeVmHY2SuK4YBc6DInFbM+iUlrXIlHOJDLong4vG32JyAPS 63c/yi2pRUqNAZyXquRSHp51L4YEIPqNzvCadE9Jo3NN/kfutKpEuur1pcGA dPucnNzuncsSXJc7zfOLltz5QE4At9MdknO5LQ+B8LDLmfrkZGmABNtSv3kG p40T+VweXnujdyoPO0j7tNsnDdJr9Idy8+K80Se9i36vO5BAjBaQ7sid0z5w ktpSZ1gjwBouEukjnJHBWeP8PFS0cQGq9FFY0uz2rvvyh7MhOeuetyS4eCKB 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 UEsFBgAAAAACAAIAngAAAH0+AAAAAA== --0-601866049-1093594293=:13370-- From eric@gomoos.org Mon Aug 30 10:41:31 2004 Received: from mail.gomoos.org (www.gomoos.org [66.70.82.140]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7UEfV9r019051 for ; Mon, 30 Aug 2004 10:41:31 -0400 Received: from dot170.office.gomoos.org (rrcs-nys-24-97-59-226.biz.rr.com [24.97.59.226]) by mail.gomoos.org (8.12.8p2/8.12.8) with ESMTP id i7UEfKZ8050266; Mon, 30 Aug 2004 10:41:23 -0400 (EDT) (envelope-from eric@gomoos.org) Subject: Re: [Chameleon] Testing Beta2 Service Instance From: Eric Bridger To: "chameleon@lists.maptools.org" In-Reply-To: <1093615180.1809.7.camel@ubet.gomoos.org> References: <000401c489a1$019c0a80$31289f88@GLADSTONE> <412B3889.7070005@magma.ca> <1093550631.10084.51.camel@ubet.gomoos.org> <412E453F.1040607@magma.ca> <1093615180.1809.7.camel@ubet.gomoos.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 (1.0.3-4) Date: 30 Aug 2004 10:36:03 -0400 Message-Id: <1093876571.1873.6.camel@ubet.gomoos.org> Mime-Version: 1.0 X-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL,BAYES_00, TO_ADDRESS_EQ_REAL autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on peleg.gomoos.org Cc: Paul Spencer X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2004 14:41:31 -0000 Just to do my own follow up. I got no answers so perhaps others noticed my simple typo in cwc2.xml configuration file: chamelon => chameleon. The CWC2 default service instance is working! On Fri, 2004-08-27 at 09:59, Eric Bridger wrote: > On Thu, 2004-08-26 at 16:17, Paul Spencer wrote: > > Eric, check for invalid structure in the chameleon.xml file, there was a > > bug in the description element of the web_server_path ... look for < > > or > without a trailing ; and add the trailing ; > > > > Cheers, > > > > Paul > > > > Thanks Paul. That did the trick and allowed my next problem to emerge. > > The default sample application template is loading, controls are > displaying e.g. Zoom buttons, pan arrows, scale bar, etc, but no map or > key map are displaying. Javascripts are loading fine. > > Apache log: > > PHP Warning: [MapServer Error]: msLoadMapContext(): Unable to read > /opt/chamelon/chameleon/cwc2/contexts/world_context.xml > in /usr/opt/chameleon/chameleon-1.99beta-20040709/cwc2/htdocs/cwc2.php > on line 639 > PHP Warning: [MapServer Error]: msGetMapContextFileText(): > (/opt/chamelon/chameleon/cwc2/contexts/world_context.xml) > in /usr/opt/chameleon/chameleon-1.99beta-20040709/cwc2/htdocs/cwc2.php > on line 639 > PHP Warning: Failed loading map context from > /opt/chamelon/chameleon/cwc2/contexts/world_context.xml in > /usr/opt/chameleon/chameleon-1.99beta-20040709/cwc2/htdocs/cwc2.php on > line 639 > PHP Fatal error: [MapServer Error]: msProcessProjection(): projection > not named > in > /usr/opt/chameleon/chameleon-1.99beta-20040709/htdocs/common/wrapper/drawmap.php on line 1097 From ken@rockies.ca Mon Aug 30 13:25:44 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7UHPi9r021937 for ; Mon, 30 Aug 2004 13:25:44 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id etlveaaa for chameleon@lists.maptools.org; Mon, 30 Aug 2004 11:13:19 -0600 From: "Ken Sanderson" To: Date: Mon, 30 Aug 2004 11:29:06 -0600 Message-ID: <006701c48eb6$dd333810$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Subject: [Chameleon] Making chameleon work with index.php X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2004 17:25:45 -0000 Is there a way to make chameleon work with just the directory name in the URL with the 1.99b chameleon sample setup? For example http://www.rockies.ca/chameleon instead of http://www.rockies.ca/chameleon/test.phtml I renamed the 'test.phtml' to 'index.php' which is one of my default names that auto loads when you type in just the directory path. This works for the initial load, but if you do anything after that it returns a 'cant find page' error. I have another project setup with some javascript front end that starts at the index.php, but because of the scripting it auto adds index.php to the location bar and thus it works fine. Thoughts on how to enable this? Ken From eric@gomoos.org Mon Aug 30 15:30:50 2004 Received: from mail.gomoos.org (www.gomoos.org [66.70.82.140]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7UJUn9r023310 for ; Mon, 30 Aug 2004 15:30:50 -0400 Received: from dot170.office.gomoos.org (rrcs-nys-24-97-59-226.biz.rr.com [24.97.59.226]) by mail.gomoos.org (8.12.8p2/8.12.8) with ESMTP id i7UJUlZ8078169; Mon, 30 Aug 2004 15:30:47 -0400 (EDT) (envelope-from eric@gomoos.org) Subject: Re: [Chameleon] Making chameleon work with index.php From: Eric Bridger To: Ken Sanderson In-Reply-To: <006701c48eb6$dd333810$31289f88@GLADSTONE> References: <006701c48eb6$dd333810$31289f88@GLADSTONE> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 (1.0.3-4) Date: 30 Aug 2004 15:25:27 -0400 Message-Id: <1093893933.1912.22.camel@ubet.gomoos.org> Mime-Version: 1.0 X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on peleg.gomoos.org Cc: "chameleon@lists.maptools.org" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2004 19:30:50 -0000 Are you running Apache? Do you have access to your Apache configuration file: httpd.conf? If so this should work: DirectoryIndex index.html test.phtml Eric On Mon, 2004-08-30 at 13:29, Ken Sanderson wrote: > Is there a way to make chameleon work with just the directory name in > the URL with the 1.99b chameleon sample setup? > > For example http://www.rockies.ca/chameleon instead of > http://www.rockies.ca/chameleon/test.phtml > > I renamed the 'test.phtml' to 'index.php' which is one of my default > names that auto loads when you type in just the directory path. This > works for the initial load, but if you do anything after that it returns > a 'cant find page' error. I have another project setup with some > javascript front end that starts at the index.php, but because of the > scripting it auto adds index.php to the location bar and thus it works > fine. > > Thoughts on how to enable this? > > Ken > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From ken@rockies.ca Mon Aug 30 16:56:16 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7UKuF9r023999 for ; Mon, 30 Aug 2004 16:56:15 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id emmveaaa for chameleon@lists.maptools.org; Mon, 30 Aug 2004 14:44:15 -0600 From: "Ken Sanderson" To: Subject: RE: [Chameleon] Making chameleon work with index.php Date: Mon, 30 Aug 2004 15:00:03 -0600 Message-ID: <009c01c48ed4$54db5dd0$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 In-Reply-To: <1093893933.1912.22.camel@ubet.gomoos.org> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2004 20:56:16 -0000 I use IIS, but I gather from below all that is happening there is index.html and test.phtml will be looked for if no file is specified in the URL. So in this case www.rockies.ca/chameleon would look for index.html or test.phtml, or maybe its saying use test.phtml instead of index.html? We have the same settings for IIS and I have it setup and working. The problem is it only works for the first load of chameleon, after that it returns a page error whenever I try and use a tool. I am guessing its something in the code that's using the URL to determine the name of the file to load, and because www.rockies.ca/chameleon doesn't list a specific filename its erroring out. Ken -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Eric Bridger Sent: August 30, 2004 1:25 PM To: Ken Sanderson Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Making chameleon work with index.php Are you running Apache? Do you have access to your Apache configuration file: httpd.conf? If so this should work: DirectoryIndex index.html test.phtml Eric On Mon, 2004-08-30 at 13:29, Ken Sanderson wrote: > Is there a way to make chameleon work with just the directory name in > the URL with the 1.99b chameleon sample setup? > > For example http://www.rockies.ca/chameleon instead of > http://www.rockies.ca/chameleon/test.phtml > > I renamed the 'test.phtml' to 'index.php' which is one of my default > names that auto loads when you type in just the directory path. This > works for the initial load, but if you do anything after that it > returns a 'cant find page' error. I have another project setup with > some javascript front end that starts at the index.php, but because of > the scripting it auto adds index.php to the location bar and thus it > works fine. > > Thoughts on how to enable this? > > Ken > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From jfournier@dmsolutions.ca Mon Aug 30 18:06:59 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7UM6x9r025019 for ; Mon, 30 Aug 2004 18:06:59 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (8.13.0/8.13.0) with ESMTP id i7UM6vPq004475; Mon, 30 Aug 2004 18:06:58 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail3.magma.ca (8.13.0/8.13.0) with ESMTP id i7UM6sDD004399; Mon, 30 Aug 2004 18:06:57 -0400 Message-ID: <4133A535.8050305@dmsolutions.ca> Date: Mon, 30 Aug 2004 18:07:49 -0400 From: Jason Fournier User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ken Sanderson Subject: Re: [Chameleon] Making chameleon work with index.php References: <009c01c48ed4$54db5dd0$31289f88@GLADSTONE> In-Reply-To: <009c01c48ed4$54db5dd0$31289f88@GLADSTONE> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2004 22:06:59 -0000 Ken, You can try setting the action of the form to action="test.phtml". This sounds similar to the issue in http://lists.maptools.org/pipermail/chameleon/2004-March/000572.html . With IIS you can also set the default document for the application directory to test.phtml (and remove all other default document declarations). Jason Ken Sanderson wrote: > I use IIS, but I gather from below all that is happening there is > index.html and test.phtml will be looked for if no file is specified in > the URL. So in this case www.rockies.ca/chameleon would look for > index.html or test.phtml, or maybe its saying use test.phtml instead of > index.html? We have the same settings for IIS and I have it setup and > working. The problem is it only works for the first load of chameleon, > after that it returns a page error whenever I try and use a tool. > > I am guessing its something in the code that's using the URL to > determine the name of the file to load, and because > www.rockies.ca/chameleon doesn't list a specific filename its erroring > out. > > Ken > > -----Original Message----- > From: chameleon-bounces@lists.maptools.org > [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Eric Bridger > Sent: August 30, 2004 1:25 PM > To: Ken Sanderson > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Making chameleon work with index.php > > > Are you running Apache? Do you have access to your Apache configuration > file: httpd.conf? If so this should work: > > > DirectoryIndex index.html test.phtml > > > Eric > > > On Mon, 2004-08-30 at 13:29, Ken Sanderson wrote: > >>Is there a way to make chameleon work with just the directory name in >>the URL with the 1.99b chameleon sample setup? >> >>For example http://www.rockies.ca/chameleon instead of >>http://www.rockies.ca/chameleon/test.phtml >> >>I renamed the 'test.phtml' to 'index.php' which is one of my default >>names that auto loads when you type in just the directory path. This >>works for the initial load, but if you do anything after that it >>returns a 'cant find page' error. I have another project setup with >>some javascript front end that starts at the index.php, but because of > > >>the scripting it auto adds index.php to the location bar and thus it >>works fine. >> >>Thoughts on how to enable this? >> >>Ken >> >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- _____________________________ Jason Fournier Applications Development DM Solutions Group Inc. jfournier@dmsolutions.ca www.dmsolutions.ca 613.565.5056 x18 From ken@rockies.ca Mon Aug 30 19:30:04 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7UNU39r026371 for ; Mon, 30 Aug 2004 19:30:03 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id xrmveaaa for chameleon@lists.maptools.org; Mon, 30 Aug 2004 17:17:59 -0600 From: "Ken Sanderson" To: "'Jason Fournier'" Subject: RE: [Chameleon] Making chameleon work with index.php Date: Mon, 30 Aug 2004 17:33:36 -0600 Message-ID: <000001c48ee9$ce069ac0$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 In-Reply-To: <4133A535.8050305@dmsolutions.ca> Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2004 23:30:04 -0000 Thanks Jason. I was busy looking through the PHP code for where I might be able to hard code a default, totally didn't think of just adding it to the form action tag :) Ken -----Original Message----- From: Jason Fournier [mailto:jfournier@dmsolutions.ca] Sent: August 30, 2004 4:08 PM To: Ken Sanderson Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Making chameleon work with index.php Ken, You can try setting the action of the form to action="test.phtml". This sounds similar to the issue in http://lists.maptools.org/pipermail/chameleon/2004-March/000572.html . With IIS you can also set the default document for the application directory to test.phtml (and remove all other default document declarations). Jason Ken Sanderson wrote: > I use IIS, but I gather from below all that is happening there is > index.html and test.phtml will be looked for if no file is specified > in the URL. So in this case www.rockies.ca/chameleon would look for > index.html or test.phtml, or maybe its saying use test.phtml instead > of index.html? We have the same settings for IIS and I have it setup > and working. The problem is it only works for the first load of > chameleon, after that it returns a page error whenever I try and use a > tool. > > I am guessing its something in the code that's using the URL to > determine the name of the file to load, and because > www.rockies.ca/chameleon doesn't list a specific filename its erroring > out. > > Ken > > -----Original Message----- > From: chameleon-bounces@lists.maptools.org > [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Eric > Bridger > Sent: August 30, 2004 1:25 PM > To: Ken Sanderson > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Making chameleon work with index.php > > > Are you running Apache? Do you have access to your Apache > configuration > file: httpd.conf? If so this should work: > > > DirectoryIndex index.html test.phtml > > > Eric > > > On Mon, 2004-08-30 at 13:29, Ken Sanderson wrote: > >>Is there a way to make chameleon work with just the directory name in >>the URL with the 1.99b chameleon sample setup? >> >>For example http://www.rockies.ca/chameleon instead of >>http://www.rockies.ca/chameleon/test.phtml >> >>I renamed the 'test.phtml' to 'index.php' which is one of my default >>names that auto loads when you type in just the directory path. This >>works for the initial load, but if you do anything after that it >>returns a 'cant find page' error. I have another project setup with >>some javascript front end that starts at the index.php, but because of > > >>the scripting it auto adds index.php to the location bar and thus it >>works fine. >> >>Thoughts on how to enable this? >> >>Ken >> >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- _____________________________ Jason Fournier Applications Development DM Solutions Group Inc. jfournier@dmsolutions.ca www.dmsolutions.ca 613.565.5056 x18 From ken@rockies.ca Mon Aug 30 19:53:03 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7UNr39r026531 for ; Mon, 30 Aug 2004 19:53:03 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id vsmveaaa for chameleon@lists.maptools.org; Mon, 30 Aug 2004 17:40:58 -0600 From: "Ken Sanderson" To: Date: Mon, 30 Aug 2004 17:56:44 -0600 Message-ID: <000501c48eed$04a28690$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Subject: [Chameleon] Cursor Graphic X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2004 23:53:03 -0000 Two questions in regards to the cursor/mouse graphic. First, anyone use the CSS cursor property to change the cursor graphic in IE browsers? I added the cursor:crosshair; line to the CSS file in the #MainMapLayer section and this works until the image is fully loaded, then it reverts back to the normal pointer. I assume its using some other style for the final image? Second, is there a way to make the end of the mouse pointer graphic the actual 'point' of a users click? Its really evident when you use the ruler widget, you will notice that the ruler nodes don't line up with the tip of the mouse pointer graphic, it's a bit down and to the right, same goes for when you put a point on the map from a user click, its not at the tip of the point its down and to the right a bit. Basically its creating a 'point' that's top left is the tip of the cursor pointer, least that's how it looks with the ruler graphics. Thanks, Ken From jacob.delfos@maunsell.com Mon Aug 30 20:34:30 2004 Received: from auper1gw001.hgm.com.au ([202.139.2.70]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7V0YS9r026782 for ; Mon, 30 Aug 2004 20:34:29 -0400 Received: from auper1gw001.hgm.com.au (localhost.localdomain [127.0.0.1]) by auper1gw001.hgm.com.au (8.12.8/8.12.8) with ESMTP id i7V0doM8015535 for ; Tue, 31 Aug 2004 08:39:50 +0800 Received: from auper1pc364 (Jacob_Delfos [172.21.40.93]) by auper1gw001.hgm.com.au (8.12.8/8.12.8) with SMTP id i7V0dmMW015530 for ; Tue, 31 Aug 2004 08:39:49 +0800 Message-ID: <000801c48ef2$302ea690$5d2815ac@auper1pc364> From: "Jacob Delfos" To: Subject: RE: [Chameleon] Making chameleon work with index.php Date: Tue, 31 Aug 2004 08:33:50 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C48F35.3D9A5660" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2004 00:34:31 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C48F35.3D9A5660 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Ken, Just create a file called index.html in that directory (or whereever you = want you user to come in), with the following source: -------------------------------------------------------- Redirect -------------------------------------------------------- You have to change the URL based on what you need. This is the approach = I use, and I should hopefully avoid the issue you have now, because the = user actually comes in through that file. Regards, Jacob -----Original Message----- From: chameleon-bounces@lists.maptools.org = [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Ken Sanderson Sent: 31 August 2004 05:00 To: chameleon@lists.maptools.org Subject: RE: [Chameleon] Making chameleon work with index.php I use IIS, but I gather from below all that is happening there is index.html and test.phtml will be looked for if no file is specified in the URL. So in this case www.rockies.ca/chameleon would look for index.html or test.phtml, or maybe its saying use test.phtml instead of index.html? We have the same settings for IIS and I have it setup and working. The problem is it only works for the first load of chameleon, after that it returns a page error whenever I try and use a tool. I am guessing its something in the code that's using the URL to determine the name of the file to load, and because www.rockies.ca/chameleon doesn't list a specific filename its erroring out. Ken -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Eric Bridger Sent: August 30, 2004 1:25 PM To: Ken Sanderson Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Making chameleon work with index.php Are you running Apache? Do you have access to your Apache configuration file: httpd.conf? If so this should work: DirectoryIndex index.html test.phtml Eric On Mon, 2004-08-30 at 13:29, Ken Sanderson wrote: > Is there a way to make chameleon work with just the directory name in=20 > the URL with the 1.99b chameleon sample setup? >=20 > For example http://www.rockies.ca/chameleon instead of=20 > http://www.rockies.ca/chameleon/test.phtml >=20 > I renamed the 'test.phtml' to 'index.php' which is one of my default=20 > names that auto loads when you type in just the directory path. This=20 > works for the initial load, but if you do anything after that it=20 > returns a 'cant find page' error. I have another project setup with=20 > some javascript front end that starts at the index.php, but because of > the scripting it auto adds index.php to the location bar and thus it=20 > works fine. >=20 > Thoughts on how to enable this? >=20 > Ken >=20 >=20 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org=20 > http://lists.maptools.org/mailman/listinfo/chameleon >=20 _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon ------=_NextPart_000_0005_01C48F35.3D9A5660 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Ken,
 
Just create a file called index.html in = that=20 directory (or whereever you want you user to come in), with the = following=20 source:
 
--------------------------------------------------------
<= HTML>
<HEAD>
<TITLE>Redirect</TITLE>
<me= ta=20 HTTP-EQUIV=3D"REFRESH" content=3D"0;=20 url=3D/chameleon/test.phtml">
</HEAD>
<BODY=20 BGCOLOR=3D"ffffff">
</BODY>
</HTML>
-------------= -------------------------------------------
 

You have to change the URL based on what you need. This is the = approach=20 I use, and I should hopefully avoid the issue you have now, because the = user=20 actually comes in through that file.
 
Regards,
 
Jacob
 

-----Original Message-----
From: chameleon-bounces@li= sts.maptools.org=20 [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Ken=20 Sanderson
Sent: 31 August 2004 05:00
To: chameleon@lists.maptools.org=
Subject:=20 RE: [Chameleon] Making chameleon work with index.php
 
 
 
I use IIS, but I gather from below all that is happening there=20 is
index.html and test.phtml will be looked for if no file is = specified=20 in
the URL. So in this case www.rockies.ca/chameleon = would look=20 for
index.html or test.phtml, or maybe its saying use test.phtml = instead=20 of
index.html? We have the same settings for IIS and I have it setup=20 and
working. The problem is it only works for the first load of=20 chameleon,
after that it returns a page error whenever I try and use = a=20 tool.
 
I am guessing its something in the code that's using the URL=20 to
determine the name of the file to load, and because
www.rockies.ca/chameleon = doesn't list=20 a specific filename its erroring
out.
 
Ken
 
-----Original Message-----
From: chameleon-bounces@li= sts.maptools.org
[mailto:chameleon-bounces@lists.maptools.org]=20 On Behalf Of Eric Bridger
Sent: August 30, 2004 1:25 PM
To: Ken=20 Sanderson
Cc: chameleon@lists.maptools.org=
Subject:=20 Re: [Chameleon] Making chameleon work with index.php
 

Are you running Apache? Do you have access to your Apache=20 configuration
file: httpd.conf?  If so this should work:
 
<Directory /home/www/htdocs/chameleon>
   = DirectoryIndex=20 index.html test.phtml
</Directory>
 
Eric
 

On Mon, 2004-08-30 at 13:29, Ken Sanderson wrote:
> Is = there a=20 way to make chameleon work with just the directory name in
> the = URL with=20 the 1.99b chameleon sample setup?
>
> For example http://www.rockies.ca/chameleon<= /A>=20 instead of
> http://www.rockies.ca= /chameleon/test.phtml
>=20
> I renamed the 'test.phtml' to 'index.php' which is one of my = default=20
> names that auto loads when you type in just the directory path. = This=20
> works for the initial load, but if you do anything after that = it=20
> returns a 'cant find page' error. I have another project setup = with=20
> some javascript front end that starts at the index.php, but = because=20 of
 
> the scripting it auto adds index.php to the location bar and = thus it=20
> works fine.
>
> Thoughts on how to enable = this?
>=20
> Ken
>
>
>=20 _______________________________________________
> Chameleon = mailing=20 list
> Chameleon@lists.maptools.org= =20
> http://list= s.maptools.org/mailman/listinfo/chameleon
>=20
 

_______________________________________________
Chameleon = mailing=20 list
Chameleon@lists.maptools.org=
http://list= s.maptools.org/mailman/listinfo/chameleon
 

_______________________________________________
Chameleon = mailing=20 list
Chameleon@lists.maptools.org=
http://list= s.maptools.org/mailman/listinfo/chameleon
------=_NextPart_000_0005_01C48F35.3D9A5660-- From bartvde@xs4all.nl Tue Aug 31 01:34:04 2004 Received: from smtp-vbr10.xs4all.nl (smtp-vbr10.xs4all.nl [194.109.24.30]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7V5Y39r029846 for ; Tue, 31 Aug 2004 01:34:04 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-vbr10.xs4all.nl (8.12.11/8.12.11) with SMTP id i7V5Xs0N041289; Tue, 31 Aug 2004 07:33:55 +0200 (CEST) (envelope-from bartvde@xs4all.nl) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Tue, 31 Aug 2004 07:34:02 +0200 (CEST) Message-ID: <10557.212.238.227.182.1093930442.squirrel@webmail.xs4all.nl> In-Reply-To: <000501c48eed$04a28690$31289f88@GLADSTONE> References: <000501c48eed$04a28690$31289f88@GLADSTONE> Date: Tue, 31 Aug 2004 07:34:02 +0200 (CEST) Subject: Re: [Chameleon] Cursor Graphic From: bartvde@xs4all.nl To: "Ken Sanderson" User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by XS4ALL Virus Scanner Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2004 05:34:05 -0000 Hi Ken, answers inline. > Two questions in regards to the cursor/mouse graphic. > > First, anyone use the CSS cursor property to change the cursor graphic > in IE browsers? I added the cursor:crosshair; line to the CSS file in > the #MainMapLayer section and this works until the image is fully > loaded, then it reverts back to the normal pointer. I assume its using > some other style for the final image? You can do this with CURSORTYPE attribute for navigation tools. For a full story see the bug report 350: http://www.maptools.org/bugzilla/show_bug.cgi?id=350 > > Second, is there a way to make the end of the mouse pointer graphic the > actual 'point' of a users click? Its really evident when you use the > ruler widget, you will notice that the ruler nodes don't line up with > the tip of the mouse pointer graphic, it's a bit down and to the right, > same goes for when you put a point on the map from a user click, its not > at the tip of the point its down and to the right a bit. Basically its > creating a 'point' that's top left is the tip of the cursor pointer, > least that's how it looks with the ruler graphics. > There is a bug report for this as well, at least for the ruler tool: http://www.maptools.org/bugzilla/show_bug.cgi?id=349 Best regards, Bart > Thanks, > > Ken > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From bartvde@xs4all.nl Tue Aug 31 08:58:43 2004 Received: from smtp-vbr3.xs4all.nl (smtp-vbr3.xs4all.nl [194.109.24.23]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7VCwh9r003652 for ; Tue, 31 Aug 2004 08:58:43 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-vbr3.xs4all.nl (8.12.11/8.12.11) with SMTP id i7VCwas9091725 for ; Tue, 31 Aug 2004 14:58:41 +0200 (CEST) (envelope-from bartvde@xs4all.nl) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Tue, 31 Aug 2004 14:58:42 +0200 (CEST) Message-ID: <22234.212.238.227.182.1093957122.squirrel@webmail.xs4all.nl> Date: Tue, 31 Aug 2004 14:58:42 +0200 (CEST) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by XS4ALL Virus Scanner Subject: [Chameleon] keymapdhtml widget losing its navigation X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2004 12:58:44 -0000 Hi list, did anybody ever notice the following: I have the keymap left of my normal map. If I pan the normal map to the west, then after panning, the keymap loses its navigational capabilities (drag en zoom do not work anymore). Maybe because the DHTML layers moved over each other or something like that? Any ideas on how to fix this? Thanks in advance. Best regards, Bart From jrivard@connect.carleton.ca Tue Aug 31 09:42:24 2004 Received: from connectmail.carleton.ca (connectmail.carleton.ca [134.117.2.12]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7VDgO9r004190 for ; Tue, 31 Aug 2004 09:42:24 -0400 Received: from connect (connect.carleton.ca [134.117.2.33]) by connectmail.carleton.ca (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with SMTP id <0I3B007XMCQNBX@connectmail.carleton.ca> for chameleon@lists.maptools.org; Tue, 31 Aug 2004 09:42:24 -0400 (EDT) Date: Tue, 31 Aug 2004 09:42:23 -0400 (EDT) From: Joel Rivard To: chameleon@lists.maptools.org Message-id: <2333771.1093959743679.JavaMail.jrivard@connect.carleton.ca> MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Subject: [Chameleon] sql query widget X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2004 13:42:24 -0000 Hey List, Does anybody know how the sql query widget works? I'd like to know whether or not I could use this widget to query local data for a map. Cheers, Joel From Tim.Pascoe@ec.gc.ca Tue Aug 31 10:00:23 2004 Received: from ECNWRI1.ontario.int.ec.gc.ca (ecolink.cciw.ca [192.75.68.254]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7VE0N9r004303 for ; Tue, 31 Aug 2004 10:00:23 -0400 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C48F62.D721DC93" X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Date: Tue, 31 Aug 2004 10:00:15 -0400 Message-ID: <2576812186CDD411BF1500508B6DCE9506A8C3E6@ecnwri1.ontario.int.ec.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Sudden Appearance of Gremlins..... Thread-Index: AcSPYtc0bSmB0GjjQXWcy75jh4lp7g== From: "Pascoe,Tim [Burlington]" To: Subject: [Chameleon] Sudden Appearance of Gremlins..... X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2004 14:00:23 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C48F62.D721DC93 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I've been experimenting with Chameleon 1.99Beta for about 2 weeks now, = and have had it running very smoothly. Yesterday, I added an OGR layer = to my map file to display points from a SQL-Server database, and other = than a projection issue, all was well. This morning, all is not well. When I try and launch the application, I eventually get a timeout = error, and the processor usage on my PC goes to 100%. Closing the = browser window does not stop the process taking all the CPU cycles, = which appears to be PHP.exe. I tried stripping the map file back down to = a basic single layer, to no avail. However, I can issue requests = directly to mapserv.exe and retrieve map images just fine. Has anyone ever experienced anything like this? I'm running IIS, = Windows XP, PHP 4.3.8, MapServer 4.2.3 with Chameleon 1.99 Beta. Suggestions would be much appreciated. Timothy Pascoe Environment Canada / Environnement Canada Canada Centre for Inland Waters / Centre Canadien des Eaux Int=E9rieures 867 Lakeshore Road / 867, chemin Lakeshore Burlington, Ontario / Burlington (Ontario) L7R 4A6 Tel/T=E9l: (905) 336-6239 Fax/T=E9l=E9c: (905) 336-4699 E-mail/C. =E9lec: tim.pascoe@ec.gc.ca Government of Canada/Gouvernement du Canada ------_=_NextPart_001_01C48F62.D721DC93 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sudden Appearance of Gremlins.....

        Ive been experimenting with Chameleon 1.99Beta for about 2 = weeks now, and have had it running very smoothly. Yesterday, = I added an OGR layer to my map file to display points from = a SQL-Server database, and other than a = projection issue, all was well. This morning, all is not = well.

        When I try and launch the application, I eventually get a timeout error, and the processor = usage on my PC goes to 100%. Closing the browser window does not stop = the process taking all the CPU cycles, which appears to be PHP.exe. I tried stripping = the map file back down to a basic single layer, to no avail. However, I = can issue requests directly to mapserv.exe and = retrieve = map images just fine.

        Has anyone ever experienced anything like this? Im running IIS, Windows XP, PHP 4.3.8, MapServer 4.2.3 = with Chameleon 1.99 Beta.

        Suggestions would be much appreciated.

Timothy Pascoe

Environment Canada / Environnement Canada
Canada Centre for Inland Waters / Centre Canadien des Eaux = Int=E9rieures
867 Lakeshore Road / 867, chemin Lakeshore
Burlington, Ontario / Burlington (Ontario)

L7R 4A6

Tel/T=E9l: (905) 336-6239
Fax/
T=E9l=E9c: = (905) 336-4699
E-mail/C. =E9lec:
tim.pascoe@ec.gc.ca
Government of Canada/Gouvernement du = Canada

------_=_NextPart_001_01C48F62.D721DC93-- From Tim.Pascoe@ec.gc.ca Tue Aug 31 10:39:34 2004 Received: from ECNWRI1.ontario.int.ec.gc.ca (ecolink.cciw.ca [192.75.68.254]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7VEdX9r004766 for ; Tue, 31 Aug 2004 10:39:34 -0400 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C48F68.50852F81" X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Date: Tue, 31 Aug 2004 10:39:26 -0400 Message-ID: <2576812186CDD411BF1500508B6DCE9506A8C3E7@ecnwri1.ontario.int.ec.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Gremlins left...took Legend with them. Thread-Index: AcSPaFB++oKe3SA9RgKZrXf+lymhhQ== From: "Pascoe,Tim [Burlington]" To: Subject: [Chameleon] Gremlins left...took Legend with them. X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2004 14:39:34 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C48F68.50852F81 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Okay, I tracked the problem down to the Legend widget, and more specifically = I think to the legend template file. However, it was working yesterday = so I have no idea why it stopped - I don't think I made any changes to = it or the map file which would have impacted it. However, I know the = source of the problem so no need to reply. Thanks, Timothy Pascoe Environment Canada / Environnement Canada Canada Centre for Inland Waters / Centre Canadien des Eaux Int=E9rieures 867 Lakeshore Road / 867, chemin Lakeshore Burlington, Ontario / Burlington (Ontario) L7R 4A6 Tel/T=E9l: (905) 336-6239 Fax/T=E9l=E9c: (905) 336-4699 E-mail/C. =E9lec: tim.pascoe@ec.gc.ca Government of Canada/Gouvernement du Canada ------_=_NextPart_001_01C48F68.50852F81 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Gremlins left...took Legend with them.

Okay,

        I tracked the problem down to the Legend widget, and more = specifically I think to the legend template file. However, it was working = yesterday so I have no idea why it stopped I don’t think I made any changes to it or the map file which = would have impacted it. However, I know the source = of the = problem so no need to reply.

        Thanks,

Timothy Pascoe

Environment Canada / Environnement Canada
Canada Centre for Inland Waters / Centre Canadien des Eaux = Int=E9rieures
867 Lakeshore Road / 867, chemin Lakeshore
Burlington, Ontario / Burlington (Ontario)

L7R 4A6

Tel/T=E9l: (905) 336-6239
Fax/
T=E9l=E9c: = (905) 336-4699
E-mail/C. =E9lec:
tim.pascoe@ec.gc.ca
Government of Canada/Gouvernement du = Canada

------_=_NextPart_001_01C48F68.50852F81-- From pagameba@magma.ca Tue Aug 31 13:47:48 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7VHlm9r006940 for ; Tue, 31 Aug 2004 13:47:48 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (8.13.0/8.13.0) with ESMTP id i7VHllbM009827; Tue, 31 Aug 2004 13:47:48 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail3.magma.ca (8.13.0/8.13.0) with ESMTP id i7VHlitW018414; Tue, 31 Aug 2004 13:47:47 -0400 Message-ID: <4134B9B2.7010801@magma.ca> Date: Tue, 31 Aug 2004 13:47:30 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl Subject: Re: [Chameleon] keymapdhtml widget losing its navigation References: <22234.212.238.227.182.1093957122.squirrel@webmail.xs4all.nl> In-Reply-To: <22234.212.238.227.182.1093957122.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2004 17:47:49 -0000 Bart, I haven't experienced this but then I don't think I have a template set up like that. Given the number of outstanding bugs I have to go through I don't think I will have time to take a look at this for quite a while. If you come up with something, lemme know. At a minimum, could you prepare a stripped down template that exhibits the problem and attach it to a new bug? Cheers, Paul bartvde@xs4all.nl wrote: > Hi list, > > did anybody ever notice the following: > > I have the keymap left of my normal map. If I pan the normal map to the > west, then after panning, the keymap loses its navigational capabilities > (drag en zoom do not work anymore). Maybe because the DHTML layers moved > over each other or something like that? > > Any ideas on how to fix this? > > Thanks in advance. > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From querada499@hotmail.com Tue Aug 31 14:04:30 2004 Received: from hotmail.com (bay8-f61.bay8.hotmail.com [64.4.27.61]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7VI4T9r007086 for ; Tue, 31 Aug 2004 14:04:29 -0400 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 31 Aug 2004 10:53:24 -0700 Received: from 131.202.163.1 by by8fd.bay8.hotmail.msn.com with HTTP; Tue, 31 Aug 2004 17:53:24 GMT X-Originating-IP: [131.202.163.1] X-Originating-Email: [querada499@hotmail.com] X-Sender: querada499@hotmail.com From: "Robin Robin" To: chameleon@lists.maptools.org Date: Tue, 31 Aug 2004 17:53:24 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 31 Aug 2004 17:53:24.0535 (UTC) FILETIME=[696B6470:01C48F83] Subject: [Chameleon] Shades of Colour X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2004 18:04:30 -0000 Hi Does anyone know if it is possible to make the shade of colour change based on the level of a variable? For example, if you had a shp file with level measurements for the ocean, the deeper levels could be a deeper blue while the shallow waters would be light. Thanks Robin Brown _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From eric@gomoos.org Tue Aug 31 15:47:33 2004 Received: from mail.gomoos.org (www.gomoos.org [66.70.82.140]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7VJlX9r008015 for ; Tue, 31 Aug 2004 15:47:33 -0400 Received: from dot170.office.gomoos.org (rrcs-nys-24-97-59-226.biz.rr.com [24.97.59.226]) by mail.gomoos.org (8.12.8p2/8.12.8) with ESMTP id i7VJlTZ8031273; Tue, 31 Aug 2004 15:47:29 -0400 (EDT) (envelope-from eric@gomoos.org) Subject: Re: [Chameleon] Shades of Colour From: Eric Bridger To: Robin Robin In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 (1.0.3-4) Date: 31 Aug 2004 15:42:06 -0400 Message-Id: <1093981331.1915.17.camel@ubet.gomoos.org> Mime-Version: 1.0 X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL, BAYES_00, UPPERCASE_25_50 autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on peleg.gomoos.org Cc: "chameleon@lists.maptools.org" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2004 19:47:34 -0000 Yes, that is possible. You would need to add CLASSES to your map file for each color you want and specify what color to use based on a CLASSITEM. Here is a sample layer for bathymetry polygons. Note: I have darker blues for shallow depths, and lighter blues for deeper depths. The shapefile has a column called GRIDCODE which has the depth. LAYER NAME "bathy_poly" TYPE POLYGON STATUS ON DATA "gom_poly_UTM19" METADATA DESCRIPTION "Bathymetry Polygons" END CLASSITEM "GRIDCODE" CLASS NAME "0 to 30 meters" EXPRESSION "0" STYLE COLOR 175 192 220 END END CLASS NAME "30 to 60 meters" EXPRESSION "-30" STYLE COLOR 195 212 230 END END CLASS NAME "60 to 100 meters" EXPRESSION "-60" STYLE COLOR 214 240 255 OUTLINECOLOR 175 192 220 END END CLASS NAME "100 to 200 meters" EXPRESSION "-100" STYLE COLOR 246 246 246 OUTLINECOLOR 232 231 229 END END END On Tue, 2004-08-31 at 13:53, Robin Robin wrote: > Hi > > Does anyone know if it is possible to make the shade of colour change based > on the level of a variable? For example, if you had a shp file with level > measurements for the ocean, the deeper levels could be a deeper blue while > the shallow waters would be light. > > Thanks > > Robin Brown From ken@rockies.ca Tue Aug 31 16:14:56 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7VKEu9r008359 for ; Tue, 31 Aug 2004 16:14:56 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id idpveaaa for chameleon@lists.maptools.org; Tue, 31 Aug 2004 14:02:49 -0600 From: "Ken Sanderson" To: Subject: RE: [Chameleon] Cursor Graphic Date: Tue, 31 Aug 2004 14:18:27 -0600 Message-ID: <003b01c48f97$afd87a10$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 In-Reply-To: <10557.212.238.227.182.1093930442.squirrel@webmail.xs4all.nl> Importance: Normal X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2004 20:14:56 -0000 Thanks Bart, I better start spending more time looking through the bug reports before asking questions! I added a work around for the ruler issue to the bug report. Ken Sanderson Miistakis -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of bartvde@xs4all.nl Sent: August 30, 2004 11:34 PM To: Ken Sanderson Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Cursor Graphic Hi Ken, answers inline. > Two questions in regards to the cursor/mouse graphic. > > First, anyone use the CSS cursor property to change the cursor graphic > in IE browsers? I added the cursor:crosshair; line to the CSS file in > the #MainMapLayer section and this works until the image is fully > loaded, then it reverts back to the normal pointer. I assume its using > some other style for the final image? You can do this with CURSORTYPE attribute for navigation tools. For a full story see the bug report 350: http://www.maptools.org/bugzilla/show_bug.cgi?id=350 > > Second, is there a way to make the end of the mouse pointer graphic > the actual 'point' of a users click? Its really evident when you use > the ruler widget, you will notice that the ruler nodes don't line up > with the tip of the mouse pointer graphic, it's a bit down and to the > right, same goes for when you put a point on the map from a user > click, its not at the tip of the point its down and to the right a > bit. Basically its creating a 'point' that's top left is the tip of > the cursor pointer, least that's how it looks with the ruler graphics. > There is a bug report for this as well, at least for the ruler tool: http://www.maptools.org/bugzilla/show_bug.cgi?id=349 Best regards, Bart > Thanks, > > Ken > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From ahocevar@hotmail.com Tue Aug 31 08:10:14 2004 Received: from hotmail.com (bay10-dav11.bay10.hotmail.com [64.4.37.185]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7VCAE9r003194 for ; Tue, 31 Aug 2004 08:10:14 -0400 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 31 Aug 2004 04:58:40 -0700 Received: from 128.130.180.8 by bay10-dav11.bay10.hotmail.com with DAV; Tue, 31 Aug 2004 11:58:40 +0000 X-Originating-IP: [128.130.180.8] X-Originating-Email: [ahocevar@hotmail.com] X-Sender: ahocevar@hotmail.com From: "Andreas Hocevar" To: Date: Tue, 31 Aug 2004 14:01:00 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Message-ID: X-OriginalArrivalTime: 31 Aug 2004 11:58:40.0354 (UTC) FILETIME=[DB0F1C20:01C48F51] X-Mailman-Approved-At: Tue, 31 Aug 2004 18:10:05 -0400 Subject: [Chameleon] Chameleon 1.99-beta2: ROI Rectangle tool JavaScript error (IE6 SP2) X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2004 12:10:15 -0000 Hi, with Chameleon 1.99-beta2 (and also the latest CVS version) in IE6 SP2, a doubleclick with activated ROI Rectangle tool causes a JavaScript error: Line: 217 Char: 5 Error: 'null' is null or not an object Code: 0 URL: http://localhost/ms4w/samples/samples_roi.phtml This error also occurs in custom applications using the ROI Rectangle tool. Keep up the great work! Andreas. From ken@rockies.ca Tue Aug 31 19:13:16 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i7VNDF9r009686 for ; Tue, 31 Aug 2004 19:13:15 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id crpveaaa for chameleon@lists.maptools.org; Tue, 31 Aug 2004 17:01:08 -0600 From: "Ken Sanderson" To: Date: Tue, 31 Aug 2004 17:16:59 -0600 Message-ID: <004501c48fb0$a0eb2e80$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal Subject: [Chameleon] ttt_query.html and query widget X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2004 23:13:16 -0000 Hello all. I was wrestling with getting the query widget to work with my layers (using 1.99b). By using the one layer in the samples that allowed you to query it I was able to determine in order for me to query a layer I needed to define its template property. I noticed in the samples that they have: TEMPLATE "ttt_query.html" I also noticed that ttt_query.html doesn't exist, at least it doesn't in any of my chameleon folders. Does the query widget just default to QueryResults.phtml if it cant find the file in the TEMPLATE property, or how is this working if the file actually exists? On a related note does the radio buttons in the enhanced samples 'sample_enhanced.html' have any impact upon what layers are queried? Doesn't seem like it does, which brings up my next question. What are the radio buttons for? Thanks, Ken From pagameba@magma.ca Wed Sep 1 08:07:46 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i81C7k9r018586 for ; Wed, 1 Sep 2004 08:07:46 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (8.13.0/8.13.0) with ESMTP id i81C7jB4018286; Wed, 1 Sep 2004 08:07:46 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail3.magma.ca (8.13.0/8.13.0) with ESMTP id i81C7eg3005545; Wed, 1 Sep 2004 08:07:44 -0400 Message-ID: <4135BB7E.9090900@magma.ca> Date: Wed, 01 Sep 2004 08:07:26 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ken Sanderson Subject: Re: [Chameleon] ttt_query.html and query widget References: <004501c48fb0$a0eb2e80$31289f88@GLADSTONE> In-Reply-To: <004501c48fb0$a0eb2e80$31289f88@GLADSTONE> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2004 12:07:47 -0000 Ken, the existance of the TEMPLATE tag is required to make queries work due to the internal structure of MapServer and its origins as a CGI/template processor. In order to make a layer usefully queryable (?), you also need to set a tolerance > 0 and the associated toleranceunits (normally pixels). The chameleon query widget does not use the template, it is simply there to make mapserver think that the layer should be queried. The value assigned to TEMPLATE can be any value. It will always be ignored. The radio buttons are in the template to demonstrate the use of the SelectLayers widget. The SelectLayers widget simply marks layers as selected for use by other widgets. It can handle both single and multiselect modes. The use of radio buttons was arbitrary. The SelectLayers widget actually exposes a javascript function to set a layer as selected, and uses a form variable that other widgets or javascript code can use. It also sets metadata on the selected layers when the page is submitted so widgets that work directly on the map file have a mechanism for finding out about selected layers. Some widgets need layers to be selected in order to function, for instance the ExpressionBuilder widget builds a filter expression for the currently selected layer. Other widgets can be developed that rely on this, for instance it is conceiveable that a QuerySelectedLayers widget could be developed that would use the selected layer(s) to restrict querying beyond what is normal for mapserver. Note that in mapscript we can set the TEMPLATE value on the fly to make a layer queryable (except for WMS layers) ... Cheers, Paul Ken Sanderson wrote: > Hello all. I was wrestling with getting the query widget to work with my > layers (using 1.99b). By using the one layer in the samples that allowed > you to query it I was able to determine in order for me to query a layer > I needed to define its template property. I noticed in the samples that > they have: > > TEMPLATE "ttt_query.html" > > I also noticed that ttt_query.html doesn't exist, at least it doesn't in > any of my chameleon folders. Does the query widget just default to > QueryResults.phtml if it cant find the file in the TEMPLATE property, or > how is this working if the file actually exists? > > On a related note does the radio buttons in the enhanced samples > 'sample_enhanced.html' have any impact upon what layers are queried? > Doesn't seem like it does, which brings up my next question. What are > the radio buttons for? > > Thanks, > > Ken > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From jlacroix@dmsolutions.ca Wed Sep 1 09:19:39 2004 Received: from angrenost.dmsolutions.ca ([207.134.52.226]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i81DJd9r019038 for ; Wed, 1 Sep 2004 09:19:39 -0400 Received: from dmsolutions.ca (orthanc.lan.dmsolutions.ca [192.168.4.8]) by angrenost.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id i81DIZQ21964; Wed, 1 Sep 2004 09:18:35 -0400 Message-ID: <4135CC2D.3050609@dmsolutions.ca> Date: Wed, 01 Sep 2004 09:18:37 -0400 From: Julien-Samuel Lacroix Organization: DM Solutions User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joel Rivard Subject: Re: [Chameleon] sql query widget References: <2333771.1093959743679.JavaMail.jrivard@connect.carleton.ca> In-Reply-To: <2333771.1093959743679.JavaMail.jrivard@connect.carleton.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2004 13:19:40 -0000 Hi Joel, Currently the SQLQuery widget can only query MySQL database, but it has been designed to be able to query any other DB available from PHP with only some modification. So anyone who can do PHP code should be able to copy/paste the MYSQL code to whatever they want. If MySQL is what you need (or if you add the DB format you want), then check the documentation at: http://www.maptools.org/chameleon/wiki/SQLQuery In short, you need to specify your: server, user, password, DB and query It will return your result in a shared resource. Then you ca do whatever you want with it. For example put it in a map if it had lat/lon fields with the MapImageSharedResource widget. http://www.maptools.org/chameleon/wiki/MapImageSharedResource Or in a table with the Table widget: http://www.maptools.org/chameleon/wiki/Table Thanks Julien Joel Rivard wrote: > Hey List, > > Does anybody know how the sql query widget works? I'd like to know > whether or not I could use this widget to query local data for a map. > > Cheers, > > Joel > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ------------------------------------------------------------ Julien-Samuel Lacroix jlacroix@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From pagameba@magma.ca Wed Sep 1 09:51:24 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i81DpO9r019384 for ; Wed, 1 Sep 2004 09:51:24 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (8.13.0/8.13.0) with ESMTP id i81DpLoS003565; Wed, 1 Sep 2004 09:51:22 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail2.magma.ca (8.13.0/8.13.0) with ESMTP id i81DpJdH025267; Wed, 1 Sep 2004 09:51:21 -0400 Message-ID: <4135D3C9.9090903@magma.ca> Date: Wed, 01 Sep 2004 09:51:05 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Robin Robin Subject: Re: [Chameleon] Shades of Colour References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2004 13:51:24 -0000 Robin (and everyone else), while you did indeed receive an answer on this list as most users are also familiar with mapserver, I would encourage you to post questions that relate directly to mapserver on the mapserver-users list to ensure you get a prompt and accurate response to your questions ... Robin Robin wrote: > Hi > > Does anyone know if it is possible to make the shade of colour change > based on the level of a variable? For example, if you had a shp file > with level measurements for the ocean, the deeper levels could be a > deeper blue while the shallow waters would be light. > > Thanks > > Robin Brown > > _________________________________________________________________ > Add photos to your messages with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From jlacroix@dmsolutions.ca Wed Sep 1 11:21:12 2004 Received: from angrenost.dmsolutions.ca ([207.134.52.226]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i81FLC9r020359 for ; Wed, 1 Sep 2004 11:21:12 -0400 Received: from dmsolutions.ca (orthanc.lan.dmsolutions.ca [192.168.4.8]) by angrenost.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id i81FLBQ22094 for ; Wed, 1 Sep 2004 11:21:12 -0400 Message-ID: <4135E8EB.6010800@dmsolutions.ca> Date: Wed, 01 Sep 2004 11:21:15 -0400 From: Julien-Samuel Lacroix Organization: DM Solutions User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: chameleon@lists.maptools.org Subject: [Fwd: Re: [Chameleon] sql query widget] Content-Type: multipart/mixed; boundary="------------060308040001010900040001" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2004 15:21:13 -0000 This is a multi-part message in MIME format. --------------060308040001010900040001 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit -- ------------------------------------------------------------ Julien-Samuel Lacroix jlacroix@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ --------------060308040001010900040001 Content-Type: message/rfc822; name="Re: [Chameleon] sql query widget" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Re: [Chameleon] sql query widget" Return-Path: Received: from xcalibur.dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) by in3.magma.ca (Magma's Mail Server) with ESMTP id i81EYLQJ006177 for ; Wed, 1 Sep 2004 10:34:23 -0400 Received: from connectmail.carleton.ca (connectmail.carleton.ca [134.117.2.12]) by xcalibur.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id i81EYL104898 for ; Wed, 1 Sep 2004 10:34:21 -0400 Received: from connect (connect.carleton.ca [134.117.2.33]) by connectmail.carleton.ca (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with SMTP id <0I3D0088D9T5SA@connectmail.carleton.ca> for jlacroix@dmsolutions.ca; Wed, 01 Sep 2004 10:34:17 -0400 (EDT) Date: Wed, 01 Sep 2004 10:34:14 -0400 (EDT) From: Joel Rivard Subject: Re: [Chameleon] sql query widget To: Julien-Samuel Lacroix Message-id: <7442802.1094049254980.JavaMail.jrivard@connect.carleton.ca> MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Hello, Thank you for your response. So this means that the SQL query widget only works with DataBases? The problem is that the data that I have is not in a database since I am simply working with just a few road files in shapefile format. This means that I have to query the Dbase table, which I can't seem to figure out how to do with chameleon. Are there any widgets that can query a dbase table? I want the user (students in my case)to be able to find the location of all the roads. (ie. the Location of Rosemount Ave). Can this be done with chameleon? Cheers Joel Julien-Samuel Lacroix wrote: >Hi Joel, > >Currently the SQLQuery widget can only query MySQL database, but it has >been designed to be able to query any other DB available from PHP with >only some modification. So anyone who can do PHP code should be able to >copy/paste the MYSQL code to whatever they want. > >If MySQL is what you need (or if you add the DB format you want), then >check the documentation at: >http://www.maptools.org/chameleon/wiki/SQLQuery > >In short, you need to specify your: >server, user, password, DB and query > >It will return your result in a shared resource. Then you ca do whatever >you want with it. For example put it in a map if it had lat/lon fields >with the MapImageSharedResource widget. >http://www.maptools.org/chameleon/wiki/MapImageSharedResource > >Or in a table with the Table widget: >http://www.maptools.org/chameleon/wiki/Table > >Thanks >Julien > >Joel Rivard wrote: >> Hey List, >> >> Does anybody know how the sql query widget works? I'd like to know >> whether or not I could use this widget to query local data for a map. >> >> Cheers, >> >> Joel >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > >-- >------------------------------------------------------------ >Julien-Samuel Lacroix jlacroix@dmsolutions.ca >DM Solutions Group http://www.dmsolutions.ca/ >------------------------------------------------------------ >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > --------------060308040001010900040001-- From jrivard@connect.carleton.ca Wed Sep 1 11:46:31 2004 Received: from connectmail.carleton.ca (connectmail.carleton.ca [134.117.2.12]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i81FkV9r020557 for ; Wed, 1 Sep 2004 11:46:31 -0400 Received: from connect (connect.carleton.ca [134.117.2.33]) by connectmail.carleton.ca (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with SMTP id <0I3D00LQSD5J6B@connectmail.carleton.ca> for chameleon@lists.maptools.org; Wed, 01 Sep 2004 11:46:31 -0400 (EDT) Date: Wed, 01 Sep 2004 11:46:29 -0400 (EDT) From: Joel Rivard Subject: Re: [Chameleon] sql query widget To: chameleon@lists.maptools.org Message-id: <2937406.1094053589229.JavaMail.jrivard@connect.carleton.ca> MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2004 15:46:31 -0000 Sorry about the duplicate Hello, Thank you for your response. So this means that the SQL query widget only works with DataBases? The problem is that the data that I have is not in a database since I am simply working with just a few road files in shapefile format. This means that I have to query the Dbase table, which I can't seem to figure out how to do with chameleon. Are there any widgets that can query a dbase table? I want the user (students in my case)to be able to find the location of all the roads. (ie. the Location of Rosemount Ave). Can this be done with chameleon? Cheers Joel Julien-Samuel Lacroix wrote: >Hi Joel, > >Currently the SQLQuery widget can only query MySQL database, but it has >been designed to be able to query any other DB available from PHP with >only some modification. So anyone who can do PHP code should be able to >copy/paste the MYSQL code to whatever they want. > >If MySQL is what you need (or if you add the DB format you want), then >check the documentation at: >http://www.maptools.org/chameleon/wiki/SQLQuery > >In short, you need to specify your: >server, user, password, DB and query > >It will return your result in a shared resource. Then you ca do whatever >you want with it. For example put it in a map if it had lat/lon fields >with the MapImageSharedResource widget. >http://www.maptools.org/chameleon/wiki/MapImageSharedResource > >Or in a table with the Table widget: >http://www.maptools.org/chameleon/wiki/Table > >Thanks >Julien > >Joel Rivard wrote: >> Hey List, >> >> Does anybody know how the sql query widget works? I'd like to know >> whether or not I could use this widget to query local data for a map. >> >> Cheers, >> >> Joel >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > >-- >------------------------------------------------------------ >Julien-Samuel Lacroix jlacroix@dmsolutions.ca >DM Solutions Group http://www.dmsolutions.ca/ >------------------------------------------------------------ > From Tom.Kralidis@ec.gc.ca Wed Sep 1 13:31:45 2004 Received: from ECNWRI1.ontario.int.ec.gc.ca (ecolink.cciw.ca [192.75.68.254]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i81HVj9r021742 for ; Wed, 1 Sep 2004 13:31:45 -0400 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Date: Wed, 1 Sep 2004 13:31:37 -0400 Message-ID: <2576812186CDD411BF1500508B6DCE950736753C@ecnwri1.ontario.int.ec.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Deployment / configuration issues Thread-Index: AcSQSYiil9gLrQI7TR63RidZN0auYw== From: "Kralidis,Tom [Burlington]" To: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i81HVj9r021742 Cc: Subject: [Chameleon] Deployment / configuration issues X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2004 17:31:46 -0000 Hi, We are attempting to deploy Chameleon 1.99. Environment: [root@devgeo php-5.0.1]# uname -a Linux devgeo.cciw.ca 2.6.5-1.358smp #1 SMP Sat May 8 09:25:36 EDT 2004 i686 i686 i386 GNU/Linux [root@devgeo php-5.0.1]# Mapscript 4.2 (.so via cvs). It looks like PHP is built with all required modules, and php_mapscript.so was built okay. I went through the instructions, and get the following error when attempting to hit: samples/htdocs/sample_enhanced.phtml FATAL ERROR: Session save path () doesn't exist or is not writable ...any ideas? The 'data' dirs are writable by the web userid. Thanks ..Tom ========================= Tom Kralidis Systems Scientist Environment Canada Tel: +01-905-336-4409 http://www.ec.gc.ca/ From Godwinl@AGR.GC.CA Wed Sep 1 14:59:00 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i81Iwx9r022713 for ; Wed, 1 Sep 2004 14:58:59 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i81Iav0V028238 for ; Wed, 1 Sep 2004 14:36:57 -0400 Received: from onncrxcn1.AGR.GC.CA ([10.117.15.130]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i81IqUHX011289 for ; Wed, 1 Sep 2004 14:52:30 -0400 Received: from onncrxms2.AGR.GC.CA ([10.117.15.28]) by onncrxcn1.AGR.GC.CA with Microsoft SMTPSVC(5.0.2195.6713); Wed, 1 Sep 2004 14:57:45 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C49055.904EFF50" Date: Wed, 1 Sep 2004 14:57:44 -0400 Message-ID: <482A7044F4DB2740884BAF6AFD7416091E3AF6@onncrxms2.agr.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Locate widget Thread-Index: AcSQVY/1Ulc70k0HT8yRScoj3GBobw== From: "Godwin, Elizabeth" To: X-OriginalArrivalTime: 01 Sep 2004 18:57:45.0480 (UTC) FILETIME=[91229880:01C49055] Subject: [Chameleon] Locate widget X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2004 18:59:00 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C49055.904EFF50 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I've discovered that the Locate widget (using cvs) fails when I'm using it in my custom application. =20 =20 It fails when setting the font to "sans" on line 1051 ish in the Draw point function in Locate.widget.php. At least, this is my assumption as commenting out that line and the next one (set font type to Truetype) makes the error go away. =20 Why might it fail here, when it works in the CVS samples? I'm using the same font files in the same ../etc/fonts.txt file setup as with the samples. =20 Also I've noticed that the error triggers one of my custom widgets to open it's popup, thus causing more errors. =20 I've noticed postings on the throwing errors to popups, but not the locate widget problem. Anyone else experiencing this? =20 Cheers, =20 Liz Godwin =20 ------_=_NextPart_001_01C49055.904EFF50 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message
I've = discovered that=20 the Locate widget (using cvs) fails when I'm using it in my custom=20 application. 
 
It = fails when=20 setting the font to "sans" on line 1051 ish in the Draw point function = in=20 Locate.widget.php.   At least, this is my assumption as = commenting out=20 that line and the next one (set font type to Truetype) makes the error = go=20 away.
 
Why = might it fail=20 here, when it works in the CVS samples?  I'm using the same font = files in=20 the same ../etc/fonts.txt file setup as with the = samples.
 
Also = I've noticed=20 that the error triggers one of my custom widgets to open it's popup, = thus=20 causing more errors.
 
I've = noticed=20 postings on the throwing errors to popups, but not the locate widget=20 problem.  Anyone else experiencing this?
 
Cheers,
 
Liz Godwin
 
------_=_NextPart_001_01C49055.904EFF50-- From jacob.delfos@maunsell.com Wed Sep 1 19:03:29 2004 Received: from auper1gw001.hgm.com.au ([202.139.2.70]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i81N3R9r025241 for ; Wed, 1 Sep 2004 19:03:28 -0400 Received: from auper1gw001.hgm.com.au (localhost.localdomain [127.0.0.1]) by auper1gw001.hgm.com.au (8.12.8/8.12.8) with ESMTP id i81N8nM8023562 for ; Thu, 2 Sep 2004 07:08:49 +0800 Received: from auper1pc364 (Jacob_Delfos [172.21.40.93]) by auper1gw001.hgm.com.au (8.12.8/8.12.8) with SMTP id i81N8lMW023557 for ; Thu, 2 Sep 2004 07:08:49 +0800 Message-ID: <000801c49077$cc6781e0$5d2815ac@auper1pc364> From: "Jacob Delfos" To: Subject: RE: [Chameleon] Deployment / configuration issues Date: Thu, 2 Sep 2004 07:02:46 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C490BA.D9C01EE0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2004 23:03:29 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C490BA.D9C01EE0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Tom, I think you need to configure your PHP. In php.ini there's a line with = "session.save_path", to which you have to assign a valid path. I usually = make it the same as my web tmp path. Regards, Jacob -----Original Message----- From: chameleon-bounces@lists.maptools.org = [] On Behalf Of = Kralidis,Tom [Burlington] Sent: 2 September 2004 01:32 To: chameleon@lists.dmsolutions.ca Subject: [Chameleon] Deployment / configuration issues Hi, We are attempting to deploy Chameleon 1.99. Environment: [root@devgeo php-5.0.1]# uname -a Linux devgeo.cciw.ca 2.6.5-1.358smp #1 SMP Sat May 8 09:25:36 EDT 2004 i686 i686 i386 GNU/Linux [root@devgeo php-5.0.1]# Mapscript 4.2 (.so via cvs). It looks like PHP is built with all required modules, and php_mapscript.so was built okay. I went through the instructions, and get the following error when attempting to hit:=20 samples/htdocs/sample_enhanced.phtml FATAL ERROR: Session save path () doesn't exist or is not writable ...any ideas? The 'data' dirs are writable by the web userid. Thanks ..Tom =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= Tom Kralidis Systems Scientist Environment Canada Tel: +01-905-336-4409 _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org ------=_NextPart_000_0005_01C490BA.D9C01EE0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Tom,

I think you need to configure your PHP. In php.ini there's a line = with=20 "session.save_path", to which you have to assign a valid path. I usually = make it=20 the same as my web tmp path.

Regards,

Jacob

 

-----Original Message-----

From: chameleon-bounces@lists.maptools.org [<mailto:chameleon-bounces@lists.maptools.org>] On Behalf Of Kralidis,Tom [Burlington]

Sent: 2 September 2004 01:32

To: chameleon@lists.dmsolutions.ca

Subject: [Chameleon] Deployment / configuration issues

 

 

Hi,

We are attempting to deploy Chameleon 1.99.

Environment:

[root@devgeo php-5.0.1]# uname -a

Linux devgeo.cciw.ca 2.6.5-1.358smp #1 SMP Sat May 8 09:25:36 EDT = 2004

i686 i686 i386 GNU/Linux

[root@devgeo php-5.0.1]#

Mapscript 4.2 (.so via cvs).

It looks like PHP is built with all required modules, and

php_mapscript.so was built okay.

I went through the instructions, and get the following error when

attempting to hit:

samples/htdocs/sample_enhanced.phtml

FATAL ERROR: Session save path () doesn't exist or is not = writable

...any ideas? The 'data' dirs are writable by the web userid.

Thanks

..Tom

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D

Tom Kralidis

Systems Scientist

Environment Canada

Tel: +01-905-336-4409

<http://www.ec.gc.ca/>

_______________________________________________

Chameleon mailing list

Chameleon@lists.maptools.org

<http://lists.maptools.org/mailman/listinfo/chameleon>

 

------=_NextPart_000_0005_01C490BA.D9C01EE0-- From jacob.delfos@maunsell.com Wed Sep 1 22:40:05 2004 Received: from auper1gw001.hgm.com.au ([202.139.2.70]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i822e29r026930 for ; Wed, 1 Sep 2004 22:40:04 -0400 Received: from auper1gw001.hgm.com.au (localhost.localdomain [127.0.0.1]) by auper1gw001.hgm.com.au (8.12.8/8.12.8) with ESMTP id i822jPM8024247 for ; Thu, 2 Sep 2004 10:45:25 +0800 Received: from auper1pc364 (Jacob_Delfos [172.21.40.93]) by auper1gw001.hgm.com.au (8.12.8/8.12.8) with SMTP id i822jLMW024242 for ; Thu, 2 Sep 2004 10:45:24 +0800 Message-ID: <000801c49096$0eb9faa0$5d2815ac@auper1pc364> From: "Jacob Delfos" To: Subject: RE: [Chameleon] Statistics for a chameleon server Date: Thu, 2 Sep 2004 10:39:20 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C490D9.1AB68A10" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2004 02:40:06 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C490D9.1AB68A10 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Paul, I wasn't aware of the admin capability (admin.php?). I just tried it, = but it came out blank. I have implemented a simple counting solution, that gathers information = from a user when a new session is started (I call a function from = session.php). The information is just what I can get from php (IP, = browser, etc.), but at least I get some idea of who comes around. It = opens/creates a dbf file and adds a new record to it for each user. I = had to give write permission to the folder where I placed the dbf file. = I wrote a small phtml file to spit out the records, and give the totals. = See http://spatial.hgm.com.au/cwcroe7/common/session/viewstats.phtml I'm not sure if it should/could be a widget, because it doesn't really = have to do with the functionality of the page. I have no doubt it could = be implemented far more elaborately with more functionality than what I = made, though. (e.g. you could make it write W3C format logs, and use an = open-source web-statistics tool with graphs to analyse them). If anyone is interested in the code, let me know. regards, Jacob -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca]=20 Sent: 9 August 2004 19:57 To: J. Delfos Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Statistics for a chameleon server Jacob, that's a neat widget idea. I think a generic logging widget would be a=20 useful thing for quite a few people. It may be useful to have it hooked = into the admin capability perhaps. Unfortunately, I don't have any plans to add such a widget, but if you=20 or someone else does, I'll certainly look at incorporating it into the=20 chameleon distribution. Cheers, Paul J. Delfos wrote: > Hi All, >=20 > I just wanted to ask whether anyone else has ever bothered to keep=20 > statistics of their chameleon site, and what would be the best way to = do=20 > so? The problems I run into is that I don't want to use some image = that=20 > needs to be downloaded for statistics to be done remotely, because = that=20 > can hold things up (especially when using the 'onload' functionality = to=20 > trigger chameleon functionality). If I use an apache log analyser, I=20 > usually would have to set up a whole statistics webpage, and I'm not = too=20 > happy with the security some of those things offer. Also, the = statistics=20 > from the log are not too useful, because users refreshing the page=20 > (submitting) results in multiple entries, and if you run more than one = > chameleon site you cannot tell easily what belongs to what (using a=20 > database to split up results doesn't work, because the URL strings are = > too long). >=20 > Does anyone have a better idea? Perhaps a statistics widget that uses=20 > session info? >=20 > Regards, >=20 > Jacob >=20 > =20 > =20 > JACOB DELFOS > SPATIAL INFORMATION ANALYST > Maunsell Australia Pty Ltd > 629 Newcastle Street > PO Box 81 > Leederville 6902 > Western Australia > ABN 20 093 846 925 > =20 > Tel + 61 8 9281 6185 > Fax + 61 8 9281 6297 > jacob.delfos@maunsell.com >=20 >=20 > = ------------------------------------------------------------------------ >=20 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon --=20 ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- ------=_NextPart_000_0005_01C490D9.1AB68A10 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Paul,
 
I wasn't aware of the admin capability=20 (admin.php?). I just tried it, but it came out blank.
 
I have implemented a simple counting = solution, that=20 gathers information from a user when a new session is started (I call a = function=20 from session.php). The information is just what I can get from php (IP, = browser,=20 etc.), but at least I get some idea of who comes around. It = opens/creates a dbf=20 file and adds a new record to it for each user. I had to give write = permission=20 to the folder where I placed the dbf file. I wrote a small phtml file to = spit=20 out the records, and give the totals. See http://spatial.hgm.com.au/cwcroe7/common/session/viewstats.phtml
 
I'm not sure if it should/could be a = widget,=20 because it doesn't really have to do with the functionality of the page. = I have=20 no doubt it could be implemented far more elaborately with more = functionality=20 than what I made, though. (e.g. you could make it write W3C format logs, = and use=20 an open-source web-statistics tool with graphs to analyse = them).
 
If anyone is interested in the code, = let me=20 know.
 
regards,
 
Jacob
 
 
-----Original Message-----
From: = Paul Spencer=20 [mailto:pagameba@magma.ca]
Sent: 9 August 2004 19:57
To: J. = Delfos
Cc:=20 chameleon@lists.maptools.org=
Subject:=20 Re: [Chameleon] Statistics for a chameleon server
 

Jacob,
 
that's a neat widget idea.  I think a generic logging widget = would be=20 a
useful thing for quite a few people.  It may be useful to = have it=20 hooked
into the admin capability perhaps.
 
Unfortunately, I don't have any plans to add such a widget, but if = you=20
or someone else does, I'll certainly look at incorporating it into = the=20
chameleon distribution.
 
Cheers,
 
Paul
 
J. Delfos wrote:
> Hi All,
>
> I just wanted to = ask=20 whether anyone else has ever bothered to keep
> statistics of = their=20 chameleon site, and what would be the best way to do
> so? The = problems I=20 run into is that I don't want to use some image that
> needs to = be=20 downloaded for statistics to be done remotely, because that
> can = hold=20 things up (especially when using the 'onload' functionality to
> = trigger=20 chameleon functionality). If I use an apache log analyser, I
> = usually=20 would have to set up a whole statistics webpage, and I'm not too =
> happy=20 with the security some of those things offer. Also, the statistics =
> from=20 the log are not too useful, because users refreshing the page
>=20 (submitting) results in multiple entries, and if you run more than one =
>=20 chameleon site you cannot tell easily what belongs to what (using a =
>=20 database to split up results doesn't work, because the URL strings are =
>=20 too long).
>
> Does anyone have a better idea? Perhaps a = statistics=20 widget that uses
> session info?
>
> = Regards,
>=20
> Jacob
>


> JACOB=20 DELFOS
> SPATIAL INFORMATION ANALYST
> Maunsell Australia = Pty=20 Ltd
> 629 Newcastle Street
> PO Box 81
> Leederville=20 6902
> Western Australia
> ABN 20 093 846 925
>  =
>=20 Tel     + 61 8 9281 6185
> = Fax    + 61=20 8 9281 6297
> jacob.delfos@maunsell.com = <mailto:jacob.delfos@maunsell.co= m>
>=20
>
>=20 ------------------------------------------------------------------------<= BR>>=20
> _______________________________________________
> = Chameleon=20 mailing list
> Chameleon@lists.maptools.org=
>=20 http://list= s.maptools.org/mailman/listinfo/chameleon
 
--
 =20 -----------------------------------------------------------------
|Pau= l=20 Spencer           =             &= nbsp;  =20 pspencer@dmsolutions.ca =  =20 |
|-----------------------------------------------------------------|<= BR>|Applications=20 & Software=20 Development          &n= bsp;           &nb= sp;      =20 |
|DM Solutions Group=20 Inc           &nbs= p;    =20 http://www.dmsolutions.ca/|
&n= bsp;=20 -----------------------------------------------------------------
------=_NextPart_000_0005_01C490D9.1AB68A10-- From Tom.Kralidis@ec.gc.ca Thu Sep 2 08:55:03 2004 Received: from ECNWRI1.ontario.int.ec.gc.ca (ecolink.cciw.ca [192.75.68.254]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i82Ct39r031053 for ; Thu, 2 Sep 2004 08:55:03 -0400 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Subject: RE: [Chameleon] Deployment / configuration issues Date: Thu, 2 Sep 2004 08:54:55 -0400 Message-ID: <2576812186CDD411BF1500508B6DCE950736754C@ecnwri1.ontario.int.ec.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Chameleon] Deployment / configuration issues Thread-Index: AcSQd/ZetYqqSu1uTFqzp6EnaKBpeQAdAuvA From: "Kralidis,Tom [Burlington]" To: "Jacob Delfos" , Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i82Ct39r031053 Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2004 12:55:04 -0000 This did the trick. Thanks. ..Tom -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Jacob Delfos Sent: Wednesday, 01 September, 2004 19:03 To: chameleon@lists.dmsolutions.ca Subject: RE: [Chameleon] Deployment / configuration issues Tom, I think you need to configure your PHP. In php.ini there's a line with "session.save_path", to which you have to assign a valid path. I usually make it the same as my web tmp path. Regards, Jacob -----Original Message----- From: chameleon-bounces@lists.maptools.org [] On Behalf Of Kralidis,Tom [Burlington] Sent: 2 September 2004 01:32 To: chameleon@lists.dmsolutions.ca Subject: [Chameleon] Deployment / configuration issues Hi, We are attempting to deploy Chameleon 1.99. Environment: [root@devgeo php-5.0.1]# uname -a Linux devgeo.cciw.ca 2.6.5-1.358smp #1 SMP Sat May 8 09:25:36 EDT 2004 i686 i686 i386 GNU/Linux [root@devgeo php-5.0.1]# Mapscript 4.2 (.so via cvs). It looks like PHP is built with all required modules, and php_mapscript.so was built okay. I went through the instructions, and get the following error when attempting to hit: samples/htdocs/sample_enhanced.phtml FATAL ERROR: Session save path () doesn't exist or is not writable ...any ideas? The 'data' dirs are writable by the web userid. Thanks ..Tom ========================= Tom Kralidis Systems Scientist Environment Canada Tel: +01-905-336-4409 _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org From pagameba@magma.ca Thu Sep 2 09:27:43 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i82DRh9r031507 for ; Thu, 2 Sep 2004 09:27:43 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (8.13.0/8.13.0) with ESMTP id i82DRgLg003540; Thu, 2 Sep 2004 09:27:43 -0400 Received: from magma.ca (ottawa-dial-64-26-139-92.d-ip.magma.ca [64.26.139.92]) by mail3.magma.ca (8.13.0/8.13.0) with ESMTP id i82DRbp9003694; Thu, 2 Sep 2004 09:27:40 -0400 Message-ID: <41371FBA.9060708@magma.ca> Date: Thu, 02 Sep 2004 09:27:22 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jacob Delfos Subject: Re: [Chameleon] Statistics for a chameleon server References: <000801c49096$0eb9faa0$5d2815ac@auper1pc364> In-Reply-To: <000801c49096$0eb9faa0$5d2815ac@auper1pc364> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2004 13:27:44 -0000 Jacob, the admin pages are not currently working but will be fixed up for the next beta. Sounds like a cool utility. Can it be extended to track useage by application as well? I would be interested in adding it to the admin package as an optional component. Cheers, Paul Jacob Delfos wrote: > Paul, > > I wasn't aware of the admin capability (admin.php?). I just tried it, > but it came out blank. > > I have implemented a simple counting solution, that gathers information > from a user when a new session is started (I call a function from > session.php). The information is just what I can get from php (IP, > browser, etc.), but at least I get some idea of who comes around. It > opens/creates a dbf file and adds a new record to it for each user. I > had to give write permission to the folder where I placed the dbf file. > I wrote a small phtml file to spit out the records, and give the totals. > See http://spatial.hgm.com.au/cwcroe7/common/session/viewstats.phtml > > I'm not sure if it should/could be a widget, because it doesn't really > have to do with the functionality of the page. I have no doubt it could > be implemented far more elaborately with more functionality than what I > made, though. (e.g. you could make it write W3C format logs, and use an > open-source web-statistics tool with graphs to analyse them). > > If anyone is interested in the code, let me know. > > regards, > > Jacob > > > -----Original Message----- > From: Paul Spencer [mailto:pagameba@magma.ca] > Sent: 9 August 2004 19:57 > To: J. Delfos > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Statistics for a chameleon server > > > Jacob, > > that's a neat widget idea. I think a generic logging widget would be a > useful thing for quite a few people. It may be useful to have it hooked > into the admin capability perhaps. > > Unfortunately, I don't have any plans to add such a widget, but if you > or someone else does, I'll certainly look at incorporating it into the > chameleon distribution. > > Cheers, > > Paul > > J. Delfos wrote: > > Hi All, > > > > I just wanted to ask whether anyone else has ever bothered to keep > > statistics of their chameleon site, and what would be the best way to do > > so? The problems I run into is that I don't want to use some image that > > needs to be downloaded for statistics to be done remotely, because that > > can hold things up (especially when using the 'onload' functionality to > > trigger chameleon functionality). If I use an apache log analyser, I > > usually would have to set up a whole statistics webpage, and I'm not too > > happy with the security some of those things offer. Also, the statistics > > from the log are not too useful, because users refreshing the page > > (submitting) results in multiple entries, and if you run more than one > > chameleon site you cannot tell easily what belongs to what (using a > > database to split up results doesn't work, because the URL strings are > > too long). > > > > Does anyone have a better idea? Perhaps a statistics widget that uses > > session info? > > > > Regards, > > > > Jacob > > > > > > > > JACOB DELFOS > > SPATIAL INFORMATION ANALYST > > Maunsell Australia Pty Ltd > > 629 Newcastle Street > > PO Box 81 > > Leederville 6902 > > Western Australia > > ABN 20 093 846 925 > > > > Tel + 61 8 9281 6185 > > Fax + 61 8 9281 6297 > > jacob.delfos@maunsell.com > > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > http://lists.maptools.org/mailman/listinfo/chameleon > > -- > ----------------------------------------------------------------- > |Paul Spencer pspencer@dmsolutions.ca > | > |-----------------------------------------------------------------| > |Applications & Software Development | > |DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > > > ------------------------------------------------------------------------ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Sep 2 09:36:15 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i82DaF9r031575 for ; Thu, 2 Sep 2004 09:36:15 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (8.13.0/8.13.0) with ESMTP id i82DaEbJ009136; Thu, 2 Sep 2004 09:36:15 -0400 Received: from magma.ca (ottawa-dial-64-26-139-92.d-ip.magma.ca [64.26.139.92]) by mail2.magma.ca (8.13.0/8.13.0) with ESMTP id i82DaAcf031797; Thu, 2 Sep 2004 09:36:13 -0400 Message-ID: <413721BB.3000102@magma.ca> Date: Thu, 02 Sep 2004 09:35:55 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Godwin, Elizabeth" Subject: Re: [Chameleon] Locate widget References: <482A7044F4DB2740884BAF6AFD7416091E3AF6@onncrxms2.agr.gc.ca> In-Reply-To: <482A7044F4DB2740884BAF6AFD7416091E3AF6@onncrxms2.agr.gc.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2004 13:36:16 -0000 Liz, can you try changing to another font that is in the font file? Also, please triple check that you are using the font file you think you are using (i.e. change its name on disk and in the map file and make sure that it still loads the map file ok). Paul Godwin, Elizabeth wrote: > I've discovered that the Locate widget (using cvs) fails when I'm using > it in my custom application. > > It fails when setting the font to "sans" on line 1051 ish in the Draw > point function in Locate.widget.php. At least, this is my assumption > as commenting out that line and the next one (set font type to Truetype) > makes the error go away. > > Why might it fail here, when it works in the CVS samples? I'm using the > same font files in the same ../etc/fonts.txt file setup as with the samples. > > Also I've noticed that the error triggers one of my custom widgets to > open it's popup, thus causing more errors. > > I've noticed postings on the throwing errors to popups, but not the > locate widget problem. Anyone else experiencing this? > > Cheers, > > Liz Godwin > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Godwinl@AGR.GC.CA Thu Sep 2 11:14:15 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i82FEF9r032765 for ; Thu, 2 Sep 2004 11:14:15 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i82Eq70V029039; Thu, 2 Sep 2004 10:52:07 -0400 Received: from onncrxcn1.AGR.GC.CA ([10.117.15.130]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i82F7pji011794; Thu, 2 Sep 2004 11:07:51 -0400 Received: from onncrxms2.AGR.GC.CA ([10.117.15.28]) by onncrxcn1.AGR.GC.CA with Microsoft SMTPSVC(5.0.2195.6713); Thu, 2 Sep 2004 11:13:08 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: [Chameleon] Locate widget Date: Thu, 2 Sep 2004 11:13:06 -0400 Message-ID: <482A7044F4DB2740884BAF6AFD7416091E3AF7@onncrxms2.agr.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Chameleon] Locate widget Thread-Index: AcSQ8fPlVs2COlX/TQa7PfYPFB71KAADHjVw From: "Godwin, Elizabeth" To: X-OriginalArrivalTime: 02 Sep 2004 15:13:08.0021 (UTC) FILETIME=[5A5B4E50:01C490FF] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i82FEF9r032765 Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2004 15:14:15 -0000 Ok... So it seems I looked too quickly. I think I also assumed that the widget was calling the default fonts (chameleon/etc). That said... should a generic widget be using it's OWN fonts, or those supplied by the application? It's obviously using mine, but one shouldn't have to go and change the widget to change the font used by the locate widget. Perhaps it should be an attribute set at the widget since it is something that affects the Look and Feel of the application. ie font=sans or font=arial etc. Should fonts be part of skins since they also affect buttons etc? Should I post an enhancement? Liz -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: September 2, 2004 9:36 AM To: Godwin, Elizabeth Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Locate widget Liz, can you try changing to another font that is in the font file? Also, please triple check that you are using the font file you think you are using (i.e. change its name on disk and in the map file and make sure that it still loads the map file ok). Paul Godwin, Elizabeth wrote: > I've discovered that the Locate widget (using cvs) fails when I'm > using > it in my custom application. > > It fails when setting the font to "sans" on line 1051 ish in the Draw > point function in Locate.widget.php. At least, this is my assumption > as commenting out that line and the next one (set font type to > Truetype) > makes the error go away. > > Why might it fail here, when it works in the CVS samples? I'm using > the > same font files in the same ../etc/fonts.txt file setup as with the samples. > > Also I've noticed that the error triggers one of my custom widgets to > open it's popup, thus causing more errors. > > I've noticed postings on the throwing errors to popups, but not the > locate widget problem. Anyone else experiencing this? > > Cheers, > > Liz Godwin > > > > ---------------------------------------------------------------------- > -- > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Sep 2 12:11:01 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i82GB19r000930 for ; Thu, 2 Sep 2004 12:11:01 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (8.13.0/8.13.0) with ESMTP id i82GB0CA030774; Thu, 2 Sep 2004 12:11:01 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail3.magma.ca (8.13.0/8.13.0) with ESMTP id i82GAvQH019741; Thu, 2 Sep 2004 12:11:00 -0400 Message-ID: <41374603.70909@magma.ca> Date: Thu, 02 Sep 2004 12:10:43 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Godwin, Elizabeth" Subject: Re: [Chameleon] Locate widget References: <482A7044F4DB2740884BAF6AFD7416091E3AF7@onncrxms2.agr.gc.ca> In-Reply-To: <482A7044F4DB2740884BAF6AFD7416091E3AF7@onncrxms2.agr.gc.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org, pspencer@dmsolutions.ca X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2004 16:11:02 -0000 Liz, this is tricky. The locate widget creates a new layer to place the point/rect annotations on the map, hence it uses mapserver's labelling which means that the font the locate widget uses must be available in the map file's fontset. I suspect that the real fix to this would be for chameleon to replace the fontset of the users map file with its own manufactured font file that contains references to both the user's fonts and the built-in fonts (except where the user's font file already contains a reference to a built-in font). The same would have to be done for symbols I guess. Ideally, it would be possible to access information about fonts and symbols through mapscript so that an application could do intelligent things like add fonts on the fly. Please file as a bug/enhancement :) Cheers, Paul Godwin, Elizabeth wrote: > Ok... So it seems I looked too quickly. I think I also assumed that the > widget was calling the default fonts (chameleon/etc). > > That said... should a generic widget be using it's OWN fonts, or those > supplied by the application? It's obviously using mine, but one > shouldn't have to go and change the widget to change the font used by > the locate widget. > > Perhaps it should be an attribute set at the widget since it is > something that affects the Look and Feel of the application. ie > font=sans or font=arial etc. Should fonts be part of skins since they > also affect buttons etc? > > Should I post an enhancement? > > Liz > > -----Original Message----- > From: Paul Spencer [mailto:pagameba@magma.ca] > Sent: September 2, 2004 9:36 AM > To: Godwin, Elizabeth > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Locate widget > > > Liz, > > can you try changing to another font that is in the font file? Also, > please triple check that you are using the font file you think you are > using (i.e. change its name on disk and in the map file and make sure > that it still loads the map file ok). > > Paul > > Godwin, Elizabeth wrote: > > >>I've discovered that the Locate widget (using cvs) fails when I'm >>using >>it in my custom application. >> >>It fails when setting the font to "sans" on line 1051 ish in the Draw >>point function in Locate.widget.php. At least, this is my assumption > > >>as commenting out that line and the next one (set font type to >>Truetype) >>makes the error go away. >> >>Why might it fail here, when it works in the CVS samples? I'm using >>the >>same font files in the same ../etc/fonts.txt file setup as with the > > samples. > >> >>Also I've noticed that the error triggers one of my custom widgets to >>open it's popup, thus causing more errors. >> >>I've noticed postings on the throwing errors to popups, but not the >>locate widget problem. Anyone else experiencing this? >> >>Cheers, >> >>Liz Godwin >> >> >> >>---------------------------------------------------------------------- >>-- >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon > > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From joanvp@yahoo.com Thu Sep 2 07:49:21 2004 Received: from web50305.mail.yahoo.com (web50305.mail.yahoo.com [206.190.38.59]) by www.maptools.org (8.12.8/8.12.8) with SMTP id i82BnK9r030768 for ; Thu, 2 Sep 2004 07:49:20 -0400 Message-ID: <20040902114829.95841.qmail@web50305.mail.yahoo.com> Received: from [130.206.76.173] by web50305.mail.yahoo.com via HTTP; Thu, 02 Sep 2004 04:48:29 PDT Date: Thu, 2 Sep 2004 04:48:29 -0700 (PDT) From: joanvp To: chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailman-Approved-At: Thu, 02 Sep 2004 17:17:24 -0400 Subject: [Chameleon] Is there some installation guide on windows? X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2004 11:49:22 -0000 I've downloaded Chameleon 1.99 beta, and I'm trying to understand how can I intall the package on Windows. Can someone help me? Is there some guide? __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail From ken@rockies.ca Thu Sep 2 17:43:29 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i82LhT9r003456 for ; Thu, 2 Sep 2004 17:43:29 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id pawveaaa for chameleon@lists.maptools.org; Thu, 2 Sep 2004 15:31:14 -0600 From: "Ken Sanderson" To: "'joanvp'" , Subject: RE: [Chameleon] Is there some installation guide on windows? Date: Thu, 2 Sep 2004 15:47:13 -0600 Message-ID: <003001c49136$6bfa8c20$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 In-reply-to: <20040902114829.95841.qmail@web50305.mail.yahoo.com> Importance: Normal Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2004 21:43:30 -0000 I assume by windows you mean with IIS. The instructions are on the Wiki site: http://www.maptools.org/chameleon/wiki/ChameleonInstallationInstructions If you get stuck, I did it not to long ago and 'should' be able to help :) Ken -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of joanvp Sent: September 2, 2004 5:48 AM To: chameleon@lists.maptools.org Subject: [Chameleon] Is there some installation guide on windows? I've downloaded Chameleon 1.99 beta, and I'm trying to understand how can I intall the package on Windows. Can someone help me? Is there some guide? __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From bartvde@xs4all.nl Fri Sep 3 08:07:58 2004 Received: from smtp-vbr13.xs4all.nl (smtp-vbr13.xs4all.nl [194.109.24.33]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i83C7v9r010431 for ; Fri, 3 Sep 2004 08:07:57 -0400 Received: from webmail.xs4all.nl (webmail10.xs4all.nl [194.109.22.170]) by smtp-vbr13.xs4all.nl (8.12.11/8.12.11) with SMTP id i83C7ojV071851 for ; Fri, 3 Sep 2004 14:07:55 +0200 (CEST) (envelope-from bartvde@xs4all.nl) Received: from 194.151.190.74 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Fri, 3 Sep 2004 14:07:56 +0200 (CEST) Message-ID: <9589.194.151.190.74.1094213276.squirrel@webmail.xs4all.nl> Date: Fri, 3 Sep 2004 14:07:56 +0200 (CEST) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by XS4ALL Virus Scanner Subject: [Chameleon] session lock problem X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Sep 2004 12:07:58 -0000 Hi list, I have a strange problem, hopefully somebody here has some ideas what could be the cause. I have an application in which a WMS layer is added by using form variables. Adding the first layer there is no problem, but when adding the second layer (in the same session) it takes almost 30 seconds, apparently because there is a lock in the session (I watched the session dir). Strangely enough, at our production machine everything works fine, but at the customer the above described delay (because of a lock) occurs. I can't see any thing different in the php.ini files. During the delay the browser page "hangs", and just after 25-30 seconds the parseURL functions etc. are called again which will add the layer. Any ideas perhaps what I could check? Thanks in advance. Best regards, Bart From pagameba@magma.ca Fri Sep 3 11:00:34 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i83F0X9r014044 for ; Fri, 3 Sep 2004 11:00:34 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (8.13.0/8.13.0) with ESMTP id i83F0Wxf028091; Fri, 3 Sep 2004 11:00:33 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail3.magma.ca (8.13.0/8.13.0) with ESMTP id i83F0Qnt020914; Fri, 3 Sep 2004 11:00:31 -0400 Message-ID: <413886FB.9080001@magma.ca> Date: Fri, 03 Sep 2004 11:00:11 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl Subject: Re: [Chameleon] session lock problem References: <9589.194.151.190.74.1094213276.squirrel@webmail.xs4all.nl> In-Reply-To: <9589.194.151.190.74.1094213276.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Sep 2004 15:00:34 -0000 Bart, there is code in session.php that provides a lock file on windows (not needed on linux), it is deleted when a php process ends. There are some circumstances under which it may not be deleted, so the code only waits for up to 28 seconds (well, 2 seconds less than the full timeout) One reason may be that the code to delete the file is failing (permissions?) or that the process that owns the file is not ending properly (if php crashes then the code to end the session won't run). I'd really like to have a better solution for this kind of thing on windows :( HTH Paul bartvde@xs4all.nl wrote: > Hi list, > > I have a strange problem, hopefully somebody here has some ideas what > could be the cause. > > I have an application in which a WMS layer is added by using form > variables. Adding the first layer there is no problem, but when adding the > second layer (in the same session) it takes almost 30 seconds, apparently > because there is a lock in the session (I watched the session dir). > > Strangely enough, at our production machine everything works fine, but at > the customer the above described delay (because of a lock) occurs. I can't > see any thing different in the php.ini files. > > During the delay the browser page "hangs", and just after 25-30 seconds > the parseURL functions etc. are called again which will add the layer. > > Any ideas perhaps what I could check? > > Thanks in advance. > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From joanvp@yahoo.com Fri Sep 3 05:07:05 2004 Received: from web50306.mail.yahoo.com (web50306.mail.yahoo.com [206.190.38.60]) by www.maptools.org (8.12.8/8.12.8) with SMTP id i839759r008949 for ; Fri, 3 Sep 2004 05:07:05 -0400 Message-ID: <20040903081454.20403.qmail@web50306.mail.yahoo.com> Received: from [130.206.76.79] by web50306.mail.yahoo.com via HTTP; Fri, 03 Sep 2004 01:14:54 PDT Date: Fri, 3 Sep 2004 01:14:54 -0700 (PDT) From: joanvp Subject: RE: [Chameleon] Is there some installation guide on windows? To: ken@rockies.ca, chameleon@lists.maptools.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailman-Approved-At: Fri, 03 Sep 2004 17:39:50 -0400 Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Sep 2004 09:07:06 -0000 Thank you Ken, But I'm trying to run it with Apache. For more information, I've installed succesfully Maplab. But I don't know how to start with Chameleon From: "Ken Sanderson" Add to Address Book To: "'joanvp'" , chameleon@lists.maptools.org Subject: RE: [Chameleon] Is there some installation guide on windows? Date: Thu, 2 Sep 2004 15:47:13 -0600 I assume by windows you mean with IIS. The instructions are on the Wiki site: http://www.maptools.org/chameleon/wiki/ChameleonInstallationInstructions If you get stuck, I did it not to long ago and 'should' be able to help :) Ken -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of joanvp Sent: September 2, 2004 5:48 AM To: chameleon@lists.maptools.org Subject: [Chameleon] Is there some installation guide on windows? I've downloaded Chameleon 1.99 beta, and I'm trying to understand how can I intall the package on Windows. Can someone help me? Is there some guide? __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From frizby@aqua.wisc.edu Fri Sep 3 09:23:51 2004 Received: from ascexch.ad.aqua.wisc.edu (mail.aqua.wisc.edu [144.92.46.7]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i83DNo9r011113 for ; Fri, 3 Sep 2004 09:23:51 -0400 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C491B8.C53EF843" X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Date: Fri, 3 Sep 2004 08:20:24 -0500 Message-ID: <938BC3CF2826CC4BBD621BD72C23D6E9562E36@ascexch.ad.aqua.wisc.edu> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Win2k3.... Thread-Index: AcSRuMURjQ4afjIvQ/mwHl8Rp6GHSw== From: "Frizby James H. Grandt" To: X-Mailman-Approved-At: Fri, 03 Sep 2004 17:39:50 -0400 Subject: [Chameleon] Win2k3.... X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Sep 2004 13:23:51 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C491B8.C53EF843 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Do your maptools work on a Win2K3 server? =20 MS4W (along with Chameleon and MapLab) =20 James H. Grandt - Network Engineer/Sys Admin UW-Madison - Aquatic Sciences Center 1975 Willow Drive Room 214 Madison, WI 53706-1177 Text Msg : 6082123084@uscc.textmsg.com =20 Cell: (608)212-3084 Ph: (608)263-6961 FAX: (608)262-0591 =20 ------_=_NextPart_001_01C491B8.C53EF843 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Do = your maptools=20 work on a Win2K3 server?
 
MS4W (along with Chameleon and=20 MapLab)
 
James H. Grandt -=20 Network Engineer/Sys Admin
UW-Madison -
Aquatic Sciences Center
1975 Willow Drive   Room=20 214
Madison, WI  53706-1177
Text Msg :
6082123084@uscc.textmsg.com
Cell:=20 (608)212-3084  Ph: (608)263-6961  FAX: = (608)262-0591
 
------_=_NextPart_001_01C491B8.C53EF843-- From bartvde@xs4all.nl Sat Sep 4 11:29:35 2004 Received: from smtp-vbr7.xs4all.nl (smtp-vbr7.xs4all.nl [194.109.24.27]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i84FTY8l032583 for ; Sat, 4 Sep 2004 11:29:35 -0400 Received: from client (gisvacatures.xs4all.nl [194.109.194.13]) by smtp-vbr7.xs4all.nl (8.12.11/8.12.11) with ESMTP id i84FTPBo085419; Sat, 4 Sep 2004 17:29:25 +0200 (CEST) (envelope-from bartvde@xs4all.nl) To: joanvp , ken@rockies.ca, chameleon@lists.maptools.org Subject: Re: [Chameleon] Is there some installation guide on windows? References: <20040903081454.20403.qmail@web50306.mail.yahoo.com> Message-ID: From: Bart van den Eijnden Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Sat, 04 Sep 2004 17:28:08 +0200 In-Reply-To: <20040903081454.20403.qmail@web50306.mail.yahoo.com> User-Agent: Opera7.23/Win32 M2 build 3227 X-Virus-Scanned: by XS4ALL Virus Scanner Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: bartvde@xs4all.nl List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Sep 2004 15:29:35 -0000 You can try the MS4W packages of Chameleon. http://www.maptools.org/ms4w/index.phtml?page=downloads.html Best regards, Bart On Fri, 3 Sep 2004 01:14:54 -0700 (PDT), joanvp wrote: > Thank you Ken, > > But I'm trying to run it with Apache. > > For more information, I've installed succesfully > Maplab. But I don't know how to start with Chameleon > > > From: "Ken Sanderson" Add to Address > Book > To: "'joanvp'" , > chameleon@lists.maptools.org > Subject: RE: [Chameleon] Is there some installation > guide on windows? > Date: Thu, 2 Sep 2004 15:47:13 -0600 > > > I assume by windows you mean with IIS. > > The instructions are on the Wiki site: > > http://www.maptools.org/chameleon/wiki/ChameleonInstallationInstructions > > If you get stuck, I did it not to long ago and > 'should' be able to help > :) > > Ken > > -----Original Message----- > From: chameleon-bounces@lists.maptools.org > [mailto:chameleon-bounces@lists.maptools.org] On > Behalf Of joanvp > Sent: September 2, 2004 5:48 AM > To: chameleon@lists.maptools.org > Subject: [Chameleon] Is there some installation guide > on windows? > > > I've downloaded Chameleon 1.99 beta, and I'm trying to > understand how > can I intall the package on Windows. > > Can someone help me? Is there some guide? > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - 50x more storage than other providers! > http://promotions.yahoo.com/new_mail > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- From pagameba@magma.ca Sat Sep 4 16:47:37 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i84Klb8l002547 for ; Sat, 4 Sep 2004 16:47:37 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (8.13.0/8.13.0) with ESMTP id i84KlZpQ022161; Sat, 4 Sep 2004 16:47:36 -0400 Received: from magma.ca (ottawa-dial-64-26-139-254.d-ip.magma.ca [64.26.139.254]) by mail4.magma.ca (8.13.0/8.13.0) with ESMTP id i84KlTDe025194; Sat, 4 Sep 2004 16:47:35 -0400 Message-ID: <413A29D1.8000806@magma.ca> Date: Sat, 04 Sep 2004 16:47:13 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Frizby James H. Grandt" Subject: Re: [Chameleon] Win2k3.... References: <938BC3CF2826CC4BBD621BD72C23D6E9562E36@ascexch.ad.aqua.wisc.edu> In-Reply-To: <938BC3CF2826CC4BBD621BD72C23D6E9562E36@ascexch.ad.aqua.wisc.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Sep 2004 20:47:37 -0000 I haven't heard that they don't. MS4W will not work with IIS directly, however, as it comes with its own Apache web server. I believe that it is possible to make it work with IIS. That would make a great topic for a FAQ on the MS4W wiki if anyone has tried it successfully? Paul Frizby James H. Grandt wrote: > Do your maptools work on a Win2K3 server? > > MS4W (along with Chameleon and MapLab) > > James H. Grandt - Network Engineer/Sys Admin > UW-Madison - Aquatic Sciences Center > 1975 Willow Drive Room 214 > Madison, WI 53706-1177 > Text Msg : 6082123084@uscc.textmsg.com > Cell: (608)212-3084 Ph: (608)263-6961 FAX: (608)262-0591 > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From jacob.delfos@maunsell.com Sun Sep 5 21:40:57 2004 Received: from auper1gw001.hgm.com.au ([202.139.2.70]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i861er8l024532 for ; Sun, 5 Sep 2004 21:40:55 -0400 Received: from auper1gw001.hgm.com.au (localhost.localdomain [127.0.0.1]) by auper1gw001.hgm.com.au (8.12.8/8.12.8) with ESMTP id i861kIMA008542 for ; Mon, 6 Sep 2004 09:46:18 +0800 Received: from auper1pc364 (Jacob_Delfos [172.21.40.93]) by auper1gw001.hgm.com.au (8.12.8/8.12.8) with SMTP id i861kFMW008537; Mon, 6 Sep 2004 09:46:16 +0800 Message-ID: <000801c493b2$723ba5f0$5d2815ac@auper1pc364> From: "Jacob Delfos" To: Subject: RE: [Chameleon] Statistics for a chameleon server Date: Mon, 6 Sep 2004 09:40:07 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C493F5.7EFBAC70" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Sep 2004 01:40:58 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C493F5.7EFBAC70 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Paul, With "usage by application", do you mean for different contexts? I guess = if it has to be specific for a module, we would have to specify a module = name in chameleon. It would probably not be a bad idea for other = purposes as well, if a chameleon site (whether chameleon or CWC based) = could be referred to by means of a module name.=20 We run a few sites on our server, but for each site I set up a separate = htdocs area (so I can be more specific in configuration, and = permissions). So I guess it wouldn't make a difference for us. But I = imagine it could be easy to have statistics all stored in the same = folder on the disc, with the dbf named after their module. The admin = module could inventorise all availabe statistics files without having to = know which modules exist. Am I being too vague here? regards, Jacob -----Original Message----- From: Paul Spencer []=20 Sent: 2 September 2004 21:27 To: Jacob Delfos Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Statistics for a chameleon server Jacob, the admin pages are not currently working but will be fixed up for the=20 next beta. Sounds like a cool utility. Can it be extended to track useage by=20 application as well? I would be interested in adding it to the admin package as an optional=20 component. Cheers, Paul Jacob Delfos wrote: > Paul, > =20 > I wasn't aware of the admin capability (admin.php?). I just tried it,=20 > but it came out blank. > =20 > I have implemented a simple counting solution, that gathers = information=20 > from a user when a new session is started (I call a function from=20 > session.php). The information is just what I can get from php (IP,=20 > browser, etc.), but at least I get some idea of who comes around. It=20 > opens/creates a dbf file and adds a new record to it for each user. I=20 > had to give write permission to the folder where I placed the dbf = file.=20 > I wrote a small phtml file to spit out the records, and give the = totals.=20 > See > =20 > I'm not sure if it should/could be a widget, because it doesn't really = > have to do with the functionality of the page. I have no doubt it = could=20 > be implemented far more elaborately with more functionality than what = I=20 > made, though. (e.g. you could make it write W3C format logs, and use = an=20 > open-source web-statistics tool with graphs to analyse them). > =20 > If anyone is interested in the code, let me know. > =20 > regards, > =20 > Jacob > =20 > =20 > -----Original Message----- > From: Paul Spencer [] > Sent: 9 August 2004 19:57 > To: J. Delfos > Cc: chameleon@lists.maptools.org = <> > Subject: Re: [Chameleon] Statistics for a chameleon server > =20 >=20 > Jacob, > =20 > that's a neat widget idea. I think a generic logging widget would be = a > useful thing for quite a few people. It may be useful to have it = hooked > into the admin capability perhaps. > =20 > Unfortunately, I don't have any plans to add such a widget, but if you > or someone else does, I'll certainly look at incorporating it into the > chameleon distribution. > =20 > Cheers, > =20 > Paul > =20 > J. Delfos wrote: > > Hi All, > > > > I just wanted to ask whether anyone else has ever bothered to keep > > statistics of their chameleon site, and what would be the best way = to do > > so? The problems I run into is that I don't want to use some image = that > > needs to be downloaded for statistics to be done remotely, because = that > > can hold things up (especially when using the 'onload' = functionality to > > trigger chameleon functionality). If I use an apache log analyser, = I > > usually would have to set up a whole statistics webpage, and I'm = not too > > happy with the security some of those things offer. Also, the = statistics > > from the log are not too useful, because users refreshing the page > > (submitting) results in multiple entries, and if you run more than = one > > chameleon site you cannot tell easily what belongs to what (using a > > database to split up results doesn't work, because the URL strings = are > > too long). > > > > Does anyone have a better idea? Perhaps a statistics widget that = uses > > session info? > > > > Regards, > > > > Jacob > > > >=20 > >=20 > > JACOB DELFOS > > SPATIAL INFORMATION ANALYST > > Maunsell Australia Pty Ltd > > 629 Newcastle Street > > PO Box 81 > > Leederville 6902 > > Western Australia > > ABN 20 093 846 925 > >=20 > > Tel + 61 8 9281 6185 > > Fax + 61 8 9281 6297 > > jacob.delfos@maunsell.com <>=20 > <> > > > > > > = ------------------------------------------------------------------------ > > > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org = <> > > > =20 > --=20 > ----------------------------------------------------------------- > |Paul Spencer pspencer@dmsolutions.ca=20 > <> | > |-----------------------------------------------------------------| > |Applications & Software Development | > |DM Solutions Group Inc > ----------------------------------------------------------------- >=20 >=20 > = ------------------------------------------------------------------------ >=20 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > --=20 ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc ----------------------------------------------------------------- ------=_NextPart_000_0005_01C493F5.7EFBAC70 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Paul,
 
With "usage by application", do you = mean for=20 different contexts? I guess if it has to be specific for a module, we = would have=20 to specify a module name in chameleon. It would probably not be a bad = idea for=20 other purposes as well, if a chameleon site (whether chameleon or CWC = based)=20 could be referred to by means of a module name.
 
We run a few sites on our server, but = for each site=20 I set up a separate htdocs area (so I can be more specific in = configuration, and=20 permissions). So I guess it wouldn't make a difference for us. But I = imagine it=20 could be easy to have statistics all stored in the same folder on the = disc, with=20 the dbf named after their module. The admin module could = inventorise all=20 availabe statistics files without having to know which modules exist. Am = I being=20 too vague here?
 
regards,

Jacob
 
 
-----Original Message-----
From: = Paul Spencer=20 [<mailto:pagameba@magma.ca>]=20
Sent: 2 September 2004 21:27
To: Jacob Delfos
Cc: chameleon@lists.maptools.org=
Subject:=20 Re: [Chameleon] Statistics for a chameleon server
 

Jacob,
 
the admin pages are not currently working but will be fixed up for = the=20
next beta.
 
Sounds like a cool utility.  Can it be extended to track = useage by=20
application as well?
 
I would be interested in adding it to the admin package as an = optional=20
component.
 
Cheers,
 
Paul
 
Jacob Delfos wrote:
 
> Paul,

> I wasn't aware of the admin = capability=20 (admin.php?). I just tried it,
> but it came out = blank.
> =20
> I have implemented a simple counting solution, that gathers = information=20
> from a user when a new session is started (I call a function = from=20
> session.php). The information is just what I can get from php = (IP,=20
> browser, etc.), but at least I get some idea of who comes = around. It=20
> opens/creates a dbf file and adds a new record to it for each = user. I=20
> had to give write permission to the folder where I placed the = dbf file.=20
> I wrote a small phtml file to spit out the records, and give = the=20 totals.
> See <http://spatial.hgm.com.au/cwcroe7/common/session/viewstats.phtml>=
> =20
> I'm not sure if it should/could be a widget, because it doesn't = really=20
> have to do with the functionality of the page. I have no doubt = it could=20
> be implemented far more elaborately with more functionality = than what I=20
> made, though. (e.g. you could make it write W3C format logs, = and use an=20
> open-source web-statistics tool with graphs to analyse=20 them).

> If anyone is interested in the code, let = me=20 know.

> regards,

> = Jacob
> =20

> -----Original Message-----
> From: Paul = Spencer=20 [<mailto:pagameba@magma.ca>]
&g= t; Sent:=20 9 August 2004 19:57
> To: J. Delfos
> Cc: chameleon@lists.maptools.org= =20 <<mailto:chameleon@lists.mapto= ols.org>>
>=20 Subject: Re: [Chameleon] Statistics for a chameleon server
>  =
>
> Jacob,

> that's a neat widget = idea. =20 I think a generic logging widget would be a
> useful thing for = quite a few=20 people.  It may be useful to have it hooked
> into the admin=20 capability perhaps.

> Unfortunately, I don't have = any plans=20 to add such a widget, but if you
> or someone else does, I'll = certainly=20 look at incorporating it into the
> chameleon = distribution.
> =20
> Cheers,

> Paul

> J. = Delfos=20 wrote:
>  > Hi All,
>  >
>  > = I just=20 wanted to ask whether anyone else has ever bothered to = keep
>  >=20 statistics of their chameleon site, and what would be the best way to=20 do
>  > so? The problems I run into is that I don't want = to use=20 some image that
>  > needs to be downloaded for statistics = to be=20 done remotely, because that
>  > can hold things up = (especially=20 when using the 'onload' functionality to
>  > trigger = chameleon=20 functionality). If I use an apache log analyser, I
>  > = usually=20 would have to set up a whole statistics webpage, and I'm not = too
> =20 > happy with the security some of those things offer. Also, the=20 statistics
>  > from the log are not too useful, because = users=20 refreshing the page
>  > (submitting) results in multiple = entries,=20 and if you run more than one
>  > chameleon site you = cannot tell=20 easily what belongs to what (using a
>  > database to = split up=20 results doesn't work, because the URL strings are
>  > too = long).
>  >
>  > Does anyone have a better = idea?=20 Perhaps a statistics widget that uses
>  > session=20 info?
>  >
>  > Regards,
> =20 >
>  > Jacob
>  >
>  >=20
>  >
>  > JACOB DELFOS
>  > = SPATIAL=20 INFORMATION ANALYST
>  > Maunsell Australia Pty = Ltd
> =20 > 629 Newcastle Street
>  > PO Box 81
>  = >=20 Leederville 6902
>  > Western Australia
>  > = ABN 20=20 093 846 925
>  >
>  > = Tel     +=20 61 8 9281 6185
>  > Fax    + 61 8 9281=20 6297
>  > jacob.delfos@maunsell.com = <<mailto:jacob.delfos@maunsell.co= m>>=20
> <<mailto:jacob.delfos@maunsell.co= m>>
> =20 >
>  >
>  >=20 ------------------------------------------------------------------------<= BR>> =20 >
>  >=20 _______________________________________________
>  > = Chameleon=20 mailing list
>  > Chameleon@lists.maptools.org= =20 <<mailto:Chameleon@lists.mapto= ols.org>>
> =20 > <http://list= s.maptools.org/mailman/listinfo/chameleon>
> =20
> --
>  =20 -----------------------------------------------------------------
>= |Paul=20 Spencer           =             &= nbsp;  =20 pspencer@dmsolutions.ca =
>=20 <<mailto:pspencer@dmsolutions.ca>>  =20 |
>=20 |-----------------------------------------------------------------|
&g= t;=20 |Applications & Software=20 Development          &n= bsp;           &nb= sp;      =20 |
> |DM Solutions Group=20 Inc           &nbs= p;    =20 <http://www.dmsolutions.ca/|>>  =20 -----------------------------------------------------------------
>= =20
>
>=20 ------------------------------------------------------------------------<= BR>>=20
> _______________________________________________
> = Chameleon=20 mailing list
> Chameleon@lists.maptools.org=
>=20 <http://list= s.maptools.org/mailman/listinfo/chameleon>
 
--
 =20 -----------------------------------------------------------------
|Pau= l=20 Spencer           =             &= nbsp;  =20 pspencer@dmsolutions.ca =  =20 |
|-----------------------------------------------------------------|<= BR>|Applications=20 & Software=20 Development          &n= bsp;           &nb= sp;      =20 |
|DM Solutions Group=20 Inc           &nbs= p;    =20 <http://www.dmsolutions.ca/|> =20 -----------------------------------------------------------------
 
 
------=_NextPart_000_0005_01C493F5.7EFBAC70-- From tylermitchell@shaw.ca Mon Sep 6 16:43:31 2004 Received: from pd5mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i86KhV8l008567 for ; Mon, 6 Sep 2004 16:43:31 -0400 Received: from pd4mr7so.prod.shaw.ca (pd4mr7so-qfe3.prod.shaw.ca [10.0.141.84]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0I3N008TI08IO1@l-daemon> for chameleon@lists.maptools.org; Mon, 06 Sep 2004 14:43:30 -0600 (MDT) Received: from pn2ml1so.prod.shaw.ca ([10.0.121.145]) by pd4mr7so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0I3N00BX708I2I60@pd4mr7so.prod.shaw.ca> for chameleon@lists.maptools.org; Mon, 06 Sep 2004 14:43:30 -0600 (MDT) Received: from s01060050bac93dcb.ca.shawcable.net (S01060050bac93dcb.ca.shawcable.net [24.70.56.49]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0I3N00H5008HLQ@l-daemon> for chameleon@lists.maptools.org; Mon, 06 Sep 2004 14:43:30 -0600 (MDT) Date: Mon, 06 Sep 2004 13:41:02 -0700 From: Tyler Mitchell To: chameleon@lists.maptools.org Message-id: <200409061341.02561.tylermitchell@shaw.ca> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Content-disposition: inline User-Agent: KMail/1.6.2 Cc: dmorrissette@dmsolutions.ca Subject: [Chameleon] Are downloads from maptools.org working? X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Sep 2004 20:43:31 -0000 I'm looking for the latest greatest chameleon version, but downloads don't seem to work from maptools.org. http://dl.maptools.org/dl/index.php?file=chameleon%2Fchameleon-1.99beta2.tar.gz&ACTION=Download yields an "Internal Server Error". Tyler From tylermitchell@shaw.ca Mon Sep 6 19:34:22 2004 Received: from pd3mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i86NYM8l009988 for ; Mon, 6 Sep 2004 19:34:22 -0400 Received: from pd2mr3so.prod.shaw.ca (pd2mr3so-qfe3.prod.shaw.ca [10.0.141.108]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0I3N00HF05OZIX10@l-daemon> for chameleon@lists.maptools.org; Mon, 06 Sep 2004 16:41:23 -0600 (MDT) Received: from pn2ml2so.prod.shaw.ca ([10.0.121.146]) by pd2mr3so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0I3N00LLO5OZEDN0@pd2mr3so.prod.shaw.ca> for chameleon@lists.maptools.org; Mon, 06 Sep 2004 16:41:23 -0600 (MDT) Received: from s01060050bac93dcb.ca.shawcable.net (S01060050bac93dcb.ca.shawcable.net [24.70.56.49]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0I3N0022B5OZR7@l-daemon> for chameleon@lists.maptools.org; Mon, 06 Sep 2004 16:41:23 -0600 (MDT) Date: Mon, 06 Sep 2004 15:39:00 -0700 From: Tyler Mitchell Subject: Re: [Chameleon] Are downloads from maptools.org working? In-reply-to: <200409061341.02561.tylermitchell@shaw.ca> To: chameleon@lists.maptools.org Message-id: <200409061539.00825.tylermitchell@shaw.ca> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Content-disposition: inline References: <200409061341.02561.tylermitchell@shaw.ca> User-Agent: KMail/1.6.2 X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Sep 2004 23:34:23 -0000 I found another way to grab it, but the "normal" way still seems to not work. Tyler On September 6, 2004 01:41 pm, Tyler Mitchell wrote: > I'm looking for the latest greatest chameleon version, but downloads don't > seem to work from maptools.org. > > http://dl.maptools.org/dl/index.php?file=chameleon%2Fchameleon-1.99beta2.ta >r.gz&ACTION=Download yields an "Internal Server Error". > > Tyler > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon From dmorissette@dmsolutions.ca Mon Sep 6 21:37:13 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i871bD8l010940 for ; Mon, 6 Sep 2004 21:37:13 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx2.magma.ca (8.13.0/8.13.0) with ESMTP id i871bB7R001095; Mon, 6 Sep 2004 21:37:12 -0400 Received: from dmsolutions.ca ([207.134.52.254]) (authenticated bits=0) by mail2.magma.ca (8.13.0/8.13.0) with ESMTP id i871bAks018261 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 6 Sep 2004 21:37:11 -0400 Message-ID: <413D10C6.7050706@dmsolutions.ca> Date: Mon, 06 Sep 2004 21:37:10 -0400 From: Daniel Morissette User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tyler Mitchell Subject: Re: [Chameleon] Are downloads from maptools.org working? References: <200409061341.02561.tylermitchell@shaw.ca> In-Reply-To: <200409061341.02561.tylermitchell@shaw.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2004 01:37:13 -0000 Tyler Mitchell wrote: > I'm looking for the latest greatest chameleon version, but downloads don't > seem to work from maptools.org. > > http://dl.maptools.org/dl/index.php?file=chameleon%2Fchameleon-1.99beta2.tar.gz&ACTION=Download > yields an "Internal Server Error". > Yes, there seems to be a problem with the downloads server: it bails on any PHP script. Unfortunately we'll have to wait until tomorrow to have it fixed. :( Daniel -- ------------------------------------------------------------ Daniel Morissette dmorissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From dmorissette@dmsolutions.ca Mon Sep 6 22:16:32 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i872GV8l011213 for ; Mon, 6 Sep 2004 22:16:31 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (8.13.0/8.13.0) with ESMTP id i872GUF0023311; Mon, 6 Sep 2004 22:16:31 -0400 Received: from dmsolutions.ca ([207.134.52.254]) (authenticated bits=0) by mail4.magma.ca (8.13.0/8.13.0) with ESMTP id i872GTnS029187 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 6 Sep 2004 22:16:30 -0400 Message-ID: <413D19FD.9020407@dmsolutions.ca> Date: Mon, 06 Sep 2004 22:16:29 -0400 From: Daniel Morissette User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: chameleon@lists.maptools.org Subject: Re: [Chameleon] Are downloads from maptools.org working? References: <200409061341.02561.tylermitchell@shaw.ca> <413D10C6.7050706@dmsolutions.ca> In-Reply-To: <413D10C6.7050706@dmsolutions.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2004 02:16:32 -0000 Daniel Morissette wrote: > Tyler Mitchell wrote: > >> I'm looking for the latest greatest chameleon version, but downloads >> don't seem to work from maptools.org. >> >> http://dl.maptools.org/dl/index.php?file=chameleon%2Fchameleon-1.99beta2.tar.gz&ACTION=Download >> >> yields an "Internal Server Error". >> > > Yes, there seems to be a problem with the downloads server: it bails on > any PHP script. Unfortunately we'll have to wait until tomorrow to have > it fixed. :( > The maptools download server is back to normal. Sorry about this. Daniel -- ------------------------------------------------------------ Daniel Morissette dmorissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From querada499@hotmail.com Tue Sep 7 11:04:28 2004 Received: from hotmail.com (bay8-f51.bay8.hotmail.com [64.4.27.51]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i87F4S8l018789 for ; Tue, 7 Sep 2004 11:04:28 -0400 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 7 Sep 2004 07:52:37 -0700 Received: from 131.202.163.1 by by8fd.bay8.hotmail.msn.com with HTTP; Tue, 07 Sep 2004 14:52:37 GMT X-Originating-IP: [131.202.163.1] X-Originating-Email: [querada499@hotmail.com] X-Sender: querada499@hotmail.com From: "Robin Robin" To: chameleon@lists.maptools.org Date: Tue, 07 Sep 2004 14:52:37 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 07 Sep 2004 14:52:37.0510 (UTC) FILETIME=[50FAFA60:01C494EA] Subject: [Chameleon] Looking for a Widget X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2004 15:04:29 -0000 Does anyone know of a widget that works similar to identify, but instead of showing all fields I would like a widget that looks at a specific field that contains a url. For various areas in my map, we have summary reports which I would like to display when the user clicks on that area. Does this widget already exist? If so, how do I get it? Thanks Robin _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From ken@rockies.ca Tue Sep 7 12:07:46 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i87G7j8l019883 for ; Tue, 7 Sep 2004 12:07:45 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id eydweaaa for chameleon@lists.maptools.org; Tue, 7 Sep 2004 09:55:05 -0600 From: "Ken Sanderson" To: "'joanvp'" , Subject: RE: [Chameleon] Is there some installation guide on windows? Date: Tue, 7 Sep 2004 10:11:02 -0600 Message-ID: <002701c494f5$48533ed0$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 In-reply-to: Importance: Normal Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2004 16:07:46 -0000 The web link to the instructions I sent you include the install directions for apache as well. MS4W is a nice package provided you don't have parts already installed, if you already have things like php and mapserver installed then you likely want to go with the manual install which is the document I sent you the link for. Either will work, good luck :) Ken -----Original Message----- From: Bart van den Eijnden [mailto:bartvde@xs4all.nl] Sent: September 4, 2004 9:28 AM To: joanvp; ken@rockies.ca; chameleon@lists.maptools.org Subject: Re: [Chameleon] Is there some installation guide on windows? You can try the MS4W packages of Chameleon. http://www.maptools.org/ms4w/index.phtml?page=downloads.html Best regards, Bart On Fri, 3 Sep 2004 01:14:54 -0700 (PDT), joanvp wrote: > Thank you Ken, > > But I'm trying to run it with Apache. > > For more information, I've installed succesfully > Maplab. But I don't know how to start with Chameleon > > > From: "Ken Sanderson" Add to Address > Book > To: "'joanvp'" , chameleon@lists.maptools.org > Subject: RE: [Chameleon] Is there some installation > guide on windows? > Date: Thu, 2 Sep 2004 15:47:13 -0600 > > > I assume by windows you mean with IIS. > > The instructions are on the Wiki site: > > http://www.maptools.org/chameleon/wiki/ChameleonInstallationInstructions > > If you get stuck, I did it not to long ago and > 'should' be able to help > :) > > Ken > > -----Original Message----- > From: chameleon-bounces@lists.maptools.org > [mailto:chameleon-bounces@lists.maptools.org] On > Behalf Of joanvp > Sent: September 2, 2004 5:48 AM > To: chameleon@lists.maptools.org > Subject: [Chameleon] Is there some installation guide > on windows? > > > I've downloaded Chameleon 1.99 beta, and I'm trying to > understand how > can I intall the package on Windows. > > Can someone help me? Is there some guide? > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - 50x more storage than other providers! > http://promotions.yahoo.com/new_mail > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- From eric@gomoos.org Tue Sep 7 12:27:33 2004 Received: from mail.gomoos.org (www.gomoos.org [66.70.82.140]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i87GRX8l020163 for ; Tue, 7 Sep 2004 12:27:33 -0400 Received: from dot170.office.gomoos.org (rrcs-nys-24-97-59-226.biz.rr.com [24.97.59.226]) by mail.gomoos.org (8.12.8p2/8.12.8) with ESMTP id i87GRTuG025801; Tue, 7 Sep 2004 12:27:29 -0400 (EDT) (envelope-from eric@gomoos.org) Subject: Re: [Chameleon] Looking for a Widget From: Eric Bridger To: Robin Robin In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 (1.0.3-4) Date: 07 Sep 2004 12:21:52 -0400 Message-Id: <1094574117.1521.28.camel@ubet.gomoos.org> Mime-Version: 1.0 X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on peleg.gomoos.org Cc: "chameleon@lists.maptools.org" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2004 16:27:33 -0000 On Tue, 2004-09-07 at 10:52, Robin Robin wrote: > Does anyone know of a widget that works similar to identify, but instead of > showing all fields I would like a widget that looks at a specific field that > contains a url. > > For various areas in my map, we have summary reports which I would like to > display when the user clicks on that area. Does this widget already exist? > If so, how do I get it? As far as I know (I'm still a Chameleon beginner) it does not exist. I recently created a Custom widget (based on the Query.widget.php) and the QueryResults.phtml (see: htdocs/widgets/Query/) If you know PHP, QueryResults.phtml is easy to modify and will allow you to do whatever you want with the query results. From ken@rockies.ca Tue Sep 7 12:58:51 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i87Gwp8l020557 for ; Tue, 7 Sep 2004 12:58:51 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id jqeweaaa for chameleon@lists.maptools.org; Tue, 7 Sep 2004 10:46:24 -0600 From: "Ken Sanderson" To: Subject: RE: [Chameleon] Looking for a Widget Date: Tue, 7 Sep 2004 11:02:42 -0600 Message-ID: <005f01c494fc$7feb8f30$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 In-reply-to: <1094574117.1521.28.camel@ubet.gomoos.org> Importance: Normal X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2004 16:58:51 -0000 If anyone tackles this and makes a 'hotlink' widget I wouldn't mind using it as well. Probably tackle it if noone else does for an upcomming project. Ken -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Eric Bridger Sent: September 7, 2004 10:22 AM To: Robin Robin Cc: chameleon@lists.maptools.org Subject: Re: [Chameleon] Looking for a Widget On Tue, 2004-09-07 at 10:52, Robin Robin wrote: > Does anyone know of a widget that works similar to identify, but > instead of > showing all fields I would like a widget that looks at a specific field that > contains a url. > > For various areas in my map, we have summary reports which I would > like to > display when the user clicks on that area. Does this widget already exist? > If so, how do I get it? As far as I know (I'm still a Chameleon beginner) it does not exist. I recently created a Custom widget (based on the Query.widget.php) and the QueryResults.phtml (see: htdocs/widgets/Query/) If you know PHP, QueryResults.phtml is easy to modify and will allow you to do whatever you want with the query results. _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From jfournier@dmsolutions.ca Tue Sep 7 13:09:26 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i87H9P8l020725 for ; Tue, 7 Sep 2004 13:09:26 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (8.13.0/8.13.0) with ESMTP id i87H9NRs003428; Tue, 7 Sep 2004 13:09:24 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail3.magma.ca (8.13.0/8.13.0) with ESMTP id i87H9KZT032595; Tue, 7 Sep 2004 13:09:23 -0400 Message-ID: <413DEB7B.40602@dmsolutions.ca> Date: Tue, 07 Sep 2004 13:10:19 -0400 From: Jason Fournier User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ken Sanderson Subject: Re: [Chameleon] Looking for a Widget References: <005f01c494fc$7feb8f30$31289f88@GLADSTONE> In-Reply-To: <005f01c494fc$7feb8f30$31289f88@GLADSTONE> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2004 17:09:26 -0000 A simple implementation of this function could be the following: ~ line 454 QueryResults.phtml:: In the foreach( $aRows as $aRow ) you could build a URL using distinct values from the queried layer then header("Location:") to that site. For instance: header( "Location: http://www.mydomain.org/find.asp?id=".$aRow['linkid'] ); Where linkid is a field in your queried layer specific to the point queried. Note that you'd probably want to add in some checking (eg, if there's more than one result layer being queried OR if there's more than one record returned for a given layer) to handle specific cases. If you just put the header in there without conditional checking you may get unexpected results ;) Jason Ken Sanderson wrote: > If anyone tackles this and makes a 'hotlink' widget I wouldn't mind > using it as well. > > Probably tackle it if noone else does for an upcomming project. > > Ken > > -----Original Message----- > From: chameleon-bounces@lists.maptools.org > [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Eric Bridger > Sent: September 7, 2004 10:22 AM > To: Robin Robin > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Looking for a Widget > > > On Tue, 2004-09-07 at 10:52, Robin Robin wrote: > >>Does anyone know of a widget that works similar to identify, but >>instead of >>showing all fields I would like a widget that looks at a specific > > field that > >>contains a url. >> >>For various areas in my map, we have summary reports which I would >>like to >>display when the user clicks on that area. Does this widget already > > exist? > >>If so, how do I get it? > > > As far as I know (I'm still a Chameleon beginner) it does not exist. I > recently created a Custom widget (based on the Query.widget.php) and the > QueryResults.phtml (see: htdocs/widgets/Query/) If you know PHP, > QueryResults.phtml is easy to modify and will allow you to do whatever > you want with the query results. > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- _____________________________ Jason Fournier Applications Development DM Solutions Group Inc. jfournier@dmsolutions.ca www.dmsolutions.ca 613.565.5056 x18 From Victor.Sotskov@ec.gc.ca Wed Sep 8 11:52:12 2004 Received: from mgtserver3.tor.ec.gc.ca (ecdow130.tor.ec.gc.ca [199.212.19.130]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i88FqB8l014561 for ; Wed, 8 Sep 2004 11:52:11 -0400 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/related; boundary="----_=_NextPart_001_01C495BB.C6309674"; type="multipart/alternative" X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Date: Wed, 8 Sep 2004 11:51:58 -0400 Message-ID: <9B09D75DF5B3494BA06E6FE478CE9CC1354E24@mgtserver3.ontario.int.ec.gc.ca> X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: SLD problem Thread-Index: AcSVulkvD/GfTUFxTmCSOkNl7PyyfgAANc3w From: "Sotskov,Victor [Ontario]" To: , "Jason Fournier" X-Mailman-Approved-At: Wed, 08 Sep 2004 17:02:41 -0400 Cc: chameleon@lists.maptools.org Subject: [Chameleon] FW: SLD problem X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Sep 2004 15:52:12 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C495BB.C6309674 Content-Type: multipart/alternative; boundary="----_=_NextPart_002_01C495BB.C6309674" ------_=_NextPart_002_01C495BB.C6309674 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable =20 Hello Paul and Jason: =20 Would you please help with this SLD problem: any time I include SLD reference for a specific layer in context xml file - queries are not available for=20 the layer points, when SLD reference is off - queries work OK, what solution might be to fix it ?=20 =20 Thanks =20 Victor Sotskov =20 Monitoring Science and Strategies Division Atmospheric Monitoring and Water Survey Directorate Meteorological Service of Canada Environment Canada =20 Ofiice # 3N205 4905 Dufferin St.=20 Toronto M3H 5T4 416 739-4968 (tel) 416 739-4261 (fax) Victor.Sotskov@ec.gc.ca =20 =20 =20 ------_=_NextPart_002_01C495BB.C6309674 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello Paul and = Jason:

 

Would you please help with this SLD problem: any time I include SLD

reference for a specific layer in = context xml file - queries are not available for

the layer points, when SLD reference is off – queries work OK, what solution = might be to fix it ?

 

Thanks

 

Victor Sotskov

 

Monitoring = Science and Strategies Division

Atmospheric Monitoring and Water Survey Directorate

Meteorologic= al Service of = Canada

Environment = Canada

 

Ofiice # = 3N205

4905 Dufferin = St.

Toronto M3H 5T4

416 = 739-4968 (tel)

416 = 739-4261 (fax)

Vict= or.Sotskov@ec.gc.ca

 

 

=00 ------_=_NextPart_002_01C495BB.C6309674-- ------_=_NextPart_001_01C495BB.C6309674 Content-Type: image/jpeg; name="image001.jpg" Content-Transfer-Encoding: base64 Content-ID: Content-Description: image001.jpg Content-Location: image001.jpg /9j/4AAQSkZJRgABAgEASABIAAD/7QSyUGhvdG9zaG9wIDMuMAA4QklNA+kAAAAAAHgAAwAAAEgA SAAAAAADBgJS//f/9wMPAlsDRwUoA/wAAgAAAEgASAAAAAAC2AIoAAEAAABkAAAAAQADAwMAAAAB Jw8AAQABAAAAAAAAAAAAAAAAYAgAGQGQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4 QklNA+0AAAAAABAASAAAAAEAAQBIAAAAAQABOEJJTQPzAAAAAAAIAAAAAAAAAAA4QklNBAoAAAAA AAEAADhCSU0nEAAAAAAACgABAAAAAAAAAAI4QklNA/UAAAAAAEgAL2ZmAAEAbGZmAAYAAAAAAAEA L2ZmAAEAoZmaAAYAAAAAAAEAMgAAAAEAWgAAAAYAAAAAAAEANQAAAAEALQAAAAYAAAAAAAE4QklN A/gAAAAAAHAAAP////////////////////////////8D6AAAAAD///////////////////////// ////A+gAAAAA/////////////////////////////wPoAAAAAP////////////////////////// //8D6AAAOEJJTQQAAAAAAAACAAA4QklNBAIAAAAAAAIAADhCSU0ECAAAAAAAEAAAAAEAAAJAAAAC QAAAAAA4QklNBAkAAAAAAqIAAAABAAAAgAAAAAIAAAGAAAADAAAAAoYAGAAB/9j/4AAQSkZJRgAB AgEASABIAAD//gAnRmlsZSB3cml0dGVuIGJ5IEFkb2JlIFBob3Rvc2hvcKggNC4wAP/uAA5BZG9i ZQBkgAAAAAH/2wCEAAwICAgJCAwJCQwRCwoLERUPDAwPFRgTExUTExgRDAwMDAwMEQwMDAwMDAwM DAwMDAwMDAwMDAwMDAwMDAwMDAwBDQsLDQ4NEA4OEBQODg4UFA4ODg4UEQwMDAwMEREMDAwMDAwR DAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDP/AABEIAAIAgAMBIgACEQEDEQH/3QAEAAj/xAE/ AAABBQEBAQEBAQAAAAAAAAADAAECBAUGBwgJCgsBAAEFAQEBAQEBAAAAAAAAAAEAAgMEBQYHCAkK CxAAAQQBAwIEAgUHBggFAwwzAQACEQMEIRIxBUFRYRMicYEyBhSRobFCIyQVUsFiMzRygtFDByWS U/Dh8WNzNRaisoMmRJNUZEXCo3Q2F9JV4mXys4TD03Xj80YnlKSFtJXE1OT0pbXF1eX1VmZ2hpam tsbW5vY3R1dnd4eXp7fH1+f3EQACAgECBAQDBAUGBwcGBTUBAAIRAyExEgRBUWFxIhMFMoGRFKGx QiPBUtHwMyRi4XKCkkNTFWNzNPElBhaisoMHJjXC0kSTVKMXZEVVNnRl4vKzhMPTdePzRpSkhbSV xNTk9KW1xdXl9VZmdoaWprbG1ub2JzdHV2d3h5ent8f/2gAMAwEAAhEDEQA/APROif0Kv6X81T9L j+ar/m/5K0F8rJJIfqlJfKySKn6pSXyskkp+qUl8rJJKfqlJfKySSn6pSXyskkp+qUl8rJJKfqlJ fKySSn//2ThCSU0EBgAAAAAABwABAAAAAQEA//4AJ0ZpbGUgd3JpdHRlbiBieSBBZG9iZSBQaG90 b3Nob3CoIDQuMAD/7gAOQWRvYmUAZIAAAAAB/9sAhAAMCAgNCQ0VDAwVGhQQFBogGxoaGyAiFxcX FxciEQwMDAwMDBEMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQ0NDREOERsRERsUDg4OFBQO Dg4OFBEMDAwMDBERDAwMDAwMEQwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz/wAARCAAYBaAD ASIAAhEBAxEB/90ABABa/8QBPwAAAQUBAQEBAQEAAAAAAAAAAwABAgQFBgcICQoLAQABBQEBAQEB AQAAAAAAAAABAAIDBAUGBwgJCgsQAAEEAQMCBAIFBwYIBQMMMwEAAhEDBCESMQVBUWETInGBMgYU kaGxQiMkFVLBYjM0coLRQwclklPw4fFjczUWorKDJkSTVGRFwqN0NhfSVeJl8rOEw9N14/NGJ5Sk hbSVxNTk9KW1xdXl9VZmdoaWprbG1ub2N0dXZ3eHl6e3x9fn9xEAAgIBAgQEAwQFBgcHBgU1AQAC EQMhMRIEQVFhcSITBTKBkRShsUIjwVLR8DMkYuFygpJDUxVjczTxJQYWorKDByY1wtJEk1SjF2RF VTZ0ZeLys4TD03Xj80aUpIW0lcTU5PSltcXV5fVWZnaGlqa2xtbm9ic3R1dnd4eXp7fH/9oADAMB AAIRAxEAPwCv0T+n4/8AxrP+qavW15J0U/r+P/xrP+qavWg8eKElsWSHZfXWYe4A+ZUMjIFTJBE/ Fc1kXbg63mJP+amk0uesGqdc19Sup2ZrLmWGQxwLR4B35v8A0V0qKlJJJIqUkkkkpSSSSSlJJJJK UkkkkpSSSSSlJJJJKUkkkkpSSSSSlJJJJKUkkkkpSSSSSlJJJJKUkkkkpSSSSSlJJJJKUkkkkpSS SSSlJJJJKUkkkkpSSSSSlJJJJKUkkkkpSSSSSlJJJJKUkkkkpSSSSSlJJJJKUkkkkpSSSSSlJJJJ KUkkkkpSSSSSlJJJJKUkkkkpSSSSSlJJJJKUkkkkpSSSSSlJJJJKUkkkkpSSSSSlJJJJKUkkkkpS SSSSlJJJJKUkkkkpSSSSSlJJJJKUkkkkpSSSSSlJJJJKUkkkkpSSSSSlJJJJKUkkkkpSSSSSlJJJ JKUkkkkpSSSSSlJJJJKUkkkkpSSSSSlJJJJKUkkkkpSSSSSlJJJJKUkkkkpSSSSSlJJJJKUkkkkp SSSSSlJJJJKUkkkkpSSSSSlJJJJKUkkkkpSSSSSlJJJJKUkkkkpSSSSSlJJJJKUkkkkpSSSSSlJJ JJKUkkkkpSSSSSn/0J9G6oKn04zKKXOdYA6x7d1kOP8Ag/3Hs/MXY/sOl/0hYfCT/wCQavnZJArQ /S1HTXVN21+weYa7/vqzcroeQ+Q3XcYOn/mbF89pIaJfpboXRK+k1uDQPUsILyONPotZ/JatRfKq SSX6qSXyqkip+qkl8qpJKfqpJfKqSSn6qSXyqkkp+qkl8qpJKfqpJfKqSSn6qSXyqkkp+qkl8qpJ KfqpJfKqSSn6qSXyqkkp+qkl8qpJKfqpJfKqSSn6qSXyqkkp+qkl8qpJKfqpJfKqSSn6qSXyqkkp +qkl8qpJKfqpJfKqSSn6qSXyqkkp+qkl8qpJKfqpJfKqSSn6qSXyqkkp+qkl8qpJKfqpJfKqSSn6 qSXyqkkp+qkl8qpJKfqpJfKqSSn6qSXyqkkp+qkl8qpJKfqpJfKqSSn6qSXyqkkp+qkl8qpJKfqp JfKqSSn6qSXyqkkp+qkl8qpJKfqpJfKqSSn6qSXyqkkp+qkl8qpJKfqpJfKqSSn6qSXyqkkp+qkl 8qpJKfqpJfKqSSn6qSXyqkkp+qkl8qpJKfqpJfKqSSn6qSXyqkkp+qkl8qpJKfqpJfKqSSn6qSXy qkkp+qkl8qpJKfqpJfKqSSn6qSXyqkkp+qkl8qpJKfqpJfKqSSn6qSXyqkkp+qkl8qpJKfqpJfKq SSn6qSXyqkkp+qkl8qpJKfqpJfKqSSn6qSXyqkkp+qkl8qpJKfqpJfKqSSn6qSXyqkkp+qkl8qpJ KfqpJfKqSSn6qSXyqkkp+qkl8qpJKfqpJfKqSSn6qSXyqkkp+qkl8qpJKfqpJfKqSSn6qSXyqkkp +qkl8qpJKfqpJfKqSSn6qSXyqkkp+qkl8qpJKfqpJfKqSSn6qSXyqkkp+qkl8qpJKfqpJfKqSSn6 qSXyqkkp+qkl8qpJKfqpJfKqSSn6qSXyqkkp+qkl8qpJKfqpJfKqSSn/2Q== ------_=_NextPart_001_01C495BB.C6309674-- From pagameba@magma.ca Thu Sep 9 10:31:36 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i89EVZ8l005999 for ; Thu, 9 Sep 2004 10:31:35 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (8.13.0/8.13.0) with ESMTP id i89EVXFk030239; Thu, 9 Sep 2004 10:31:34 -0400 Received: from magma.ca (ottawa-dial-64-26-163-19.d-ip.magma.ca [64.26.163.19]) by mail4.magma.ca (8.13.0/8.13.0) with ESMTP id i89EVHh6025132; Thu, 9 Sep 2004 10:31:32 -0400 Message-ID: <41406933.8020903@magma.ca> Date: Thu, 09 Sep 2004 10:31:15 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Sotskov,Victor [Ontario]" Subject: Re: [Chameleon] FW: SLD problem References: <9B09D75DF5B3494BA06E6FE478CE9CC1354E24@mgtserver3.ontario.int.ec.gc.ca> In-Reply-To: <9B09D75DF5B3494BA06E6FE478CE9CC1354E24@mgtserver3.ontario.int.ec.gc.ca> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2004 14:31:38 -0000 Victor, it is possible that there is a bug in MapServer's WMS-SLD support that would prevent queries on SLD-styled layers ... or it could be a bug in chameleon. I encourage you to file a bug in Chameleon bugzilla so that it can be investigated at some point ... Cheers, Paul Sotskov,Victor [Ontario] wrote: > Hello Paul and Jason: > > > > Would you please help with this SLD problem: any time I include SLD > > reference for a specific layer in context xml file - queries are not > available for > > the layer points, when SLD reference is off – queries work OK, what > solution might be to fix it ? > > > > Thanks > > > > /*/Victor Sotskov/*/ > > > > //Monitoring Science and Strategies Division// > > //Atmospheric Monitoring and Water Survey Directorate// > > //Meteorological Service of ////Canada// > > //Environment ////Canada// > > > > //Ofiice # 3N205// > > //4905 Dufferin St////. // > > //Toronto//// M3H 5T4// > > //416 739-4968 (tel)// > > //416 739-4261 (fax)// > > //Victor.Sotskov@ec.gc.ca// > > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From sctweedy@NRCan.gc.ca Thu Sep 9 10:58:39 2004 Received: from s0-ott-xsmtp1.nrn.nrcan.gc.ca (S0-OTT-XSMTP1.NRCan.gc.ca [132.156.36.48]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i89Ewd8l007018 for ; Thu, 9 Sep 2004 10:58:39 -0400 Received: by S0-OTT-XSMTP1.NRCan.gc.ca with Internet Mail Service (5.5.2657.72) id ; Thu, 9 Sep 2004 10:56:25 -0400 Message-ID: <162B3F03E3AD224FA9F82DF351A15A8091D3A4@S0-OTT-X10.NRCan.gc.ca> From: "Tweedy, Scott" To: "'chameleon@lists.maptools.org'" Date: Thu, 9 Sep 2004 10:56:24 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i89Ewd8l007018 Subject: [Chameleon] Window focus X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2004 14:58:39 -0000 I have an application written in Chameleon. When a button in the main application is clicked it opens a child popup window which contains most of the code for the application. If the user minimizes the child window and clicks on the main button again the child window is reinitialized and the user has to start from scratch. Is there a way to test to see if the child window is already open when the user clicks on the main button and to simply shift focus to that window if it is and to reinitialize it if the window isn't open? Thanks in advance, st Scott Tweedy Geoscience Database Analyst - Analyste de base des données géoscientifiques ESS Geoinformatics Division - Division SST Géoinformatique Earth Sciences Sector - Secteur des sciences de la terre Natural Resources Canada - Ressources naturelles Canada 580-615 Booth Street - 580-615 rue Booth Ottawa, ON Canada K1A 0E9 tel. (613) 947-0665 - tél. (613) 947-0665 fax (613) 995-2520 - télc. (613) 995-2520 Email sctweedy@nrcan.gc.ca - Courriel sctweedy@nrcan.gc.ca From Tim.Pascoe@ec.gc.ca Thu Sep 9 11:06:41 2004 Received: from ECNWRI1.ontario.int.ec.gc.ca (ecolink.cciw.ca [192.75.68.254]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i89F6f8l007156 for ; Thu, 9 Sep 2004 11:06:41 -0400 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4967E.971DE8EB" X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Date: Thu, 9 Sep 2004 11:06:31 -0400 Message-ID: <2576812186CDD411BF1500508B6DCE9506A8C406@ecnwri1.ontario.int.ec.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ZoomAllLayers Problem!? Thread-Index: AcSWfpb7Scw0YrEGQwGimS48CEJHqw== From: "Pascoe,Tim [Burlington]" To: Subject: [Chameleon] ZoomAllLayers Problem!? X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2004 15:06:41 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C4967E.971DE8EB Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I've been putting together a project using Chameleon 1.99Beta, and so = far everything has been working well. Yesterday I was experimenting with = OGR as a source for a layer from my database, and today my ZoomAllLayers = widget has stopped working. All of the other nav widgets are fine, but = ZoomAllLayers simply redraws the map with no change in extents. Any ideas? I assume I must have altered something in my map file by = accident, but I can't figure it out. I never changed the html = template..... Timothy Pascoe Environment Canada / Environnement Canada Canada Centre for Inland Waters / Centre Canadien des Eaux Int=E9rieures 867 Lakeshore Road / 867, chemin Lakeshore Burlington, Ontario / Burlington (Ontario) L7R 4A6 Tel/T=E9l: (905) 336-6239 Fax/T=E9l=E9c: (905) 336-4699 E-mail/C. =E9lec: tim.pascoe@ec.gc.ca Government of Canada/Gouvernement du Canada ------_=_NextPart_001_01C4967E.971DE8EB Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable ZoomAllLayers Problem!?

        Ive been putting together a project using Chameleon = 1.99Beta, and so far everything has been working well. Yesterday I was = experimenting with OGR as a source = for a layer from my database, and today my ZoomAllLayers widget has stopped working. = All of the other nav widgets are fine, but ZoomAllLayers simply redraws = the map with no change in extents.

        Any ideas? I assume I must have = altered = something in my map file by accident, but I cant figure it out. I never changed the html = template..

Timothy Pascoe

Environment Canada / Environnement Canada
Canada Centre for Inland Waters / Centre Canadien des Eaux = Int=E9rieures
867 Lakeshore Road / 867, chemin Lakeshore
Burlington, Ontario / Burlington (Ontario)

L7R 4A6

Tel/T=E9l: (905) 336-6239
Fax/
T=E9l=E9c: = (905) 336-4699
E-mail/C. =E9lec:
tim.pascoe@ec.gc.ca
Government of Canada/Gouvernement du = Canada

------_=_NextPart_001_01C4967E.971DE8EB-- From jfournier@dmsolutions.ca Thu Sep 9 11:18:07 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i89FI78l007302 for ; Thu, 9 Sep 2004 11:18:07 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (8.13.0/8.13.0) with ESMTP id i89FI6NO018567; Thu, 9 Sep 2004 11:18:07 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail3.magma.ca (8.13.0/8.13.0) with ESMTP id i89FI4uf022257; Thu, 9 Sep 2004 11:18:06 -0400 Message-ID: <41407468.5050904@dmsolutions.ca> Date: Thu, 09 Sep 2004 11:19:04 -0400 From: Jason Fournier User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Tweedy, Scott" Subject: Re: [Chameleon] Window focus References: <162B3F03E3AD224FA9F82DF351A15A8091D3A4@S0-OTT-X10.NRCan.gc.ca> In-Reply-To: <162B3F03E3AD224FA9F82DF351A15A8091D3A4@S0-OTT-X10.NRCan.gc.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: "'chameleon@lists.maptools.org'" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2004 15:18:07 -0000 This should do it.. =============================================== test me! ======================================================= The key is to have the var wnd outside the function (ie, global) so that you can reference it again without reinitializing. Jason Tweedy, Scott wrote: > I have an application written in Chameleon. When a button in the main > application is clicked it opens a child popup window which contains most of > the code for the application. If the user minimizes the child window and > clicks on the main button again the child window is reinitialized and the > user has to start from scratch. > > Is there a way to test to see if the child window is already open when the > user clicks on the main button and to simply shift focus to that window if > it is and to reinitialize it if the window isn't open? > > Thanks in advance, > st > > Scott Tweedy > Geoscience Database Analyst - Analyste de base des données géoscientifiques > ESS Geoinformatics Division - Division SST Géoinformatique > Earth Sciences Sector - Secteur des sciences de la terre > Natural Resources Canada - Ressources naturelles Canada > 580-615 Booth Street - 580-615 rue Booth > Ottawa, ON Canada K1A 0E9 > tel. (613) 947-0665 - tél. (613) 947-0665 > fax (613) 995-2520 - télc. (613) 995-2520 > Email sctweedy@nrcan.gc.ca - Courriel sctweedy@nrcan.gc.ca > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- _____________________________ Jason Fournier Applications Development DM Solutions Group Inc. jfournier@dmsolutions.ca www.dmsolutions.ca 613.565.5056 x18 From pagameba@magma.ca Thu Sep 9 12:07:16 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i89G7G8l007935 for ; Thu, 9 Sep 2004 12:07:16 -0400 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx1.magmacom.com (8.13.0/8.13.0) with ESMTP id i89G7EhH004653; Thu, 9 Sep 2004 12:07:15 -0400 Received: from magma.ca (ottawa-dial-64-26-163-79.d-ip.magma.ca [64.26.163.79]) by mail1.magma.ca (8.13.0/8.13.0) with ESMTP id i89G76oh015319; Thu, 9 Sep 2004 12:07:13 -0400 Message-ID: <41407FA8.9090008@magma.ca> Date: Thu, 09 Sep 2004 12:07:04 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Tweedy, Scott" Subject: Re: [Chameleon] Window focus References: <162B3F03E3AD224FA9F82DF351A15A8091D3A4@S0-OTT-X10.NRCan.gc.ca> In-Reply-To: <162B3F03E3AD224FA9F82DF351A15A8091D3A4@S0-OTT-X10.NRCan.gc.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: "'chameleon@lists.maptools.org'" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2004 16:07:16 -0000 Scott, Chameleon does not do this (yet) although I think it would be a decent enhancement to the way all popups work in chameleon. The way to do it is to preserve a handle to the open window. In the code that opens the popup, you should have something like: wh = window.open( .... ); The code should probably read something like: //globally defined unique handle var whMyPopup = null; function myPopup() { if (whMyPopup != null) { //raise existing window whMyPopup.focus(); } else { //open new window whMyPopup = window.open( ... ); whMyPopup.onclose = "window.opener.whMyPopup = null;"; } } without some experimentation, I'm not sure if the onclose thing will work. There are other ways to do that, though ... Cheers, Paul Tweedy, Scott wrote: > I have an application written in Chameleon. When a button in the main > application is clicked it opens a child popup window which contains most of > the code for the application. If the user minimizes the child window and > clicks on the main button again the child window is reinitialized and the > user has to start from scratch. > > Is there a way to test to see if the child window is already open when the > user clicks on the main button and to simply shift focus to that window if > it is and to reinitialize it if the window isn't open? > > Thanks in advance, > st > > Scott Tweedy > Geoscience Database Analyst - Analyste de base des données géoscientifiques > ESS Geoinformatics Division - Division SST Géoinformatique > Earth Sciences Sector - Secteur des sciences de la terre > Natural Resources Canada - Ressources naturelles Canada > 580-615 Booth Street - 580-615 rue Booth > Ottawa, ON Canada K1A 0E9 > tel. (613) 947-0665 - tél. (613) 947-0665 > fax (613) 995-2520 - télc. (613) 995-2520 > Email sctweedy@nrcan.gc.ca - Courriel sctweedy@nrcan.gc.ca > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Thu Sep 9 12:11:08 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i89GB88l008004 for ; Thu, 9 Sep 2004 12:11:08 -0400 Received: from mail2.magma.ca (mail2.magma.ca [206.191.0.214]) by mx1.magmacom.com (8.13.0/8.13.0) with ESMTP id i89GB3vZ007395; Thu, 9 Sep 2004 12:11:04 -0400 Received: from magma.ca (ottawa-dial-64-26-163-79.d-ip.magma.ca [64.26.163.79]) by mail2.magma.ca (8.13.0/8.13.0) with ESMTP id i89GAxB8029890; Thu, 9 Sep 2004 12:11:02 -0400 Message-ID: <41408091.2000409@magma.ca> Date: Thu, 09 Sep 2004 12:10:57 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Pascoe,Tim [Burlington]" Subject: Re: [Chameleon] ZoomAllLayers Problem!? References: <2576812186CDD411BF1500508B6DCE9506A8C406@ecnwri1.ontario.int.ec.gc.ca> In-Reply-To: <2576812186CDD411BF1500508B6DCE9506A8C406@ecnwri1.ontario.int.ec.gc.ca> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2004 16:11:08 -0000 Tim, can you check your map file to see if there is metadata defined at the map level (in the web object) called 'original_extents'? If there is, please remove it. Chameleon sets this metadata when it first loads the map file so that the ZoomAllLayers widget knows what the original extents are ... but if it is already set, then it is not overwritten. Cheers, Paul Pascoe,Tim [Burlington] wrote: > I’ve been putting together a project using Chameleon 1.99Beta, > and so far everything has been working well. Yesterday I was > experimenting with OGR as a source for a layer from my database, and > today my ZoomAllLayers widget has stopped working. All of the other nav > widgets are fine, but ZoomAllLayers simply redraws the map with no > change in extents. > > Any ideas? I assume I must have altered something in my map file > by accident, but I can’t figure it out. I never changed the html template….. > > Timothy Pascoe > > Environment Canada / Environnement Canada > Canada Centre for Inland Waters / Centre Canadien des Eaux Intérieures > 867 Lakeshore Road / 867, chemin Lakeshore > Burlington, Ontario / Burlington (Ontario) > > L7R 4A6 > > Tel/Tél: (905) 336-6239 > Fax/Téléc: (905) 336-4699 > E-mail/C. élec: ___tim.pascoe@ec.gc.ca_ > Government of Canada/Gouvernement du Canada > > > ------------------------------------------------------------------------ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From sctweedy@NRCan.gc.ca Fri Sep 10 09:47:51 2004 Received: from s0-ott-xsmtp1.nrn.nrcan.gc.ca (S0-OTT-XSMTP1.NRCan.gc.ca [132.156.36.48]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8ADlp8l000807 for ; Fri, 10 Sep 2004 09:47:51 -0400 Received: by S0-OTT-XSMTP1.NRCan.gc.ca with Internet Mail Service (5.5.2657.72) id ; Fri, 10 Sep 2004 09:44:28 -0400 Message-ID: <162B3F03E3AD224FA9F82DF351A15A8091D3B6@S0-OTT-X10.NRCan.gc.ca> From: "Tweedy, Scott" To: "'chameleon@lists.maptools.org'" Date: Fri, 10 Sep 2004 09:44:20 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i8ADlp8l000807 Subject: [Chameleon] RE: Window focus X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2004 13:47:51 -0000 Thanks to Paul and Jason for your answers they work. Now I have another question. It seems that the window I open is tied to the main window (that's where I had to declare the variable myWh to make this work). Once any operation is performed on the map (Zoom in, Apply points to map, etc) and the main page refreshes I lose the variable myWh and the application window starts again. Is there any way around this behaviour? Is there any way of passing the variable myWh (the child window) in a form to the newly refreshed page? Thanks again, st > -----Original Message----- > From: Tweedy, Scott > Sent: Thursday, September 09, 2004 10:56 AM > To: 'chameleon@lists.maptools.org' > Subject: Window focus > > I have an application written in Chameleon. When a button in the main > application is clicked it opens a child popup window which contains most > of the code for the application. If the user minimizes the child window > and clicks on the main button again the child window is reinitialized and > the user has to start from scratch. > > Is there a way to test to see if the child window is already open when the > user clicks on the main button and to simply shift focus to that window if > it is and to reinitialize it if the window isn't open? > > Thanks in advance, > st > > Scott Tweedy > Geoscience Database Analyst - Analyste de base des données > géoscientifiques > ESS Geoinformatics Division - Division SST Géoinformatique > Earth Sciences Sector - Secteur des sciences de la terre > Natural Resources Canada - Ressources naturelles Canada > 580-615 Booth Street - 580-615 rue Booth > Ottawa, ON Canada K1A 0E9 > tel. (613) 947-0665 - tél. (613) 947-0665 > fax (613) 995-2520 - télc. (613) 995-2520 > Email sctweedy@nrcan.gc.ca - Courriel sctweedy@nrcan.gc.ca > > From querada499@hotmail.com Fri Sep 10 10:02:59 2004 Received: from hotmail.com (bay8-f37.bay8.hotmail.com [64.4.27.37]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8AE2x8l000971 for ; Fri, 10 Sep 2004 10:02:59 -0400 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 10 Sep 2004 06:51:21 -0700 Received: from 131.202.163.1 by by8fd.bay8.hotmail.msn.com with HTTP; Fri, 10 Sep 2004 13:51:20 GMT X-Originating-IP: [131.202.163.1] X-Originating-Email: [querada499@hotmail.com] X-Sender: querada499@hotmail.com From: "Robin Robin" To: chameleon@lists.maptools.org Date: Fri, 10 Sep 2004 13:51:20 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 10 Sep 2004 13:51:21.0056 (UTC) FILETIME=[40E1DE00:01C4973D] Subject: [Chameleon] Creating my own Widget X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2004 14:03:00 -0000 Hello all, I am trying to create my own widget and I am running into some problems. I am trying to create a hotlink widget which will work similar to identify but will open a webpage when the location on the map is clicked. I plan to do this by copying and modifying the query widget. I started by simply copying the query widget and renaming it. I wanted to check that it still worked once the name has been changed. It doesn't! So far, I changed the folder name to Hotlink, I have changed QueryResults.phtml to HotlinkResults.phtml and Query.widget.php to Hotlink.widget.php. I have also changed in Hotlink.widget.php the class and constructor names from Query to Hotlink (as per instructions in an old thread I found in the chameleon archives). When I click on my hotlink button the map redraws and nothing happens. If I click the same point with my identify/query button I get a popup window with the query results. Since I haven't changed any of the actual functionality yet, both buttons should produce the same results. Are there other places where I have to change/add to files so that my new widget will be recognized? In an older message someone mentioned changing the MapDHTMLWidget.widget.php but I couldn't tell where it should be changed (I did a text search for query). Any help would be appreciated. Thanks _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From jfournier@dmsolutions.ca Fri Sep 10 10:06:11 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8AE698l001031 for ; Fri, 10 Sep 2004 10:06:10 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (8.13.0/8.13.0) with ESMTP id i8AE67Z0000697; Fri, 10 Sep 2004 10:06:08 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail4.magma.ca (8.13.0/8.13.0) with ESMTP id i8AE63w5010275; Fri, 10 Sep 2004 10:06:06 -0400 Message-ID: <4141B508.7010101@dmsolutions.ca> Date: Fri, 10 Sep 2004 10:07:04 -0400 From: Jason Fournier User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Tweedy, Scott" Subject: Re: [Chameleon] RE: Window focus References: <162B3F03E3AD224FA9F82DF351A15A8091D3B6@S0-OTT-X10.NRCan.gc.ca> In-Reply-To: <162B3F03E3AD224FA9F82DF351A15A8091D3B6@S0-OTT-X10.NRCan.gc.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: "'chameleon@lists.maptools.org'" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2004 14:06:11 -0000 You could try the following: In your index.phtml (after you initialize oApp) put: if( isset( $_POST['childWin'] ) && strlen( $_POST['childWin'] ) > 0 ) $oApp->setVar( 'childWin', strtolower( $_POST['childWin'] ) ); ---------------------------------------------------------------------- In your template form put: ---------------------------------------------------------------------- In your javascript function include (forms[0] assumes you only have one form in the template): if( document.forms[0].childWin.value != "NULL" ) { // the window has been opened prior to submit so get a handle on it // reference it by name } else { //open the window wh = window.open....... // set the hidden var document.forms[0].childWin.value = wh; } ---------------------------------------------------------------------- You'll have to update your TemplateParser.php script from cvs for the preprocessing to work properly. This is untested code ;) Jason Tweedy, Scott wrote: > Thanks to Paul and Jason for your answers they work. Now I have another > question. > > It seems that the window I open is tied to the main window (that's where I > had to declare the variable myWh to make this work). Once any operation is > performed on the map (Zoom in, Apply points to map, etc) and the main page > refreshes I lose the variable myWh and the application window starts again. > > Is there any way around this behaviour? Is there any way of passing the > variable myWh (the child window) in a form to the newly refreshed page? > > Thanks again, > st > > >> -----Original Message----- >>From: Tweedy, Scott >>Sent: Thursday, September 09, 2004 10:56 AM >>To: 'chameleon@lists.maptools.org' >>Subject: Window focus >> >>I have an application written in Chameleon. When a button in the main >>application is clicked it opens a child popup window which contains most >>of the code for the application. If the user minimizes the child window >>and clicks on the main button again the child window is reinitialized and >>the user has to start from scratch. >> >>Is there a way to test to see if the child window is already open when the >>user clicks on the main button and to simply shift focus to that window if >>it is and to reinitialize it if the window isn't open? >> >>Thanks in advance, >>st >> >>Scott Tweedy >>Geoscience Database Analyst - Analyste de base des données >>géoscientifiques >>ESS Geoinformatics Division - Division SST Géoinformatique >>Earth Sciences Sector - Secteur des sciences de la terre >>Natural Resources Canada - Ressources naturelles Canada >>580-615 Booth Street - 580-615 rue Booth >>Ottawa, ON Canada K1A 0E9 >>tel. (613) 947-0665 - tél. (613) 947-0665 >>fax (613) 995-2520 - télc. (613) 995-2520 >>Email sctweedy@nrcan.gc.ca - Courriel sctweedy@nrcan.gc.ca >> >> > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- _____________________________ Jason Fournier Applications Development DM Solutions Group Inc. jfournier@dmsolutions.ca www.dmsolutions.ca 613.565.5056 x18 From bartvde@xs4all.nl Fri Sep 10 10:16:43 2004 Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8AEGg8l001144 for ; Fri, 10 Sep 2004 10:16:43 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-vbr5.xs4all.nl (8.12.11/8.12.11) with SMTP id i8AEGXMi035506; Fri, 10 Sep 2004 16:16:33 +0200 (CEST) (envelope-from bartvde@xs4all.nl) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Fri, 10 Sep 2004 16:16:38 +0200 (CEST) Message-ID: <10558.212.238.227.182.1094825798.squirrel@webmail.xs4all.nl> In-Reply-To: <4141B508.7010101@dmsolutions.ca> References: <162B3F03E3AD224FA9F82DF351A15A8091D3B6@S0-OTT-X10.NRCan.gc.ca> <4141B508.7010101@dmsolutions.ca> Date: Fri, 10 Sep 2004 16:16:38 +0200 (CEST) Subject: Re: [Chameleon] RE: Window focus From: bartvde@xs4all.nl To: "Jason Fournier" User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Scott , "'chameleon@lists.maptools.org'" , Tweedy@xs4all.nl X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2004 14:16:43 -0000 I tried something like this last week and it did not work in my case. It seemed like one cannot store a javascript object handle in a form string variable. Curious if you will get it to work. Best regards, Bart > You could try the following: > > In your index.phtml (after you initialize oApp) put: > > if( isset( $_POST['childWin'] ) && strlen( $_POST['childWin'] ) > ) > $oApp->setVar( 'childWin', strtolower( $_POST['childWin'] ) ); > > ---------------------------------------------------------------------- > In your template form put: > > > > ---------------------------------------------------------------------- > In your javascript function include (forms[0] assumes you only have one > form in the template): > > if( document.forms[0].childWin.value != "NULL" ) > { > // the window has been opened prior to submit so get a handle on it > // reference it by name > } > else > { > //open the window > wh = window.open....... > // set the hidden var > document.forms[0].childWin.value = wh; > } > > ---------------------------------------------------------------------- > > You'll have to update your TemplateParser.php script from cvs for the > preprocessing to work properly. > > This is untested code ;) > > Jason > > > > > Tweedy, Scott wrote: > >> Thanks to Paul and Jason for your answers they work. Now I have another >> question. >> >> It seems that the window I open is tied to the main window (that's where >> I >> had to declare the variable myWh to make this work). Once any operation >> is >> performed on the map (Zoom in, Apply points to map, etc) and the main >> page >> refreshes I lose the variable myWh and the application window starts >> again. >> >> Is there any way around this behaviour? Is there any way of passing the >> variable myWh (the child window) in a form to the newly refreshed page? >> >> Thanks again, >> st >> >> >>> -----Original Message----- >>>From: Tweedy, Scott >>>Sent: Thursday, September 09, 2004 10:56 AM >>>To: 'chameleon@lists.maptools.org' >>>Subject: Window focus >>> >>>I have an application written in Chameleon. When a button in the main >>>application is clicked it opens a child popup window which contains most >>>of the code for the application. If the user minimizes the child >>> window >>>and clicks on the main button again the child window is reinitialized >>> and >>>the user has to start from scratch. >>> >>>Is there a way to test to see if the child window is already open when >>> the >>>user clicks on the main button and to simply shift focus to that window >>> if >>>it is and to reinitialize it if the window isn't open? >>> >>>Thanks in advance, >>>st >>> >>>Scott Tweedy >>>Geoscience Database Analyst - Analyste de base des données >>>géoscientifiques >>>ESS Geoinformatics Division - Division SST Géoinformatique >>>Earth Sciences Sector - Secteur des sciences de la terre >>>Natural Resources Canada - Ressources naturelles Canada >>>580-615 Booth Street - 580-615 rue Booth >>>Ottawa, ON Canada K1A 0E9 >>>tel. (613) 947-0665 - tél. (613) 947-0665 >>>fax (613) 995-2520 - télc. (613) 995-2520 >>>Email sctweedy@nrcan.gc.ca - Courriel sctweedy@nrcan.gc.ca >>> >>> >> >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> > > -- > _____________________________ > > Jason Fournier > Applications Development > > DM Solutions Group Inc. > jfournier@dmsolutions.ca > www.dmsolutions.ca > 613.565.5056 x18 > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > From kueda@wso.williams.edu Fri Sep 10 12:54:01 2004 Received: from nature.Berkeley.EDU (nature.Berkeley.EDU [128.32.253.219]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8AGs08l003469 for ; Fri, 10 Sep 2004 12:54:01 -0400 Received: from localhost (localhost [127.0.0.1]) by nature.Berkeley.EDU (Postfix) with ESMTP id 70BEBC1E3C for ; Fri, 10 Sep 2004 09:53:59 -0700 (PDT) Received: from nature.Berkeley.EDU ([127.0.0.1]) by localhost (nature [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00917-07 for ; Fri, 10 Sep 2004 09:53:59 -0700 (PDT) Received: from [128.32.179.58] (mul111-3.CNR.Berkeley.EDU [128.32.179.58]) by nature.Berkeley.EDU (Postfix) with ESMTP id 0AA7DC1E05 for ; Fri, 10 Sep 2004 09:53:59 -0700 (PDT) Message-ID: <4141DC25.2070107@wso.williams.edu> Date: Fri, 10 Sep 2004 09:53:57 -0700 From: Ken-ichi User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: chameleon@lists.maptools.org Subject: Re: [Chameleon] Creating my own Widget References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at nature.berkeley.edu X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2004 16:54:01 -0000 I'm a total newbie at writing widgets too, but it looks to me like that first if clause in the QueryWMouseClick() JavaScript function is failing. I suspect you didn't change the $this->SetNavCommand("QUERY") line in the Query widget constructor, and that for some reason, since your new widget isn't called Query, Chameleon isn't setting the NAV_CMD to QUERY when you click on the button. Maybe I'm wrong. You can monitor the form values (including dynamically generated ones) with the Web Developer extension for Firefox. Hope I'm not leading you in the wrong direction. -Ken-ichi Robin Robin wrote: > Hello all, > > I am trying to create my own widget and I am running into some > problems. I am trying to create a hotlink widget which will work > similar to identify but will open a webpage when the location on the > map is clicked. I plan to do this by copying and modifying the query > widget. > > I started by simply copying the query widget and renaming it. I > wanted to check that it still worked once the name has been changed. > It doesn't! So far, I changed the folder name to Hotlink, I have > changed QueryResults.phtml to HotlinkResults.phtml and > Query.widget.php to Hotlink.widget.php. I have also changed in > Hotlink.widget.php the class and constructor names from Query to > Hotlink (as per instructions in an old thread I found in the chameleon > archives). > > When I click on my hotlink button the map redraws and nothing > happens. If I click the same point with my identify/query button I > get a popup window with the query results. Since I haven't changed > any of the actual functionality yet, both buttons should produce the > same results. > > Are there other places where I have to change/add to files so that my > new widget will be recognized? In an older message someone mentioned > changing the MapDHTMLWidget.widget.php but I couldn't tell where it > should be changed (I did a text search for query). > > Any help would be appreciated. > > Thanks > > _________________________________________________________________ > The new MSN 8: advanced junk mail protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon From querada499@hotmail.com Fri Sep 10 13:07:38 2004 Received: from hotmail.com (bay8-f95.bay8.hotmail.com [64.4.27.95]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8AH7b8l003751 for ; Fri, 10 Sep 2004 13:07:38 -0400 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 10 Sep 2004 10:07:36 -0700 Received: from 131.202.163.1 by by8fd.bay8.hotmail.msn.com with HTTP; Fri, 10 Sep 2004 17:07:35 GMT X-Originating-IP: [131.202.163.1] X-Originating-Email: [querada499@hotmail.com] X-Sender: querada499@hotmail.com From: "Robin Robin" To: chameleon@lists.maptools.org Subject: Re: [Chameleon] Creating my own Widget Date: Fri, 10 Sep 2004 17:07:35 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 10 Sep 2004 17:07:36.0244 (UTC) FILETIME=[AB70F740:01C49758] X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2004 17:07:38 -0000 Thank you. I fogot to mention that I did in fact change that line of code. I also changed this one: $this->moPopup->mszLink = $_SESSION['gszCoreWebPath']."widgets/Hotlink/HotlinkResults.phtml"; to point to my HotlinkResults.phtml. Thanks for the advice though. -robin >From: Ken-ichi >To: chameleon@lists.maptools.org >Subject: Re: [Chameleon] Creating my own Widget >Date: Fri, 10 Sep 2004 09:53:57 -0700 > >I'm a total newbie at writing widgets too, but it looks to me like that >first if clause in the QueryWMouseClick() JavaScript function is failing. >I suspect you didn't change the $this->SetNavCommand("QUERY") line in the >Query widget constructor, and that for some reason, since your new widget >isn't called Query, Chameleon isn't setting the NAV_CMD to QUERY when you >click on the button. Maybe I'm wrong. You can monitor the form values >(including dynamically generated ones) with the Web Developer extension for >Firefox. > >Hope I'm not leading you in the wrong direction. > >-Ken-ichi > >Robin Robin wrote: > >>Hello all, >> >>I am trying to create my own widget and I am running into some problems. >>I am trying to create a hotlink widget which will work similar to identify >>but will open a webpage when the location on the map is clicked. I plan >>to do this by copying and modifying the query widget. >> >>I started by simply copying the query widget and renaming it. I wanted to >>check that it still worked once the name has been changed. It doesn't! >>So far, I changed the folder name to Hotlink, I have changed >>QueryResults.phtml to HotlinkResults.phtml and Query.widget.php to >>Hotlink.widget.php. I have also changed in Hotlink.widget.php the class >>and constructor names from Query to Hotlink (as per instructions in an old >>thread I found in the chameleon archives). >> >>When I click on my hotlink button the map redraws and nothing happens. If >>I click the same point with my identify/query button I get a popup window >>with the query results. Since I haven't changed any of the actual >>functionality yet, both buttons should produce the same results. >> >>Are there other places where I have to change/add to files so that my new >>widget will be recognized? In an older message someone mentioned changing >>the MapDHTMLWidget.widget.php but I couldn't tell where it should be >>changed (I did a text search for query). >> >>Any help would be appreciated. >> >>Thanks >> >>_________________________________________________________________ >>The new MSN 8: advanced junk mail protection and 2 months FREE* >>http://join.msn.com/?page=features/junkmail >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon > > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From Godwinl@AGR.GC.CA Fri Sep 10 13:15:25 2004 Received: from agroutsmtp1.agr.gc.ca (agroutsmtp1.agr.gc.ca [192.197.71.175]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8AHFP8l003932 for ; Fri, 10 Sep 2004 13:15:25 -0400 Received: from agrin1.agr.gc.ca (agrgate.agr.ca [192.197.71.189]) by agroutsmtp1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i8AGq94j000632; Fri, 10 Sep 2004 12:52:09 -0400 Received: from onncrxcn1.AGR.GC.CA ([10.117.15.130]) by agrin1.agr.gc.ca (8.12.8/8.12.8) with ESMTP id i8AH8lOH000698; Fri, 10 Sep 2004 13:08:56 -0400 Received: from onncrxms2.AGR.GC.CA ([10.117.15.28]) by onncrxcn1.AGR.GC.CA with Microsoft SMTPSVC(5.0.2195.6713); Fri, 10 Sep 2004 13:14:27 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: [Chameleon] Creating my own Widget Date: Fri, 10 Sep 2004 13:14:26 -0400 Message-ID: <482A7044F4DB2740884BAF6AFD7416091E3AF9@onncrxms2.agr.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Chameleon] Creating my own Widget Thread-Index: AcSXPyUFOo56wfEsQ1y6UUyVA+RNagAGM3fg From: "Godwin, Elizabeth" To: "Robin Robin" , X-OriginalArrivalTime: 10 Sep 2004 17:14:27.0348 (UTC) FILETIME=[A07A7540:01C49759] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i8AHFP8l003932 Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2004 17:15:25 -0000 Hi, I discovered when customizing a query widget myself that if using the query widget and also the customized widget that whichever is drawn on the page last is the one that works. Try isolating only your custom hotlink tool and get it working, then once that is ok, you'll have to do more to the widget code to get them co-existing. the NAV_CMD should be changed, as well as the javascript functions that are written out and the hidden variables. The javascript names and form field names cannot be the same as other's on the page. Using Firefox is a good tool as Ken-ichi mentioned. Both for errors and form details and also for checking source of the HTML page after it comes out. if that custom template isn't written out into javascript, you can be sure that it won't pop up. Keep us posted. Liz -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Robin Robin Sent: September 10, 2004 9:51 AM To: chameleon@lists.maptools.org Subject: [Chameleon] Creating my own Widget Hello all, I am trying to create my own widget and I am running into some problems. I am trying to create a hotlink widget which will work similar to identify but will open a webpage when the location on the map is clicked. I plan to do this by copying and modifying the query widget. I started by simply copying the query widget and renaming it. I wanted to check that it still worked once the name has been changed. It doesn't! So far, I changed the folder name to Hotlink, I have changed QueryResults.phtml to HotlinkResults.phtml and Query.widget.php to Hotlink.widget.php. I have also changed in Hotlink.widget.php the class and constructor names from Query to Hotlink (as per instructions in an old thread I found in the chameleon archives). When I click on my hotlink button the map redraws and nothing happens. If I click the same point with my identify/query button I get a popup window with the query results. Since I haven't changed any of the actual functionality yet, both buttons should produce the same results. Are there other places where I have to change/add to files so that my new widget will be recognized? In an older message someone mentioned changing the MapDHTMLWidget.widget.php but I couldn't tell where it should be changed (I did a text search for query). Any help would be appreciated. Thanks _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From ken@rockies.ca Fri Sep 10 13:19:03 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8AHJ28l003984 for ; Fri, 10 Sep 2004 13:19:03 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id nooweaaa for chameleon@lists.maptools.org; Fri, 10 Sep 2004 11:06:26 -0600 From: "Ken Sanderson" To: Subject: RE: [Chameleon] RE: Window focus Date: Fri, 10 Sep 2004 11:22:51 -0600 Message-ID: <003b01c4975a$cfbdf4c0$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal In-Reply-To: <162B3F03E3AD224FA9F82DF351A15A8091D3B6@S0-OTT-X10.NRCan.gc.ca> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.maptools.org id i8AHJ28l003984 X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2004 17:19:03 -0000 If you are building the page on the fly you could add your variable to the child window at the same time, or you could pass your variable through the URL used in the open(). If not building the page on the fly I think if you have a variable defined on the child, you can then assign data to that variable. So you would do the open() and then assign data to the specific variable. Some thoughts at any rate. Ken -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Tweedy, Scott Sent: September 10, 2004 7:44 AM To: 'chameleon@lists.maptools.org' Subject: [Chameleon] RE: Window focus Thanks to Paul and Jason for your answers they work. Now I have another question. It seems that the window I open is tied to the main window (that's where I had to declare the variable myWh to make this work). Once any operation is performed on the map (Zoom in, Apply points to map, etc) and the main page refreshes I lose the variable myWh and the application window starts again. Is there any way around this behaviour? Is there any way of passing the variable myWh (the child window) in a form to the newly refreshed page? Thanks again, st > -----Original Message----- > From: Tweedy, Scott > Sent: Thursday, September 09, 2004 10:56 AM > To: 'chameleon@lists.maptools.org' > Subject: Window focus > > I have an application written in Chameleon. When a button in the main > application is clicked it opens a child popup window which contains > most of the code for the application. If the user minimizes the > child window and clicks on the main button again the child window is > reinitialized and the user has to start from scratch. > > Is there a way to test to see if the child window is already open when > the user clicks on the main button and to simply shift focus to that > window if it is and to reinitialize it if the window isn't open? > > Thanks in advance, > st > > Scott Tweedy > Geoscience Database Analyst - Analyste de base des données > géoscientifiques ESS Geoinformatics Division - Division SST > Géoinformatique Earth Sciences Sector - Secteur des sciences de la > terre Natural Resources Canada - Ressources naturelles Canada > 580-615 Booth Street - 580-615 rue Booth > Ottawa, ON Canada K1A 0E9 > tel. (613) 947-0665 - tél. (613) 947-0665 > fax (613) 995-2520 - télc. (613) 995-2520 > Email sctweedy@nrcan.gc.ca - Courriel sctweedy@nrcan.gc.ca > > _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From ken@rockies.ca Fri Sep 10 13:25:34 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8AHPX8l004089 for ; Fri, 10 Sep 2004 13:25:33 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id dwoweaaa for chameleon@lists.maptools.org; Fri, 10 Sep 2004 11:13:02 -0600 From: "Ken Sanderson" To: Subject: RE: [Chameleon] Creating my own Widget Date: Fri, 10 Sep 2004 11:29:29 -0600 Message-ID: <003d01c4975b$bd4b66f0$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal In-Reply-To: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2004 17:25:34 -0000 When I created my Nav tools widget I needed to add some changes to the MapDHTMLWidget.js file in the MapDHTMLWidget folder in the widgets directory. Open that file and look in the functions: MapWchkMouseUp, MapWmapTool, and MapWgetMouse. There are parts in each of those that look something like this: if((window.gMapDHTMLForm != null) && (gMapDHTMLForm.NAV_CMD != null) && (gMapDHTMLForm.NAV_CMD.value == "PAN_MAP" || gMapDHTMLForm.NAV_CMD.value == "RULER" || gMapDHTMLForm.NAV_CMD.value == "QUERY" || gMapDHTMLForm.NAV_CMD.value == "GetPoint")) return true; Its slightly different in each one, but you will be able to recognize it. GetPoint is my widget, you can see how I added it there. Basically since QUERY is in every one I suspect that a query type widget also needs to be there, so put your own widget name in those lists. Ken Miistakis -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Robin Robin Sent: September 10, 2004 7:51 AM To: chameleon@lists.maptools.org Subject: [Chameleon] Creating my own Widget Hello all, I am trying to create my own widget and I am running into some problems. I am trying to create a hotlink widget which will work similar to identify but will open a webpage when the location on the map is clicked. I plan to do this by copying and modifying the query widget. I started by simply copying the query widget and renaming it. I wanted to check that it still worked once the name has been changed. It doesn't! So far, I changed the folder name to Hotlink, I have changed QueryResults.phtml to HotlinkResults.phtml and Query.widget.php to Hotlink.widget.php. I have also changed in Hotlink.widget.php the class and constructor names from Query to Hotlink (as per instructions in an old thread I found in the chameleon archives). When I click on my hotlink button the map redraws and nothing happens. If I click the same point with my identify/query button I get a popup window with the query results. Since I haven't changed any of the actual functionality yet, both buttons should produce the same results. Are there other places where I have to change/add to files so that my new widget will be recognized? In an older message someone mentioned changing the MapDHTMLWidget.widget.php but I couldn't tell where it should be changed (I did a text search for query). Any help would be appreciated. Thanks _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From querada499@hotmail.com Fri Sep 10 13:36:46 2004 Received: from hotmail.com (bay8-f47.bay8.hotmail.com [64.4.27.47]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8AHak8l004436 for ; Fri, 10 Sep 2004 13:36:46 -0400 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 10 Sep 2004 10:36:45 -0700 Received: from 131.202.163.1 by by8fd.bay8.hotmail.msn.com with HTTP; Fri, 10 Sep 2004 17:36:44 GMT X-Originating-IP: [131.202.163.1] X-Originating-Email: [querada499@hotmail.com] X-Sender: querada499@hotmail.com From: "Robin Robin" To: Godwinl@AGR.GC.CA, chameleon@lists.maptools.org Subject: RE: [Chameleon] Creating my own Widget Date: Fri, 10 Sep 2004 17:36:44 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 10 Sep 2004 17:36:45.0600 (UTC) FILETIME=[BE238200:01C4975C] Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2004 17:36:47 -0000 Hi, Thanks for all of your help. You mentioned: "The javascript names and form field names cannot be the same as other's on the page." I'm not sure this is the case. When I started, the first thing I did was create add a second copy of the query widget to my map. Both buttons worked. Is this a situation where you thought there would be a problem? Maybe it's not quite the same since both buttons were refering to the same widget? You also said I should change the javascript functions and the hidden variables. Do you mean the functions in the Hotlink.Widget.php file? I'm pretty new at this so I wasn't sure. Thanks again Robin >From: "Godwin, Elizabeth" >To: "Robin Robin" , >Subject: RE: [Chameleon] Creating my own Widget >Date: Fri, 10 Sep 2004 13:14:26 -0400 > >Hi, > >I discovered when customizing a query widget myself that if using the >query widget and also the customized widget that whichever is drawn on >the page last is the one that works. > >Try isolating only your custom hotlink tool and get it working, then >once that is ok, you'll have to do more to the widget code to get them >co-existing. the NAV_CMD should be changed, as well as the javascript >functions that are written out and the hidden variables. The javascript >names and form field names cannot be the same as other's on the page. > >Using Firefox is a good tool as Ken-ichi mentioned. Both for errors and >form details and also for checking source of the HTML page after it >comes out. if that custom template isn't written out into javascript, >you can be sure that it won't pop up. > >Keep us posted. > >Liz > >-----Original Message----- >From: chameleon-bounces@lists.maptools.org >[mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Robin Robin >Sent: September 10, 2004 9:51 AM >To: chameleon@lists.maptools.org >Subject: [Chameleon] Creating my own Widget > > >Hello all, > >I am trying to create my own widget and I am running into some problems. >I >am trying to create a hotlink widget which will work similar to identify >but >will open a webpage when the location on the map is clicked. I plan to >do >this by copying and modifying the query widget. > >I started by simply copying the query widget and renaming it. I wanted >to >check that it still worked once the name has been changed. It doesn't! >So >far, I changed the folder name to Hotlink, I have changed >QueryResults.phtml >to HotlinkResults.phtml and Query.widget.php to Hotlink.widget.php. I >have >also changed in Hotlink.widget.php the class and constructor names from >Query to Hotlink (as per instructions in an old thread I found in the >chameleon archives). > >When I click on my hotlink button the map redraws and nothing happens. >If I >click the same point with my identify/query button I get a popup window >with >the query results. Since I haven't changed any of the actual >functionality >yet, both buttons should produce the same results. > >Are there other places where I have to change/add to files so that my >new >widget will be recognized? In an older message someone mentioned >changing >the MapDHTMLWidget.widget.php but I couldn't tell where it should be >changed >(I did a text search for query). > >Any help would be appreciated. > >Thanks > >_________________________________________________________________ >The new MSN 8: advanced junk mail protection and 2 months FREE* >http://join.msn.com/?page=features/junkmail > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From querada499@hotmail.com Fri Sep 10 14:38:26 2004 Received: from hotmail.com (bay8-f92.bay8.hotmail.com [64.4.27.92]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8AIcP8l005577 for ; Fri, 10 Sep 2004 14:38:25 -0400 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 10 Sep 2004 11:38:24 -0700 Received: from 131.202.163.1 by by8fd.bay8.hotmail.msn.com with HTTP; Fri, 10 Sep 2004 18:38:23 GMT X-Originating-IP: [131.202.163.1] X-Originating-Email: [querada499@hotmail.com] X-Sender: querada499@hotmail.com From: "Robin Robin" To: chameleon@lists.maptools.org Subject: RE: [Chameleon] Creating my own Widget Date: Fri, 10 Sep 2004 18:38:23 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 10 Sep 2004 18:38:24.0016 (UTC) FILETIME=[5A910100:01C49765] X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2004 18:38:26 -0000 Hi everyone, Just sending out the good news. My widget now works (well it's working as another query widget at the moment)! For future reference, here is what I did: (I am just creating a widget that is slightly modified from an existing one) 1) In the Widgets Folder, copy the entire folder for the widget you are planning to modify (mine was query) 2) Place a copy of the above folder in the Widgets folder and rename it to your new widget name 3) Open your new folder and rename all the files. For example, I was using the query widget to make a hotlink widget, so I changed Query.Widget.php to Hotlink.Widget.php. Do the same for all the files in your new folder 4) Open the YourName.Widget.php and do a search and replace. I did a search for Query and replaced with Hotlink. Save 5) You may need to do similar search and replace moves on the other files. I think this would depend on the widget you are creating. I didn't need to change any other files (not yet anyway:) 6) In the Widget folder, find the MapDHTMLWidget folder and inside that, open the MapDHTMLWidget.js file (you may want to make a copy of this before you start messing with it, just to be safe, just make sure the one you are changing is called MapDHTMLWidget.js so you don't have to change any references to it). Do a search for the original widget name and add similar lines of code under with your widget name inserted. For example, I found: gMapDHTMLForm.NAV_CMD.value == "QUERY" || so under it I inserted: gMapDHTMLForm.NAV_CMD.value == "HOTLINK" || Make sure that everything still makes sense after you do this. I forgot to put the || after the query line one time and another I had to remove the ending brackets from the query line and move them to the hotlink line. It's not hard, you just have to pay attention to what the code is trying to do and make sure it still does the same thing when you're done. Now you can add your new widget to your map. Hope this helps people out. Sorry to be so longwinded, I'm hoping this helps out someone in my situation later. Thanks for all the help. Robin >From: "Ken Sanderson" >To: >Subject: RE: [Chameleon] Creating my own Widget >Date: Fri, 10 Sep 2004 11:29:29 -0600 > >When I created my Nav tools widget I needed to add some changes to the >MapDHTMLWidget.js file in the MapDHTMLWidget folder in the widgets >directory. > >Open that file and look in the functions: > >MapWchkMouseUp, MapWmapTool, and MapWgetMouse. > >There are parts in each of those that look something like this: > > if((window.gMapDHTMLForm != null) && > (gMapDHTMLForm.NAV_CMD != null) && > (gMapDHTMLForm.NAV_CMD.value == "PAN_MAP" || > gMapDHTMLForm.NAV_CMD.value == "RULER" || > gMapDHTMLForm.NAV_CMD.value == "QUERY" || > gMapDHTMLForm.NAV_CMD.value == "GetPoint")) > return true; > >Its slightly different in each one, but you will be able to recognize >it. GetPoint is my widget, you can see how I added it there. Basically >since QUERY is in every one I suspect that a query type widget also >needs to be there, so put your own widget name in those lists. > >Ken >Miistakis > >-----Original Message----- >From: chameleon-bounces@lists.maptools.org >[mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Robin Robin >Sent: September 10, 2004 7:51 AM >To: chameleon@lists.maptools.org >Subject: [Chameleon] Creating my own Widget > > >Hello all, > >I am trying to create my own widget and I am running into some problems. >I >am trying to create a hotlink widget which will work similar to identify >but >will open a webpage when the location on the map is clicked. I plan to >do >this by copying and modifying the query widget. > >I started by simply copying the query widget and renaming it. I wanted >to >check that it still worked once the name has been changed. It doesn't! >So >far, I changed the folder name to Hotlink, I have changed >QueryResults.phtml >to HotlinkResults.phtml and Query.widget.php to Hotlink.widget.php. I >have >also changed in Hotlink.widget.php the class and constructor names from >Query to Hotlink (as per instructions in an old thread I found in the >chameleon archives). > >When I click on my hotlink button the map redraws and nothing happens. >If I >click the same point with my identify/query button I get a popup window >with >the query results. Since I haven't changed any of the actual >functionality >yet, both buttons should produce the same results. > >Are there other places where I have to change/add to files so that my >new >widget will be recognized? In an older message someone mentioned >changing >the MapDHTMLWidget.widget.php but I couldn't tell where it should be >changed >(I did a text search for query). > >Any help would be appreciated. > >Thanks > >_________________________________________________________________ >The new MSN 8: advanced junk mail protection and 2 months FREE* >http://join.msn.com/?page=features/junkmail > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From querada499@hotmail.com Fri Sep 10 14:45:20 2004 Received: from hotmail.com (bay8-f14.bay8.hotmail.com [64.4.27.14]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8AIjJ8l005693 for ; Fri, 10 Sep 2004 14:45:19 -0400 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 10 Sep 2004 11:45:18 -0700 Received: from 131.202.163.1 by by8fd.bay8.hotmail.msn.com with HTTP; Fri, 10 Sep 2004 18:45:17 GMT X-Originating-IP: [131.202.163.1] X-Originating-Email: [querada499@hotmail.com] X-Sender: querada499@hotmail.com From: "Robin Robin" To: jfournier@dmsolutions.ca, ken@rockies.ca Subject: Re: [Chameleon] Looking for a Widget Date: Fri, 10 Sep 2004 18:45:17 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 10 Sep 2004 18:45:18.0367 (UTC) FILETIME=[5189F2F0:01C49766] Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2004 18:45:20 -0000 Thanks! I haven't got that field set up yet but I changed it to just go to a preset page and that works. >From: Jason Fournier >To: Ken Sanderson >CC: chameleon@lists.maptools.org >Subject: Re: [Chameleon] Looking for a Widget >Date: Tue, 07 Sep 2004 13:10:19 -0400 > >A simple implementation of this function could be the following: > >~ line 454 QueryResults.phtml:: > >In the foreach( $aRows as $aRow ) you could build a URL using distinct >values from the queried layer then header("Location:") to that site. For >instance: > >header( "Location: http://www.mydomain.org/find.asp?id=".$aRow['linkid'] ); > >Where linkid is a field in your queried layer specific to the point >queried. Note that you'd probably want to add in some checking (eg, if >there's more than one result layer being queried OR if there's more than >one record returned for a given layer) to handle specific cases. If you >just put the header in there without conditional checking you may get >unexpected results ;) > >Jason > > > >Ken Sanderson wrote: > >>If anyone tackles this and makes a 'hotlink' widget I wouldn't mind >>using it as well. >> >>Probably tackle it if noone else does for an upcomming project. >> >>Ken >> >>-----Original Message----- >>From: chameleon-bounces@lists.maptools.org >>[mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Eric Bridger >>Sent: September 7, 2004 10:22 AM >>To: Robin Robin >>Cc: chameleon@lists.maptools.org >>Subject: Re: [Chameleon] Looking for a Widget >> >> >>On Tue, 2004-09-07 at 10:52, Robin Robin wrote: >> >>>Does anyone know of a widget that works similar to identify, but instead >>>of >>>showing all fields I would like a widget that looks at a specific >> >>field that >> >>>contains a url. >>> >>>For various areas in my map, we have summary reports which I would like >>>to >>>display when the user clicks on that area. Does this widget already >> >>exist? >> >>>If so, how do I get it? >> >> >>As far as I know (I'm still a Chameleon beginner) it does not exist. I >>recently created a Custom widget (based on the Query.widget.php) and the >>QueryResults.phtml (see: htdocs/widgets/Query/) If you know PHP, >>QueryResults.phtml is easy to modify and will allow you to do whatever >>you want with the query results. >> >> >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > >-- >_____________________________ > > Jason Fournier > Applications Development > > DM Solutions Group Inc. > jfournier@dmsolutions.ca > www.dmsolutions.ca > 613.565.5056 x18 > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From pagameba@magma.ca Fri Sep 10 14:53:46 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8AIrk8l005771 for ; Fri, 10 Sep 2004 14:53:46 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (8.13.0/8.13.0) with ESMTP id i8AIriRV004438; Fri, 10 Sep 2004 14:53:45 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail3.magma.ca (8.13.0/8.13.0) with ESMTP id i8AIrcVo022721; Fri, 10 Sep 2004 14:53:43 -0400 Message-ID: <4141F831.10306@magma.ca> Date: Fri, 10 Sep 2004 14:53:37 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Robin Robin Subject: Re: [Chameleon] Creating my own Widget References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2004 18:53:47 -0000 Sorry I didn't jump in sooner but it looks like you got there in the end. Note that modifying MapDHTMLWidget.js is not necessary in the general case. The query widget is a special case that had to be handled in a way that I am not particularly happy about ... widgets should not require changes in other widgets to make them work ... the difficulty in this case was that I didn't want the page to be submitted when the user clicks, but it is the MapDHTMLWidget that does the submitting :( This is one of the things that I really want to change in the next version ... Cheers, Paul Robin Robin wrote: > Hi everyone, > > Just sending out the good news. My widget now works (well it's working > as another query widget at the moment)! For future reference, here is > what I did: > (I am just creating a widget that is slightly modified from an existing > one) > > 1) In the Widgets Folder, copy the entire folder for the widget you are > planning to modify (mine was query) > 2) Place a copy of the above folder in the Widgets folder and rename it > to your new widget name > 3) Open your new folder and rename all the files. For example, I was > using the query widget to make a hotlink widget, so I changed > Query.Widget.php to Hotlink.Widget.php. Do the same for all the files > in your new folder > 4) Open the YourName.Widget.php and do a search and replace. I did a > search for Query and replaced with Hotlink. Save > 5) You may need to do similar search and replace moves on the other > files. I think this would depend on the widget you are creating. I > didn't need to change any other files (not yet anyway:) > 6) In the Widget folder, find the MapDHTMLWidget folder and inside > that, open the MapDHTMLWidget.js file (you may want to make a copy of > this before you start messing with it, just to be safe, just make sure > the one you are changing is called MapDHTMLWidget.js so you don't have > to change any references to it). Do a search for the original widget > name and add similar lines of code under with your widget name > inserted. For example, I found: > gMapDHTMLForm.NAV_CMD.value == "QUERY" || > > so under it I inserted: > gMapDHTMLForm.NAV_CMD.value == "HOTLINK" || > > Make sure that everything still makes sense after you do this. I forgot > to put the || after the query line one time and another I had to remove > the ending brackets from the query line and move them to the hotlink > line. It's not hard, you just have to pay attention to what the code is > trying to do and make sure it still does the same thing when you're done. > > Now you can add your new widget to your map. Hope this helps people out. > > Sorry to be so longwinded, I'm hoping this helps out someone in my > situation later. Thanks for all the help. > > Robin > > >> From: "Ken Sanderson" >> To: >> Subject: RE: [Chameleon] Creating my own Widget >> Date: Fri, 10 Sep 2004 11:29:29 -0600 >> >> When I created my Nav tools widget I needed to add some changes to the >> MapDHTMLWidget.js file in the MapDHTMLWidget folder in the widgets >> directory. >> >> Open that file and look in the functions: >> >> MapWchkMouseUp, MapWmapTool, and MapWgetMouse. >> >> There are parts in each of those that look something like this: >> >> if((window.gMapDHTMLForm != null) && >> (gMapDHTMLForm.NAV_CMD != null) && >> (gMapDHTMLForm.NAV_CMD.value == "PAN_MAP" || >> gMapDHTMLForm.NAV_CMD.value == "RULER" || >> gMapDHTMLForm.NAV_CMD.value == "QUERY" || >> gMapDHTMLForm.NAV_CMD.value == "GetPoint")) >> return true; >> >> Its slightly different in each one, but you will be able to recognize >> it. GetPoint is my widget, you can see how I added it there. Basically >> since QUERY is in every one I suspect that a query type widget also >> needs to be there, so put your own widget name in those lists. >> >> Ken >> Miistakis >> >> -----Original Message----- >> From: chameleon-bounces@lists.maptools.org >> [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Robin Robin >> Sent: September 10, 2004 7:51 AM >> To: chameleon@lists.maptools.org >> Subject: [Chameleon] Creating my own Widget >> >> >> Hello all, >> >> I am trying to create my own widget and I am running into some problems. >> I >> am trying to create a hotlink widget which will work similar to identify >> but >> will open a webpage when the location on the map is clicked. I plan to >> do >> this by copying and modifying the query widget. >> >> I started by simply copying the query widget and renaming it. I wanted >> to >> check that it still worked once the name has been changed. It doesn't! >> So >> far, I changed the folder name to Hotlink, I have changed >> QueryResults.phtml >> to HotlinkResults.phtml and Query.widget.php to Hotlink.widget.php. I >> have >> also changed in Hotlink.widget.php the class and constructor names from >> Query to Hotlink (as per instructions in an old thread I found in the >> chameleon archives). >> >> When I click on my hotlink button the map redraws and nothing happens. >> If I >> click the same point with my identify/query button I get a popup window >> with >> the query results. Since I haven't changed any of the actual >> functionality >> yet, both buttons should produce the same results. >> >> Are there other places where I have to change/add to files so that my >> new >> widget will be recognized? In an older message someone mentioned >> changing >> the MapDHTMLWidget.widget.php but I couldn't tell where it should be >> changed >> (I did a text search for query). >> >> Any help would be appreciated. >> >> Thanks >> >> _________________________________________________________________ >> The new MSN 8: advanced junk mail protection and 2 months FREE* >> http://join.msn.com/?page=features/junkmail >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon > > > _________________________________________________________________ > Help STOP SPAM with the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Fri Sep 10 15:03:08 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8AJ388l005961 for ; Fri, 10 Sep 2004 15:03:08 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (8.13.0/8.13.0) with ESMTP id i8AJ36TF010573 for ; Fri, 10 Sep 2004 15:03:07 -0400 Received: from magma.ca (www2.dmsolutions.on.ca [209.217.116.146]) by mail4.magma.ca (8.13.0/8.13.0) with ESMTP id i8AJ33iU026192 for ; Fri, 10 Sep 2004 15:03:07 -0400 Message-ID: <4141FA65.9050108@magma.ca> Date: Fri, 10 Sep 2004 15:03:01 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 CC: chameleon@lists.maptools.org Subject: Re: [Chameleon] RE: Window focus References: <003b01c4975a$cfbdf4c0$31289f88@GLADSTONE> In-Reply-To: <003b01c4975a$cfbdf4c0$31289f88@GLADSTONE> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2004 19:03:08 -0000 In response to Bart as well ... AFAIK there is no way to preserve a window handle across page submits. Oddly, though, references like 'window.opener' in the popup do work after the opener has refreshed. The following approach seems like it may work ... ---- in the popup window ---- function checkHandle() { if (opener.myWH == null) { opener.myWH = window; } setTimeout( 'checkHandle()', 1000 ); } ---- in the main window ---- var myWH = null; You can make this more sophisticated by attaching to the onunload event of the main window and only starting timeouts when the page unloads, plus in the popup, check to see if the page has finished loading then set the handle and stop the timeouts. If you want to try this, it may work. If you are willing to let us know what you were able to get working, I would be interested in modifying the Popup architecture in Chameleon to implement something like this ... Cheers, Paul Ken Sanderson wrote: > If you are building the page on the fly you could add your variable to > the child window at the same time, or you could pass your variable > through the URL used in the open(). If not building the page on the fly > I think if you have a variable defined on the child, you can then assign > data to that variable. So you would do the open() and then assign data > to the specific variable. > > Some thoughts at any rate. > > Ken > > -----Original Message----- > From: chameleon-bounces@lists.maptools.org > [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Tweedy, Scott > Sent: September 10, 2004 7:44 AM > To: 'chameleon@lists.maptools.org' > Subject: [Chameleon] RE: Window focus > > > Thanks to Paul and Jason for your answers they work. Now I have another > question. > > It seems that the window I open is tied to the main window (that's where > I had to declare the variable myWh to make this work). Once any > operation is performed on the map (Zoom in, Apply points to map, etc) > and the main page refreshes I lose the variable myWh and the application > window starts again. > > Is there any way around this behaviour? Is there any way of passing the > variable myWh (the child window) in a form to the newly refreshed page? > > Thanks again, > st > > >> -----Original Message----- >>From: Tweedy, Scott >>Sent: Thursday, September 09, 2004 10:56 AM >>To: 'chameleon@lists.maptools.org' >>Subject: Window focus >> >>I have an application written in Chameleon. When a button in the main > > >>application is clicked it opens a child popup window which contains >>most of the code for the application. If the user minimizes the >>child window and clicks on the main button again the child window is >>reinitialized and the user has to start from scratch. >> >>Is there a way to test to see if the child window is already open when > > >>the user clicks on the main button and to simply shift focus to that >>window if it is and to reinitialize it if the window isn't open? >> >>Thanks in advance, >>st >> >>Scott Tweedy >>Geoscience Database Analyst - Analyste de base des données >>géoscientifiques ESS Geoinformatics Division - Division SST >>Géoinformatique Earth Sciences Sector - Secteur des sciences de la >>terre Natural Resources Canada - Ressources naturelles Canada >>580-615 Booth Street - 580-615 rue Booth >>Ottawa, ON Canada K1A 0E9 >>tel. (613) 947-0665 - tél. (613) 947-0665 >>fax (613) 995-2520 - télc. (613) 995-2520 >>Email sctweedy@nrcan.gc.ca - Courriel sctweedy@nrcan.gc.ca >> >> > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > > > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From Tim.Pascoe@ec.gc.ca Fri Sep 10 15:27:52 2004 Received: from ECNWRI1.ontario.int.ec.gc.ca (ecolink.cciw.ca [192.75.68.254]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8AJRq8l006256 for ; Fri, 10 Sep 2004 15:27:52 -0400 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4976C.3E787DB0" X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Date: Fri, 10 Sep 2004 15:27:43 -0400 Message-ID: <2576812186CDD411BF1500508B6DCE9506A8C418@ecnwri1.ontario.int.ec.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: OGR and Query Widget Thread-Index: AcSXbD5dbiXKcTwHTI2ZbMHYpU8cRg== From: "Pascoe,Tim [Burlington]" To: Subject: [Chameleon] OGR and Query Widget X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2004 19:27:53 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C4976C.3E787DB0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Does anyone know if the query widget can be used to query results from = a virtual OGR data source. I've tried implementing it, but I've had no = luck so far. I just get an empty query popup window. Thanks, Timothy Pascoe Environment Canada / Environnement Canada Canada Centre for Inland Waters / Centre Canadien des Eaux Int=E9rieures 867 Lakeshore Road / 867, chemin Lakeshore Burlington, Ontario / Burlington (Ontario) L7R 4A6 Tel/T=E9l: (905) 336-6239 Fax/T=E9l=E9c: (905) 336-4699 E-mail/C. =E9lec: tim.pascoe@ec.gc.ca Government of Canada/Gouvernement du Canada ------_=_NextPart_001_01C4976C.3E787DB0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable OGR and Query Widget

        Does anyone know if the query widget can be used to query = results from a virtual OGR data source. Ive tried implementing it, = but Ive had no luck so far. I just get an empty query = popup = window.

        Thanks,

Timothy Pascoe

Environment Canada / Environnement Canada
Canada Centre for Inland Waters / Centre Canadien des Eaux = Int=E9rieures
867 Lakeshore Road / 867, chemin Lakeshore
Burlington, Ontario / Burlington (Ontario)

L7R 4A6

Tel/T=E9l: (905) 336-6239
Fax/
T=E9l=E9c: = (905) 336-4699
E-mail/C. =E9lec:
tim.pascoe@ec.gc.ca
Government of Canada/Gouvernement du = Canada

------_=_NextPart_001_01C4976C.3E787DB0-- From bartvde@xs4all.nl Mon Sep 13 04:00:54 2004 Received: from smtp-vbr6.xs4all.nl (smtp-vbr6.xs4all.nl [194.109.24.26]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8D80r8l027761 for ; Mon, 13 Sep 2004 04:00:53 -0400 Received: from webmail.xs4all.nl (webmail3.xs4all.nl [194.109.22.163]) by smtp-vbr6.xs4all.nl (8.12.11/8.12.11) with SMTP id i8D80jfb030718 for ; Mon, 13 Sep 2004 10:00:51 +0200 (CEST) (envelope-from bartvde@xs4all.nl) Received: from 212.238.227.182 (SquirrelMail authenticated user bartvde) by webmail.xs4all.nl with HTTP; Mon, 13 Sep 2004 10:00:52 +0200 (CEST) Message-ID: <5396.212.238.227.182.1095062452.squirrel@webmail.xs4all.nl> Date: Mon, 13 Sep 2004 10:00:52 +0200 (CEST) From: bartvde@xs4all.nl To: chameleon@lists.maptools.org User-Agent: SquirrelMail/1.4.2 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by XS4ALL Virus Scanner Subject: [Chameleon] Make a map demo and Chameleon X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Sep 2004 08:00:55 -0000 Hi list, are there widgets in Chameleon to build the Make a map demo with Chameleon? http://www.dmsolutions.ca/techserv/makeapmap.html Best regards, Bart From wbronsema@dmsolutions.ca Mon Sep 13 07:36:39 2004 Received: from smtp102.rog.mail.re2.yahoo.com (smtp102.rog.mail.re2.yahoo.com [206.190.36.80]) by www.maptools.org (8.12.8/8.12.8) with SMTP id i8DBad8l031081 for ; Mon, 13 Sep 2004 07:36:39 -0400 Received: from unknown (HELO ?127.0.0.1?) (wbronsema@69.198.138.223 with plain) by smtp102.rog.mail.re2.yahoo.com with SMTP; 13 Sep 2004 11:36:18 -0000 Message-ID: <41458603.2050008@dmsolutions.ca> Date: Mon, 13 Sep 2004 07:35:31 -0400 From: "William A. Bronsema" Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bartvde@xs4all.nl Subject: Re: [Chameleon] Make a map demo and Chameleon References: <5396.212.238.227.182.1095062452.squirrel@webmail.xs4all.nl> In-Reply-To: <5396.212.238.227.182.1095062452.squirrel@webmail.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: wbronsema@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Sep 2004 11:36:39 -0000 Hi Bart, Most of the functionality is available as widgets i.e. navigation & printing. But, as far as I know, the point functionality part of Make-a-map has not been created as a widget yet. I would envision a widget like this to be very similar to the ROI widget in that there is temporary layer that gets drawn on over top of the map. This should be fairly easy to do. Did you want to sign up for the job? ;) Regards, Bill bartvde@xs4all.nl wrote: > Hi list, > > are there widgets in Chameleon to build the Make a map demo with Chameleon? > > http://www.dmsolutions.ca/techserv/makeapmap.html > > Best regards, > Bart > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- William A. Bronsema, C.E.T. Applications Developer, DM Solutions Group Inc. e-mail: wbronsema@dmsolutions.ca Web : http://www.dmsolutions.ca Phone : (613) 565-5056 ext.25 Fax : (613) 565-0925 ________________________________________________ From querada499@hotmail.com Mon Sep 13 09:41:18 2004 Received: from hotmail.com (bay8-f6.bay8.hotmail.com [64.4.27.6]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8DDfF8l031923 for ; Mon, 13 Sep 2004 09:41:17 -0400 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 13 Sep 2004 06:28:48 -0700 Received: from 131.202.163.1 by by8fd.bay8.hotmail.msn.com with HTTP; Mon, 13 Sep 2004 13:28:47 GMT X-Originating-IP: [131.202.163.1] X-Originating-Email: [querada499@hotmail.com] X-Sender: querada499@hotmail.com From: "Robin Robin" To: chameleon@lists.maptools.org Date: Mon, 13 Sep 2004 13:28:47 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 13 Sep 2004 13:28:48.0151 (UTC) FILETIME=[99BA3270:01C49995] Subject: [Chameleon] Hawaii Demo X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Sep 2004 13:41:18 -0000 Does anyone know if the code is available for the Hawaii Demo (http://www.mapsherpa.com/hawaii2/)? I am especially interested in the legend template Thanks Robin _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From querada499@hotmail.com Mon Sep 13 11:08:54 2004 Received: from hotmail.com (bay8-f124.bay8.hotmail.com [64.4.27.124]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8DF8l8l000572 for ; Mon, 13 Sep 2004 11:08:54 -0400 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 13 Sep 2004 08:08:42 -0700 Received: from 131.202.163.1 by by8fd.bay8.hotmail.msn.com with HTTP; Mon, 13 Sep 2004 15:08:42 GMT X-Originating-IP: [131.202.163.1] X-Originating-Email: [querada499@hotmail.com] X-Sender: querada499@hotmail.com From: "Robin Robin" To: querada499@hotmail.com, chameleon@lists.maptools.org Subject: RE: [Chameleon] Hawaii Demo Date: Mon, 13 Sep 2004 15:08:42 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 13 Sep 2004 15:08:42.0541 (UTC) FILETIME=[8EA985D0:01C499A3] Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Sep 2004 15:08:55 -0000 Actually, what I would really like is to know more about legends. Is there any resource that gives all the details on what is available for legend templates? -Robin >From: "Robin Robin" >To: chameleon@lists.maptools.org >Subject: [Chameleon] Hawaii Demo >Date: Mon, 13 Sep 2004 13:28:47 +0000 > >Does anyone know if the code is available for the Hawaii Demo >(http://www.mapsherpa.com/hawaii2/)? I am especially interested in the >legend template > >Thanks > >Robin > >_________________________________________________________________ >Protect your PC - get McAfee.com VirusScan Online >http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From jrivard@connect.carleton.ca Mon Sep 13 11:12:47 2004 Received: from connectmail.carleton.ca (connectmail.carleton.ca [134.117.2.12]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8DFCl8l000644 for ; Mon, 13 Sep 2004 11:12:47 -0400 Received: from connect (connect.carleton.ca [134.117.2.33]) by connectmail.carleton.ca (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with SMTP id <0I3Z00HNJJLAX8@connectmail.carleton.ca> for chameleon@lists.maptools.org; Mon, 13 Sep 2004 11:12:46 -0400 (EDT) Date: Mon, 13 Sep 2004 11:12:46 -0400 (EDT) From: Joel Rivard Subject: Re: RE: [Chameleon] Hawaii Demo To: Robin Robin Message-id: <2072368.1095088366921.JavaMail.jrivard@connect.carleton.ca> MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Sep 2004 15:12:48 -0000 Hey Robin, Try looking at the "MapServer HTML Legend HOWTO - Version 4.2" document. http://mapserver.gis.umn.edu/doc42/html-legend-howto.html It sure helped me out. Cheers, Joel Robin Robin wrote: >Actually, what I would really like is to know more about legends. Is there >any resource that gives all the details on what is available for legend >templates? > >-Robin > > >>From: "Robin Robin" >>To: chameleon@lists.maptools.org >>Subject: [Chameleon] Hawaii Demo >>Date: Mon, 13 Sep 2004 13:28:47 +0000 >> >>Does anyone know if the code is available for the Hawaii Demo >>(http://www.mapsherpa.com/hawaii2/)? I am especially interested in the >>legend template >> >>Thanks >> >>Robin >> >>_________________________________________________________________ >>Protect your PC - get McAfee.com VirusScan Online >>http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon > >_________________________________________________________________ >Add photos to your messages with MSN 8. Get 2 months FREE*. >http://join.msn.com/?page=features/featuredemail > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > From sctweedy@NRCan.gc.ca Mon Sep 13 11:16:38 2004 Received: from s0-ott-xsmtp2.nrn.nrcan.gc.ca (S0-OTT-XSMTP2.NRCan.gc.ca [132.156.36.49]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8DFGc8l000736 for ; Mon, 13 Sep 2004 11:16:38 -0400 Received: by S0-OTT-XSMTP2.NRCan.gc.ca with Internet Mail Service (5.5.2657.72) id ; Mon, 13 Sep 2004 11:14:39 -0400 Message-ID: <162B3F03E3AD224FA9F82DF351A15A8091D3BF@S0-OTT-X10.NRCan.gc.ca> From: "Tweedy, Scott" To: "'chameleon@lists.maptools.org'" Date: Mon, 13 Sep 2004 11:14:39 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Subject: [Chameleon] Closing child windows X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Sep 2004 15:16:39 -0000 I've tried a couple of solutions to this, but I'm not sure it can be done. I have a Chameleon application working. The way Chameleon is currently configured is there a way to close all child windows of a popped up widget once the parent widow is closed? Most of the solutions I tried were Javascript. If anyone has any suggestions that would be great. Thanks in advance. st From ken@rockies.ca Mon Sep 13 11:17:39 2004 Received: from Sage.rockies.ca (sage.rockies.ca [136.159.40.40]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8DFHd8l000753 for ; Mon, 13 Sep 2004 11:17:39 -0400 Received: from gladstone.rockies.ca (gladstone.rockies.ca [136.159.40.49]) by Sage.rockies.ca (NTMail 7.01.0028/NT8525.00.67d4c7b0) with ESMTP id apqweaaa for chameleon@lists.maptools.org; Mon, 13 Sep 2004 09:04:43 -0600 From: "Ken Sanderson" To: "'Robin Robin'" , Subject: RE: [Chameleon] Hawaii Demo Date: Mon, 13 Sep 2004 09:21:23 -0600 Message-ID: <002601c499a5$570845b0$31289f88@GLADSTONE> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Sep 2004 15:17:39 -0000 There is a bit on HTML legends in the wiki pages. For the XML legend, which is what I think the Hawaii demo uses, you could check out the sample in the samples folder. Ken -----Original Message----- From: chameleon-bounces@lists.maptools.org [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Robin Robin Sent: September 13, 2004 9:09 AM To: querada499@hotmail.com; chameleon@lists.maptools.org Subject: RE: [Chameleon] Hawaii Demo Actually, what I would really like is to know more about legends. Is there any resource that gives all the details on what is available for legend templates? -Robin >From: "Robin Robin" >To: chameleon@lists.maptools.org >Subject: [Chameleon] Hawaii Demo >Date: Mon, 13 Sep 2004 13:28:47 +0000 > >Does anyone know if the code is available for the Hawaii Demo >(http://www.mapsherpa.com/hawaii2/)? I am especially interested in the >legend template > >Thanks > >Robin > >_________________________________________________________________ >Protect your PC - get McAfee.com VirusScan Online >http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon From querada499@hotmail.com Mon Sep 13 15:19:12 2004 Received: from hotmail.com (bay8-f112.bay8.hotmail.com [64.4.27.112]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8DJJB8l004566 for ; Mon, 13 Sep 2004 15:19:12 -0400 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 13 Sep 2004 12:19:10 -0700 Received: from 131.202.163.1 by by8fd.bay8.hotmail.msn.com with HTTP; Mon, 13 Sep 2004 19:19:10 GMT X-Originating-IP: [131.202.163.1] X-Originating-Email: [querada499@hotmail.com] X-Sender: querada499@hotmail.com From: "Robin Robin" To: chameleon@lists.maptools.org Subject: RE: [Chameleon] Hawaii Demo Date: Mon, 13 Sep 2004 19:19:10 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 13 Sep 2004 19:19:10.0845 (UTC) FILETIME=[8C3ABAD0:01C499C6] X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Sep 2004 19:19:12 -0000 ok, I've looked at the wiki legend How to document and also at the xml legend example. Neither of these provides the kind of legend I am looking for. I am hoping to create some sort of tree legend, preferably with arrows that you can click and the "folder" will open up, revealing more "folders" and eventually, layers, that can be turned on and off. Has anyone done this? They don't necessarily have to open when clicked, they could be open all the time, but what is most important is the various levels of grouping. Thanks, Robin >From: "Ken Sanderson" >To: "'Robin Robin'" , >Subject: RE: [Chameleon] Hawaii Demo >Date: Mon, 13 Sep 2004 09:21:23 -0600 > >There is a bit on HTML legends in the wiki pages. For the XML legend, >which is what I think the Hawaii demo uses, you could check out the >sample in the samples folder. > >Ken > >-----Original Message----- >From: chameleon-bounces@lists.maptools.org >[mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Robin Robin >Sent: September 13, 2004 9:09 AM >To: querada499@hotmail.com; chameleon@lists.maptools.org >Subject: RE: [Chameleon] Hawaii Demo > > >Actually, what I would really like is to know more about legends. Is >there >any resource that gives all the details on what is available for legend >templates? > >-Robin > > > >From: "Robin Robin" > >To: chameleon@lists.maptools.org > >Subject: [Chameleon] Hawaii Demo > >Date: Mon, 13 Sep 2004 13:28:47 +0000 > > > >Does anyone know if the code is available for the Hawaii Demo > >(http://www.mapsherpa.com/hawaii2/)? I am especially interested in the > > >legend template > > > >Thanks > > > >Robin > > > >_________________________________________________________________ > >Protect your PC - get McAfee.com VirusScan Online > >http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > > >_______________________________________________ > >Chameleon mailing list > >Chameleon@lists.maptools.org > >http://lists.maptools.org/mailman/listinfo/chameleon > >_________________________________________________________________ >Add photos to your messages with MSN 8. Get 2 months FREE*. >http://join.msn.com/?page=features/featuredemail > >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From jfournier@dmsolutions.ca Mon Sep 13 15:46:54 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8DJks8l015323 for ; Mon, 13 Sep 2004 15:46:54 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (8.13.0/8.13.0) with ESMTP id i8DJjpNj003739; Mon, 13 Sep 2004 15:45:52 -0400 Received: from dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) (authenticated bits=0) by mail3.magma.ca (8.13.0/8.13.0) with ESMTP id i8DJjmf9011980; Mon, 13 Sep 2004 15:45:51 -0400 Message-ID: <4145F92A.3010109@dmsolutions.ca> Date: Mon, 13 Sep 2004 15:46:50 -0400 From: Jason Fournier User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Robin Robin Subject: Re: [Chameleon] Hawaii Demo References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Sep 2004 19:46:54 -0000 Robin, Perhaps the sample_enhanced_themelegend.phtml application in the samples directory of Chameleon could help shed some light. It uses the XML Theme Legend to showed grouped layers. The example is a relatively simple implementation .. you can get as complex as required ;) Jason Robin Robin wrote: > ok, I've looked at the wiki legend How to document and also at the xml > legend example. Neither of these provides the kind of legend I am > looking for. I am hoping to create some sort of tree legend, preferably > with arrows that you can click and the "folder" will open up, revealing > more "folders" and eventually, layers, that can be turned on and off. > Has anyone done this? They don't necessarily have to open when clicked, > they could be open all the time, but what is most important is the > various levels of grouping. > > Thanks, > > > Robin > > >> From: "Ken Sanderson" >> To: "'Robin Robin'" >> , >> Subject: RE: [Chameleon] Hawaii Demo >> Date: Mon, 13 Sep 2004 09:21:23 -0600 >> >> There is a bit on HTML legends in the wiki pages. For the XML legend, >> which is what I think the Hawaii demo uses, you could check out the >> sample in the samples folder. >> >> Ken >> >> -----Original Message----- >> From: chameleon-bounces@lists.maptools.org >> [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Robin Robin >> Sent: September 13, 2004 9:09 AM >> To: querada499@hotmail.com; chameleon@lists.maptools.org >> Subject: RE: [Chameleon] Hawaii Demo >> >> >> Actually, what I would really like is to know more about legends. Is >> there >> any resource that gives all the details on what is available for legend >> templates? >> >> -Robin >> >> >> >From: "Robin Robin" >> >To: chameleon@lists.maptools.org >> >Subject: [Chameleon] Hawaii Demo >> >Date: Mon, 13 Sep 2004 13:28:47 +0000 >> > >> >Does anyone know if the code is available for the Hawaii Demo >> >(http://www.mapsherpa.com/hawaii2/)? I am especially interested in the >> >> >legend template >> > >> >Thanks >> > >> >Robin >> > >> >_________________________________________________________________ >> >Protect your PC - get McAfee.com VirusScan Online >> >http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 >> > >> >_______________________________________________ >> >Chameleon mailing list >> >Chameleon@lists.maptools.org >> >http://lists.maptools.org/mailman/listinfo/chameleon >> >> _________________________________________________________________ >> Add photos to your messages with MSN 8. Get 2 months FREE*. >> http://join.msn.com/?page=features/featuredemail >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon >> >> > > _________________________________________________________________ > Tired of spam? Get advanced junk mail protection with MSN 8. > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- _____________________________ Jason Fournier Applications Development DM Solutions Group Inc. jfournier@dmsolutions.ca www.dmsolutions.ca 613.565.5056 x18 From tjmitchell@riverside.bc.ca Mon Sep 13 16:22:41 2004 Received: from hqaxp05.riverside.bc.ca (riverside.bc.ca [208.38.60.27] (may be forged)) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8DKMe8l016597 for ; Mon, 13 Sep 2004 16:22:41 -0400 In-Reply-To: <4145F92A.3010109@dmsolutions.ca> To: Jason Fournier Subject: Re: [Chameleon] Hawaii Demo MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.1 January 21, 2004 Message-ID: From: Tyler Mitchell Date: Mon, 13 Sep 2004 13:23:16 -0700 X-MIMETrack: Serialize by Router on Hqaxp05/Riverside(Release 6.5.2|June 01, 2004) at 09/13/2004 01:23:02 PM, Serialize complete at 09/13/2004 01:23:02 PM Content-Type: text/plain; charset="US-ASCII" Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Sep 2004 20:22:41 -0000 Robin, I haven't used this yet, but you might glean some value from looking at the Open Internet Geomapping Framework (Open IGF). It's available at the University of Northern British Columbia (UNBC) site. I don't have the reference handy, but a search for "IGF UNBC" should get you started. I think they use the exact kind of legend you are describing - but I haven't gotten there yet. Now, how to bring that functionality into Chameleon is another question I can't help you with yet :) Tyler chameleon-bounces@lists.maptools.org wrote on 09/13/2004 12:46:50 PM: > Robin, > > Perhaps the sample_enhanced_themelegend.phtml application in the samples > directory of Chameleon could help shed some light. It uses the XML > Theme Legend to showed grouped layers. The example is a relatively > simple implementation .. you can get as complex as required ;) > > Jason > > > > Robin Robin wrote: > > ok, I've looked at the wiki legend How to document and also at the xml > > legend example. Neither of these provides the kind of legend I am > > looking for. I am hoping to create some sort of tree legend, preferably > > with arrows that you can click and the "folder" will open up, revealing > > more "folders" and eventually, layers, that can be turned on and off. > > Has anyone done this? They don't necessarily have to open when clicked, > > they could be open all the time, but what is most important is the > > various levels of grouping. > > > > Thanks, > > > > > > Robin > > > > > >> From: "Ken Sanderson" > >> To: "'Robin Robin'" > >> , > >> Subject: RE: [Chameleon] Hawaii Demo > >> Date: Mon, 13 Sep 2004 09:21:23 -0600 > >> > >> There is a bit on HTML legends in the wiki pages. For the XML legend, > >> which is what I think the Hawaii demo uses, you could check out the > >> sample in the samples folder. > >> > >> Ken > >> > >> -----Original Message----- > >> From: chameleon-bounces@lists.maptools.org > >> [mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Robin Robin > >> Sent: September 13, 2004 9:09 AM > >> To: querada499@hotmail.com; chameleon@lists.maptools.org > >> Subject: RE: [Chameleon] Hawaii Demo > >> > >> > >> Actually, what I would really like is to know more about legends. Is > >> there > >> any resource that gives all the details on what is available for legend > >> templates? > >> > >> -Robin > >> > >> > >> >From: "Robin Robin" > >> >To: chameleon@lists.maptools.org > >> >Subject: [Chameleon] Hawaii Demo > >> >Date: Mon, 13 Sep 2004 13:28:47 +0000 > >> > > >> >Does anyone know if the code is available for the Hawaii Demo > >> >(http://www.mapsherpa.com/hawaii2/)? I am especially interested in the > >> > >> >legend template > >> > > >> >Thanks > >> > > >> >Robin > >> > > >> >_________________________________________________________________ > >> >Protect your PC - get McAfee.com VirusScan Online > >> >http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > >> > > >> >_______________________________________________ > >> >Chameleon mailing list > >> >Chameleon@lists.maptools.org > >> >http://lists.maptools.org/mailman/listinfo/chameleon > >> > >> _________________________________________________________________ > >> Add photos to your messages with MSN 8. Get 2 months FREE*. > >> http://join.msn.com/?page=features/featuredemail > >> > >> _______________________________________________ > >> Chameleon mailing list > >> Chameleon@lists.maptools.org > >> http://lists.maptools.org/mailman/listinfo/chameleon > >> > >> > > > > _________________________________________________________________ > > Tired of spam? Get advanced junk mail protection with MSN 8. > > http://join.msn.com/?page=features/junkmail > > > > _______________________________________________ > > Chameleon mailing list > > Chameleon@lists.maptools.org > > http://lists.maptools.org/mailman/listinfo/chameleon > > > > -- > _____________________________ > > Jason Fournier > Applications Development > > DM Solutions Group Inc. > jfournier@dmsolutions.ca > www.dmsolutions.ca > 613.565.5056 x18 > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon From kueda@wso.williams.edu Mon Sep 13 22:00:41 2004 Received: from nature.Berkeley.EDU (nature.Berkeley.EDU [128.32.253.219]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8E20f8l021287 for ; Mon, 13 Sep 2004 22:00:41 -0400 Received: from localhost (localhost [127.0.0.1]) by nature.Berkeley.EDU (Postfix) with ESMTP id E3B37C1E5E for ; Mon, 13 Sep 2004 19:00:39 -0700 (PDT) Received: from nature.Berkeley.EDU ([127.0.0.1]) by localhost (nature [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20204-07 for ; Mon, 13 Sep 2004 19:00:39 -0700 (PDT) Received: from [128.32.179.58] (mul111-3.CNR.Berkeley.EDU [128.32.179.58]) by nature.Berkeley.EDU (Postfix) with ESMTP id AC7B7C1E5A for ; Mon, 13 Sep 2004 19:00:39 -0700 (PDT) Message-ID: <414650C4.20000@wso.williams.edu> Date: Mon, 13 Sep 2004 19:00:36 -0700 From: Ken-ichi User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: chameleon@lists.maptools.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at nature.berkeley.edu Subject: [Chameleon] SECTpopup? X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2004 02:00:42 -0000 I noticed this interesting little "Style Layers" button on one of the sample pages, but it doesn't work. It pops up a window that looks for studio/index.phtml, but fails. I can find this file anywhere in the default installation. The widget is called SECTpopup, and Google says there's been scant talk about it. Can anyone tell me if it's functional, and if so, how to get it functioning? Also, are there any plans for integrating this and the LayerManager functionality into the Legend widget? Seems like they belong there, as optional components at least. -Ken-ichi From pagameba@magma.ca Mon Sep 13 22:20:42 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8E2Kg8l021580 for ; Mon, 13 Sep 2004 22:20:42 -0400 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx1.magmacom.com (8.13.0/8.13.0) with ESMTP id i8E2KeuO028044; Mon, 13 Sep 2004 22:20:41 -0400 Received: from magma.ca (ottawa-dial-64-26-139-2.d-ip.magma.ca [64.26.139.2]) by mail1.magma.ca (8.13.0/8.13.0) with ESMTP id i8E2KX5N015008; Mon, 13 Sep 2004 22:20:39 -0400 Message-ID: <4146556D.8090402@magma.ca> Date: Mon, 13 Sep 2004 22:20:29 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Robin Robin Subject: Re: [Chameleon] Hawaii Demo References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2004 02:20:42 -0000 Robin, we can get you the legend used in that example if you wish. There are two legend widgets that are available in Chameleon ... LegendTemplate this widget provides access to the HTML Legend Template functionality of MapServer. There is considerable flexibility in this approach since it allows you to generate text in any format you wish ... I have seen some very cool DHTML implementations that provide the kind of multi-level grouping that provide the tree-like functionality you are interested in. The limitation of the HTML Legend Template is that MapServer only supports one level of grouping and it is based directly on the map file. XMLThemeLegend This widget avoids the use of MapServer's legend template and was written for use in an OGC environment since the portable document format for OGC applications (Web Map Context) does not support any type of grouping or themes. This widget allows you to define groups of layers and place them in themes, and uses a similar templating system as the HTML Legend Template. It is way more flexible, but also more complicated (and there is far less documentation right now). Because of the templating approach, you can also create complex DHTML effects with this widget. HTH ... Paul Robin Robin wrote: > Does anyone know if the code is available for the Hawaii Demo > (http://www.mapsherpa.com/hawaii2/)? I am especially interested in the > legend template > > Thanks > > Robin > > _________________________________________________________________ > Protect your PC - get McAfee.com VirusScan Online > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Mon Sep 13 22:26:39 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8E2Qd8l021719 for ; Mon, 13 Sep 2004 22:26:39 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (8.13.0/8.13.0) with ESMTP id i8E2QccH027455; Mon, 13 Sep 2004 22:26:39 -0400 Received: from magma.ca (ottawa-dial-64-26-139-2.d-ip.magma.ca [64.26.139.2]) by mail3.magma.ca (8.13.0/8.13.0) with ESMTP id i8E2QV37001219; Mon, 13 Sep 2004 22:26:37 -0400 Message-ID: <414656D4.6040605@magma.ca> Date: Mon, 13 Sep 2004 22:26:28 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ken-ichi Subject: Re: [Chameleon] SECTpopup? References: <414650C4.20000@wso.williams.edu> In-Reply-To: <414650C4.20000@wso.williams.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2004 02:26:40 -0000 Ken, this is an experimental widget that requires an external component, Studio, to work. It does work, at least on my system :) but we are not ready yet to distribute Studio as a generally supported product so you'll have to wait. Re the LayerManager ... I am generally against putting too much functionality into a single widget. I prefer to provide lots of more focussed tools that can be combined in interesting ways to solve particular problems. So you probably won't see any more functionality being added to the LayerManager. Cheers, Paul Ken-ichi wrote: > I noticed this interesting little "Style Layers" button on one of the > sample pages, but it doesn't work. It pops up a window that looks for > studio/index.phtml, but fails. I can find this file anywhere in the > default installation. The widget is called SECTpopup, and Google says > there's been scant talk about it. Can anyone tell me if it's > functional, and if so, how to get it functioning? > > Also, are there any plans for integrating this and the LayerManager > functionality into the Legend widget? Seems like they belong there, as > optional components at least. > > -Ken-ichi > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Mon Sep 13 22:32:43 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8E2Wh8l021877 for ; Mon, 13 Sep 2004 22:32:43 -0400 Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx1.magmacom.com (8.13.0/8.13.0) with ESMTP id i8E2Wgaw001565; Mon, 13 Sep 2004 22:32:43 -0400 Received: from magma.ca (ottawa-dial-64-26-139-2.d-ip.magma.ca [64.26.139.2]) by mail4.magma.ca (8.13.0/8.13.0) with ESMTP id i8E2WbGT025329; Mon, 13 Sep 2004 22:32:41 -0400 Message-ID: <41465841.7050709@magma.ca> Date: Mon, 13 Sep 2004 22:32:33 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Tweedy, Scott" Subject: Re: [Chameleon] Closing child windows References: <162B3F03E3AD224FA9F82DF351A15A8091D3BF@S0-OTT-X10.NRCan.gc.ca> In-Reply-To: <162B3F03E3AD224FA9F82DF351A15A8091D3BF@S0-OTT-X10.NRCan.gc.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: "'chameleon@lists.maptools.org'" X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2004 02:32:44 -0000 Scott, there is currently no mechanism for this in Chameleon and I think it would be tricky to implement right if we also wanted to track window handles of open popups etc because it would have to use the onunload event of the window to do its work, but would have to know that the window was being closed rather than just reloaded due to a page submit (for instance). I'm sure we'd run into cases where it was impossible to trap the refresh of the page without closing the popup dialogs. A more reliable solution that I would like to try out is to load popups into an iframe on a floating div in the main application page ... this would be an alternative to the popups that are currently used and would avoid this type of problem. However, it would also introduce new problems :( I'll put some thought into the window handle problem and see if I can't come up with something for you. Cheers, Paul Tweedy, Scott wrote: > I've tried a couple of solutions to this, but I'm not sure it can be done. > > I have a Chameleon application working. The way Chameleon is currently > configured is there a way to close all child windows of a popped up widget > once the parent widow is closed? Most of the solutions I tried were > Javascript. If anyone has any suggestions that would be great. > > Thanks in advance. > st > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Mon Sep 13 22:36:47 2004 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8E2ak8l021913 for ; Mon, 13 Sep 2004 22:36:46 -0400 Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx2.magma.ca (8.13.0/8.13.0) with ESMTP id i8E2af2v030760; Mon, 13 Sep 2004 22:36:42 -0400 Received: from magma.ca (ottawa-dial-64-26-139-2.d-ip.magma.ca [64.26.139.2]) by mail1.magma.ca (8.13.0/8.13.0) with ESMTP id i8E2aaHa028256; Mon, 13 Sep 2004 22:36:41 -0400 Message-ID: <41465930.3030201@magma.ca> Date: Mon, 13 Sep 2004 22:36:32 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Pascoe,Tim [Burlington]" References: <2576812186CDD411BF1500508B6DCE9506A8C418@ecnwri1.ontario.int.ec.gc.ca> In-Reply-To: <2576812186CDD411BF1500508B6DCE9506A8C418@ecnwri1.ontario.int.ec.gc.ca> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Chameleon] OGR and Query Widget Cc: chameleon@lists.maptools.org X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2004 02:36:47 -0000 Tim, I'm pretty sure that I've seen it used without problems. Some things to make sure of with querying: * layer has a 'template' value set - doesn't have to be valid: TEMPLATE "ttt.html" * layer has a non-zero tolerance set TOLERANCE 5 TOLERANCEUNITS PIXELS * layer is ON (DEFAULT should work too, but try ON) * there was a bug in the query code from php_utils (found under common in chameleon) that caused problems if there were also WMS layers that were queryable but that didn't return results. You will need to update from CVS until the next version is out (no timeline yet, sorry) Cheers, Paul Pascoe,Tim [Burlington] wrote: > > Does anyone know if the query widget can be used to query > results from a virtual OGR data source. I’ve tried implementing it, but > I’ve had no luck so far. I just get an empty query popup window. > > Thanks, > > Timothy Pascoe > > Environment Canada / Environnement Canada > Canada Centre for Inland Waters / Centre Canadien des Eaux Intérieures > 867 Lakeshore Road / 867, chemin Lakeshore > Burlington, Ontario / Burlington (Ontario) > > L7R 4A6 > > Tel/Tél: (905) 336-6239 > Fax/Téléc: (905) 336-4699 > E-mail/C. élec: ___tim.pascoe@ec.gc.ca_ > Government of Canada/Gouvernement du Canada > > > ------------------------------------------------------------------------ > > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From pagameba@magma.ca Tue Sep 14 09:52:22 2004 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8EDqM8l031000 for ; Tue, 14 Sep 2004 09:52:22 -0400 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (8.13.0/8.13.0) with ESMTP id i8EDq0dQ018866; Tue, 14 Sep 2004 09:52:01 -0400 Received: from magma.ca (ottawa-dial-64-26-139-41.d-ip.magma.ca [64.26.139.41]) by mail3.magma.ca (8.13.0/8.13.0) with ESMTP id i8EDpoCd014941; Tue, 14 Sep 2004 09:51:58 -0400 Message-ID: <4146F771.6040503@magma.ca> Date: Tue, 14 Sep 2004 09:51:45 -0400 From: Paul Spencer Organization: DM Solutions Group Inc User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Pascoe,Tim [Burlington]" , "chameleon@lists.maptools.org" Subject: Re: [Chameleon] OGR and Query Widget References: <2576812186CDD411BF1500508B6DCE9506A8C42D@ecnwri1.ontario.int.ec.gc.ca> In-Reply-To: <2576812186CDD411BF1500508B6DCE9506A8C42D@ecnwri1.ontario.int.ec.gc.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: pspencer@dmsolutions.ca List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2004 13:52:23 -0000 Tim, re embedding the query results ... the Query widget will not do this as it stands. You would need to write a custom widget for this Paul Pascoe,Tim [Burlington] wrote: > Paul, > > Never mind......I had the settings in the main map file, not in the WMS server file. Query works now, but I'm still interested in being able to embed the results in the main map window. > > Thanks again, > > Timothy Pascoe > > Environment Canada / Environnement Canada > Canada Centre for Inland Waters / Centre Canadien des Eaux Intérieures > 867 Lakeshore Road / 867, chemin Lakeshore > Burlington, Ontario / Burlington (Ontario) > L7R 4A6 > > Tel/Tél: (905) 336-6239 > Fax/Téléc: (905) 336-4699 > E-mail/C. élec: tim.pascoe@ec.gc.ca > Government of Canada/Gouvernement du Canada > > -----Original Message----- > From: Paul Spencer [mailto:pagameba@magma.ca] > Sent: Monday, September 13, 2004 10:37 PM > To: Pascoe,Tim [Burlington] > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] OGR and Query Widget > > Tim, > > I'm pretty sure that I've seen it used without problems. Some things to > make sure of with querying: > > * layer has a 'template' value set - doesn't have to be valid: > > TEMPLATE "ttt.html" > > * layer has a non-zero tolerance set > > TOLERANCE 5 > TOLERANCEUNITS PIXELS > > * layer is ON (DEFAULT should work too, but try ON) > > * there was a bug in the query code from php_utils (found under common > in chameleon) that caused problems if there were also WMS layers that > were queryable but that didn't return results. You will need to update > from CVS until the next version is out (no timeline yet, sorry) > > Cheers, > > Paul > > Pascoe,Tim [Burlington] wrote: > > >> Does anyone know if the query widget can be used to query >>results from a virtual OGR data source. I've tried implementing it, but >>I've had no luck so far. I just get an empty query popup window. >> >> Thanks, >> >>Timothy Pascoe >> >>Environment Canada / Environnement Canada >>Canada Centre for Inland Waters / Centre Canadien des Eaux Intérieures >>867 Lakeshore Road / 867, chemin Lakeshore >>Burlington, Ontario / Burlington (Ontario) >> >>L7R 4A6 >> >>Tel/Tél: (905) 336-6239 >>Fax/Téléc: (905) 336-4699 >>E-mail/C. élec: ___tim.pascoe@ec.gc.ca_ >>Government of Canada/Gouvernement du Canada >> >> >>------------------------------------------------------------------------ >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon > > -- ----------------------------------------------------------------- |Paul Spencer pspencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- From querada499@hotmail.com Tue Sep 14 12:45:27 2004 Received: from hotmail.com (bay8-f43.bay8.hotmail.com [64.4.27.43]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8EGjQ8l001304 for ; Tue, 14 Sep 2004 12:45:27 -0400 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 14 Sep 2004 09:34:10 -0700 Received: from 131.202.163.1 by by8fd.bay8.hotmail.msn.com with HTTP; Tue, 14 Sep 2004 16:34:10 GMT X-Originating-IP: [131.202.163.1] X-Originating-Email: [querada499@hotmail.com] X-Sender: querada499@hotmail.com From: "Robin Robin" To: pspencer@dmsolutions.ca, chameleon@lists.maptools.org Subject: Re: [Chameleon] Hawaii Demo Date: Tue, 14 Sep 2004 16:34:10 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 14 Sep 2004 16:34:10.0785 (UTC) FILETIME=[A9BF3510:01C49A78] Cc: X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2004 16:45:27 -0000 thanks. I think the xml legend with DHTML is what I am looking for. Is there any special way to add individual layers to the legend instead of just groups? I tried modifying the sample_themes.xml and sample_renderer.html by adding a in the global section of the sample_themes and a repeat layer section: [repeat layer]
[end] within the repeat group section of the sample_renderer This causes errors: Notice: Undefined index: layer in C:\ms4w\apps\chameleon\htdocs\TemplateProcessor.php(236) : eval()'d code on line 163 I'm also wondering if it is necessary to have a radio button like in the other legends to indicate which layer is active? If this is selected, this means it is the layer which will be queried if you use the identify button right? If there isn't a button to select, what gets queried? Thanks Robin >From: Paul Spencer >Reply-To: pspencer@dmsolutions.ca >To: Robin Robin >CC: chameleon@lists.maptools.org >Subject: Re: [Chameleon] Hawaii Demo >Date: Mon, 13 Sep 2004 22:20:29 -0400 > >Robin, > >we can get you the legend used in that example if you wish. There are two >legend widgets that are available in Chameleon ... > >LegendTemplate > >this widget provides access to the HTML Legend Template functionality of >MapServer. There is considerable flexibility in this approach since it >allows you to generate text in any format you wish ... I have seen some >very cool DHTML implementations that provide the kind of multi-level >grouping that provide the tree-like functionality you are interested in. > >The limitation of the HTML Legend Template is that MapServer only supports >one level of grouping and it is based directly on the map file. > >XMLThemeLegend > >This widget avoids the use of MapServer's legend template and was written >for use in an OGC environment since the portable document format for OGC >applications (Web Map Context) does not support any type of grouping or >themes. > >This widget allows you to define groups of layers and place them in themes, >and uses a similar templating system as the HTML Legend Template. It is >way more flexible, but also more complicated (and there is far less >documentation right now). > >Because of the templating approach, you can also create complex DHTML >effects with this widget. > >HTH ... > >Paul > >Robin Robin wrote: > >>Does anyone know if the code is available for the Hawaii Demo >>(http://www.mapsherpa.com/hawaii2/)? I am especially interested in the >>legend template >> >>Thanks >> >>Robin >> >>_________________________________________________________________ >>Protect your PC - get McAfee.com VirusScan Online >>http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > >-- > ----------------------------------------------------------------- >|Paul Spencer pspencer@dmsolutions.ca | >|-----------------------------------------------------------------| >|Applications & Software Development | >|DM Solutions Group Inc http://www.dmsolutions.ca/| > ----------------------------------------------------------------- > _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From berend.veldkamp@aris.nl Wed Sep 15 11:09:59 2004 Received: from smtp-vbr6.xs4all.nl (smtp-vbr6.xs4all.nl [194.109.24.26]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8FF9w8l015734 for ; Wed, 15 Sep 2004 11:09:59 -0400 Received: from [192.168.0.32] (a194-109-231-204.adsl.xs4all.nl [194.109.231.204]) (authenticated bits=0) by smtp-vbr6.xs4all.nl (8.12.11/8.12.11) with ESMTP id i8FF9kxT057842 for ; Wed, 15 Sep 2004 17:09:57 +0200 (CEST) (envelope-from berend.veldkamp@aris.nl) Message-ID: <41485B39.9020605@aris.nl> Date: Wed, 15 Sep 2004 17:09:45 +0200 From: Berend Veldkamp Organization: ARIS User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Chameleon Users Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner Subject: [Chameleon] Table widget X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2004 15:10:00 -0000 Hi, I'm looking for a (working) example of the table widget. Do I need anything more than this: Regards, Berend -- ____________________________ Berend Veldkamp - ARIS http://www.aris.nl/ ____________________________ From jlacroix@dmsolutions.ca Wed Sep 15 13:55:37 2004 Received: from angrenost.dmsolutions.ca (chic.dmsolutions.ca [207.134.52.226]) by www.maptools.org (8.12.8/8.12.8) with ESMTP id i8FHtb8l017910 for ; Wed, 15 Sep 2004 13:55:37 -0400 Received: from dmsolutions.ca (orthanc.lan.dmsolutions.ca [192.168.4.8]) by angrenost.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id i8FHtXQ27399; Wed, 15 Sep 2004 13:55:34 -0400 Message-ID: <4148821A.4020106@dmsolutions.ca> Date: Wed, 15 Sep 2004 13:55:38 -0400 From: Julien-Samuel Lacroix Organization: DM Solutions User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Berend Veldkamp Subject: Re: [Chameleon] Table widget References: <41485B39.9020605@aris.nl> In-Reply-To: <41485B39.9020605@aris.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Chameleon Users X-BeenThere: chameleon@lists.maptools.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: chameleon.lists.maptools.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2004 17:55:38 -0000 Hi Berend, Look at: http://www.maptools.org/chameleon/wiki/Table It is the documentation for this widget. In short you need
  [layer_input] [layer_name]