AW: [Chameleon] ROIFeatureTool

Buchholz, Robert Robert.Buchholz at LUA.Brandenburg.de
Thu Oct 4 11:58:00 EDT 2007


Hi Bill,
 
Ok, if I have this file. Then this widget that sets the active layer?
In my case it is the LegendTemplate.html, because I added the
CustomTreeLegend widget.
The LegendTemplate.html states:
...onclick="CWCSelectLayer('[leg_layer_name]', true)"...
Can I assume that this widget sets the active layer???
If yes, the error as mentioned in your link is still there and I do not
have a idea how to improve -get Select by feature/Buffer working-
If not, what to look for?
 
I hope to get this run by yours and lists experiance,
Robert

________________________________

Von: William Bronsema [mailto:wbronsema at dmsolutions.ca] 
Gesendet: Donnerstag, 4. Oktober 2007 17:40
An: Buchholz, Robert
Cc: chameleon at lists.maptools.org
Betreff: RE: [Chameleon] ROIFeatureTool



Hi Robert,

 

The legend template file is typically in the same directory as your
Chameleon html template.  In the case of the Chameleon samples (OGC
sample) it is looking for a legend template called
"legend_template.html".  This file is in the"chameleon/samples/htdocs/"
folder.  This is a user defined file specific to the user's mapfile and
Chameleon application.

 

HTH

 

Cheers,

Bill

 

 

William Bronsema

Senior Applications Specialist

DM Solutions Group Inc.

 

___________________________________

http://www.dmsolutions.ca

 

From: chameleon-bounces at lists.maptools.org
[mailto:chameleon-bounces at lists.maptools.org] On Behalf Of Buchholz,
Robert
Sent: Thursday, October 04, 2007 11:05 AM
To: William Bronsema
Cc: chameleon at lists.maptools.org
Subject: AW: [Chameleon] ROIFeatureTool

 

Hey Bill,

 

Following your link guided me to this (your question):

 

"Do you have a LegendTemplate widget that sets the active layer?"

 

I do have folders: Legend, LegendTemplate and LegendTemplateLM at the
widgets folders.

My application uses the

 ...<cwc2 type="LegendTemplate"...template="LegendTemplate.html"...
(->sample_ogc.html)

but there ...\htdocs\widgets\LegendTemplate I do not find a file:
LegendTemplate.html.

 

Any ideas? What to do?

Robert

 

________________________________

Von: chameleon-bounces at lists.maptools.org
[mailto:chameleon-bounces at lists.maptools.org] Im Auftrag von William
Bronsema
Gesendet: Donnerstag, 4. Oktober 2007 15:19
An: 'Mariette'; chameleon at lists.maptools.org
Betreff: RE: [Chameleon] ROIFeatureTool

Hi Mariette,

 

It should work with RC1.  Checkout the thread:
http://www.nabble.com/RE%3A-Re%3A-Buffer-Functionality-p11687294.html
it will show you what to setup in your template.

 

The buffer will not work on a WMS layer but will work on a shapefile and
other vector data types.

 

Cheers,

Bill

 

 

William Bronsema

Senior Applications Specialist

DM Solutions Group Inc.

 

___________________________________

http://www.dmsolutions.ca

 

From: chameleon-bounces at lists.maptools.org
[mailto:chameleon-bounces at lists.maptools.org] On Behalf Of Mariette
Sent: Thursday, October 04, 2007 8:57 AM
To: chameleon at lists.maptools.org
Subject: [Chameleon] ROIFeatureTool

 

Well,

I have not managed to get it working with either update (beta1 or ORC1).
But in ORC1 I get an error message saying that the buffer attribute is
invalid, so maybe it is in the beta and not in the ORC version? I am
uncertain on how to check this, I know that in the php widget file for
the ORC version there is no word saying buffer so I assume that it was
not in the orc1 version. But either way I cant figure this out. I will
keep with the beta version for now and keep playing around with this. 

Is the tool ment to work with wms or shapefiles or both?

 

********************************

Mariette Hachey

GIS Technologist

GeoNet Technologies Inc.

Box 22, Suite 211

90 University Ave

Charlottetown, PE

Canada, C1A 4K9

********************************

 

 

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.488 / Virus Database: 269.14.0/1048 - Release Date:
10/3/2007 8:22 PM

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20071004/a7c658ac/attachment.html


More information about the Chameleon mailing list