Hi,<br>&nbsp;&nbsp;&nbsp; i just want to place a dynamic object in map using POSTGRESQL.<br>&nbsp;&nbsp; when i place an object statically using POINT in mapfile,i am getting a point as specified in <b>attachment</b> please see that too<br><br>&nbsp;but when i want to place the same object dynamically i am not able to do that,<br>
For that i have created one table in postgresql as shown below<br><br><b>create table geometry(geom varchar,srid int);<br>insert into geometry values(&#39;POINTS(0 0)&#39;,2);<br>select * from geometry;<br>&nbsp;&nbsp;&nbsp; geom&nbsp;&nbsp;&nbsp; | srid <br>
------------+------<br>&nbsp;POINT(0 0) |&nbsp;&nbsp;&nbsp; 2<br><br><br></b>i have linked the above database using mapfile as<br><br><b># This is our &quot;Dynamic Object&quot; mapfile<br>NAME &quot;object&quot;<br>SIZE 800 600<br>IMAGECOLOR 249 245 186<br>
IMAGETYPE png<br>EXTENT -1.00 -1.00 1.00 1.00<br>WEB<br>TEMPLATE &quot;/opt/fgs/www/htdocs/db.html&quot;<br>IMAGEPATH &quot;/opt/fgs/www/htdocs/tmp/&quot;<br>IMAGEURL &quot;/tmp/&quot;<br>END<br>LAYER<br>NAME &quot;data&quot;&nbsp;&nbsp;&nbsp; <br>
CONNECTIONTYPE POSTGIS<br>NAME &quot;postgres&quot;<br>CONNECTION &quot;host=localhost port=5432 dbname=postgres user=postgres password=hellopostgres &quot;<br>DATA &quot;geom from geometry&quot;<br>STATUS ON<br>TYPE POINT<br>
CLASS<br>STYLE<br>#SYMBOL &#39;circle&#39;<br>SIZE 30<br>COLOR 229 100 225<br>END<br>END<br>FEATURE<br>END<br>END<br>&nbsp;SYMBOL<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE ellipse<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FILLED true<br>POINT <br>&nbsp;10 10 <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>
END<br>END<br>END<br>END<br>END<br></b><br>i am not getting any point on the map, it shows only&nbsp; the blank image without point.<br><br>will anyone help me to overcome this problem and make me clear my connection is correct<br>
<br>thanks<br><br>Regards <br>SHADAB<br>