Download "user manual"

Transcript
Queries
•
defaultAttributes: if true, the layers attributes are returned (default: true)
•
defaultTable: if true, the results table is displayed (default: true)
•
weightQueryByPoint: integer which defines display order of the query by point
tool icon in toolbar (default: 40). Negative weighted tools are disabled
•
weightQueryByBbox: see weightQueryByPoint (default: 41).
•
weightQueryByPolygon: see weightQueryByPoint (default: 42).
•
weightQueryByCircle: see weightQueryByPoint (default: 43).
9.1.2. Tables Configuration
Tables plugin can be used by any plugin to manage, transfer and display tables
structure. In basic CartoWeb installation, only Query plugin uses this functionality.
To configure table appearance, use tables client-side rules described in Developer's
Documentation (Section 2.4.3, “Tables”).
9.2. Server-side Configuration
9.2.1. query.ini
Here are the options that can be set in server's query.ini:
•
drawQueryUsingHilight: if true, query hilighting will use Hilight plugin. In this
case, Hilight plugin must be loaded on server. If false, objects will be hilighed
using MapServer query functionality. See also Section 9.3.3, “Hilight
Configuration” (default: false)
•
noRowId: if true, row id will not be included in the table. In this case the row id
will not be displayed in the output table (html, pdf, etc.). (default: false)
9.2.2. MapServer Query Configuration
MapQuery plugin can be used by any plugin to retrieve objects information from
MapServer.
Following options can be set in server's mapquery.ini:
•
maxResults: Maximum number of results to handle in the query plugin. This limit
is to avoid high load on the server. It should be the client responsibility not to ask
too many objects to avoid reaching this limit. Ignoring big queries can be done
with the ignoreQueryThreshold parameter, which give a better behaviour for the
user
63