Mapserver + MS-SQL Server

Well eventually someone was gonna ask this. Can you connect to MS-SQL using Mapserver? Of course thanks to GDAL/OGR anything is possible. OGR’s Virtual Spatial Data can be used to connect to SQL Server database. http://www.gdal.org/ogr/drv_vrt.html

One can connect via OGR ODBC driver directly by creating a view with an additional WKT column from your x, y fields and add this view to the GEOMETRY_COLUMNS table in your database http://www.gdal.org/ogr/drv_odbc.html

One thought on “Mapserver + MS-SQL Server

  1. I read the first line and looked down in the comment section and saw that no one answered. Just when I was about to close the window I say your “Of course”. Perhaps you should have started with that line?
    Sandra Millhouse @ Virtual servers UK

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>