[Mapserver-users] Query of city name
Steve Lime
steve.lime at dnr.state.mn.us
Tue Jun 10 11:45:27 PDT 2003
It's a multi step process:
1) user types in a city name, that triggers an attribute query using
mapserver
2) the query generates a list of matches (most likely in another
window or frame)
3) clicking on a link generates a MapServer URL the respositions the
interface in the main window
I tend not to use MapServer for stuff like this since it is not as
full-featured as Postgres or MySQL. For
an example checkout http://www.dnr.state.mn.us/maps/compass.html. Type
in 'linwood' and you'll
see how we do it anyway.
Steve
>>> Chen Fu <novalet at yahoo.com.cn> 06/09/03 08:21PM >>>
Hi!
There is city name in the dbf file. But how can i
query it? For example, a text box leave for user, if a
string is matched in dbf, then the position of this
city is set as the center of image.
Is it possible in mapserver's cgi command? or should i
setup postgis to query?
Thank you!!
=====
Remote Scensing Satellite Ground Station
Chinese Academy of Science
_________________________________________________________
Do You Yahoo!?
http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.surveys.yahoo.com/cn_user_profile_study_may2003
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list