[Mapserver-users] Locating features

Frank Rittinger gis at schnegg.net
Thu Mar 11 05:45:18 EST 2004


Hello Gianluigi,

Gianluigi Nozza wrote:
> I need to implement in an example application, (say Itasca demo) a "locate
> feature" capability
> (i.e. ask the user for a string/layer to query) and to zoom to the extent of
> the feature or features retrived...

How exactly you implement this feature depends on you application 
framework, i.e. do you use mapscript or CGI etc.  In general you would 
do an itemnquery; and from the found shapes you can calculate the new 
extent for the next draw request, i.e. you have to call mapserver twice.

Ciao,	Frank





More information about the mapserver-users mailing list