[Chameleon] OGR and Query Widget

Paul Spencer pagameba at magma.ca
Tue Sep 14 09:51:45 EDT 2004


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 at ec.gc.ca
> Government of Canada/Gouvernement du Canada
> 
> -----Original Message-----
> From: Paul Spencer [mailto:pagameba at magma.ca] 
> Sent: Monday, September 13, 2004 10:37 PM
> To: Pascoe,Tim [Burlington]
> Cc: chameleon at 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 at ec.gc.ca_ <mailto:tim.pascoe at ec.gc.ca>
>>Government of Canada/Gouvernement du Canada
>>
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>Chameleon mailing list
>>Chameleon at lists.maptools.org
>>http://lists.maptools.org/mailman/listinfo/chameleon
> 
> 

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



More information about the Chameleon mailing list