Using CONNECTION and CONNECTIONTYPE

Eric Archuleta earchuleta at SANIPUEBLO.ORG
Fri Oct 13 07:56:55 PDT 2006


Hello,

 

I am using a LAYER      CONNECTIONTYPE of OGR and a layer CONNECTION
pointing to an .ovf file. The .ovf specifies an SQL string that queries my
MySQL database for the point location coordinates. This works perfectly for
displaying locations defined by a static sql query. 

 

My question is if it possible to define SQL queries "on the fly" so that
specific locations can be drawn depending on user interaction? I would like
to present the user with a list of location names and allow the user to
select one or more and then draw a map based on those selections.

 

Is there a way to do this using the CONNECTIONTYPE and CONNECTION layer
properties? Or is there a better way to do this?

 

Any help would be greatly appreciated.

 

Thanks

Eric

San Ildefonso Pueblo, NM

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20061013/985a570b/attachment.htm>


More information about the MapServer-users mailing list