[Mapserver-users] Locating features

Frank Rittinger gis@schnegg.net
Thu, 11 Mar 2004 11:45:18 +0100


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


_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users