Changes between Version 3 and Version 4 of Cookbook/Map/Query
- Timestamp:
- 06/06/08 04:55:39 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Cookbook/Map/Query
v3 v4 15 15 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. 16 16 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: 18 18 * POLYGON((x y, x y, x y, ...)) 19 19 * LINESTRING(x y, x y, x y, ...) … … 22 22 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''' 23 23 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. 25 25 selectionType:: 26 26 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''' 27 27 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''' 29 29 extendSelection:: 30 30 boolean, default is false. This controls whether the current query will extend the current result set or replace it. '''MapGuide only at this time'''