<div dir="ltr">Venkat, <br><br>I am looking for that &quot;some setting&quot; :) <br><br>Cheers,<br>Ritesh<br><br><div class="gmail_quote">On Wed, Jul 16, 2008 at 3:23 PM, Venkat Rao Tammineni &lt;<a href="mailto:vtammineni@roulacglobal.com">vtammineni@roulacglobal.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
 &nbsp; Have you checked other schema? See you can use either public or pg_temp_1<br>
right ? if you want to use pg_temp_1 schema u need to have some setting<br>
while configuring at add new server connection. This is only as per<br>
knowledge. I did not tested. And my suggestion is &nbsp;Use &quot;Pulic&quot;.Because ,if<br>
there any joining among the table ,that would be again problem.<br>
<br>
 &nbsp; If I am not right ,let me know.<br>
<div class="Ih2E3d"><br>
Thanks and Regards<br>
Venkat.<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a><br>
[mailto:<a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a>] On Behalf Of Ritesh<br>
Ambastha<br>
</div><div class="Ih2E3d">Sent: Wednesday, July 16, 2008 3:07 PM<br>
To: <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
</div><div><div></div><div class="Wj3C7c">Subject: RE: [MAPSERVER-USERS] Connection parameter errors while using<br>
Postgres DB Schema<br>
<br>
<br>
Hey Venkat,<br>
<br>
Thanks for the details.<br>
I understand the standard way to write a connection parameter.<br>
<br>
I am sure that this table &quot;rgp_gis_gmm_100_metros&quot; is stored in &quot;public&quot;<br>
schema of your database.<br>
<br>
My question is, what will you write if you keep this table in some other<br>
schema?<br>
<br>
Regards,<br>
<br>
<br>
Venkatrao wrote:<br>
&gt;<br>
&gt; Hi,<br>
&gt; Here is my Example .I think it helps you.<br>
&gt;<br>
&gt; Layer # Layer starts here<br>
&gt; &nbsp; Name &quot;GMM 100&quot; #name of the layer<br>
&gt; &nbsp; ConnectionType POSTGIS #connection type<br>
&gt; &nbsp; Connection &quot;host=<a href="http://192.168.1.158" target="_blank">192.168.1.158</a> dbname=GIS password=administrator<br>
&gt; user=postgres port=5432&quot; #connection type.<br>
&gt; &nbsp; Data &quot;the_geom from rgp_gis_gmm_100_metros&quot; &nbsp; #table name<br>
&gt;<br>
&gt; Thanks and Regards<br>
&gt; Venkat.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; -----Original Message-----<br>
&gt; From: <a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a><br>
&gt; [mailto:<a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a>] On Behalf Of Ritesh<br>
&gt; Ambastha<br>
&gt; Sent: Wednesday, July 16, 2008 2:44 PM<br>
&gt; To: <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
&gt; Subject: [MAPSERVER-USERS] Connection parameter errors while using<br>
&gt; Postgres<br>
&gt; DB Schema<br>
&gt;<br>
&gt;<br>
&gt; Hello Readers,<br>
&gt;<br>
&gt; I am facing a problem in defining the DATA path in mapserver while using<br>
&gt; PostGIS.<br>
&gt;<br>
&gt; I have two schemas, lets say &#39;a&#39; and &#39;b&#39; in a database &#39;d&#39;<br>
&gt;<br>
&gt; Now, I want to access tables of schema &#39;a&#39; in the mapserver layer.<br>
&gt;<br>
&gt; I define DATA path like this:<br>
&gt;<br>
&gt; DATA &quot;the_geom FROM a.table_name USING UNIQUE id SRID -1&quot;<br>
&gt;<br>
&gt; Please pour in your thoughts for defining schema in the connection/data<br>
&gt; parameters.<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Ritesh Ambastha<br>
&gt; --<br>
&gt; View this message in context:<br>
&gt;<br>
<a href="http://www.nabble.com/Connection-parameter-errors-while-using-Postgres-DB-Sc" target="_blank">http://www.nabble.com/Connection-parameter-errors-while-using-Postgres-DB-Sc</a><br>
&gt; hema-tp18483547p18483547.html<br>
&gt; Sent from the Mapserver - User mailing list archive at Nabble.com.<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; mapserver-users mailing list<br>
&gt; <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; mapserver-users mailing list<br>
&gt; <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
&gt;<br>
&gt;<br>
<br>
--<br>
View this message in context:<br>
<a href="http://www.nabble.com/Connection-parameter-errors-while-using-Postgres-DB-Schema-tp18483547p18483876.html" target="_blank">http://www.nabble.com/Connection-parameter-errors-while-using-Postgres-DB-Sc<br>
hema-tp18483547p18483876.html</a><br>
Sent from the Mapserver - User mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br>
</div></div></blockquote></div><br></div>