![]() |
||||
|
|
||||
[Chameleon] Chameleon 1.1 InstallationGianluigi Nozza gianluigi.nozza@tiscali.itTue, 2 Mar 2004 18:16:04 +0100
|
||||
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" <bartvde@xs4all.nl>
To: "Gianluigi Nozza" <gianluigi.nozza@tiscali.it>
Cc: <chameleon@lists.maptools.org>
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
> <gianluigi.nozza@tiscali.it> 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
>
>
>
> --
>
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |