Make Querys with Ka-Map

View: New views
3 Messages — Rating Filter:   Alert me  

Make Querys with Ka-Map

by joel mamani :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm Joel How to make Ka-Map!, Has the ability to query, how can I configure it to be like? Configuration files .map of MapServer can do but the ka-map! no, please help!, if they had full documentation or examples, I would be grateful.
bye.



Yahoo! Cocina Registrate y cargá tu receta. Podés ganar premios
www.promorecetas.com

_______________________________________________
ka-Map-users mailing list
ka-Map-users@...
http://lists.maptools.org/mailman/listinfo/ka-map-users

Re: Make Querys with Ka-Map

by Marco B.-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Joel, in order to query a layer all you need is to set "queryable" "true" in layer metadata.(http://ka-map.ominiverdi.org/wiki/index.php/Mapfile_Metadata_Configuration)
Also at layer level  you have to define TEMPLATE keyword, using as value something like "foo.html". Note that the file foo.html is not a real file .
For example in my mapfile a layer is defined as follow:

LAYER
   GROUP 'slope'
    NAME 'slope'
    TYPE RASTER
    DATA '/var/www/html/ka-map_1108/spearfish60/PERMANENT/cellhd/aspect'
    TEMPLATE "ttt.html"
    METADATA

    "queryable" "true"
   
    END
    STATUS on
    TRANSPARENCY 100
    PROJECTION
    'proj=utm'
    'zone=13'
    'ellps=clrk66'
    'datum=NAD27'
    'units=m'
    'no_defs'
    ''
    END
  END


The file ttt.html doesn't exist on my server, but if you want query a layer you need to define it.

Cheers
      Marco



2009/5/25 joel mamani <mpg70221725@...>
I'm Joel How to make Ka-Map!, Has the ability to query, how can I configure it to be like? Configuration files .map of MapServer can do but the ka-map! no, please help!, if they had full documentation or examples, I would be grateful.
bye.



Yahoo! Cocina Registrate y cargá tu receta. Podés ganar premios
www.promorecetas.com

_______________________________________________
ka-Map-users mailing list
ka-Map-users@...
http://lists.maptools.org/mailman/listinfo/ka-map-users



_______________________________________________
ka-Map-users mailing list
ka-Map-users@...
http://lists.maptools.org/mailman/listinfo/ka-map-users

Re: Make Querys with Ka-Map

by Lorenzo Becchi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

What you can do by default is described in the wiki:
http://ka-map.ominiverdi.org/wiki/index.php/Mapfile_Metadata_Configuration#Mapfile_LAYER_Section
you should focus on "queryable" and "fields" metadata.

if you want to do it by hand edit map_qeury_float.php

lorenzo


joel mamani wrote:

> I'm Joel How to make Ka-Map!, Has the ability to query, how can I
> configure it to be like? Configuration files .map of MapServer can do
> but the ka-map! no, please help!, if they had full documentation or
> examples, I would be grateful.
> bye.
>
>
> ------------------------------------------------------------------------
>
> Yahoo! Cocina Registrate y cargá tu receta. Podés ganar premios
> www.promorecetas.com
> ------------------------------------------------------------------------
>
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users@...
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>  
_______________________________________________
ka-Map-users mailing list
ka-Map-users@...
http://lists.maptools.org/mailman/listinfo/ka-map-users