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: 'DECLARE mycursor BINARY CURSOR
FOR SELECT asbinary(force_collection<div id="mb_0">(force_2d(geometry)),'NDR'),OID::text
from temp WHERE geometry && setSRID('BOX3D(-2200000
-712631,3072800 3840000)'::BOX3D, find_srid('','temp','geometry') )' <br><br>Postgresql reports the error as 'ERROR:  find_srid() -
couldnt find the corresponding SRID - is the geometry registered in the
GEOMETRY_COLUMNS table?  Is there an uppercase/lowercase missmatch?<br>'<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.  To start, I can just use some point data, or i can go straight to polygons.
<br><br>Either way, I can't seem to find the correct way to insert my data.  <br>So,
I have a database with 'data', 'geometry_columns', 'and
spatial_ref_sys', I insert my data into 'data', and then I have to add
something to geometry_columns?  What columns should I store in 'data'? <br><br>I've read the postGIS documentation, it just doesn'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>