[mapserver-commits] r10571 - trunk/docs/en/input/vector

svn at osgeo.org svn at osgeo.org
Mon Oct 4 18:01:05 EDT 2010


Author: tamas
Date: 2010-10-04 22:01:05 +0000 (Mon, 04 Oct 2010)
New Revision: 10571

Modified:
   trunk/docs/en/input/vector/mssql.txt
Log:
Note about the geometry column type selection

Modified: trunk/docs/en/input/vector/mssql.txt
===================================================================
--- trunk/docs/en/input/vector/mssql.txt	2010-10-04 21:48:51 UTC (rev 10570)
+++ trunk/docs/en/input/vector/mssql.txt	2010-10-04 22:01:05 UTC (rev 10571)
@@ -67,6 +67,18 @@
 if you omit specifying the SRID value in the DATA section the diver will use SRID=0 when defining 
 the search shapes.
 
+Selecting the type of the geometry column
+-----------------------------------------
+
+For the geometry columns MSSQL supports 2 data types: "geometry" and "geography". 
+By default the driver considers the type of the geometry column is "geometry". 
+In case if the type of the geometry column is "geography" we must specify the 
+data type in the DATA section explicitly, like:
+
+::
+
+  DATA "ogr_geometry(geography) from rivers USING UNIQUE ogr_fid USING SRID=4326"
+
 The expected location on the plugin dll
 ---------------------------------------
 



More information about the mapserver-commits mailing list