Paul,<br><br>There is a function (find_bounds) calculating the bounds in mapmssql2008.c which should provide correct results.<br>Could you check whether the returned geometry is correct by dumping the point coordinates of each lines in mapscript?<br>
<br>Best regards,<br><br>Tamas<br><br><br><div class="gmail_quote">2009/8/6 Paul james <span dir="ltr">&lt;<a href="mailto:pauljame@gmail.com">pauljame@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Just an update...<br>The shape  values are all there... The only thing is wrong is the bounds (-1) ...<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Wed, Aug 5, 2009 at 5:44 PM, Paul james <span dir="ltr">&lt;<a href="mailto:pauljame@gmail.com" target="_blank">pauljame@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">IŽll check...<br>But the same layer/id worked fine using Postgis... So I should be a bug...<br>

<font color="#888888"><br>Paul</font><div><div></div><div><br><br><div class="gmail_quote">On Wed, Aug 5, 2009 at 5:38 PM, Tamas Szekeres <span dir="ltr">&lt;<a href="mailto:szekerest@gmail.com" target="_blank">szekerest@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>I think you should check the sql statement submitted by the driver by using the SQL Profiler. I suspect no records have been retrieved during the fetch.<br>


<br>Best regards,<br><br>Tamas<br><br><br><div class="gmail_quote">
2009/8/5 Paul james <span dir="ltr">&lt;<a href="mailto:pauljame@gmail.com" target="_blank">pauljame@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


<div><div></div><div>
Hello guys...<br>That code is working fine with Postgis:<br><br>_layer.open();<br>var _shape = new shapeObj((int)_layer.type);<br>_layer.getShape(_shape, 0, __id.ToInt32());<br><br>The _shape.bounds are all -1 using MsSql2008 ... <br>




<br>Any idea?<br>
<br></div></div>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></blockquote></div><br>
</blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>