Hi List, I have finally managed to get mapserver to connect to my
postGIS database, but when I try to retrieve data, i get the following
error:<br><br>prepare_database(): Query error. Error executing POSTGIS
DECLARE (the actual query) statement: &#39;DECLARE mycursor BINARY CURSOR
FOR SELECT asbinary(force_collection<div id="mb_0">(force_2d(geometry)),&#39;NDR&#39;),OID::text
from temp WHERE geometry &amp;&amp; setSRID(&#39;BOX3D(-2200000
-712631,3072800 3840000)&#39;::BOX3D, find_srid(&#39;&#39;,&#39;temp&#39;,&#39;geometry&#39;) )&#39; <br><br>Postgresql reports the error as &#39;ERROR:&nbsp; find_srid() -
couldnt find the corresponding SRID - is the geometry registered in the
GEOMETRY_COLUMNS table?&nbsp; Is there an uppercase/lowercase missmatch?<br>&#39;<br><br>
So, the problem is cannot find corresponding SRID, can anyone help me out a bit with this set up.<br>I have lots of data I will eventually be serving.&nbsp; To start, I can just use some point data, or i can go straight to polygons.
<br><br>Either way, I can&#39;t seem to find the correct way to insert my data.&nbsp; <br>So,
I have a database with &#39;data&#39;, &#39;geometry_columns&#39;, &#39;and
spatial_ref_sys&#39;, I insert my data into &#39;data&#39;, and then I have to add
something to geometry_columns?&nbsp; What columns should I store in &#39;data&#39;? <br><br>I&#39;ve read the postGIS documentation, it just doesn&#39;t seem to
answer the question for me, so if anyone would be willing to help out,
i would GREATLY appreciate it.<br><br>Thanks.<br><span class="sg">-Ed</span></div>