<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    I used the method last year to render points from (and lines) from
    SQL Server.&nbsp; The biggest problem is that Mapserver/OGR does not
    implicitly use any spatial index when using a VRT entry of SrcSQL
    (carefully read <a class="moz-txt-link-freetext" href="http://www.gdal.org/ogr/drv_vrt.html">http://www.gdal.org/ogr/drv_vrt.html</a>).<br>
    <br>
    Best Regards,<br>
    Brent Fraser<br>
    <br>
    On 11/16/2010 11:07 AM, <a class="moz-txt-link-abbreviated" href="mailto:Steve.Toutant@inspq.qc.ca">Steve.Toutant@inspq.qc.ca</a> wrote:
    <blockquote
cite="mid:OFCE5B6707.890DA51D-ON852577DD.00632827-852577DD.006384B5@isn.rtss.qc.ca"
      type="cite">
      <br>
      <font face="sans-serif" size="2">Hi,</font>
      <br>
      <font face="sans-serif" size="2">I need to connect to a MS SQL
        SERVER
        table, read the lat/long fields and render a map of points.</font>
      <br>
      <font face="sans-serif" size="2">I read this wiki</font>
      <br>
      <font face="sans-serif" size="2"><a class="moz-txt-link-freetext" href="http://trac.osgeo.org/mapserver/wiki/VirtualSpatialData">http://trac.osgeo.org/mapserver/wiki/VirtualSpatialData</a></font>
      <br>
      <br>
      <font face="sans-serif" size="2">Is this still the best approach
        to do
        that?</font>
      <br>
      <font face="sans-serif" size="2">Thanks!</font>
      <br>
      <font face="sans-serif" size="2">Steve</font>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
    </blockquote>
  </body>
</html>