queryable layers in ka-map 1.0b [update]

Dylan Beaudette dylan.beaudette at GMAIL.COM
Tue Oct 3 16:27:09 EDT 2006


please note that i am querying data stored in a PostGIS DB.

On Tuesday 03 October 2006 13:06, Dylan Beaudette wrote:
> Greetings,
>
> I am a little confused about some of the wording in the requirements for
> making a layer 'queryable' in ka-map 1.0b:
>
> from kaMap.js :
>
> queryable - boolean, is the layer queryable?
> This is different from the layer being included in queries. bQueryable
> marks a layer as being capable of being queried. The layer also has to have
> it's query state turned on using setQueryable scales - array to containing
> the layer visibility for each scale
>
> I have included the METADATA section into my layer definition:
>
> METADATA
> #this must be enabled to use ka-Map! query - map_query.php
> "queryable" "true"
> END
>
>
> and each queryable layer has a template defined. Note that I am able to
> query these layers from an alternate DHTML interface to this same mapfile.
>
> When attempting to query one of these layers in ka-map, i get the message :
>
> "no queryable layers at this scale or extent"
>
> any thoughts on how to enable queries? So far I have followed the
> instructions on the wiki here:
>
> http://ka-map.ominiverdi.org/wiki/index.php/Query
>
> cheers,
>
> Dylan

-- 
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341



More information about the mapserver-users mailing list