MapTools.org

[Chameleon] Querying Layers

Tracy Howlett thowlett@whistlermuseum.org
Mon, 15 Mar 2004 13:47:13 -0800
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





This archive was generated by Pipermail.