Hello,<br><br>Have you done settings like in the docs e.g. <a href="http://mapserver.org/input/vector/postgis.html">http://mapserver.org/input/vector/postgis.html</a><br><br>The DATA block will look something like below<br>

<br>DATA &quot;the_geom from (select * from your_database where ... ) as foo using unique gid using srid=27572&quot;<br><br>Maybe it can help you solve your particular problem with srid lost in your query.<br><br>Regards<br>

<br>ThomasG<br>GIS specialist