Hi All bear with me if this is the wrong forum i have SQL code to use in VB for converting Lat Lon to Geography but need to convert to Geometry any help much appreciated.
Code:"UPDATE [dbo].[MyTable_Temp_Geo] SET [GEO_Location] = geography::STGeomFromText('POINT(' + CAST([Longitude] AS VARCHAR(20)) + ' ' + CAST([Latitude] AS VARCHAR(20)) + ')', 4326)"


Reply With Quote


