[mapserver-users] RE: mapserver-users Digest, Vol 20, Issue 31

Suman Chatterjee schatterjee at addisontx.gov
Fri Sep 18 09:07:31 PDT 2009


Hi all,
Now I know how to do it.
Map.getlayerbyname("...").data= SQL query goes here

Thanks
Suman

-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of
mapserver-users-request at lists.osgeo.org
Sent: Friday, September 18, 2009 11:00 AM
To: mapserver-users at lists.osgeo.org
Subject: mapserver-users Digest, Vol 20, Issue 31

Send mapserver-users mailing list submissions to
	mapserver-users at lists.osgeo.org

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
	mapserver-users-request at lists.osgeo.org

You can reach the person managing the list at
	mapserver-users-owner at lists.osgeo.org

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" <schatterjee at addisontx.gov>
Subject: [mapserver-users] How to write the SQL query dynamically for
	the DATA part of a layer in mapfile?
To: <mapserver-users at lists.osgeo.org>
Message-ID:
	
<6924A68BEE67AA46A1E95CC0EB4F98D0027A15F2 at 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
mapserver-users at lists.osgeo.org
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.

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





More information about the MapServer-users mailing list