![]() |
||||
|
|
||||
[Chameleon] Chameleon 1.1 InstallationDebbie Pagurek pagurekd@agr.gc.caMon, 08 Mar 2004 18:25:38 -0500
|
||||
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:
<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
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Content-Description: HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY style="MARGIN-TOP: 2px; FONT: 10pt Arial; MARGIN-LEFT: 2px">
<DIV>Hi all,</DIV>
<DIV>thanks Bart, for posting the link to your chameleon application. I've
been wanting to see some of the widgets in action.</DIV>
<DIV> </DIV>
<DIV>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.</DIV>
<DIV> </DIV>
<DIV>Any hints as to how to get the buttons working? I do have an alias
set up for the ms_tmp directory</DIV>
<DIV>Alias /ms_tmp/ /ms4w/tmp/ms_tmp/ in my apache httpd.conf file.</DIV>
<DIV> </DIV>
<DIV>Any help would be much appreciated!</DIV>
<DIV>D. Pagurek</DIV>
<DIV> </DIV>
<DIV>from my view source:</DIV>
<DIV>
<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><BR></DIV>
<DIV><BR>>>> Bart van den Eijnden <bartvde@xs4all.nl> 03/02/04
04:31PM >>><BR>Hi,<BR><BR>legend functionality is not that
straightforward. You can use the <BR>LegendTemplate widget which uses the logic
from Mapserver HTML Legend. For <BR>more info on Mapserver HTML Legend
see:<BR><BR><A
href="http://mapserver.gis.umn.edu/doc40/html-legend-howto.html">http://mapserver.gis.umn.edu/doc40/html-legend-howto.html</A><BR><BR>You
can try installing the following Chameleon application on your system <BR>to see
it work in its basic form:<BR><BR><A
href="http://www.vz.geodan.nl/users/bart/geodan_ms4w-2003-10-31.zip">http://www.vz.geodan.nl/users/bart/geodan_ms4w-2003-10-31.zip</A><BR><BR>Also
you could use the XMLThemeLegend but this a bit more complex than the
<BR>LegendTemplate, for an online example see (left part of the
application):<BR><BR><A
href="http://mapsherpa.dmsolutions.ca/hawaii2/">http://mapsherpa.dmsolutions.ca/hawaii2/</A><BR><BR>As
you can see most of the times these widgets are used both as "legend" <BR>and
layermanager.<BR><BR>If all your layers are served by WMS you could try using
the Legend widget <BR>which I believe is behind the Legend button in the Hawaii
demo.<BR><BR>Hope this gets you started.<BR><BR>Best regards,<BR>Bart<BR><BR>On
Tue, 2 Mar 2004 18:34:58 +0100, Gianluigi Nozza
<BR><gianluigi.nozza@tiscali.it> wrote:<BR><BR>> IT WORKS !!!!!
Still I don't understand why, but it works...<BR>><BR>> Thank you Jason,
and also Bart, and Paul, and Dave and the list, and <BR>>
Heaven<BR>><BR>> The solution was provided at the same time by two listers
....<BR>> Here is the trick...<BR>><BR>> Last question of the day : The
sample application has to display the <BR>> legend<BR>> ?, or I have to
work another bit over ?<BR>><BR>><BR>> ----- Original Message
-----<BR>> From: "Jason Fournier" <jfournier@dmsolutions.ca><BR>>
To: "Gianluigi Nozza" <gianluigi.nozza@tiscali.it><BR>> Cc: "Paul
Dymecki" <pdymecki@sympatico.ca>; <BR>>
<chameleon@lists.maptools.org><BR>> Sent: Tuesday, March 02, 2004 5:55
PM<BR>> Subject: Re: [Chameleon] Chameleon 1.1
Installation<BR>><BR>><BR>>> Sure,<BR>>><BR>>> In your
Chameleon template there is a tag:<BR>>><BR>>>
<form><BR>>><BR>>> just add<BR>>><BR>>> <form
action="index.phtml"><BR>>><BR>>> that should do the
trick.<BR>>><BR>>> Cheers,<BR>>>
Jason<BR>>><BR>>><BR>>><BR>>> Gianluigi Nozza
wrote:<BR>>><BR>>> >Heaven answered !!!<BR>>> >But it
was too technical for me...<BR>>> ><BR>>> >Thank you Jason but
I don't know what are "set the action" and<BR>> "redirection"<BR>>>
><BR>>> >Can you explain me step by step if is not too much
complicated ?<BR>>> >It seems to me I'am so close.....<BR>>>
><BR>>> >----- Original Message -----<BR>>> >From: "Jason
Fournier" <jfournier@dmsolutions.ca><BR>>> >To: "Gianluigi Nozza"
<gianluigi.nozza@tiscali.it><BR>>> >Cc: "Paul Dymecki"
<pdymecki@sympatico.ca>;<BR>>
<chameleon@lists.maptools.org><BR>>> >Sent: Tuesday, March 02,
2004 5:30 PM<BR>>> >Subject: Re: [Chameleon] Chameleon 1.1
Installation<BR>>> ><BR>>> ><BR>>> ><BR>>>
><BR>>> >>Regarding the Zoom In issue ...<BR>>>
>><BR>>> >>If you are using IIS you *may* have to set the
action in the body to<BR>>> >>index.phtml (ie,
action="index.phtml"). If this does not work then a<BR>>>
>>redirect to <A
href="http://path/to/chameleon/index.phtml">http://path/to/chameleon/index.phtml</A>
prior to entering the<BR>>> >>application may work. This will
set the URL to include index.phtml<BR>>> >>(whereas default document
hides it).<BR>>> >><BR>>> >>Hope this helps,<BR>>>
>>Jason<BR>>> >><BR>>> >><BR>>>
>><BR>>> >>Gianluigi Nozza wrote:<BR>>>
>><BR>>> >><BR>>> >><BR>>> >>>Thank
you Paul<BR>>> >>><BR>>> >>>I have just take a
look to your configuration files, and I have found<BR>>> >>>they
looks very close to mine, apart Apache while I have IIS<BR>>>
>>>Meanwhile I was able to get the keymap and the widget to appear.
I<BR>>> >>>have found that keymap seems to pretend an absolute
path while the<BR>>> >>>rest wants a relative path, but not sure
even of that.<BR>>> >>>Besides I can't see any legend (I don't
think this is how the sample<BR>>> >>>has to look like) Isn't it
?<BR>>> >>>And the only widget that work is the
ruler.<BR>>> >>>I can see the north america map, but when I try
to zoom I get a 405<BR>>> >>>error "page not found"<BR>>>
>>>I have checked if image files are written on the image
temporary<BR>>> >>>directory but I can't find nothing else than
the scalebar image.<BR>>> >>>In other words it seems that
chameleon does not write image file on<BR>>>
>>>disk....<BR>>> >>>So I'm figure out there is
something worst than a simple wrong path<BR>>>
>>>reference.....<BR>>> >>><BR>>> >>>Hope
some help from Heaven users....<BR>>> >>><BR>>>
>>>----- Original Message -----<BR>>> >>><BR>>>
>>> From: Paul Dymecki <<A
href="mailto:pdymecki@sympatico.ca">mailto:pdymecki@sympatico.ca</A>><BR>>>
>>> To: Gianluigi Nozza <<A
href="mailto:gianluigi.nozza@tiscali.it">mailto:gianluigi.nozza@tiscali.it</A>><BR>>>
>>> Sent: Tuesday, March 02, 2004 3:53 PM<BR>>>
>>> Subject: RE: [Chameleon] Chameleon 1.1
Installation<BR>>> >>><BR>>> >>><BR>>>
>>> Here you go,<BR>>> >>><BR>>>
>>> -----Original Message-----<BR>>>
>>> From:
chameleon-admin@lists.maptools.org<BR>>> >>>
<<A
href="mailto:chameleon-admin@lists.maptools.org">mailto:chameleon-admin@lists.maptools.org</A>><BR>>>
>>> [<A
href="mailto:chameleon-admin@lists.maptools.org]On">mailto:chameleon-admin@lists.maptools.org]On</A>
Behalf Of Gianluigi<BR>>> >>> Nozza<BR>>>
>>> Sent: Tuesday, March 02, 2004 8:27 AM<BR>>>
>>> To: chameleon@lists.maptools.org<BR>>>
>>><BR>>> >>><BR>>> ><<A
href="mailto:chameleon@lists.maptools.org">mailto:chameleon@lists.maptools.org</A>><BR>>>
><BR>>> ><BR>>> >>> Subject:
[Chameleon] Chameleon 1.1 Installation<BR>>> >>><BR>>>
>>><BR>>> >>> Dear lister<BR>>>
>>> With the help of the list, I made a little step
toward the main<BR>>> >>> goal of
the<BR>>> >>> "Chameleon 1.1 installation" with
IIS and Windows 2000<BR>>> >>><BR>>>
>>> I found very usefull the suggestion to include in
the epsg proj<BR>>> >>><BR>>> >>><BR>>>
>file,<BR>>> ><BR>>> ><BR>>>
>>> references for the two non standard projection of
the sample<BR>>> >>> application.<BR>>>
>>> # WGS84 Canada LCC (WARNING: FAKE EPSG CODE, NON
STANDARD)<BR>>> >>> <42101> +proj=lcc
+ellps=WGS84 +lat_0=0 +lon_0=-95 +lat_1=49<BR>>> >>><BR>>>
>>><BR>>> >+lat_2=77<BR>>> ><BR>>>
><BR>>> >>> +x_0=0 +y_0=-8000000
+datum=WGS84 +units=m no_defs <><BR>>>
>>> # NAD83 Canada LCC (WARNING: FAKE EPSG CODE, NON
STANDARD) (This<BR>>> >>> is the<BR>>>
>>> standard Atlas of Canada data's
projection)<BR>>> >>> <42304> +proj=lcc
+ellps=GRS80 +lat_0=49 +lon_0=-95 +lat_1=49<BR>>>
>>> +lat_2=77<BR>>>
>>> +datum=NAD83 +units=m no_defs
<><BR>>> >>><BR>>> >>> At
that point I was able to start the sample application, but <BR>>>
with<BR>>> >>><BR>>> >>><BR>>>
>the<BR>>> ><BR>>> ><BR>>>
>>> following limits:<BR>>>
>>> I can't see any widget,<BR>>>
>>> No widget seems to work, apart for the distances
ruler that works<BR>>> >>> fine.<BR>>>
>>> I can'see the keymap<BR>>>
>>> When I try to zoom in, I can see the red
rubberband but the I <BR>>> come<BR>>>
>>> up with a<BR>>>
>>> "missing page error"<BR>>>
>>><BR>>> >>> At this point I believe
that I have some failure in some path/url<BR>>>
>>> specification<BR>>>
>>><BR>>> >>> There will be someone in
the universe using Chameleon 1.1 with <BR>>> IIS<BR>>>
>>><BR>>> >>><BR>>> >and<BR>>>
><BR>>> ><BR>>> >>> windows 2000
?<BR>>> >>> I hope so. Will be that man/woman
so kind to send me their <BR>>> working,<BR>>>
>>><BR>>> >>> cwc2.xlm
configuration file<BR>>> >>> the sample map
file properly configured (chameleon.map)<BR>>>
>>> the sample template file properly configured
(sample.html)<BR>>> >>><BR>>>
>>> Thanks to everybody<BR>>>
>>><BR>>> >>><BR>>> >>><BR>>>
>>>
_______________________________________________<BR>>>
>>> Chameleon mailing list<BR>>>
>>> Chameleon@lists.maptools.org<BR>>>
>>> <A
href="http://lists.maptools.org/mailman/listinfo/chameleon">http://lists.maptools.org/mailman/listinfo/chameleon</A><BR>>>
>>><BR>>> >>><BR>>> >>><BR>>>
>>--<BR>>> >>___________________________<BR>>>
>>Jason Fournier<BR>>> >>DM Solutions Group<BR>>>
>>Application Developer<BR>>> >>Ottawa, ON<BR>>>
>>613.565.5056 x 18<BR>>>
>>jfournier@dmsolutions.ca<BR>>> >><BR>>>
>><BR>>> >><BR>>> >><BR>>>
>><BR>>> ><BR>>> ><BR>>> ><BR>>>
><BR>>> ><BR>>><BR>>> --<BR>>>
___________________________<BR>>> Jason Fournier<BR>>> DM Solutions
Group<BR>>> Application Developer<BR>>> Ottawa, ON<BR>>>
613.565.5056 x 18<BR>>>
jfournier@dmsolutions.ca<BR>>><BR>>><BR>>><BR>><BR>><BR>>
_______________________________________________<BR>> Chameleon mailing
list<BR>> Chameleon@lists.maptools.org<BR>> <A
href="http://lists.maptools.org/mailman/listinfo/chameleon">http://lists.maptools.org/mailman/listinfo/chameleon</A><BR>><BR><BR><BR><BR>--
<BR> <BR>_______________________________________________<BR>Chameleon
mailing list<BR>Chameleon@lists.maptools.org<BR><A
href="http://lists.maptools.org/mailman/listinfo/chameleon">http://lists.maptools.org/mailman/listinfo/chameleon</A><BR></DIV></BODY></HTML>
--=_8DAC8DE8.F899F582--
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |