[Mapserver-users] Zoom to location by string match in query on
rich at greenwoodmap.com
Fri Mar 26 08:46:09 EST 2004
Frank Rittinger wrote:
> Hello Richard,
> I followed this thread because I was looking for something similar.
> Although, when I try this approach with "mapext=shapes" mapserver tells
> me the file names it would create (I set up templates to print the file
> names etc.), but they are not created. Switching the mode to browse,
> images are created (but - as expected- no query is performed). So paths
> etc. are correctly configured.
> Do you have any hints, why the image is not created in itemnquery mode?
> Regards, Frank
Well your template would have to have an <img> tag of some sort, or else
mapserver will not bother to create an image. Do you have one? I have a
working CGI based site that does various searches and it uses the form
method=get, so it is fairly easy to see what is happening:
The select the "property search" link. Then enter an owner name like
"smith", or select the "street name list" or "subdivision list" buttons.
> Richard Greenwood wrote:
>> The CGI itemquery and itemnquery modes may be what you are looking
>> for, however they will zoom to the full extent of the feature, not the
>> first vertex. You could, however, have a second layer with just the
>> verticies, zoom to them and also display the road polyline. Here is an
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
More information about the mapserver-users