search and zoom - II

Paul G. Allen pgallen at randomlogic.com
Tue Nov 16 01:56:31 EST 1999


Stephen Lime wrote:
> 
> This can be done a couple of ways. 3.2 and 3.3 support and itemquery mode (also itemnquery) in which you supply two form vars one called "item" which is the name of an attribute and another called "value" which is a regex to use for matching. Often a 3rd variable, "qlayer" is used to identify the layer to be searched although this is not required. As with any query, individual shape bounding boxes and centroids (box center, not the actual centroid) are available to the query template. It's easy to use these to generate new maps specific to a shapes extent or by using the centroid and a scale. In 3.2, this is the only way to do this.
> 
> 3.3 extends this capability by introducing what are termed querymaps, that is visualization of a query. They allow you to zoom in on selected features using extents or centroids, you can highlite selected features in a special color, can draw just the selected features. Lots of potential here but it's a new feature and one I'm still finishing. It's pretty much fully supported for
> the itemquery modes. Mapext=shapes is a brand new option for generating extents based on selected features. All of this will be in the test suite.

Not to pressure you, but all of this is what I am waiting for and salavating
over. ;-)

PGA



More information about the mapserver-users mailing list