[ka-Map-users] RE: kamap query
Henderson, Tim - Miami
THenderson at miamiherald.com
Mon Apr 23 08:56:14 EDT 2007
Hi all,
For the sake of karma -- let me note on the record how one makes a ka-map query that returns results from the map table in the example gmap75 ... this is the parks layer made queryable, and note that it's the first layer ("queryable" "true" must apparently be in the very first layer or it will be ignored) and that in order to see a table of results -- not just "results: 1" -- you need the "fields" (not "result_fields") option set in METADATA.
The source of this inspiration: a presentation by our friend Paul Spencer at FOSS4G (not sure what that stands for) on 9/12/2006 at www.ominverdi.org -- I had ignored this link in my searches because the page somehow craps out in my browser, hiding all the text after loading it initially -- but I saw it by requesting the cached text only from Google. link:
<http://www.ominiverdi.org/ka-map/ka-map/presentations/foss4g2006/foss4g2006.html>
Paul -- this presentation is very helpful for a beginner and would be even more so with a few more notes -- maybe it's a candidate for the wiki? thanks
Tim Henderson, Miami
#
# Start of layer definitions
#
LAYER
NAME park
METADATA
"queryable" "true"
"DESCRIPTION" "Parks"
"searchfield" "NAME_E"
"fields" "NAME_E:Name,AREA:Area"
"RESULT_FIELDS" "NAME_E YEAR_EST AREA_KMSQ"
END
TYPE POLYGON
STATUS on
DATA park
CLASS
NAME "Parks"
STYLE
COLOR 200 255 0
OUTLINECOLOR 120 120 120
END
TEMPLATE "ttt_query.html"
END
TOLERANCE 5
END # Layer
-----Original Message-----
From: ka-map-users-bounces at lists.maptools.org on behalf of ka-map-users-request at lists.maptools.org
Sent: Sun 4/22/2007 12:00 PM
To: ka-map-users at lists.maptools.org
Cc:
Subject: ka-Map-users Digest, Vol 24, Issue 21
Send ka-Map-users mailing list submissions to
ka-map-users at lists.maptools.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.maptools.org/mailman/listinfo/ka-map-users
or, via email, send a message with subject or body 'help' to
ka-map-users-request at lists.maptools.org
You can reach the person managing the list at
ka-map-users-owner at lists.maptools.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of ka-Map-users digest..."
Today's Topics:
1. how to make icons in ka-map version 0.1.1 (sahar AMM)
2. how to prepare ka-map 0.2 ?? HELP (sahar AMM)
----------------------------------------------------------------------
Message: 1
Date: Sat, 21 Apr 2007 21:47:35 +0300
From: "sahar AMM" <saho_ora at hotmail.com>
Subject: [ka-Map-users] how to make icons in ka-map version 0.1.1
To: ka-map-users at lists.maptools.org
Message-ID: <BAY109-F643B89D87A49669A6F866F9550 at phx.gbl>
Content-Type: text/plain; charset="us-ascii"
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20070421/56f51a35/attachment-0001.html
------------------------------
Message: 2
Date: Sun, 22 Apr 2007 01:06:44 +0300
From: "sahar AMM" <saho_ora at hotmail.com>
Subject: [ka-Map-users] how to prepare ka-map 0.2 ?? HELP
To: ka-map-users at lists.maptools.org
Message-ID: <BAY109-F3953AF71172FDAF6560F3DF9550 at phx.gbl>
Content-Type: text/plain; charset="us-ascii"
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20070422/30b12aa7/attachment-0001.html
------------------------------
_______________________________________________
ka-Map-users mailing list
ka-Map-users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/ka-map-users
End of ka-Map-users Digest, Vol 24, Issue 21
********************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 7290 bytes
Desc: not available
Url : http://lists.maptools.org/pipermail/ka-map-users/attachments/20070423/2e551239/attachment.bin
More information about the ka-Map-users
mailing list