Hi all,
Now I know how to do it.
Map.getlayerbyname("...").data= SQL query goes hereThanks Suman -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Friday, September 18, 2009 11:00 AM To: [email protected] Subject: mapserver-users Digest, Vol 20, Issue 31 Send mapserver-users mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://lists.osgeo.org/mailman/listinfo/mapserver-users or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of mapserver-users digest..." Today's Topics: 1. How to write the SQL query dynamically for the DATA part of a layer in mapfile? (Suman Chatterjee) ---------------------------------------------------------------------- Message: 1 Date: Fri, 18 Sep 2009 09:50:02 -0500 From: "Suman Chatterjee" <[email protected]> Subject: [mapserver-users] How to write the SQL query dynamically for the DATA part of a layer in mapfile? To: <[email protected]> Message-ID: <6924a68bee67aa46a1e95cc0eb4f98d0027a1...@sc-exchange.addisongov.org> Content-Type: text/plain; charset="us-ascii" 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/52 d138fd/attachment-0001.html ------------------------------ _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users End of mapserver-users Digest, Vol 20, Issue 31 *********************************************** ******************************************************************************************************************* 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. ******************************************************************************************************************* _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
