[mapserver-users] How to write the SQL query dynamically for the DATA part of a layer in mapfile?

Suman Chatterjee schatterjee at addisontx.gov
Fri Sep 18 07:50:02 PDT 2009


Hi all,

 I have solved my earlier problem of finding the distance of a point
from a line by iterating over each of the multistring records. It is
working fine.

But I have another query:

1)       How can I generate the sql query dynamically for setting the
data of a layer, from POSTGIS database, in the mapfile through C#
mapscript?

I have to write the  SQL query dynamically for the DATA part of  a
layer. 

Any idea how to do it?

Looking for help,

Suman


*******************************************************************************************************************
This e-mail and any files or attachments transmitted with it contains Information that is confidential and privileged. This document may contain Protected Health Information (PHI) or other information that is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please delete it and notify Hamid Khaleghipour at 972-450-2868 immediately. Thank you.

*******************************************************************************************************************


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090918/52d138fd/attachment.htm>


More information about the MapServer-users mailing list