<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">As I know the topogeom type is automatically casting to geometry type.<br>So I have a table (telek) with a field of topogeom (topo_geom) in the postgresql db (tdc)<br>I made a map file for the mapserver and the layer looks like this:<br><br> LAYER<br> NAME "telek"<br> CONNECTIONTYPE postgis<br> CONNECTION "host=localhost password=postgres user=postgres dbname=tdc"<br> DATA "<b>topo_geom</b> from public.telek"<br> STATUS DEFAULT<br> TYPE LINE<br> TOLERANCE 10<br> <br> PROJECTION<br> "init=epsg:2370"<br> END<br><br> CLASS<br> STYLE<br> COLOR 0 0
255<br> WIDTH 10<br> END<br> END<br> END<br><br>But I got the following error message when I try to display the map:<br><br>msDrawMap(): Image handling error. Failed to draw layer named 'telek'.
msPostGISLayerWhichShapes(): Query error. Error executing query: 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>What could be the problem? <br><br></td></tr></table>