Changes between Version 3 and Version 4 of Cookbook/Map/Query


Ignore:
Timestamp:
Jun 6, 2008, 4:55:39 AM (16 years ago)
Author:
pagameba
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Cookbook/Map/Query

    v3 v4  
    1515   boolean, default is ''true''.  Determines if the features selected by the query will be persistent beyond this query - i.e. they will stay on the map until the user clears the query results.
    1616 geometry::
    17    string, default is '' (no geometry).  A Well Known Text string that defines the geometry to restrict the query to.  The acceptable WKT format for geometries that work with this method are:
     17   string, default is an empty string (no geometry).  A Well Known Text string that defines the geometry to restrict the query to.  The acceptable WKT format for geometries that work with this method are:
    1818 * POLYGON((x y, x y, x y, ...))
    1919 * LINESTRING(x y, x y, x y, ...)
     
    2222   integer, the default is 0 (no maximum).  This restricts the query to return only a certain number of results.  '''MapGuide only at this time, although there is no reason why it couldn't be implemented for MapServer too'''
    2323 layers::
    24   string, default is '' (do not limit to specific layers).  This is a comma separated list of layer names to restrict the query to, often used to limit queries a single layer.
     24  string, default is an empty string (do not limit to specific layers).  This is a comma separated list of layer names to restrict the query to, often used to limit queries a single layer.
    2525 selectionType::
    2626   string, default is 'INTERSECTS'.  This controls how the server interacts with the ''geometry'' property.  '''Not sure what other selectionTypes there are, need to research this'''
    2727 filter::
    28    string, default is '' (no filter).  This is an SQL WHERE clause style string (attribute = 'value', attribute <= number) that is used to limit features in a query.  '''MapGuide only at this time.  MapServer supports attribute queries but not in the same way as MapGuide - and MapServer doesn't have a way of combining both geometry and filter at this time'''
     28   string, default is an empty string (no filter).  This is an SQL WHERE clause style string (attribute = 'value', attribute <= number) that is used to limit features in a query.  '''MapGuide only at this time.  MapServer supports attribute queries but not in the same way as MapGuide - and MapServer doesn't have a way of combining both geometry and filter at this time'''
    2929 extendSelection::
    3030  boolean, default is false.  This controls whether the current query will extend the current result set or replace it.  '''MapGuide only at this time'''