[mapguide-users] RE: Points from Sql/ODBC data source not showing

GordonL gordon.luckett at arrowgeomatics.com
Tue Dec 6 10:41:01 EST 2011


In your final view in SQL Server 2008, you should just create a Point object
with your two x and y columns.

like this:

/select geometry::Point(g.PNT_X,g.PNT_Y,0) as GEOM
	  FROM tbMYTABLE g/
	  

Then you can use the FDO for SQL Server Spatial rather than ODBC.



--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Points-from-Sql-ODBC-data-source-not-showing-tp7021115p7067220.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list